
:root {
  --bg: #0A0A14;
  --panel: #12122A;
  --surface: #FFFFFF;
  --light: #F5F4F0;
  --ink: #0A0A14;
  --primary: #6C4CF1;
  --primary-lt: #8B72F5;
  --amber: #FFB547;
  --aurora: #4CD8C4;
  --rose: #FF6F91;
  --muted: #8A8A9C;
  --muted-lt: #B8B8C8;
  --line: #24243E;
  --line-lt: #33334F;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', 'SF Mono', monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--light);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.35) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(255,181,71,0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 40% 90%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 50%, rgba(76,216,196,0.35) 50%, transparent 50%),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 55% 15%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(1px 1px at 75% 85%, rgba(255,111,145,0.3) 50%, transparent 50%);
  background-size: 800px 800px, 600px 600px, 900px 900px, 700px 700px,
                   850px 850px, 750px 750px, 650px 650px, 950px 950px;
  background-position: 0 0, 100px 80px, -60px 40px, 50px -40px,
                       120px 100px, -30px -60px, 80px 150px, -100px 60px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle {
  0% { opacity: 0.5; }
  100% { opacity: 0.9; }
}
body.starfield-burst:before { animation: starfieldBurst 1.2s ease; }
@keyframes starfieldBurst {
  0% { opacity: 0.7; }
  30% { opacity: 1; filter: brightness(1.8); }
  100% { opacity: 0.7; filter: brightness(1); }
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main, header, footer { position: relative; z-index: 1; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 32px; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Free shipping progress bar */
.ship-progress {
  position: relative; z-index: 600;
  height: 3px; width: 100%;
  background: var(--line);
  overflow: hidden;
  transition: opacity .3s, height .3s;
}
.ship-progress:after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--primary) 0%, var(--amber) 100%);
  transition: width .5s cubic-bezier(0.4, 0, 0.2, 1);
}
.ship-progress.unlocked:after {
  background: linear-gradient(90deg, var(--aurora) 0%, var(--amber) 100%);
}
.ship-message {
  text-align: center; padding: 8px 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted-lt);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  display: none;
}
.ship-message.visible { display: block; }
.ship-message .amt { color: var(--amber); font-weight: 600; }
.ship-message.unlocked { color: var(--aurora); }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(10,10,20,0.85);
  backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 500;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px; max-width: 1220px; margin: 0 auto; gap: 24px;
}
.logo {
  font-family: var(--serif); font-size: 32px; font-style: italic;
  letter-spacing: -0.01em; display: flex; align-items: center; gap: 12px;
  font-weight: 400;
}
.logo-mark {
  display: inline-block; width: 22px; height: 22px;
  position: relative;
}
.logo-mark:before {
  content: ""; position: absolute; inset: 0;
  border: 1.5px solid var(--amber); border-radius: 50%;
}
.logo-mark:after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 6px; height: 6px; background: var(--primary);
  border-radius: 50%; transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--primary-lt);
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-lt);
  transition: color .25s; position: relative;
}
.nav a:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: center;
  transition: transform .3s;
}
.nav a:hover { color: var(--light); }
.nav a:hover:after { transform: scaleX(1); }
.header-actions { display: flex; gap: 14px; align-items: center; }
.lang-switch {
  display: flex; border: 1px solid var(--line-lt);
  background: var(--panel);
}
.lang-switch button {
  border: none; background: none; padding: 8px 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  cursor: pointer; color: var(--muted-lt); text-transform: uppercase;
  transition: all .2s; font-weight: 500;
}
.lang-switch button.active {
  background: var(--primary); color: var(--surface);
}
.header-live-total {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
  padding-right: 16px; border-right: 1px solid var(--line);
  opacity: 0; transition: opacity .3s;
}
.header-live-total.visible { opacity: 1; }
.header-live-total .amt { color: var(--amber); font-size: 11px; font-weight: 600; }

