/* Exclusive Shop Store - styles
   Theme: a private after-hours vault in midnight emerald, champagne gold and ivory.
   Plain CSS: 3D vault door, floating jewel cards, spinning coins, jewel-box departments,
   glass showcase shelves, wax-seal steps and envelope testimonials. */
:root {
  --night: #061A15;
  --deep: #082A21;
  --emerald: #0C3A2E;
  --jade: #1F6B55;
  --gold: #D4AF63;
  --gold-d: #A8823A;
  --champ: #EBD7A4;
  --ivory: #FBF7EE;
  --cream: #F3EBD8;
  --garnet: #8E2A41;
  --ink: #13221D;
  --muted: #5D6B65;
  --line: #E4DAC3;
  --head: "Cinzel", Georgia, serif;
  --body: "Raleway", Arial, sans-serif;
  --radius: 16px;
  --shadow: 0 22px 44px -24px rgba(6, 26, 21, .45);
  --gold-grad: linear-gradient(135deg, #F5E3B0 0%, #D4AF63 35%, #A8823A 60%, #F0D89A 100%);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--ivory); line-height: 1.65; font-size: 16px; }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-d); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 32px); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--gold-grad); background-size: 200% 100%; color: var(--night); font: 700 15px var(--body); letter-spacing: .6px; text-decoration: none; cursor: pointer; box-shadow: 0 12px 24px -12px rgba(168, 130, 58, .8); transition: transform .25s, box-shadow .25s, background-position .6s; }
.btn:hover { transform: translateY(-3px); background-position: 100% 0; box-shadow: 0 18px 30px -12px rgba(168, 130, 58, .9); }
.btn.ghost { background: transparent; color: var(--champ); box-shadow: inset 0 0 0 1.5px var(--gold); }
.btn.ghost:hover { background: rgba(212, 175, 99, .12); }
.btn.small { padding: 10px 20px; font-size: 14px; }
.btn.full { width: 100%; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(6, 26, 21, .9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(212, 175, 99, .25); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.logo img { height: 58px; width: auto; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { position: relative; padding: 8px 16px; color: var(--ivory); text-decoration: none; font-weight: 600; letter-spacing: .5px; }
.main-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-grad); color: var(--night); }
.cart-count { position: absolute; top: -4px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--garnet); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cart-count.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.45) rotate(-10deg); } }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid rgba(212, 175, 99, .5); border-radius: 50%; background: transparent; color: var(--gold); cursor: pointer; }

