/* ============================================================
   AMANI — B2B wholesale daily necessities (framework)
   Design tokens extracted from zoro.com capture (copycat skill)
   ============================================================ */

/* ---- Fonts (Roboto, as captured) ---- */
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto-400.9239773a.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto-400i.00614b7a.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto-500.15d4194a.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto-500i.18af151d.woff2') format('woff2');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto-700.10ff8f29.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto-700i.ce233961.woff2') format('woff2');
  font-weight: 700; font-style: italic; font-display: swap;
}

/* ---- Design tokens (:root, from capture) ---- */
:root {
  --blue-dark: #0b485b;      /* primary navy-teal */
  --blue-dark-2: #0e4051;    /* deeper section bg */
  --blue: #2071a7;           /* links */
  --blue-light: #ebf2f3;     /* light section bg */
  --blue-light-2: #235a6e;   /* mid navy */
  --orange: #d24600;         /* accent / sale / CTA */
  --orange-light: #f59261;
  --text: #222222;
  --text-87: rgba(0,0,0,.87);
  --gray: #696969;
  --gray-1: #f1f1f1;
  --gray-2: #f3f3f3;
  --gray-line: #cccccc;
  --burgundy: #862a3c;
  --white: #ffffff;
  --radius: 4px;
  --shadow-card: rgba(34,34,34,.2) 0 2px 4px -1px, rgba(34,34,34,.14) 0 4px 5px 0, rgba(34,34,34,.12) 0 1px 10px 0;
  --font: 'Roboto', Arial, sans-serif;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: var(--font); cursor: pointer; }
h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.container { max-width: 1440px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 1200px) { .container { padding: 0 32px; } }

/* ---- Image placeholders (framework) ---- */
.ph {
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-2);
  border: 1px dashed var(--gray-line);
  border-radius: var(--radius);
  color: var(--gray);
  font-size: 11px; font-weight: 500; letter-spacing: 1px;
  width: 100%; height: 100%; min-height: 48px;
  user-select: none;
}
.ph--dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.5); }
.ph--lg { min-height: 121px; aspect-ratio: 1; max-width: 180px; }
.ph--md { min-height: 60px; aspect-ratio: 1; }
.ph--sm { width: 32px; height: 32px; min-height: 32px; flex: 0 0 32px; font-size: 8px; }
.ph--card { position: absolute; inset: 0; border: 0; border-radius: 0; background: linear-gradient(135deg, var(--blue-dark-2), var(--blue-dark)); }
.ph--deal { min-height: 180px; aspect-ratio: 1; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; }
.ph--guide { min-height: 160px; border-radius: 0; border: 0; border-bottom: 1px dashed var(--gray-line); }

/* ---- Real product photos ---- */
.deal-product { width: 110px; height: 110px; flex: 0 0 auto; }
.deal-product img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.2);
}
.rail-img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border: 1px solid var(--gray-1); border-radius: var(--radius);
}
.rail-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; display: block; }
.dealcard-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.catcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.catcard-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(6,48,61,.82) 20%, rgba(6,48,61,.25) 60%, rgba(6,48,61,.45));
}
.morecat-img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--gray-1); }
@media (min-width: 992px) {
  .deal-main .deal-products .deal-product { width: 140px; height: 140px; }
}

/* ============ Utility bar ============ */
.utility-bar { background: var(--blue-dark); color: var(--white); }
.utility-inner {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 36px; padding-top: 4px; padding-bottom: 4px;
  flex-wrap: wrap; text-align: center;
}
.utility-msg { font-size: 14px; }
.utility-msg a { color: var(--white); text-decoration: underline; }
.utility-link { font-size: 12px; color: rgba(255,255,255,.75); text-decoration: underline; }