.cart-btn {
  position: relative; background: transparent; color: var(--light);
  border: 1px solid var(--primary); width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all .25s;
}
.cart-btn:hover {
  background: var(--primary);
  box-shadow: 0 0 24px rgba(108,76,241,0.5);
}
.cart-btn.pulse { animation: orbit 0.8s ease; }
@keyframes orbit {
  0% { transform: rotate(0); box-shadow: 0 0 0 0 rgba(255,181,71,0.6); }
  50% { transform: rotate(180deg); box-shadow: 0 0 0 14px rgba(255,181,71,0); }
  100% { transform: rotate(360deg); box-shadow: 0 0 0 0 rgba(255,181,71,0); }
}
.cart-count {
  position: absolute; top: -6px; right: -6px; background: var(--amber);
  color: var(--ink); font-family: var(--mono); font-size: 10px;
  min-width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; font-weight: 700;
  box-shadow: 0 0 10px rgba(255,181,71,0.6);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: 999px;
  font-family: var(--mono); font-weight: 600; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; border: 1px solid var(--primary);
  background: var(--primary); color: var(--surface);
  transition: all .25s; position: relative; overflow: hidden;
}
.btn:before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .7s;
}
.btn:hover:before { transform: translateX(100%); }
.btn:hover {
  background: var(--amber); border-color: var(--amber); color: var(--ink);
  box-shadow: 0 0 30px rgba(255,181,71,0.4);
}
.btn-outline {
  background: transparent; color: var(--light); border-color: var(--line-lt);
}
.btn-outline:hover {
  background: transparent; color: var(--amber); border-color: var(--amber);
  box-shadow: 0 0 24px rgba(255,181,71,0.2);
}
.btn-success {
  background: var(--aurora); border-color: var(--aurora); color: var(--ink);
}
.btn-success:hover { background: var(--aurora); border-color: var(--aurora); }

