/* ==========================================================================
   BUI Mill Parts — storefront stylesheet
   Palette: marketplace blue structure, saffron CTAs, white product surfaces
   and light grey backgrounds. The BUI logo artwork is unchanged.
   ========================================================================== */

:root {
  --navy: #102a43;
  --navy-2: #1c3d5a;
  --ink: #1f2937;
  --muted: #667085;
  --muted-2: #98a2b3;
  --line: #e4e7ec;
  --line-soft: #eef1f5;
  --cream: #f4f6f8;
  --cream-2: #e9edf2;
  --paper: #ffffff;
  --bg-1: #ffffff;
  --bg-2: #f8fafc;
  --bg-3: #eef2f6;
  --copper: #e8590c;
  --copper-2: #c94a06;
  --copper-soft: #fff1e6;
  --bui-red: #e53935;
  --bui-red-dark: #c62828;
  --bui-red-soft: #ffebee;
  --tap: 44px;
  --green: #15803d;
  --green-soft: #e5f4e9;
  --red: #b91c1c;
  --amber: #b45309;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(16, 42, 67, .06);
  --shadow: 0 18px 40px -22px rgba(16, 42, 67, .32);
  --shadow-lg: 0 40px 80px -40px rgba(16, 42, 67, .42);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --border: #e4e7ec;
  --accent: #e8590c;
  --container: 1240px;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg-1); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 52%, var(--bg-3) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
