/* ==========================================================================
   Demi Gears storefront: retro paper, espresso ink, brick red
   ========================================================================== */
:root { --container: 1240px; --header-h: 72px; --sticker: 3px 3px 0 var(--espresso); }
:root[data-theme="dark"] { --sticker: 3px 3px 0 #000; }

body.store { background-color: var(--bg); background-image: var(--paper-grain); background-size: 5px 5px; }
body.no-scroll { overflow: hidden; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2, .display-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.01em; line-height: 1.1; }
.section-head p { color: var(--text-2); margin-top: 6px; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--accent-text); white-space: nowrap;
  transition: gap var(--fast) var(--ease); }
.link-more:hover { gap: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--on-accent);
  background: var(--espresso); }
:root[data-theme="dark"] .eyebrow { background: var(--surface-3); color: var(--text); }

/* retro decorations */
.stripes { height: 9px; background: linear-gradient(var(--brick) 0 3px, transparent 3px 5px, var(--espresso) 5px 7px, transparent 7px); }
.checker { height: 16px; background: conic-gradient(var(--espresso) 25%, transparent 0 50%, var(--espresso) 0 75%, transparent 0) 0 0 / 16px 16px;
  opacity: 0.9; }
.sunburst { position: absolute; inset: 0; pointer-events: none;
  background: repeating-conic-gradient(from -4deg at 50% 50%, color-mix(in srgb, var(--brick) 16%, transparent) 0 8deg, transparent 8deg 16deg);
  mask-image: radial-gradient(circle at 50% 50%, #000 0, #000 30%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, #000 30%, transparent 68%); }

/* buttons: sticker style */
.btn-retro { border: 2px solid var(--espresso); box-shadow: var(--sticker); font-weight: 700; }
.btn-retro:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--espresso); }
.btn-retro:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--espresso); }
.btn-shopee { --btn-bg: var(--shopee); --btn-fg: #fff; --btn-bd: var(--espresso); }
.btn-shopee:hover { background: #d93f21; }
.btn-cream { --btn-bg: var(--surface); --btn-fg: var(--text); --btn-bd: var(--espresso); }
:root[data-theme="dark"] .btn-retro { border-color: #000; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.site-header .bar { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(58, 42, 34, 0.25)); }
.logo span { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { height: 38px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; font-weight: 600;
  color: var(--text-2); transition: color var(--fast), background var(--fast); white-space: nowrap; }
.main-nav a:hover, .main-nav a.is-active { color: var(--text); background: var(--surface-2); }
.header-search { flex: 1; max-width: 360px; margin-left: auto; }
.header-search .input { height: 40px; border-radius: 999px; background: var(--surface); padding-left: 40px; border-color: var(--border-strong); }
.header-search .input-group > .icon { left: 14px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }
.mobile-menu { position: fixed; inset: calc(var(--header-h) + 9px) 0 0 0; z-index: 49; background: var(--bg); padding: 16px 20px 32px; overflow: auto;
  animation: fade-in 160ms var(--ease); }
.mobile-menu a.cat { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px dashed var(--border-strong);
  font-weight: 700; font-size: 16px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  padding-top: 56px; padding-bottom: 64px; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5.2vw, 62px); line-height: 1.02;
  letter-spacing: -0.02em; margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--brick); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.14em; background: var(--mustard);
  opacity: 0.55; z-index: -1; border-radius: 4px; }
.hero p.lead { font-size: 17px; color: var(--text-2); margin-top: 18px; max-width: 520px; line-height: 1.65; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--text-2); font-size: 13.5px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--brick); }
.hero-art { position: relative; height: 460px; display: grid; place-items: center; }
.hero-art .sunburst { inset: -10%; }
.hero-logo { position: relative; width: min(420px, 92%); filter: drop-shadow(0 18px 24px rgba(58, 42, 34, 0.28));
  animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-1deg); } }
.hero-card { position: absolute; width: 56%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--surface);
  border: 2px solid var(--espresso); box-shadow: 6px 6px 0 var(--espresso); transition: transform 500ms var(--ease); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card.hc-1 { left: 0; top: 34px; transform: rotate(-6deg); z-index: 1; }
