/*
 * DeshiSpicy customer storefront — compact international commerce system.
 * Loaded after the legacy bundle so every customer-facing surface follows one
 * typography, spacing, colour, radius, and interaction language.
 */

:root {
  --ink: #17221b;
  --ink-2: #22362a;
  --soft-ink: #3f5046;
  --muted: #6b776f;
  --teal: #087443;
  --teal-dark: #075833;
  --teal-soft: #e8f5ed;
  --gold: #f7c94b;
  --gold-deep: #9d6a00;
  --clay: #d84c38;
  --plum: #9a3f61;
  --paper: #ffffff;
  --cream: #f6f7f3;
  --mist: #eef2ed;
  --line: #dde4dd;
  --line-strong: #cbd6cd;
  --shadow: 0 16px 42px rgba(23, 42, 30, .09);
  --shadow-small: 0 8px 24px rgba(23, 42, 30, .07);
  --font-family-base: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 9px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

html {
  scroll-padding-top: 124px;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-family-base);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-family-base);
}

h1,
h2,
h3,
h4,
p {
  text-wrap: pretty;
}

button,
a,
input,
select,
textarea {
  transition-duration: .18s;
}

:focus-visible {
  outline: 3px solid rgba(8, 116, 67, .22);
  outline-offset: 3px;
}

.visually-hidden {
  width: 1px !important;
  height: 1px !important;
  position: absolute !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.shell {
  width: min(1240px, calc(100% - 40px));
}

.app-splash {
  background: #f7f8f4;
  color: var(--ink);
}

.app-splash-content {
  gap: 12px;
}

.app-splash-mark {
  width: 136px;
  height: 82px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.app-splash-content p {
  font-size: 12px;
  letter-spacing: 0;
}

/* Utility announcement */
.announcement {
  min-height: 28px;
  background: #0a3f27;
  color: rgba(255, 255, 255, .88);
  font-size: 10px;
}

.announcement-inner {
  min-height: 28px;
}

.announcement span,
.announcement strong {
  font-size: 10px;
  font-weight: 600;
}

.announcement strong {
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--gold);
  color: #27311f;
  font-weight: 700;
  letter-spacing: 0;
}

.announcement svg {
  width: 13px;
  height: 13px;
}

/* Compact global header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border: 0;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 rgba(23, 42, 30, .1), 0 7px 22px rgba(23, 42, 30, .035);
  backdrop-filter: blur(16px);
}

.header-main {
  min-height: 64px;
  grid-template-columns: 176px minmax(280px, 1fr) auto;
  gap: 20px;
}

.brand {
  gap: 8px;
}

.brand > .site-logo {
  width: 126px;
  height: 54px;
  object-fit: contain;
}

.brand > span:last-child {
  font-family: var(--font-family-base);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -.025em;
}

.brand small {
  margin-top: 3px;
  font-size: 7px;
  letter-spacing: .14em;
}

.site-search {
  height: 42px;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid #d5ddd5;
  border-radius: 12px;
  background: #f5f7f4;
}

.site-search:hover {
  border-color: #bdc9bf;
}

.site-search:focus-within {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(8, 116, 67, .09);
}

.site-search svg {
  width: 17px;
}

.site-search input {
  min-height: 40px;
  padding: 0;
  font-size: 12px;
}

.site-search kbd {
  padding: 3px 6px;
  border: 0;
  border-radius: 5px;
  background: #e7ece7;
  font-size: 8px;
}

.header-actions {
  gap: 4px;
}

.header-action {
  min-width: 82px;
  height: 42px;
  gap: 7px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.header-action:hover,
.header-action:focus-visible {
  background: #f0f4ef;
}

.header-action svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.header-action > span {
  gap: 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.header-action small {
  font-size: 8px;
  font-weight: 500;
}

.cart-action {
  min-width: 116px;
  margin-left: 4px;
  padding-inline: 12px;
  background: var(--teal);
  color: #fff;
}

.cart-action:hover,
.cart-action:focus-visible {
  background: var(--teal-dark);
}

.cart-action svg {
  color: #fff;
}

.department-bar {
  border-top: 1px solid #edf0ec;
  background: #fff;
}

.department-inner {
  min-height: 39px;
  gap: 24px;
}

.department-trigger {
  min-width: 176px;
  height: 30px;
  align-self: center;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 700;
}

.department-trigger svg,
.track-link svg {
  width: 14px;
  height: 14px;
}

.department-inner nav {
  gap: clamp(16px, 2vw, 27px);
}

.department-inner nav a,
.track-link {
  color: #46564c;
  font-size: 10px;
  font-weight: 650;
}

.department-inner nav a:hover,
.track-link:hover {
  color: var(--teal);
}

/* Admin-controlled hero: image and carousel controls only. */
.hero {
  min-height: 0;
  position: relative;
  display: block;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(23, 42, 30, .09);
  border-radius: var(--radius-lg);
  background: #ecefe9;
  color: var(--ink);
  box-shadow: var(--shadow);
  isolation: auto;
}

.hero-visual {
  min-height: 0;
  height: clamp(340px, 31vw, 440px);
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  background: #edf0eb;
}

.hero-media {
  width: 100%;
  height: 100%;
  min-height: 0;
  position: relative;
  inset: auto;
  z-index: 0;
  display: block;
  object-fit: cover;
  object-position: center center;
  animation: heroReveal .5s ease-out both;
  transition: opacity .22s ease;
}

.hero-media.is-changing {
  opacity: .5;
  transform: none;
}

.hero-copy,
.hero-overlay,
.hero-motion,
.hero-visual-shade,
.hero-spotlight,
.hero-price-bubble {
  display: none !important;
}

.hero-carousel-dots {
  min-height: 26px;
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border: 0;
  border-top: 1px solid rgba(23, 42, 30, .08);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #bcc8be;
}

.hero-carousel-dot[aria-current="true"] {
  width: 22px;
  background: var(--teal);
}

/* Service proof */
.service-ribbon {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 4px 16px rgba(23, 42, 30, .025);
}

.service-grid {
  min-height: 64px;
}

.service-grid > div,
.service-grid > div:first-child {
  min-height: 38px;
  gap: 10px;
  padding: 0 18px;
}

.service-grid svg {
  width: 19px;
  height: 19px;
  color: var(--teal);
}

.service-grid span {
  gap: 1px;
}

.service-grid strong {
  font-size: 10px;
  font-weight: 700;
}

.service-grid small {
  font-size: 9px;
}

/* Optional admin campaign banner */
.campaign-band {
  min-height: 260px;
  margin-top: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-small);
}

