.demo-banner { background: rgba(255,241,184,.9); color: #5E4510; text-align: center; padding: 10px 16px; font-size: 14px; }
.demo-banner code { background: rgba(0,0,0,.06); padding: 1px 6px; border-radius: 6px; }

/* ---------- floating glass header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; padding-top: 14px; }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 8px 8px 16px; border-radius: 999px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 14px; background: var(--ink); color: #DCEBC9; display: flex; align-items: center; justify-content: center; transform: rotate(-6deg); }
.brand-mark svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.brand-mark.has-logo { background: #fff; overflow: hidden; transform: none; border: 1px solid var(--glass-line); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.main-nav { display: flex; gap: 4px; font-weight: 600; font-size: 15px; }
.main-nav a { text-decoration: none; color: var(--ink); padding: 10px 16px; border-radius: 999px; white-space: nowrap; transition: background .2s; }
.main-nav a:hover { background: rgba(255,255,255,.75); color: var(--ink); }
.header-actions { display: flex; gap: 8px; }
.cart-btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.cart-btn:hover { background: #000; }
.cart-btn > span:first-child { display: flex; }
.cart-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; border-radius: 11px; background: linear-gradient(135deg, #FF9A6B, #F25F8A); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 6px; border: 2px solid #fff; }
@media (max-width: 760px) {
  .header-bar { border-radius: 26px; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; justify-content: space-between; }
  .main-nav a { padding: 8px 8px; font-size: 14px; }
}

/* ---------- hero ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 28px; }
.hero-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.hero-copy h1 { font-size: clamp(44px, 6.6vw, 88px); line-height: .95; letter-spacing: -0.045em; font-weight: 800; }
.hero-copy h1 span { background: linear-gradient(100deg, #1C1F17 30%, #4E6438 55%, #B46A8E 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p { margin: 0; font-size: 19px; color: var(--ink-2); max-width: 480px; }
.sticker { align-self: flex-start; background: var(--butter); border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas.center { justify-content: center; }
.hero-social:empty { display: none; }

.hero-art { flex: 1 1 380px; position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, 70px); gap: 14px; }
.hero-art .tile { border-radius: 28px; overflow: hidden; border: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.hero-art .tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .t1 { grid-column: 1 / 5; grid-row: 1 / 7; transform: rotate(-2deg); }
.hero-art .t2 { grid-column: 5 / 7; grid-row: 1 / 4; transform: rotate(3deg); background: linear-gradient(135deg, rgba(255,214,191,.8), rgba(255,255,255,.4)); }
.hero-art .t3 { grid-column: 5 / 7; grid-row: 4 / 7; transform: rotate(-1deg); background: linear-gradient(135deg, rgba(217,204,255,.8), rgba(255,255,255,.4)); }
.hero-art .float-chip { position: absolute; left: -12px; bottom: 26px; padding: 12px 16px; border-radius: 18px; display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; }
.hero-art .float-chip svg { width: 18px; height: 18px; fill: #F2B200; stroke: none; }
@media (max-width: 760px) { .hero { padding-top: 32px; } .hero-art { grid-template-rows: repeat(6, 52px); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; margin: 28px 0 8px; padding: 14px 0; background: var(--ink); color: #EAF3DE; transform: rotate(-1.2deg); }
.marquee-track { display: flex; gap: 26px; width: max-content; animation: marquee 28s linear infinite; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; white-space: nowrap; }
.marquee-track i { font-style: normal; color: #C6E59E; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- perks ---------- */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; padding-top: 36px; }
.perk { border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; align-items: center; }
.perk > span { width: 46px; height: 46px; flex: none; border-radius: 15px; background: rgba(255,255,255,.85); color: var(--sage-700); display: flex; align-items: center; justify-content: center; }
.perk svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perk strong { display: block; font-size: 15px; }
.perk small { color: var(--muted); font-size: 13px; }

/* ---------- sections ---------- */
.section { padding-top: 64px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; }
.shop-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.search-box { display: flex; align-items: center; gap: 8px; padding: 0 6px 0 16px; border-radius: 999px; }
.search-box > span { display: flex; color: var(--muted); }
.search-box svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.search-box input { border: 0; background: transparent; min-height: 46px; width: 200px; padding: 0 8px; box-shadow: none; }
.search-box input:focus { background: transparent; box-shadow: none; }
.glass-select { width: auto; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); padding: 0 18px; font-weight: 600; }

