/* ─── Auressa Luxury CSS ─────────────────────────────────────────── */

:root {
  --ink:         #0e0b09;
  --night:       #080604;
  --espresso:    #2e1a10;
  --gold:        #c9a04e;
  --gold-light:  #e8cc86;
  --gold-dim:    #a07c38;
  --soft-gold:   #f2dfa8;
  --champagne:   #fff4cc;
  --ivory:       #fffcf5;
  --pearl:       #f5ede2;
  --blush:       #e8b3c0;
  --sage:        #9db5a8;
  --wine:        #7a1f3e;
  --wine-light:  #9e3058;
  --rose-shadow: #c07080;
  --line:        rgba(14, 11, 9, .1);
  --line-gold:   rgba(201, 160, 78, .22);
  --shadow-sm:   0 8px 24px rgba(14,11,9,.1);
  --shadow:      0 20px 60px rgba(14,11,9,.16);
  --shadow-deep: 0 32px 90px rgba(8,6,4,.26);
  --shadow-gold: 0 12px 40px rgba(201,160,78,.2);
  --radius:      10px;
  --radius-lg:   18px;
  --header-h:    72px;
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  color: var(--ink);
  background: var(--ivory);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ─── Announcement ───────────────────────────────────────────────── */
.announcement {
  background: linear-gradient(90deg, var(--night) 0%, var(--espresso) 30%, #5a2035 60%, var(--espresso) 80%, var(--night) 100%);
  background-size: 300% 100%;
  color: var(--soft-gold);
  text-align: center;
  padding: .58rem 1rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  animation: satinFlow 10s ease-in-out infinite;
}

/* ─── Header ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(1rem, 4vw, 3.5rem);
  background: rgba(255,252,245,.93);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-bottom: 1px solid var(--line-gold);
  transition: box-shadow .3s ease;
}
.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.brand img {
  width: clamp(130px, 22vw, 178px);
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.1));
  animation: logoEntrance .8s cubic-bezier(.22,1,.36,1) both;
}

/* Nav centered absolutely so brand + actions can be flex-ends */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.8vw, 2.2rem);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.desktop-nav a {
  position: relative;
  padding-bottom: .3rem;
  color: var(--ink);
  transition: color .2s;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.desktop-nav a:hover { color: var(--gold-dim); }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
}
.icon-button {
  width: 42px; height: 42px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255,255,255,.5);
  transition: all .22s ease;
  flex-shrink: 0;
}
.icon-button:hover {
  background: white;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}
.icon-button svg { width: 18px; height: 18px; }
.cart-trigger { position: relative; }
.cart-trigger span {
  position: absolute;
  top: -5px; right: -4px;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wine);
  color: white;
  font-size: .62rem; font-weight: 700;
  border: 1.5px solid var(--ivory);
}
.menu-trigger { display: none; }

