/* ==========================================================================
   Khaliq Traders LLC — stylesheet
   Outdoor Recreation & Travel retail. Rugged, warm, premium-outdoor feel.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Work+Sans:wght@400;500;600;700&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* Light theme (fallback / [data-theme="light"]) */
  --bg: #f6f1ea;
  --panel: #ffffff;
  --panel-alt: #efe6d6;
  --text: #241f1a;
  --text-muted: #6b6055;
  --border: #e3d8c4;
  --accent: #c9642f;
  --accent-hover: #ad5325;
  --accent-text: #fffaf4;
  --shadow: 0 10px 30px rgba(36, 26, 14, 0.10);
  --overlay: rgba(20, 16, 10, 0.55);

  --font-head: "Fraunces", "Georgia", serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
}

:root[data-theme="dark"] {
  --bg: #141d19;
  --panel: #1c2820;
  --panel-alt: #223229;
  --text: #f2ede2;
  --text-muted: #a9b6ac;
  --border: #2b3a30;
  --accent: #d17038;
  --accent-hover: #e88a4d;
  --accent-text: #16110b;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --overlay: rgba(8, 10, 8, 0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141d19;
    --panel: #1c2820;
    --panel-alt: #223229;
    --text: #f2ede2;
    --text-muted: #a9b6ac;
    --border: #2b3a30;
    --accent: #d17038;
    --accent-hover: #e88a4d;
    --accent-text: #16110b;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --overlay: rgba(8, 10, 8, 0.7);
  }
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--text-muted); }
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: 64px 0; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.section-head p { font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 10px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-weight: 600;
  font-size: .98rem;
  min-height: 48px;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; min-height: 38px; font-size: .88rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--text);
  white-space: nowrap;
}
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.brand .brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.header-search {
  flex: 1;
  position: relative;
  max-width: 420px;
  margin-left: auto;
}
.header-search input {
  width: 100%;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  padding: 0 16px 0 40px;
  font-size: .92rem;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  max-height: 360px;
  overflow-y: auto;
  z-index: 600;
}
.search-results:not(.is-open) { display: none; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item img { width: 42px; height: 42px; object-fit: cover; border-radius: var(--radius-sm); }
.search-result-item .name { font-weight: 600; font-size: .9rem; }
.search-result-item .price { color: var(--accent); font-size: .85rem; }
.search-empty { padding: 16px; color: var(--text-muted); font-size: .9rem; text-align: center; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .theme-icon-light { display: none; }
:root[data-theme="dark"] .icon-btn .theme-icon-dark { display: none; }
:root[data-theme="dark"] .icon-btn .theme-icon-light { display: block; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: .68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Primary nav (desktop inline, mobile slide-in) */
.primary-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(320px, 86vw);
  background: var(--panel);
  transform: translateX(-100%);
  transition: transform .28s ease;
  z-index: 900;
  padding: 24px 22px;
  overflow-y: auto;
  border-right: 1px solid var(--border);
}
.primary-nav.is-open { transform: translateX(0); }
.nav-close {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--panel-alt);
  margin-bottom: 20px;
}
.nav-links { display: flex; flex-direction: column; gap: 4px; }
.nav-links a {
  padding: 13px 10px;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
}
.nav-links a:hover, .nav-links a.is-active { background: var(--panel-alt); color: var(--accent); }
.nav-scrim {
  position: fixed; inset: 0; background: var(--overlay);
  z-index: 850; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

@media (min-width: 900px) {
  .primary-nav {
    position: static;
    width: auto;
    transform: none;
    background: transparent;
    border-right: none;
    padding: 0;
    overflow: visible;
    order: 2;
  }
  .nav-close { display: none; }
  .nav-links { flex-direction: row; gap: 6px; }
  .nav-links a { font-size: .95rem; padding: 8px 12px; }
  .hamburger { display: none; }
  .nav-scrim { display: none; }
  .header-search { order: 3; max-width: 260px; }
  .header-actions { order: 4; }
  .brand { order: 1; }
}

/* ==========================================================================
   Cart drawer
   ========================================================================== */
.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, 92vw);
  background: var(--panel);
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 950;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px; border-bottom: 1px solid var(--border);
}
.cart-header h2 { margin: 0; font-size: 1.3rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-item {
  display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border);
}
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info .name { font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.cart-item-info .price { color: var(--accent); font-weight: 600; font-size: .9rem; }
.qty-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-controls button {
  width: 26px; height: 26px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--panel-alt); color: var(--text);
  font-size: 1rem; line-height: 1;
}
.qty-controls .qty-val { min-width: 20px; text-align: center; font-weight: 600; }
.remove-item { color: var(--text-muted); font-size: .82rem; text-decoration: underline; margin-top: 6px; display: inline-block; }
.cart-empty { padding: 40px 20px; text-align: center; color: var(--text-muted); }
.cart-footer { padding: 20px; border-top: 1px solid var(--border); }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }
.cart-note { font-size: .8rem; color: var(--text-muted); margin-top: 10px; text-align: center; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: #fdf8f1;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,10,.35) 0%, rgba(10,12,10,.55) 55%, rgba(10,12,10,.88) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 60px 0 72px; max-width: 700px; }
.hero-content h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); color: #fff; }
.hero-content p { color: #ece3d6; font-size: 1.12rem; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.hero-ctas .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.hero-ctas .btn-outline:hover { border-color: #fff; }

/* ==========================================================================
   Value tiles
   ========================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.value-tile {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}
.value-tile .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--panel-alt);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 16px;
}
.value-tile .icon svg { width: 24px; height: 24px; }
.value-tile h3 { font-size: 1.08rem; margin-bottom: 6px; }
.value-tile p { font-size: .92rem; margin: 0; }

/* ==========================================================================
   Category grid
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.category-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,8,0) 40%, rgba(8,10,7,.86) 100%);
}
.category-card .cat-label {
  position: relative; z-index: 2; padding: 18px; color: #fff; font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 600;
}

.category-grid-large { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.category-card-large {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.category-card-large .media { aspect-ratio: 16/10; overflow: hidden; }
.category-card-large .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.category-card-large:hover .media img { transform: scale(1.05); }
.category-card-large .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.category-card-large h3 { font-size: 1.3rem; margin: 0; }
.category-card-large p { flex: 1; font-size: .93rem; }

/* ==========================================================================
   Product grid & cards
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-media { aspect-ratio: 1/1; position: relative; overflow: hidden; background: var(--panel-alt); cursor: zoom-in; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 14px;
  background: var(--accent); color: var(--accent-text);
  font-weight: 700; font-size: .95rem;
}
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.product-body h3 { font-size: 1.02rem; margin: 0; }
.product-body .desc { font-size: .86rem; margin: 0; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.product-price { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--text); }

/* Filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.filter-chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  font-size: .86rem;
  font-weight: 600;
  color: var(--text-muted);
}
.filter-chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.subfilter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.subfilter-chip {
  padding: 6px 13px; border-radius: 999px; border: 1px dashed var(--border);
  background: transparent; font-size: .78rem; color: var(--text-muted); font-weight: 500;
}
.subfilter-chip.is-active { border-style: solid; border-color: var(--accent); color: var(--accent); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.result-count { font-size: .88rem; color: var(--text-muted); }
.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--panel);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.accordion-trigger .plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.accordion-trigger .plus::before, .accordion-trigger .plus::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px;
}
.accordion-trigger .plus::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.accordion-trigger .plus::after { width: 2px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); transition: transform .2s ease; }
.accordion-item.is-open .plus::after { transform: translateX(-50%) rotate(90deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.accordion-panel .inner { padding: 0 20px 20px; }
.accordion-panel .inner p { margin: 0; font-size: .94rem; }

/* ==========================================================================
   Forms (contact)
   ========================================================================== */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-size: .86rem; font-weight: 600; }
