:root {
  --bg: #050505;
  --bg2: #0d0d0d;
  --card: #111111;
  --card2: #171717;
  --text: #f8f8f8;
  --muted: #a6a6a6;
  --line: rgba(255,255,255,.10);
  --line2: rgba(255,255,255,.18);
  --accent: #efefef;
  --accent2: #d9d9d9;
  --tile: rgba(255,255,255,.04);
  --tile-selected: linear-gradient(135deg, #f2f2f2, #cfcfcf);
  --dark: #000000;
  --danger: #f0b8b0;
  --shadow: 0 16px 42px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(255,255,255,.15), transparent 28%),
    radial-gradient(circle at 95% 10%, rgba(255,255,255,.06), transparent 20%),
    linear-gradient(180deg, #040404 0%, #0e0e0e 48%, #020202 100%);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,5,5,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1180px;
  min-height: 86px;
  margin: 0 auto;
  padding: 10px 16px;
  display: grid;
  grid-template-columns: 84px 1fr 84px;
  align-items: center;
  gap: 10px;
}
.brand-center {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(400px, 58vw);
  text-decoration: none;
}
.site-logo {
  width: 100%;
  max-height: 70px;
  object-fit: contain;
  display: block;
  filter: none;
}
.cart-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 82px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  background: linear-gradient(135deg, #f4f4f4, #cecece);
  color: #050505;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(255,255,255,.08);
}
.cart-icon { filter: grayscale(1); }
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  background: linear-gradient(145deg, #030303 0%, #181818 48%, #000 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -6%;
  background:
    linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.84)),
    linear-gradient(120deg, rgba(255,255,255,.06), transparent 30%),
    radial-gradient(ellipse at center, rgba(255,255,255,.08), transparent 55%),
    url("hero-intro-bg.jpg?v=2040") center center / cover no-repeat;
  filter: blur(13px) saturate(.76) brightness(.72);
  transform: scale(1.07);
  opacity: .78;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.48)),
    linear-gradient(90deg, transparent, rgba(255,255,255,.035), transparent);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 44px 18px 54px;
}
.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  color: rgba(214,214,214,.78);
  background: rgba(15,15,15,.36);
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 800;
}
h1 {
  margin: 18px auto 12px;
  font-size: clamp(2rem, 7vw, 4.8rem);
  line-height: .96;
  max-width: 850px;
  letter-spacing: -0.05em;
  color: rgba(248,248,248,.94);
  text-shadow: 0 10px 28px rgba(0,0,0,.34);
}
.hero p {
  margin: 0 auto;
  max-width: 620px;
  color: rgba(235,235,235,.86);
  font-size: clamp(.92rem, 2.4vw, 1.12rem);
  line-height: 1.45;
}
.hero-actions { margin-top: 24px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  font-size: .9rem;
}
.btn.primary { color: #050505; background: linear-gradient(135deg, #fff, #dcdcdc); box-shadow: 0 10px 24px rgba(255,255,255,.10), inset 0 1px 0 rgba(255,255,255,.45); }
.btn.dark { color: rgba(246,246,246,.96); background: linear-gradient(135deg, rgba(10,10,10,.95), rgba(26,26,26,.90)); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.btn.ghost { color: rgba(245,245,245,.92); background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }

.btn:hover { transform: translateY(-1px); }
.btn.primary:hover { box-shadow: 0 14px 30px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.55); }
.btn.dark:hover, .btn.ghost:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); }

.full { width: 100%; }
.layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 22px;
  align-items: start;
}
.catalog-panel { min-width: 0; }
.toolbar {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 10px;
  padding: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line2);
  background: #101010;
  color: var(--text);
  border-radius: 14px;
  padding: 13px 14px;
  font-size: .92rem;
  outline: none;
}
input::placeholder, textarea::placeholder { color: #8c8c8c; }
input:focus, select:focus, textarea:focus { border-color: rgba(255,255,255,.45); box-shadow: 0 0 0 3px rgba(255,255,255,.06); }
.section-title { margin: 24px 0 14px; display: flex; justify-content: space-between; gap: 12px; align-items: end; }
.section-title h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.3rem); letter-spacing: -0.04em; }
.section-title p { margin: 4px 0 0; color: var(--muted); line-height: 1.35; font-size: .84rem; }
.compact { margin-top: 0; }
.count-badge { color: #050505; background: #f2f2f2; border-radius: 999px; padding: 9px 13px; font-weight: 800; white-space: nowrap; font-size: .82rem; }
.product-list { display: grid; gap: 12px; }
.product {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.028));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.03), transparent);
  pointer-events: none;
}
.product-image-wrap {
  width: 172px;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #202020, #090909);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
  padding: 0;
  cursor: zoom-in;
}
.product-image-wrap.image-missing { display: none; }
.product-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.product h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.26;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: end; }
.tag {
  font-size: .66rem;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255,255,255,.09);
  color: #eee;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.tag.out { color: var(--danger); }