.campaign-band-copy {
  max-width: 540px;
  padding: 34px;
}

.campaign-band-copy h2 {
  margin: 5px 0 18px;
  font-family: var(--font-family-base);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.035em;
}

/* Shared section typography */
.section {
  padding-block: 48px;
}

.section + .section {
  padding-top: 8px;
}

.section-heading {
  min-height: 0;
  align-items: end;
  margin-bottom: 18px;
}

.section-heading h2,
.story-copy h2,
.catalog-sidebar h2,
.wholesale-copy h2,
.shopping-cta h2,
.seo-discovery h2,
.drawer-header h2,
.detail-copy h2,
.checkout-intro h2,
.form-title h3 {
  font-family: var(--font-family-base);
  font-weight: 750;
  letter-spacing: -.035em;
  text-transform: none;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(23px, 2.6vw, 29px);
  line-height: 1.18;
}

.kicker,
.light-kicker {
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .13em;
}

.light-kicker {
  color: #b9e7c9;
}

.text-link {
  gap: 6px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
}

.text-link svg {
  width: 14px;
  height: 14px;
}

.button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
}

.button-primary {
  background: var(--teal);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-light,
.button-secondary {
  border-color: var(--line-strong);
  background: #fff;
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  min-height: 0;
  grid-template-rows: 108px auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.category-card:hover,
.category-card.active {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-3px);
}

.category-photo {
  overflow: hidden;
  border: 1px solid #e3e8e2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 17px rgba(23, 42, 30, .055);
}

.category-card.active .category-photo {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.category-copy {
  align-content: start;
  gap: 2px;
  padding: 9px 3px 0;
}

.category-card strong {
  font-family: var(--font-family-base);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
}

.category-card small {
  display: none;
}

/* Collection merchandising */
.visual-discovery {
  padding-bottom: 48px;
}

.collection-grid {
  min-height: 292px;
  grid-template-columns: 1.18fr 1fr 1fr;
  grid-template-rows: 292px;
  gap: 12px;
}

.collection-lead {
  grid-row: auto;
}

.collection-card {
  border: 1px solid rgba(23, 42, 30, .08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-small);
}

.collection-shade {
  background: linear-gradient(180deg, rgba(9, 26, 16, .02) 20%, rgba(9, 26, 16, .48) 58%, rgba(9, 26, 16, .94) 100%);
}

.collection-copy {
  gap: 5px;
  padding: 20px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

.collection-copy small {
  color: #ffe08a;
  font-size: 8px;
}

.collection-copy strong,
.collection-card:not(.collection-lead) .collection-copy strong {
  color: #fff;
  font-family: var(--font-family-base);
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.collection-copy em {
  color: #fff;
  font-size: 9px;
  font-weight: 650;
}

/* Product system */
.product-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 3px 3px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #bcc8be transparent;
}

.product-rail .product-card {
  flex: 0 0 220px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  overflow: hidden;
  border: 1px solid #e0e6df;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 5px 18px rgba(23, 42, 30, .035);
}

.product-card:hover {
  border-color: #b9cbbd;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(23, 42, 30, .085);
}

.product-visual {
  aspect-ratio: 1 / .84;
  margin: 7px 7px 0;
  overflow: hidden;
  border: 0;
  border-radius: 11px;
  background:
    radial-gradient(circle at 72% 20%, color-mix(in srgb, var(--product-color) 12%, white), transparent 33%),
    linear-gradient(145deg, #f7f9f5, #edf1eb);
  box-shadow: none;
}

.product-visual > img {
  width: 86%;
  height: 84%;
}

.product-card:hover .product-visual > img {
  transform: scale(1.025);
}

.product-fallback {
  width: 100%;
  height: 100%;
  border: 0;
  background:
    radial-gradient(circle at 72% 20%, color-mix(in srgb, var(--product-color) 18%, white), transparent 34%),
    linear-gradient(145deg, #f8faf6, #edf2eb);
}

.product-pack {
  width: 56%;
  min-height: 68%;
  gap: 5px;
  padding: 13px 8px;
  border-width: 2px;
  border-radius: 8px 8px 12px 12px;
}

.product-pack small,
.product-pack b {
  font-size: 7px;
}

.product-pack strong {
  font-family: var(--font-family-base);
  font-size: 12px;
  font-weight: 700;
}

.product-pack em {
  font-size: 6px;
}

.product-badges {
  top: 8px;
  left: 8px;
  gap: 4px;
}

.product-badge {
  padding: 4px 6px;
  border-radius: 999px;
  font-size: 7px;
  letter-spacing: .02em;
}

.product-badge.sale {
  background: var(--clay);
}

.product-badge.new {
  background: var(--teal);
}

.wishlist-toggle {
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(23, 42, 30, .1);
}

.quick-view {
  right: 8px;
  bottom: 8px;
  width: 32px;
  height: 32px;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(23, 42, 30, .1);
}

.wishlist-toggle svg,
.quick-view svg {
  width: 14px;
  height: 14px;
}

.product-info {
  padding: 12px;
}

.product-brand {
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: .07em;
}

.product-title,
.product-title a,
.product-title button,
.story-product h3,
.deal-card h3,
.wholesale-item h3,
.cart-line h3 {
  text-transform: none;
}

.product-title {
  min-height: 35px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.38;
}

.product-unit {
  min-height: 26px;
  margin-top: 3px;
  font-size: 8px;
  line-height: 1.4;
}

.product-rating {
  gap: 4px;
  margin-top: 4px;
  color: #b97800;
  font-size: 8px;
}

.product-rating svg {
  width: 10px;
  height: 10px;
}

.product-bottom {
  grid-template-columns: 1fr 35px;
  gap: 7px;
  padding-top: 8px;
}

.price-stack {
  gap: 5px;
}

.price {
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
}

.was {
  font-size: 8px;
}

.add-button {
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: var(--teal);
}

.add-button:hover {
  background: var(--teal-dark);
}

.add-button svg {
  width: 15px;
  height: 15px;
}

.product-card-quantity {
  height: 35px;
  min-width: 88px;
  border-radius: 9px;
}

.product-card-quantity button {
  width: 27px;
  height: 33px;
}

.product-card-quantity strong span {
  font-size: 10px;
}

.product-card-quantity strong small {
  display: none;
}

/* New arrivals and deals */
.story-band {
  min-height: 350px;
  grid-template-columns: .72fr 1.28fr;
  margin-block: 0 48px;
  border-radius: var(--radius-lg);
  background: #123824;
  box-shadow: var(--shadow);
}

.story-copy {
  padding: 38px;
}

.story-copy h2,
.wholesale-copy h2 {
  max-width: 440px;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.1;
}

.story-copy > p:not(.kicker),
.wholesale-copy > p:not(.kicker) {
  margin: 13px 0 20px;
  color: #cad9cf;
  font-size: 11px;
  line-height: 1.6;
}

.story-product {
  padding: 14px;
  background: #0c6840;
}

.story-product:last-child {
  background: #d6533e;
}

.story-product .product-visual {
  min-height: 204px;
  border: 0;
  border-radius: 12px;
}

.story-product h3 {
  margin-top: 12px;
  font-family: var(--font-family-base);
  font-size: 15px;
  font-weight: 650;
}

.story-product p {
  font-size: 9px;
}

.story-product button {
  margin-top: 9px;
  font-size: 9px;
}

.deal-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #eadba7;
  border-radius: 999px;
  background: #fff8dc;
  font-size: 9px;
}

.deal-code svg {
  width: 13px;
  color: var(--clay);
}

.deal-grid {
  gap: 12px;
}

.deal-card {
  min-height: 190px;
  grid-template-columns: 1fr 116px;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(23, 42, 30, .06);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-small);
}

.deal-card:nth-child(1) {
  background: #fff5d9;
}

.deal-card:nth-child(2) {
  background: #eaf5ec;
}

.deal-card:nth-child(3) {
  background: #f9ebe7;
}

.deal-card h3 {
  margin: 7px 0 4px;
  font-family: var(--font-family-base);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.deal-card p {
  margin-bottom: 9px;
  font-size: 9px;
}

.deal-card .product-visual {
  border: 0;
  border-radius: 11px;
}

.deal-card .clear-filter {
  min-height: 28px;
  margin-top: 6px;
  font-size: 9px;
}

/* Catalog */
.catalog {
  grid-template-columns: 212px minmax(0, 1fr);
  gap: 24px;
  padding-block: 56px;
}

.catalog-sidebar {
  top: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 6px 20px rgba(23, 42, 30, .035);
}

.catalog-sidebar h2 {
  font-size: 22px;
  line-height: 1.15;
}

.catalog-copy {
  margin: 10px 0 16px;
  font-size: 10px;
}

.filter-group {
  gap: 5px;
  margin-top: 11px;
}

.filter-group label,
.stacked-form label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: none;
}

select,
input,
textarea {
  min-height: 40px;
  padding-inline: 11px;
  border-color: #d4ddd5;
  border-radius: 9px;
  font-size: 11px;
}

textarea {
  padding-top: 10px;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 116, 67, .08);
}

.clear-filter {
  min-height: 34px;
  margin-top: 8px;
  color: var(--teal);
  font-size: 9px;
}

.catalog-note {
  margin-top: 16px;
  padding-top: 14px;
}

.catalog-note p {
  font-size: 9px;
}

.catalog-toolbar {
  min-height: 50px;
  margin-bottom: 12px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.catalog-toolbar p,
.sort-control {
  font-size: 9px;
}

.sort-control select {
  min-height: 34px;
}

.catalog-load-more {
  margin-top: 14px;
}

/* Business, tracking, and discovery */
.wholesale {
  min-height: 390px;
  margin-bottom: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0c2f20, #0a6540);
  box-shadow: var(--shadow);
}

.wholesale-copy {
  padding: 38px;
}

.wholesale-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 17px;
  border-radius: 13px;
}

.wholesale-icon svg {
  width: 22px;
}

.wholesale-actions {
  gap: 14px;
}

.wholesale-actions > a {
  font-size: 9px;
}

.wholesale-item {
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, .025);
}

.wholesale-item .product-visual {
  width: 72px;
  border: 0;
  border-radius: 10px;
}

.wholesale-item h3 {
  font-family: var(--font-family-base);
  font-size: 12px;
  font-weight: 650;
}

.wholesale-item p {
  font-size: 8px;
}

.wholesale-price {
  font-size: 14px;
}

.shopping-cta {
  min-height: 112px;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  margin-block: 42px 48px;
  padding: 22px 28px;
  border: 1px solid #cde2d2;
  border-radius: var(--radius-md);
  background: #eaf5ed;
}

.shopping-cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal);
}