/* Hero */
.hero { padding: 90px 0 110px; position: relative; }
.hero:before {
  content: ""; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(108,76,241,0.15) 0%, transparent 60%);
  pointer-events: none; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(52px, 7vw, 104px);
  line-height: 0.94; letter-spacing: -0.025em; margin-bottom: 28px;
  font-weight: 400; font-style: italic;
}
.hero h1 .star { color: var(--amber); font-style: normal; margin: 0 8px; }
.hero p.lead {
  font-size: 18px; color: var(--muted-lt); max-width: 520px; margin-bottom: 40px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 26px;
  font-weight: 500;
}
.eyebrow:before {
  content: ""; width: 32px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber));
}
.hero-img {
  aspect-ratio: 4/5; background: var(--panel);
  border: 1px solid var(--line-lt); overflow: hidden;
  position: relative;
  border-radius: 2px;
}
.hero-img:before {
  content: ""; position: absolute; inset: -1px;
  background: linear-gradient(135deg, rgba(108,76,241,0.3), transparent 40%, transparent 60%, rgba(255,181,71,0.2));
  z-index: 2; pointer-events: none;
  mix-blend-mode: overlay;
}
.hero-img:after {
  content: ""; position: absolute;
  top: -40px; right: -40px; width: 180px; height: 180px;
  border: 1px solid var(--primary); border-radius: 50%;
  opacity: 0.4; pointer-events: none;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
section { padding: 100px 0; }
.section-title {
  font-family: var(--serif); font-size: clamp(38px, 4.8vw, 64px);
  letter-spacing: -0.02em; margin-bottom: 20px;
  font-weight: 400; line-height: 1.02;
}
.section-title em { color: var(--amber); font-style: italic; }
.section-sub { color: var(--muted-lt); max-width: 620px; margin-bottom: 52px; font-size: 17px; }

/* Light section (inverted) */
.section-light {
  background: var(--light); color: var(--ink);
  position: relative;
}
.section-light .section-title { color: var(--ink); }
.section-light .section-sub { color: var(--muted); }
.section-light .eyebrow { color: var(--primary); }
.section-light .eyebrow:before { background: linear-gradient(90deg, transparent, var(--primary)); }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.feature {
  padding: 34px 26px; border-right: 1px solid var(--line);
  position: relative; transition: background .3s;
}
.feature:last-child { border-right: none; }
.feature:hover { background: rgba(108,76,241,0.06); }
.feature .num {
  font-family: var(--serif); font-size: 40px; font-style: italic;
  color: var(--amber); display: block; margin-bottom: 18px;
  font-weight: 400; line-height: 0.9;
}
.feature h3 {
  font-family: var(--sans); font-size: 17px; margin-bottom: 10px;
  font-weight: 500; letter-spacing: -0.005em;
}
.feature p { color: var(--muted); font-size: 14px; }
.section-light .feature { border-color: #DCD9CE; }
.section-light .feature:hover { background: rgba(108,76,241,0.04); }
.section-light .feature .num { color: var(--primary); }
.section-light .feature h3 { color: var(--ink); }
.section-light .feature p { color: var(--muted); }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.product-detail .hero-img { aspect-ratio: 1/1; }
.price-tag {
  font-family: var(--serif); font-size: 60px; margin: 26px 0;
  font-weight: 400; color: var(--light); line-height: 1;
  font-style: italic;
}
.price-tag .currency {
  font-family: var(--mono); font-size: 14px; font-style: normal;
  color: var(--muted); letter-spacing: 0.14em;
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 36px; }
.badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 8px 14px;
  border: 1px solid var(--line-lt); color: var(--muted-lt);
  background: transparent; border-radius: 999px; font-weight: 500;
}
.badge:nth-child(1) { border-color: var(--amber); color: var(--amber); }
.qty-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.qty-input {
  width: 90px; padding: 16px; border: 1px solid var(--line-lt);
  background: transparent; font-family: var(--mono); font-size: 16px;
  text-align: center; color: var(--light); font-weight: 500;
  border-radius: 999px;
}
.qty-input:focus { outline: none; border-color: var(--amber); }
.info-block { border-top: 1px solid var(--line); padding: 34px 0; }
.info-block h3 {
  font-family: var(--serif); font-size: 28px; margin-bottom: 18px;
  font-weight: 400; font-style: italic;
}
.info-block h3 .roman {
  font-family: var(--mono); font-size: 12px; font-style: normal;
  color: var(--amber); margin-right: 14px; letter-spacing: 0.14em;
}
.info-block ul { list-style: none; }
.info-block li {
  padding: 10px 0 10px 30px; position: relative;
  color: var(--muted-lt); font-size: 15px;
}
.info-block li:before {
  content: "\2726"; position: absolute; left: 0; top: 10px;
  color: var(--primary-lt); font-size: 11px;
}

/* Recently added strip */
.recent-strip {
  margin-top: 24px; padding: 18px 22px;
  background: var(--panel); border: 1px solid var(--aurora);
  display: none; align-items: center; gap: 16px;
  border-radius: 2px; position: relative;
}
.recent-strip.show { display: flex; animation: fadeUp .4s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.recent-strip .check {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--aurora); color: var(--aurora);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.recent-strip .text { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted-lt); }
.recent-strip .text strong { color: var(--light); font-weight: 500; }

/* Reviews */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 46px;
}
.review {
  padding: 34px 28px; background: var(--panel);
  border: 1px solid var(--line-lt); position: relative;
  border-radius: 2px; transition: all .3s;
}
.review:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(108,76,241,0.15);
  transform: translateY(-3px);
}
.review .stars {
  color: var(--amber); font-size: 13px; letter-spacing: 3px;
  margin-bottom: 16px;
}
.review p {
  font-family: var(--serif); font-size: 19px; font-style: italic;
  margin-bottom: 22px; color: var(--light); line-height: 1.4;
  font-weight: 400;
}
.review .who {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  padding-top: 16px; border-top: 1px solid var(--line);
}

/* Forms */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px; font-weight: 500;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 15px 18px; border: 1px solid var(--line-lt);
  background: var(--panel); font-family: var(--sans); font-size: 15px;
  color: var(--light); transition: border-color .25s, box-shadow .25s;
  border-radius: 2px;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,76,241,0.2);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; }