.price-buttons.four-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 8px;
}
.price-tile {
  width: 100%;
  min-width: 0;
  min-height: 66px;
  border-radius: 14px;
  border: 1px solid var(--line2);
  background: var(--tile);
  color: var(--text);
  padding: 8px 6px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
  cursor: pointer;
  transition: .16s ease;
}
.price-tile:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }
.price-tile.selected {
  background: var(--tile-selected);
  color: #050505;
  border-color: rgba(255,255,255,.62);
  box-shadow: 0 10px 20px rgba(255,255,255,.10);
}
.price-tile.disabled {
  opacity: .42;
  cursor: not-allowed;
  filter: grayscale(1);
}
.tile-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.ml-label { font-size: .7rem; font-weight: 800; letter-spacing: .03em; }
.selected-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  background: rgba(0,0,0,.14);
  color: inherit;
  padding: 0 5px;
}
.tile-price {
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
}
.price-tile em {
  font-style: normal;
  font-size: .58rem;
  line-height: 1;
  color: inherit;
  opacity: .8;
  min-height: .7rem;
}
.order-card {
  position: sticky;
  top: 102px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.order-items { display: grid; gap: 10px; }
.order-items.empty {
  min-height: 86px;
  place-items: center;
  display: grid;
  color: var(--muted);
  border: 1px dashed var(--line2);
  border-radius: 16px;
  padding: 16px;
  font-size: .9rem;
}
.order-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(15,15,15,.36);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
}
.order-item-copy strong {
  display: block;
  font-size: .9rem;
  margin-bottom: 3px;
}
.order-item-copy small { color: #cbcbcb; font-size: .76rem; }
.cart-price-line {
  display: block;
  margin-top: 4px;
  color: #f4f4f4;
  font-size: .78rem;
  letter-spacing: .01em;
}
.order-item-actions {
  display: grid;
  justify-items: end;
  gap: 7px;
}
.line-total {
  font-size: .86rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.qty-controls {
  display: inline-grid;
  grid-template-columns: 28px minmax(20px, auto) 28px;
  align-items: center;
  gap: 6px;
}
.qty-controls button {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.qty-controls b {
  text-align: center;
  font-size: .92rem;
}
.charge-row { margin-top: 14px; display: grid; gap: 8px; }
.charge-row label { color: var(--muted); font-size: .84rem; }
.total-row {
  margin: 16px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.total-row strong { font-size: 1.2rem; }
.customer-fields { display: grid; gap: 10px; }
.customer-fields textarea { min-height: 84px; resize: vertical; }
.order-buttons { margin-top: 14px; display: grid; gap: 10px; }
.small-note { color: var(--muted); font-size: .74rem; line-height: 1.45; margin-top: 12px; }
footer {
  padding: 20px 16px 28px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .78rem;
}
footer p { margin: 4px 0; }

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .order-card { position: static; }
}

@media (max-width: 640px) {
  .topbar-inner {
    grid-template-columns: 56px 1fr 56px;
    min-height: 76px;
    padding: 8px 12px;
  }
  .brand-center { width: min(290px, 66vw); }
  .site-logo { max-height: 54px; }
  .hero-inner { padding: 34px 14px 42px; }
  .toolbar { grid-template-columns: 1fr; }
  .section-title { align-items: start; flex-direction: column; }
  .count-badge { padding: 7px 11px; }
  .product { padding: 12px; gap: 10px; }
  .product h3 { font-size: .96rem; max-width: 78%; }
  .price-buttons.four-row { gap: 6px; }
  .price-tile {
    min-height: 60px;
    padding: 7px 4px 6px;
    border-radius: 12px;
  }
  .ml-label { font-size: .63rem; }
  .tile-price { font-size: .72rem; }
  .price-tile em { font-size: .54rem; }
  .selected-qty { min-width: 16px; height: 16px; font-size: .56rem; }
  .cart-pill { min-width: 56px; padding: 9px 10px; font-size: .86rem; }
  .btn { font-size: .84rem; padding: 11px 14px; }
  input, select, textarea { font-size: .88rem; padding: 12px; }
}

/* v1500 refinement: lighter, smoother, faster-feeling UI */
:root {
  --shadow: 0 8px 24px rgba(0,0,0,.20);
  --soft-shadow: 0 6px 18px rgba(0,0,0,.16);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
body { font-size: 14px; }
.admin-link-top {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  color: #e7e7e7;
  text-decoration: none;
  background: rgba(255,255,255,.035);
  font-size: .76rem;
  font-weight: 700;
}
.hero-inner { padding-top: 36px; padding-bottom: 44px; }
.layout { gap: 18px; padding-top: 20px; }
.toolbar, .product, .order-card { box-shadow: var(--soft-shadow); }
.toolbar { padding: 12px; border-radius: 18px; }
.product { border-radius: 18px; padding: 12px; gap: 10px; animation: fadeUp .26s var(--ease) both; }
.product:hover { border-color: rgba(255,255,255,.17); transform: translateY(-1px); transition: .18s var(--ease); }
.product h3 { font-size: .94rem; line-height: 1.22; }
.section-title { margin: 20px 0 12px; }
.section-title h2 { font-size: clamp(1.35rem, 3.6vw, 2rem); }
.section-title p { font-size: .78rem; }
.count-badge { font-size: .75rem; padding: 7px 11px; }
.tag { font-size: .6rem; padding: 5px 8px; }
.price-buttons.four-row { gap: 7px; }
.price-tile {
  min-height: 56px;
  border-radius: 12px;
  padding: 7px 5px;
  transition: transform .14s var(--ease), background .14s var(--ease), border-color .14s var(--ease), box-shadow .14s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.price-tile:hover { transform: translateY(-1px); }
.price-tile:active, .btn:active, .qty-controls button:active, .cart-pill:active, .floating-cart:active { transform: scale(.98); }
.price-tile.selected { box-shadow: 0 6px 16px rgba(255,255,255,.08); }
.ml-label { font-size: .62rem; }
.tile-price { font-size: .7rem; }
.price-tile em { font-size: .5rem; }
.order-card { border-radius: 20px; padding: 16px; }
.order-items { gap: 8px; }
.order-items.empty { min-height: 72px; font-size: .8rem; padding: 13px; }
.order-item { padding: 10px; border-radius: 14px; }
.order-item-copy strong { font-size: .82rem; line-height: 1.24; }
.order-item-copy small { font-size: .7rem; }
.qty-controls { grid-template-columns: 26px minmax(18px, auto) 26px; gap: 5px; }
.qty-controls button {
  width: 26px;
  height: 26px;
  font-size: .95rem;
  transition: .14s var(--ease);
}
.qty-controls button:hover { background: rgba(255,255,255,.11); }
.qty-controls b { font-size: .82rem; }
input, select, textarea { font-size: .84rem; padding: 11px 12px; border-radius: 12px; }
.btn { font-size: .82rem; padding: 10px 14px; min-height: 42px; }
.customer-fields textarea { min-height: 76px; }
.order-buttons { gap: 8px; }
.small-note { font-size: .68rem; }
.total-row { font-size: .9rem; padding: 12px 0; }
.total-row strong { font-size: 1.08rem; }
.field-error { border-color: rgba(255,120,120,.86) !important; box-shadow: 0 0 0 3px rgba(255,80,80,.10) !important; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  max-width: min(92vw, 420px);
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(15,15,15,.94);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  font-size: .8rem;
  text-align: center;
  transition: .2s var(--ease);
  backdrop-filter: blur(14px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: rgba(255,140,140,.45); }
.toast.success { border-color: rgba(255,255,255,.35); }
.floating-cart {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(135deg, #f5f5f5, #cdcdcd);
  color: #050505;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.30);
  font-size: .78rem;
  font-weight: 800;
  transition: .18s var(--ease);
}
.floating-cart.show { display: inline-flex; animation: popIn .2s var(--ease) both; }
.floating-cart strong { font-size: .85rem; }
.footer-link { color: #eaeaea; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 960px) {
  .layout { gap: 16px; padding-bottom: 84px; }
  .order-card { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 13px; }
  .topbar-inner { min-height: 66px; grid-template-columns: 50px 1fr 58px; }
  .admin-link-top { font-size: .66rem; padding: 7px 8px; }
  .brand-center { width: min(250px, 62vw); }
  .site-logo { max-height: 48px; }
  .cart-pill { min-width: 52px; padding: 8px 9px; font-size: .78rem; }
  .hero-inner { padding: 26px 12px 32px; }
  h1 { font-size: clamp(1.72rem, 9vw, 3rem); }
  .hero p { font-size: .84rem; }
  .hero-actions { margin-top: 16px; gap: 8px; }
  .layout { padding: 16px 10px 86px; }
  .toolbar { padding: 10px; }
  .product { padding: 10px; border-radius: 16px; }
  .product h3 { font-size: .86rem; max-width: 76%; }
  .price-buttons.four-row { gap: 5px; }
  .price-tile { min-height: 51px; padding: 6px 3px; border-radius: 10px; }
  .ml-label { font-size: .54rem; }
  .tile-price { font-size: .63rem; }
  .price-tile em { font-size: .46rem; }
  .selected-qty { min-width: 14px; height: 14px; font-size: .5rem; padding: 0 4px; }
  .tag { font-size: .52rem; padding: 4px 6px; }
  .order-card { padding: 13px; border-radius: 18px; }
  .btn { font-size: .78rem; min-height: 40px; }
  input, select, textarea { font-size: .8rem; padding: 10px; }
  .floating-cart {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: space-between;
    padding: 11px 14px;
  }
  .toast { bottom: 64px; border-radius: 14px; }
}


/* v1600 cart price clarity */
.order-item { transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease); }
.order-item:hover { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.055); }
@media (max-width: 520px) {
  .order-item { grid-template-columns: 1fr; align-items: start; gap: 8px; }
  .order-item-actions { width: 100%; grid-template-columns: 1fr auto; align-items: center; justify-items: start; }
  .line-total { font-size: .8rem; }
  .cart-price-line { font-size: .72rem; }
}


/* v1700 butter smooth interaction refinements */
.topbar-inner { grid-template-columns: 84px 1fr 84px; }
.topbar-inner .brand-center { grid-column: 2; }
.price-tile, .qty-controls button, .btn, .cart-pill, .floating-cart {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.price-tile { will-change: transform, background, border-color; }
.price-tile.selected .selected-qty.hide,
.selected-qty.hide { display: none; }
.product-list { contain: layout paint; }
.product { animation: none; }
.product:hover { transform: none; }
.price-tile:hover { transform: none; }
.price-tile:active { transform: scale(.985); }
.order-item { animation: softItemIn .18s var(--ease) both; }
.toast.success { border-color: rgba(225,225,225,.52); background: rgba(20,20,20,.96); }
.toast.info { border-color: rgba(255,255,255,.22); }

@keyframes softItemIn {
  from { opacity: .88; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .topbar-inner { grid-template-columns: 50px 1fr 58px; }
  .topbar-inner .brand-center { grid-column: 2; }
  .product { transition: border-color .16s var(--ease), background .16s var(--ease); }
  .price-tile { min-height: 49px; }
}

.admin-link-top{display:none!important;}


/* v1800 hero background blend upgrade */
.hero {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.66) 0%, rgba(5,5,5,.56) 38%, rgba(0,0,0,.72) 100%),
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.10), transparent 55%),
    url("hero-scentory-sizes.jpg?v=2040");
  background-size: cover, auto, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("hero-scentory-sizes.jpg?v=2040");
  background-size: cover;
  background-position: center;
  filter: blur(10px) saturate(.72) brightness(.42);
  transform: scale(1.08);
  opacity: .64;
  pointer-events: none;
}
.hero::after {
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.18)), linear-gradient(90deg, transparent, rgba(255,255,255,.03), transparent);
}
.hero-inner {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(1px);
}
.eyebrow {
  background: rgba(12,12,12,.42);
  color: #d7d7d7;
  border-color: rgba(255,255,255,.18);
}
@media (max-width: 640px) {
  .hero {
    background-position: center top, center, center top;
  }
  .hero::before {
    filter: blur(8px) saturate(.74) brightness(.40);
    transform: scale(1.06);
  }
}


/* Upcoming perfume highlight */
.upcoming-section {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.10), transparent 34%);
}
.upcoming-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 2px 4px 12px;
}
.upcoming-title span {
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.94);
  font-size: .78rem;
}
.upcoming-title small {
  color: rgba(230,230,230,.64);
  font-size: .74rem;
  text-align: right;
}
.product.upcoming-card {
  border-color: rgba(255,255,255,.22);
  background: linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.032));
}
.product.upcoming-card .price-tile.disabled {
  opacity: .72;
  cursor: not-allowed;
}
.tag.upcoming {
  color: #050505;
  background: linear-gradient(135deg, #ffffff, #cfcfcf);
  border-color: rgba(255,255,255,.45);
}
@media (max-width: 640px) {
  .upcoming-title { align-items: flex-start; flex-direction: column; }
  .upcoming-title small { text-align: left; }
}

.product:has(.product-image-wrap:not(.image-missing)) {
  grid-template-columns: 172px minmax(0, 1fr);
  align-items: start;
}
.product:has(.product-image-wrap:not(.image-missing)) .product-main { min-width: 0; }
.product:has(.product-image-wrap:not(.image-missing)) .price-buttons { grid-column: 1 / -1; }
.product:has(.product-image-wrap:not(.image-missing)) .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 560px) {
  .product-image-wrap {
    width: 148px;
    border-radius: 18px;
  }
  .product:has(.product-image-wrap:not(.image-missing)) {
    grid-template-columns: 148px minmax(0, 1fr);
  }
}