/* ---------- Intro: the vault door swings open ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #0F4636, var(--night) 70%); perspective: 1200px; animation: introOut .6s 2.1s forwards; pointer-events: none; }
.intro-door { position: relative; width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%; transform-origin: 0 50%; animation: doorSwing 1.2s 1s cubic-bezier(.6, 0, .3, 1) forwards; }
@keyframes doorSwing { to { transform: rotateY(-105deg); } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }

/* Shared vault-door look (intro, hero and banners) */
.intro-door, .door-face, .mini-vault { background:
    radial-gradient(circle, transparent 38%, rgba(0, 0, 0, .35) 39%, transparent 41%),
    radial-gradient(circle, #F1DDA5 0%, #C9A257 30%, #8E6B2C 58%, #D9B86E 64%, #6F5222 70%, #C9A257 74%, #5B431C 100%);
  box-shadow: 0 0 0 6px #2B2210, 0 0 0 12px var(--gold-d), 0 40px 80px -20px rgba(0, 0, 0, .7); }
.wheel { position: absolute; left: 50%; top: 50%; width: 46%; height: 46%; margin: -23% 0 0 -23%; border-radius: 50%; border: 6px solid #5B431C; animation: spin 1.4s cubic-bezier(.5, 0, .3, 1) .2s; }
.wheel i { position: absolute; left: 50%; top: -6%; width: 10%; height: 112%; margin-left: -5%; border-radius: 6px; background: linear-gradient(90deg, #6F5222, #E8CD8A, #6F5222); }
.wheel i:nth-child(2) { transform: rotate(60deg); }
.wheel i:nth-child(3) { transform: rotate(120deg); }
.wheel::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30%; height: 30%; margin: -15% 0 0 -15%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF1C9, #A8823A 60%, #5B431C); }
.intro-door b, .door-face b { position: absolute; left: 50%; top: 50%; width: 7%; height: 7%; margin: -3.5% 0 0 -3.5%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF3D0, #8E6B2C 70%); }
.intro-door b:nth-of-type(1), .door-face b:nth-of-type(1) { transform: rotate(0deg) translateY(-560%); }
.intro-door b:nth-of-type(2), .door-face b:nth-of-type(2) { transform: rotate(45deg) translateY(-560%); }
.intro-door b:nth-of-type(3), .door-face b:nth-of-type(3) { transform: rotate(90deg) translateY(-560%); }
.intro-door b:nth-of-type(4), .door-face b:nth-of-type(4) { transform: rotate(135deg) translateY(-560%); }
.intro-door b:nth-of-type(5), .door-face b:nth-of-type(5) { transform: rotate(180deg) translateY(-560%); }
.intro-door b:nth-of-type(6), .door-face b:nth-of-type(6) { transform: rotate(225deg) translateY(-560%); }
.intro-door b:nth-of-type(7), .door-face b:nth-of-type(7) { transform: rotate(270deg) translateY(-560%); }
.intro-door b:nth-of-type(8), .door-face b:nth-of-type(8) { transform: rotate(315deg) translateY(-560%); }
@keyframes spin { from { transform: rotate(-240deg); } }

/* ---------- Spotlight beams and gold dust ---------- */
.beams { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.beams i { position: absolute; top: -10%; width: 34%; height: 130%; background: linear-gradient(180deg, rgba(240, 216, 154, .22), transparent 75%); clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); transform-origin: 50% 0; animation: beam 9s ease-in-out infinite; }
.beams i:nth-child(1) { left: 2%; }
.beams i:nth-child(2) { left: 36%; animation-delay: -3s; opacity: .6; }
.beams i:nth-child(3) { left: 66%; animation-delay: -6s; }
@keyframes beam { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }
.dust { position: absolute; inset: 0; pointer-events: none; }
.dust i { position: absolute; bottom: -10px; width: 5px; height: 5px; border-radius: 50%; background: var(--champ); box-shadow: 0 0 10px 2px rgba(240, 216, 154, .7); animation: dust 12s linear infinite; }
.dust i:nth-child(1) { left: 4%; animation-delay: -1s; }
.dust i:nth-child(2) { left: 11%; animation-delay: -7s; animation-duration: 15s; }
.dust i:nth-child(3) { left: 19%; animation-delay: -3s; width: 3px; height: 3px; }
.dust i:nth-child(4) { left: 27%; animation-delay: -10s; }
.dust i:nth-child(5) { left: 35%; animation-delay: -5s; animation-duration: 17s; }
.dust i:nth-child(6) { left: 43%; animation-delay: -12s; width: 3px; height: 3px; }
.dust i:nth-child(7) { left: 51%; animation-delay: -2s; }
.dust i:nth-child(8) { left: 59%; animation-delay: -8s; animation-duration: 14s; }
.dust i:nth-child(9) { left: 67%; animation-delay: -4s; width: 3px; height: 3px; }
.dust i:nth-child(10) { left: 75%; animation-delay: -11s; }
.dust i:nth-child(11) { left: 82%; animation-delay: -6s; animation-duration: 16s; }
.dust i:nth-child(12) { left: 89%; animation-delay: -9s; width: 3px; height: 3px; }
.dust i:nth-child(13) { left: 95%; animation-delay: -13s; }
.dust i:nth-child(14) { left: 31%; animation-delay: -14s; animation-duration: 19s; }
.dust i:nth-child(15) { left: 63%; animation-delay: -15s; animation-duration: 18s; }
.dust i:nth-child(16) { left: 8%; animation-delay: -16s; animation-duration: 20s; }
@keyframes dust { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 50% { transform: translate(30px, -50vh); } 100% { transform: translate(-20px, -110vh); opacity: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; background: radial-gradient(ellipse at 70% 40%, #12513F 0%, var(--emerald) 35%, var(--night) 85%); color: #CFE0D8; --px: 0; --py: 0; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: repeating-linear-gradient(90deg, rgba(212, 175, 99, .14) 0 1px, transparent 1px 60px), linear-gradient(transparent, rgba(0, 0, 0, .35)); transform: perspective(300px) rotateX(55deg); transform-origin: bottom; pointer-events: none; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.hero h1 { color: var(--ivory); font-size: clamp(36px, 4.6vw, 62px); letter-spacing: 1px; margin-bottom: 22px; }
.hero h1 .line { display: inline-block; animation: rise 1s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero h1 .line:nth-child(1) { animation-delay: 2.2s; }
.hero h1 .line:nth-child(2) { animation-delay: 2.4s; }
.hero h1 .line:nth-child(3) { animation-delay: 2.6s; }
.gold { background: linear-gradient(100deg, #A8823A 0%, #F5E3B0 25%, #D4AF63 45%, #FFF3D0 55%, #C9A257 75%, #A8823A 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
.hero h1 .gold { animation: rise 1s 2.4s cubic-bezier(.2, .8, .2, 1) backwards, shimmer 6s 3.4s linear infinite; }
@keyframes shimmer { to { background-position: -250% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); letter-spacing: 10px; filter: blur(6px); } }
.hero-text p { font-size: 18px; max-width: 520px; animation: rise 1s 2.8s backwards; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; animation: rise 1s 2.95s backwards; }
.hero-stats { display: flex; gap: 14px; padding: 0; margin: 0; list-style: none; animation: rise 1s 3.1s backwards; }
.hero-stats li { flex: 1; max-width: 140px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(212, 175, 99, .35); background: rgba(6, 26, 21, .45); text-align: center; }
.hero-stats strong { display: block; font: 700 28px var(--head); color: var(--gold); }
.hero-stats span { font-size: 13px; font-weight: 600; }

/* The 3D vault: door swings open on load, photo niche behind, cards float in front */
.vault-stage { position: relative; height: 600px; perspective: 1400px; }
.stage { position: absolute; left: 50%; top: 20px; width: 460px; height: 560px; margin-left: -230px; transform-style: preserve-3d;
  transform: rotateY(calc(var(--px) * 16deg)) rotateX(calc(var(--py) * -10deg)); transition: transform .5s ease-out;
  animation: dolly 2.6s 1.4s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes dolly { from { translate: 0 40px -700px; rotate: y -30deg; } }
.niche { position: absolute; left: 60px; top: 40px; width: 340px; height: 460px; padding: 10px; border-radius: 180px 180px 16px 16px; background: var(--gold-grad); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8), 0 0 60px rgba(240, 216, 154, .25); transform: translateZ(-60px); }
.niche img { width: 100%; height: 100%; object-fit: cover; border-radius: 170px 170px 8px 8px; }
.door { position: absolute; left: 20px; top: 70px; width: 420px; height: 420px; transform-style: preserve-3d; transform-origin: 0 50%; transform: translateZ(10px); animation: doorOpen 2s 2s cubic-bezier(.6, 0, .25, 1) forwards; }
.door-face { position: absolute; inset: 0; border-radius: 50%; }
.door-face .wheel { animation: spin 1.6s 1.6s cubic-bezier(.5, 0, .3, 1) backwards; }
.door-edge { position: absolute; inset: 0; border-radius: 50%; background: #3A2C12; transform: translateZ(-26px); }
@keyframes doorOpen { to { transform: translateZ(10px) rotateY(72deg); } }
.gem { position: absolute; width: 150px; padding: 6px; border-radius: 14px; background: var(--gold-grad); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .8); }
.gem img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; }
.gem.g1 { right: -40px; top: 10px; transform: translateZ(120px) rotateY(-14deg); animation: hover 6s ease-in-out infinite; }
.gem.g2 { left: -50px; bottom: 30px; transform: translateZ(160px) rotateY(16deg); animation: hover 7s -3s ease-in-out infinite; }
@keyframes hover { 50% { translate: 0 -18px; } }
.keycard { position: absolute; right: -10px; bottom: 0; width: 180px; height: 112px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, #10402F, #061A15); border: 1.5px solid var(--gold); color: var(--gold); box-shadow: 0 30px 40px -18px rgba(0, 0, 0, .8); transform: translateZ(200px); animation: swing 7s ease-in-out infinite; }
.keycard span { display: block; font: 700 30px var(--head); letter-spacing: 6px; }
.keycard small { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--champ); }
.keycard::after { content: ""; position: absolute; right: 16px; top: 18px; width: 34px; height: 26px; border-radius: 5px; background: var(--gold-grad); }
@keyframes swing { 0%, 100% { transform: translateZ(200px) rotateY(-22deg) rotateX(8deg); } 50% { transform: translateZ(200px) rotateY(22deg) rotateX(-6deg); } }

/* ---------- Gold ticker band ---------- */
.gold-band { position: relative; overflow: hidden; background: var(--gold-grad); color: var(--night); padding: 15px 0; }
.band-track { display: flex; width: max-content; animation: band 32s linear infinite; }
.band-track span { display: flex; align-items: center; gap: 22px; padding-right: 22px; font: 700 15px var(--head); letter-spacing: 1.5px; white-space: nowrap; text-transform: uppercase; }
.band-track span::after { content: ""; width: 10px; height: 10px; background: var(--night); transform: rotate(45deg); }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- Sections and grids ---------- */
.section { padding: 90px 0; position: relative; }
.cream { background: var(--cream); }
.dark { background: radial-gradient(ellipse at 50% 0%, #12513F, var(--emerald) 45%, var(--night)); color: #CFE0D8; overflow: hidden; }
.dark h2, .dark h3 { color: var(--ivory); }
.sec-title { text-align: center; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 50px; }
.sec-title::after { content: ""; display: block; width: 90px; height: 10px; margin: 16px auto 0; background: linear-gradient(var(--gold), var(--gold)) center / 100% 1.5px no-repeat; -webkit-mask: none; position: relative; }
.grid { display: grid; gap: 26px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }

/* ---------- Scroll reveal: glide in under a spotlight ---------- */
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; animation: glide 1s cubic-bezier(.2, .75, .2, 1) calc(var(--d, 0) * .12s) backwards; }
@keyframes glide { from { opacity: 0; translate: 0 50px; scale: .94; filter: blur(6px) brightness(1.8); } }

/* ---------- Perks with spinning gold coins ---------- */
.perk, .info-card { padding: 32px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; box-shadow: var(--shadow); }
.perk h3, .info-card h3 { font-size: 17px; }
.perk p, .info-card p { margin: 0; color: var(--muted); font-size: 15px; }
.coin { position: relative; display: block; width: 74px; height: 74px; margin: 0 auto 18px; transform-style: preserve-3d; animation: coin 5s linear infinite; }
.perk:nth-child(2) .coin { animation-delay: -1.2s; }
.perk:nth-child(3) .coin { animation-delay: -2.4s; }
.perk:nth-child(4) .coin { animation-delay: -3.6s; }
.coin .face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF3D0, #D4AF63 45%, #8E6B2C); box-shadow: inset 0 0 0 4px rgba(91, 67, 28, .55), inset 0 0 0 8px rgba(255, 243, 208, .5); font: 700 24px var(--head); color: #5B431C; backface-visibility: hidden; }
.coin .back { transform: rotateY(180deg); font-size: 20px; }
@keyframes coin { from { transform: perspective(500px) rotateY(0); } to { transform: perspective(500px) rotateY(360deg); } }
.perk-ic { display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 14px; border-radius: 50%; background: var(--gold-grad); color: var(--night); }
.info-card a { word-break: break-word; }

/* ---------- 3D tilt ---------- */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out, box-shadow .3s; }
.tilt:hover { box-shadow: 0 30px 50px -22px rgba(6, 26, 21, .55); }

/* ---------- Departments as jewel boxes ---------- */
.jewels { gap: 26px; }
.jewel { display: flex; flex-direction: column; align-items: center; padding: 34px 14px 26px; border-radius: var(--radius); border: 1px solid rgba(212, 175, 99, .3); background: rgba(6, 26, 21, .35); color: var(--ivory); text-decoration: none; transition: background .3s, border-color .3s, transform .3s; }
.jewel:hover { background: rgba(18, 81, 63, .55); border-color: var(--gold); transform: translateY(-6px); }
.box { position: relative; isolation: isolate; display: block; width: 100px; height: 82px; margin: 56px 0 18px; perspective: 500px; }
.box::before { content: ""; position: absolute; inset: 18px 0 0; border-radius: 6px 6px 10px 10px; background: linear-gradient(180deg, #A13350, var(--garnet) 55%, #5E1A2B); box-shadow: inset 0 -3px 0 var(--gold-d), inset 0 3px 0 rgba(255, 255, 255, .15), 0 18px 24px -12px rgba(0, 0, 0, .8); }
.box::after { content: ""; position: absolute; left: 44px; top: 34px; width: 12px; height: 14px; border-radius: 3px; background: var(--gold-grad); }
.inside { position: absolute; left: 50%; top: 22px; display: grid; place-items: center; width: 58px; height: 58px; margin-left: -29px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF3D0, var(--gold) 60%, var(--gold-d)); color: var(--night); box-shadow: 0 0 30px rgba(240, 216, 154, .8); z-index: -1; transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.lid { position: absolute; left: -4px; right: -4px; top: 0; height: 24px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #B63C5B, var(--garnet)); box-shadow: inset 0 -3px 0 var(--gold), 0 4px 8px rgba(0, 0, 0, .35); transform-origin: 0 100%; transition: transform .7s cubic-bezier(.5, 0, .2, 1); z-index: 2; }
.jewel:hover .lid, .jewel.in .lid { transform: rotateX(-35deg) rotateZ(-38deg) translate(-6px, -4px); }
.jewel:hover .inside, .jewel.in .inside { transform: translateY(-48px); }
.jewel:hover .inside { transform: translateY(-58px) scale(1.08); }
.jewel.in .lid { transition-delay: calc(.4s + var(--d, 0) * .12s); }
.jewel.in .inside { transition-delay: calc(.7s + var(--d, 0) * .12s); }
.jewel-name { font: 700 17px var(--head); text-align: center; color: var(--ivory); }
.jewel-count { font-size: 13px; color: var(--champ); font-weight: 600; letter-spacing: .5px; }

/* ---------- Products ---------- */
.product { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.product-img { position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #fff; }
.product-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s; }
.product:hover .product-img img { transform: scale(1.07); }
.product-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(240, 216, 154, .55) 50%, transparent 62%); transform: translateX(-120%); pointer-events: none; }
.product:hover .product-img::after { transition: transform .9s; transform: translateX(120%); }
.tag { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 4px 12px; border-radius: 4px; background: var(--night); color: var(--gold); font: 700 11px var(--head); letter-spacing: 1.5px; border: 1px solid var(--gold-d); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.p-meta { display: inline-block; margin-bottom: 6px; color: var(--gold-d); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.product h3, .dark .product h3 { font-size: 16px; margin-bottom: 8px; color: var(--ink); }
.product p { color: var(--muted); font-size: 14.5px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font: 700 20px var(--head); color: var(--ink); }
.add-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 999px; background: var(--night); color: var(--gold); font: 700 13px var(--body); cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.add-btn:hover { background: var(--gold); color: var(--night); transform: translateY(-2px); }
.add-btn.added { background: var(--jade); color: #fff; }

/* ---------- Split with gilded 3D frame ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-text h2 { font-size: clamp(28px, 3.4vw, 40px); }
.split-text p { color: var(--muted); font-size: 17px; }
.dark .split-text p { color: #CFE0D8; }
.gilded { position: relative; perspective: 1600px; max-width: 460px; margin: 0 auto; width: 100%; }
.frame { position: relative; padding: 14px; border-radius: 6px; background: var(--gold-grad); box-shadow: 0 40px 60px -30px rgba(6, 26, 21, .7), inset 0 0 0 3px rgba(91, 67, 28, .4); overflow: hidden; }
.frame img { width: 100%; aspect-ratio: 820 / 960; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 3px #5B431C; }
.gilded.in .frame { animation: frameIn 1.6s .2s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes frameIn { from { transform: rotateY(-70deg) translateZ(-200px); } }
.spot { position: absolute; inset: 14px; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255, 243, 208, .5) 48%, transparent 66%); transform: translateX(-130%); }
.gilded.in .spot { animation: sweep 1.6s 1.4s ease-out; }
@keyframes sweep { to { transform: translateX(130%); } }

/* ---------- Glass showcase shelves (under $20) ---------- */
.showcase { position: relative; padding-top: 10px; }
.showcase .grid { position: relative; z-index: 1; }
.glass { height: 34px; margin: -6px -10px 50px; border-radius: 4px; background: linear-gradient(180deg, rgba(240, 216, 154, .55), rgba(255, 255, 255, .08) 40%, rgba(240, 216, 154, .25)); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 26px 30px -12px rgba(0, 0, 0, .7); transform: perspective(700px) rotateX(58deg); transform-origin: top; }
.glass:last-child { margin-bottom: 0; }
.showcase .product { background: #fff; }

/* ---------- Steps with wax seals ---------- */
.steps { text-align: center; }
.step { padding: 34px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step p { color: var(--muted); margin: 0; }
.seal { position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%; background: radial-gradient(circle at 38% 32%, #C2475F, var(--garnet) 55%, #5E1A2B); box-shadow: 0 0 0 5px rgba(142, 42, 65, .35), 0 14px 22px -10px rgba(94, 26, 43, .9); }
.seal span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 2px dashed rgba(240, 216, 154, .7); font: 700 24px var(--head); color: var(--champ); }
.step.in .seal { animation: stamp .9s calc(.3s + var(--d) * .25s) cubic-bezier(.3, 1.4, .5, 1) backwards; }
@keyframes stamp { from { transform: scale(2.4) rotate(-40deg); opacity: 0; } 60% { transform: scale(.88) rotate(4deg); opacity: 1; } }

/* ---------- Testimonials as opening envelopes ---------- */
.letters { padding-top: 30px; row-gap: 96px; }
.letter { position: relative; margin: 0; padding: 60px 26px 28px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); perspective: 1000px; }
.flap { position: absolute; left: 0; right: 0; top: 0; height: 70px; background: linear-gradient(180deg, var(--emerald), var(--deep)); clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; border-radius: 10px 10px 0 0; z-index: 2; }
.flap::after { content: ""; position: absolute; left: 50%; top: 40px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #C2475F, var(--garnet)); }
.letter.in .flap { animation: flapOpen 1.2s calc(.3s + var(--d) * .2s) cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes flapOpen { to { transform: rotateX(180deg); } }
.note { position: relative; }
.letter.in .note { animation: noteUp .9s calc(1s + var(--d) * .2s) ease-out backwards; }
@keyframes noteUp { from { transform: translateY(26px); opacity: 0; } }
.stars { color: var(--gold-d); font-size: 20px; letter-spacing: 3px; }
.letter blockquote { margin: 10px 0 20px; font-size: 16px; font-style: italic; }
.letter figcaption { display: flex; align-items: center; gap: 12px; }
.initial { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-grad); color: var(--night); font: 700 18px var(--head); }
.letter small { display: block; color: var(--muted); }

/* ---------- Blog cards ---------- */
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.post-img { display: block; overflow: hidden; }
.post-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-img img { transform: scale(1.06); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.post-body h3 { font-size: 18px; }
.post-body h3 a { color: var(--ink); text-decoration: none; }
.post-body p { color: var(--muted); font-size: 15px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }

/* ---------- Membership card (newsletter) ---------- */
.member-card { perspective: 1400px; max-width: 420px; margin: 0 auto; width: 100%; }
.card-3d { position: relative; padding: 10px; border-radius: 24px; background: var(--gold-grad); box-shadow: 0 50px 70px -30px rgba(0, 0, 0, .85); animation: cardSwing 8s ease-in-out infinite; }
.card-3d img { width: 100%; aspect-ratio: 820 / 960; object-fit: cover; border-radius: 16px; }
.chip { position: absolute; left: 30px; top: 30px; width: 54px; height: 40px; border-radius: 8px; background: var(--gold-grad); box-shadow: inset 0 0 0 2px rgba(91, 67, 28, .5), 0 6px 12px rgba(0, 0, 0, .4); }
@keyframes cardSwing { 0%, 100% { transform: rotateY(-16deg) rotateX(6deg) translateY(0); } 50% { transform: rotateY(16deg) rotateX(-4deg) translateY(-14px); } }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 200px; }
.form-msg { margin: 12px 0 0; font-weight: 700; color: var(--gold-d); }
.dark .form-msg { color: var(--gold); }

/* ---------- Inner page banner ---------- */
.banner { position: relative; overflow: hidden; padding: 96px 0 104px; text-align: center; background: radial-gradient(ellipse at 50% 120%, #12513F, var(--emerald) 40%, var(--night) 90%); }
.banner h1 { position: relative; z-index: 2; color: var(--ivory); font-size: clamp(28px, 4.2vw, 50px); max-width: 900px; margin: 0 auto; animation: rise 1s .2s backwards; }
.banner h1::after { content: ""; display: block; width: 110px; height: 1.5px; margin: 20px auto 0; background: var(--gold); }
.mini-vault { position: absolute; z-index: 1; right: -60px; top: 50%; width: 220px; height: 220px; margin-top: -110px; border-radius: 50%; opacity: .55; animation: vaultTurn 24s linear infinite; }
.mini-vault .wheel { animation: none; }
@keyframes vaultTurn { to { transform: rotate(360deg); } }

/* ---------- Shop, blog post and forms ---------- */
.dept-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 42px; }
.dept-nav a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s; }
.dept-nav a:hover, .dept-nav a.active { background: var(--night); color: var(--gold); border-color: var(--night); }
.article-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.article-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; box-shadow: var(--shadow); }
.article .lead { font-size: 19px; color: var(--ink); }
.article h2 { font-size: 23px; margin-top: 30px; }
.aside { display: grid; gap: 22px; position: sticky; top: 100px; }
.aside-box { padding: 24px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.aside-box ul { padding-left: 18px; margin: 0; }
.aside-box li + li { margin-top: 10px; }
.policy h2 { font-size: 21px; margin-top: 30px; }
.mail-box { padding: 40px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-align: center; border-top: 4px solid var(--gold); }
.mail-box .inline-form { justify-content: center; }
.form { display: grid; gap: 14px; padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.form h3 { margin: 6px 0 0; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: 500 15px var(--body); color: var(--ink); background: #fff; }
input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 99, .2); }
.empty { text-align: center; padding: 50px 20px; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.cart-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.cart-table th, .cart-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table th { font-family: var(--head); color: var(--gold); background: var(--night); }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-table input { width: 74px; padding: 8px 10px; }
.remove-btn { border: 0; background: none; color: var(--garnet); font-weight: 700; cursor: pointer; }
.summary { padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); display: grid; gap: 12px; border-top: 4px solid var(--gold); }
.summary h3 { margin: 0 0 6px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; }
.summary-line.total { padding-top: 12px; border-top: 1.5px dashed var(--line); font-weight: 700; font-size: 18px; color: var(--ink); }
.note { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-radius: 999px; background: var(--night); color: var(--ivory); border: 1px solid var(--gold-d); box-shadow: var(--shadow); transform: translate(-50%, 140%); visibility: hidden; transition: transform .4s, visibility .4s; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 46px 0 26px; background: var(--night); color: #B9CCC4; border-top: 4px solid transparent; border-image: repeating-linear-gradient(90deg, var(--gold) 0 12px, var(--gold-d) 12px 24px) 4; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(212, 175, 99, .2); }
.foot-top p { max-width: 520px; margin: 0; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 36px 0; }
.foot-col h3 { color: var(--gold); font-size: 16px; letter-spacing: 1px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a { color: #B9CCC4; text-decoration: none; }
.foot-col a:hover { color: var(--gold); }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { margin-top: 3px; color: var(--gold); flex: none; }
.foot-contact a { word-break: break-word; }
.foot-bottom { padding-top: 22px; border-top: 1px solid rgba(212, 175, 99, .2); text-align: center; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; }
  .vault-stage { height: 600px; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; padding: 14px 16px 20px; background: var(--night); border-bottom: 1px solid rgba(212, 175, 99, .3); }
  .main-nav.open { display: flex; }
  .menu-btn { display: grid; place-items: center; }
  .grid.three, .split, .article-wrap, .cart-layout { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .aside { position: static; }
  .foot-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .grid.four, .foot-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 46px; }
  .stage { scale: .58; transform-origin: 50% 0; }
  .vault-stage { height: 380px; }
  .grid.four.jewels { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .jewel { padding: 26px 8px 20px; }
  .jewel-name { font-size: 15px; }
  .hero-stats li { padding: 12px 8px; }
  .logo img { height: 42px; }
  .section { padding: 70px 0; }
  .glass { margin: -6px 0 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none; }
  .js .reveal { opacity: 1; }
  .door { transform: translateZ(10px) rotateY(72deg); }
  .jewel .lid { transform: rotateX(-35deg) rotateZ(-38deg) translate(-6px, -4px); }
  .jewel .inside { transform: translateY(-48px); }
  .flap { transform: rotateX(180deg); }
}