.order-summary {
  background: var(--panel); border: 1px solid var(--line-lt);
  padding: 38px; position: sticky; top: 130px; border-radius: 2px;
}
.order-summary h3 {
  font-family: var(--serif); font-size: 26px; margin-bottom: 24px;
  font-weight: 400; font-style: italic;
}
.order-row {
  display: flex; justify-content: space-between; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: 14px;
  color: var(--muted-lt);
}
.order-row.total {
  font-weight: 500; font-size: 22px; border-bottom: none; padding-top: 22px;
  font-family: var(--serif); font-style: italic;
  color: var(--light);
}

/* Cart page */
.cart-item {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 28px;
  align-items: center; padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item .thumb {
  width: 120px; height: 120px; border: 1px solid var(--line-lt);
  overflow: hidden; border-radius: 2px; background: var(--panel);
}
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 {
  font-family: var(--serif); font-size: 24px; margin-bottom: 8px;
  font-weight: 400;
}
.cart-item .meta { font-size: 13px; color: var(--muted); }
.cart-item .price {
  font-family: var(--serif); font-size: 26px; color: var(--amber);
  font-weight: 400; font-style: italic;
}
.cart-remove {
  background: none; border: none; color: var(--rose); cursor: pointer;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; margin-top: 12px; padding: 0;
  border-bottom: 1px solid var(--rose); font-weight: 500;
}
.empty-cart { text-align: center; padding: 110px 20px; }
.empty-cart h2 {
  font-family: var(--serif); font-size: 42px; margin-bottom: 22px;
  font-weight: 400; font-style: italic;
}
.empty-cart p { color: var(--muted); margin-bottom: 30px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 30px 0; font-family: var(--serif); font-size: 24px;
  font-weight: 400; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; color: var(--light); gap: 24px; line-height: 1.3;
  transition: color .25s; font-style: italic;
}
.faq-question:hover { color: var(--amber); }
.faq-icon {
  width: 30px; height: 30px; border: 1px solid var(--primary);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--primary-lt);
  font-size: 16px; flex-shrink: 0; transition: all .3s;
}
.faq-item.open .faq-icon {
  transform: rotate(135deg); background: var(--primary); color: var(--surface);
  box-shadow: 0 0 20px rgba(108,76,241,0.5);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 30px; color: var(--muted-lt); }

/* Prose / legal */
.prose { max-width: 780px; margin: 0 auto; }
.prose h1 {
  font-family: var(--serif); font-size: 56px; margin-bottom: 24px;
  font-weight: 400; line-height: 1.05; font-style: italic;
  letter-spacing: -0.02em;
}
.prose h2 {
  font-family: var(--serif); font-size: 28px; margin: 44px 0 14px;
  font-weight: 400; font-style: italic; color: var(--amber);
}
.prose p { margin-bottom: 16px; color: var(--muted-lt); }
.prose ul { margin: 0 0 16px 24px; }
.prose li { margin-bottom: 8px; color: var(--muted-lt); }

/* Footer */
.site-footer {
  background: #06060E; border-top: 1px solid var(--line);
  margin-top: 100px; padding: 80px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 52px; margin-bottom: 52px;
}
.footer-grid h4 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 22px;
  font-weight: 600;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; color: var(--muted-lt); }