.image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(12px);
}
.image-modal.show {
  display: flex;
}
.image-modal img {
  max-width: min(96vw, 980px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
.image-modal-close {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(18,18,18,.72);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 10000;
}
#imageModalTitle {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  margin: 0 auto;
  width: max-content;
  max-width: calc(100vw - 36px);
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(20,20,20,.68);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-weight: 700;
  text-align: center;
  font-size: .88rem;
}
body.modal-open {
  overflow: hidden;
}
@media (max-width: 560px) {
  .image-modal {
    padding: 10px;
  }
  .image-modal img {
    max-width: 96vw;
    max-height: 82vh;
    border-radius: 16px;
  }
  .image-modal-close {
    top: 10px;
    right: 10px;
  }
}




/* v2000 best-selling row + smoother mobile performance */
html { scroll-behavior: smooth; }

.best-selling-section {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
  overflow: hidden;
}

.best-selling-section .section-title {
  margin: 0 0 12px;
  align-items: center;
}

.best-selling-section .section-title h2 { font-size: clamp(1.25rem, 3vw, 1.8rem); }
.best-selling-section .section-title p { font-size: .76rem; }

.best-selling-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.best-seller-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  color: #fff;
  padding: 8px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .14s var(--ease), background .14s var(--ease), transform .14s var(--ease);
}