.shopping-cta-icon svg {
  width: 24px;
}

.shopping-cta h2 {
  margin: 0;
  font-size: 19px;
}

.seo-discovery {
  position: relative;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 0;
  margin-top: 38px;
  margin-bottom: 56px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dce8df;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 74, 45, .08);
}

.seo-discovery-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 38px;
  background: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .1), transparent 34%), linear-gradient(145deg, #0b6b3a, #084d2e);
  color: #fff;
}

.seo-discovery-copy .kicker { color: #f6cf62; }

.seo-discovery h2 {
  margin: 10px 0 16px;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.08;
}

.seo-discovery-copy > p:not(.kicker) {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  line-height: 1.7;
}

.seo-trust-links { gap: 8px; margin-top: 10px; }

.seo-trust-links a {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 10px;
}

.seo-catalog-links { align-content: start; gap: 28px; padding: 36px 38px; }
.seo-catalog-links h3 { margin-bottom: 13px; color: #173a28; font-size: 12px; letter-spacing: .1em; }
.seo-category-links { gap: 8px; }
.seo-category-links a { padding: 8px 11px; border-color: #dbe9df; background: #f7faf8; color: #17623c; font-size: 9px; }
.seo-category-links a span { color: #759482; }
.seo-product-links { gap: 9px; }

.seo-product-links a {
  position: relative;
  min-height: 46px;
  padding: 11px 38px 11px 13px;
  border: 1px solid #e3ebe5;
  border-radius: 11px;
  background: #fff;
  color: #173a28;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
  box-shadow: 0 4px 14px rgba(20, 66, 40, .04);
}

.seo-product-links a::after {
  content: "\2197";
  position: absolute;
  top: 50%;
  right: 13px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #edf7f0;
  color: #0b6b3a;
  font-size: 12px;
  transform: translateY(-50%);
}

.seo-product-links a:hover::after { background: rgba(255, 255, 255, .16); color: #fff; }

/* Footer */
.site-footer {
  background: #092d1d;
  color: #eaf1ec;
}

.footer-main {
  grid-template-columns: 1.25fr .65fr .75fr 1fr;
  gap: 48px;
  padding-block: 46px;
}

.footer-logo > .site-logo {
  width: 136px;
  height: 68px;
}

.footer-brand p,
.footer-news p {
  color: #a9bdb0;
  font-size: 10px;
  line-height: 1.65;
}

.footer-brand > a:last-child {
  color: #f6d36e;
  font-size: 10px;
}

.footer-main h3 {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 700;
}

.footer-main > div:not(.footer-brand) {
  gap: 9px;
}

.footer-main > div a,
.footer-main > div button {
  color: #a9bdb0;
  font-size: 9px;
}

.footer-news form {
  overflow: hidden;
  border-radius: 10px;
}

.footer-news input {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
}

.footer-bottom {
  min-height: 52px;
  border-color: rgba(255, 255, 255, .12);
  font-size: 8px;
}

.payway-acceptance-footer {
  border-color: rgba(255, 255, 255, .12);
}

/* Drawers and customer dialogs */
.cart-panel {
  grid-template-rows: auto auto auto 1fr auto;
}

.drawer-header {
  padding: 19px 20px;
}

.drawer-header h2 {
  font-size: 22px;
}

.order-type-switch {
  margin-inline: 20px;
}

.cart-delivery {
  margin: 14px 20px 0;
}

.cart-items {
  padding: 12px 20px;
}

.cart-summary {
  padding: 16px 20px 20px;
}

.product-dialog {
  border-radius: var(--radius-md);
}

.detail-copy {
  padding: 44px 40px 36px;
}

.detail-copy h2 {
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1.15;
}

.detail-description {
  font-size: 11px;
  line-height: 1.65;
}

.account-dialog {
  border-radius: var(--radius-lg);
}

.checkout-intro h2 {
  font-size: clamp(27px, 3.2vw, 36px);
  line-height: 1.12;
}

.form-title h3 {
  font-size: 20px;
}

.ai-chat-launcher {
  right: 18px;
  bottom: 18px;
  min-height: 48px;
  padding: 5px 12px 5px 5px;
  border-radius: 14px;
  background: #123824;
  box-shadow: 0 10px 28px rgba(12, 38, 24, .2);
}

.ai-launcher-icon {
  width: 38px;
  height: 38px;
}

.ai-chat-launcher strong {
  font-size: 9px;
}

.ai-chat-launcher small {
  font-size: 7px;
}

.ai-chat-panel {
  border-radius: 18px;
}

@media (max-width: 1180px) {
  .header-main {
    grid-template-columns: 160px 1fr auto;
    gap: 14px;
  }

  .header-action {
    min-width: 42px;
    width: 42px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0;
  }

  .header-action > span {
    display: none;
  }

  .cart-action {
    margin-left: 2px;
  }

  .category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .category-card:nth-child(n+7) {
    display: grid;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .hero-visual {
    height: 320px;
  }

  html {
    scroll-padding-top: 112px;
  }

  .shell {
    width: min(100% - 30px, 800px);
  }

  .header-main {
    min-height: 58px;
    grid-template-columns: 1fr auto;
  }

  .brand > .site-logo {
    width: 112px;
    height: 48px;
  }

  .site-search {
    height: 40px;
    margin-bottom: 8px;
  }

  .department-inner nav {
    gap: 17px;
  }

  .department-inner nav a:nth-last-child(-n+2) {
    display: none;
  }

  .category-grid {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 3px 2px 15px;
    scroll-snap-type: x mandatory;
  }

  .category-card,
  .category-card:nth-child(n+7) {
    flex: 0 0 116px;
    display: grid;
    grid-template-rows: 103px auto;
    scroll-snap-align: start;
  }

  .collection-grid {
    min-height: 430px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 245px 173px;
  }

  .collection-lead {
    grid-column: 1 / -1;
  }

  .story-band,
  .wholesale {
    width: min(100% - 30px, 800px);
    grid-template-columns: 1fr;
  }

  .story-copy,
  .wholesale-copy {
    padding: 32px;
  }

  .catalog {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
    gap: 9px;
  }

  .catalog-sidebar > .kicker,
  .catalog-sidebar > h2,
  .catalog-copy,
  .catalog-note {
    display: none;
  }

  .filter-group {
    margin: 0;
  }

  .catalog-sidebar .clear-filter {
    min-height: 40px;
    margin: 0;
    padding-inline: 10px;
  }

  .footer-main {
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 32px;
  }

  .footer-news {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 103px;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    font-size: 13px;
  }

  .shell {
    width: calc(100% - 24px);
  }

  .announcement {
    min-height: 25px;
  }

  .announcement-inner {
    width: calc(100% - 24px);
    min-height: 25px;
    justify-content: center;
  }

  .announcement-inner > span {
    display: none;
  }

  .announcement strong {
    padding: 2px 9px;
    font-size: 8px;
  }

  .site-header {
    box-shadow: 0 1px 0 rgba(23, 42, 30, .09), 0 5px 16px rgba(23, 42, 30, .04);
  }

  .header-main {
    width: 100%;
    min-height: 54px;
    padding-inline: 12px;
  }

  .brand > .site-logo {
    width: 102px;
    height: 44px;
  }

  .header-actions {
    gap: 2px;
  }

  .header-action:not(.cart-action) {
    display: none;
  }

  .cart-action {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
  }

  .cart-action svg {
    width: 17px;
  }

  .site-search {
    height: 38px;
    margin: 0 0 8px;
    border-radius: 10px;
  }

  .site-search input {
    min-height: 36px;
    font-size: 11px;
  }

  .site-search kbd {
    display: none;
  }

  .department-bar {
    display: none;
  }

  .hero {
    width: calc(100% - 24px);
    min-height: 0;
    margin-top: 12px;
    border-radius: 14px;
  }

  .hero-visual {
    min-height: 0;
    height: 200px;
  }

  .hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-carousel-dots {
    min-height: 23px;
    padding: 6px 8px;
  }

  .service-ribbon {
    width: calc(100% - 24px);
    margin-top: 9px;
    border-radius: 12px;
  }

  .service-grid {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid > div,
  .service-grid > div:first-child {
    min-height: 53px;
    padding: 8px 10px;
  }

  .service-grid > div:nth-child(2) {
    border-right: 0;
  }

  .service-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .service-grid svg {
    width: 17px;
    height: 17px;
  }

  .service-grid strong {
    font-size: 9px;
  }

  .service-grid small {
    display: none;
  }

  .campaign-band {
    min-height: 210px;
    margin-top: 34px;
    border-radius: 14px;
  }

  .campaign-band-copy {
    padding: 22px;
  }

  .campaign-band-copy h2 {
    font-size: 22px;
  }

  .section {
    padding-block: 38px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 14px;
  }

  .section-heading h2 {
    font-size: 21px;
  }

  .text-link {
    font-size: 9px;
  }

  .category-grid {
    width: calc(100% + 12px);
    margin-right: -12px;
  }

  .category-card,
  .category-card:nth-child(n+7) {
    flex-basis: 94px;
    grid-template-rows: 84px auto;
  }

  .category-photo {
    border-radius: 13px;
  }

  .category-card strong {
    font-size: 10px;
  }

  .visual-discovery {
    width: calc(100% - 24px);
    padding-bottom: 38px;
  }

  .mobile-collection-heading {
    margin-bottom: 10px;
  }

  .mobile-collection-heading strong {
    font-family: var(--font-family-base);
    font-size: 18px;
    font-weight: 750;
  }

  .collection-grid {
    min-height: auto;
    grid-template-rows: 205px 145px;
    gap: 8px;
  }

  .collection-card {
    border-radius: 12px;
  }

  .collection-copy {
    padding: 13px;
  }

  .collection-copy strong,
  .collection-card:not(.collection-lead) .collection-copy strong {
    font-size: 14px;
  }

  #best {
    overflow: hidden;
  }

  .product-rail {
    width: calc(100% + 12px);
    margin-right: -12px;
    gap: 8px;
    padding-right: 12px;
  }

  .product-rail .product-card {
    flex-basis: 154px;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-visual {
    margin: 5px 5px 0;
    border-radius: 9px;
  }

  .product-pack {
    width: 62%;
  }

  .product-pack strong {
    font-size: 10px;
  }

  .product-info {
    padding: 9px;
  }

  .product-title {
    min-height: 33px;
    font-size: 11px;
  }

  .product-unit {
    min-height: 24px;
  }

  .price {
    font-size: 14px;
  }

  .add-button {
    width: 33px;
    height: 33px;
  }

  .story-band {
    width: calc(100% - 24px);
    margin-bottom: 38px;
    border-radius: 15px;
  }

  .story-copy,
  .wholesale-copy {
    padding: 25px 20px;
  }

  .story-copy h2,
  .wholesale-copy h2 {
    font-size: 26px;
  }

  .story-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-product {
    padding: 9px;
  }

  .story-product .product-visual {
    min-height: 128px;
  }

  .story-product h3 {
    font-size: 12px;
  }

  .deal-code {
    display: none;
  }

  .deal-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    width: calc(100% + 12px);
    margin-right: -12px;
    padding: 2px 12px 14px 1px;
    scroll-snap-type: x mandatory;
  }

  .deal-card {
    flex: 0 0 258px;
    min-height: 166px;
    grid-template-columns: 1fr 92px;
    padding: 15px;
    border-radius: 13px;
    scroll-snap-align: start;
  }

  .deal-card h3 {
    font-size: 14px;
  }

  .catalog {
    width: 100%;
    padding-block: 38px;
  }

  .catalog-sidebar {
    width: calc(100% - 24px);
    grid-template-columns: 1fr 1fr;
    padding: 10px;
    border-radius: 12px;
  }

  .catalog-sidebar .clear-filter {
    grid-column: 1 / -1;
    min-height: 28px;
    justify-content: center;
  }

  .catalog-content {
    width: calc(100% - 24px);
  }

  .catalog-toolbar {
    min-height: 47px;
    padding: 6px 8px;
    border-radius: 10px;
  }

  .sort-control select {
    width: 125px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .wholesale {
    width: calc(100% - 24px);
    margin-bottom: 0;
    border-radius: 15px;
  }

  .wholesale-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wholesale-item {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .wholesale-item .product-visual {
    width: 100%;
  }

  .wholesale-item h3 {
    font-size: 10px;
  }

  .shopping-cta {
    min-height: auto;
    grid-template-columns: auto 1fr;
    gap: 12px;
    margin-block: 38px;
    padding: 17px;
    border-radius: 13px;
  }

  .shopping-cta-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .shopping-cta h2 {
    font-size: 15px;
  }

  .shopping-cta .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .seo-discovery {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .seo-discovery-copy,
  .seo-catalog-links {
    padding: 24px 20px;
  }

  .seo-discovery h2 {
    font-size: 24px;
  }

  .seo-product-links {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-block: 36px;
  }

  .footer-brand,
  .footer-news {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    min-height: 60px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .mobile-nav {
    height: calc(66px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    border-radius: 18px 18px 0 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -8px 24px rgba(23, 42, 30, .1);
    backdrop-filter: blur(15px);
  }

  .mobile-nav a,
  .mobile-nav button {
    font-size: 8px;
    font-weight: 650;
  }

  .mobile-nav button:nth-child(3) {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border: 4px solid var(--cream);
    background: var(--teal);
  }

  .mobile-nav button:nth-child(3) span {
    top: 48px;
  }

  .mobile-nav button:nth-child(3) span small {
    font-size: 6px;
  }

  .ai-chat-launcher {
    width: 44px;
    min-height: 44px;
    right: 10px;
    bottom: calc(80px + env(safe-area-inset-bottom));
    padding: 0;
    border-radius: 50%;
  }

  .ai-launcher-icon {
    width: 44px;
    height: 44px;
  }

  .ai-chat-panel {
    border-radius: 16px 16px 0 0;
  }

  .product-dialog {
    width: calc(100% - 20px);
    border-radius: 14px;
  }

  .detail-copy {
    padding: 24px 19px 20px;
  }

  .detail-copy h2 {
    font-size: 23px;
  }

  .drawer-header {
    padding: 16px;
  }

  .order-type-switch,
  .cart-delivery {
    margin-inline: 16px;
  }

  .cart-items,
  .cart-summary {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .product-card,
  .product-visual > img,
  .collection-card > img {
    animation: none !important;
    transition: none !important;
  }
}