.footer-grid a { transition: color .25s; }
.footer-grid a:hover { color: var(--amber); }
.footer-brand .logo { font-size: 32px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-badges span {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em;
  padding: 6px 12px; border: 1px solid var(--line-lt);
  text-transform: uppercase; color: var(--muted-lt); border-radius: 999px;
  font-weight: 500;
}
.footer-bottom {
  border-top: 1px solid var(--line); padding: 28px 0;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  flex-wrap: wrap; gap: 10px;
}

/* ============ CART DRAWER ============ */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(10,10,20,0.7);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 900;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; width: min(480px, 100%);
  height: 100vh; background: var(--panel); z-index: 1000;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  border-left: 1px solid var(--line-lt);
  box-shadow: -40px 0 100px rgba(108,76,241,0.15);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 32px; border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(108,76,241,0.15), transparent);
}
.drawer-header h3 {
  font-family: var(--serif); font-size: 26px;
  font-weight: 400; font-style: italic;
}
.drawer-close {
  background: none; border: 1px solid var(--primary);
  border-radius: 50%; width: 36px; height: 36px; cursor: pointer;
  color: var(--primary-lt); display: flex; align-items: center;
  justify-content: center; font-size: 20px; line-height: 1;
  transition: all .25s;
}
.drawer-close:hover {
  background: var(--primary); color: var(--surface);
  box-shadow: 0 0 20px rgba(108,76,241,0.6);
}
.drawer-body { flex: 1; overflow-y: auto; padding: 24px 32px; }
.drawer-empty {
  text-align: center; color: var(--muted); padding: 60px 0;
  font-family: var(--serif); font-size: 20px; font-style: italic;
}
.drawer-item {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.drawer-item .thumb {
  width: 80px; height: 80px; border: 1px solid var(--line-lt);
  overflow: hidden; border-radius: 2px;
}
.drawer-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.drawer-item h4 {
  font-family: var(--serif); font-size: 18px; font-weight: 400;
  margin-bottom: 6px; line-height: 1.25;
}
.drawer-item .meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--muted); text-transform: uppercase;
}
.drawer-item .price {
  font-family: var(--serif); font-size: 19px; color: var(--amber);
  font-weight: 400; text-align: right; font-style: italic;
}
.drawer-item .remove {
  background: none; border: none; color: var(--rose); cursor: pointer;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; margin-top: 8px; padding: 0;
  border-bottom: 1px solid var(--rose); font-weight: 500;
}
.drawer-footer {
  padding: 24px 32px 30px; border-top: 1px solid var(--line);
  background: rgba(10,10,20,0.5);
}
.drawer-total {
  display: flex; justify-content: space-between; margin-bottom: 22px;
  align-items: baseline;
}
.drawer-total .label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.drawer-total .value {
  font-family: var(--serif); font-size: 34px; color: var(--amber);
  font-weight: 400; font-style: italic;
}
.drawer-footer .btn { width: 100%; }
.drawer-footer .btn + .btn { margin-top: 12px; }

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(160%);
  background: var(--panel); color: var(--light);
  padding: 20px 28px; z-index: 2000;
  border: 1px solid var(--primary);
  min-width: 340px; max-width: 92vw;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 30px 70px rgba(10,10,20,0.5),
              0 0 40px rgba(108,76,241,0.3);
  border-radius: 4px;
  transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--amber));
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-size: 16px;
  color: var(--surface); font-weight: 700;
}
.toast-body { flex: 1; }
.toast-title {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 4px; color: var(--amber);
  font-weight: 600;
}
.toast-sub {
  font-family: var(--serif); font-size: 16px; font-style: italic;
  color: var(--light);
}

/* ============ MINI CART CHIP ============ */
.mini-cart {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--panel); color: var(--light);
  border: 1px solid var(--primary); padding: 14px 22px;
  cursor: pointer; z-index: 800;
  display: none; align-items: center; gap: 14px;
  box-shadow: 0 15px 40px rgba(10,10,20,0.5),
              0 0 30px rgba(108,76,241,0.3);
  border-radius: 999px;
  transition: all .3s;
}
.mini-cart.show { display: flex; animation: fadeUp .35s ease; }
.mini-cart:hover {
  background: var(--primary);
  box-shadow: 0 15px 50px rgba(108,76,241,0.6);
  transform: translateY(-2px);
}
.mini-cart .mini-count {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mini-cart .mini-total {
  font-family: var(--serif); font-size: 16px; font-style: italic;
  color: var(--amber);
  border-left: 1px solid var(--line-lt); padding-left: 14px;
}
.mini-cart .mini-label {
  display: none; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
}
@media (min-width: 720px) { .mini-cart .mini-label { display: inline; } }

/* ============ FLYING CAPSULE ============ */
.flying-capsule {
  position: fixed; width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--primary), var(--amber));
  border-radius: 50%; z-index: 1500; pointer-events: none;
  transition: all .9s cubic-bezier(0.5, -0.3, 0.8, 0.5);
  box-shadow: 0 0 20px rgba(108,76,241,0.7),
              0 0 40px rgba(255,181,71,0.4);
}