.best-seller-card:hover,
.best-seller-card:focus-visible {
  border-color: rgba(255,255,255,.32);
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.05));
}

.best-seller-card:active { transform: scale(.985); }

.best-seller-card img {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  object-fit: cover;
  background: rgba(255,255,255,.06);
}

.best-rank {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #050505;
  font-size: .65rem;
  font-weight: 900;
  z-index: 2;
}

.best-seller-copy { min-width: 0; display: grid; gap: 3px; }
.best-seller-copy b {
  font-size: .78rem;
  line-height: 1.18;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.best-seller-copy small { color: rgba(255,255,255,.66); font-size: .62rem; }
.best-arrow { color: rgba(255,255,255,.70); font-weight: 900; }

.product {
  content-visibility: auto;
  contain-intrinsic-size: 190px;
  contain: layout paint style;
}

.product-image-wrap,
.best-seller-card,
.price-tile,
.btn,
.qty-controls button {
  transform: translateZ(0);
}

.product.jump-highlight {
  border-color: rgba(255,255,255,.65) !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.22), 0 10px 24px rgba(0,0,0,.20) !important;
}

@media (max-width: 760px) {
  .best-selling-strip {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 1px 1px 7px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .best-selling-strip::-webkit-scrollbar { display: none; }
  .best-seller-card {
    flex: 0 0 205px;
    scroll-snap-align: start;
    grid-template-columns: 48px minmax(0,1fr) 16px;
    border-radius: 16px;
  }
  .best-seller-card img { width: 48px; height: 48px; border-radius: 12px; }
}

@media (max-width: 640px) {
  .best-selling-section { padding: 12px; border-radius: 18px; }
  .best-selling-section .section-title { flex-direction: row; align-items: center; }
  .best-selling-section .section-title p { display: none; }
  .best-selling-section .count-badge { font-size: .65rem; padding: 6px 9px; }
  .product { box-shadow: none; contain-intrinsic-size: 170px; }
  .topbar, .toast, .image-modal { backdrop-filter: none !important; }
  .hero::before { display: none; }
}

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


/* v2030: premium thin moving trust banner */
.trust-marquee {
  width: 100%;
  height: 42px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(10,10,10,.72), rgba(0,0,0,.54));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), inset 0 -1px 0 rgba(255,255,255,.025);
}

.trust-marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  will-change: transform;
  animation: scentoryTrustScroll 36s linear infinite;
  color: rgba(238,238,238,.88);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
  line-height: 1;
}