.cat-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-chip { min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); font: 600 15px var(--body); color: var(--ink); cursor: pointer; transition: transform .15s, background .2s; }
.cat-chip:hover { background: #fff; transform: translateY(-2px); }
.cat-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-chip .n { font-weight: 500; opacity: .6; margin-left: 6px; font-size: 13px; }

.live-line { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin: 8px 0 0; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.card { border-radius: 28px; padding: 10px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.6); border: 0; padding: 0; cursor: pointer; display: block; width: 100%; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s; }
.card-img img.alt { opacity: 0; }
.card:hover .card-img img.alt { opacity: 1; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img .placeholder-img { width: 100%; height: 100%; }
.card-tag { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); z-index: 1; }
.card-tag.sold { background: var(--ink); color: #fff; }
.photo-count { position: absolute; right: 10px; bottom: 10px; z-index: 1; background: rgba(28,31,23,.65); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.card-meta { padding: 0 6px; display: flex; flex-direction: column; gap: 2px; }
.card-cat { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.card-name { font-weight: 700; font-size: 17px; background: none; border: 0; padding: 0; text-align: left; font-family: var(--display); letter-spacing: -0.01em; color: inherit; cursor: pointer; line-height: 1.25; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 2px 2px 6px; }
.card-price { font-weight: 700; font-size: 17px; }
.add-btn { min-height: 44px; padding: 0 18px; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.4), rgba(255,255,255,.8), rgba(255,255,255,.4)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 28px; min-height: 380px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- custom band ---------- */
.custom-band { border-radius: 36px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between;
  background: linear-gradient(135deg, rgba(255,214,191,.75), rgba(217,204,255,.6) 60%, rgba(201,240,221,.6)); }
.custom-copy { flex: 1 1 420px; }
.custom-band h2 { font-size: clamp(34px, 4.5vw, 58px); line-height: 1; margin: 12px 0 14px; max-width: 640px; font-weight: 800; }
.custom-band p { margin: 0 0 22px; color: var(--ink-2); font-size: 17px; max-width: 520px; }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--clay-700); text-transform: uppercase; letter-spacing: .12em; }
.custom-follow { display: flex; flex-direction: column; gap: 12px; }
.custom-follow:has(.socials:empty) { display: none; }
.socials-lg .social { width: 56px; height: 56px; border-radius: 18px; background: rgba(255,255,255,.75); }
.socials-lg .social svg { width: 24px; height: 24px; }

/* ---------- footer ---------- */
.site-footer { margin-top: 80px; padding-bottom: 24px; }
.footer-card { border-radius: 36px; padding: 40px clamp(20px, 4vw, 44px) 22px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-bottom: 24px; }
.footer-brandcol { display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.footer-brandcol p { margin: 0; color: var(--ink-2); }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col strong { font-family: var(--display); }
.footer-col a { color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { border-top: 1px solid var(--line); padding-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- product dialog / gallery ---------- */
.product-dialog { max-width: min(920px, calc(100vw - 24px)); }
.pd { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.gallery { display: flex; flex-direction: column; gap: 10px; }
.gallery-main { position: relative; aspect-ratio: 1/1; border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.6); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .placeholder-img { width: 100%; height: 100%; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.85); }
.gal-nav.prev { left: 10px; } .gal-nav.next { right: 10px; }
.gal-nav:hover { transform: translateY(-50%) scale(1.05); }
.gal-count { position: absolute; bottom: 10px; right: 10px; background: rgba(28,31,23,.65); color: #fff; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: none; width: 68px; height: 68px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: rgba(255,255,255,.6); opacity: .7; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.thumb:hover { opacity: 1; }
.pd-info { display: flex; flex-direction: column; gap: 12px; }
.pd-price { font-family: var(--display); font-size: 30px; font-weight: 800; }
.pd-desc { white-space: pre-line; color: var(--ink-2); margin: 0; }
.pd-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(28,31,23,.12); border-radius: 999px; background: rgba(255,255,255,.7); }
.qty button { width: 42px; height: 42px; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); border-radius: 21px; }
.qty button:hover { background: rgba(255,255,255,.9); }
.qty svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.qty output { min-width: 28px; text-align: center; font-weight: 700; }

/* ---------- cart drawer ---------- */
dialog.drawer { margin: 0 0 0 auto; height: 100vh; max-height: 100vh; border-radius: 32px 0 0 32px; max-width: min(460px, 100vw); display: none; flex-direction: column; }
dialog.drawer[open] { display: flex; animation: slide .25s ease-out; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
dialog.drawer .dialog-body { flex: 1; overflow-y: auto; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 20px; background: rgba(255,255,255,.6); }
.cart-line .thumb-c { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.6); }
.cart-line .thumb-c img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .thumb-c .placeholder-img { width: 100%; height: 100%; }
.cart-line .name { font-weight: 700; }
.cart-line .warn { color: var(--danger); font-size: 13px; }
.cart-line .remove { border: 0; background: none; color: var(--muted); cursor: pointer; font: 500 13px var(--body); padding: 6px 0; text-decoration: underline; }
.totals { width: 100%; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 800; font-size: 20px; font-family: var(--display); }
.cart-foot-btn { width: 100%; }

/* ---------- checkout ---------- */
.co-summary { background: rgba(255,255,255,.7); border-radius: 18px; padding: 14px 16px; font-size: 14px; }
.co-summary ul { margin: 0 0 8px; padding-left: 18px; }
.form-section { font-size: 18px; margin-top: 4px; }
.pay-set { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pay-set legend { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid rgba(28,31,23,.12); border-radius: 18px; padding: 14px; cursor: pointer; background: rgba(255,255,255,.6); transition: background .2s, border-color .2s; }
.pay-opt:has(input:checked) { border-color: var(--ink); background: #fff; }
.pay-opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.pay-opt small { display: block; color: var(--muted); }
.transfer-box { display: flex; flex-direction: column; gap: 12px; background: rgba(255,255,255,.7); border-radius: 18px; padding: 14px; }
.transfer-details { margin: 0; white-space: pre-line; font-size: 14px; }

.success { text-align: center; align-items: center; padding: 40px 24px; }
.success-mark { width: 72px; height: 72px; border-radius: 24px; background: linear-gradient(135deg, var(--peach), var(--lilac)); color: var(--ink); display: flex; align-items: center; justify-content: center; transform: rotate(-6deg); }
.success-mark svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.success p { margin: 0; color: var(--ink-2); }