/* ─── Mobile Nav ─────────────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--header-h) + 36px);
  left: .75rem; right: .75rem;
  z-index: 90;
  background: rgba(10,8,6,.97);
  color: var(--soft-gold);
  border: 1px solid rgba(201,160,78,.4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}
.mobile-nav.open { display: grid; animation: panelRise .22s ease both; }
.mobile-nav a {
  display: block;
  padding: 1rem 1.5rem;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s, background .2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--gold-light); background: rgba(255,255,255,.04); }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: calc(100svh - var(--header-h) - 36px);
  background: var(--night);
  color: var(--ivory);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 40%, rgba(232,180,192,.16), transparent 45%);
  pointer-events: none;
  animation: auraPulse 8s ease-in-out infinite;
  z-index: 0;
}
.hero-media { position: relative; overflow: hidden; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,6,4,.04) 0%, rgba(8,6,4,.12) 50%, rgba(8,6,4,.88) 100%);
  pointer-events: none;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  animation: imageDrift 16s ease-in-out infinite alternate;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(2rem, 5vw, 5rem) clamp(2rem, 4.5vw, 5rem);
  position: relative; z-index: 1;
  animation: fadeSlide .9s .1s cubic-bezier(.22,1,.36,1) both;
}
.hero-logo { width: clamp(160px, 28vw, 260px); margin-bottom: 1.2rem; }

/* ─── Typography ─────────────────────────────────────────────────── */
.eyebrow {
  margin: 0 0 .7rem;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .18em;
  font-size: .7rem;
}
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: .95;
  letter-spacing: -.01em;
}
h1 {
  font-size: clamp(4.2rem, 8.5vw, 8.5rem);
  font-weight: 700;
  background: linear-gradient(125deg, #fefae8 0%, #c9a04e 30%, #f0d5b0 55%, #e8b3c0 75%, #fff4cc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .6rem;
}
h2 {
  font-size: clamp(2.3rem, 4.2vw, 4.6rem);
  font-weight: 600;
  background: linear-gradient(115deg, var(--ink) 0%, var(--wine) 50%, #a07830 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .5rem;
}
.atelier h2, .console-top h2, .console-login h2, .drawer-head h2 {
  background: linear-gradient(125deg, #fefae8, #c9a04e 45%, #f0d5b0 70%, #e8b3c0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.hero-copy {
  color: rgba(255,252,245,.76);
  font-size: clamp(.95rem, 1.5vw, 1.2rem);
  max-width: 32rem; line-height: 1.65;
  margin-bottom: 1.8rem;
}
.hero-actions, .panel-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ─── Buttons ────────────────────────────────────────────────────── */
.button {
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line-gold);
  padding: .8rem clamp(1.2rem, 2.5vw, 1.8rem);
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font-weight: 600; font-size: .82rem; letter-spacing: .05em;
  position: relative; overflow: hidden; white-space: nowrap;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.button::before {
  content: "";
  position: absolute;
  inset: -100% auto -100% -55%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: rotate(20deg) translateX(-120%);
  transition: transform .6s ease;
}
.button:hover { transform: translateY(-2px); }
.button:hover::before { transform: rotate(20deg) translateX(440%); }
.button.primary {
  background: linear-gradient(135deg, #f5e2a2 0%, #c08832 45%, #f7ebb8 100%);
  color: #1a0e06; font-weight: 700;
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(192,136,50,.3);
}
.button.primary:hover { box-shadow: 0 18px 42px rgba(192,136,50,.38); }
.button.ghost { background: rgba(255,255,255,.08); color: inherit; border-color: rgba(255,255,255,.3); }
.button.ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.button.ghost.dark { background: rgba(14,11,9,.05); color: var(--ink); border-color: var(--line-gold); }
.button.ghost.dark:hover { background: rgba(14,11,9,.08); border-color: var(--gold); }

/* ─── Trust Strip ────────────────────────────────────────────────── */
.trust-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
}
.trust-strip span {
  min-height: 68px;
  display: flex; justify-content: center; align-items: center; gap: .6rem;
  background: var(--pearl);
  font-weight: 600; font-size: .82rem; color: rgba(14,11,9,.75);
  transition: background .22s, color .22s, transform .22s;
}
.trust-strip span:hover { background: white; color: var(--wine); transform: translateY(-1px); }
.trust-strip svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }

/* ─── Layout Helpers ─────────────────────────────────────────────── */
.section-pad { padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 4vw, 4rem); }
.section-heading { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; animation: fadeLift .75s ease both; }
.section-heading h2 { margin-bottom: .6rem; }
.section-heading p:last-child { color: rgba(14,11,9,.62); font-size: 1rem; }
.compact { max-width: 560px; }

/* ─── Shop ───────────────────────────────────────────────────────── */
.shop-section { background: var(--ivory); }
.shop-tools { max-width: 1200px; margin: 0 auto 1.6rem; display: grid; gap: .9rem; animation: fadeLift .75s .1s ease both; }
.search-box {
  display: flex; align-items: center; gap: .65rem;
  border: 1px solid var(--line-gold); background: white;
  border-radius: 999px; padding: 0 1rem; min-height: 50px;
  box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,160,78,.12), var(--shadow-sm); }
.search-box svg { width: 17px; color: var(--gold); flex-shrink: 0; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: .9rem; }
.filter-row { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-row button, .console-tabs button {
  border: 1px solid var(--line-gold); background: white;
  color: rgba(14,11,9,.7); border-radius: 999px;
  padding: .55rem 1rem; white-space: nowrap;
  font-weight: 600; font-size: .78rem; letter-spacing: .04em;
  transition: all .2s; flex-shrink: 0;
}
.filter-row button:hover, .console-tabs button:hover { border-color: var(--gold); color: var(--gold-dim); }
.filter-row button.active, .console-tabs button.active { background: var(--ink); color: var(--soft-gold); border-color: var(--ink); }
.product-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(.75rem, 1.5vw, 1.25rem);
  animation: fadeLift .75s .15s ease both;
}