.trust-marquee__track span {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(238,238,238,.86);
  text-shadow: 0 1px 10px rgba(0,0,0,.28);
}

.trust-marquee__track span::after {
  content: "•";
  margin-left: 34px;
  color: rgba(255,255,255,.36);
  font-weight: 400;
}

@keyframes scentoryTrustScroll {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}

@media (max-width: 640px) {
  .trust-marquee { height: 40px; }
  .trust-marquee__track {
    gap: 26px;
    animation-duration: 34s;
    font-size: .68rem;
    letter-spacing: .03em;
  }
  .trust-marquee__track span::after { margin-left: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee__track { animation: none; transform: none; }
}

.product { scroll-margin-top: 96px; }


/* v2050: Hot Arrivals highlighted section */
.hot-arrivals-section {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 4%, rgba(255,255,255,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  overflow: hidden;
}

.hot-arrivals-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 14px;
}

.hot-arrivals-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #cfcfcf);
  color: #050505;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.hot-arrivals-head h2 {
  margin: 10px 0 4px;
  font-size: clamp(1.42rem, 3.4vw, 2rem);
  letter-spacing: -.04em;
}

.hot-arrivals-head p {
  margin: 0;
  color: rgba(235,235,235,.68);
  font-size: .78rem;
}

.hot-arrivals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hot-arrival-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  padding: 9px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  color: #fff;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .16s var(--ease), background .16s var(--ease), transform .16s var(--ease);
}

.hot-arrival-card:hover,
.hot-arrival-card:focus-visible {
  border-color: rgba(255,255,255,.34);
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.055));
}

.hot-arrival-card:active { transform: scale(.985); }

.hot-arrival-photo-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.hot-arrival-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hot-arrival-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.92);
  color: #050505;
  font-size: .72rem;
  font-weight: 950;
}

.hot-arrival-copy {
  display: grid;
  gap: 5px;
  padding: 10px 3px 2px;
}