/* ============ Header ============ */
.header {
  position: sticky; top: 0; z-index: 999;
  background: var(--white);
  border-bottom: 1px solid var(--gray-1);
}
.header-main {
  display: flex; align-items: center; gap: 16px;
  padding-top: 12px; padding-bottom: 12px;
}
.icon-btn {
  background: none; border: 0; padding: 8px; color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
}
.burger { display: inline-flex; }

/* Logo */
.logo { display: flex; flex-direction: row; align-items: center; gap: 10px; line-height: 1; margin-right: 8px; text-decoration: none; }
.logo-imgwrap { width: 46px; height: 46px; border-radius: 50%; background: #fff; overflow: hidden; flex: none; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.logo-imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-texts { display: flex; flex-direction: column; }
.logo-text { font-size: 26px; font-weight: 700; color: var(--blue-dark); letter-spacing: 1px; }
.logo-text.small { font-size: 20px; }
.logo-tag { font-size: 10px; color: var(--gray); margin-top: 2px; letter-spacing: .4px; }

/* Search */
.header-search { flex: 1; display: flex; align-items: center; gap: 16px; min-width: 0; }
.deliver-to { display: none; flex-direction: column; }
.deliver-label { font-size: 11px; color: var(--gray); }
.deliver-loc {
  background: none; border: 0; padding: 0; font-size: 14px; font-weight: 500;
  color: var(--text); display: inline-flex; align-items: center; gap: 2px;
}
.search-form { display: flex; flex: 1; max-width: 720px; }
.search-form input {
  flex: 1; min-width: 0; height: 44px;
  border: 1px solid var(--gray-line); border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 0 12px; font-size: 16px; font-family: var(--font);
}
.search-form input:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.search-submit {
  width: 52px; border: 0; background: var(--blue-dark); color: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 4px; }
.action {
  display: none; flex-direction: column; align-items: center; gap: 2px;
  font-size: 12px; line-height: 1.15; color: var(--text);
  background: none; border: 0; padding: 4px 8px; text-align: center;
}
.action:hover { text-decoration: none; color: var(--blue-dark); }
.action.cart, .action[data-action="signin"] { display: flex; }

/* ---- Language switcher ---- */
.lang-switch { display: flex; align-self: center; margin-right: 6px; }
.lang-switch button { border: 1px solid rgba(11,72,91,.4); background: transparent; color: var(--blue-dark); font-size: 11px; font-weight: 600; padding: 3px 9px; cursor: pointer; font-family: inherit; }
.lang-switch button:first-child { border-radius: 3px 0 0 3px; }
.lang-switch button:last-child { border-radius: 0 3px 3px 0; border-left: 0; }
.lang-switch button:hover { background: rgba(11,72,91,.08); }
.lang-switch button.is-active { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.lang-switch button.is-active:hover { background: var(--blue-dark); }
/* category page header is dark teal */
.lang-switch--cat button { border-color: rgba(255,255,255,.45); color: #fff; }
.lang-switch--cat button:hover { background: rgba(255,255,255,.18); }
.lang-switch--cat button.is-active { background: #fff; border-color: #fff; color: var(--blue-dark); }
.cart-icon-wrap { position: relative; }
.cart-badge {
  position: absolute; top: -6px; right: -10px;
  background: var(--orange); color: var(--white);
  font-size: 11px; font-weight: 700; line-height: 1;
  min-width: 16px; height: 16px; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* Category nav */
.cat-nav { border-top: 1px solid var(--gray-1); }
.cat-nav-inner {
  display: flex; align-items: center; gap: 4px;
  overflow-x: auto; scrollbar-width: none;
  padding-top: 8px; padding-bottom: 8px;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-inner { scrollbar-width: none; -ms-overflow-style: none; }
.shop-all {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-dark); color: var(--white);
  border: 0; border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  padding: 8px 16px; white-space: nowrap;
}
.cat-link {
  color: var(--text); font-size: 14px; white-space: nowrap;
  padding: 8px 10px; display: inline-flex; align-items: center; gap: 4px;
}
.cat-link:hover { color: var(--blue-dark); text-decoration: none; }
.cat-deals { color: var(--orange); font-weight: 500; }

/* ============ Mobile drawer ============ */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(34,34,34,.6); z-index: 1000;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 320px; max-width: 85vw;
  background: var(--white); z-index: 1001;
  transform: translateX(-100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
  padding: 16px; overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.drawer-link {
  display: block; padding: 12px 4px; color: var(--text); font-size: 16px;
  border-bottom: 1px solid var(--gray-1);
}
.drawer-link:hover { color: var(--blue-dark); text-decoration: none; }

/* ============ Announcement ============ */
.announce {
  background: var(--blue-dark); color: var(--white);
  font-size: 14px; padding: 12px 0;
}
.announce strong { font-weight: 700; }

/* ============ Hero ============ */
.hero {
  background: linear-gradient(120deg, var(--blue-dark-2), var(--blue-dark) 55%, var(--blue-dark-2));
  padding: 56px 0;
}
.hero-title {
  color: var(--white);
  font-size: 28px; font-weight: 700; line-height: 1.3;
  text-align: center;
}
@media (min-width: 768px) {
  .hero { padding: 72px 0; }
  .hero-title { font-size: 36px; }
}

/* ============ Deals carousel ============ */
.deals { padding-top: 24px; }
.deals-track {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
}
.deal-card {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #06303d, var(--blue-dark) 60%, #0b5568);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 242px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.deal-eyebrow { color: rgba(255,255,255,.9); font-size: 14px; font-weight: 700; letter-spacing: .5px; margin-bottom: 12px; }
.deal-headline { color: var(--white); font-size: 24px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.deal-cta { color: var(--white); font-size: 16px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.deal-cta:hover { color: var(--white); }
.deal-products { display: none; align-items: center; gap: 12px; flex: 0 0 auto; }
.deal-products .ph { width: 110px; height: 110px; }

.deal-dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0 4px; }
.deal-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid var(--white); background: transparent; padding: 0;
}
.deal-dot.is-active { background: var(--white); }
.deal-fineprint { font-size: 12px; color: var(--gray); padding-bottom: 8px; }

@media (min-width: 992px) {
  .deals-track {
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: repeat(2, 1fr);
  }
  .deal-main { grid-row: span 2; }
  .deal-main .deal-headline { font-size: 32px; }
  .deal-main .deal-products { display: flex; }
  .deal-main .deal-products .ph { width: 140px; height: 140px; }
  .deal-dots { display: none; }
  .deal-card:not(.deal-main) { min-height: 0; }
}

/* ============ Since / testimonials ============ */
.since { background: var(--blue-light); padding: 48px 0; }
.since-title { font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--text-87); margin-bottom: 12px; }
.since-copy { font-size: 16px; line-height: 22px; color: var(--text-87); max-width: 760px; margin-bottom: 8px; }
.text-link { font-size: 14px; color: var(--blue); }
.text-link:hover { text-decoration: underline; }
.quotes { display: grid; gap: 16px; margin-top: 24px; }
.quote-card {
  background: var(--white); border-radius: var(--radius); padding: 20px;
  box-shadow: rgba(0,0,0,.12) 0 1px 3px 0;
}
.quote-card blockquote { font-size: 14px; line-height: 21px; color: var(--text-87); margin-bottom: 12px; }
.quote-card figcaption { font-size: 14px; font-weight: 500; color: var(--blue); }
@media (min-width: 992px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* ============ Value props ============ */
.valueprops { background: var(--blue-dark); color: var(--white); padding: 32px 0; }
.value-item { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.value-item:last-child { border-bottom: 0; }
.value-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.value-item p { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 4px; }
.value-link { font-size: 14px; color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 992px) { .value-list { columns: 3; column-gap: 48px; } }

/* ============ Product rails ============ */
.rails { background: var(--blue-dark-2); padding: 32px 0; }
.rails .container { display: grid; gap: 24px; }
.rail-card { background: var(--white); border-radius: var(--radius); padding: 20px; }
.rail-title { font-size: 20px; font-weight: 700; color: var(--text-87); margin-bottom: 16px; }
.rail-main { display: flex; gap: 16px; margin-bottom: 16px; }
.rail-imgwrap { flex: 0 0 121px; }
.rail-brand { font-size: 12px; font-weight: 500; color: var(--blue-dark); letter-spacing: .3px; margin-bottom: 2px; }
.rail-name { font-size: 14px; font-weight: 500; line-height: 19.25px; color: var(--blue); margin-bottom: 6px; }
.rail-price { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.rail-price span { font-size: 14px; font-weight: 400; color: var(--text-87); }
.add-btn {
  background: var(--white); color: var(--orange);
  border: 1px solid var(--orange); border-radius: var(--radius);
  font-size: 14px; font-weight: 700; padding: 6px 24px;
  transition: background .2s ease, color .2s ease;
}
.add-btn:hover { background: var(--orange); color: var(--white); }
.add-btn.is-added { background: var(--orange); color: var(--white); }
.rail-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rail-thumb {
  background: none; border: 2px solid var(--gray-1); border-radius: var(--radius);
  padding: 4px; display: block;
  transition: border-color .2s ease;
}
.rail-thumb.is-active { border-color: var(--blue-dark); }
.rail-thumb .ph { min-height: 48px; border: 0; }
@media (min-width: 992px) { .rails .container { grid-template-columns: repeat(2, 1fr); } }

/* ============ Category cards ============ */
.catcards { padding: 32px 0; display: grid; gap: 16px; }
.catcard {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 200px; display: flex; align-items: stretch;
}
.catcard-copy {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px;
}
.catcard-copy h2 { color: var(--white); font-size: 24px; font-weight: 700; line-height: 1.2; }
.catcard-cta { color: var(--white); font-size: 16px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 992px) { .catcards { grid-template-columns: repeat(4, 1fr); } }

/* ============ Shop categories ============ */
.shopcat { padding: 32px 0; }
.section-title { font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--text-87); margin-bottom: 16px; }
.section-head { display: flex; align-items: baseline; gap: 16px; }
.tabbar { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tab {
  background: var(--white); border: 1px solid var(--blue-dark); border-radius: 9999px;
  color: var(--blue-dark); font-size: 14px; font-weight: 500; padding: 6px 16px;
}
.tab.is-active { background: var(--blue-dark); color: var(--white); }
.tab--ghost { border-color: var(--gray-line); color: var(--text); }
.tabpanel.is-hidden { display: none; }
.catgroups { display: grid; gap: 24px; }
.catgroup-title {
  background: var(--gray-1); font-size: 16px; font-weight: 700; color: var(--text);
  padding: 12px 16px; border-radius: var(--radius); margin-bottom: 12px;
}
.catgroup-list li { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.catgroup-list a { font-size: 14px; color: var(--blue); }
.shopall-link { display: inline-block; font-size: 14px; color: var(--blue); margin-top: 8px; }
.industry-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.industry-pill {
  border: 1px solid var(--gray-line); border-radius: 9999px;
  padding: 8px 16px; font-size: 14px; color: var(--text);
}
.industry-pill:hover { border-color: var(--blue-dark); color: var(--blue-dark); text-decoration: none; }
.industry-note { font-size: 14px; color: var(--gray); }
@media (min-width: 992px) { .catgroups { grid-template-columns: repeat(4, 1fr); } }

/* ============ Create account ============ */
.account-cta { padding: 16px 0 32px; }
.account-card {
  border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 24px; max-width: 560px;
}
.account-card h2 { font-size: 20px; font-weight: 700; color: var(--text-87); margin-bottom: 16px; }
.account-benefits { margin-bottom: 20px; }
.account-benefits li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 16px; }
.btn-primary {
  width: 100%; background: var(--blue-dark); color: var(--white);
  border: 0; border-radius: var(--radius);
  font-size: 16px; font-weight: 700; padding: 12px;
  transition: background .2s ease;
}
.btn-primary:hover { background: var(--blue-dark-2); }

/* ============ Special deals ============ */
.special {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #06303d, var(--blue-dark) 60%, #0b5568);
  border-radius: var(--radius);
  padding: 32px; margin-bottom: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.special h2 { color: var(--white); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.special p { color: rgba(255,255,255,.9); font-size: 16px; margin-bottom: 16px; }

/* ============ Brands ============ */
.brands { padding: 16px 0 32px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 16px; text-align: center; }
.brand { font-size: 18px; display: flex; align-items: center; justify-content: center; min-height: 40px; }
.brand-grid--cats a { font-size: 14px; }
@media (min-width: 992px) { .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; } }

/* ============ Best deals ============ */
.bestdeals { background: var(--blue-dark-2); padding: 32px 0; }
.bestdeals-title { color: var(--white); font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.bestdeals-track { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.dealcard { background: var(--white); border-radius: var(--radius); position: relative; overflow: hidden; }
.heart {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: var(--white); border: 0; border-radius: 50%;
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
}
.heart.is-active svg path { fill: var(--orange); stroke: var(--orange); }
.dealcard-body { padding: 12px 16px 16px; }
.dealcard-price { font-size: 14px; color: var(--text-87); margin: 6px 0; line-height: 1.5; }
.dealcard-price s { color: var(--gray); }
.dealcard-price .off { color: var(--gray); }
.dealcard-price strong { font-size: 18px; color: var(--burgundy); }
.limited { font-size: 12px; color: var(--gray); margin-bottom: 6px; }
.stockbar { height: 8px; background: var(--gray-1); border-radius: 9999px; overflow: hidden; margin-bottom: 12px; }
.stockbar span { display: block; height: 100%; background: var(--blue-dark); border-radius: 9999px; }
.options-btn {
  width: 100%; background: var(--white); color: var(--blue-dark);
  border: 1px solid var(--gray-line); border-radius: var(--radius);
  font-size: 14px; font-weight: 500; padding: 8px;
}
.options-btn:hover { border-color: var(--blue-dark); }
@media (min-width: 992px) { .bestdeals-track { grid-template-columns: repeat(4, 1fr); } }

/* ============ More categories ============ */
.morecat { padding: 32px 0; }
.morecat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 12px; text-align: center; }
.morecat-grid li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.morecat-grid a { font-size: 14px; line-height: 19px; color: var(--blue); }
.morecat-grid .ph { max-width: 72px; }
@media (min-width: 992px) { .morecat-grid { grid-template-columns: repeat(8, 1fr); } }

/* ============ Guides ============ */
.guides { padding: 16px 0 32px; }
.guides-track { display: grid; gap: 16px; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.guide-card {
  border: 1px solid var(--gray-1); border-radius: var(--radius); overflow: hidden;
  background: var(--white); scroll-snap-align: start;
}
.guide-body { padding: 16px; }
.guide-eyebrow { font-size: 12px; color: var(--gray); letter-spacing: .5px; margin-bottom: 6px; }
.guide-body h3 { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--text-87); }
.guide-text { font-size: 14px; color: var(--gray); margin-top: 8px; }
.guide-card--text .guide-body { padding: 24px; }
@media (min-width: 992px) { .guides-track { grid-auto-columns: 1fr; grid-template-columns: repeat(3, 1fr); } }

/* ============ SEO ============ */
.seo { padding: 16px 0 48px; }
.seo .section-title { font-size: 20px; }
.seo-expandable p { font-size: 14px; line-height: 21px; color: var(--text-87); margin-bottom: 12px; }
[data-expand] { max-height: 66px; overflow: hidden; position: relative; }
[data-expand].is-expanded { max-height: none; }
.see-more { background: none; border: 0; font-size: 14px; display: inline-flex; align-items: center; gap: 2px; padding: 0; margin: 4px 0 24px; }
.see-more svg { transition: transform .2s ease; }
.see-more.is-expanded svg { transform: rotate(180deg); }
.explore-title { font-size: 18px; font-weight: 700; color: var(--text-87); margin-bottom: 12px; }
.explore-links li { padding: 4px 0; }
.explore-links a { font-size: 14px; }

/* ============ Footer ============ */
.footer { background: var(--text); color: var(--white); padding: 40px 0 24px; }
.footer-top { display: grid; gap: 32px; }
.footer-news h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.footer-news > p { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 12px; max-width: 380px; }
.news-form { display: flex; gap: 8px; max-width: 400px; margin-bottom: 24px; }
.news-form input {
  flex: 1; min-width: 0; height: 44px; border: 0; border-radius: var(--radius);
  padding: 0 12px; font-size: 14px; font-family: var(--font);
}
.news-form button {
  background: var(--orange); color: var(--white); border: 0; border-radius: var(--radius);
  font-size: 16px; font-weight: 500; padding: 0 20px;
}
.footer-news h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.social { display: flex; gap: 12px; }
.social a { opacity: .85; }
.social a:hover { opacity: 1; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.footer-col a { color: rgba(255,255,255,.75); font-size: 14px; }
.footer-col a:hover { color: var(--white); }
.footer-contact {
  border-top: 1px solid rgba(255,255,255,.2); margin-top: 32px; padding-top: 16px;
  font-size: 14px; color: rgba(255,255,255,.75);
}
.footer-contact strong { color: var(--white); }
.footer-legal { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.6); }
.footer-legal p + p { margin-top: 4px; }
.footer-legal a { color: rgba(255,255,255,.6); text-decoration: underline; }
@media (min-width: 992px) {
  .footer-top { grid-template-columns: 1fr 1.4fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

/* ============ Desktop header layout ============ */
@media (min-width: 992px) {
  .burger { display: none; }
  .deliver-to { display: flex; }
  .action { display: flex; }
  .cat-nav-inner { overflow: visible; flex-wrap: wrap; }
}

/* ============ Toast ============ */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--blue-dark); color: #fff; padding: 12px 20px; border-radius: var(--radius);
  font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  z-index: 9999; max-width: 90vw; box-shadow: var(--shadow-card);
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ Generic CTA button ============ */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--orange); color: var(--white); border: 0; cursor: pointer;
  padding: 12px 24px; border-radius: var(--radius); font-size: 15px; font-weight: 500;
  font-family: var(--font); text-decoration: none; text-align: center;
  transition: background .15s;
}
.cta:hover { background: #b93c00; text-decoration: none; color: var(--white); }

/* ============ Deliver-to dropdown ============ */
.deliver-drop { position: relative; }
.deliver-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px;
  background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 8px; z-index: 1200; max-height: 340px; overflow: auto;
}
.deliver-group { display: flex; flex-direction: column; padding: 4px 0; }
.deliver-group strong { font-size: 12px; color: var(--gray); padding: 6px 8px 2px; }
.deliver-opt {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  padding: 7px 8px; font-size: 14px; color: var(--text); cursor: pointer; border-radius: var(--radius);
  font-family: var(--font);
}
.deliver-opt:hover { background: var(--blue-light); color: var(--blue-dark); }

/* ============ Modals ============ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(11, 72, 91, .45); z-index: 1400;
}
.modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(440px, calc(100vw - 32px)); background: var(--white);
  border-radius: 8px; box-shadow: var(--shadow-card); z-index: 1401; overflow: hidden;
}
.modal[hidden], .modal-overlay[hidden] { display: none; }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: var(--blue-dark); color: var(--white);
}
.modal-head h3 { margin: 0; font-size: 17px; }
.modal-close {
  background: none; border: 0; color: var(--white); font-size: 26px; line-height: 1;
  cursor: pointer; padding: 0 4px;
}
.modal-body { padding: 20px; }
.modal-body label {
  display: block; font-size: 13px; color: var(--gray); margin-bottom: 14px; font-weight: 500;
}
.modal-body input, .modal-body select {
  display: block; width: 100%; margin-top: 6px; height: 42px;
  border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 0 12px; font-size: 15px; font-family: var(--font); box-sizing: border-box;
}
.modal-body input:focus, .modal-body select:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.modal-body .cta { width: 100%; margin-top: 4px; }
.modal-note { font-size: 12.5px; color: var(--gray); margin: 14px 0 0; line-height: 1.5; }
.modal-body .opt { font-weight: 400; color: var(--gray); font-size: 12px; }
.form-hint { font-size: 12px; color: var(--gray); margin: 10px 0 0; line-height: 1.5; }
.linklike {
  background: none; border: 0; color: var(--blue); cursor: pointer; padding: 0;
  font-size: 13px; text-decoration: underline; margin-top: 12px; font-family: var(--font);
}
.support-list { list-style: none; margin: 0; padding: 0; }
.support-list li { padding: 10px 0; border-bottom: 1px solid var(--gray-1); font-size: 14px; }
.support-list li:last-child { border-bottom: 0; }
.support-list a { color: var(--blue); }

/* ============ Cart drawer ============ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(11, 72, 91, .45); z-index: 1500;
  opacity: 0; visibility: hidden; transition: opacity .2s;
}
.cart-overlay.is-open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(400px, 92vw);
  background: var(--white); z-index: 1501; box-shadow: -4px 0 16px rgba(0,0,0,.18);
  display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform .25s ease;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: var(--blue-dark); color: var(--white);
}
.cart-head h3 { margin: 0; font-size: 17px; }
.cart-title-count { font-weight: 400; font-size: 14px; opacity: .85; }
.cart-close {
  background: none; border: 0; color: var(--white); font-size: 26px; line-height: 1;
  cursor: pointer; padding: 0 4px;
}
.cart-items { flex: 1; overflow: auto; padding: 8px 16px; }
.cart-empty { text-align: center; padding: 40px 20px; color: var(--gray); }
.cart-empty p { margin: 0 0 16px; }
.cart-row {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 0;
  border-bottom: 1px solid var(--gray-1);
}
.cart-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius); flex: 0 0 auto; }
.cart-info { flex: 1; min-width: 0; }
.cart-name { font-size: 13.5px; font-weight: 500; margin: 0 0 2px; line-height: 1.3; }
.cart-price { font-size: 13px; color: var(--text); margin: 0 0 8px; }
.cart-price span { color: var(--gray); font-size: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--gray-line); border-radius: var(--radius); }
.qty-btn {
  width: 30px; height: 30px; background: none; border: 0; cursor: pointer;
  font-size: 16px; color: var(--blue-dark);
}
.qty-btn:hover { background: var(--blue-light); }
.qty-num { min-width: 34px; text-align: center; font-size: 14px; font-weight: 500; }
.cart-remove {
  background: none; border: 0; color: var(--gray); font-size: 22px; cursor: pointer;
  padding: 0 2px; line-height: 1;
}
.cart-remove:hover { color: var(--orange); }
.cart-foot { padding: 16px 20px; border-top: 1px solid var(--gray-line); background: var(--gray-2); }
.cart-sub-row { display: flex; justify-content: space-between; align-items: center; font-size: 16px; margin-bottom: 6px; }
.cart-subtotal { font-size: 20px; color: var(--blue-dark); }
.cart-note { font-size: 12px; color: var(--gray); margin: 0 0 12px; }
.cart-checkout { width: 100%; }
.cart-clear {
  display: block; width: 100%; margin-top: 10px; background: none; border: 0;
  color: var(--gray); cursor: pointer; font-size: 13px; text-decoration: underline; font-family: var(--font);
}
.cart-clear:hover { color: var(--orange); }