.hero-card.hc-2 { right: 0; top: 0; transform: rotate(5deg); z-index: 2; }
.hero-card.hc-3 { left: 22%; bottom: -6px; width: 50%; transform: rotate(-1deg); z-index: 3; }
.hero-art:hover .hero-card.hc-1 { transform: rotate(-9deg) translate(-10px, -4px); }
.hero-art:hover .hero-card.hc-2 { transform: rotate(8deg) translate(10px, -6px); }
.hero-art:hover .hero-card.hc-3 { transform: rotate(0deg) translateY(-8px); }
.hero-stamp { position: absolute; z-index: 4; right: 2%; bottom: 8%; width: 124px; height: 124px; border-radius: 50%; display: grid;
  place-items: center; text-align: center; background: var(--mustard); color: var(--espresso); border: 2px solid var(--espresso);
  box-shadow: var(--sticker); font-family: var(--font-display); font-weight: 800; line-height: 1.05; transform: rotate(10deg); }
.hero-stamp strong { display: block; font-size: 30px; }
.hero-stamp span { font-size: 12.5px; }

/* ---------------------------------------------------------------- shop-by tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.tile { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px;
  border-radius: var(--radius-lg); background: var(--surface); border: 2px solid var(--espresso); box-shadow: var(--sticker);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.tile:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--espresso); }
.tile strong { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.tile small { display: block; color: var(--text-3); font-weight: 600; font-size: 12.5px; }
.tile .tile-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--brick); }
.chips-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip-link { height: 40px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-weight: 700;
  background: var(--surface); border: 2px solid var(--espresso); box-shadow: 2px 2px 0 var(--espresso); transition: transform var(--fast); }
.chip-link:hover { transform: translate(-1px, -1px); }
.chip-link small { color: var(--text-3); font-weight: 600; }

/* ---------------------------------------------------------------- product cards */
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.p-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border-strong); transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease); }
.p-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(58, 42, 34, 0.55); }
.p-media { position: relative; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease), opacity 300ms; }
.p-media img.alt { position: absolute; inset: 0; opacity: 0; }
.p-card:hover .p-media img { transform: scale(1.04); }
.p-card:hover .p-media img.alt { opacity: 1; }
.p-media .placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--text-3); }
.p-media .placeholder .icon { width: 40px; height: 40px; }
.p-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.p-tags .badge { height: 24px; border: 1.5px solid var(--espresso); font-weight: 800; letter-spacing: 0.02em; }
.badge-new { background: var(--mustard); color: var(--espresso); }
.badge-hot { background: var(--brick); color: #fff8ee; }
.badge-out { background: var(--espresso); color: #f3e8d8; }
.p-card.is-out .p-media img { filter: grayscale(0.6); opacity: 0.8; }
.p-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.p-brand { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.p-name { font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.p-price { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--brick); font-variant-numeric: tabular-nums; }
.p-price.ask { font-family: var(--font); font-size: 14px; color: var(--text-2); }
.p-stock { font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.p-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.p-stock.in { color: var(--success); } .p-stock.low { color: var(--warning); } .p-stock.out { color: var(--text-3); }

/* ---------------------------------------------------------------- listing with filters */
.page-hero { padding: 30px 0 14px; }
.page-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.01em; }
.crumbs-store { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); margin-bottom: 10px; flex-wrap: wrap; }
.crumbs-store a:hover { color: var(--text); }
.browse { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 48px; }
.filters-panel { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto;
  padding: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-strong); }
.filters-panel h2 { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.fgroup { border-top: 1px dashed var(--border-strong); padding: 12px 0 4px; }
.fgroup:first-of-type { border-top: 0; }
.fgroup summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-weight: 800; font-size: 14px; padding: 2px 0 8px; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary .icon { transition: transform var(--fast); color: var(--text-3); }
.fgroup[open] summary .icon { transform: rotate(180deg); }
.fgroup summary .fsel { margin-left: auto; font-size: 11.5px; font-weight: 800; color: var(--on-accent); background: var(--brick);
  border-radius: 999px; padding: 1px 8px; }
.fopts { display: flex; flex-direction: column; gap: 2px; padding-bottom: 6px; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: 14px; color: var(--text-2);
  transition: background var(--fast), color var(--fast); }
.fopt:hover { background: var(--surface-2); color: var(--text); }
.fcheck { width: 18px; height: 18px; flex: none; border-radius: 5px; border: 2px solid var(--border-strong); display: grid; place-items: center;
  background: var(--surface); transition: all var(--fast); }
.fopt.is-selected { color: var(--text); font-weight: 700; }
.fopt.is-selected .fcheck { background: var(--brick); border-color: var(--brick); }
.fopt.is-selected .fcheck::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px); }
.fnum { margin-left: auto; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 8px; border-radius: 10px; font-weight: 700; }
.toggle-row:hover { background: var(--surface-2); }
.toggle-row .knob { width: 38px; height: 22px; border-radius: 999px; background: var(--surface-3); border: 1.5px solid var(--border-strong);
  position: relative; transition: background var(--fast); }
