/* ============ VIP Sports & Fitness — sellzy home-2 layout, red brand theme ============ */
:root {
  --primary: #d8332a;
  --primary-light: #ff6b5e;
  --primary-dark: #bb2a22;
  --primary-soft: #fdeceb;
  --tint: #fdf0ef;
  --accent: #212b36;
  --accent-2: #2b3946;
  --text: #212529;
  --muted: #5f6c7b;
  --muted-2: #69737f;
  --bg: #f6f7f9;
  --page: #ffffff;
  --surface: #ffffff;
  --line: #e6e9ee;
  --green: #007b55;
  --amber: #fcbb00;
  --red: #e5352b;
  --primary-rgb: 229, 53, 43;
  --sale: #d63a2f;
  --hero-bg: #ffdedb;
  --footer-bg: #1d232c;
  --footer-text: #c9d1da;
  --footer-icon: #ff8a80;
  --tint-1: #fff5f4;
  --tint-2: #fff3f1;
  --tint-3: #fff1ef;
  --tint-4: #ffe4e1;
  --tint-5: #f6c3bf;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 18px rgba(20, 24, 34, .08);
  --shadow-lg: 0 18px 42px rgba(20, 24, 34, .16);
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-brand: "Urbanist", var(--font-body);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text); background: var(--page); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; max-width: 100%; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); }
.ico { width: 20px; height: 20px; flex-shrink: 0; }
.container { max-width: 1536px; margin: 0 auto; padding: 0 16px; }
.empty { text-align: center; color: var(--muted); padding: 34px 10px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty a { color: var(--primary); font-weight: 700; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--radius-sm); padding: 10px 20px; font-size: 14px; font-weight: 700; font-family: var(--font-head); transition: .18s; text-align: center; line-height: 1.2; }
.btn .ico { width: 17px; height: 17px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--primary-dark); }
.btn-dark { background: var(--accent); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: var(--primary); color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 12.5px; border-radius: 8px; }
.btn-pill { border-radius: 999px; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary-light); }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #c32018; }