/* ============ CONFETTI ============ */
.confetti-piece {
  position: fixed; width: 8px; height: 8px;
  z-index: 1600; pointer-events: none;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

/* ============ AMBIENT BAR ============ */
.ambient-bar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(18,18,42,0.95);
  backdrop-filter: blur(12px);
  color: var(--light); padding: 14px 20px; z-index: 400;
  display: none; align-items: center; justify-content: space-between;
  gap: 14px; border-bottom: 1px solid var(--line-lt);
  transform: translateY(-100%);
  transition: transform .3s;
}
.ambient-bar.show { display: flex; transform: translateY(0); }
.ambient-bar .amb-name {
  font-family: var(--serif); font-size: 16px; font-style: italic;
  flex: 1; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}
.ambient-bar .amb-price {
  font-family: var(--mono); font-size: 12px; color: var(--amber);
  font-weight: 600;
}
.ambient-bar .amb-btn {
  background: var(--primary); color: var(--surface);
  border: none; padding: 10px 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; cursor: pointer; font-weight: 600;
  transition: all .2s;
}
.ambient-bar .amb-btn:hover {
  background: var(--amber); color: var(--ink);
}
@media (max-width: 720px) { .ambient-bar.show { display: flex; } }

/* ============ RECENTLY VIEWED BAR ============ */
.viewed-bar {
  display: none;
  background: var(--panel); border: 1px solid var(--line-lt);
  margin-top: 40px; padding: 20px 24px;
  border-radius: 2px;
  align-items: center; gap: 20px; flex-wrap: wrap;
}
.viewed-bar.show { display: flex; animation: fadeUp .4s ease; }
.viewed-bar .v-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.viewed-bar .v-label .dot {
  width: 6px; height: 6px; background: var(--aurora);
  border-radius: 50%; box-shadow: 0 0 10px var(--aurora);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.viewed-bar .v-content {
  display: flex; align-items: center; gap: 20px; flex: 1;
  min-width: 0;
}
.viewed-bar .v-thumb {
  width: 56px; height: 56px; border: 1px solid var(--line-lt);
  overflow: hidden; flex-shrink: 0; border-radius: 2px;
}
.viewed-bar .v-thumb img { width: 100%; height: 100%; object-fit: cover; }
.viewed-bar .v-info { min-width: 0; flex: 1; }
.viewed-bar .v-name {
  font-family: var(--serif); font-weight: 400; font-size: 17px;
  font-style: italic; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}
.viewed-bar .v-price {
  font-family: var(--mono); font-size: 12px; color: var(--amber);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1080px) {
  .header-live-total { display: none; }
}
@media (max-width: 980px) {
  .hero-grid, .product-detail, .checkout-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--line); }
  .feature:nth-child(odd) { border-right: 1px solid var(--line); }
  .feature:nth-last-child(-n+2) { border-bottom: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .hero { padding: 60px 0 80px; }
  section { padding: 70px 0; }
}
@media (max-width: 560px) {
  .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature { border-right: none !important; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: none; }
  .cart-item { grid-template-columns: 90px 1fr; }
  .cart-item .price { grid-column: 1 / -1; text-align: right; }
  .container { padding: 0 20px; }
  .header-inner { padding: 16px 20px; }
  .logo { font-size: 26px; }
  .toast { left: 12px; right: 12px; min-width: 0; bottom: 100px; }
  .mini-cart { bottom: 20px; right: 20px; padding: 12px 16px; }
}