img { object-position: center; }
iframe, table, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; max-width: 100%; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; font-weight: 600; line-height: 1.18; letter-spacing: -.015em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
small { font-size: .82em; }
strong { font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
::selection { background: var(--copper); color: #fff; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; overflow: hidden; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 14.5px; line-height: 1.2; text-align: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--copper); color: #fff; box-shadow: 0 8px 18px -10px rgba(232, 89, 12, .8); }
.btn-primary:hover { background: var(--copper-2); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { border-color: #d0d5dd; background: transparent; color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); background: rgba(16, 42, 67, .04); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: rgba(16, 42, 67, .06); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cream); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 11px; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn.disabled, .btn[disabled] { opacity: .45; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--copper); font-weight: 600; font-size: 13px; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--navy); border-bottom: 1px solid transparent; transition: .18s; }
.link-arrow .icon { width: 17px; height: 17px; transition: transform .18s; }
.link-arrow:hover { color: var(--copper); }
.link-arrow:hover .icon { transform: translateX(3px); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; color: var(--navy); }
.icon-btn:hover { background: rgba(16, 42, 67, .07); }

/* ---------------------------------------------------------------- badges */
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; background: var(--navy); color: #fff; }
.badge-sale { background: var(--copper); }
.badge-second { left: auto; right: 12px; }
.badge-out { background: #5c6b74; }
.badge-custom { background: var(--navy); }
.status-pill, .pay-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.pay-pill { background: #eef1f3; color: #475467; }
.pay-paid { background: var(--green-soft); color: var(--green); }
.pay-pending { background: #fdf1d8; color: var(--amber); }
.pay-failed { background: #fde8e8; color: var(--red); }
.pay-cod { background: #e8eef7; color: #1d4ed8; }
.stars { display: inline-flex; gap: 2px; color: #e0a11b; vertical-align: middle; }
.stars svg { width: 15px; height: 15px; }
.rating-value { font-size: 13px; font-weight: 600; color: var(--ink); margin-left: 4px; }

/* ---------------------------------------------------------------- eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 4px rgba(232, 89, 12, .15); }
.eyebrow-light { color: #ffd8a8; }

/* ---------------------------------------------------------------- announce */
.announce { background: var(--navy); color: #e6edf5; font-size: 12.5px; }
.announce-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.announce-inner p { margin: 0; display: flex; align-items: center; gap: 8px; }
.announce-inner .icon { width: 15px; height: 15px; color: #ffd8a8; }
.announce-links { display: flex; gap: 18px; }
.announce-links a { color: #d7e0ea; }
.announce-links a:hover { color: #fff; }

.utility { background: var(--cream); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.utility-left, .utility-right { display: flex; align-items: center; gap: 18px; }
.utility a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.utility a:hover { color: var(--copper); }
.utility .icon { width: 14px; height: 14px; color: var(--copper); }
.u-note { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.utility-right a { color: var(--muted); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 253, 248, .96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 26px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 108px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 15px; color: var(--navy); letter-spacing: -.01em; }
.brand-text small { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
.header-search { position: relative; flex: 1; max-width: 560px; display: flex; align-items: center; background: #f2f4f7; border: 1px solid transparent; border-radius: 11px; padding: 0 6px 0 14px; transition: .18s; }
.header-search:focus-within { background: #fff; border-color: #d0d5dd; box-shadow: 0 0 0 3px rgba(232, 89, 12, .1); }
.header-search .search-ico { color: var(--muted); width: 18px; height: 18px; }
.header-search input { flex: 1; border: 0; background: transparent; padding: 11px 10px; font-size: 14px; outline: 0; min-width: 0; }
.search-submit { border: 0; background: var(--navy); color: #fff; padding: 8px 15px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.search-submit:hover { background: var(--navy-2); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.h-action { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 10px; border: 0; background: transparent; border-radius: 9px; font-size: 10.5px; color: var(--muted); position: relative; }
.h-action .icon { width: 21px; height: 21px; color: var(--navy); }
.h-action:hover { background: var(--cream); color: var(--navy); }
.h-cart .cart-count { position: absolute; top: 2px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--copper); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; }
.mobile-toggle { display: none; }

.main-nav { border-top: 1px solid var(--line-soft); }
.nav-inner { display: flex; align-items: center; gap: 4px; min-height: 48px; }
.nav-inner > a, .nav-item > a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 11px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav-inner > a:hover, .nav-item > a:hover, .nav-item:hover > a { background: var(--cream); color: var(--navy); }
.nav-all { font-weight: 700 !important; color: var(--navy) !important; }
.nav-all .icon { width: 17px; height: 17px; }
.nav-chev { width: 14px; height: 14px; color: var(--muted); }
.nav-quote { margin-left: auto; background: var(--navy) !important; color: #fff !important; font-weight: 600 !important; }
.nav-quote:hover { background: var(--navy-2) !important; }
.nav-quote .icon { width: 16px; height: 16px; }
.nav-item { position: relative; }
.mega { position: absolute; top: calc(100% + 2px); left: 0; width: min(720px, 90vw); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; z-index: 70; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.mega-title { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.mega-col a { display: flex; justify-content: space-between; padding: 7px 8px; border-radius: 7px; font-size: 13.5px; }
.mega-col a span { color: var(--muted-2); font-size: 12px; }
.mega-col a:hover { background: var(--cream); color: var(--copper); }
.mega-all { margin-top: 6px; font-weight: 600; color: var(--copper) !important; }
.mega-card { display: block; border-radius: 12px; overflow: hidden; background: var(--cream); }
.mega-card img { width: 100%; height: 170px; object-fit: cover; }
.mega-card-body { display: block; padding: 12px 14px; }
.mega-card-body strong { display: block; font-size: 14px; color: var(--navy); }
.mega-card-body small { color: var(--muted); font-size: 12px; }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0 auto 0 0; width: min(360px, 88vw); background: var(--paper); z-index: 120; transform: translateX(-102%); transition: transform .28s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu.open { transform: none; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.mobile-menu-head img { width: 90px; }
.mobile-search { display: flex; margin: 14px 18px; background: var(--cream); border-radius: 9px; padding-left: 12px; }
.mobile-search input { flex: 1; border: 0; background: transparent; padding: 11px 8px; outline: 0; }
.mobile-search button { border: 0; background: var(--navy); color: #fff; padding: 0 14px; border-radius: 0 9px 9px 0; }
.mobile-nav { padding: 6px 10px 20px; }
.mobile-nav > a, .mobile-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px; border-radius: 8px; font-weight: 500; color: var(--ink); cursor: pointer; list-style: none; }
.mobile-nav > a:hover, .mobile-nav summary:hover { background: var(--cream); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { color: var(--muted-2); font-size: 12px; }
.mobile-sub { padding: 0 0 6px 14px; display: flex; flex-direction: column; }
.mobile-sub a { padding: 8px 10px; font-size: 13.5px; color: var(--muted); border-left: 2px solid var(--line); }
.mobile-sub a:hover { color: var(--copper); border-color: var(--copper); }
.mobile-menu-foot { margin-top: auto; padding: 18px; border-top: 1px solid var(--line); }
.mobile-menu-foot p { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.overlay { position: fixed; inset: 0; background: rgba(16, 42, 67, .45); opacity: 0; visibility: hidden; transition: .25s; z-index: 100; }
.overlay.show { opacity: 1; visibility: visible; }

/* search modal */
.search-modal { position: fixed; inset: 0; z-index: 140; background: rgba(16, 42, 67, .55); backdrop-filter: blur(4px); display: grid; place-items: start center; padding: 12vh 18px 18px; opacity: 0; visibility: hidden; transition: .22s; }
.search-modal.open { opacity: 1; visibility: visible; }
.search-modal-box { width: min(680px, 100%); background: var(--paper); border-radius: 18px; padding: 26px; position: relative; box-shadow: var(--shadow-lg); }
.search-modal-close { position: absolute; top: 12px; right: 12px; }
.search-modal-box h2 { font-size: 1.6rem; margin-bottom: 14px; }
.search-modal-form { display: flex; gap: 8px; }
.search-modal-form input { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 12px 14px; outline: 0; }
.search-modal-form input:focus { border-color: var(--copper); }
.search-popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.search-popular a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
.search-popular a:hover { border-color: var(--copper); color: var(--copper); }
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; z-index: 80; display: none; }
.header-suggest { top: calc(100% + 8px); left: -1px; right: -1px; }
.search-suggest.show { display: block; }
.suggest-item { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-bottom: 1px solid var(--line-soft); }
.suggest-item:last-child { border: 0; }
.suggest-item:hover { background: var(--cream); }
.suggest-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 7px; background: var(--cream); }
.suggest-item div { flex: 1; min-width: 0; }
.suggest-item strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-item small { color: var(--muted); font-size: 11px; }
.suggest-item span { font-size: 12.5px; font-weight: 600; color: var(--copper); }
.suggest-empty { padding: 14px; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 100% at 80% 0%, #ffffff 0%, var(--cream) 46%, #eef2f6 100%); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(232,89,12,.10), transparent 68%); top: -160px; right: 8%; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: center; padding: 66px 24px 62px; position: relative; }
.hero-copy { max-width: 600px; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.05; letter-spacing: -.025em; margin: 16px 0 18px; }
.hero h1 em { font-style: italic; color: var(--copper); }
.hero-lede { font-size: 16.5px; line-height: 1.7; color: #475467; max-width: 540px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 34px; }
.hero-proof { display: grid; grid-template-columns: repeat(4, auto); gap: 30px; padding-top: 22px; border-top: 1px solid #e4e7ec; }
.hero-proof strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--navy); line-height: 1; }
.hero-proof strong span { font-size: .9rem; color: var(--copper); margin-left: 1px; }
.hero-proof small { display: block; margin-top: 5px; font-size: 11.5px; color: var(--muted); }
.hero-visual { position: relative; }
.hero-frame { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid #e4e7ec; background: #f4f6f8; }
.hero-frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: rgba(255,253,248,.94); backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm); }
.hero-chip .icon { width: 16px; height: 16px; color: var(--copper); }
.hero-chip-top { top: 18px; left: 18px; }
.hero-chip-bottom { bottom: 18px; right: 18px; }
.hero-note { position: absolute; left: -26px; bottom: 34px; display: flex; gap: 11px; align-items: center; background: var(--navy); color: #fff; padding: 13px 17px; border-radius: 13px; box-shadow: var(--shadow); max-width: 290px; }
.hero-note-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); color: #ffd8a8; flex: 0 0 auto; }
.hero-note strong { display: block; font-size: 12.5px; }
.hero-note small { display: block; font-size: 11px; color: #cbd5e1; line-height: 1.4; }

/* trust strip */
.trust-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 22px 22px 22px 0; }
.trust-item + .trust-item { border-left: 1px solid var(--line-soft); padding-left: 22px; }
.trust-item .icon { width: 25px; height: 25px; color: var(--copper); margin-top: 2px; }
.trust-item strong { display: block; font-size: 13px; color: var(--navy); }
.trust-item small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* ---------------------------------------------------------------- sections */
.section { padding: 72px 0; }
.section-tint { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 34px; }
.section-head h2 { margin: 7px 0 6px; font-family: var(--serif); font-weight: 700; }
.section-head p { margin: 0; color: var(--muted); max-width: 560px; font-size: 14.5px; }
.section-head .link-arrow { margin-bottom: 6px; flex: 0 0 auto; }

/* category grid */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-tile { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--cream); border: 1px solid var(--line); min-height: 250px; transition: transform .2s, box-shadow .2s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,42,67,0) 32%, rgba(16,42,67,.78) 100%); }
.cat-tile-body { position: relative; z-index: 2; margin-top: auto; padding: 20px; color: #fff; }
.cat-parent { display: block; font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: #ffd8a8; margin-bottom: 3px; }
.cat-tile h3 { color: #fff; font-size: 1.12rem; margin: 0 0 3px; }
.cat-tile small { color: #d7e0ea; font-size: 12px; }
.cat-tile-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: .2s; }
.cat-tile:hover .cat-tile-link { opacity: 1; transform: none; }
.cat-tile-link .icon { width: 15px; height: 15px; }
.cat-tile-wide { grid-column: span 2; }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.product-grid-4 { grid-template-columns: repeat(4, 1fr); }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.p-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d0d5dd; }
.p-media { position: relative; display: block; background: var(--cream); aspect-ratio: 1 / 1; overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.p-card:hover .p-media img { transform: scale(1.035); }
.p-body { display: flex; flex-direction: column; flex: 1; padding: 14px 15px 16px; }
.p-cat { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); font-weight: 700; }
.p-body h3 { font-size: 14.5px; line-height: 1.35; margin: 4px 0 5px; min-height: 2.7em; }
.p-body h3 a:hover { color: var(--copper); }
.p-meta { font-size: 12px; color: var(--muted); margin: 0 0 10px; min-height: 1.5em; }
.p-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.p-price { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.p-price-quote { font-size: 13px; color: var(--copper); }
.p-price-row s { font-size: 12px; color: var(--muted-2); }
.p-tax { font-size: 10.5px; color: var(--muted-2); }
.p-actions { margin-top: 12px; }
.p-actions form { margin: 0; }

/* split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 58px; align-items: center; }
.split-media { position: relative; }
.split-media > img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow); }
.split-stat { position: absolute; right: -18px; bottom: -18px; background: var(--navy); color: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); }
.split-stat strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.split-stat span { display: block; font-size: 10.5px; color: #cbd5e1; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.split-copy h2 { font-family: var(--serif); font-weight: 700; margin: 10px 0 14px; }
.split-copy > p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.check-list { margin: 22px 0 26px; display: flex; flex-direction: column; gap: 15px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list .icon { width: 21px; height: 21px; padding: 3px; border-radius: 50%; background: var(--green-soft); color: var(--green); flex: 0 0 auto; margin-top: 1px; }
.check-list strong { display: block; font-size: 14px; color: var(--navy); }
.check-list span { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; }
.check-list-sm { gap: 12px; margin: 20px 0; }

/* reviews */
.rating-summary { text-align: right; }
.rating-summary small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 3px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { margin: 0; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.review-stars { margin-bottom: 10px; }
.review-card blockquote { margin: 0 0 18px; font-size: 14px; line-height: 1.65; color: #344054; }
.review-card figcaption { display: flex; align-items: center; gap: 10px; }
.review-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; flex: 0 0 auto; }
.review-card figcaption strong { display: block; font-size: 13px; }
.review-card figcaption small { color: var(--muted); font-size: 11.5px; }
.review-card figcaption a:hover { color: var(--copper); }

/* faq */
.faq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 58px; align-items: start; }
.faq-intro h2 { font-family: var(--serif); font-weight: 700; margin: 10px 0 12px; }
.faq-intro p { color: var(--muted); }
.faq-intro .btn { margin-top: 8px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 600; font-size: 14.5px; cursor: pointer; list-style: none; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); color: var(--copper); flex: 0 0 auto; transition: transform .2s; }
.faq-plus .icon { width: 15px; height: 15px; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-a { padding: 0 18px 17px; }
.faq-a p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.faq-list-tight .faq-item summary { font-size: 14px; padding: 14px 16px; }
.faq-list-tight .faq-a { padding: 0 16px 15px; }

/* posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { padding: 17px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.post-date { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--copper); font-weight: 700; }
.post-body h3 { font-size: 16px; line-height: 1.35; margin: 7px 0 7px; }
.post-body p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.post-body .link-arrow { margin-top: auto; font-size: 12.5px; }

/* cta */
.cta-band { background: var(--navy); color: #fff; padding: 58px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); right: -80px; top: -160px; box-shadow: 0 0 0 60px rgba(255,255,255,.04); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 2; }
.cta-inner h2 { color: #fff; font-family: var(--serif); font-weight: 700; margin: 8px 0 8px; }
.cta-inner p { color: #cbd5e1; margin: 0; max-width: 620px; font-size: 14.5px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }

/* ---------------------------------------------------------------- footer */
.newsletter-band { background: var(--cream-2); border-top: 1px solid var(--line); padding: 46px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.newsletter-copy h2 { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; margin: 7px 0 6px; }
.newsletter-copy p { margin: 0; color: var(--muted); font-size: 13.5px; max-width: 460px; }
.newsletter-form { flex: 0 0 420px; max-width: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter-form input { flex: 1; min-width: 200px; border: 1px solid #d0d5dd; background: var(--paper); border-radius: 9px; padding: 12px 14px; outline: 0; }
.newsletter-form input:focus { border-color: var(--copper); }
.newsletter-form small { flex-basis: 100%; font-size: 11px; color: var(--muted); }
.newsletter-form small a { text-decoration: underline; }
.newsletter-form .human-check { flex: 1 1 100%; margin: 0; }
.site-footer { background: var(--navy); color: #cbd5e1; padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 42px; }
.footer-brand .brand-badge img { width: 104px; }
.footer-brand p { margin: 16px 0 18px; font-size: 13px; line-height: 1.7; color: #c3ced9; max-width: 330px; }
.footer-contact { display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; }
.footer-contact a, .footer-contact span { display: flex; gap: 8px; align-items: flex-start; color: #d7e0ea; }
.footer-contact .icon { width: 15px; height: 15px; color: #ffd8a8; margin-top: 2px; flex: 0 0 auto; }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); font-size: 10.5px; font-weight: 700; color: #d7e0ea; }
.socials a:hover { background: rgba(255,255,255,.1); color: #fff; }
.footer-col h3 { color: #fff; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 15px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: #c3ced9; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11.5px; color: #a9b6c2; }
.footer-bottom p { margin: 0; }
.pay-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-badges span { padding: 3px 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; font-size: 9.5px; letter-spacing: .04em; }
.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; flex-direction: column; gap: 9px; }
.fab { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; box-shadow: var(--shadow); }
.fab .icon { width: 22px; height: 22px; }
.fab-wa { background: #25d366; color: #fff; }
.fab-top { background: var(--paper); color: var(--navy); border: 1px solid var(--line); transform: rotate(180deg); opacity: 0; pointer-events: none; transition: .2s; }
.fab-top.show { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------------- cart drawer */
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 94vw); background: var(--paper); z-index: 130; transform: translateX(102%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.cart-drawer.open { transform: none; }
.cart-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
.cart-drawer-head h2 { margin: 3px 0 0; font-family: var(--serif); font-weight: 700; }
.ship-progress { padding: 14px 22px; border-bottom: 1px solid var(--line-soft); }
.ship-progress p { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ship-progress p strong { color: var(--navy); }
.ship-progress .icon { width: 15px; height: 15px; color: var(--green); }
.ship-progress .bar { height: 6px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.ship-progress .bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--copper), #fb923c); transition: width .3s; }
.cart-drawer-items { flex: 1; overflow-y: auto; padding: 6px 22px; }
.drawer-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.drawer-thumb img { width: 74px; height: 74px; object-fit: cover; border-radius: 9px; background: var(--cream); }
.drawer-item-body { flex: 1; min-width: 0; }
.drawer-item-body > a { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 2px; }
.drawer-item-body > a:hover { color: var(--copper); }
.drawer-item-body small { color: var(--muted); font-size: 11px; }
.drawer-item-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; font-size: 12.5px; }
.drawer-item-foot form { margin: 0; }
.drawer-item-foot button { border: 0; background: none; color: var(--muted); padding: 3px; }
.drawer-item-foot button:hover { color: var(--red); }
.drawer-item-foot .icon { width: 16px; height: 16px; }
.cart-drawer-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); background: var(--cream); }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.drawer-total strong { font-size: 20px; color: var(--navy); }
.drawer-note { font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.cart-drawer-foot .btn { margin-bottom: 7px; }
.cart-empty { padding: 50px 26px; text-align: center; }
.cart-empty-ico { width: 46px; height: 46px; color: var(--muted-2); margin: 0 auto 12px; }
.cart-empty h3 { margin-bottom: 6px; }
.cart-empty p { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.cart-empty .btn { margin: 4px; }

/* toast */
.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 9px; font-size: 13px; box-shadow: var(--shadow); animation: toastIn .25s ease; display: flex; align-items: center; gap: 8px; max-width: 90vw; }
.toast.error { background: var(--red); }
.toast.success { background: var(--green); }
.toast .icon { width: 17px; height: 17px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* flash */
.flash-stack { padding-top: 14px; }
.flash { display: flex; align-items: flex-start; gap: 9px; padding: 11px 15px; border-radius: 9px; font-size: 13.5px; margin-bottom: 8px; border: 1px solid; }
.flash-success { background: var(--green-soft); border-color: #b7e0c2; color: #146c34; }
.flash-error { background: #fdecec; border-color: #f3c2c2; color: #9b1c1c; }
.flash-info { background: #eaf1f7; border-color: #c8dbea; color: #1d4ed8; }
.flash .icon { width: 17px; height: 17px; margin-top: 1px; }

/* ---------------------------------------------------------------- page hero */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding: 30px 0 42px; }
.page-hero-sm { padding: 22px 0 30px; }
.page-hero h1 { font-family: var(--serif); font-weight: 700; margin: 12px 0 8px; }
.page-hero p { color: var(--muted); margin: 0; max-width: 680px; }
.page-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.page-hero-actions { flex: 0 0 auto; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 11.5px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--copper); }
.crumbs strong { color: var(--ink); font-weight: 500; }
.crumbs span { color: #98a2b3; }

/* ---------------------------------------------------------------- shop */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; padding-top: 30px; padding-bottom: 60px; align-items: start; }
.shop-filters { position: sticky; top: calc(var(--header-h) + 18px); }
.filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.filter-head h2 { display: flex; align-items: center; gap: 7px; font-size: 14px; letter-spacing: .02em; margin: 0; }
.filter-head .icon { width: 17px; height: 17px; color: var(--copper); }
.filter-close { display: none; }
.filter-block { padding: 16px 0; border-top: 1px solid var(--line); }
.filter-block h3 { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.filter-cats { display: flex; flex-direction: column; gap: 2px; }
.filter-cat { display: flex; align-items: center; justify-content: space-between; padding: 7px 9px; border-radius: 7px; font-size: 13px; color: var(--ink); }
.filter-cat span { font-size: 11px; color: var(--muted-2); }
.filter-cat:hover { background: var(--cream); }
.filter-cat.active { background: var(--navy); color: #fff; font-weight: 600; }
.filter-cat.active span { color: #cbd5e1; }
.filter-cat-group { margin-bottom: 2px; }
.filter-sub { display: flex; flex-direction: column; padding-left: 9px; margin: 2px 0 4px; border-left: 1px solid var(--line); }
.filter-sub a { display: flex; justify-content: space-between; padding: 5px 8px; font-size: 12.5px; color: var(--muted); border-radius: 6px; }
.filter-sub a:hover { color: var(--copper); background: var(--cream); }
.filter-sub a.active { color: var(--copper); font-weight: 600; }
.filter-sub a span { font-size: 10.5px; }
.price-inputs { display: flex; align-items: flex-end; gap: 6px; }
.price-inputs label { flex: 1; }
.price-inputs label span { display: block; font-size: 10.5px; color: var(--muted); margin-bottom: 3px; }
.price-inputs input { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 8px 9px; background: #fff; outline: 0; font-size: 13px; }
.price-inputs input:focus { border-color: var(--copper); }
.price-inputs .dash { color: var(--muted-2); padding-bottom: 9px; }
.price-presets { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.price-presets a { font-size: 11px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.price-presets a:hover { border-color: var(--copper); color: var(--copper); }
.switch-row { display: flex; align-items: center; gap: 9px; font-size: 13px; cursor: pointer; }
.switch-row input { position: absolute; opacity: 0; }
.switch { width: 36px; height: 20px; border-radius: 999px; background: #d0d5dd; position: relative; transition: .2s; flex: 0 0 auto; }
.switch::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch-row input:checked + .switch { background: var(--copper); }
.switch-row input:checked + .switch::after { transform: translateX(16px); }
.input, .field input, .field select, .field textarea, .shop-filters select {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; outline: 0; font-size: 13.5px; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(232,89,12,.1); }
.filter-actions { display: flex; flex-direction: column; gap: 7px; padding-top: 16px; border-top: 1px solid var(--line); }
.filter-help { margin-top: 20px; padding: 15px; border-radius: 11px; background: var(--cream); border: 1px solid var(--line); }
.filter-help .icon { width: 20px; height: 20px; color: var(--copper); margin-bottom: 6px; }
.filter-help p { font-size: 12px; color: var(--muted); margin: 0 0 6px; line-height: 1.5; }
.filter-help strong { color: var(--navy); }
.filter-help a { font-size: 12px; font-weight: 600; color: var(--copper); }
.shop-main { min-width: 0; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 15px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.shop-toolbar p { margin: 0; font-size: 12.5px; color: var(--muted); }
.toolbar-sort { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.toolbar-sort select { border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; background: #fff; outline: 0; font-size: 12.5px; }
.filter-toggle { display: none; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 34px; }
.page-btn { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); font-size: 13px; background: var(--paper); }
.page-btn:hover { border-color: var(--copper); color: var(--copper); }
.page-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.page-btn.disabled { opacity: .35; pointer-events: none; }
.page-dots { color: var(--muted); padding: 0 3px; }
.empty-state { text-align: center; padding: 60px 24px; background: var(--cream); border: 1px dashed #d0d5dd; border-radius: var(--radius); }
.empty-ico { width: 46px; height: 46px; color: var(--muted-2); margin: 0 auto 14px; }
.empty-state h2, .empty-state h3 { margin-bottom: 7px; }
.empty-state p { color: var(--muted); font-size: 14px; max-width: 460px; margin: 0 auto 18px; }
.empty-state .btn { margin: 3px; }
.empty-state-sm { padding: 34px 20px; }
.empty-state-lg { padding: 80px 24px; margin: 30px 0 60px; }
.empty-actions { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; }
.shop-seo { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.shop-seo h2 { font-size: 1.35rem; margin-bottom: 10px; }
.shop-seo p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.shop-seo a { color: var(--copper); }

/* category */
.cat-hero { padding-bottom: 34px; }
.cat-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; margin-top: 6px; }
.cat-hero h1 { margin: 8px 0 10px; }
.cat-hero p { font-size: 15px; line-height: 1.7; }
.cat-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.cat-hero-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.cat-hero-meta .icon { width: 16px; height: 16px; color: var(--copper); }
.cat-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.subcat-strip { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 22px; }
.subcat-chip { display: flex; flex-direction: column; gap: 2px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); min-width: 160px; }
.subcat-chip span { font-size: 13px; font-weight: 600; color: var(--navy); }
.subcat-chip small { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
.subcat-chip .icon { width: 13px; height: 13px; }
.subcat-chip:hover { border-color: var(--copper); }
.subcat-chip:hover span { color: var(--copper); }

/* ---------------------------------------------------------------- product */
.product-crumbs { padding: 20px 0 0; }
.product-main { padding: 18px 0 46px; }
.product-grid-main { display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery-stage { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.gallery-stage img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-badge { top: 14px; left: auto; right: 14px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery-thumb { width: 76px; height: 76px; border: 2px solid transparent; border-radius: 9px; overflow: hidden; padding: 0; background: var(--cream); }
.gallery-thumb.active { border-color: var(--copper); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-trust { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.gallery-trust span { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
.gallery-trust .icon { width: 14px; height: 14px; color: var(--copper); }
.product-info h1 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.22; margin: 5px 0 9px; }
.product-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.product-rating a { color: var(--copper); }
.rating-new { display: inline-flex; align-items: center; gap: 5px; }
.rating-new .icon { width: 14px; height: 14px; color: #e0a11b; }
.product-sku { margin-left: auto; font-size: 11px; color: var(--muted-2); }
.product-short { font-size: 14.5px; color: #475467; line-height: 1.7; margin-bottom: 18px; }
.product-buybox { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--paper); box-shadow: var(--shadow-sm); }
.buybox-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.buybox-price strong { font-size: 27px; color: var(--navy); letter-spacing: -.02em; }
.buybox-price .price-quote { font-size: 20px; color: var(--copper); }
.buybox-price s { color: var(--muted-2); font-size: 14px; }
.buybox-price .save { font-size: 11.5px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 3px 8px; border-radius: 999px; }
.buybox-price small { flex-basis: 100%; font-size: 11.5px; color: var(--muted); }
.buybox-stock { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 11px 0; font-size: 12.5px; }
.buybox-stock strong { color: var(--ink); }
.buybox-stock small { color: var(--muted); }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(21,128,61,.12); }
.stock-low .stock-dot { background: var(--amber); box-shadow: 0 0 0 3px rgba(180,83,9,.12); }
.stock-out .stock-dot { background: var(--red); box-shadow: 0 0 0 3px rgba(185,28,28,.1); }
.stock-quote .stock-dot { background: var(--copper); box-shadow: 0 0 0 3px rgba(232,89,12,.12); }
.buybox-form { display: flex; gap: 9px; margin: 5px 0 9px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; overflow: hidden; flex: 0 0 auto; }
.qty-control button { width: 38px; height: 44px; border: 0; background: transparent; color: var(--navy); display: grid; place-items: center; }
.qty-control button:hover { background: var(--cream); }
.qty-control .icon { width: 16px; height: 16px; }
.qty-control input { width: 46px; height: 44px; border: 0; text-align: center; background: transparent; outline: 0; font-weight: 600; -moz-appearance: textfield; }
.qty-control input::-webkit-outer-spin-button, .qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buybox-add { flex: 1; }
.buybox-buy { margin-bottom: 10px; }
.buybox-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.product-points { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.product-points > div { display: flex; gap: 10px; align-items: flex-start; }
.product-points .icon { width: 20px; height: 20px; color: var(--copper); margin-top: 1px; }
.product-points strong { display: block; font-size: 12.5px; }
.product-points small { display: block; font-size: 11.5px; color: var(--muted); }
.product-points small a { color: var(--copper); }

.product-detail { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0 48px; }
.product-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; }
.tab-btn { border: 0; background: transparent; padding: 11px 16px; font-size: 13.5px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-color: var(--copper); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .22s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } }
.prose { font-size: 14.5px; line-height: 1.78; color: #344054; max-width: 820px; }
.prose h2, .prose h3 { margin: 1.4em 0 .5em; color: var(--navy); }
.prose h3 { font-size: 1.15rem; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.2em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--copper); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--navy); }
.prose img { border-radius: 10px; margin: 1em 0; }
.prose blockquote { margin: 1.2em 0; padding: 14px 18px; background: var(--cream); border-left: 3px solid var(--copper); border-radius: 0 8px 8px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 1em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--cream); }
.spec-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; max-width: 900px; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.spec-row span { color: var(--muted); }
.spec-row strong { text-align: right; color: var(--navy); font-weight: 600; }

.reviews-layout { display: grid; grid-template-columns: 300px 1fr; gap: 46px; align-items: start; }
.reviews-summary h2 { font-family: var(--serif); font-weight: 700; margin: 8px 0 6px; }
.reviews-summary p { font-size: 13px; color: var(--muted); margin: 8px 0 16px; }
.reviews-list { display: flex; flex-direction: column; gap: 12px; }
.review-item { background: var(--paper); border: 1px solid var(--line); border-radius: 11px; padding: 17px 19px; }
.review-item-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-item-head > div { flex: 1; }
.review-item-head strong { display: block; font-size: 13px; }
.review-item-head small { color: var(--muted); font-size: 11px; }
.review-item p { margin: 0; font-size: 13.5px; line-height: 1.65; color: #344054; }
.reviews-empty { display: flex; gap: 12px; align-items: flex-start; padding: 20px; border: 1px dashed #d0d5dd; border-radius: 11px; color: var(--muted); }
.reviews-empty .icon { width: 22px; height: 22px; color: var(--copper); }
.reviews-empty p { margin: 0; font-size: 13px; }
.review-form { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); max-width: 780px; }
.review-form h3 { margin-bottom: 14px; }
.review-form .btn { margin-right: 6px; }

.enquire-box { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); }
.enquire-copy h2 { font-family: var(--serif); font-weight: 700; margin: 8px 0 12px; }
.enquire-copy > p { color: var(--muted); font-size: 14px; }
.enquire-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }

.sticky-buy { display: none; }

/* forms */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: 12px; font-weight: 600; color: var(--navy); }
.field small { font-size: 11px; color: var(--muted); }
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 11.5px; color: var(--muted); margin: 12px 0 0; display: flex; align-items: flex-start; gap: 6px; }
.form-note .icon { width: 15px; height: 15px; margin-top: 1px; flex: 0 0 auto; }
.form-note a { color: var(--copper); text-decoration: underline; }
.form-error { font-size: 12px; color: var(--red); margin: 6px 0 0; }

/* ---------------------------------------------------------------- cart page */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 34px; padding-top: 30px; padding-bottom: 60px; align-items: start; }
.ship-progress-lg { background: var(--cream); border: 1px solid var(--line); border-radius: 11px; padding: 15px 18px; margin-bottom: 20px; }
.cart-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 1fr 100px 120px 100px 42px; gap: 14px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--line-soft); }
.cart-row:last-child { border-bottom: 0; }
.cart-head { background: var(--cream); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-top: 11px; padding-bottom: 11px; }
.cart-product { display: flex; gap: 13px; align-items: center; min-width: 0; }
.cart-thumb img { width: 76px; height: 76px; object-fit: cover; border-radius: 9px; background: var(--cream); }
.cart-name { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.cart-name:hover { color: var(--copper); }
.cart-product small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.cart-stock { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--green); margin-top: 4px; }
.cart-stock .icon { width: 12px; height: 12px; }
.cart-price, .cart-line-total { font-size: 13.5px; }
.cart-line-total { font-weight: 700; color: var(--navy); }
.qty-sm button { width: 30px; height: 36px; }
.qty-sm input { width: 36px; height: 36px; font-size: 13px; }
.cart-remove button { border: 0; background: none; color: var(--muted); padding: 6px; }
.cart-remove button:hover { color: var(--red); }
.cart-remove .icon { width: 17px; height: 17px; }
.cart-form-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.cart-note { display: flex; gap: 10px; margin-top: 22px; padding: 15px 17px; background: #eef4f0; border: 1px solid #d5e5da; border-radius: 11px; }
.cart-note .icon { width: 20px; height: 20px; color: var(--green); flex: 0 0 auto; }
.cart-note p { margin: 0; font-size: 12.5px; color: #3d5c49; }
.cart-summary { position: sticky; top: calc(var(--header-h) + 18px); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cart-summary h2 { font-size: 1.1rem; margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 13px; color: var(--muted); }
.summary-row strong { color: var(--ink); font-weight: 600; }
.summary-discount, .summary-discount strong { color: var(--green); }
.summary-tax { font-size: 11.5px; color: var(--muted-2); padding-top: 8px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; margin-top: 8px; border-top: 1px solid #d0d5dd; }
.summary-total strong { font-size: 22px; color: var(--navy); }
.coupon-form { margin: 14px 0 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.coupon-form > label { font-size: 11.5px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 5px; }
.coupon-row { display: flex; gap: 6px; }
.coupon-row input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; outline: 0; font-size: 13px; background: #fff; text-transform: uppercase; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; margin-top: 7px; font-size: 12px; color: var(--green); }
.coupon-applied span { display: inline-flex; align-items: center; gap: 5px; }
.coupon-applied .icon { width: 14px; height: 14px; }
.summary-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.summary-badges span { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--muted); }
.summary-badges .icon { width: 13px; height: 13px; color: var(--copper); }
.summary-badges-col { flex-direction: column; gap: 7px; }
.summary-help { font-size: 11.5px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.summary-help a { color: var(--copper); }

/* ---------------------------------------------------------------- checkout */
.checkout-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.checkout-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.checkout-head .brand img { width: 96px; }
.checkout-steps { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted-2); }
.checkout-steps span { padding: 4px 9px; border-radius: 999px; }
.checkout-steps span.done { color: var(--green); }
.checkout-steps span.active { background: var(--navy); color: #fff; font-weight: 600; }
.checkout-help { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.checkout-help .icon { width: 16px; height: 16px; color: var(--copper); }
.checkout-layout { display: grid; grid-template-columns: 1fr 390px; gap: 40px; padding-top: 34px; padding-bottom: 70px; align-items: start; }
.checkout-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.block-head { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; }
.block-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; flex: 0 0 auto; }
.block-head h2 { font-size: 1.05rem; margin: 2px 0 2px; }
.block-head p { margin: 0; font-size: 12px; color: var(--muted); }
.pay-methods { display: flex; flex-direction: column; gap: 8px; }
.pay-option { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: .15s; background: #fff; }
.pay-option:hover { border-color: #d0d5dd; }
.pay-option:has(input:checked) { border-color: var(--copper); background: #fff7ed; box-shadow: 0 0 0 1px var(--copper); }
.pay-option input { position: absolute; opacity: 0; }
.pay-radio { width: 18px; height: 18px; border: 2px solid #d0d5dd; border-radius: 50%; flex: 0 0 auto; position: relative; }
.pay-option input:checked + .pay-radio { border-color: var(--copper); }
.pay-option input:checked + .pay-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--copper); }
.pay-body { flex: 1; }
.pay-body strong { display: block; font-size: 13.5px; }
.pay-body small { display: block; font-size: 11.5px; color: var(--muted); }
.pay-logos { display: flex; gap: 4px; }
.pay-logos span { font-size: 8.5px; font-weight: 700; padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.checkout-place { margin-top: 4px; }
.checkout-back { display: block; text-align: center; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.checkout-back:hover { color: var(--copper); }
.checkout-summary { position: sticky; top: 20px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.checkout-summary h2 { font-size: 1.05rem; margin-bottom: 14px; }
.checkout-items { display: flex; flex-direction: column; gap: 12px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.checkout-item { display: flex; gap: 10px; align-items: center; }
.checkout-thumb { position: relative; flex: 0 0 auto; }
.checkout-thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #fff; }
.checkout-thumb b { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 10px; display: grid; place-items: center; }
.checkout-item div { flex: 1; min-width: 0; }
.checkout-item strong { display: block; font-size: 12px; line-height: 1.4; }
.checkout-item small { color: var(--muted); font-size: 10.5px; }
.checkout-item > span:last-child { font-size: 12.5px; font-weight: 600; white-space: nowrap; }

/* ---------------------------------------------------------------- order */
.order-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding: 30px 0 36px; }
.order-flash { display: flex; align-items: center; gap: 8px; padding: 11px 15px; background: var(--green-soft); border: 1px solid #b7e0c2; color: #146c34; border-radius: 9px; font-size: 13px; margin-bottom: 20px; }
.order-flash .icon { width: 17px; height: 17px; }
.order-hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; }
.order-hero h1 { margin: 8px 0 8px; }
.order-hero p { color: var(--muted); max-width: 640px; margin: 0; }
.order-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; }
.order-hero-meta span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.order-hero-meta .icon { width: 15px; height: 15px; color: var(--copper); }
.order-status-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow-sm); }
.order-status-top { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.order-total-big { display: block; font-size: 27px; color: var(--navy); letter-spacing: -.02em; }
.order-status-card small { display: block; color: var(--muted); font-size: 11.5px; margin: 2px 0 12px; }
.order-layout { display: grid; grid-template-columns: 1fr 330px; gap: 30px; padding-top: 30px; padding-bottom: 60px; align-items: start; }
.order-main { display: flex; flex-direction: column; gap: 16px; }
.pay-banner { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px; }
.pay-banner h2 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.pay-banner p { color: #cbd5e1; font-size: 13px; margin: 0 0 14px; }
.pay-banner-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.pay-banner small { display: block; margin-top: 11px; font-size: 11px; color: #a9b6c2; }
.order-timeline-card, .order-items-card, .order-side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.order-timeline-card h2, .order-items-card h2, .order-side-card h2 { font-size: 1.05rem; margin-bottom: 16px; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-step { display: flex; gap: 13px; position: relative; padding-bottom: 20px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline-step:last-child::before { display: none; }
.timeline-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d0d5dd; background: var(--paper); flex: 0 0 auto; display: grid; place-items: center; z-index: 1; }
.timeline-dot .icon { width: 13px; height: 13px; color: #fff; }
.timeline-step.done .timeline-dot { background: var(--green); border-color: var(--green); }
.timeline-step.done::before { background: var(--green); }
.timeline-step.current .timeline-dot { border-color: var(--copper); background: var(--copper-soft); box-shadow: 0 0 0 4px rgba(232,89,12,.12); }
.timeline-step strong { display: block; font-size: 13px; color: var(--navy); }
.timeline-step small { display: block; font-size: 11px; color: var(--muted); }
.timeline-step p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
.timeline-step.todo strong { color: var(--muted-2); font-weight: 500; }
.tracking-box { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 13px 15px; background: var(--cream); border-radius: 10px; flex-wrap: wrap; }
.tracking-box > span { color: var(--copper); }
.tracking-box > div { flex: 1; }
.tracking-box strong { display: block; font-size: 12.5px; }
.tracking-box small { font-size: 11px; color: var(--muted); }
.order-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.order-item:last-of-type { border-bottom: 0; }
.order-thumb img { width: 62px; height: 62px; object-fit: cover; border-radius: 8px; background: var(--cream); }
.order-item > div { flex: 1; }
.order-item strong { display: block; font-size: 12.5px; line-height: 1.4; }
.order-item small { color: var(--muted); font-size: 11px; }
.order-item > span:last-child { font-size: 13px; font-weight: 600; }
.order-totals { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.order-side { display: flex; flex-direction: column; gap: 14px; }
.order-side-card address { font-style: normal; font-size: 13px; line-height: 1.7; color: #475467; display: flex; flex-direction: column; gap: 1px; }
.order-side-card address strong { color: var(--navy); }
.order-side-card address span { display: flex; align-items: center; gap: 5px; }
.order-side-card address .icon { width: 14px; height: 14px; color: var(--copper); }
.order-gstin { margin: 10px 0 0; font-size: 11.5px; color: var(--muted); }
.order-side-card .btn { margin-top: 7px; }
.order-side-note { display: flex; gap: 10px; background: var(--cream); }
.order-side-note .icon { width: 22px; height: 22px; color: var(--green); flex: 0 0 auto; }
.order-side-note p { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.6; }

/* ---------------------------------------------------------------- track */
.track-layout { display: grid; grid-template-columns: 1fr .85fr; gap: 44px; padding-top: 36px; padding-bottom: 50px; align-items: start; }
.track-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.track-card .field { margin-bottom: 14px; }
.track-side h2 { font-family: var(--serif); font-weight: 700; margin-bottom: 18px; }
.track-steps { display: flex; flex-direction: column; gap: 16px; }
.track-steps li { display: flex; gap: 12px; }
.track-steps li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--copper); flex: 0 0 auto; }
.track-steps strong { display: block; font-size: 13.5px; }
.track-steps p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.track-help { display: flex; gap: 10px; margin-top: 24px; padding: 15px; border-radius: 11px; background: var(--cream); }
.track-help .icon { width: 22px; height: 22px; color: #25d366; flex: 0 0 auto; }
.track-help strong { display: block; font-size: 13px; }
.track-help p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.track-help a { color: var(--copper); }
.track-result { margin-bottom: 50px; padding: 24px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.track-result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.track-result-head h2 { margin: 4px 0 2px; }
.track-result-head small { color: var(--muted); font-size: 12px; }
.track-result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.track-result-grid div { background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; }
.track-result-grid span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.track-result-grid strong { display: block; font-size: 14px; color: var(--navy); margin-top: 2px; }

/* ---------------------------------------------------------------- auth */
.auth-page { background: var(--cream); padding: 50px 0 64px; }
.auth-grid { display: grid; grid-template-columns: 1fr 460px; gap: 50px; align-items: center; }
.auth-art { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 42px; position: relative; overflow: hidden; }
.auth-art::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); right: -100px; bottom: -130px; box-shadow: 0 0 0 50px rgba(255,255,255,.04); }
.auth-art h1 { color: #fff; font-family: var(--serif); font-weight: 700; margin: 10px 0 14px; }
.auth-art > p { color: #cbd5e1; font-size: 14px; max-width: 420px; }
.auth-points { display: flex; flex-direction: column; gap: 11px; margin: 24px 0; position: relative; z-index: 1; }
.auth-points li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #dbe6ec; }
.auth-points .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(255,255,255,.12); color: #ffd8a8; }
.auth-quote { position: relative; z-index: 1; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12.5px; font-style: italic; color: #cbd5e1; line-height: 1.6; }
.auth-quote span { display: block; margin-top: 6px; font-style: normal; font-size: 11px; color: #a9b6c2; }
.auth-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.auth-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.auth-card > p { font-size: 13px; }
.auth-card .field { margin-bottom: 13px; }
.auth-switch { margin: 15px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.auth-switch a { color: var(--copper); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted-2); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------------------------------------------------------------- account */
.account-head { background: var(--cream); border-bottom: 1px solid var(--line); padding: 26px 0; }
.account-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.account-hello { display: flex; align-items: center; gap: 15px; }
.account-avatar { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 21px; font-weight: 700; flex: 0 0 auto; }
.account-hello h1 { margin: 3px 0 2px; font-size: 1.7rem; }
.account-hello p { margin: 0; font-size: 12px; color: var(--muted); }
.account-actions { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.account-actions form { margin: 0; }
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding-top: 28px; padding-bottom: 60px; align-items: start; }
.account-nav { display: flex; flex-direction: column; gap: 3px; position: sticky; top: calc(var(--header-h) + 18px); }
.account-nav a { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; color: var(--muted); }
.account-nav a .icon { width: 18px; height: 18px; }
.account-nav a:hover { background: var(--cream); color: var(--navy); }
.account-nav a.active { background: var(--navy); color: #fff; font-weight: 600; }
.account-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.account-stats div { background: var(--paper); border: 1px solid var(--line); border-radius: 11px; padding: 15px 17px; }
.account-stats span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.account-stats strong { display: block; font-size: 1.5rem; color: var(--navy); margin-top: 2px; }
.account-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.panel-head h2 { font-size: 1.05rem; margin: 0; }
.account-orders { display: flex; flex-direction: column; }
.account-order-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.account-order-row:last-child { border-bottom: 0; }
.account-order-row strong { display: block; font-size: 13px; }
.account-order-row small { color: var(--muted); font-size: 11px; }
.account-order-total { font-weight: 600; font-size: 13.5px; }
.account-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.account-detail { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; }
.account-detail span { color: var(--muted); }
.account-panel-accent { background: var(--cream); }
.account-panel-accent > .icon { width: 24px; height: 24px; color: var(--copper); margin-bottom: 8px; }
.account-panel-accent h2 { font-size: 1.05rem; }
.account-panel-accent p { font-size: 12.5px; color: var(--muted); }
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-list-card { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.order-list-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 15px; background: var(--cream); flex-wrap: wrap; }
.order-list-top strong { display: block; font-size: 13px; }
.order-list-top small { font-size: 11px; color: var(--muted); }
.order-list-status { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.order-list-items { display: flex; align-items: center; gap: 8px; padding: 13px 15px; }
.order-list-thumb img { width: 48px; height: 48px; object-fit: cover; border-radius: 7px; background: var(--cream); }
.order-list-desc { margin-left: 6px; }
.order-list-desc strong { display: block; font-size: 12.5px; }
.order-list-desc small { font-size: 11px; color: var(--muted); }
.order-list-actions { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 15px 14px; }

/* ---------------------------------------------------------------- page/blog */
.page-layout { display: grid; grid-template-columns: 1fr 320px; gap: 46px; padding-top: 38px; padding-bottom: 66px; align-items: start; }
.page-content { max-width: 760px; }
.page-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 18px); }
.page-side-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.page-side-card h2 { font-size: 1.05rem; margin-bottom: 7px; }
.page-side-card p { font-size: 12.5px; color: var(--muted); }
.page-side-card .btn { margin-top: 7px; }
.page-side-meta { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.page-side-meta span { display: flex; gap: 7px; align-items: flex-start; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.page-side-meta .icon { width: 15px; height: 15px; color: var(--copper); flex: 0 0 auto; margin-top: 1px; }
.page-side-links { display: flex; flex-direction: column; }
.page-side-links a { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: 12.5px; border-bottom: 1px solid var(--line-soft); }
.page-side-links li:last-child a { border-bottom: 0; }
.page-side-links .icon { width: 14px; height: 14px; color: var(--muted-2); }
.page-side-links a:hover { color: var(--copper); }

.featured-post { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; margin: 30px 0 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); transition: .2s; }
.featured-post:hover { box-shadow: var(--shadow); }
.featured-post-media { min-height: 330px; background: var(--cream); }
.featured-post-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-post-body { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.featured-post-body h2 { font-family: var(--serif); font-weight: 700; margin: 8px 0 10px; }
.featured-post-body p { color: var(--muted); font-size: 13.5px; }
.featured-post-body .link-arrow { margin-top: 6px; }
.blog-cta { display: flex; align-items: center; justify-content: space-between; gap: 34px; margin: 50px 0 60px; padding: 30px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.blog-cta h2 { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; margin: 5px 0 3px; }
.blog-cta p { margin: 0; font-size: 12.5px; color: var(--muted); }
.blog-cta .newsletter-form { flex: 0 0 400px; }
.post-page { padding: 26px 0 60px; }
.post-container { max-width: 820px; }
.post-header { padding: 18px 0 24px; }
.post-header h1 { font-family: var(--serif); font-weight: 700; margin: 10px 0 12px; }
.post-lede { font-size: 17px; line-height: 1.65; color: #475467; }
.post-hero-img { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; }
.post-hero-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-prose { max-width: none; font-size: 15.5px; }
.post-prose h2 { font-family: var(--serif); font-weight: 700; }
.post-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-share { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.post-share a, .post-share button { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: none; font-size: 11.5px; }
.post-share a:hover, .post-share button:hover { border-color: var(--copper); color: var(--copper); }
.post-help { display: flex; gap: 11px; margin-top: 22px; padding: 17px; background: var(--cream); border-radius: 11px; }
.post-help .icon { width: 22px; height: 22px; color: var(--copper); flex: 0 0 auto; }
.post-help strong { display: block; font-size: 13px; }
.post-help p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.post-help a { color: var(--copper); }

/* ---------------------------------------------------------------- contact */
.contact-hero { padding-bottom: 40px; }
.contact-quick { display: flex; gap: 10px; flex: 0 0 auto; }
.contact-quick a { display: flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.contact-quick .icon { width: 21px; height: 21px; color: var(--copper); }
.contact-quick small { display: block; font-size: 10.5px; color: var(--muted); }
.contact-quick strong { display: block; font-size: 13px; color: var(--navy); }
.contact-quick a:hover { border-color: var(--copper); }
.contact-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; padding-top: 34px; padding-bottom: 56px; align-items: start; }
.contact-form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-form-wrap h2 { margin-bottom: 3px; }
.contact-form-wrap > p { font-size: 13px; margin-bottom: 18px; }
.contact-side { display: flex; flex-direction: column; gap: 14px; }
.contact-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact-card h2 { font-size: 1.05rem; margin-bottom: 10px; }
.contact-card p { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 0 0 9px; line-height: 1.55; }
.contact-card p .icon { width: 16px; height: 16px; color: var(--copper); flex: 0 0 auto; margin-top: 1px; }
.contact-card p a { color: var(--ink); }
.contact-card .btn { margin-top: 8px; }
.contact-dept { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.contact-dept:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-dept strong { display: block; font-size: 12.5px; color: var(--navy); }
.contact-dept span { display: block; color: var(--muted); font-size: 11.5px; }
.contact-dept a { color: var(--copper); font-size: 11.5px; font-weight: 600; }
.contact-map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.contact-map iframe { width: 100%; height: 210px; border: 0; display: block; }
.contact-map small { display: block; padding: 10px 13px; font-size: 11px; color: var(--muted); }
.contact-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; }
.contact-faq h2 { font-family: var(--serif); font-weight: 700; margin: 8px 0 8px; }
.contact-faq > div > p { color: var(--muted); font-size: 13.5px; }
.contact-faq .link-arrow { margin-top: 6px; }

/* ---------------------------------------------------------------- 404 */
.notfound-hero { padding: 70px 0 90px; }
.notfound { max-width: 720px; text-align: center; }
.notfound-code { font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); line-height: .9; color: var(--copper); opacity: .18; display: block; }
.notfound h1 { margin: 10px 0 10px; }
.notfound p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }
.notfound-actions { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; }
.notfound-search { display: flex; gap: 7px; max-width: 520px; margin: 28px auto 0; }
.notfound-search input { flex: 1; border: 1px solid var(--line); border-radius: 9px; padding: 11px 14px; background: #fff; outline: 0; }
.notfound-search input:focus { border-color: var(--copper); }
.notfound-links { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-top: 20px; font-size: 12px; color: var(--muted); }
.notfound-links a { color: var(--copper); }

/* ---------------------------------------------------------------- utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1120px) {
  .hero-grid { gap: 34px; }
  .hero-note { left: -10px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-tile-wide { grid-column: span 2; }
  .product-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { display: none; }
  .shop-layout { grid-template-columns: 220px 1fr; gap: 26px; }
  .product-grid-main { gap: 36px; }
  .checkout-layout { grid-template-columns: 1fr 340px; gap: 26px; }
}

@media (max-width: 980px) {
  .utility { display: none; }
  .header-main { gap: 14px; }
  .brand-text { display: none; }
  .header-search { max-width: none; }
  .main-nav { display: none; }
  .mobile-toggle { display: inline-grid; }
  .h-action span:not(.cart-count) { display: none; }
  .h-action { padding: 7px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; }
  .hero-copy { max-width: none; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-note { left: 10px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split-media { max-width: 600px; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .newsletter-form { flex-basis: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { display: block; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { position: fixed; inset: 0 auto 0 0; width: min(330px, 90vw); background: var(--paper); z-index: 120; padding: 18px; overflow-y: auto; transform: translateX(-102%); transition: .28s; top: 0; }
  .shop-filters.open { transform: none; }
  .filter-close { display: inline-grid; }
  .filter-toggle { display: inline-flex; }
  .shop-toolbar p { display: none; }
  .product-grid-main { grid-template-columns: 1fr; gap: 26px; }
  .product-gallery { position: static; }
  .gallery-stage { max-width: 560px; }
  .product-info { max-width: 640px; }
  .reviews-layout { grid-template-columns: 1fr; gap: 24px; }
  .enquire-box { grid-template-columns: 1fr; gap: 28px; padding: 26px; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--paper); border-top: 1px solid var(--line); padding: 10px 16px; gap: 12px; align-items: center; box-shadow: 0 -8px 24px -16px rgba(16,42,67,.4); }
  .sticky-buy-info { flex: 1; min-width: 0; }
  .sticky-buy-info strong { display: block; font-size: 15px; color: var(--navy); }
  .sticky-buy-info small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy form { margin: 0; }
  .sticky-buy .btn { padding: 11px 18px; }
  .floating-actions { bottom: 78px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
  .checkout-steps { display: none; }
  .order-layout { grid-template-columns: 1fr; }
  .order-hero-grid { grid-template-columns: 1fr; }
  .order-status-card { max-width: 340px; text-align: left; }
  .order-status-top { justify-content: flex-start; }
  .track-layout { grid-template-columns: 1fr; gap: 30px; }
  .auth-grid { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .account-nav a { white-space: nowrap; }
  .page-layout { grid-template-columns: 1fr; gap: 30px; }
  .page-side { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-faq { grid-template-columns: 1fr; gap: 26px; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-media { min-height: 240px; }
  .blog-cta { flex-direction: column; align-items: flex-start; gap: 18px; }
  .blog-cta .newsletter-form { flex-basis: auto; width: 100%; }
  .cat-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .cat-hero-media { display: none; }
  .contact-quick { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .announce-links { display: none; }
  .announce-inner { justify-content: center; }
  .section { padding: 50px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-tile-wide { grid-column: span 2; }
  .cat-tile { min-height: 210px; }
  .product-grid-4, .product-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-body { padding: 11px 12px 13px; }
  .p-body h3 { font-size: 13px; min-height: 2.8em; }
  .p-price { font-size: 15px; }
  .review-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .hero-proof { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-note { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item + .trust-item { border-left: 0; padding: 13px 0; border-top: 1px solid var(--line-soft); }
  .trust-item:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-hero h1 { font-size: 1.8rem; }
  .cart-row { grid-template-columns: 1fr 42px; gap: 8px; }
  .cart-head { display: none; }
  .cart-price, .cart-qty, .cart-line-total { grid-column: 1; display: flex; align-items: center; justify-content: space-between; padding-left: 89px; }
  .cart-price::before { content: attr(data-label); font-size: 11px; color: var(--muted); }
  .cart-line-total::before { content: attr(data-label); font-size: 11px; color: var(--muted); }
  .cart-qty { padding-left: 89px; }
  .cart-remove { grid-column: 2; grid-row: 1; justify-self: end; }
  .cart-product { grid-column: 1 / -1; }
  .cart-form-actions { flex-direction: column; gap: 12px; align-items: stretch; }
  .cart-form-actions .link-arrow { justify-content: center; }
  .checkout-head-inner { min-height: 62px; }
  .checkout-help { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .order-hero h1 { font-size: 1.75rem; }
  .order-hero-meta { gap: 9px; flex-direction: column; }
  .order-timeline-card, .order-items-card, .order-side-card { padding: 17px; }
  .track-result-grid { grid-template-columns: repeat(2, 1fr); }
  .account-head-inner { flex-direction: column; align-items: flex-start; }
  .account-stats { grid-template-columns: 1fr 1fr; }
  .account-stats div:last-child { grid-column: 1 / -1; }
  .account-order-row { grid-template-columns: 1fr auto; gap: 8px; }
  .account-order-row .account-order-total { display: none; }
  .account-cols { grid-template-columns: 1fr; }
  .account-detail { font-size: 12px; }
  .spec-table { grid-template-columns: 1fr; }
  .gallery-thumb { width: 62px; height: 62px; }
  .buybox-price strong { font-size: 23px; }
  .buybox-form { flex-wrap: wrap; }
  .buybox-add { min-width: 150px; }
  .product-tabs { gap: 0; }
  .tab-btn { padding: 10px 11px; font-size: 12.5px; }
  .enquire-box { padding: 18px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
  .contact-form-wrap { padding: 18px; }
  .notfound-search { flex-direction: column; }
  .post-header h1 { font-size: 1.8rem; }
  .post-lede { font-size: 15px; }
  .sticky-buy { padding: 9px 12px; }
  .sticky-buy .btn { font-size: 13px; padding: 10px 13px; }
  .toast-wrap { bottom: 76px; }
  .featured-post-body { padding: 22px; }
  .auth-card { padding: 22px; }
}

@media (max-width: 480px) {
  .header-search .search-submit { display: none; }
  .header-search { padding-right: 4px; }
  .hero-actions .btn { width: 100%; }
  .product-grid-4, .product-grid-3 { grid-template-columns: 1fr; }
  .p-body h3 { min-height: 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-tile-wide { grid-column: auto; }
  .pagination .page-btn { min-width: 32px; height: 32px; font-size: 12px; }
  .cart-price, .cart-qty, .cart-line-total, .cart-qty { padding-left: 0; }
  .cart-product { flex-direction: column; align-items: flex-start; }
  .cart-qty { padding-left: 0; }
  .track-result-grid { grid-template-columns: 1fr; }
  .account-stats { grid-template-columns: 1fr; }
  .account-stats div:last-child { grid-column: auto; }
  .hero-proof { gap: 12px; }
  .hero-proof strong { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   New UI — hero slider, gallery, variants, notices, verification
   Built on the same navy / cream / copper palette with BUI red as an accent.
   ========================================================================== */

/* ------------------------------------------------------------ hero slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 100% at 80% 0%, #ffffff 0%, var(--cream) 46%, #eef2f6 100%);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.hero-slider::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 89, 12, .10), transparent 68%);
  top: -180px; right: 6%; pointer-events: none; z-index: -1;
}
.hero-slide { display: none; }
.hero-slide.active,
.hero-slider:not(.is-ready) .hero-slide:first-child {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  width: 100%; max-width: var(--container);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 24px;
  min-height: 500px;
  animation: fadeIn .35s ease;
}
.hero-slide > * { min-width: 0; }
.hero-slide > .hero-slide-img { grid-column: 2; grid-row: 1; }
.hero-slide > .hero-slide-copy { grid-column: 1; grid-row: 1; max-width: 620px; }
.hero-slide[aria-hidden="true"] { pointer-events: none; }
.hero-slide-copy h1,
.hero-slide-copy .hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 1.05; letter-spacing: -.025em; margin: 14px 0 16px;
}
.hero-slide-copy h1 em { font-style: italic; color: var(--copper); }
.hero-slide-copy p, .hero-slide-copy .hero-lede {
  font-size: clamp(14.5px, 1.3vw, 16.5px); line-height: 1.7;
  color: #475467; max-width: 540px; margin-bottom: 24px;
}
.hero-slide-copy .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero-slide-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 26px; border: 1px solid #e4e7ec; box-shadow: var(--shadow-lg); background: #f4f6f8; }
.hero-slide-img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hero-slide .hero-proof { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(14px, 2.2vw, 30px); padding-top: 20px; border-top: 1px solid #e4e7ec; }
.hero-slide-prev, .hero-slide-next {
  position: absolute; top: 50%; z-index: 6; transform: translateY(-50%);
  display: inline-grid; place-items: center;
  width: var(--tap); height: var(--tap); padding: 0;
  border: 1px solid rgba(16, 42, 67, .12); border-radius: 50%;
  background: rgba(255, 253, 248, .92); color: var(--navy);
  box-shadow: var(--shadow-sm); backdrop-filter: blur(6px);
  transition: background .18s, color .18s, transform .18s;
}
.hero-slide-prev:hover, .hero-slide-next:hover { background: var(--navy); color: #fff; }
.hero-slide-prev:active, .hero-slide-next:active { transform: translateY(-50%) scale(.96); }
.hero-slide-prev { left: max(10px, env(safe-area-inset-left)); }
.hero-slide-next { right: max(10px, env(safe-area-inset-right)); }
.hero-slider.single .hero-slide-prev, .hero-slider.single .hero-slide-next, .hero-slider.single .hero-dots { display: none; }
.hero-dots {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 6; display: flex; align-items: center; gap: 2px;
  padding: 0 6px; border-radius: 999px;
  background: rgba(255, 253, 248, .82); backdrop-filter: blur(6px);
}
.hero-dots button {
  width: var(--tap); height: var(--tap); padding: 0; border: 0; background: none;
  display: inline-grid; place-items: center; border-radius: 50%;
}
.hero-dots button::before {
  content: ""; width: 9px; height: 9px; border-radius: 999px;
  background: rgba(16, 42, 67, .28); transition: width .2s, background .2s;
}
.hero-dots button:hover::before { background: var(--copper); }
.hero-dots button.active::before,
.hero-dots button[aria-current="true"]::before { width: 22px; background: var(--bui-red); }
.bui-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ gallery */
.gallery-viewer { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.gallery-viewer img, .gallery-stage img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-viewer[data-open-lightbox], .gallery-stage[data-open-lightbox], .gallery-viewer .gallery-main-img { cursor: zoom-in; }
.gallery-rail { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 10px; }
.gallery-rail .gallery-track { flex: 1; min-width: 0; }
.gallery-track, .gallery-thumbs {
  display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
  padding: 2px 2px 5px;
}
.gallery-track::-webkit-scrollbar, .gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  flex: 0 0 76px; width: 76px; height: 76px; min-width: var(--tap); min-height: var(--tap);
  padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden;
  background: var(--cream); scroll-snap-align: start; transition: border-color .16s, transform .16s;
}
.gallery-thumb:hover { border-color: #d0d5dd; }
.gallery-thumb.active, .gallery-thumb[aria-current="true"], .gallery-thumb[aria-pressed="true"] { border-color: var(--bui-red); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-prev, .gallery-next {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: var(--tap); height: var(--tap); padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--paper); color: var(--navy); box-shadow: var(--shadow-sm);
  transition: background .16s, color .16s, border-color .16s;
}
.gallery-prev:hover, .gallery-next:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery-prev[disabled], .gallery-next[disabled] { opacity: .4; pointer-events: none; }
.gallery-viewer > .gallery-prev, .gallery-viewer > .gallery-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; background: rgba(255,253,248,.92); }
.gallery-viewer > .gallery-prev { left: 12px; }
.gallery-viewer > .gallery-next { right: 12px; }
.gallery-zoom-hint { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(16,42,67,.72); color: #fff; font-size: 11px; pointer-events: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 180;
  display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(8, 20, 28, .94); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: min(92vw, 1200px); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; background: #fff; }
.lightbox [data-close-lightbox], .lightbox-close {
  position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right));
  width: var(--tap); height: var(--tap); border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center;
}
.lightbox [data-lightbox-prev], .lightbox [data-lightbox-next], .lightbox .lightbox-prev, .lightbox .lightbox-next, .lightbox .gallery-prev, .lightbox .gallery-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: var(--tap); height: var(--tap); border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; font-size: 20px;
}
.lightbox [data-lightbox-prev], .lightbox .lightbox-prev, .lightbox .gallery-prev { left: max(10px, env(safe-area-inset-left)); }
.lightbox [data-lightbox-next], .lightbox .lightbox-next, .lightbox .gallery-next { right: max(10px, env(safe-area-inset-right)); }
.lightbox [data-close-lightbox]:hover, .lightbox [data-lightbox-prev]:hover, .lightbox [data-lightbox-next]:hover { background: var(--bui-red); border-color: var(--bui-red); }

/* ------------------------------------------------------------ variants */
.variant-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.variant-picker .variant-label, .variant-label { flex: 1 1 100%; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.variant-picker [data-variant-option] {
  min-height: var(--tap); padding: 9px 14px;
  border: 1px solid #d0d5dd; border-radius: 9px; background: var(--paper);
  color: var(--navy); font-size: 13px; font-weight: 600; line-height: 1.3;
  transition: border-color .16s, background .16s, box-shadow .16s, color .16s;
}
.variant-picker [data-variant-option]:hover { border-color: var(--copper); }
.variant-picker [data-variant-option].active,
.variant-picker [data-variant-option][aria-pressed="true"] { border-color: var(--bui-red); background: var(--bui-red-soft); color: #a32620; box-shadow: 0 0 0 1px var(--bui-red); }
.variant-picker [data-variant-option][disabled] { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
[data-add-to-cart][disabled], [data-add-to-cart].disabled { opacity: .5; pointer-events: none; }
.variant-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11.5px; color: var(--muted); margin: 0 0 12px; }

/* ------------------------------------------------------------ intl notice */
.intl-notice {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  padding: 10px 13px; margin: 12px 0; font-size: 12.5px;
  border: 1px solid var(--line); border-left: 3px solid var(--bui-red);
  border-radius: 10px; background: var(--cream);
}
.intl-notice[hidden] { display: none; }
.intl-notice .icon { width: 17px; height: 17px; color: var(--bui-red); flex: 0 0 auto; }
.intl-price { font-weight: 700; color: var(--navy); }
.price-converted { font-weight: 700; color: var(--copper); }
.intl-notice .link-btn { margin-left: auto; }

/* ------------------------------------------------------------ human check */
.human-check {
  display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 8px;
  padding: 6px 9px; margin: 10px 0 0; font-size: 11.5px; line-height: 1.2;
  border: 1px solid #e4e7ec; border-radius: 8px; background: var(--cream);
}
.human-check-label, .human-check [data-human-question] {
  font-size: 11.5px; font-weight: 700; color: var(--navy); white-space: nowrap;
}
.human-check input:not([type="hidden"]):not(.hp) {
  min-height: 32px; min-width: 68px; width: 72px; flex: 0 0 72px;
  border: 1px solid #d0d5dd; border-radius: 7px; background: #fff; padding: 5px 8px; outline: 0;
  font-size: 12px;
}
.human-check input:focus { border-color: var(--bui-red); box-shadow: 0 0 0 3px rgba(238,64,57,.12); }
.human-check.filled { border-color: var(--green); background: var(--green-soft); }
.human-check small { flex: 1 1 100%; color: var(--muted); font-size: 11px; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; overflow: hidden; pointer-events: none; }

/* ------------------------------------------------------------ tables / print */
.table-wrap, .prose .table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.table-wrap table { max-width: none; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: var(--navy); background: var(--cream); font-weight: 700; white-space: nowrap; }
.data-table code { font-size: 11.5px; word-break: break-all; }

@media print {
  @page { size: A4; margin: 12mm; }
  html, body { background: #fff !important; color: #000 !important; width: auto !important; max-width: none !important; overflow: visible !important; }
  .site-header, .main-nav, .announce, .utility, .site-footer, .newsletter-band, .cta-band,
  .mobile-menu, .overlay, .cart-drawer, .search-modal, .floating-actions, .sticky-buy,
  .toast-wrap, .flash-stack, .print-bar, .hero-slide-prev, .hero-slide-next, .hero-dots,
  .gallery-prev, .gallery-next, .lightbox, .btn { display: none !important; }
  .container { max-width: none !important; padding: 0 !important; width: 100% !important; }
  .hero, .hero-slider, .product-detail, .section, .section-tint { background: #fff !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
  .product-grid-main, .cart-layout, .checkout-layout, .order-layout, .track-layout, .auth-grid, .page-layout, .faq-wrap, .split, .enquire-box { display: block !important; }
  .sheet { width: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; background: #fff !important; }
  .order-timeline-card, .order-items-card, .order-side-card, .cart-summary, .checkout-summary, .product-buybox { border: 0 !important; box-shadow: none !important; padding: 0 !important; }
  a[href]::after { content: "" !important; }
  .prose a, a { text-decoration: none !important; }
  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }
  tr, .cart-row, .review-card, .post-card { break-inside: avoid; page-break-inside: avoid; }
  img { max-width: 100% !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* ==========================================================================
   Responsive — 1200 / 992 / 768 / 480 / 360
   Keeps all earlier breakpoints; these refine the new components and close
   the remaining overflow gaps on very small screens.
   ========================================================================== */
@media (min-width: 1200px) {
  .hero-slide.active, .hero-slider:not(.is-ready) .hero-slide:first-child { min-height: 560px; }
  .product-grid-4, :where(.product-grid):not(.product-grid-3):not(.product-grid-4) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
@media (max-width: 1199px) {
  .hero-slide.active, .hero-slider:not(.is-ready) .hero-slide:first-child { min-height: 460px; }
  .product-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :where(.product-grid):not(.product-grid-3):not(.product-grid-4) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .hero-slide.active, .hero-slider:not(.is-ready) .hero-slide:first-child { grid-template-columns: 1fr; gap: 26px; padding-top: 44px; padding-bottom: 72px; min-height: 0; }
  .hero-slide > .hero-slide-img, .hero-slide > .hero-slide-copy { grid-column: 1; }
  .hero-slide > .hero-slide-copy { grid-row: 1; }
  .hero-slide > .hero-slide-img { grid-row: 2; }
  .hero-slide-copy { max-width: none; }
  .hero-slide-img { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-slide-prev, .hero-slide-next { top: auto; bottom: 12px; transform: none; }
  .hero-slide-prev:active, .hero-slide-next:active { transform: scale(.96); }
  .hero-dots { bottom: 18px; }
  .hero-slide .hero-proof { grid-template-columns: repeat(2, 1fr); }
  .product-grid-4, .product-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-tile-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { display: block; }
  .cart-layout, .checkout-layout, .order-layout, .track-layout, .page-layout,
  .contact-layout, .faq-wrap, .split, .order-hero-grid, .auth-grid, .enquire-box,
  .contact-faq, .product-grid-main { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary, .shop-filters, .page-side, .product-gallery, .account-nav { position: static; }
  .checkout-summary { order: -1; }
  .reviews-layout, .account-layout, .settings-layout { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .contact-quick { display: none; }
  .table-wrap { overscroll-behavior-x: contain; }
  .utility { display: none; }
  .main-nav { display: none; }
  .mobile-toggle { display: inline-grid; }
  .brand-text { display: none; }
  .header-search { max-width: none; }
  .h-action span:not(.cart-count) { display: none; }
  .h-action { padding: 7px; }
}
@media (max-width: 767px) {
  .container { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .hero-slide-prev, .hero-slide-next { top: auto; bottom: 12px; transform: none; }
  .hero-slide-prev:active, .hero-slide-next:active { transform: scale(.96); }
  .hero-dots { bottom: 18px; }
  .hero-slide-copy h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-slide-copy .hero-actions .btn { min-height: var(--tap); }
  .gallery-track, .gallery-thumbs { gap: 7px; }
  .gallery-thumb { flex-basis: 64px; width: 64px; height: 64px; }
  .gallery-rail .gallery-prev, .gallery-rail .gallery-next { width: var(--tap); height: var(--tap); }
  .variant-picker [data-variant-option] { flex: 1 1 calc(50% - 4px); }
  .human-check input:not([type="hidden"]):not(.hp) { flex: 0 0 78px; width: 78px; min-width: 78px; }
  .btn, .icon-btn, .search-submit, .page-btn, .tab-btn, .faq-item summary,
  .mobile-nav > a, .mobile-nav summary, .filter-cat, .subcat-chip, .h-action,
  .cart-remove button, .drawer-item-foot button, .post-share a, .post-share button {
    min-height: var(--tap);
  }
  .btn { padding: 11px 16px; }
  .btn-sm { padding: 9px 13px; }
  .icon-btn { width: var(--tap); height: var(--tap); }
  .h-action { padding: 8px; }
  .qty-control button { width: var(--tap); }
  .qty-control input { width: 42px; }
  .cart-drawer, .mobile-menu, .shop-filters {
    padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
    padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom);
  }
  .cart-drawer { width: min(440px, 100vw); }
  .search-modal { padding: max(12px, env(safe-area-inset-top)) 12px 12px; overflow-y: auto; }
  .search-modal-box { padding: 20px 16px; }
  .search-modal-form { flex-wrap: wrap; }
  .search-modal-form input { flex: 1 1 100%; min-height: var(--tap); }
  .search-modal-form .btn { flex: 1 1 100%; min-height: var(--tap); }
  .sticky-buy { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); padding-bottom: max(9px, env(safe-area-inset-bottom)); }
  .floating-actions { right: max(10px, env(safe-area-inset-right)); bottom: calc(78px + env(safe-area-inset-bottom)); }
  .toast-wrap { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .review-form, .enquire-box, .contact-form-wrap, .checkout-block, .cart-summary, .checkout-summary { padding: 16px; }
  .form-grid, .account-cols { grid-template-columns: 1fr; }
  .field-full { grid-column: 1 / -1; }
  .cart-row { gap: 10px; }
  .cart-thumb img { width: 64px; height: 64px; }
  .prose table, .spec-table { font-size: 12.5px; }
}
@media (max-width: 479px) {
  .container { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .hero-slide.active, .hero-slider:not(.is-ready) .hero-slide:first-child { padding-left: 12px; padding-right: 12px; }
  .hero-slide-copy .hero-proof { gap: 12px; }
  .hero-slide-copy .hero-proof strong { font-size: 1.4rem; }
  .hero-slide-copy .hero-actions .btn { width: 100%; }
  .product-grid-4, .product-grid-3, :where(.product-grid):not(.product-grid-3):not(.product-grid-4) { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-tile-wide { grid-column: auto; }
  .variant-picker [data-variant-option] { flex: 1 1 100%; }
  .buybox-form { flex-wrap: wrap; }
  .buybox-add { flex: 1 1 100%; min-height: var(--tap); }
  .buybox-actions .btn { flex: 1 1 100%; }
  .human-check { flex-direction: row; flex-wrap: nowrap; gap: 5px 6px; padding: 5px 7px; }
  .human-check-label, .human-check [data-human-question] { font-size: 11px; }
  .human-check input:not([type="hidden"]):not(.hp) {
    flex: 0 0 64px; width: 64px; min-width: 64px; min-height: 34px; padding: 4px 6px;
  }
  .checkout-head-inner, .account-head-inner, .order-head { gap: 10px; }
  .notfound-search { flex-direction: column; }
  .cart-form-actions, .pay-banner-actions, .notfound-actions, .empty-actions { flex-direction: column; align-items: stretch; }
  .cart-form-actions .btn, .pay-banner-actions .btn, .empty-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  html { font-size: 15px; }
  body { font-size: 14.5px; }
  .container { padding-left: 10px; padding-right: 10px; }
  .hero-slide-copy h1 { font-size: 1.85rem; }
  .hero-slide-copy .hero-lede { font-size: 14px; }
  .hero-slide-img { border-radius: 16px; }
  .gallery-thumb { flex-basis: 54px; width: 54px; height: 54px; }
  .btn { padding: 10px 12px; font-size: 13px; }
  .h-action { padding: 6px; }
  .brand img { width: 92px; }
  .page-hero h1, .post-header h1, .order-hero h1 { font-size: 1.6rem; }
  .account-stats { grid-template-columns: 1fr; }
  .track-result-grid { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 1fr 40px; }
  .cart-price, .cart-qty, .cart-line-total { padding-left: 0; }
}
@supports (padding: max(0px, env(safe-area-inset-left))) {
  .hero-slide-prev { left: max(10px, env(safe-area-inset-left)); }
  .hero-slide-next { right: max(10px, env(safe-area-inset-right)); }
}

/* ------------------------------------------------------------------ v8 */
/* compact human checks sit immediately above their form's submit button */
.p-actions .human-check, .wishlist-actions .human-check, .address-card-actions .human-check,
.saved-cart-actions .human-check, .drawer-item-foot .human-check, .sticky-buy .human-check {
  margin: 0 0 6px; padding: 4px 6px; gap: 4px 6px; border-radius: 7px;
}
.p-actions .human-check-label, .wishlist-actions .human-check-label,
.address-card-actions .human-check-label, .saved-cart-actions .human-check-label,
.drawer-item-foot .human-check-label, .sticky-buy .human-check-label { display: none; }
.p-actions .human-check input:not([type="hidden"]):not(.hp),
.wishlist-actions .human-check input:not([type="hidden"]):not(.hp),
.address-card-actions .human-check input:not([type="hidden"]):not(.hp),
.saved-cart-actions .human-check input:not([type="hidden"]):not(.hp),
.drawer-item-foot .human-check input:not([type="hidden"]):not(.hp),
.sticky-buy .human-check input:not([type="hidden"]):not(.hp) {
  min-height: 28px; min-width: 56px; width: 56px; flex-basis: 56px; padding: 4px 6px; font-size: 11.5px;
}
.shipping-estimate-form .human-check, .coupon-form .human-check { margin: 0 0 8px; }
.logout-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.logout-form .human-check { margin: 0; padding: 3px 5px; background: transparent; border-color: transparent; }
.logout-form .human-check-label { display: none; }
.sticky-buy .human-check { border-color: transparent; background: transparent; }

.saved-address-field { margin-bottom: 2px; }
.save-address-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin: 16px 0 12px; padding: 11px 13px;
  border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.6);
}
.save-address-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; }
.save-address-label input { max-width: 180px; min-height: 36px; }
.check-row { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }

.shipping-estimate-form { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.shipping-estimate-form > label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.shipping-estimate-result {
  display: flex; flex-direction: column; gap: 3px;
  margin-top: 9px; padding: 10px 12px; border-radius: 10px;
  font-size: 12.5px; line-height: 1.5;
}
.shipping-estimate-result.is-success { background: rgba(35,102,74,.09); color: #245c44; }
.shipping-estimate-result.is-error { background: rgba(190,58,48,.09); color: #9d332b; }
.shipping-estimate-result strong { font-size: 13px; }
.suggest-help-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.suggest-help {
  padding: 4px 9px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 11.5px; text-decoration: none;
}
.suggest-help:hover { border-color: var(--accent); color: var(--accent); }

.wishlist-form { display: inline-flex; max-width: 100%; }
.wishlist-form .btn.is-saved { border-color: var(--accent); color: var(--accent); }
.product-video-block { margin-top: 24px; }
.product-video-block h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 12px; }
.product-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #0f2b3d; }

.order-support-card {
  padding: 22px; border: 1px solid var(--border); border-radius: 16px;
  background: var(--card-bg, #fff); margin-bottom: 18px;
}
.order-support-card h2 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 6px; }
.order-support-card > p { margin-top: 0; }
.shipping-event-list, .order-request-list { list-style: none; margin: 16px 0 0; padding: 0; }
.shipping-event-list li, .order-request-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--border);
}
.shipping-event-list li:first-child, .order-request-list li:first-child { border-top: 0; }
.shipping-event-dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--accent); }
.shipping-event-list strong, .order-request-list strong { display: block; font-size: 13.5px; }
.shipping-event-list small, .order-request-list small { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; }
.shipping-event-list p, .order-request-list p { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.order-request-list .pill { align-self: start; }
.request-note { padding: 8px 10px; border-radius: 8px; background: rgba(47,93,124,.08); }
.order-request-form { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); }
.order-request-form .btn { margin-top: 12px; }

.account-panel { padding: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { font-family: var(--serif); font-size: 1.35rem; margin: 0; }
.wishlist-list, .address-list, .saved-cart-list { display: grid; gap: 13px; }
.wishlist-item { display: grid; grid-template-columns: 86px 1fr auto; gap: 15px; align-items: center; padding: 13px; border: 1px solid var(--border); border-radius: 12px; }
.wishlist-thumb img { width: 86px; height: 86px; object-fit: cover; border-radius: 10px; }
.wishlist-copy small, .saved-cart-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 11.5px; }
.wishlist-copy strong { display: block; margin-top: 6px; }
.wishlist-actions, .saved-cart-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.address-card, .saved-cart-card { padding: 14px; border: 1px solid var(--border); border-radius: 12px; }
.address-card-head, .saved-cart-card > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.address-card address { display: grid; gap: 2px; margin: 10px 0; font-style: normal; font-size: 13px; }
.address-card address span { display: flex; align-items: center; gap: 5px; }
.address-card-actions, .saved-cart-actions { margin-top: 10px; }
.saved-cart-form, .privacy-form { max-width: 720px; }
.privacy-form-wrap { min-width: 0; }
.form-note { font-size: 12px; color: var(--muted); }

.consent-banner {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 120; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: min(940px, calc(100% - 24px)); padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 14px;
  background: #ffffff; box-shadow: 0 16px 44px rgba(16,42,67,.18);
}
.consent-copy { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; line-height: 1.5; }
.consent-copy strong { font-size: 13.5px; }
.consent-copy a { color: var(--accent); text-decoration: underline; }
.consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }

@media (max-width: 720px) {
  .wishlist-item { grid-template-columns: 70px 1fr; align-items: start; }
  .wishlist-thumb img { width: 70px; height: 70px; }
  .wishlist-actions { grid-column: 1 / -1; }
  .consent-banner { flex-direction: column; align-items: stretch; gap: 12px; }
  .consent-actions .btn { flex: 1 1 50%; }
  .save-address-row { align-items: stretch; flex-direction: column; }
  .save-address-label input { max-width: none; }
}

/* ------------------------------------------------------------------ v10 */
/* Marketplace refresh: department merchandising, saffron CTAs and white
   product surfaces. Layout rules are additive so older pages stay intact. */

/* Hidden mega menus sit off-canvas until hovered; keep them from creating a
   horizontal scrollbar without turning the page into a scroll container. */
html { overflow-x: clip; }
@supports not (overflow-x: clip) { html { overflow-x: hidden; } }

.btn-primary {
  background: linear-gradient(180deg, #f97316 0%, #e8590c 100%);
  box-shadow: 0 10px 20px -12px rgba(232, 89, 12, .75);
}
.btn-primary:hover { background: linear-gradient(180deg, #ea6a0a 0%, #c94a06 100%); }
.badge-sale { background: var(--copper); }
.badge-custom { background: var(--navy); }

.site-header { background: rgba(255, 255, 255, .97); }
.utility { background: #f8fafc; }
.section-tint { background: #f5f7fa; }
.p-card { box-shadow: 0 1px 2px rgba(16, 42, 67, .04); }
.p-card:hover { box-shadow: 0 18px 34px -24px rgba(16, 42, 67, .38); }
.p-body h3 a:hover, .p-cat { color: var(--copper); }
.p-price { color: #102a43; }

/* four top-level departments: first tile spans two columns of a 3-up grid */
.cat-grid-dept { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cat-grid-dept .cat-tile { min-height: 268px; }
.cat-grid-dept .cat-tile-wide { grid-column: span 2; }

/* department spotlight: promo card beside a 2 x 2 product grid */
.section-dept { overflow: hidden; }
.dept-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 22px; align-items: stretch; }
.dept-grid-rev .dept-promo { order: 2; }
.dept-grid-rev .product-grid { order: 1; }
.dept-promo {
  position: relative; display: flex; align-items: flex-end; min-height: 420px;
  border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.dept-promo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dept-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.dept-promo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16, 42, 67, .05) 24%, rgba(16, 42, 67, .88) 100%);
}
.dept-promo-body { position: relative; padding: 26px; color: #fff; }
.dept-promo-tag {
  display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px;
  background: var(--copper); color: #fff; font-size: 10.5px; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; margin-bottom: 10px;
}
.dept-promo h3 { color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin: 0 0 8px; letter-spacing: -.02em; }
.dept-promo p { color: #e6edf5; font-size: 13.5px; line-height: 1.6; margin: 0 0 16px; max-width: 380px; }
.dept-promo-cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13.5px; color: #ffd8a8; }
.dept-promo-cta .icon { width: 17px; height: 17px; transition: transform .18s; }
.dept-promo:hover .dept-promo-cta .icon { transform: translateX(3px); }

.product-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-dept .product-grid { gap: 16px; align-content: stretch; }
.section-dept .p-body { padding: 13px 14px 15px; }
.section-dept .p-body h3 { font-size: 14px; }

/* lighter, marketplace-style card chrome */
.p-media { background: #f7f8fa; }
.p-card .p-actions .btn-primary { border-radius: 8px; }

@media (max-width: 991px) {
  .cat-grid-dept { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dept-grid { grid-template-columns: 1fr; }
  .dept-grid-rev .dept-promo, .dept-grid-rev .product-grid { order: 0; }
  .dept-promo { min-height: 320px; }
}
@media (max-width: 640px) {
  /* The search field lives inside the slide-out menu on small screens. */
  .header-search { display: none; }
  .header-main { gap: 12px; }
}
@media (max-width: 479px) {
  .cat-grid-dept { grid-template-columns: 1fr; }
  .cat-grid-dept .cat-tile-wide { grid-column: auto; }
  .product-grid-2 { grid-template-columns: 1fr; }
  .dept-promo { min-height: 280px; }
}