.form-row input, .form-row textarea {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .95rem;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:invalid:not(:placeholder-shown) { border-color: #c0392b; }
.form-two-col { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-two-col { grid-template-columns: 1fr 1fr; } }
.form-status { font-size: .88rem; margin-top: 10px; }

.contact-info-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); margin-bottom: 40px; }
.info-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; }
.info-card .icon { color: var(--accent); margin-bottom: 12px; }
.info-card .icon svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.info-card a, .info-card p { font-size: .92rem; }

.map-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--panel-alt);
  padding: 50px 24px;
  text-align: center;
  color: var(--text-muted);
}
.map-box svg { width: 40px; height: 40px; color: var(--accent); margin-bottom: 14px; }
.map-box .addr { font-weight: 600; color: var(--text); font-size: 1.05rem; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--overlay);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-inner { max-width: 720px; width: 100%; }
.lightbox-inner img { width: 100%; border-radius: var(--radius-md); max-height: 72vh; object-fit: contain; background: var(--panel); }
.lightbox-caption { color: #fdf8f1; text-align: center; margin-top: 14px; font-weight: 600; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--border); color: var(--text);
  font-size: 1.2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 56px 0 26px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 30px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.footer-brand svg { width: 28px; height: 28px; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { font-size: .9rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--accent); }
.footer-col p { font-size: .9rem; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .82rem; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); text-decoration: underline; }

/* ==========================================================================
   Misc pages (about / policy / faq intro)
   ========================================================================== */
.page-hero {
  padding: 56px 0 20px;
  text-align: center;
}
.page-hero .eyebrow { display: block; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

.about-grid { display: grid; gap: 40px; grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; margin-top: 34px; }
.value-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--accent); }
.value-card p { font-size: .92rem; margin: 0; }

.policy-content h2 { font-size: 1.3rem; margin-top: 34px; }
.policy-content p, .policy-content li { color: var(--text-muted); font-size: .96rem; }
.policy-content ul { padding-left: 20px; list-style: disc; margin-bottom: 1em; }
.policy-content { max-width: 780px; margin: 0 auto; }
.updated-note { color: var(--text-muted); font-size: .85rem; margin-bottom: 30px; text-align: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
#mobileSearchToggle { display: none; }

@media (max-width: 899px) {
  .header-inner { gap: 10px; }
  .header-search { max-width: none; }
}

@media (max-width: 480px) {
  .header-search { display: none; }
  #mobileSearchToggle { display: flex; }
  .header-search.is-mobile-visible {
    display: block; position: fixed; top: var(--header-h); left: 0; right: 0;
    padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--border); z-index: 480; max-width: none;
  }
  .hero { min-height: 88vh; }
  section { padding: 44px 0; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .product-body { padding: 12px; }
  .cart-drawer { width: 100%; }
}

/* Ensure comfortable tap targets everywhere on touch */
@media (pointer: coarse) {
  .btn, .icon-btn, .hamburger, .filter-chip, .subfilter-chip, .accordion-trigger, .qty-controls button {
    min-height: 44px;
  }
}