.toggle-row .knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow-sm); transition: transform var(--fast); }
.toggle-row.is-on .knob { background: var(--success); border-color: var(--success); }
.toggle-row.is-on .knob::after { transform: translateX(16px); }
.results-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.results-bar .count { color: var(--text-2); font-weight: 600; margin-right: auto; }
.results-bar .select { width: auto; height: 38px; border-radius: 999px; font-weight: 700; font-size: 13.5px; }
.filter-toggle { display: none; }
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.active-chip { height: 32px; padding: 0 8px 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-size: 13px;
  font-weight: 700; background: var(--accent-soft); color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--brick) 30%, transparent); }
.active-chip:hover { background: color-mix(in srgb, var(--brick) 18%, var(--surface)); }
.active-chip .icon { width: 14px; height: 14px; }
.clear-link { font-size: 13px; font-weight: 700; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; align-self: center; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: var(--overlay); animation: fade-in 160ms var(--ease); }
.drawer { position: fixed; z-index: 71; left: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: var(--bg); display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); animation: slide-in 220ms var(--ease); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border-strong); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 16px 16px; }
.drawer-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border-strong); display: flex; gap: 10px; }
.drawer-foot .btn { flex: 1; }
@keyframes slide-in { from { transform: translateX(-100%); } }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 32px 0 8px; }