/* ─── Product Card ───────────────────────────────────────────────── */
.product-card {
  background: white; border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 8px 28px rgba(46,26,16,.07);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s;
  animation: cardReveal .65s ease both;
}
.product-card:hover { transform: translateY(-9px) scale(1.005); box-shadow: var(--shadow-deep), var(--shadow-gold); border-color: rgba(201,160,78,.5); }
.product-image { aspect-ratio: 4/4.8; background: linear-gradient(160deg,#f0e8de,#e8ddd2); overflow: hidden; position: relative; }
.product-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 52%,rgba(8,6,4,.3)); opacity: 0; transition: opacity .3s; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.22,1,.36,1), filter .5s; }
.product-card:hover img { transform: scale(1.08); filter: saturate(1.1); }
.product-card:hover .product-image::after { opacity: 1; }
.product-badge {
  position: absolute; left: .7rem; bottom: .7rem; z-index: 2;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: .32rem .62rem;
  background: rgba(8,6,4,.64); color: var(--champagne);
  font-size: .68rem; font-weight: 700;
  opacity: 0; transform: translateY(7px);
  transition: opacity .25s, transform .25s;
  backdrop-filter: blur(6px);
}
.product-card:hover .product-badge { opacity: 1; transform: translateY(0); }
.product-info { padding: 1rem 1rem .9rem; }
.product-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.product-meta h3 { font-size: 1.05rem; line-height: 1.2; background: linear-gradient(115deg, var(--ink), var(--espresso)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.product-info p { margin: .4rem 0 .85rem; color: rgba(14,11,9,.58); font-size: .82rem; line-height: 1.45; }
.price { display: flex; gap: .45rem; align-items: baseline; flex-wrap: wrap; }
.price strong { color: var(--wine); font-weight: 700; font-size: .96rem; }
.price s { color: rgba(14,11,9,.4); font-size: .8rem; }
.swatches { display: flex; gap: .32rem; margin: .7rem 0; flex-wrap: wrap; }
.swatch { width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid rgba(14,11,9,.2); box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); flex-shrink: 0; }
.swatch.big { width: 26px; height: 26px; }
.product-actions { display: grid; grid-template-columns: .6fr 1fr; gap: .5rem; margin-top: .2rem; }
.product-info .button { width: 100%; min-height: 40px; font-size: .78rem; }

/* ─── Product Detail ─────────────────────────────────────────────── */
.product-page { padding: clamp(2rem,5vw,5rem) clamp(1rem,4vw,4rem); background: linear-gradient(160deg,var(--ivory),#f5ece0 60%,#ede3d6); }
.back-link { max-width: 1200px; margin: 0 auto 1.2rem; display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--wine); transition: gap .2s; }
.back-link:hover { gap: .6rem; }
.back-link svg { width: 17px; }
.product-detail-shell { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr); gap: clamp(1.5rem,4vw,4rem); align-items: start; animation: detailEntrance .55s ease both; }
.product-detail-gallery { display: grid; grid-template-columns: 82px 1fr; gap: .85rem; }
.product-detail-main { min-height: clamp(360px,55vw,660px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-gold); background: linear-gradient(160deg,#ede5d8,#fff8ec); box-shadow: var(--shadow-deep); }
.product-detail-main img { width: 100%; height: 100%; object-fit: cover; animation: imageSettle .45s ease both; }
.product-thumbs { order: -1; display: grid; gap: .6rem; align-content: start; max-height: clamp(360px,55vw,660px); overflow: auto; scrollbar-width: none; }
.product-thumbs::-webkit-scrollbar { display: none; }
.product-thumbs button { border: 1.5px solid var(--line-gold); border-radius: var(--radius); padding: 0; overflow: hidden; background: white; aspect-ratio: 1; box-shadow: 0 6px 18px rgba(46,26,16,.08); transition: transform .2s, border-color .2s, box-shadow .2s; }
.product-thumbs button:hover, .product-thumbs button.active { border-color: var(--gold); box-shadow: 0 10px 28px rgba(201,160,78,.22); transform: translateY(-2px); }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-copy { background: rgba(255,255,255,.7); border: 1px solid var(--line-gold); border-radius: var(--radius-lg); padding: clamp(1.4rem,3vw,2.5rem); box-shadow: 0 20px 60px rgba(46,26,16,.1); backdrop-filter: blur(10px); position: sticky; top: calc(var(--header-h) + 1rem); }
.product-detail-copy h2 { font-size: clamp(2rem,3.5vw,3.5rem); margin-bottom: .5rem; }
.detail-article { color: rgba(14,11,9,.5); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.detail-price { margin: 1rem 0; font-size: 1.1rem; }
.detail-block { margin: 1.1rem 0; display: grid; gap: .5rem; }
.detail-block > span { text-transform: uppercase; color: rgba(14,11,9,.52); letter-spacing: .14em; font-size: .68rem; font-weight: 700; }
.detail-options { display: flex; gap: .4rem; flex-wrap: wrap; }
.detail-options span { border: 1px solid var(--line-gold); border-radius: 999px; padding: .44rem .7rem; background: rgba(255,255,255,.7); font-weight: 600; font-size: .82rem; }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.4rem; }

/* ─── Atelier ────────────────────────────────────────────────────── */
.atelier {
  display: grid; grid-template-columns: .82fr 1.18fr;
  gap: clamp(1.5rem,5vw,5rem);
  padding: clamp(3.5rem,7vw,7rem) clamp(1rem,4vw,4rem);
  background: linear-gradient(140deg,#0d0906 0%,#2a1810 45%,#06100d 100%);
  color: var(--ivory); overflow: hidden; position: relative;
}
.atelier::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%,rgba(232,179,192,.14),transparent 40%), radial-gradient(circle at 10% 80%,rgba(201,160,78,.08),transparent 35%); pointer-events: none; }
.atelier-copy { align-self: center; max-width: 560px; position: relative; z-index: 1; }
.atelier-copy p:not(.eyebrow) { color: rgba(255,252,245,.68); font-size: clamp(.92rem,1.4vw,1.08rem); line-height: 1.7; margin-bottom: .5rem; }
.atelier-stats { margin-top: 2rem; display: grid; grid-template-columns: auto 1fr; gap: .35rem .9rem; align-items: baseline; }
.atelier-stats strong { font-family: 'Cormorant Garamond',Georgia,serif; color: var(--soft-gold); font-size: 2.4rem; font-weight: 600; line-height: 1; }
.atelier-stats span { color: rgba(255,252,245,.72); font-size: .9rem; }
.atelier-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; align-items: end; position: relative; z-index: 1; }
.atelier-gallery img { width: 100%; height: clamp(240px,38vw,520px); object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 28px 68px rgba(0,0,0,.28); transition: transform .45s cubic-bezier(.22,1,.36,1), filter .4s; }
.atelier-gallery img:nth-child(2) { transform: translateY(-2.2rem); }
.atelier-gallery img:hover { filter: saturate(1.14) brightness(1.04); transform: translateY(-.7rem) scale(1.018) !important; }

/* ─── Forms ──────────────────────────────────────────────────────── */
.form-section { background: var(--pearl); }
.lux-form, .product-form { max-width: 720px; margin: 0 auto; display: grid; gap: .85rem; }
input, textarea, select { width: 100%; border: 1px solid var(--line-gold); border-radius: var(--radius); padding: .92rem 1.05rem; background: white; color: var(--ink); font-size: .92rem; outline: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,160,78,.12); transform: translateY(-1px); }
textarea { resize: vertical; }