.hot-arrival-copy b {
  font-size: .92rem;
  line-height: 1.14;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-arrival-copy small {
  color: rgba(238,238,238,.66);
  font-size: .64rem;
  line-height: 1.35;
  min-height: 1.35em;
}

@media (max-width: 900px) {
  .hot-arrivals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hot-arrivals-section { padding: 12px; border-radius: 20px; }
  .hot-arrivals-head { flex-direction: row; align-items: center; }
  .hot-arrivals-head p { display: none; }
  .hot-arrivals-tab { font-size: .66rem; padding: 7px 10px; }
  .hot-arrivals-head h2 { font-size: 1.2rem; margin-top: 8px; }
  .hot-arrivals-grid {
    display: flex;
    overflow-x: auto;
    gap: 9px;
    padding: 1px 1px 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .hot-arrivals-grid::-webkit-scrollbar { display: none; }
  .hot-arrival-card { flex: 0 0 178px; scroll-snap-align: start; border-radius: 18px; }
  .hot-arrival-photo-wrap { border-radius: 15px; }
  .hot-arrival-copy b { font-size: .78rem; }
  .hot-arrival-copy small { font-size: .56rem; }
}


/* v2070: fixed exact-card navigation, sticky search dropdown, cart thumbnails, smoother interaction */
.toolbar {
  position: sticky;
  top: 88px;
  z-index: 46;
  overflow: visible;
  background: rgba(10,10,10,.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateZ(0);
}
.search-wrap {
  position: relative;
  min-width: 0;
}
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  gap: 6px;
  max-height: min(420px, 62vh);
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(8,8,8,.96);
  box-shadow: 0 22px 46px rgba(0,0,0,.36);
  z-index: 80;
  -webkit-overflow-scrolling: touch;
}
.search-suggestions.show { display: grid; }
.search-suggestions::-webkit-scrollbar { width: 6px; }
.search-suggestions::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 999px; }
.search-suggestion,
.search-suggestion-empty {
  width: 100%;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: #fff;
  padding: 8px;
  text-align: left;
}
.search-suggestion {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background .14s var(--ease), border-color .14s var(--ease), transform .14s var(--ease);
}
.search-suggestion:hover,
.search-suggestion:focus-visible {
  background: rgba(255,255,255,.085);
  border-color: rgba(255,255,255,.24);
}
.search-suggestion:active { transform: scale(.992); }
.search-suggestion img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255,255,255,.07);
}
.search-suggestion span { min-width: 0; display: grid; gap: 2px; }
.search-suggestion b {
  font-size: .82rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-suggestion small { color: rgba(255,255,255,.62); font-size: .68rem; }
.search-suggestion em {
  font-style: normal;
  font-size: .66rem;
  font-weight: 800;
  color: #050505;
  background: rgba(255,255,255,.9);
  padding: 5px 8px;
  border-radius: 999px;
}
.search-suggestion-empty { color: rgba(255,255,255,.68); font-size: .82rem; }

.order-item {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
}
.order-item-thumb {
  width: 48px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  cursor: zoom-in;
}
.order-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.order-item-thumb.image-missing {
  display: none;
}
.order-item-copy { min-width: 0; }
.order-item-copy strong {
  white-space: normal;
  overflow-wrap: anywhere;
}
.product.jump-highlight {
  animation: exactCardPulse 1.15s ease both;
}
@keyframes exactCardPulse {
  0% { transform: translateY(0); }
  28% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

@media (max-width: 960px) {
  .toolbar { top: 78px; }
}
@media (max-width: 640px) {
  .toolbar {
    top: 72px;
    padding: 10px;
    border-radius: 18px;
  }
  .search-suggestions {
    max-height: 54vh;
    border-radius: 16px;
  }
  .search-suggestion {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .search-suggestion img { width: 40px; height: 40px; border-radius: 11px; }
  .search-suggestion b { font-size: .78rem; }
  .search-suggestion small { font-size: .62rem; }
}
@media (max-width: 520px) {
  .order-item {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
  }
  .order-item-thumb { width: 46px; height: 54px; }
  .order-item-actions {
    grid-column: 2 / -1;
    width: 100%;
    grid-template-columns: 1fr auto;
    justify-items: start;
    align-items: center;
  }
}


/* v2080: fixed always-available search, exact product jumps, order jump highlight, faster reliable navigation */
html { scroll-padding-top: 178px; }
body { --scentory-topbar-h: 86px; }
.catalog-panel { padding-top: 88px; }
.toolbar {
  position: fixed !important;
  top: calc(var(--scentory-topbar-h) + env(safe-area-inset-top, 0px)) !important;
  left: 50% !important;
  width: min(1148px, calc(100vw - 32px)) !important;
  transform: translateX(-50%) translateZ(0) !important;
  z-index: 90 !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
.product {
  content-visibility: visible !important;
  contain: none !important;
  scroll-margin-top: 182px !important;
}
#priceList, #hotArrivals, #bestSelling, #myOrder { scroll-margin-top: 182px; }
.hot-arrival-card, .best-seller-card, .search-suggestion, .price-tile { touch-action: manipulation; }
.order-card.order-jump-highlight {
  border-color: rgba(255,255,255,.58) !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 14px 34px rgba(0,0,0,.28) !important;
  animation: exactCardPulse 1.05s ease both;
}

@media (max-width: 960px) {
  body { --scentory-topbar-h: 76px; }
  .catalog-panel { padding-top: 82px; }
  .toolbar {
    top: calc(var(--scentory-topbar-h) + env(safe-area-inset-top, 0px)) !important;
    width: calc(100vw - 20px) !important;
  }
  html { scroll-padding-top: 166px; }
  .product { scroll-margin-top: 166px !important; }
  #priceList, #hotArrivals, #bestSelling, #myOrder { scroll-margin-top: 166px; }
}

@media (max-width: 640px) {
  body { --scentory-topbar-h: 72px; }
  .catalog-panel { padding-top: 76px; }
  .toolbar {
    grid-template-columns: minmax(0, 1fr) 118px !important;
    gap: 7px !important;
    padding: 9px !important;
    border-radius: 17px !important;
    width: calc(100vw - 16px) !important;
  }
  .toolbar input, .toolbar select { min-height: 44px; font-size: .84rem; }
  .search-suggestions { max-height: 50vh; }
  html { scroll-padding-top: 156px; }
  .product { scroll-margin-top: 156px !important; }
  #priceList, #hotArrivals, #bestSelling, #myOrder { scroll-margin-top: 156px; }
}

@media (max-width: 390px) {
  .toolbar { grid-template-columns: minmax(0, 1fr) 104px !important; }
  .toolbar input, .toolbar select { font-size: .78rem; padding-left: 10px; padding-right: 10px; }
}


/* v2090: true fixed search + bottom order bar opens My Order only when tapped */
html { scroll-padding-top: 108px !important; }
.catalog-panel { padding-top: 72px !important; }
.toolbar {
  position: fixed !important;
  top: max(8px, env(safe-area-inset-top, 0px)) !important;
  left: 50% !important;
  width: min(1148px, calc(100vw - 20px)) !important;
  transform: translateX(-50%) translateZ(0) !important;
  z-index: 999 !important;
  margin: 0 !important;
  background: rgba(8,8,8,.92) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}
.product { scroll-margin-top: 116px !important; }
#priceList, #hotArrivals, #bestSelling, #myOrder { scroll-margin-top: 116px !important; }
.floating-cart {
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.floating-cart.show {
  display: inline-flex !important;
}
@media (max-width: 640px) {
  html { scroll-padding-top: 104px !important; }
  .catalog-panel { padding-top: 68px !important; }
  .toolbar {
    top: max(7px, env(safe-area-inset-top, 0px)) !important;
    width: calc(100vw - 14px) !important;
    grid-template-columns: minmax(0, 1fr) 112px !important;
    padding: 8px !important;
    border-radius: 16px !important;
  }
  .toolbar input, .toolbar select { min-height: 42px !important; }
  .product { scroll-margin-top: 108px !important; }
  #priceList, #hotArrivals, #bestSelling, #myOrder { scroll-margin-top: 108px !important; }
}

/* v2100: updated price list + flexible size tiles */
.price-buttons.four-row { grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)); }
@media (max-width: 420px) { .price-buttons.four-row { grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); } }


/* v2102: fixed top search, logo jump-to-top, 2x2 hot arrivals, overlap fixes */
html { scroll-padding-top: 176px !important; }
body { --scentory-topbar-h: 82px; --scentory-toolbar-h: 70px; padding-top: calc(var(--scentory-topbar-h) + env(safe-area-inset-top, 0px)); }
.topbar {
  position: fixed !important;
  inset: 0 0 auto 0;
  z-index: 120 !important;
  background: rgba(5,5,5,.94) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.topbar-inner {
  max-width: 1180px;
  min-height: var(--scentory-topbar-h);
  padding: 10px 16px;
  grid-template-columns: minmax(138px, 250px) minmax(0, 1fr) auto !important;
  gap: 10px;
}
.top-search-wrap {
  position: relative;
  min-width: 0;
  width: 100%;
}
.top-search-input {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}
.brand-center {
  justify-self: center;
  width: min(320px, 42vw);
  min-width: 0;
}
.site-logo { max-height: 60px; }
.cart-pill { min-width: 76px; }
.catalog-panel { padding-top: calc(var(--scentory-toolbar-h) + 14px) !important; }
.toolbar {
  position: fixed !important;
  top: calc(var(--scentory-topbar-h) + env(safe-area-inset-top, 0px)) !important;
  left: 50% !important;
  transform: translateX(-50%) translateZ(0) !important;
  width: min(1148px, calc(100vw - 32px)) !important;
  min-height: var(--scentory-toolbar-h);
  grid-template-columns: minmax(0, 1fr) 180px !important;
  align-items: center;
  z-index: 110 !important;
}
.toolbar-title {
  min-width: 0;
  display: grid;
  gap: 2px;
  color: var(--text);
}
.toolbar-title strong { font-size: .96rem; line-height: 1.1; }
.toolbar-title span { color: var(--muted); font-size: .72rem; line-height: 1.25; }
.search-suggestions { z-index: 140 !important; }
.product { scroll-margin-top: 196px !important; }
#priceList, #hotArrivals, #bestSelling, #myOrder { scroll-margin-top: 196px !important; }
.hot-arrivals-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  overflow: visible !important;
  padding: 0 !important;
}
.hot-arrival-card { min-width: 0 !important; }
@media (max-width: 960px) {
  body { --scentory-topbar-h: 76px; --scentory-toolbar-h: 68px; }
  .topbar-inner { grid-template-columns: minmax(124px, 220px) minmax(0, 1fr) auto !important; }
  .brand-center { width: min(260px, 38vw); }
  .toolbar { width: calc(100vw - 20px) !important; }
  html { scroll-padding-top: 170px !important; }
  .product, #priceList, #hotArrivals, #bestSelling, #myOrder { scroll-margin-top: 184px !important; }
  .hot-arrivals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  body { --scentory-topbar-h: 72px; --scentory-toolbar-h: 64px; }
  .topbar-inner {
    grid-template-columns: minmax(112px, 150px) minmax(0, 1fr) 56px !important;
    gap: 8px;
    padding: 8px 8px;
  }
  .top-search-input { min-height: 42px; font-size: .8rem; padding: 10px 12px; }
  .brand-center { width: min(166px, 34vw); }
  .site-logo { max-height: 42px; }
  .cart-pill { min-width: 52px; padding: 8px 9px; gap: 5px; font-size: .76rem; }
  .toolbar {
    top: calc(var(--scentory-topbar-h) + env(safe-area-inset-top, 0px)) !important;
    grid-template-columns: minmax(0, 1fr) 112px !important;
    gap: 8px !important;
    padding: 8px 9px !important;
    width: calc(100vw - 16px) !important;
    border-radius: 18px !important;
  }
  .toolbar-title strong { font-size: .85rem; }
  .toolbar-title span { font-size: .62rem; }
  .search-suggestions { max-height: 54vh; }
  .hot-arrivals-section { padding: 12px; border-radius: 20px; }
  .hot-arrivals-head { align-items: flex-start; gap: 10px; }
  .hot-arrivals-head p { display: none; }
  .hot-arrivals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .hot-arrival-card { padding: 8px !important; border-radius: 18px !important; }
  .hot-arrival-photo-wrap { border-radius: 14px !important; }
  .hot-arrival-copy { padding: 8px 2px 0 !important; gap: 4px !important; }
  .hot-arrival-copy b { font-size: .74rem !important; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .hot-arrival-copy small { font-size: .54rem !important; min-height: 2.7em; }
  .catalog-panel { padding-top: calc(var(--scentory-toolbar-h) + 14px) !important; }
  html { scroll-padding-top: 154px !important; }
  .product, #priceList, #hotArrivals, #bestSelling, #myOrder { scroll-margin-top: 168px !important; }
}
@media (max-width: 390px) {
  .topbar-inner { grid-template-columns: 108px minmax(0, 1fr) 50px !important; }
  .top-search-input { font-size: .74rem; }
  .brand-center { width: min(142px, 32vw); }
  .toolbar { grid-template-columns: minmax(0, 1fr) 102px !important; }
}


/* v3000: Full premium Scentory website experience */
html { scroll-padding-top: 218px !important; }
body { --scentory-topbar-h: 122px; --scentory-toolbar-h: 70px; padding-top: calc(var(--scentory-topbar-h) + env(safe-area-inset-top, 0px)); }
.topbar { min-height: var(--scentory-topbar-h); }
.topbar-inner { min-height: 78px !important; }
.site-nav { max-width: 1180px; margin: 0 auto; padding: 0 16px 12px; display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { flex: 0 0 auto; text-decoration: none; color: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.045); border-radius: 999px; padding: 9px 13px; font-size: .76rem; font-weight: 800; letter-spacing: .01em; transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.site-nav a:hover, .site-nav a:focus-visible { color: #050505; background: rgba(255,255,255,.9); border-color: rgba(255,255,255,.32); }
.hero-inner { padding-top: 58px; padding-bottom: 60px; }
.hero h1 { max-width: 850px; margin-left: auto; margin-right: auto; }
.hero p { max-width: 650px; margin-left: auto; margin-right: auto; }
.hero-mini-grid { margin: 28px auto 0; max-width: 760px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hero-mini-grid span { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.055); border-radius: 20px; padding: 15px 12px; display: grid; gap: 3px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-mini-grid b { font-size: 1rem; letter-spacing: -.01em; }
.hero-mini-grid small { color: rgba(255,255,255,.66); font-size: .74rem; }
.brand-showcase, .info-section, .about-section, .faq-section, .contact-section { max-width: 1180px; margin: 0 auto; padding: 26px 16px; }
.brand-showcase-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; padding: clamp(22px, 4vw, 38px); background: radial-gradient(circle at 12% 10%, rgba(255,255,255,.16), transparent 34%), linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.035)); box-shadow: 0 20px 50px rgba(0,0,0,.26); }
.brand-showcase-card::after { content: ""; position: absolute; inset: auto -10% -38% 42%; height: 260px; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 65%); pointer-events: none; }
.brand-showcase-card h2, .info-section h2, .about-section h2, .faq-section h2, .contact-section h2 { margin: 8px 0 10px; font-size: clamp(1.7rem, 5vw, 3rem); letter-spacing: -.055em; line-height: .98; }
.brand-showcase-card p, .info-section p, .about-section p, .faq-section p, .contact-section p { color: rgba(245,245,245,.72); line-height: 1.55; }
.brand-showcase-card > p { max-width: 670px; }
.brand-feature-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.brand-feature-grid div, .steps-grid article, .faq-grid details, .about-stat-card { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.045); border-radius: 22px; padding: 18px; }
.brand-feature-grid strong, .steps-grid h3 { display: block; margin: 0 0 6px; font-size: 1rem; }
.brand-feature-grid span { display: block; color: rgba(245,245,245,.64); font-size: .84rem; line-height: 1.45; }
.centered { justify-content: center; text-align: center; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps-grid article { min-height: 190px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.028)); }
.steps-grid article span { width: 42px; height: 42px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #050505; background: linear-gradient(135deg, #fff, #d2d2d2); font-weight: 950; margin-bottom: 18px; }
.steps-grid p { margin: 0; font-size: .9rem; }
.about-section { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: stretch; }
.about-section > div:first-child { border: 1px solid rgba(255,255,255,.13); border-radius: 30px; padding: clamp(22px, 4vw, 38px); background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); }
.about-stat-card { display: grid; align-content: center; gap: 4px; text-align: center; background: radial-gradient(circle at 50% 12%, rgba(255,255,255,.16), transparent 44%), rgba(255,255,255,.045); }
.about-stat-card strong { font-size: clamp(1.7rem, 5vw, 2.5rem); letter-spacing: -.06em; }
.about-stat-card span { color: rgba(245,245,245,.62); font-size: .82rem; margin-bottom: 12px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.faq-grid details { padding: 0; overflow: hidden; }
.faq-grid summary { list-style: none; cursor: pointer; padding: 18px; font-weight: 900; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid details p { margin: 0; padding: 0 18px 18px; font-size: .88rem; }
.contact-section { margin-bottom: 14px; display: flex; justify-content: space-between; gap: 18px; align-items: center; border-top: 1px solid rgba(255,255,255,.08); }
.contact-section > div:first-child { max-width: 650px; }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.catalog-panel { padding-top: calc(var(--scentory-toolbar-h) + 18px) !important; }
.toolbar { top: calc(var(--scentory-topbar-h) + env(safe-area-inset-top, 0px)) !important; }
.product, #priceList, #hotArrivals, #bestSelling, #myOrder, #collection, #howToOrder, #aboutScentory, #faq, #contactScentory { scroll-margin-top: 218px !important; }
@media (max-width: 960px) { body { --scentory-topbar-h: 116px; --scentory-toolbar-h: 68px; } .site-nav { padding-left: 10px; padding-right: 10px; padding-bottom: 10px; } .site-nav a { font-size: .72rem; padding: 8px 11px; } .brand-feature-grid, .steps-grid { grid-template-columns: 1fr; } .about-section { grid-template-columns: 1fr; } .faq-grid { grid-template-columns: 1fr; } .contact-section { display: grid; } .contact-actions { justify-content: flex-start; } .product, #priceList, #hotArrivals, #bestSelling, #myOrder, #collection, #howToOrder, #aboutScentory, #faq, #contactScentory { scroll-margin-top: 206px !important; } }
@media (max-width: 640px) { html { scroll-padding-top: 184px !important; } body { --scentory-topbar-h: 108px; --scentory-toolbar-h: 64px; } .topbar-inner { min-height: 66px !important; } .site-nav { padding-bottom: 9px; gap: 6px; } .site-nav a { font-size: .66rem; padding: 7px 10px; } .hero-inner { padding-top: 38px; padding-bottom: 44px; } .hero-mini-grid { grid-template-columns: 1fr; max-width: 320px; } .brand-showcase, .info-section, .about-section, .faq-section, .contact-section { padding-left: 12px; padding-right: 12px; } .brand-showcase-card, .about-section > div:first-child { border-radius: 24px; } .brand-feature-grid div, .steps-grid article, .faq-grid details, .about-stat-card { border-radius: 18px; } .contact-actions .btn { width: 100%; } .product, #priceList, #hotArrivals, #bestSelling, #myOrder, #collection, #howToOrder, #aboutScentory, #faq, #contactScentory { scroll-margin-top: 190px !important; } }


/* v3001: social preview metadata + exact center header logo fix */
.topbar-inner {
  position: relative !important;
}

.top-search-wrap {
  justify-self: start !important;
  z-index: 3 !important;
}

.brand-center {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 2 !important;
  width: min(320px, 36vw) !important;
}

.cart-pill {
  position: relative !important;
  z-index: 3 !important;
}

.site-logo {
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 640px) {
  .brand-center {
    width: min(154px, 31vw) !important;
  }

  .top-search-wrap {
    max-width: 150px !important;
  }
}

@media (max-width: 390px) {
  .brand-center {
    width: min(128px, 29vw) !important;
  }

  .top-search-wrap {
    max-width: 124px !important;
  }
}
