:root {
  color-scheme: light;
  --teal: #19c5cf;
  --teal-dark: #08aeb9;
  --ink: #17191c;
  --muted: #72777d;
  --line: #e7e9eb;
  --page: #fff;
  --soft: #f5f6f7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); }
button, input { font: inherit; }
button { cursor: pointer; }
.topbar {
  height: 52px; position: sticky; top: 0; z-index: 20; display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px;
  background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
}
.icon-button, .cart-button { border: 0; background: transparent; color: #1e2226; }
.icon-button { font-size: 24px; line-height: 1; padding: 5px 4px; }
.menu-toggle { justify-self: start; }
.brand-name { color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 750; letter-spacing: -.04em; }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.cart-button { position: relative; font-size: 22px; padding: 4px; }
.cart-count {
  display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 11px; font-weight: 700;
}
.cart-button .cart-count { position: absolute; right: -6px; top: -5px; }
.page-shell { min-height: calc(100vh - 52px); }
.sidebar {
  position: fixed; z-index: 15; left: 0; top: 52px; bottom: 0; width: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #fff; border-right: 1px solid var(--line); overflow-y: auto;
}
.side-nav { display: flex; flex-direction: column; padding: 8px 0; }
.side-nav a {
  color: #23262a; text-decoration: none; padding: 10px 22px; font-size: 14px;
  transition: background .15s ease;
}
.side-nav a:hover, .side-nav a.active { background: #f2f4f5; }
.sidebar-footer { padding: 12px 18px 15px; border-top: 1px solid var(--line); display: grid; gap: 13px; color: #636970; font-size: 12px; }
.language-button { justify-self: end; padding: 8px 14px; border-radius: 22px; border: 1px solid var(--line); background: white; color: var(--muted); }
.sidebar-footer small { border-top: 1px solid var(--line); padding-top: 10px; color: #888d92; }
.store-content { max-width: 1020px; margin: 0 auto; padding: 24px 28px 100px; }
@media (min-width: 900px) { .store-content { margin-left: 220px; } }
.store-intro { text-align: center; }
.hero-art {
  position: relative; height: 240px; max-width: 700px; margin: 0 auto; overflow: hidden;
  border-radius: 10px; background: linear-gradient(112deg,#faf8fc,#e7f6f6 54%,#fff0e8);
  display: grid; place-items: center;
}
.hero-watermark { position: absolute; inset: 15px 0 auto; color: rgba(105,74,126,.12); font-size: clamp(30px,7vw,64px); font-weight: 900; letter-spacing: .04em; }
.hero-placeholder { z-index: 1; width: min(82%,480px); min-height: 150px; border: 1px dashed rgba(62,78,90,.32); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(255,255,255,.38); color: #5b6168; }
.hero-placeholder strong { color: #16191d; font-size: 30px; letter-spacing: -.06em; }
.hero-placeholder span { font-size: 12px; }
.store-avatar { width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle at 40% 30%,#244451,#07151e 72%); color: #fff; margin: -48px auto 14px; position: relative; display: grid; place-items: center; box-shadow: 0 6px 16px #0002; }
.store-avatar span { color: #ffd84f; font-size: 20px; font-weight: 900; line-height: .9; text-align: center; text-shadow: 1px 2px #17bfd0; }
.store-intro h1 { margin: 12px 0 8px; font-size: 24px; }
.location { margin: 0; display: inline-block; padding: 7px 13px; background: #f4f5f6; color: #666c72; border-radius: 20px; font-size: 12px; }
.category-shortcuts { display: flex; gap: 10px; overflow-x: auto; padding: 22px 4px 28px; scrollbar-width: thin; }
.category-shortcut { flex: 0 0 76px; text-align: center; color: #292d30; text-decoration: none; font-size: 12px; }
.category-shortcut .thumb {
  width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 7px;
  border: 1px solid #eceef0; border-radius: 16px; background: #fafafa; color: var(--teal-dark);
  font-size: 22px; font-weight: 800;
}
.category-shortcut:hover .thumb { border-color: var(--teal); }
.promo-banner {
  min-height: 230px; border-radius: 18px; overflow: hidden; padding: 24px 9%;
  display: flex; align-items: center; background: linear-gradient(110deg,#f8eddf,#fff2e9 45%,#e9f7ed);
  color: #655e49; margin: 0 0 24px;
}
.promo-copy { max-width: 380px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 10px; }
.promo-banner h2 { margin: 8px 0; font-size: clamp(32px,5vw,52px); line-height: .94; font-weight: 300; letter-spacing: -.06em; }
.promo-banner p { font-size: 11px; color: #777; }
.product-section { margin: 24px 0 32px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; }
.section-heading h2 { margin: 0; font-size: 19px; }
.view-all { border: 0; border-radius: 18px; background: #f3f4f5; padding: 8px 13px; font-size: 12px; color: #40464c; }
.product-row { display: grid; grid-auto-columns: minmax(155px,1fr); grid-auto-flow: column; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.product-card { min-width: 0; border: 1px solid #edeff1; border-radius: 13px; overflow: hidden; background: #fff; }
.product-image {
  aspect-ratio: 1 / 1.05; background: #f2f3f4; color: #81878d; display: grid; place-items: center;
  padding: 14px; text-align: center; font-size: 11px;
}
.product-image .image-mark { display: block; font-size: 28px; color: #c4c9cd; margin-bottom: 8px; }
.product-info { padding: 10px 11px 12px; }
.product-name { margin: 0 0 7px; font-size: 13px; line-height: 1.3; min-height: 34px; }
.product-price { font-weight: 750; font-size: 14px; }
.add-button { margin-top: 9px; width: 100%; border: 0; border-radius: 18px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; padding: 8px; }
.add-button:hover { background: var(--teal-dark); }
.empty-category { color: var(--muted); font-size: 13px; padding: 16px; border-radius: 12px; background: var(--soft); }
.asset-note { text-align: center; color: #8a9096; font-size: 11px; padding-top: 15px; }
.search-panel { position: sticky; top: 52px; z-index: 12; background: #fff; padding: 12px; border-bottom: 1px solid var(--line); }
.search-panel label { display: block; font-weight: 650; font-size: 12px; margin-bottom: 5px; }
.search-panel input { width: 100%; border: 1px solid #d9dde0; border-radius: 10px; padding: 11px 12px; outline-color: var(--teal); }
.cart-dock {
  position: fixed; z-index: 30; bottom: 10px; left: 50%; transform: translateX(-50%);
  min-width: min(420px,calc(100% - 30px)); display: flex; align-items: center; justify-content: space-between;
  background: var(--teal); color: white; border-radius: 26px; padding: 10px 17px;
  box-shadow: 0 5px 18px #0002; font-size: 13px;
}
.cart-dock .cart-count { background: #fff; color: #333; width: 20px; height: 20px; }
.cart-total { font-size: 13px; }
.toast { position: fixed; z-index: 40; left: 50%; bottom: 66px; transform: translate(-50%,10px); opacity: 0; pointer-events: none; background: #252a2e; color: white; padding: 10px 14px; border-radius: 8px; font-size: 12px; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
@media (max-width: 899px) {
  .sidebar { transform: translateX(-100%); transition: transform .22s ease; box-shadow: 8px 0 24px #0000; }
  body.nav-open .sidebar { transform: translateX(0); box-shadow: 8px 0 24px #0002; }
  .store-content { padding: 15px 14px 92px; }
  .hero-art { height: 190px; }
  .promo-banner { min-height: 185px; padding: 20px 8%; }
  .product-row { grid-auto-columns: 44%; }
}
@media (max-width: 420px) {
  .hero-art { height: 160px; }
  .store-avatar { width: 84px; height: 84px; margin-top: -40px; }
  .category-shortcut { flex-basis: 68px; }
  .category-shortcut .thumb { width: 56px; height: 56px; }
  .product-row { grid-auto-columns: 52%; }
}