/* ─── Contact ────────────────────────────────────────────────────── */
.contact-section { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(1.5rem,4vw,4rem); padding: clamp(3.5rem,7vw,7rem) clamp(1rem,4vw,4rem); align-items: start; }
.contact-section > div { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.contact-section > div p:not(.eyebrow) { color: rgba(14,11,9,.64); font-size: .96rem; line-height: 1.68; }

/* ─── Console ────────────────────────────────────────────────────── */
.console-section { background: linear-gradient(155deg, rgba(201,160,78,.1), rgba(232,179,192,.14)), var(--ivory); }
.console-shell { max-width: 1160px; margin: 0 auto; border: 1px solid var(--line-gold); border-radius: var(--radius-lg); background: rgba(255,255,255,.75); box-shadow: var(--shadow); padding: clamp(1.2rem,3vw,2.2rem); backdrop-filter: blur(12px); }
.console-login { max-width: 500px; margin: 0 auto; text-align: center; }
.console-login .lux-form { margin-top: 1.2rem; }
.console-login small { color: rgba(14,11,9,.52); font-size: .78rem; }
.console-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .85rem; margin-bottom: 1.2rem; }
.metric-grid div { background: var(--night); color: var(--soft-gold); border-radius: var(--radius-lg); padding: 1.1rem 1rem; border: 1px solid rgba(201,160,78,.2); }
.metric-grid span { display: block; font-size: 1.5rem; font-weight: 700; font-family: 'Cormorant Garamond',serif; }
.metric-grid small { color: rgba(255,252,245,.58); font-size: .76rem; }
.console-tabs { display: flex; gap: .5rem; overflow-x: auto; margin-bottom: 1.2rem; scrollbar-width: none; }
.console-tabs::-webkit-scrollbar { display: none; }
.console-panel { display: none; }
.console-panel.active { display: grid; gap: 1rem; }
.field-pair { display: grid; grid-template-columns: repeat(2,1fr); gap: .8rem; }
.admin-list { display: grid; gap: .65rem; }
.admin-item { display: grid; grid-template-columns: 82px 1fr auto; gap: .75rem; align-items: center; border: 1px solid var(--line-gold); background: rgba(255,255,255,.8); border-radius: var(--radius); padding: .7rem; }
.admin-item img { width: 82px; height: 82px; object-fit: cover; border-radius: 8px; }
.admin-actions { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.mini-button { border: 1px solid var(--line-gold); border-radius: 999px; padding: .46rem .7rem; background: white; font-weight: 600; font-size: .76rem; transition: border-color .18s; }
.mini-button:hover { border-color: var(--gold); }

/* ─── Footer ─────────────────────────────────────────────────────── */
footer { padding: 3rem 1.5rem; text-align: center; background: linear-gradient(155deg,var(--night),#1a0e09); color: rgba(255,252,245,.65); border-top: 1px solid rgba(201,160,78,.15); }
footer img { width: clamp(160px,30vw,230px); margin: 0 auto 1rem; }
footer p { font-size: .88rem; margin-bottom: 1.2rem; }
footer div { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.2rem; color: var(--soft-gold); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

/* ─── Cart Drawer ────────────────────────────────────────────────── */
.drawer { position: fixed; inset: 0; z-index: 200; display: none; justify-content: flex-end; background: rgba(8,6,4,.5); backdrop-filter: blur(4px); }
.drawer.open { display: flex; }
.drawer.open .drawer-panel { animation: drawerIn .3s cubic-bezier(.22,1,.36,1) both; }
.drawer-panel { width: min(440px,100%); height: 100%; overflow-y: auto; background: var(--ivory); padding: 1.4rem; box-shadow: var(--shadow-deep); display: flex; flex-direction: column; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-gold); }
.drawer-head h2 { font-size: 2rem; }
.cart-items { display: grid; gap: .8rem; margin-bottom: 1rem; }
.cart-line { display: grid; grid-template-columns: 68px 1fr auto; gap: .65rem; align-items: center; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.cart-line img { width: 68px; height: 68px; object-fit: cover; border-radius: 8px; }
.cart-line button { background: transparent; color: var(--wine); font-weight: 700; }
.checkout-form { display: grid; gap: .75rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-gold); }

/* ─── Search Overlay ─────────────────────────────────────────────── */
.search-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(8,6,4,.95); display: grid; place-items: center; padding: 1rem; backdrop-filter: blur(12px); }
.search-overlay .icon-button { position: fixed; top: 1.2rem; right: 1.2rem; color: var(--soft-gold); border-color: rgba(201,160,78,.4); background: rgba(255,255,255,.08); }
.search-box.large { width: min(680px,100%); background: rgba(255,252,245,.08); border-color: rgba(201,160,78,.4); min-height: 60px; color: var(--ivory); }
.search-box.large input { color: var(--ivory); font-size: 1.1rem; }
.search-box.large input::placeholder { color: rgba(255,252,245,.45); }
.search-box.large svg { color: var(--gold); width: 22px; }

/* ─── Toast ──────────────────────────────────────────────────────── */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 400; transform: translate(-50%,150%); background: var(--night); color: var(--soft-gold); border: 1px solid rgba(201,160,78,.5); border-radius: 999px; padding: .75rem 1.25rem; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.22,1,.36,1); max-width: calc(100% - 2rem); text-align: center; font-size: .84rem; font-weight: 600; }
.toast.show { transform: translate(-50%,0); }

