/* =========================================================================
   Layerline storefront styles
   Brand: deep black + Layerline orange (accent is editable in Admin → Settings)
   ========================================================================= */
:root {
  --accent: #fc7600;
  --accent-ink: #ffffff;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --bg: #f5f2ed;
  --surface: #ffffff;
  --surface-2: #eeeae3;
  --ink: #121214;
  --ink-2: #34343a;
  --muted: #6c6c74;
  --line: #e2ddd4;
  --dark: #0c0c0e;
  --dark-2: #151518;
  --dark-3: #1f1f23;
  --dark-line: #2a2a30;
  --success: #1f8a4c;
  --danger: #c7362b;
  --warning: #b7791f;
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(18, 18, 20, 0.06);
  --shadow: 0 1px 2px rgba(18, 18, 20, 0.04), 0 10px 30px -10px rgba(18, 18, 20, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(18, 18, 20, 0.35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Saira', 'Inter', system-ui, sans-serif;
  --container: 1260px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-stretch: 108%; font-family: var(--display); line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-style: italic; font-size: 0.8rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: currentColor; box-shadow: 0 6px 0 -0.5px currentColor; transform: translateY(-3px); opacity: 0.9; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 560px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: 0.95rem; line-height: 1;
  cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
.btn:active { transform: translateY(0); }
.btn-accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); }
.btn-accent:hover { box-shadow: 0 12px 28px -10px var(--accent); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn-ghost-light { --btn-bg: rgba(255, 255, 255, 0.08); --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 0.85rem; }
.btn-lg { padding: 18px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }
.link { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Announcement + header ---------- */
.announcement { background: var(--accent); color: #111; font-size: 0.85rem; font-weight: 700; text-align: center; padding: 9px 16px; letter-spacing: 0.01em; }
.announcement a { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(12, 12, 14, 0.94); backdrop-filter: saturate(180%) blur(14px); color: #fff; border-bottom: 1px solid var(--dark-line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.main-nav > a, .nav-drop > button { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 0.94rem; color: rgba(255, 255, 255, 0.82); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: color 0.15s, background 0.15s; }
.main-nav > a:hover, .nav-drop > button:hover, .main-nav > a.active { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-drop { position: relative; }
.mega { position: absolute; top: calc(100% + 14px); left: -20px; width: min(720px, 80vw); background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s var(--ease); }
.mega::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-drop:hover .mega, .nav-drop:focus-within .mega, .nav-drop.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius-sm); transition: background 0.15s; }
.mega a:hover { background: var(--bg); }
.mega img, .mega .mega-ph { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--surface-2); flex: none; }
.mega strong { display: block; font-size: 0.92rem; line-height: 1.2; }
.mega small { color: var(--muted); font-size: 0.78rem; }
.mega .mega-all { grid-column: 1 / -1; justify-content: center; background: var(--ink); color: #fff; font-weight: 700; margin-top: 6px; }
.mega .mega-all:hover { background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; color: rgba(255, 255, 255, 0.88); background: none; border: 0; cursor: pointer; transition: background 0.15s, color 0.15s; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.icon-btn .count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--dark); }
.icon-btn .count:empty, .icon-btn .count[data-count='0'] { display: none; }
.header-search { position: relative; }
.header-search input { width: 220px; height: 42px; border-radius: 999px; border: 1px solid var(--dark-line); background: var(--dark-3); color: #fff; padding: 0 16px 0 42px; transition: width 0.25s var(--ease), border-color 0.2s; }
.header-search input::placeholder { color: rgba(255, 255, 255, 0.45); }
.header-search input:focus { width: 280px; border-color: var(--accent); outline: none; }
.header-search .icon { position: absolute; left: 14px; top: 11px; color: rgba(255, 255, 255, 0.5); pointer-events: none; }
.menu-toggle { display: none; }
.admin-pill { font-size: 0.75rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #fff; margin-right: 6px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity 0.25s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); background: var(--dark); color: #fff; transform: translateX(-100%); transition: transform 0.3s var(--ease); padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-head img { height: 40px; width: auto; }
.drawer a.d-link { padding: 13px 14px; border-radius: 12px; font-weight: 600; display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.9); }
.drawer a.d-link:hover { background: var(--dark-3); }
.drawer .d-sub { padding-left: 26px; font-weight: 500; font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); }
.drawer .d-label { font-family: var(--display); font-style: italic; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.72rem; color: var(--accent); margin: 14px 14px 4px; font-weight: 700; }
.drawer form { margin: 6px 0 10px; }
.drawer input { width: 100%; height: 46px; border-radius: 999px; border: 1px solid var(--dark-line); background: var(--dark-3); color: #fff; padding: 0 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 85% 10%, color-mix(in srgb, var(--accent) 32%, transparent), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%);
}
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px); mask-image: linear-gradient(180deg, #000 30%, transparent); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 96px) 20px clamp(56px, 8vw, 112px); }
.hero h1 { font-stretch: 115%; font-style: italic; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 0.98; letter-spacing: -0.025em; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(255, 255, 255, 0.72); max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--accent); width: 18px; height: 18px; }
.hero-visual { position: relative; }
.hero-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55)); }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.96); color: var(--ink); padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow-lg); font-size: 0.85rem; line-height: 1.25; animation: floaty 6s ease-in-out infinite; }
.float-card strong { display: block; font-size: 0.95rem; }
.float-card .fc-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.float-card.fc-1 { left: -28px; top: 14%; }
.float-card.fc-2 { right: -18px; bottom: 16%; animation-delay: -3s; }
.hero-layers { position: absolute; right: -40px; top: -40px; width: 160px; opacity: 0.9; z-index: -1; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee { background: var(--accent); color: #111; overflow: hidden; border-block: 1px solid rgba(0, 0, 0, 0.1); }
.marquee-track { display: flex; gap: 48px; width: max-content; padding: 16px 0; animation: marquee 38s linear infinite; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.05rem; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee-track span::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #111; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-grid.four { grid-template-columns: repeat(4, 1fr); }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--dark-2); color: #fff; display: flex; align-items: flex-end; isolation: isolate; box-shadow: var(--shadow-sm); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s var(--ease); }
.cat-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.78)); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile .cat-body { padding: 16px; width: 100%; }
.cat-tile h3 { font-size: 1.35rem; margin: 0 0 2px; }
.cat-tile .cat-body { padding: 20px 22px; }
.cat-tile small { color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; }
.cat-tile .cat-arrow { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); display: grid; place-items: center; transform: scale(0.8) rotate(-45deg); opacity: 0; transition: 0.3s var(--ease); }
.cat-tile:hover .cat-arrow { opacity: 1; transform: none; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media img { transform: scale(1.04); }
.card-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: repeating-linear-gradient(0deg, var(--surface-2) 0 6px, #e6e1d9 6px 7px); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em; background: var(--ink); color: #fff; }
.badge-accent { background: var(--accent); color: var(--accent-ink); }
.badge-sale { background: #e0362c; color: #fff; }
.badge-soft { background: var(--accent-soft); color: var(--accent); }
.badge-muted { background: var(--surface-2); color: var(--ink-2); }
.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.95); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), color 0.2s; }
.wish-btn:hover { transform: scale(1.1); }
.wish-btn.saved { color: #e0362c; }
.wish-btn.saved svg { fill: currentColor; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat { font-size: 0.75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.card-title { font-family: var(--display); font-weight: 700; font-size: 1.08rem; line-height: 1.2; margin: 0; }
.card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 800; font-size: 1.08rem; display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price small { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.price s { color: var(--muted); font-weight: 500; font-size: 0.9rem; }
.price .sale { color: #d6332a; }
.card-go { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; transition: background 0.2s, color 0.2s, transform 0.3s var(--ease); }
.card:hover .card-go { background: var(--accent); color: #fff; transform: rotate(-45deg); }
.stars { display: inline-flex; align-items: center; gap: 2px; color: #f5a524; }
.stars svg { width: 15px; height: 15px; }
.stars .off { color: #d9d4cb; }
.stars-text { font-size: 0.8rem; color: var(--muted); margin-left: 4px; }

/* ---------- Feature bands ---------- */
.dark-band { background: var(--dark); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.dark-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 7px); }
.dark-band .muted { color: rgba(255, 255, 255, 0.62); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 26px 22px; position: relative; transition: border-color 0.3s, transform 0.3s var(--ease); }
.step:hover { border-color: var(--accent); transform: translateY(-4px); }
.step::before { counter-increment: step; content: '0' counter(step); position: absolute; top: 18px; right: 20px; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18); }
.step .step-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: rgba(255, 255, 255, 0.66); font-size: 0.93rem; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .tag { position: absolute; left: 18px; bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--accent); margin-top: 3px; }

.materials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.material { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--m, var(--accent)); }
.material h3 { margin-bottom: 4px; }
.material .m-tag { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.material p { color: var(--ink-2); font-size: 0.93rem; margin: 12px 0 14px; }
.meter { display: grid; grid-template-columns: 90px 1fr; gap: 6px 12px; font-size: 0.8rem; align-items: center; color: var(--muted); }
.meter span:nth-child(even) { height: 6px; border-radius: 6px; background: var(--surface-2); position: relative; overflow: hidden; }
.meter span:nth-child(even)::after { content: ''; position: absolute; inset: 0; width: var(--v); background: var(--m, var(--accent)); border-radius: inherit; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk .perk-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.perk strong { display: block; font-family: var(--display); font-size: 1.02rem; }
.perk span { font-size: 0.88rem; color: var(--muted); }

.cta-banner { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); background: var(--accent); color: #111; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.cta-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-55deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 22px); }
.cta-banner h2 { margin-bottom: 10px; }
.cta-banner p { margin: 0; font-size: 1.05rem; color: rgba(0, 0, 0, 0.75); }

/* Reviews strip */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.review-card blockquote { margin: 0; font-size: 1rem; color: var(--ink-2); }
.review-card footer { margin-top: auto; font-size: 0.85rem; color: var(--muted); }
.review-card footer a { color: var(--ink); font-weight: 600; }

/* FAQ / accordion */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-family: var(--display); font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform 0.25s var(--ease); color: var(--accent); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 18px; color: var(--ink-2); }
.faq-item .faq-a p:last-child { margin: 0; }

/* Newsletter */
.newsletter { background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.newsletter::before { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 45%, transparent), transparent); z-index: -1; }
.newsletter h2 { margin-bottom: 8px; }
.newsletter p { color: rgba(255, 255, 255, 0.7); margin: 0; }
.inline-form { display: flex; gap: 8px; background: var(--dark-3); padding: 6px; border-radius: 999px; border: 1px solid var(--dark-line); }
.inline-form input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 16px; outline: none; }
.inline-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.form-note { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.72); padding: 72px 0 28px; margin-top: 0; border-top: 4px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-grid h4 { color: #fff; font-size: 0.82rem; font-style: italic; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.94rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.94rem; max-width: 340px; }
.footer-contact { display: grid; gap: 8px; font-size: 0.94rem; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: 10px; align-items: center; }
.footer-contact .icon { color: var(--accent); width: 18px; height: 18px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--dark-3); display: grid; place-items: center; color: #fff; transition: background 0.2s; }
.socials a:hover { background: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid var(--dark-line); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; }
.footer-bottom .pay { display: inline-flex; gap: 8px; align-items: center; }
.footer-bottom .pay span { border: 1px solid var(--dark-line); border-radius: 8px; padding: 4px 10px; font-size: 0.75rem; font-weight: 700; color: rgba(255, 255, 255, 0.8); }

/* ---------- Page header / breadcrumbs ---------- */
.page-hero { background: var(--dark); color: #fff; padding: 56px 0 52px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 90% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 7px); }
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { color: rgba(255, 255, 255, 0.7); margin: 0; max-width: 640px; }
.crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.page-hero .crumbs { color: rgba(255, 255, 255, 0.55); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: 0.5; }

/* ---------- Listing ---------- */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); display: grid; gap: 22px; }
.filters h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 10px; font-style: italic; }
.filter-links { display: grid; gap: 2px; }
.filter-links a { padding: 8px 12px; border-radius: 10px; font-size: 0.93rem; display: flex; justify-content: space-between; color: var(--ink-2); }
.filter-links a:hover { background: var(--bg); }
.filter-links a.active { background: var(--ink); color: #fff; font-weight: 600; }
.filter-links a small { color: inherit; opacity: 0.6; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.listing-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.listing-bar .count { color: var(--muted); font-size: 0.93rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.filter-toggle { display: none; }
.empty { text-align: center; padding: 64px 20px; background: var(--surface); border-radius: var(--radius); }
.empty .icon-lg { margin: 0 auto 14px; color: var(--accent); width: 48px; height: 48px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; display: grid; place-items: center; background: var(--surface); font-weight: 600; font-size: 0.92rem; }
.pagination .current { background: var(--ink); color: #fff; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label, .label { font-weight: 600; font-size: 0.88rem; color: var(--ink-2); }
.field .hint { font-size: 0.8rem; color: var(--muted); }
.field .error-text { font-size: 0.8rem; color: var(--danger); font-weight: 600; }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--surface); transition: border-color 0.15s, box-shadow 0.15s; appearance: none; -webkit-appearance: none;
}
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236c6c74' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.has-error .input { border-color: var(--danger); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 2px; flex: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.card-panel { background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.card-panel h2, .card-panel h3 { margin-bottom: 16px; }
.dropzone { display: block; border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; background: var(--bg); cursor: pointer; transition: border-color 0.2s, background 0.2s; position: relative; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--accent-soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .icon-lg { margin: 0 auto 10px; color: var(--accent); }
.dropzone .dz-file { font-weight: 700; color: var(--ink); }

/* ---------- Alerts / flash ---------- */
.flash-stack { position: fixed; top: calc(var(--header-h) + 16px); right: 16px; z-index: 80; display: grid; gap: 10px; width: min(420px, calc(100vw - 32px)); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg); border-left: 5px solid var(--ink); font-size: 0.93rem; animation: slidein 0.35s var(--ease); }
.alert-success { border-color: var(--success); }
.alert-error { border-color: var(--danger); }
.alert-info { border-color: var(--accent); }
.alert .icon { margin-top: 1px; }
.alert-success .icon { color: var(--success); }
.alert-error .icon { color: var(--danger); }
.alert-info .icon { color: var(--accent); }
.alert button { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--muted); padding: 0; }
.alert.hide { opacity: 0; transform: translateX(20px); transition: 0.3s; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--ink); font-size: 0.93rem; display: flex; gap: 12px; align-items: flex-start; }
.notice .icon { color: var(--accent); margin-top: 2px; }
.notice-error { background: #fdecea; }
.notice-error .icon { color: var(--danger); }
@keyframes slidein { from { opacity: 0; transform: translateY(-10px); } }

/* Toast (add to cart) */
.toast { position: fixed; z-index: 95; right: 20px; bottom: 20px; width: min(380px, calc(100vw - 40px)); background: var(--dark); color: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-lg); transform: translateY(140%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0s linear 0.4s; }
.toast.show { transform: none; visibility: visible; transition: transform 0.4s var(--ease); }
.toast-head { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 10px; }
.toast-head .icon { color: var(--accent); }
.toast .ship-progress { margin: 6px 0 14px; }
.toast .toast-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toast-close { position: absolute; top: 12px; right: 12px; background: none; border: 0; color: rgba(255, 255, 255, 0.6); cursor: pointer; }

/* Free shipping progress */
.ship-progress { font-size: 0.88rem; }
.ship-progress .bar { height: 8px; border-radius: 8px; background: rgba(127, 127, 127, 0.2); overflow: hidden; margin-top: 8px; }
.ship-progress .bar span { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #ffd000)); border-radius: inherit; transition: width 0.6s var(--ease); }
.ship-progress strong { color: var(--accent); }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s ease-out; }
.gallery-main.zoom img { transform: scale(1.8); }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: none; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--surface); opacity: 0.7; transition: 0.2s; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--accent); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.p-info h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 12px; }
.p-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; font-size: 0.9rem; }
.p-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.p-price .now { font-family: var(--display); font-size: 2.1rem; font-weight: 800; }
.p-price s { color: var(--muted); font-size: 1.15rem; }
.p-price .now.sale { color: #d6332a; }
.p-short { font-size: 1.08rem; color: var(--ink-2); margin-bottom: 24px; }
.opt-group { margin-bottom: 20px; border: 0; padding: 0; }
.opt-group legend { font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; padding: 0; }
.opt-group legend span { color: var(--muted); font-weight: 500; }
.opt-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-choice { position: relative; }
.opt-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-choice span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: 0.15s; }
.opt-choice span em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 0.82rem; }
.opt-choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt-choice input:checked + span em { color: rgba(255, 255, 255, 0.7); }
.opt-choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.15); background: var(--sw); flex: none; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin: 26px 0 18px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { width: 44px; height: 52px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; font-weight: 700; }
.qty input { width: 40px; text-align: center; border: 0; background: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; }
.wish-inline { width: 54px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.wish-inline.saved { color: #e0362c; border-color: #e0362c; }
.wish-inline.saved svg { fill: currentColor; }
.assurances { display: grid; gap: 10px; background: var(--surface); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); font-size: 0.92rem; margin-bottom: 18px; }
.assurances div { display: flex; gap: 12px; align-items: center; }
.assurances .icon { color: var(--accent); }
.p-tabs details { border-top: 1px solid var(--line); }
.p-tabs details:last-child { border-bottom: 1px solid var(--line); }
.p-tabs summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--display); font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; }
.p-tabs summary::-webkit-details-marker { display: none; }
.p-tabs summary .icon { transition: transform 0.25s; }
.p-tabs details[open] summary .icon { transform: rotate(45deg); }
.p-tabs .tab-body { padding-bottom: 20px; color: var(--ink-2); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.spec-table th { text-align: left; color: var(--muted); font-weight: 600; width: 40%; padding: 8px 0; }
.spec-table td { padding: 8px 0; }
.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.prose a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.prose strong { color: var(--ink); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); padding: 12px 16px; display: none; align-items: center; gap: 12px; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08); transform: translateY(100%); visibility: hidden; transition: transform 0.3s var(--ease), visibility 0s linear 0.3s; }
.sticky-buy.show { transform: none; visibility: visible; transition: transform 0.3s var(--ease); }
.sticky-buy .sb-name { font-weight: 700; font-size: 0.9rem; line-height: 1.2; }
.sticky-buy .btn { margin-left: auto; }
.preview-bar { background: #fff4d6; color: #6b4b00; text-align: center; padding: 10px; font-weight: 600; font-size: 0.9rem; }

/* Reviews */
.reviews-layout { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.rating-summary { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.rating-summary .big { font-family: var(--display); font-size: 3.2rem; font-weight: 800; line-height: 1; }
.rating-bars { display: grid; gap: 6px; margin: 18px 0; font-size: 0.85rem; }
.rating-bars div { display: grid; grid-template-columns: 30px 1fr 30px; gap: 10px; align-items: center; }
.rating-bars .bar { height: 7px; background: var(--surface-2); border-radius: 7px; overflow: hidden; }
.rating-bars .bar span { display: block; height: 100%; background: #f5a524; border-radius: inherit; }
.review { padding: 22px 0; border-bottom: 1px solid var(--line); }
.review:first-child { padding-top: 0; }
.review h4 { font-size: 1.05rem; margin: 8px 0 6px; }
.review p { margin: 0 0 8px; color: var(--ink-2); }
.review small { color: var(--muted); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 0; }
.star-input label { cursor: pointer; color: #d9d4cb; }
.star-input label svg { width: 30px; height: 30px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f5a524; }
.star-input input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; }
.cart-lines { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h3 { font-size: 1.05rem; margin-bottom: 4px; }
.line-opts { font-size: 0.85rem; color: var(--muted); display: grid; gap: 2px; }
.line-actions { display: flex; gap: 14px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.line-actions .qty button { height: 40px; width: 36px; }
.line-actions .qty input { width: 32px; }
.text-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: 0.85rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.text-btn:hover { color: var(--danger); }
.line-total { font-weight: 800; text-align: right; white-space: nowrap; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: grid; gap: 16px; }
.summary h2 { font-size: 1.35rem; margin: 0; }
.sum-rows { display: grid; gap: 10px; font-size: 0.95rem; }
.sum-rows div { display: flex; justify-content: space-between; gap: 12px; }
.sum-rows .discount { color: var(--success); font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; font-weight: 800; font-size: 1.15rem; }
.sum-total strong { font-family: var(--display); font-size: 1.7rem; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form .input { min-height: 44px; text-transform: uppercase; }
.applied-code { display: flex; justify-content: space-between; align-items: center; background: var(--accent-soft); padding: 10px 14px; border-radius: 12px; font-size: 0.9rem; font-weight: 700; }
.trust-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row .icon { width: 16px; height: 16px; color: var(--success); }
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: start; }
.checkout-steps { display: grid; gap: 20px; }
.step-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-title .num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--display); font-size: 0.95rem; flex: none; }
.step-title h2 { font-size: 1.3rem; margin: 0; }
.mini-lines { display: grid; gap: 14px; max-height: 340px; overflow-y: auto; }
.mini-line { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; font-size: 0.9rem; }
.mini-line .thumb { position: relative; width: 60px; height: 60px; border-radius: 12px; background: var(--surface-2); }
.mini-line .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.mini-line .thumb .q { position: absolute; top: -6px; right: -6px; background: var(--ink); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; }
.mini-line small { color: var(--muted); display: block; line-height: 1.3; }
.saved-addresses { display: grid; gap: 8px; margin-bottom: 18px; }
.addr-pick { display: flex; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 0.9rem; }
.addr-pick:hover { border-color: var(--ink); }
.gift-fields { display: none; }
.gift-fields.show { display: block; }

/* Order confirmation */
.success-hero { text-align: center; padding: 20px 0 8px; }
.success-hero .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 0 0 10px var(--accent-soft); }
.success-hero .tick .icon { width: 38px; height: 38px; }
.order-no { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); padding: 10px 18px; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; box-shadow: var(--shadow-sm); letter-spacing: 0.04em; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 10px 0; position: relative; }
.timeline .t-step { text-align: center; font-size: 0.8rem; color: var(--muted); position: relative; padding-top: 44px; font-weight: 600; }
.timeline .t-step::before { content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--line); z-index: 1; }
.timeline .t-step::after { content: ''; position: absolute; top: 22px; left: -50%; right: 50%; height: 4px; background: var(--line); }
.timeline .t-step:first-child::after { display: none; }
.timeline .t-step.done { color: var(--ink); }
.timeline .t-step.done::before { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.timeline .t-step.done::after { background: var(--accent); }
.bank-box { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 24px; display: grid; gap: 4px; position: relative; overflow: hidden; }
.bank-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 12px 0 0; font-size: 0.95rem; }
.bank-box dt { color: rgba(255, 255, 255, 0.6); }
.bank-box dd { margin: 0; font-weight: 700; }
.bank-box .ref { color: var(--accent); font-size: 1.1rem; }
.copy-btn { background: rgba(255, 255, 255, 0.1); border: 0; color: #fff; border-radius: 8px; padding: 2px 8px; font-size: 0.75rem; cursor: pointer; margin-left: 6px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tone-amber { background: #fff3dc; color: #a35f00; }
.tone-blue { background: #e3edff; color: #2457c5; }
.tone-violet { background: #efe6ff; color: #6a3fc1; }
.tone-teal { background: #dff6f4; color: #0f7b72; }
.tone-green { background: #e1f5e8; color: #1f7a45; }
.tone-red { background: #fde6e4; color: #b42d23; }

/* ---------- Account ---------- */
.auth-wrap { min-height: calc(100vh - 300px); display: grid; place-items: center; padding: 56px 20px; }
.auth-card { width: min(480px, 100%); background: var(--surface); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 44px); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 2rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 26px; }
.auth-card form { display: grid; gap: 16px; }
.auth-alt { text-align: center; font-size: 0.93rem; color: var(--muted); margin-top: 20px; }
.auth-alt a { color: var(--accent); font-weight: 700; }
.pw-wrap { position: relative; }
.pw-wrap .pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; color: var(--muted); padding: 8px; }
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.account-nav { background: var(--surface); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); display: grid; gap: 2px; position: sticky; top: calc(var(--header-h) + 20px); }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 0.94rem; color: var(--ink-2); background: none; border: 0; width: 100%; cursor: pointer; text-align: left; }
.account-nav a:hover, .account-nav button:hover { background: var(--bg); }
.account-nav a.active { background: var(--ink); color: #fff; }
.order-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform 0.2s; }
.order-card:hover { transform: translateY(-2px); }
.order-card .thumb { width: 64px; height: 64px; border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.order-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.addr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.addr-card { background: var(--surface); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow-sm); font-size: 0.93rem; border: 2px solid transparent; }
.addr-card.default { border-color: var(--accent); }
.addr-card .actions { display: flex; gap: 12px; margin-top: 12px; }
.danger-zone { border: 1.5px solid #f3c7c3; background: #fff8f7; }

/* ---------- Custom page ---------- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.service-card .perk-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.service-card p { color: var(--muted); margin: 0; font-size: 0.94rem; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow-sm); }
.contact-card .perk-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-card strong { display: block; }
.contact-card span { color: var(--muted); font-size: 0.9rem; }

/* Popup */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.6); opacity: 0; visibility: hidden; transition: 0.3s; }
.modal.show { opacity: 1; visibility: visible; }
.modal-card { position: relative; width: min(820px, 100%); background: var(--dark); color: #fff; border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; transform: translateY(20px) scale(0.98); transition: 0.35s var(--ease); }
.modal.show .modal-card { transform: none; }
.modal-media { position: relative; min-height: 320px; }
.modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.modal-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.modal-body p { color: rgba(255, 255, 255, 0.7); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.code-reveal { display: none; text-align: center; background: var(--dark-3); border: 2px dashed var(--accent); border-radius: var(--radius-sm); padding: 16px; margin-top: 8px; }
.code-reveal strong { font-family: var(--display); font-size: 1.8rem; letter-spacing: 0.1em; color: var(--accent); display: block; }

.whatsapp-fab { position: fixed; left: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.7); transition: transform 0.2s; }
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-search input { width: 160px; }
  .header-search input:focus { width: 200px; }
  .main-nav > a, .nav-drop > button { padding: 10px 10px; }
}
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid, .cat-grid.four { grid-template-columns: repeat(2, 1fr); }
  .steps, .materials, .perks { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .main-nav, .header-search, .header-actions .hide-mobile { display: none; }
  .menu-toggle { display: inline-grid; }
  .brand img { height: 38px; }
  .header-inner { gap: 8px; }
  .brand { margin: 0 auto 0 4px; }
  .header-actions { margin-left: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .float-card.fc-1 { left: 10px; }
  .float-card.fc-2 { right: 10px; }
  .split, .newsletter, .cta-banner { grid-template-columns: 1fr; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; z-index: 85; max-height: 80vh; overflow-y: auto; border-radius: var(--radius-lg) var(--radius-lg) 0 0; transform: translateY(105%); transition: transform 0.3s var(--ease); box-shadow: var(--shadow-lg); }
  .filters.open { transform: none; }
  .filter-toggle { display: inline-flex; }
  .product-layout { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .reviews-layout, .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .review-grid, .service-cards { grid-template-columns: 1fr; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-media { min-height: 160px; }
  .sticky-buy { display: flex; }
  .flash-stack { top: auto; bottom: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px 12px 14px; }
  .card-title { font-size: 0.95rem; }
  .card-go { display: none; }
  .price { font-size: 0.98rem; }
  .cat-grid, .cat-grid.four { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-tile { aspect-ratio: 4 / 5; }
  .cat-tile h3 { font-size: 1rem; }
  .cat-tile .cat-body { padding: 12px; }
  .steps, .materials, .perks, .addr-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-thumb { width: 72px; height: 72px; }
  .line-total { grid-column: 2; text-align: left; }
  .timeline .t-step { font-size: 0.68rem; }
  .hero-trust { gap: 12px; font-size: 0.85rem; }
  .float-card { font-size: 0.75rem; padding: 10px 12px; }
  .float-card .fc-icon { width: 30px; height: 30px; }
  .buy-row { flex-wrap: wrap; }
  .whatsapp-fab { width: 50px; height: 50px; bottom: 84px; }
  .inline-form { flex-direction: column; border-radius: var(--radius); }
  .inline-form input { height: 46px; }
}

/* ---------- Print (order / invoice pages) ---------- */
@media print {
  .site-header, .announcement, .site-footer, .no-print, .whatsapp-fab, .flash-stack, .toast { display: none !important; }
  body { background: #fff; }
}