/* ---------------------------------------------------------------- product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; padding: 20px 0 48px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--surface-2);
  border: 2px solid var(--espresso); box-shadow: 6px 6px 0 var(--espresso); cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; animation: fade-in 240ms var(--ease); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 16px; overflow-x: auto; padding: 2px 2px 6px; }
.gallery-thumbs button { width: 74px; height: 74px; flex: none; border-radius: 12px; overflow: hidden; padding: 0; cursor: pointer;
  border: 2px solid transparent; background: var(--surface-2); opacity: 0.75; transition: all var(--fast); }
.gallery-thumbs button.is-active { border-color: var(--brick); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--espresso); background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 2px solid var(--espresso); opacity: 0; transition: opacity var(--fast); }
.gallery-main:hover .gallery-nav { opacity: 1; }
.gallery-nav.prev { left: 12px; } .gallery-nav.next { right: 12px; }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 30px;
  padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid var(--border-strong); }
.pdp-info { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.pdp-info h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -0.01em; }
.pdp-price { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--brick); font-variant-numeric: tabular-nums; }
.pdp-price.ask { font-size: 26px; color: var(--text); }
.stock-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.stock-pill.in { background: var(--success-soft); color: var(--success); }
.stock-pill.low { background: var(--warning-soft); color: var(--warning); }
.stock-pill.out { background: var(--surface-3); color: var(--text-2); }
.stock-pill.ask { background: var(--accent-soft); color: var(--accent-text); }
.stock-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.cta-stack { display: flex; flex-direction: column; gap: 10px; }
.cta-row { display: flex; gap: 10px; }
.cta-row .btn { flex: 1; }
.btn-xl { height: 54px; font-size: 16px; border-radius: 14px; }
.colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.color { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 14px; border: 2px solid var(--border-strong);
  background: var(--surface); font-size: 12.5px; font-weight: 700; line-height: 1.25; text-align: center; transition: all var(--fast); }
.color img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; }
.color:hover { border-color: var(--espresso); transform: translateY(-2px); }
.color.is-current { border-color: var(--brick); box-shadow: 2px 2px 0 var(--brick); }
.specs { display: grid; grid-template-columns: auto 1fr; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; }
.specs dt, .specs dd { margin: 0; padding: 11px 14px; border-bottom: 1px dashed var(--border-strong); }
.specs dt { color: var(--text-2); font-weight: 600; background: var(--surface-2); }
.specs dd { font-weight: 700; background: var(--surface); }
.specs dt:nth-last-of-type(1), .specs dd:last-of-type { border-bottom: 0; }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.perk { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--border-strong); font-size: 13px; }
.perk .icon { color: var(--brick); margin-top: 1px; }
.perk strong { display: block; font-size: 13.5px; }
.perk span { color: var(--text-3); }
.desc { white-space: pre-line; color: var(--text-2); line-height: 1.75; }
.block-title { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.sticky-buy { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(23, 17, 15, 0.94); display: grid; place-items: center; padding: 24px;
  animation: fade-in 160ms var(--ease); }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 12px; }
.lightbox .lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 248, 238, 0.12); color: #fff8ee; border: 1px solid rgba(255, 248, 238, 0.25); }
.lightbox .lb-btn:hover { background: rgba(255, 248, 238, 0.22); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #e9dcc8; font-weight: 700; font-size: 13px; }

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: 40px; background: var(--espresso); color: #e9dcc8; }
:root[data-theme="dark"] .site-footer { background: #0f0b09; }
.site-footer .container { padding-top: 40px; padding-bottom: 28px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { margin: 0 0 12px; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: #bfa98f; }
.site-footer a { color: #e9dcc8; }
.site-footer a:hover { color: #fff; }
.site-footer .links { display: flex; flex-direction: column; gap: 8px; }
.site-footer .logo span { color: #fff8ee; }
.site-footer .bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(233, 220, 200, 0.18); font-size: 12.5px; color: #bfa98f;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: 36px 40px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--brick); color: #fff8ee; border: 2px solid var(--espresso);
  box-shadow: 6px 6px 0 var(--espresso); }
.cta-band h3 { font-family: var(--font-display); font-size: 28px; font-weight: 800; }
.cta-band p { color: #f8dccd; margin-top: 6px; max-width: 560px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1120px) {
  .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 900px) {
  .browse { grid-template-columns: minmax(0, 1fr); }
  .browse > .filters-panel { display: none; }
  .filter-toggle { display: inline-flex; }
  .p-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 44px; gap: 18px; }
  .hero-art { height: 320px; max-width: 460px; width: 100%; margin: 0 auto; }
  .pdp { grid-template-columns: 1fr; gap: 24px; padding-top: 12px; }
  .pdp-info { position: static; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .cols > :first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .p-grid, .p-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .p-body { padding: 10px 12px 12px; }
  .p-price { font-size: 16px; }
  .header-search { display: none; }
  .logo span { font-size: 19px; }
  .logo img { width: 44px; height: 44px; }
  .header-actions .btn-shopee span { display: none; }
  .header-actions .btn-shopee { width: 40px; padding: 0; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .perks { grid-template-columns: 1fr; }
  .cta-band { padding: 26px 22px; }
  .hero-stamp { width: 96px; height: 96px; }
  .hero-stamp strong { font-size: 24px; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 10px; align-items: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 94%, transparent);
    border-top: 2px solid var(--espresso); backdrop-filter: blur(12px); }
  .sticky-buy .btn { flex: 1; }
  body.has-sticky-buy { padding-bottom: 78px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero-logo { animation: none; } }

/* layout helpers shared with the admin */
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrap { flex-wrap: wrap; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 20px; color: var(--text-2); }
.empty .empty-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--brick); }