/* ─── Animations ─────────────────────────────────────────────────── */
@keyframes satinFlow { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes logoEntrance { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeSlide { from{opacity:0;transform:translateX(22px)} to{opacity:1;transform:translateX(0)} }
@keyframes fadeLift { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
@keyframes cardReveal { from{opacity:0;transform:translateY(16px) scale(.98)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes panelRise { from{opacity:0;transform:translateY(-8px) scale(.98)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes imageDrift { from{transform:scale(1.02)} to{transform:scale(1.07) translate(-1%,.7%)} }
@keyframes auraPulse { 0%,100%{opacity:.6} 50%{opacity:1} }
@keyframes detailEntrance { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes imageSettle { from{opacity:.4;transform:scale(1.02)} to{opacity:1;transform:scale(1)} }
@keyframes drawerIn { from{transform:translateX(24px);opacity:.7} to{transform:translateX(0);opacity:1} }

/* ─── Responsive 3-col ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* ─── Responsive Tablet ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-trigger { display: inline-grid; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { height: 52svh; min-height: 300px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(8,6,4,.95) 0%, rgba(8,6,4,.3) 55%, rgba(8,6,4,.04) 100%); }
  .hero-content { padding: 0 clamp(1.2rem,5vw,3rem) clamp(2rem,5vw,4rem); margin-top: -5rem; position: relative; z-index: 2; }
  .hero-logo { width: clamp(140px,38vw,220px); }
  .trust-strip { grid-template-columns: repeat(2,1fr); }
  .atelier { grid-template-columns: 1fr; }
  .atelier-gallery { grid-column: 1/-1; grid-template-columns: repeat(3,1fr); }
  .contact-section { grid-template-columns: 1fr; }
  .contact-section > div { position: static; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .product-detail-shell { grid-template-columns: 1fr; }
  .product-detail-copy { position: static; }
}

/* ─── Responsive Mobile ──────────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .announcement { font-size: .66rem; letter-spacing: .1em; }
  .site-header { padding: 0 .85rem; }
  .brand img { width: 120px; }
  .icon-button { width: 38px; height: 38px; }
  .icon-button svg { width: 16px; height: 16px; }
  .hero-media { height: 44svh; min-height: 260px; }
  .hero-content { padding: 0 1rem 2rem; margin-top: -4rem; }
  .hero-logo { width: clamp(120px,52vw,190px); margin-bottom: .8rem; }
  h1 { font-size: clamp(3.4rem,18vw,5rem); }
  h2 { font-size: clamp(2.1rem,11vw,3.2rem); }
  .hero-copy { font-size: .9rem; }
  .hero-actions .button { flex: 1 1 140px; }
  .trust-strip { grid-template-columns: repeat(2,1fr); }
  .trust-strip span { min-height: 60px; font-size: .76rem; }
  .section-pad { padding: 2.8rem .9rem; }
  .section-heading { text-align: left; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .product-detail-gallery { grid-template-columns: 1fr; }
  .product-thumbs { order: 2; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 68px; max-height: none; overflow-x: auto; overflow-y: hidden; padding-bottom: .4rem; }
  .product-detail-main { min-height: auto; aspect-ratio: 4/4.6; }
  .atelier { padding: 2.8rem .9rem; }
  .atelier-gallery { grid-template-columns: 1fr; gap: .65rem; }
  .atelier-gallery img { height: 280px; }
  .atelier-gallery img:nth-child(2) { transform: none; }
  .detail-actions, .product-actions { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .field-pair { grid-template-columns: 1fr; }
  .admin-item { grid-template-columns: 1fr; }
  .admin-item img { width: 60px; height: 60px; }
  .console-top { flex-direction: column; align-items: flex-start; }
  .admin-actions { justify-content: flex-start; }
  .toast { width: calc(100% - 1.4rem); border-radius: var(--radius-lg); }
}

@media (max-width: 400px) {
  :root { --header-h: 58px; }
  .brand img { width: 106px; }
  .icon-button { width: 35px; height: 35px; }
  .header-actions { gap: .25rem; }
  h1 { font-size: clamp(3rem,16vw,4rem); }
  .product-grid { gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}