/* pill CTA with round arrow badge */
.cta-pill { display: inline-flex; align-items: center; gap: 14px; background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; padding: 7px 7px 7px 22px; border-radius: 999px; transition: background .25s; white-space: nowrap; }
.cta-pill:hover { background: var(--primary-dark); }
.cta-ico { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-ico .ico { width: 16px; height: 16px; transition: transform .35s; }
.cta-pill:hover .cta-ico .ico { transform: rotate(45deg); }
.cta-lg { font-size: 16px; padding: 10px 10px 10px 32px; gap: 18px; box-shadow: 0 12px 24px rgba(var(--primary-rgb), .28); }
.cta-lg .cta-ico { width: 40px; height: 40px; }
.cta-lg .cta-ico .ico { width: 20px; height: 20px; }
.cta-sm { font-size: 13px; padding: 5px 5px 5px 18px; gap: 10px; }
.cta-sm .cta-ico { width: 26px; height: 26px; }

/* white "View All Products" pill */
.pill-link { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--accent); font-weight: 700; font-size: 15px; padding: 8px 8px 8px 22px; border-radius: 999px; box-shadow: 0 2px 8px rgba(20, 24, 34, .08); transition: .2s; white-space: nowrap; }
.pill-link:hover { color: var(--primary); }
.pill-ico { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pill-ico .ico { width: 16px; height: 16px; }

/* ---------- topbar ---------- */
.topbar { background: var(--primary); color: #fff; font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 56px; gap: 12px; }
.topbar-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: #fff; }
.tb-item .ico { width: 18px; height: 18px; }
.tb-pill { background: var(--amber); color: var(--accent); font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.tb-sep { width: 1px; height: 22px; background: rgba(255, 255, 255, .35); }
.topbar-right { display: flex; align-items: center; }
.topbar-right a { color: #fff; padding: 0 22px; border-left: 1px solid rgba(255, 255, 255, .35); line-height: 1; opacity: .95; }
.topbar-right a:first-child { border-left: 0; }
.topbar-right a:last-child { padding-right: 0; }
.topbar-right a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.main-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 96px; }
.hamburger { display: none; background: none; border: 0; flex-direction: column; gap: 4px; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 62px; width: auto; display: block; }
.logo-inv img { height: 58px; }

/* search */
.search-form { flex: 1; max-width: 600px; margin: 0 auto; display: flex; align-items: center; border: 1px solid #ced4da; border-radius: 999px; background: #fff; height: 50px; padding: 0 8px 0 24px; transition: border-color .2s, box-shadow .2s; }
.search-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .1); }
.search-form input { flex: 1; border: 0; outline: 0; font-size: 16px; min-width: 0; background: transparent; color: var(--text); }
.search-form input::placeholder { color: #6c757d; }
.search-go { background: none; border: 0; width: 40px; height: 40px; color: #6c757d; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; }
.search-go:hover { color: var(--primary); }

/* header actions */
.header-actions { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.head-box { display: flex; align-items: center; gap: 12px; color: var(--accent); }
.hb-ico { position: relative; width: 48px; height: 48px; border-radius: 8px; background: var(--amber); color: var(--accent); display: flex; align-items: center; justify-content: center; transition: .18s; }
.head-box:hover .hb-ico { background: var(--primary); color: #fff; }
.hb-ico .ico { width: 24px; height: 24px; }
.hb-ico .badge { position: absolute; top: -7px; right: -7px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid #fff; }
.head-box:hover .hb-ico .badge { background: var(--amber); color: var(--accent); }
.hb-txt { display: flex; flex-direction: column; line-height: 1.25; }
.hb-txt small { font-size: 13px; color: var(--muted); }
.hb-txt strong { font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.hb-caret { width: 16px; height: 16px; color: var(--muted); }

/* mini cart */
.cart-mini-wrap { position: relative; }
.cart-mini { position: absolute; top: calc(100% + 12px); right: 0; width: 320px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: none; z-index: 95; overflow: hidden; }
.cart-mini-wrap:hover .cart-mini { display: block; }
.cart-mini-wrap::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.mini-top { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; background: var(--primary); color: #fff; }
.mini-title { font-weight: 700; }
.mini-qty { font-size: 12.5px; opacity: .85; }
.mini-items { max-height: 250px; overflow: auto; padding: 8px 16px; }
.mini-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-item:last-child { border-bottom: 0; }
.mini-item img { width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius-sm); background: var(--tint); mix-blend-mode: multiply; }
.mini-info { flex: 1; min-width: 0; }
.mini-info a { font-size: 13.5px; font-weight: 600; color: var(--text); display: block; }
.mini-info a:hover { color: var(--primary); }
.mini-info small { color: var(--muted); font-size: 12.5px; }
.mini-sub { font-size: 13px; color: var(--muted); }
.mini-sub strong { color: var(--primary); font-size: 15px; }
.mini-foot { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.mini-btns { display: flex; gap: 8px; }
.mini-btns .btn { flex: 1; padding: 9px 10px; font-size: 13px; }
.mini-empty { padding: 26px 18px; text-align: center; color: var(--muted); }
.mini-empty-ico { display: inline-flex; color: var(--muted-2); }
.mini-empty-ico .ico { width: 34px; height: 34px; }
.mini-empty p { margin: 6px 0 12px; font-size: 13.5px; }

/* ---------- nav (sticky) ---------- */
.nav { background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 90; }
.nav-inner { display: flex; align-items: center; gap: 32px; min-height: 72px; position: relative; }
.nav-toggle { display: inline-flex; align-items: center; gap: 10px; background: var(--primary); color: #fff; border: 0; padding: 0 24px; height: 56px; border-radius: 8px; font-weight: 700; font-size: 16px; transition: .15s; flex-shrink: 0; }
.nav-toggle:hover { background: var(--primary-dark); }
.nav-toggle .ico { width: 20px; height: 20px; }
.nav-toggle .nt-caret { width: 18px; height: 18px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .nt-caret { transform: rotate(180deg); }
.nav-toggle[aria-expanded="true"] { border-radius: 8px 8px 0 0; }
.nav-toggle { width: 280px; justify-content: flex-start; }
.nav-toggle .nt-caret { margin-left: auto; }
.nav-links { display: flex; gap: 32px; flex: 1; }
.nl-item { position: relative; }
.nl-item > a { display: inline-flex !important; align-items: center; gap: 4px; }
.nl-caret { width: 16px; height: 16px; transition: transform .2s; }
.nl-toggle { display: none; }
.nl-sub { position: absolute; left: -18px; top: 100%; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgba(20, 24, 34, .12); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; z-index: 96; max-height: 70vh; overflow-y: auto; }
.nl-sub a { display: block; padding: 9px 20px !important; font-size: 15px !important; font-weight: 500 !important; color: var(--text); }
.nl-sub a:hover { background: #f8f9fa; color: var(--primary); }
@media (min-width: 861px) {
  .nl-item.has-sub:hover > .nl-sub, .nl-item.has-sub:focus-within > .nl-sub { opacity: 1; visibility: visible; transform: none; }
  .nl-item.has-sub:hover .nl-caret { transform: rotate(180deg); }
  .nl-item.has-sub::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
}
.nav-links a { display: block; padding: 8px 0; color: var(--text); font-size: 16px; font-weight: 600; transition: .15s; position: relative; }
.nav-links a:hover, .nav-links a.on { color: var(--primary); }
.support { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.support-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--bg); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.support-txt { display: flex; flex-direction: column; line-height: 1.25; }
.support-txt small { font-size: 13px; color: var(--muted); }
.support-txt strong { font-size: 17px; font-weight: 700; color: var(--accent); }
.support:hover strong { color: var(--primary); }

/* "Explore All Categories" dropdown (sellzy style) */
.mega { display: none; position: absolute; left: 16px; top: calc(100% - 8px); width: 280px; z-index: 95; }
.mega.open { display: block; animation: menuIn .18s ease; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cat-menu { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; box-shadow: 0 16px 36px rgba(20, 24, 34, .12); max-height: min(560px, 70vh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.cm-item { position: static; border-bottom: 1px solid #f1f3f5; }
.cm-item:last-child { border-bottom: 0; }
.cm-item > a { display: flex; align-items: center; gap: 14px; padding: 11px 22px; font-size: 15px; font-weight: 600; color: var(--text); transition: background .15s, color .15s; }
.cm-item > a:hover, .cm-item:hover > a { background: #f8f9fa; color: var(--primary); }
.cm-thumb { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #e9ecef; background: #fff; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.cm-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.cm-thumb .ico { width: 16px; height: 16px; color: var(--primary); }
.cm-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-caret { width: 16px; height: 16px; color: #adb5bd; }
.cm-sub { display: none; }
.cm-all > a { color: var(--primary); }
@media (min-width: 861px) {
  .cat-menu { overflow: visible; max-height: none; }
  .cm-item { position: relative; }
  .cm-sub { position: absolute; left: 100%; top: -1px; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgba(20, 24, 34, .12); padding: 8px 0; max-height: 70vh; overflow-y: auto; }
  .cm-item.has-kids:hover > .cm-sub, .cm-item.has-kids:focus-within > .cm-sub { display: block; }
  .cm-sub a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 20px; font-size: 14.5px; font-weight: 500; color: var(--text); }
  .cm-sub a:hover { background: #f8f9fa; color: var(--primary); }
  .cm-count { color: #adb5bd; font-size: 12.5px; }
}
.cat-icon { font-size: 22px; }

/* ---------- main ---------- */
.main { padding: 34px 16px 64px; min-height: 60vh; }
.main.home { padding-top: 24px; padding-bottom: 24px; }
h1 { font-size: 28px; margin-bottom: 18px; }

/* section heading */
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.sh-text { flex: 1; min-width: 0; }
.section-title { font-size: 32px; font-weight: 700; color: var(--text); line-height: 1.3; }
.section-title.center { text-align: center; margin-bottom: 28px; }
.section-sub { font-size: 15px; color: #41464d; margin-top: 6px; }
.section-link { font-size: 18px; font-weight: 700; color: var(--text); white-space: nowrap; }
.section-link:hover { color: var(--primary); }
.home-section { margin: 0 0 88px; }

/* round prev/next arrows */
.scroll-nav { display: flex; gap: 12px; flex-shrink: 0; }
.sc-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #e9ecef; color: var(--muted-2); display: flex; align-items: center; justify-content: center; transition: .2s; }
.sc-btn.sc-next { background: var(--primary); color: #fff; }
.sc-btn:hover { background: var(--primary-dark); color: #fff; }
.scroll-nav.light .sc-btn { background: rgba(255, 255, 255, .55); color: var(--muted); }
.scroll-nav.light .sc-btn.sc-next { background: #fff; color: var(--accent); }
.scroll-nav.light .sc-btn:hover { background: var(--primary); color: #fff; }
.scroll-nav.sm .sc-btn { width: 32px; height: 32px; background: rgba(255, 255, 255, .55); color: var(--muted); }
.scroll-nav.sm .sc-btn.sc-next { background: #fff; color: var(--accent); }
.scroll-nav.sm .sc-btn .ico { width: 16px; height: 16px; }

/* horizontal scrollers */
/* scroll-padding matches the 2px side padding so the first card's snap point is 0: otherwise the browser
   snaps every scroller to 2px during the first layout, and that scroll makes Chrome stop recording
   LCP (PageSpeed then reports NO_LCP) */
.h-scroller { display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; contain: layout paint; }
.h-scroller::-webkit-scrollbar { display: none; }
.h-scroller > * { scroll-snap-align: start; flex-shrink: 0; }

/* ---------- hero ---------- */
.hero-sec { margin-bottom: 88px; }
.hero-carousel { position: relative; border-radius: 24px; overflow: hidden; background: var(--hero-bg); }
.hero-track { display: flex; transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.hero-slide { position: relative; flex: 0 0 100%; min-width: 0; height: 640px; display: flex; align-items: center; }
.hero-copy { position: relative; z-index: 2; width: 55%; padding: 40px 0 40px 120px; }
.hero-kicker-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hero-kicker { font-weight: 700; font-size: 18px; color: var(--text); }
.hero-badge { background: #ffd2a6; color: #3a2000; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.hero-title { font-size: clamp(32px, 3.75vw, 56px); line-height: 1.32; font-weight: 700; color: #000; margin: 0 0 22px; max-width: 640px; }
.hero-text { color: #212529; font-size: 17px; line-height: 1.6; max-width: 460px; margin: 0 0 40px; }
.hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; display: flex; align-items: center; justify-content: center; padding: 40px 80px 80px 40px; }
.hero-art img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; opacity: 0; transform: translateX(40px); transition: opacity .7s ease .1s, transform .7s ease .1s; }
.hero-slide.on .hero-art img { opacity: 1; transform: none; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .45); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: .25s; }
.hero-arrow:hover { background: #fff; color: var(--primary); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
/* bottom notch holding the pager pills */
.hero-notch { position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); z-index: 5; height: 64px; width: 280px; background: var(--page); border-radius: 48px 48px 0 0; display: flex; align-items: center; justify-content: center; }
.hero-notch::before, .hero-notch::after { content: ''; position: absolute; bottom: 0; width: 40px; height: 40px; }
.hero-notch::before { right: 100%; background: radial-gradient(circle at 0 0, transparent 40px, var(--page) 40.5px); }
.hero-notch::after { left: 100%; background: radial-gradient(circle at 100% 0, transparent 40px, var(--page) 40.5px); }
.hero-pills { display: flex; gap: 14px; align-items: center; padding-top: 6px; }
.hero-pill { width: 14px; height: 14px; border-radius: 999px; border: 0; padding: 0; background: #cfd4da; transition: width .45s ease, background .45s ease; }
.hero-pill.on { width: 78px; background: var(--primary-light); }

/* ---------- shop by category (circles) ---------- */
.cat-circles { gap: 32px; }
.cat-circle { width: 152px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.cc-img { width: 152px; height: 152px; border-radius: 50%; background: var(--tint); overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid #f1e3e2; transition: .3s; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .5s; }
.cat-circle:hover .cc-img { border-color: var(--primary-light); }
.cat-circle:hover .cc-img img { transform: scale(1.08); }
.cc-name { font-weight: 700; font-size: 16px; color: var(--text); line-height: 1.4; }
.cat-circle:hover .cc-name { color: var(--primary); }

/* ---------- curved colour panels (top offer, launches, most loved, accessories) ---------- */
.curve-panel { --cut-w: 440px; --cut-h: 120px; --r: 48px; position: relative; background: var(--pc); border-radius: 32px; padding: calc(var(--cut-h) + 32px) 48px 48px; }
.cp-cut { position: absolute; top: -1px; left: -1px; width: var(--cut-w); height: var(--cut-h); background: var(--page); border-bottom-right-radius: var(--r); padding: 4px 24px 0 32px; z-index: 1; }
.cp-cut::before, .cp-cut::after { content: ''; position: absolute; width: var(--r); height: var(--r); }
.cp-cut::before { top: 0; left: 100%; background: radial-gradient(circle at 100% 100%, transparent calc(var(--r) - .5px), var(--page) var(--r)); }
.cp-cut::after { top: 100%; left: 0; background: radial-gradient(circle at 100% 100%, transparent calc(var(--r) - .5px), var(--page) var(--r)); }
.cp-cut .section-sub { margin-top: 4px; }
.cp-tools { position: absolute; top: 32px; right: 48px; display: flex; align-items: center; gap: 24px; }
.cp-foot { display: flex; justify-content: flex-end; margin-top: 32px; }
.product-row .card { width: calc((100% - 4 * 24px) / 5); }

/* countdown pill */
.cd-pill { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; background: #e8f9cf; color: var(--accent); font-weight: 700; font-size: 20px; white-space: nowrap; }
.cd-pill .countdown { font-variant-numeric: tabular-nums; }

/* ---------- product grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* product card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.curve-panel .card { border-color: transparent; }
.card:hover { box-shadow: 0 12px 30px rgba(20, 24, 34, .12); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 1 / .92; overflow: hidden; background: var(--tint); border-radius: 12px; }
.card-img { display: block; width: 100%; height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; mix-blend-mode: multiply; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 3; }
.badge-sale, .badge-new { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.badge-sale { background: var(--sale); color: #fff; }
.badge-new { background: var(--green); color: #fff; }
.quick-toggle { position: absolute; z-index: 3; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: .18s; opacity: 0; }
.card:hover .quick-toggle, .quick-toggle.on { opacity: 1; }
.quick-toggle:hover, .quick-toggle.on { background: var(--primary); color: #fff; }
.quick-toggle .ico { width: 16px; height: 16px; }
.card-body { padding: 16px 4px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 15px; font-weight: 500; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 46px; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--primary); }
.card-rating { font-size: 12px; color: var(--muted-2); display: flex; align-items: center; gap: 6px; }
.stars { color: #dfe3e8; letter-spacing: 1px; font-size: 13px; }
.star.full { color: var(--amber); }
.card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: auto; }
.price { font-weight: 700; color: var(--accent); font-size: 15px; }
.regular { color: var(--muted-2); text-decoration: line-through; font-size: 14px; }
.off { color: var(--sale); font-size: 13px; font-weight: 600; }
.call { color: var(--primary); }
.card-foot { display: flex; align-items: center; gap: 10px; padding: 14px 4px 4px; }
.card-foot form { flex: 1; }
.card-foot .btn { width: 100%; height: 40px; padding: 0 14px; font-size: 15px; }
.card-foot a.btn { flex: 1; }
.wish-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f1f3f5; color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .18s; }
.wish-btn .ico { width: 18px; height: 18px; }
.wish-btn:hover, .wish-btn.on { background: var(--primary-soft); color: var(--primary); }
.wish-btn.on .ico { fill: currentColor; }

/* ---------- three promo tiles ---------- */
.promo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promo-tile { position: relative; display: block; height: 550px; border-radius: 24px; overflow: hidden; background: #f3f0ef; }
.pt-art, .pb-art { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding: 30px; }
.pt-art img, .pb-art img { width: 78%; height: 62%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s ease; }
.promo-tile:hover .pt-art img, .promo-big:hover .pb-art img { transform: scale(1.05); }
.pt-card, .pb-card { position: absolute; left: 24px; bottom: 24px; width: min(350px, calc(100% - 48px)); background: var(--tc); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.save-tag { background: #ffec7f; color: var(--accent); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .02em; }
.pt-card strong, .pb-card strong { font-size: 24px; font-weight: 700; color: var(--accent); line-height: 1.3; }
.pt-card em, .pb-card em { font-style: normal; font-size: 14px; color: #343a40; margin-bottom: 12px; }
.pt-card .cta-pill, .pb-card .cta-pill { background: var(--accent); }
.pt-card .cta-ico, .pb-card .cta-ico { color: var(--accent); }
.promo-tile:hover .cta-pill, .promo-big:hover .cta-pill { background: var(--primary); }

/* brand circle strip */
.brand-circles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 24px; }
.brand-circle { aspect-ratio: 1; max-width: 140px; justify-self: center; width: 100%; border-radius: 50%; border: 3px double #adb5bd; display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px; color: #6c757d; font-family: var(--font-brand); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; transition: .25s; }
.brand-circle:hover { color: var(--primary); border-color: var(--primary-light); transform: rotate(-6deg); }

/* two big banners */
.promo-duo { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; }
.promo-big { position: relative; display: block; height: 620px; border-radius: 24px; overflow: hidden; background: #f3eee9; }
.promo-wide { background: #efe9e4; }
.pb-card { width: min(470px, calc(100% - 48px)); padding: 32px; left: 32px; bottom: 32px; }

/* our products pill tabs */
.pill-tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.ptab { border: 1px solid #ced4da; background: #fff; padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--text); transition: .18s; }
.ptab:hover { border-color: var(--primary); color: var(--primary); }
.ptab.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.ptab-panel { display: none; }
.ptab-panel.on { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* most loved */
.loved-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.spotlight { background: #fff; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.sp-img { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 260px; }
.sp-img img { max-height: 300px; object-fit: contain; mix-blend-mode: multiply; }
.spotlight h3 { font-size: 24px; margin: 20px 0 10px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.spotlight p { color: #343a40; margin-bottom: 22px; }
.lc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.lc-head h3 { font-size: 24px; }
.mini-list { display: flex; flex-direction: column; gap: 16px; }
.mini-card { background: #fff; border-radius: 16px; padding: 12px; display: flex; gap: 14px; align-items: center; }
.mini-card.hide { display: none; }
.mc-img { width: 130px; height: 120px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.mc-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
.mc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.mc-body h4 { font-size: 15px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-body h4 a:hover { color: var(--primary); }
.mc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mc-foot .btn { height: 40px; padding: 0 16px; font-size: 14px; }

/* shop by brands grid */
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.brand-box { height: 110px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; font-family: var(--font-brand); font-weight: 800; font-size: 22px; color: var(--accent); letter-spacing: .02em; transition: .2s; }
.brand-box:hover { border-color: var(--primary-light); color: var(--primary); box-shadow: var(--shadow); }

/* category favorites */
.fav-row .fav-card { width: calc((100% - 2 * 24px) / 3); }
.fav-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--tint); }
.fav-img { height: 300px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.fav-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s; }
.fav-card:hover .fav-img img { transform: scale(1.06); }
.fav-foot { padding: 22px 16px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.fav-foot strong { font-family: var(--font-brand); font-size: 24px; font-weight: 600; color: var(--accent); }
.fav-foot small { font-size: 14px; font-weight: 700; color: var(--accent); }

/* ---------- blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.blog-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; transition: .22s; }
.blog-card:hover { box-shadow: 0 12px 30px rgba(20, 24, 34, .1); }
.blog-media { display: block; aspect-ratio: 1.2; overflow: hidden; border-radius: 12px; background: var(--tint); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .5s ease; }
.blog-card:hover .blog-media img { transform: scale(1.06); }
.blog-body { padding-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; }
.blog-cat { background: #fff3cd; color: #8f6100; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.blog-meta { display: flex; gap: 16px; font-size: 13px; color: #343a40; }
.blog-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-meta span + span { border-left: 1px solid var(--line); padding-left: 16px; }
.blog-meta .ico { width: 16px; height: 16px; }
.blog-body h3 { font-size: 18px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-body h3 a:hover { color: var(--primary); }
.blog-body p { color: #343a40; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.blog-body .cta-pill { margin-top: auto; }

/* ---------- newsletter + footer ---------- */
.f-newsletter { text-align: center; padding: 40px 0 34px; }
.f-newsletter h2 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.f-newsletter p { color: #69737f; font-size: 15px; }
.footer { --fb: var(--footer-bg); --notch: 96px; --fr: 56px; position: relative; background: var(--fb); color: var(--footer-text); border-radius: 48px 48px 0 0; margin: 0 16px; }
/* white tab hanging into the footer that holds the newsletter form, with concave fillets on both sides */
.f-notch { position: absolute; left: 50%; top: -1px; transform: translateX(-50%); width: min(820px, 64%); height: var(--notch); background: var(--page); border-radius: 0 0 var(--fr) var(--fr); display: flex; align-items: flex-start; justify-content: center; z-index: 1; }
.f-notch::before, .f-notch::after { content: ''; position: absolute; top: 0; width: var(--fr); height: var(--fr); pointer-events: none; }
.f-notch::before { right: calc(100% - 1px); background: radial-gradient(circle at 0 100%, transparent calc(var(--fr) - 1px), var(--page) var(--fr)); }
.f-notch::after { left: calc(100% - 1px); background: radial-gradient(circle at 100% 100%, transparent calc(var(--fr) - 1px), var(--page) var(--fr)); }
.nl-form { position: relative; top: -14px; display: flex; align-items: center; width: min(480px, 92%); height: 64px; background: #fff; border: 1px solid #dee2e6; border-radius: 999px; padding: 0 8px 0 22px; gap: 10px; box-shadow: 0 6px 20px rgba(20, 24, 34, .06); }
.nl-ico { color: #69737f; }
.nl-form input { flex: 1; border: 0; outline: 0; font-size: 15px; min-width: 0; background: transparent; }
.nl-form button { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); border: 0; color: #fff; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: .15s; }
.nl-form button .ico { width: 18px; height: 18px; }
.nl-form button:hover { background: var(--primary-dark); }
.footer > .container { padding-top: 140px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(var(--cols, 3), 1fr) 1.6fr; gap: 36px; padding-bottom: 48px; }
.footer h2 { color: #fff; font-size: 17px; font-weight: 600; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer ul li { padding: 7px 0; }
.footer ul a { display: inline-flex; align-items: center; gap: 8px; color: var(--footer-text); font-size: 15px; transition: .15s; }
.footer ul a .ico { width: 14px; height: 14px; color: var(--primary-light); }
.footer ul a:hover { color: #fff; transform: translateX(3px); }
.f-about { margin: 22px 0; font-size: 15px; line-height: 1.75; color: var(--footer-text); max-width: 320px; }
.f-social { display: flex; gap: 12px; flex-wrap: wrap; }
.f-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; transition: .18s; }
.f-social a:hover { background: var(--primary); }
.f-social svg { width: 17px; height: 17px; fill: #fff; }
.f-contact { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: 15px; font-weight: 600; color: #fff; }
.fc-ico { width: 40px; height: 40px; border-radius: 50%; background: rgba(var(--primary-rgb), .16); color: var(--footer-icon); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-ico .ico { width: 18px; height: 18px; }
.f-contact a { color: #fff; }
.f-contact a:hover { color: var(--amber); }
.f-contact address { font-style: normal; }
.pay-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pay-icons span { background: #fff; color: var(--accent); font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 6px; letter-spacing: .3px; }
.footer-end { text-align: center; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: #fff; }

/* ---------- tabs (product detail) ---------- */
.tab-bar { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.tab { border: 1px solid #ced4da; background: var(--surface); padding: 10px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--text); transition: .18s; }
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.tabs-panel { display: none; }
.tabs-panel.active { display: block; animation: fadeUp .35s ease; }
.tab-content p { margin-bottom: 10px; }

/* ---------- shop ---------- */
.shop-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.shop-head h1 { margin-bottom: 0; font-size: 24px; }
.shop-controls { display: flex; align-items: center; gap: 10px; }
.shop-controls > span { color: var(--muted); font-size: 13px; font-weight: 600; }
.sort-select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13.5px; color: var(--text); }
.layout-tog a { padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 15px; line-height: 1; }
.layout-tog a.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.shop-layout { display: grid; grid-template-columns: 255px 1fr; gap: 22px; align-items: start; }
.shop-sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 92px; }
.sb-block { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sb-block:last-child { border-bottom: 0; padding-bottom: 4px; }
.sb-block h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 9px; color: var(--accent); }
.sb-block li a { display: block; padding: 5px 10px; border-radius: 7px; color: var(--muted); font-size: 13.5px; transition: .15s; }
.sb-block li a:hover { color: var(--primary); background: var(--primary-soft); }
.sb-block li.on a { color: var(--primary); font-weight: 700; background: var(--primary-soft); }
.price-form .row { display: flex; gap: 6px; margin-bottom: 9px; }
.price-form input { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 26px; }
.pg { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; font-weight: 700; color: var(--muted); transition: .15s; }
.pg.on, .pg:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* list view */
.list-view { display: flex; flex-direction: column; gap: 14px; }
.list-row { display: grid; grid-template-columns: 170px 1fr auto; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; align-items: center; transition: .2s; }
.list-row:hover { box-shadow: var(--shadow); border-color: rgba(7, 129, 120, .4); }
.list-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg); }
.list-body h3 { font-size: 17px; margin-bottom: 6px; }
.list-body h3 a { color: var(--accent); }
.list-body h3 a:hover { color: var(--primary); }
.list-specs { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.list-action { display: flex; flex-direction: column; gap: 8px; min-width: 150px; }
.list-action form { margin: 0; }
.list-action .btn { font-size: 13px; }
.list-action .wish-toggle, .list-action .cmp-toggle { background: var(--surface); color: var(--muted); border: 1.5px solid var(--line); }
.list-action .wish-toggle:hover, .list-action .cmp-toggle:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- PDP ---------- */
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--line); }
.breadcrumb a:hover { color: var(--primary); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pdp-main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info h1 { font-size: 23px; margin-bottom: 8px; }
.pdp-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.pdp-sku { color: var(--muted-2); font-size: 12.5px; margin-bottom: 8px; }
.pdp-price { font-size: 28px; font-family: var(--font-head); font-weight: 800; color: var(--primary); margin: 10px 0 4px; display: flex; gap: 12px; align-items: center; }
.pdp-price del { font-size: 18px; color: var(--muted-2); font-weight: 600; }
.pdp-specs { margin: 16px 0; }
.pdp-specs h3 { font-size: 15px; margin-bottom: 8px; }
.pdp-specs li { padding: 4px 0 4px 20px; position: relative; font-size: 14px; color: #3c4048; }
.pdp-specs li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: 13px; }
.pdp-form { display: flex; gap: 10px; align-items: center; margin: 14px 0; }
.pdp-form label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; }
.pdp-form input[type=number] { width: 74px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; }
.pdp-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.pdp-actions .btn-outline { padding: 8px 16px; border-radius: 8px; font-size: 13px; }
.pdp-actions span a { color: var(--primary); }
.pdp-tabs { margin-top: 26px; }
.spec-table { width: 100%; background: var(--surface); border: 1px solid var(--line); border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.spec-table td { border: 1px solid var(--line); padding: 10px 14px; font-size: 14px; }
.spec-table td:first-child { font-weight: 700; width: 200px; background: var(--bg); }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 10px; }
.review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }
.review-head time { color: var(--muted-2); font-size: 12px; }
.review-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin-top: 14px; }
.review-form textarea, .review-form select, .review-form input { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; }
.review-form textarea { grid-column: 1 / -1; }
.review-form .btn { grid-column: 1 / -1; }
.pdp-related { margin-top: 32px; }

/* ---------- cart / checkout ---------- */
.cart-layout, .checkout-layout, .account-layout { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.cart-table { width: 100%; background: var(--surface); border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-table th { background: var(--accent); color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.cart-table th, .cart-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.cart-table tbody tr:last-child td { border-bottom: 0; }
.cart-prod a { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--text); }
.cart-prod a:hover { color: var(--primary); }
.cart-prod img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg); }
.cart-table input[type=number] { width: 64px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.cart-table form { display: flex; gap: 6px; align-items: center; }
.cart-table form button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--primary); font-size: 15px; }
.cart-table form button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.cart-summary, .checkout-review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 92px; }
.cart-summary h3, .checkout-review h3 { margin-bottom: 12px; color: var(--accent); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total { border-top: 1px solid var(--line); font-weight: 800; font-size: 18px; font-family: var(--font-head); }
.summary-row.discount { color: var(--green); }
.coupon-form { display: flex; gap: 8px; margin-top: 14px; }
.coupon-form input { flex: 1; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; }
.cart-summary .btn { margin-top: 14px; }
.checkout-form fieldset { border: 0; background: var(--surface); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.checkout-form legend { font-weight: 700; padding: 0 2px; color: var(--accent); font-family: var(--font-head); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-row:last-child { margin-bottom: 0; }
.form-row label, .checkout-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 600; }
.checkout-form input, .checkout-form textarea, .checkout-form select,
.form-row input, .form-row textarea, .form-row select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-weight: 400; color: var(--text); background: var(--surface); width: 100%; min-width: 0; }
.checkout-form input:focus, .checkout-form textarea:focus,
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); }
.checkout-form .radio { flex-direction: row; align-items: center; gap: 9px; padding: 7px 0; }
.radio input { width: auto; }
.co-item { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 5px 0; color: var(--muted); }

/* ---------- order success / tracking ---------- */
.order-success { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 20px; max-width: 560px; margin: 30px auto; }
.order-success h1 { color: var(--green); }
.order-success .btn { margin: 6px 4px; }
.track-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; max-width: 640px; }
.track-status { display: flex; gap: 6px; margin: 16px 0; }
.track-status span { flex: 1; text-align: center; padding: 9px 4px; background: #eef0f3; color: #9ca3af; border-radius: 8px; font-weight: 700; font-size: 12px; }
.track-status span.done { background: var(--green); color: #fff; }
.track-result { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* ---------- auth ---------- */
.auth-page { display: flex; justify-content: center; padding: 30px 0; }
.auth-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; width: 100%; max-width: 410px; box-shadow: var(--shadow); }
.auth-box h1 { text-align: center; }
.auth-box form { display: flex; flex-direction: column; gap: 13px; }
.auth-box label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 600; }
.auth-box input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.auth-box input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); }
.auth-box p { text-align: center; margin-top: 15px; font-size: 14px; }
.auth-box a { color: var(--primary); font-weight: 700; }

/* ---------- account ---------- */
.account-nav { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.account-nav a { padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--muted); font-family: var(--font-head); font-size: 14px; }
.account-nav a.on, .account-nav a:hover { color: var(--primary); background: var(--primary-soft); }
.account-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.dash-box { text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: .18s; }
.dash-box:hover { border-color: var(--primary); transform: translateY(-2px); }
.dash-box h3 { font-size: 30px; color: var(--primary); }
.dash-box p { color: var(--muted); font-size: 13px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.admin-table th, .admin-table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; font-size: 13.5px; }
.admin-table th { background: var(--accent); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.admin-table small { display: block; color: var(--muted); }
.admin-table tr:nth-child(even) td { background: var(--bg); }

/* ---------- blog (static pages) ---------- */
.post { max-width: 820px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.post h1 { font-size: 28px; }
.post-meta { display: flex; gap: 14px; color: var(--muted); font-size: 13px; margin: 8px 0 16px; }
.post-img { border-radius: var(--radius-sm); margin-bottom: 16px; width: 100%; }
.post-body p { margin-bottom: 14px; line-height: 1.75; }

/* ---------- static pages ---------- */
.page-content { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; max-width: 860px; }
.page-content p { margin-bottom: 12px; }
.page-content h3 { margin: 18px 0 8px; color: var(--primary-dark); }
.page-content ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 13px; }
.contact-form label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 13.5px; }
.contact-form input, .contact-form textarea { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); }
.contact-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-info h3 { margin-bottom: 10px; }
.contact-info p { margin-bottom: 8px; }
.contact-info a { color: var(--primary); }
.map-placeholder { margin-top: 16px; height: 160px; background: #eef0f3; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--muted); }

/* ---------- faq ---------- */
.faq-list { max-width: 760px; }
.shop-faq { margin: 36px 0 8px; }
.shop-faq h2 { margin-bottom: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; }
.faq-item summary { padding: 15px 18px; font-weight: 700; font-family: var(--font-head); cursor: pointer; color: var(--accent); }
.faq-item summary:hover { color: var(--primary); }
.faq-item .faq-a { padding: 0 18px 16px; color: var(--muted); }

/* ---------- categories page ---------- */
.cats-page { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cat-card img { width: 100%; height: 130px; object-fit: cover; }
.cat-card h3 { padding: 14px 16px 4px; font-size: 16px; }
.cat-card h3 a:hover { color: var(--primary); }
.cat-card > a > span { color: var(--muted); font-size: 13px; padding: 0 16px; display: block; }
.cat-card ul { padding: 10px 16px 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-card ul li a { background: var(--bg); padding: 4px 12px; border-radius: 20px; font-size: 12px; color: var(--muted); }
.cat-card ul li a:hover { background: var(--primary-soft); color: var(--primary); }

/* ---------- toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--accent); color: #fff; padding: 13px 24px; border-radius: 10px; font-size: 14px; opacity: 0; transition: .3s; z-index: 999; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1400px) {
  .product-row .card { width: calc((100% - 3 * 24px) / 4); }
  .topbar-right a { padding: 0 14px; }
  .nav-links { gap: 24px; }
  .hero-copy { padding-left: 80px; }
}
@media (max-width: 1200px) {
  .grid-5 { grid-template-columns: repeat(4, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .product-row .card { width: calc((100% - 2 * 24px) / 3); }
  .topbar-left .tb-sep, .topbar-left a.tb-item { display: none; }
  .support { display: none; }
  .loved-grid { grid-template-columns: 1fr 1fr; }
  .spotlight { grid-column: 1 / -1; }
  .brand-circles { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-tile { height: 460px; }
  .promo-big { height: 520px; }
}
@media (max-width: 1024px) {
  .curve-panel { --cut-w: 100%; --cut-h: 96px; padding: 24px; padding-top: 24px; }
  .cp-cut { position: static; width: auto; height: auto; background: none; padding: 0; margin-bottom: 18px; }
  .cp-cut::before, .cp-cut::after { display: none; }
  .cp-tools { position: static; margin-bottom: 22px; flex-wrap: wrap; gap: 14px; }
  .cp-tools .scroll-nav { margin-left: auto; }
  .promo-trio { grid-template-columns: 1fr; }
  .promo-duo { grid-template-columns: 1fr; }
  .hero-slide { height: 540px; }
  .hero-copy { width: 62%; padding-left: 56px; }
  .hero-art { width: 50%; opacity: .9; }
  .fav-row .fav-card { width: calc((100% - 24px) / 2); }
}
@media (max-width: 960px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .cart-layout, .checkout-layout, .account-layout { grid-template-columns: 1fr; }
  .header-actions .hb-txt { display: none; }
  .header-actions { gap: 12px; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .topbar-right { display: none; }
  .topbar-inner { justify-content: center; min-height: 44px; }
  .hamburger { display: flex; }
  .nav-inner { min-height: 64px; gap: 12px; }
  .nav-toggle { height: 46px; font-size: 15px; padding: 0 18px; }
  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 6px 16px; z-index: 96; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--bg); }
  .nav-toggle { width: auto; }
  .mega { width: min(320px, calc(100vw - 32px)); }
  .hero-slide { height: auto; min-height: 520px; flex-direction: column; align-items: stretch; }
  .hero-copy { width: 100%; padding: 40px 28px 0; }
  .hero-art { position: relative; width: 100%; height: 240px; padding: 10px 40px 70px; }
  .hero-arrow { display: none; }
  .loved-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-notch { width: 92%; }
  .footer { margin: 0; border-radius: 32px 32px 0 0; --fr: 36px; --notch: 84px; }
  .home-section, .hero-sec { margin-bottom: 64px; }
}
@media (max-width: 720px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-row .card { width: calc((100% - 14px) / 2); }
  .h-scroller { gap: 14px; }
  .section-title { font-size: 26px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .brand-box { height: 84px; font-size: 18px; }
  .blog-grid { grid-template-columns: 1fr; }
  .fav-row .fav-card { width: 82%; }
  .pdp { grid-template-columns: 1fr; }
  .list-row { grid-template-columns: 100px 1fr; }
  .list-action { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .cats-page { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cat-circles { gap: 18px; }
  .cat-circle { width: 112px; }
  .cc-img { width: 112px; height: 112px; }
  .cc-name { font-size: 14px; }
  .card-foot .btn { font-size: 14px; }
  .mc-img { width: 96px; height: 96px; }
  .promo-tile, .promo-big { height: 440px; }
  .pt-card strong, .pb-card strong { font-size: 20px; }
  .pb-card { padding: 22px; left: 16px; bottom: 16px; width: calc(100% - 32px); }
  .pt-card { left: 16px; bottom: 16px; width: calc(100% - 32px); }
}
@media (max-width: 560px) {
  .header-row { flex-wrap: wrap; gap: 12px; padding: 14px 0; min-height: 0; }
  .search-form { order: 4; flex-basis: 100%; max-width: none; height: 46px; }
  .header-actions { margin-left: auto; }
  .head-acct, .tb-item { font-size: 13px; }
  .hb-ico { width: 42px; height: 42px; }
  .nav-toggle .nt-label { display: none; }
  .curve-panel { padding: 18px 14px; border-radius: 22px; }
  .hero-title { font-size: 30px; }
  .hero-copy { padding: 28px 20px 0; }
  .hero-text { font-size: 15px; margin-bottom: 26px; }
  .cd-pill { font-size: 16px; height: 42px; padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cats-page { grid-template-columns: 1fr; }
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
  .card-title { font-size: 14px; }
  .card { padding: 8px; }
  .wish-btn { width: 36px; height: 36px; }
  .card-foot .btn { height: 36px; padding: 0 8px; }
  .mini-card { flex-direction: row; }
  .brand-circles { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

/* ---------- a11y helpers, breadcrumbs, SEO blocks ---------- */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; }
.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; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: #c4c9d0; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li[aria-current] { color: var(--text); font-weight: 600; }
.seo-intro { background: var(--tint); border-radius: 24px; padding: 36px 40px; }
.seo-intro .section-title { font-size: 26px; margin-bottom: 12px; }
.seo-intro p { color: #343a40; font-size: 16px; line-height: 1.75; max-width: 1100px; }
.center-link { display: flex; justify-content: center; margin-top: 28px; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.flash.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.badge-out { background: #6c757d; color: #fff; display: inline-flex; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }

/* shop extras */
.shop-head { display: block; margin-bottom: 24px; }
.shop-head h1 { font-size: 32px; margin-bottom: 10px; }
.shop-intro { color: #495057; font-size: 15.5px; line-height: 1.7; max-width: 1000px; margin-bottom: 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid #ced4da; border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 600; background: #fff; }
.chip span { color: var(--muted-2); font-weight: 500; margin-left: 4px; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.shop-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.shop-controls > span { color: var(--muted); font-size: 14px; font-weight: 600; margin-right: auto; }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.layout-tog { display: flex; gap: 6px; }
.sb-title { font-size: 15px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.sb-sub { font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
.sb-block li a { display: flex; justify-content: space-between; gap: 8px; }
.sb-block li a span { color: var(--muted-2); font-size: 12px; }
.chk { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 10px; color: var(--muted); }
.pg .ico { width: 16px; height: 16px; }
.pg.gap { border: 0; background: none; }
.brand-box img { max-height: 70px; max-width: 80%; object-fit: contain; }
.brand-grid-lg .brand-box { flex-direction: column; gap: 6px; height: 130px; }
.brand-grid-lg .brand-box small { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 500; }
.brand-grid-lg .brand-box strong { font-size: 20px; }
.cat-card-img { display: block; height: 170px; background: var(--tint); }
.cat-card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 14px; }
.cat-card h2 { padding: 14px 16px 4px; font-size: 18px; }
.search-inline { display: flex; gap: 8px; justify-content: center; margin: 16px 0; }
.search-inline input { padding: 10px 14px; border: 1px solid #ced4da; border-radius: 999px; min-width: 260px; }
.map { width: 100%; height: 260px; border: 0; border-radius: 12px; margin-top: 14px; }

/* product detail extras */
.pdp { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; gap: 40px; }
.pdp-main { background: var(--tint); border-radius: 16px; }
.pdp-main img { mix-blend-mode: multiply; padding: 20px; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-thumbs button { width: 76px; height: 76px; border: 2px solid transparent; border-radius: 10px; background: var(--tint); padding: 4px; }
.pdp-thumbs button.on, .pdp-thumbs button:hover { border-color: var(--primary); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp-brand { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 6px; }
.pdp-brand img { display: block; height: 64px; width: auto; max-width: 300px; object-fit: contain; }
.pdp-info h1 { font-size: 28px; line-height: 1.3; }
.pdp-price { color: var(--accent); }
.pdp-price .price { font-size: 30px; color: var(--primary); }
.pdp-summary { color: #495057; line-height: 1.7; margin: 10px 0 16px; }
.pdp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; background: var(--bg); border-radius: 12px; padding: 16px; margin-bottom: 18px; }
.pdp-facts div { display: flex; flex-direction: column; gap: 2px; }
.pdp-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted-2); }
.pdp-facts dd { font-weight: 600; font-size: 14.5px; }
.pdp-facts dd a { color: var(--primary); }
.pdp-facts dd.in { color: var(--green); }
.pdp-facts dd.out, .stock.out { color: #b42318; }
.pdp-call { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0 16px; }
.pdp-form { flex-direction: column; align-items: stretch; }
.var-pick { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.var-pick select { padding: 11px 12px; border: 1px solid #ced4da; border-radius: 10px; font-size: 15px; }
.var-pick { position: relative; }
.var-select { display: flex; flex-direction: column; gap: 6px; }
/* option buttons (app.js [data-opt-pick]): shown once the script runs; the select then stays only as
   the submitted, still focusable field so the browser's "choose an option" message has an anchor */
.opt-group { display: none; }
.js-pick .opt-group { display: grid; gap: 8px; margin-bottom: 6px; }
.js-pick .var-select { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.opt-name { font-weight: 600; }
.opt-name b { color: var(--primary); }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip { min-width: 52px; padding: 8px 14px; border: 2px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; display: grid; gap: 1px; line-height: 1.25; text-align: center; }
.opt-chip small { font-size: 12px; font-weight: 700; color: var(--primary); }
.opt-chip:hover { border-color: var(--primary); }
.opt-chip[aria-pressed="true"] { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.opt-chip.na { color: var(--muted); border-style: dashed; }
.opt-chip.na:not([aria-pressed="true"]) { text-decoration: line-through; }
.opt-chip.na small { color: var(--muted); }
.qty-row { display: flex; gap: 12px; align-items: center; }
.qty-row label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.qty-row input { width: 74px; padding: 10px; border: 1px solid #ced4da; border-radius: 10px; }
.btn-outline-sm { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ced4da; background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--text); }
.btn-outline-sm .ico { width: 16px; height: 16px; }
.btn-outline-sm:hover, .btn-outline-sm.on { border-color: var(--primary); color: var(--primary); }
.rich { line-height: 1.75; color: #343a40; }
.rich h2 { font-size: 20px; margin: 4px 0 12px; }
.rich h3, .rich h4 { margin: 16px 0 8px; }
.rich p { margin-bottom: 12px; }
.rich ul, .rich ol { padding-left: 22px; margin-bottom: 14px; list-style: disc; }
.rich table { border-collapse: collapse; margin: 12px 0; }
.rich td, .rich th { border: 1px solid var(--line); padding: 8px 12px; }
.rich a { color: var(--primary); }
.ticks { list-style: none !important; padding-left: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin-bottom: 22px !important; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.spec-table th { text-align: left; background: var(--bg); width: 240px; padding: 10px 14px; border: 1px solid var(--line); font-size: 14px; }
.cart-prod small { display: block; color: var(--muted); font-size: 12.5px; }
.cart-summary h2, .checkout-review h2 { font-size: 20px; margin-bottom: 12px; }
.form-row.one { grid-template-columns: 1fr; }
.account-nav form button { width: 100%; text-align: left; padding: 14px 18px; border: 0; background: none; font-weight: 600; color: var(--muted); font-size: 14px; }
.compare-table { overflow-x: auto; }
.compare-table table { border-collapse: collapse; background: #fff; min-width: 600px; }
.compare-table th, .compare-table td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; font-size: 14px; }
.compare-table img { width: 120px; height: 120px; object-fit: contain; }
@media (max-width: 720px) { .ticks, .pdp-facts { grid-template-columns: 1fr; } .pdp { padding: 16px; } .seo-intro { padding: 24px 20px; } }
.hero-slide { background: var(--hero-bg); }
.blog-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.blog-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1200px) { .blog-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .blog-grid.cols-3, .blog-grid.cols-2 { grid-template-columns: 1fr; } }

/* ---------- brand logo slider ---------- */
.brand-slider { position: relative; display: flex; align-items: center; gap: 12px; }
.brand-track { flex: 1; gap: 28px; padding: 6px 2px; }
.brand-track .brand-circle { width: 150px; height: 150px; flex: 0 0 150px; max-width: none; }
.brand-circle.has-logo { border: 1px solid var(--line); background: #fff; padding: 22px; }
.brand-circle.has-logo img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .25s; }
.brand-circle.has-logo:hover img { filter: none; opacity: 1; }
.brand-slider .sc-btn { flex-shrink: 0; }
.brand-slider .sc-prev { background: #e9ecef; color: var(--muted-2); }

/* ---------- blog cards & slider ---------- */
.blog-media { aspect-ratio: 16 / 10 !important; }
.blog-media img { object-fit: contain !important; padding: 12px; }
.blog-card { padding: 18px !important; }
.blog-body { padding-top: 16px !important; gap: 10px !important; }
.blog-body h3 { font-size: 17px !important; }
.blog-row .blog-card { width: calc((100% - 3 * 24px) / 4); }
@media (max-width: 1200px) { .blog-row .blog-card { width: calc((100% - 2 * 24px) / 3); } }
@media (max-width: 900px) { .blog-row .blog-card { width: calc((100% - 24px) / 2); } }
@media (max-width: 560px) { .blog-row .blog-card { width: 84%; } .brand-track .brand-circle { width: 110px; height: 110px; flex-basis: 110px; } }

/* ---------- FAQ (home section + FAQ page) ---------- */
.faq-wrap { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 56px; align-items: start; background: linear-gradient(135deg, var(--tint-1) 0%, #ffffff 55%); border: 1px solid var(--line); border-radius: 28px; padding: 48px; }
.faq-side { position: sticky; top: 100px; }
.faq-kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-soft); color: #b82d25; font-weight: 700; font-size: 13px; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.faq-side .section-title { font-size: 34px; line-height: 1.25; }
.faq-side .section-sub { margin: 12px 0 24px; font-size: 16px; line-height: 1.6; }
.faq-help { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.faq-help .fc-ico { width: 48px; height: 48px; background: var(--primary); color: #fff; }
.faq-help small { display: block; color: var(--muted); font-size: 13px; }
.faq-help strong { font-size: 17px; }
.faq-help a:hover strong { color: var(--primary); }
.faq-wrap .faq-list { max-width: none; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line) !important; border-radius: 16px !important; margin: 0 !important; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--tint-5) !important; box-shadow: 0 10px 28px rgba(var(--primary-rgb), .08); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px !important; font-size: 16px; font-weight: 600 !important; color: var(--text) !important; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #f1f3f5; color: var(--text); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 500; line-height: 1; transition: transform .25s, background .25s, color .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-item summary:hover { color: var(--primary) !important; }
.faq-item .faq-a { padding: 0 22px 20px !important; color: #495057 !important; font-size: 15px; line-height: 1.7; }
.faq-page .faq-wrap { margin-bottom: 20px; }
.section-sub.center { text-align: center; margin: -18px 0 26px; }
@media (max-width: 1100px) { .faq-wrap { grid-template-columns: 1fr; gap: 28px; padding: 32px; } .faq-side { position: static; } }
@media (max-width: 560px) { .faq-wrap { padding: 22px 16px; border-radius: 22px; } .faq-side .section-title { font-size: 26px; } .faq-item summary { padding: 16px !important; font-size: 15px; } .faq-item .faq-a { padding: 0 16px 16px !important; } }

/* admin-uploaded banner photos fill the tile */
.pt-photo { padding: 0 !important; }
.pt-photo img { width: 100% !important; height: 100% !important; object-fit: cover; mix-blend-mode: normal !important; }

/* ---------- content pages ---------- */
.page-hero { background: linear-gradient(120deg, var(--tint-4), var(--tint-2)); border-radius: 24px; padding: 44px 40px; margin-bottom: 28px; }
.page-hero h1 { font-size: 36px; margin-bottom: 6px; }
.page-hero p { color: #495057; font-size: 16px; max-width: 760px; }
.page-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.page-content { max-width: none; }
.page-facts { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; position: sticky; top: 92px; }
.page-facts h2 { font-size: 20px; margin-bottom: 12px; }
.page-facts li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: #343a40; }
.page-facts li:last-child { border-bottom: 0; }
.page-facts strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted-2); margin-bottom: 2px; }
.page-facts a { color: var(--primary); font-weight: 600; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.cc-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: .2s; }
a.cc-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.cc-card .fc-ico { background: var(--primary-soft); color: var(--primary); margin-bottom: 6px; }
.cc-card strong { font-size: 16px; }
.cc-card span:last-child { color: var(--muted); font-size: 14.5px; }
.contact-grid { grid-template-columns: 1fr 1fr; }
.contact-form h2 { font-size: 22px; margin-bottom: 4px; }
.contact-grid .map { height: 100%; min-height: 420px; margin: 0; border-radius: 18px; }
.track-form { max-width: none; }
@media (max-width: 960px) { .page-grid { grid-template-columns: 1fr; } .page-facts { position: static; } .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .page-hero { padding: 28px 20px; } .page-hero h1 { font-size: 26px; } .contact-cards { grid-template-columns: 1fr; } .contact-grid .map { min-height: 280px; } }

/* ---------- mobile: header, drawer, bottom tab bar (sellzy style) ---------- */
html, body { overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
.drawer, .drawer-backdrop, .tabbar { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .topbar-left .tb-item:first-child, .topbar-left .tb-sep, .topbar-right { display: none; }
  .topbar-left .tb-promo { display: inline-flex !important; }
  .topbar-inner { justify-content: center; min-height: 36px; }
  .tb-item { font-size: 13px; }
  .header-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 14px; min-height: 0; }
  .search-form { min-width: 0; }
  .search-form input { width: 100%; }
  .hamburger { display: flex; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; align-items: center; justify-content: center; padding: 0; background: #fff; }
  .hamburger span { width: 18px; }
  .logo { justify-self: center; }
  .logo img { height: 48px; }
  .header-actions { justify-self: end; gap: 0; }
  .head-acct, .head-wish, .hb-txt { display: none !important; }
  .hb-ico { width: 44px; height: 44px; border-radius: 12px; background: #f1f3f5; }
  .hb-ico .badge { background: var(--primary); }
  .cart-mini { display: none !important; }
  .search-form { grid-column: 1 / -1; max-width: none; width: 100%; height: 48px; margin: 0; }
  .main { padding: 20px 16px 96px; }
  .main.home { padding-bottom: 24px; }

  /* drawer */
  .drawer { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); background: #fff; z-index: 1001; transform: translateX(-102%); transition: transform .28s ease; overflow-y: auto; box-shadow: 0 0 40px rgba(0, 0, 0, .18); }
  .drawer.open { transform: none; }
  .drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(20, 24, 34, .35); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
  .drawer-backdrop.show { opacity: 1; }
  .drawer-backdrop[hidden] { display: none; }
  .dr-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
  .dr-head .logo img { height: 44px; }
  .dr-close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f1f3f5; display: flex; align-items: center; justify-content: center; color: var(--muted); }
  .dr-close .ico { width: 18px; height: 18px; }
  .dr-nav { padding: 10px 24px; }
  .dr-item { border-bottom: 1px solid #eef0f2; }
  .dr-row { display: flex; align-items: center; justify-content: space-between; }
  .dr-row a { flex: 1; padding: 13px 0; font-size: 16px; font-weight: 500; color: var(--text); }
  .dr-toggle { width: 36px; height: 36px; border: 0; background: none; color: var(--muted); display: flex; align-items: center; justify-content: center; }
  .dr-toggle .ico { width: 18px; height: 18px; transition: transform .2s; }
  .dr-item.open .dr-toggle .ico { transform: rotate(180deg); }
  .dr-sub { display: none; padding: 0 0 10px 16px; }
  .dr-item.open .dr-sub { display: block; }
  .dr-sub a { display: block; padding: 9px 0; font-size: 15px; color: var(--muted); }
  .dr-sub a:hover, .dr-row a:hover { color: var(--primary); }
  .dr-extra { padding: 18px 24px 30px; border-top: 1px solid var(--line); margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
  .dr-link { display: flex; align-items: center; gap: 14px; font-size: 15.5px; font-weight: 500; }
  .dr-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--tint-3); color: var(--primary); display: flex; align-items: center; justify-content: center; }
  .dr-ico .ico { width: 18px; height: 18px; }
  .dr-follow { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); margin-top: 8px; }
  .dr-social { display: flex; gap: 10px; }
  .dr-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
  .dr-social svg { width: 17px; height: 17px; fill: #fff; }

  /* bottom tab bar */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20, 24, 34, .06); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--text); padding: 4px 0; }
  .tabbar .ico { width: 22px; height: 22px; }
  .tabbar a:hover { color: var(--primary); }
  .tabbar b { position: absolute; top: 0; left: calc(50% + 6px); background: var(--primary); color: #fff; font-size: 10px; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
  .footer { padding-bottom: 70px; }
  .toast { bottom: 90px; }
}
@media (max-width: 560px) {
  .logo img { height: 42px; }
  .hero-slide { min-height: 480px; }
  .home-section, .hero-sec { margin-bottom: 52px; }
  .section-title { font-size: 24px; }
  .section-head { flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
  .section-head .scroll-nav .sc-btn { width: 40px; height: 40px; }
  .curve-panel { padding: 22px 16px; border-radius: 22px; }
  .cp-tools .scroll-nav { display: none; }
  .product-row .card { width: 78%; }
  .grid-5, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { padding: 8px; }
  .card-title { font-size: 14px; min-height: 42px; }
  .card-foot { gap: 6px; padding-top: 10px; }
  .card-foot .btn { height: 36px; font-size: 14px; padding: 0 8px; }
  .wish-btn { width: 36px; height: 36px; }
  .promo-tile, .promo-big { height: 380px; }
  .pt-card, .pb-card { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
  .pt-card strong, .pb-card strong { font-size: 19px; }
  .loved-grid { gap: 14px; }
  .mc-img { width: 92px; height: 92px; }
  .mc-foot { flex-wrap: wrap; }
  .fav-row .fav-card { width: 78%; }
  .fav-img { height: 220px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .f-about-col, .f-contact-col { grid-column: 1 / -1; }
  .f-notch { width: calc(100% - 32px); height: 82px; }
  .nl-form { width: calc(100% - 24px); height: 56px; padding-left: 16px; }
  .nl-form button { height: 42px; padding: 0 14px; font-size: 14px; }
  .nl-form .nl-ico { display: none; }
  .f-newsletter h2 { font-size: 24px; }
}
@media (max-width: 860px) {
  .header-row.container { padding-left: 16px; padding-right: 16px; }
  .brand-slider .sc-btn { display: none !important; }
  .brand-track { gap: 16px; }
}

/* ---------- shop & product page: mobile polish ---------- */
.filter-btn { display: none; align-items: center; gap: 8px; border: 1px solid #ced4da; background: #fff; border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 14px; color: var(--text); }
.filter-btn .ico { width: 18px; height: 18px; }
.sb-head { display: none; }
.price-form .chk input { width: auto; padding: 0; }
.read-more-btn { border: 0; background: none; color: var(--primary); font-weight: 700; font-size: 14px; padding: 0; margin: -8px 0 14px; }
.pdp-sticky { display: none; }
.var-pick { align-items: stretch !important; text-align: left; }
.var-pick select { width: 100%; }
@media (max-width: 960px) {
  .filter-btn { display: inline-flex; }
  .shop-sidebar { position: fixed !important; inset: 0 auto 0 0; width: min(320px, 88vw); z-index: 1001; border-radius: 0; border: 0; overflow-y: auto; transform: translateX(-102%); transition: transform .28s ease; padding: 0 20px 30px; top: 0 !important; }
  .shop-sidebar.open { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, .18); }
  .sb-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; padding: 18px 0 14px; border-bottom: 1px solid var(--line); z-index: 1; }
  .sb-head strong { font-size: 18px; }
  .sb-head .dr-close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f1f3f5; display: flex; align-items: center; justify-content: center; }
  .sb-head .dr-close .ico { width: 18px; height: 18px; }
  .drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(20, 24, 34, .35); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
  .drawer-backdrop.show { opacity: 1; }
  .drawer-backdrop[hidden] { display: none; }
  .shop-layout { display: block; }
  .shop-intro[data-clamp] { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .shop-intro[data-clamp].expanded { display: block; }
}
@media (max-width: 720px) {
  .shop-head h1 { font-size: 26px; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; white-space: nowrap; }
  .shop-controls { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; padding: 10px; }
  .shop-controls > span { grid-column: 2; font-size: 13px; margin: 0; }
  .sort-wrap { grid-column: 1 / -1; grid-row: 2; }
  .sort-wrap select { flex: 1; }
  .layout-tog { grid-column: 3; grid-row: 1; }

  .pdp { padding: 14px; gap: 18px; border-radius: 18px; }
  .pdp-info h1 { font-size: 24px; }
  .pdp-price .price { font-size: 26px; }
  .pdp-facts { padding: 12px; gap: 8px 14px; grid-template-columns: 1fr 1fr; }
  .pdp-facts div:nth-child(n+5) { grid-column: 1 / -1; }
  .qty-row { flex-wrap: nowrap; }
  .qty-row .btn { flex: 1; }
  .pdp-call { flex-direction: column; }
  .pdp-call .btn { width: 100%; }
  .pdp-tabs .tab-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 18px; padding: 0 16px 4px; }
  .pdp-tabs .tab-bar::-webkit-scrollbar { display: none; }
  .pdp-tabs .tab { flex-shrink: 0; white-space: nowrap; }
  .ticks { grid-template-columns: 1fr; }
  .spec-table th { width: 42%; }
  .review-form { grid-template-columns: 1fr; }
  .pdp-related .grid-5 .card:nth-child(n+5) { display: none; }
  .pdp-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 899; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(20, 24, 34, .08); padding: 10px 16px; align-items: center; gap: 12px; transform: translateY(140%); transition: transform .25s; }
  .pdp-sticky.show { transform: none; }
  .pdp-sticky > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .pdp-sticky strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pdp-sticky span { color: var(--primary); font-weight: 700; }
  .pdp-sticky .btn { height: 42px; padding: 0 16px; font-size: 14px; }
  .footer > .container { padding-top: 110px; }
}

/* ---------- cart & checkout ---------- */
.cart-table .c-img { width: 84px; padding-right: 0; }
.cart-table .c-img img { width: 68px; height: 68px; object-fit: contain; border-radius: 10px; background: var(--tint); mix-blend-mode: multiply; }
.cart-table .c-name a { font-weight: 600; color: var(--text); }
.cart-table .c-name a:hover { color: var(--primary); }
.cart-table .c-name small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.cart-table .c-sub { font-weight: 700; }
.qty-step { display: inline-flex !important; align-items: center; gap: 0 !important; border: 1px solid #ced4da; border-radius: 999px; overflow: hidden; background: #fff; }
.qty-step button { width: 34px; height: 36px; border: 0 !important; background: #f8f9fa !important; color: var(--text) !important; font-size: 18px !important; border-radius: 0 !important; }
.qty-step button:hover { background: var(--primary-soft) !important; color: var(--primary) !important; }
.qty-step input { width: 44px !important; height: 36px; border: 0 !important; border-radius: 0 !important; text-align: center; padding: 0 !important; -moz-appearance: textfield; font-weight: 600; }
.qty-step input::-webkit-outer-spin-button, .qty-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rm-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.rm-btn .ico { width: 16px; height: 16px; }
.rm-btn:hover { border-color: #f3c7c3; color: var(--red); background: #fef2f2; }
.co-item { align-items: center; }
.co-item img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--tint); mix-blend-mode: multiply; flex-shrink: 0; }
.co-item span:nth-child(2) { flex: 1; }
.co-item b { color: var(--text); font-weight: 600; }
@media (max-width: 720px) {
  .cart-table { border: 0; background: none; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody { display: block; }
  .cart-table tr.cart-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "img name rm" "img price price" "img qty sub"; gap: 4px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin-bottom: 12px; }
  .cart-table td { padding: 0 !important; border: 0 !important; font-size: 14px; }
  .cart-table .c-img { grid-area: img; width: auto; }
  .cart-table .c-img img { width: 76px; height: 76px; }
  .cart-table .c-name { grid-area: name; font-size: 14.5px; line-height: 1.4; }
  .cart-table .c-price { grid-area: price; color: var(--muted); font-size: 13px; }
  .cart-table .c-qty { grid-area: qty; align-self: end; }
  .cart-table .c-sub { grid-area: sub; align-self: end; justify-self: end; font-size: 16px; }
  .cart-table .c-rm { grid-area: rm; justify-self: end; }
  .coupon-form { margin-top: 4px; }
  .coupon-form input { min-width: 0; }
  .coupon-form .btn { flex-shrink: 0; }
  .cart-summary, .checkout-review { position: static; padding: 18px; border-radius: 18px; }
  .cart-summary .btn { height: 50px; font-size: 16px; }
  .checkout-layout { display: flex; flex-direction: column; }
  .checkout-review { order: -1; }
  .checkout-form fieldset { padding: 16px; border-radius: 18px; }
  .checkout-form .btn-lg { height: 54px; font-size: 16px; }
  .main h1 { font-size: 26px; }
}
@media (max-width: 720px) {
  .cart-table td.c-name, .cart-table td.c-price { display: block !important; }
  .checkout-layout > * { width: 100%; min-width: 0; }
  .checkout-form fieldset { width: 100%; min-width: 0; }
}

/* ---------- hero carousel v3 (sellzy structure: background layer per slide + copy) ---------- */
.hero-carousel { background: var(--slide-bg, var(--hero-bg)) !important; transition: background-color .7s; }
.hero-slide { background: var(--bg, var(--hero-bg)) !important; height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-repeat: no-repeat; transition: transform 1.2s ease; }
.is-cover .hero-bg { background-size: cover; background-position: center; }
.is-product .hero-bg { left: 48%; right: 70px; top: 50px; bottom: 90px; background-size: contain; background-position: center; background-color: var(--bg, var(--hero-bg)); background-blend-mode: multiply; }
.hero-slide.on .hero-bg { transform: scale(1.03); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .15) 45%, transparent 70%); }
.hero-copy { position: relative; z-index: 2; width: 58%; padding: 40px 0 60px 120px; }
.hero-title { color: #000; }
.hero-text { color: rgba(0, 0, 0, .85); }
.hero-kicker { color: #000; }
.is-dark .hero-title, .is-dark .hero-kicker { color: #fff; }
.is-dark .hero-text { color: rgba(255, 255, 255, .88); }
.hero-badge { background: #f6a723; color: #3a2000; box-shadow: 0 4px 14px rgba(246, 167, 35, .35); }
.hero-slide .hero-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.hero-slide.on .hero-copy > * { opacity: 1; transform: none; }
.hero-slide.on .hero-copy > *:nth-child(2) { transition-delay: .12s; }
.hero-slide.on .hero-copy > *:nth-child(3) { transition-delay: .24s; }
.hero-slide.on .hero-copy > *:nth-child(4) { transition-delay: .36s; }
.hero-arrow { background: rgba(255, 255, 255, .5) !important; color: var(--text) !important; }
.hero-arrow:hover { background: var(--primary) !important; color: #fff !important; }
/* white notch rising from the bottom centre (single SVG shape, no seams); the pager pills sit inside it */
.hero-notch { position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); z-index: 4; width: 300px; height: 58px; fill: var(--page); border-radius: 0; background: none; }
.hero-notch::before, .hero-notch::after { display: none; }
.hero-pills { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 5; display: flex; gap: 14px; align-items: center; padding: 0; }
.hero-pill { width: 14px; height: 14px; border-radius: 999px; border: 0; padding: 0; background: #d1d5db; transition: width .45s ease, background .45s ease; }
.hero-pill.on { width: 78px; background: var(--primary-light); }
@media (max-width: 1024px) { .hero-copy { padding-left: 56px; width: 64%; } .is-product .hero-bg { left: 52%; right: 30px; } }
@media (max-width: 860px) {
  .hero-slide { height: 500px !important; min-height: 0 !important; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow: hidden; }
  .hero-copy { width: 100%; padding: 28px 22px 0; }
  .hero-title { font-size: 28px !important; line-height: 1.25; margin-bottom: 12px; }
  .hero-text { font-size: 14.5px; margin-bottom: 20px; max-width: 100%; }
  .hero-kicker { font-size: 14px; }
  .is-product .hero-bg { left: 0; right: 0; top: auto; bottom: 48px; height: 42%; background-size: contain; background-position: center bottom; }
  .is-cover .hero-shade { background: rgba(255, 255, 255, .45); }
  .hero-notch { display: none; }
  .hero-pills { bottom: 16px; }
  .hero-pill.on { width: 48px; }
  .cta-lg { font-size: 15px; padding: 7px 7px 7px 24px; }
  .cta-lg .cta-ico { width: 34px; height: 34px; }
}

/* ---------- product videos, Buy Now, rich summaries ---------- */
.pdp-main { position: relative; }
.pdp-main .pdp-media { display: block; width: 100%; aspect-ratio: 1; border: 0; border-radius: 16px; background: #000; object-fit: contain; }
.pdp-thumbs .is-video { position: relative; background: #111; }
.pdp-thumbs .is-video img, .pdp-thumbs .is-video video { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; border-radius: 6px; opacity: .85; }
.pdp-thumbs .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; }
.pdp-thumbs .play .ico { width: 26px; height: 26px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.buy-now { margin-top: 10px; height: 52px; font-size: 16px; box-shadow: 0 10px 22px rgba(var(--primary-rgb), .25); }
.qty-row .btn-outline { border-width: 2px; }
.pdp-summary.rich p { margin-bottom: 8px; }
.pdp-summary.rich ul { list-style: disc; padding-left: 20px; margin-bottom: 8px; }
.rich iframe, .rich video { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; margin: 10px 0; background: #000; }
.rich img { max-width: 100%; height: auto; border-radius: 10px; }
.rich [style*="text-align: center"] { text-align: center; }

/* category dropdown: the list scrolls inside the viewport; sub-categories open in a panel beside it */
@media (min-width: 861px) {
  .cat-menu { max-height: calc(100vh - 250px) !important; overflow-y: auto !important; overscroll-behavior: contain; scrollbar-width: thin; }
  .cm-item.has-kids:hover > .cm-sub, .cm-item.has-kids:focus-within > .cm-sub { display: none !important; }
  .cm-item.active > a { background: #f8f9fa; color: var(--primary); }
  .cm-flyout { position: absolute; left: 100%; margin-left: 6px; min-width: 250px; max-height: calc(100vh - 250px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgba(20, 24, 34, .12); padding: 8px 0; z-index: 2; }
  .cm-flyout[hidden] { display: none; }
  .cm-flyout a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 20px; font-size: 14.5px; font-weight: 500; color: var(--text); }
  .cm-flyout a:hover { background: #f8f9fa; color: var(--primary); }
  .cm-flyout .cm-count { color: #adb5bd; font-size: 12.5px; }
  .cm-item > a { padding-top: 9px; padding-bottom: 9px; }
}
@media (max-width: 860px) { .cm-flyout { display: none !important; } }

/* ---------- customer account ---------- */
.acct { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; margin: 8px 0 40px; }
.acct-nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: sticky; top: 90px; display: flex; flex-direction: column; gap: 2px; }
.acct-me { display: flex; gap: 12px; align-items: center; padding: 10px 10px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; min-width: 0; }
.acct-me strong { display: block; font-size: 15px; }
.acct-me small { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.acct-nav a, .acct-nav button { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14.5px; background: none; border: 0; width: 100%; text-align: left; cursor: pointer; font-family: inherit; }
.acct-nav .ico { width: 18px; height: 18px; flex: none; }
.acct-nav a:hover, .acct-nav button:hover { background: var(--bg); color: var(--text); }
.acct-nav a.on { background: var(--primary-soft); color: var(--primary); }
.acct-nav form { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 6px; }
.acct-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-width: 0; }
.acct-main h2 { font-size: 22px; margin-bottom: 16px; }
.acct-sub { font-size: 17px; margin: 30px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.acct-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; flex: none; }
.acct-avatar.sm { width: 42px; height: 42px; font-size: 17px; }
.acct-hello { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.acct-hello h2 { margin: 0 0 2px; }
.acct-hello p { color: var(--muted); font-size: 14px; }
.acct-hello .btn { margin-left: auto; }
.acct-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.acct-stats > * { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; transition: .18s; }
.acct-stats a:hover { border-color: var(--primary); }
.acct-stats strong { font-size: 24px; color: var(--text); }
.acct-stats span { color: var(--muted); font-size: 13px; font-weight: 600; }
.acct-live, .acct-box { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.acct-live-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; }
.acct-live-h h3 { font-size: 16px; }
.acct-live-h a { color: var(--primary); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.acct-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; }
.acct-row .acct-box p { color: var(--muted); line-height: 1.6; font-size: 14px; }
.acct-help { color: var(--muted); font-size: 14px; margin: 14px 0; }
.acct-help a, .acct-back { color: var(--primary); font-weight: 600; }
.acct-back { display: inline-block; margin-bottom: 14px; font-size: 14px; }
.acct-empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.acct-empty .ico { width: 44px; height: 44px; color: var(--muted-2); margin-bottom: 10px; }
.acct-empty p { margin-bottom: 16px; }
.acct-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acct-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 10px; border-bottom: 1px solid var(--line); }
.acct-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); }
.acct-table tr:last-child td { border-bottom: 0; }
.acct-table td:last-child { text-align: right; }
.acct-cards { display: none; }
.acct-form { max-width: 640px; }
.acct-form .btn { margin-top: 6px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.ost { display: inline-flex; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eef0f4; color: #4b5563; white-space: nowrap; }
.ost-pending { background: #fef3c7; color: #92400e; }
.ost-confirmed, .ost-packed { background: #dbeafe; color: #1e40af; }
.ost-shipped { background: #e0e7ff; color: #3730a3; }
.ost-delivered { background: #dcfce7; color: #166534; }
.ost-cancelled { background: #fee2e2; color: #991b1b; }
/* order detail + tracking */
.o-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.o-head h2 { margin: 0 0 4px; }
.o-head p { color: var(--muted); font-size: 14px; }
.o-acts { display: flex; gap: 10px; align-items: center; }
.o-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin: 6px 0 20px; padding: 0; counter-reset: s; }
.o-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.o-steps li::before { content: ''; position: absolute; top: 17px; right: 50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.o-steps li:first-child::before { display: none; }
.o-steps li.done::before { background: var(--green); }
.o-steps li span { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 700; color: var(--muted-2); font-size: 14px; }
.o-steps li.done span { background: var(--green); border-color: var(--green); color: #fff; }
.o-steps li.now span { box-shadow: 0 0 0 5px rgba(0, 123, 85, .15); }
.o-steps li span .ico { width: 17px; height: 17px; }
.o-steps b { font-size: 13px; color: var(--muted); }
.o-steps li.done b { color: var(--text); }
.o-cancel { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: 12px; padding: 14px 16px; font-weight: 600; margin-bottom: 18px; }
.o-courier { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; background: var(--primary-soft); border: 1px dashed rgba(var(--primary-rgb), .35); border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; }
.o-courier small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.o-courier strong { font-size: 15px; }
.o-courier .btn { margin-left: auto; }
.o-items { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 18px; }
.o-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.o-item:last-child { border-bottom: 0; }
.o-item img, .o-noimg { width: 60px; height: 60px; object-fit: contain; border-radius: 10px; background: var(--bg); flex: none; }
.o-item > div { flex: 1; min-width: 0; font-size: 14.5px; }
.o-item a { font-weight: 600; }
.o-item small { display: block; color: var(--muted); font-size: 13px; }
.o-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.o-addr small { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.o-addr p { line-height: 1.6; margin-top: 4px; font-size: 14.5px; }
.o-sum p { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; }
.o-sum .tot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 800; font-size: 17px; }
/* addresses */
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.addr-card { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.addr-card.def { border-color: var(--primary); background: var(--tint); }
.addr-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 6px 0 10px; }
.addr-badge { position: absolute; top: 12px; right: 12px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.addr-acts { display: flex; gap: 14px; }
.addr-acts button { background: none; border: 0; padding: 0; color: var(--primary); font-weight: 600; font-size: 13.5px; cursor: pointer; font-family: inherit; }
@media (max-width: 960px) {
  .acct { grid-template-columns: 1fr; gap: 14px; }
  .acct-nav { position: static; flex-direction: row; overflow-x: auto; padding: 6px; scrollbar-width: none; }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-me { display: none; }
  .acct-nav a, .acct-nav button { white-space: nowrap; width: auto; padding: 9px 12px; font-size: 13.5px; }
  .acct-nav form { margin: 0; border: 0; padding: 0; }
  .acct-stats { grid-template-columns: repeat(2, 1fr); }
  .acct-row, .o-foot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .acct-main { padding: 18px 16px; }
  .acct-hello { flex-wrap: wrap; }
  .acct-hello .btn { margin-left: 0; }
  .acct-table { display: none; }
  .acct-cards { display: flex; flex-direction: column; gap: 10px; }
  .acct-ocard { display: flex; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
  .acct-ocard small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
  .acct-ocard > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
  .o-steps b { font-size: 11px; }
  .o-steps li span { width: 30px; height: 30px; font-size: 12px; }
  .o-steps li::before { top: 14px; }
  .o-courier .btn { margin-left: 0; width: 100%; }
  .o-acts { width: 100%; justify-content: space-between; }
}

/* ---------- header & footer builder ---------- */
.topbar { background: var(--tb-bg, var(--primary)); color: var(--tb-fg, #fff); }
.topbar .tb-item, .topbar-right a { color: var(--tb-fg, #fff); }
.tb-social { gap: 10px; }
.tb-social a { display: inline-flex; width: 16px; height: 16px; }
.tb-social svg { width: 16px; height: 16px; fill: currentColor; }
.search-spacer { flex: 1; }
.nav-fill { flex: 1; }
.main-header.is-sticky { position: sticky; top: 0; z-index: 800; }
.footer.no-newsletter { margin-top: 40px; }
.footer.no-newsletter > .container { padding-top: 64px; }
.footer-end { display: flex; justify-content: center; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.f-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.f-bottom-links a { color: inherit; opacity: .85; }
.f-bottom-links a:hover { opacity: 1; color: #fff; }
@media (min-width: 1201px) {
  .footer-grid { display: flex; }
  .footer-grid > .f-col { flex: 1 1 0; min-width: 0; }
  .footer-grid > .f-about-col { flex-grow: 1.4; }
  .footer-grid > .f-contact-col { flex-grow: 1.6; }
}
@media (max-width: 860px) {
  .tabbar { grid-template-columns: repeat(var(--tabs, 5), 1fr); }
}

/* homepage builder: extra section types */
.home-banner a, .home-banner picture { display: block; }
.home-banner img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.home-grid .center-link { margin-top: 22px; }
.review-reply { margin: 10px 0 0 14px; padding: 10px 14px; border-left: 3px solid var(--primary); background: var(--tint); border-radius: 0 10px 10px 0; font-size: 14px; }
.review-reply strong { display: block; font-size: 13px; color: var(--primary); margin-bottom: 2px; }
.pay-note { display: block; color: var(--muted); font-size: 12.5px; margin: 2px 0 0 24px; }
.pay-box { background: var(--tint); border: 1px dashed rgba(var(--primary-rgb), .35); border-radius: 12px; padding: 12px 16px; margin: 12px auto; max-width: 560px; }
.doc-actions { display: grid; gap: 8px; margin-top: 14px; }
.doc-actions .btn { margin-top: 0; }

.quote-bar { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; background: #161b26; padding: 10px 16px; margin: -34px -16px 22px; }
.quote-bar a, .quote-bar button { border: 0; border-radius: 8px; background: var(--primary); color: #fff; padding: 9px 16px; font: inherit; font-weight: 700; cursor: pointer; }
.quote-bar a:last-child { background: #2b3240; }
.quote-page { max-width: 960px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.quote-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; border-bottom: 3px solid var(--primary); padding-bottom: 16px; }
.quote-head img { height: 58px; width: auto; }
.quote-head div { text-align: right; color: var(--muted); font-size: 13px; }
.quote-head strong, .quote-head span { display: block; }
.quote-head strong { color: var(--text); font-size: 18px; }
.quote-title { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin: 24px 0 18px; }
.quote-title h1 { color: var(--primary); text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.quote-title table { color: var(--muted); font-size: 13px; }
.quote-title td { padding: 2px 0 2px 16px; }
.quote-title td:last-child { color: var(--text); font-weight: 700; }
.quote-items { width: 100%; border-collapse: collapse; }
.quote-items th { background: var(--accent); color: #fff; text-align: left; padding: 10px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.quote-items td { border-bottom: 1px solid var(--line); padding: 11px 12px; vertical-align: top; }
.quote-items small { display: block; color: var(--muted); margin-top: 2px; }
.quote-items .r { text-align: right; }
.quote-items .q-prod .q-prod-in { display: flex; gap: 10px; align-items: flex-start; }
.quote-items .q-prod img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; }
.quote-total { max-width: 340px; margin: 18px 0 0 auto; }
.quote-total p { display: flex; justify-content: space-between; gap: 18px; padding: 7px 12px; }
.quote-total .grand { background: var(--primary); color: #fff; border-radius: 8px; font-size: 17px; }
.quote-note { margin-top: 24px; color: var(--muted); font-size: 13px; }
@media print {
  .quote-bar, .topbar, .main-header, .nav, .footer, .f-newsletter, .drawer, .drawer-backdrop, .tabbar { display: none !important; }
  .main { padding: 0 !important; }
  .quote-page { border: 0; box-shadow: none; border-radius: 0; padding: 0; max-width: none; }
  @page { size: A4; margin: 12mm; }
}
@media (max-width: 720px) {
  .quote-bar { margin-top: -20px; }
  .quote-page { padding: 20px 14px; border-radius: 16px; }
  .quote-head, .quote-title { flex-direction: column; align-items: flex-start; }
  .quote-head div { text-align: left; }
  .quote-items { font-size: 13px; }
  .quote-items th, .quote-items td { padding: 8px 7px; }
}

/* Build Quotation — budget bar, item picker, live list, send card */
.qb-page { max-width: 1100px; margin: 0 auto; }
.qb-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.qb-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.qb-budget { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: var(--primary-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; }
.qb-budget label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 13.5px; flex: 1; min-width: 200px; }
.qb-budget small { color: var(--muted); font-weight: 400; }
.qb-budget input { max-width: 220px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; font-weight: 700; background: #fff; }
.qb-remaining { font-size: 14.5px; padding: 7px 13px; border-radius: 999px; white-space: nowrap; }
.qb-remaining.qb-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.qb-remaining.qb-over { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.qb-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 16px; background: #fff; margin-bottom: 12px; }
.qb-search svg { color: var(--muted); flex: 0 0 auto; }
.qb-search input { flex: 1; border: 0; padding: 9px 0; font-size: 14.5px; background: transparent; }
.qb-search input:focus { outline: none; }
.qb-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); }
.qb-res { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; background: #fff; }
.qb-res-row { display: flex; align-items: center; gap: 12px; padding: 9px 13px; border-bottom: 1px solid var(--line); }
.qb-res-row:last-child { border-bottom: 0; }
.qb-res-name { flex: 1; color: var(--text); font-weight: 600; font-size: 14px; }
.qb-res-name:hover { color: var(--primary); }
.qb-res-price { font-weight: 700; color: var(--primary); white-space: nowrap; font-size: 14px; }
.qb-none { padding: 13px; color: var(--muted); font-size: 14px; margin: 0; }
.qb-suggest h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 6px 0 8px; }
.qb-empty td { color: var(--muted); text-align: center; padding: 26px 12px; }
/* quantity control — same look as .qty-step but scoped, so the global cart stepper wiring
   (native form submit to /cart) never touches this page; app.js drives these instead */
.qb-step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qb-step button { width: 32px; height: 34px; border: 0; background: #f8f9fa; color: var(--text); font-size: 17px; border-radius: 0; }
.qb-step button:hover { background: var(--primary-soft); color: var(--primary); }
.qb-step input { width: 42px; border: 0; text-align: center; font-weight: 600; padding: 0; }
.qb-step input::-webkit-outer-spin-button, .qb-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qb-step input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.qb-step noscript button { width: auto; padding: 0 11px; font-size: 12.5px; font-weight: 700; }
.qb-rm-form { display: inline-block; margin-left: 7px; vertical-align: middle; }
.qb-side { display: flex; flex-direction: column; gap: 12px; }
.qb-send textarea { resize: vertical; font-family: inherit; font-size: 13.5px; line-height: 1.55; background: #f8f9fa; }
#qbNote { border-style: dashed; }
@media (max-width: 900px) {
  /* minmax(0,1fr): plain 1fr pins to the table's min-content (~400px) and the
     column overflows the page (html clips it silently) */
  .qb-grid { grid-template-columns: minmax(0, 1fr); }
  .qb-main { padding: 16px 13px; }
  .qb-budget input { max-width: none; }
}

/* phones: the 5-column row (serial, product, qty, unit price, amount) cannot fit —
   turn each row into a card: product block on top, qty / unit / amount below */
@media (max-width: 640px) {
  .quote-items thead { display: none; }
  .quote-items tr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; border-bottom: 1px solid var(--line); padding: 12px 2px; }
  .quote-items td { display: block; border: 0; padding: 0; }
  .quote-items td:first-child { flex: 0 0 auto; font-weight: 700; color: var(--muted); }
  .quote-items .q-prod { flex: 1 1 calc(100% - 30px); }
  .quote-items td.r { text-align: left; }
  .quote-items td:nth-child(4) { color: var(--muted); }
  .quote-items td:nth-child(4)::before { content: "Unit "; }
  .quote-items td:nth-child(5) { margin-left: auto; font-weight: 700; }
  .quote-items tr[hidden] { display: none; } /* flex above would defeat the [hidden] empty row */
  .quote-items .qb-empty td { flex: 1 1 100%; text-align: center; padding: 22px 4px; color: var(--muted); font-weight: 400; }
}

/* phones: a near-full-width notch left only thin dark "horns" at the edges. Drop the cut-out and
   sit the newsletter pill inside the top of the rounded footer instead. */
@media (max-width: 720px) {
  .f-notch { position: relative; left: auto; top: 0; transform: none; width: auto; height: auto; background: transparent; border-radius: 0; padding: 28px 16px 0; }
  .f-notch::before, .f-notch::after { display: none; }
  .nl-form { top: 0; width: 100%; box-shadow: none; border-color: transparent; }
  .footer > .container { padding-top: 32px; }
  .footer.no-newsletter > .container { padding-top: 40px; }
  /* .contact-grid's two-column rule above overrode the earlier mobile one-column rule */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid .map { min-height: 300px; }
}

/* campaigns (Admin → Campaigns): card badge and product-page offer line */
.badge-campaign { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: #fff; }
.pdp-campaign { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 10px; padding: 6px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; font-size: 14px; }
.pdp-campaign .ico { width: 16px; height: 16px; }

/* bundles: what's inside, on the product page */
.pdp-bundle { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin: 6px 0 16px; background: var(--surface); }
.pdp-bundle h2 { font-size: 16px; margin-bottom: 10px; }
.pdp-bundle ul { display: grid; gap: 8px; }
.pdp-bundle li a { display: flex; align-items: center; gap: 12px; color: var(--text); }
.pdp-bundle li img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; flex-shrink: 0; }
.pdp-bundle li span { flex: 1; min-width: 0; font-size: 14.5px; }
.pdp-bundle li em { font-style: normal; color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.pdp-bundle-save { margin-top: 10px; font-weight: 600; color: var(--green); font-size: 14px; }

/* landing pages with "hide header & footer" (Admin → Landing pages) */
body:has(.lp-bare) .topbar, body:has(.lp-bare) .main-header, body:has(.lp-bare) .nav,
body:has(.lp-bare) .f-newsletter, body:has(.lp-bare) .footer, body:has(.lp-bare) .tabbar { display: none; }

/* ---------- campaign landing pages (components/landing.tsx) ---------- */
.lp-sec { padding: 56px 0; }
.lp-narrow { max-width: 860px; }
.lp-title { font-family: var(--font-head); font-size: clamp(24px, 3vw, 36px); line-height: 1.25; text-align: center; margin: 0 0 10px; color: var(--text); }
.lp-sub { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 640px; }
.lp-hero { background: var(--lp-c, var(--hero-bg)); padding: 40px 0 48px; }
.lp-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.lp-badge { display: inline-block; background: var(--sale); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.lp-hero h1 { font-family: var(--font-head); font-size: clamp(30px, 4.4vw, 54px); line-height: 1.15; margin: 0 0 14px; color: var(--text); }
.lp-lead { font-size: 17px; line-height: 1.6; color: var(--text); opacity: .85; margin: 0 0 22px; max-width: 560px; }
.lp-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.lp-price-row strong { font-size: clamp(28px, 3.4vw, 40px); color: var(--primary); }
.lp-price-row del, .lp-opt-price del, .lp-card-price del { color: var(--muted); font-weight: 500; margin-left: 8px; font-size: .8em; }
.lp-save { background: var(--surface); color: var(--sale); border: 1px solid var(--line); font-weight: 700; padding: 4px 10px; border-radius: 999px; font-size: 14px; }
.lp-countdown { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; margin-bottom: 22px; font-weight: 600; }
.lp-countdown b { font-size: 20px; color: var(--sale); font-variant-numeric: tabular-nums; }
.lp-cta { min-width: 220px; justify-content: center; }
.lp-hero-media img { width: 100%; max-height: 520px; object-fit: contain; border-radius: var(--radius); }
.lp-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.lp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.lp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.lp-card-img { position: relative; aspect-ratio: 1; background: var(--bg); border-radius: calc(var(--radius) - 4px); overflow: hidden; }
.lp-card-img img { width: 100%; height: 100%; object-fit: contain; }
.lp-off { position: absolute; top: 10px; left: 10px; background: var(--sale); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.lp-card h3 { font-size: 18px; margin: 4px 0 0; }
.lp-card-sum { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }
.lp-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.lp-card-price { font-size: 20px; font-weight: 800; color: var(--primary); }
.lp-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.lp-ticks li { display: flex; gap: 8px; align-items: flex-start; }
.lp-ticks .ico { flex: none; width: 18px; height: 18px; color: var(--green); margin-top: 1px; }
.lp-ticks-lg { font-size: 17px; gap: 14px; max-width: 620px; margin: 0 auto; }
.lp-features { background: var(--lp-c, var(--bg)); }
.lp-features-in.has-img { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.lp-features-in.has-img .lp-title, .lp-features-in.has-img .lp-sub { text-align: left; }
.lp-features-in img { width: 100%; border-radius: var(--radius); }
.lp-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.lp-review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.lp-review blockquote { margin: 10px 0; line-height: 1.6; }
.lp-review figcaption { font-weight: 700; }
.lp-order { background: var(--lp-c, var(--bg)); scroll-margin-top: 12px; }
.lp-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.lp-pick { border: 0; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.lp-pick legend { font-weight: 700; margin-bottom: 10px; }
.lp-opt { border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; }
.lp-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.lp-opt-main { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.lp-opt-main img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: var(--bg); flex: none; }
.lp-opt-txt { display: grid; gap: 2px; }
.lp-opt-price { color: var(--primary); font-weight: 800; }
.lp-single .lp-opt-main input { display: none; }
.lp-vars { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-vars legend { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; padding: 0; }
.lp-opt:not(:has(input[name="product"]:checked)) .lp-vars { display: none; }
.lp-var { position: relative; cursor: pointer; }
.lp-var input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lp-var span { display: grid; gap: 1px; min-width: 76px; padding: 8px 12px; border: 2px solid var(--line); border-radius: 10px; background: var(--surface); text-align: center; line-height: 1.25; }
.lp-var small { color: var(--primary); font-weight: 700; font-size: 12px; }
.lp-var small del { color: var(--muted); font-weight: 500; margin-left: 4px; }
.lp-var input:checked + span { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.lp-var input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.lp-var.out { cursor: not-allowed; opacity: .55; }
.lp-var.out b { text-decoration: line-through; }
.lp-var.out small { color: var(--muted); font-weight: 500; }
.lp-card-vars { display: grid; gap: 6px; font-size: 13px; }
.lp-card-vars em { font-style: normal; color: var(--text); }
.lp-vars .opt-group { flex-basis: 100%; }
.lp-multi.js-pick .lp-var { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lp-multi.js-pick legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lp-vars { position: relative; }
.lp-card-vars > span { font-weight: 700; color: var(--muted); }
.lp-card-vars > div { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; background: var(--surface); }
.lp-chip small { color: var(--primary); font-weight: 700; }
.lp-chip:hover { border-color: var(--primary); }
.lp-chip.out { color: var(--muted); }
.lp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-fields label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.lp-fields .wide { grid-column: 1 / -1; }
.lp-fields input, .lp-fields select, .lp-fields textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); min-height: 46px; }
.lp-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; width: max-content; }
.lp-qty button { width: 44px; height: 46px; border: 0; background: var(--bg); font-size: 20px; cursor: pointer; color: var(--text); }
.lp-qty input { width: 64px; text-align: center; border: 0 !important; border-radius: 0 !important; }
.lp-sum { margin: 20px 0 16px; border-top: 1px dashed var(--line); padding-top: 14px; display: grid; gap: 6px; }
.lp-sum p { display: flex; justify-content: space-between; margin: 0; }
.lp-sum .lp-grand { font-size: 20px; font-weight: 800; color: var(--primary); }
.lp-submit { font-size: 18px; padding: 16px; justify-content: center; }
.lp-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 14px; margin: 12px 0 0; text-align: center; }
.lp-sticky { display: none; }
@media (max-width: 860px) {
  .lp-hero-in, .lp-features-in.has-img { grid-template-columns: 1fr; gap: 24px; }
  .lp-hero-copy { text-align: center; }
  .lp-lead { margin-left: auto; margin-right: auto; }
  .lp-price-row { justify-content: center; }
  .lp-hero-media { order: -1; }
  .lp-sec { padding: 40px 0; }
  .lp-fields { grid-template-columns: 1fr; }
  .lp-form { padding: 18px; }
  .lp-sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; justify-content: center; align-items: center; min-height: 52px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; font-size: 17px; box-shadow: var(--shadow-lg); }
  body:has(.lp-sticky) .tabbar { display: none; }
  body:has(.lp-sticky) { padding-bottom: 76px; }
}
