/* =========================================================
   item.css — OG Jewelers (Product Details)
   Phase 1: Sticky-left gallery + scrolling-right content
   + Wider PDP container to reduce side dead space
   Phase 3: Header alignment + icon polish (PDP only)
   Phase 4.2: Luxe hierarchy + CTA emphasis + editorial spacing
   Luxe noir / warm champagne gold
   ========================================================= */

:root{
  --bg: #070708;
  --ivory: rgba(244, 241, 234, 0.92);
  --gold: rgba(227, 200, 120, 0.96);
  --goldSoft: rgba(200, 162, 74, 0.22);

  --panel: rgba(10,10,12,0.55);
  --panel2: rgba(10,10,12,0.62);

  --shadow: 0 22px 60px rgba(0,0,0,0.55);
  --shadow2: 0 26px 90px rgba(0,0,0,0.75);

  /* Sticky offset: tuned for your header height */
  --stickyTop: 92px;

  /* =========================
     Phase 4.2 — Rhythm tokens
     ========================= */
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 14px;

  --ease: cubic-bezier(.2,.9,.2,1);
  --dur-fast: 160ms;
  --dur: 320ms;

  --text: rgba(255,255,255,0.86);
  --muted: rgba(255,255,255,0.68);
  --faint: rgba(255,255,255,0.52);
  --rim: rgba(255,255,255,0.10);
  --rim2: rgba(227, 200, 120, 0.20);
}

*{ box-sizing: border-box; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* site-wide container (header still uses this) */
.container{
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* ✅ PDP container: wider to reduce side dead space */
.item-container{
  width: min(1560px, 96vw);
  margin: 0 auto;
}

.item-page{
  padding: 22px 0 74px;
}

/* =========================================================
   Phase 3 — Luxe alignment + header icon polish (PDP only)
   ========================================================= */

/* ✅ Make header match PDP width so OG Jewelers aligns with hero left edge */
/* =========================
   Error + Skeleton
========================= */

.item-error{
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 120, 120, 0.18);
  background: rgba(255, 90, 90, 0.06);
  color: rgba(255, 210, 210, 0.92);
}

.item-skeleton{
  display: grid;
  grid-template-columns: minmax(560px, 1.25fr) minmax(420px, 0.75fr);
  gap: 22px;
  align-items: start;
  margin-top: 18px;
}

.sk-hero{
  height: clamp(520px, calc(100vh - 190px), 740px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  background-size: 200% 100%;
  animation: sk 1.1s infinite linear;
}

.sk-lines{ padding-top: 6px; }
.sk-line{
  height: 14px;
  border-radius: 999px;
  margin: 14px 0;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  background-size: 200% 100%;
  animation: sk 1.1s infinite linear;
}
.sk-line.w60{ width: 60%; }
.sk-line.w30{ width: 30%; }
.sk-line.w80{ width: 80%; }
.sk-line.w75{ width: 75%; }

@keyframes sk{
  0%{ background-position: 0% 50%; }
  100%{ background-position: 200% 50%; }
}

/* =========================
   Layout (Phase 1)
========================= */

.item-wrap{ margin-top: 18px; }

/* ✅ Two-column split. Left sticky. Right scrolls naturally. */
.item-grid{
  display: grid;
  grid-template-columns: minmax(560px, 1.25fr) minmax(420px, 0.75fr);
  gap: 22px;
  align-items: start;
}

/* LEFT: Sticky gallery column */
.item-gallery{
  display: grid;
  gap: 12px;
}

@media (min-width: 981px){
  .item-gallery{
    position: sticky;
    top: var(--stickyTop);
    align-self: start;
  }
}

.item-hero{
  position: relative;
  overflow: hidden;
  height: clamp(520px, calc(100vh - 190px), 740px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.09);
  background:
    radial-gradient(1200px 600px at 20% 15%, rgba(255, 210, 120, 0.10), transparent 60%),
    radial-gradient(900px 520px at 85% 35%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    var(--img, none);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transform: translateZ(0);
}

/* Subtle vignette + luxe depth */
.item-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 25%, rgba(227,200,120,.16), rgba(7,7,8,0) 55%),
    linear-gradient(180deg, rgba(7,7,8,0), rgba(7,7,8,.65));
  pointer-events:none;
}

/* Hit area */
.inspect-hit{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background: transparent;
  cursor: inherit;
}

/* =========================================================
   Examine craftsmanship pill (luxe)
   ========================================================= */
.inspect-pill{
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(227, 200, 120, 0.18);
  background: rgba(8, 8, 10, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: rgba(244, 241, 234, 0.92);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 18px 55px rgba(0,0,0,0.55);
  opacity: 0.0;
  transform: translateY(7px);
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease, border-color var(--dur-fast) ease;
  pointer-events: none;
}

.inspect-ico{
  display:inline-flex;
  width: 20px;
  height: 20px;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  border: 1px solid rgba(227, 200, 120, 0.18);
  background: rgba(200, 162, 74, 0.10);
  color: rgba(227, 200, 120, 0.96);
  font-size: 12px;
  line-height: 1;
}

/* Show on hover / focus within */
.item-hero:hover .inspect-pill,
.item-hero:focus-within .inspect-pill{
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(227, 200, 120, 0.26);
}

/* =========================
   Right: info card
========================= */

.item-info{
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 18px 18px 16px;
  align-self: start; /* ✅ keeps it cleanly aligned with top of hero */
  position: relative;
  overflow: hidden;
}

/* =========================================================
   Phase 4.2 — Luxe hierarchy + editorial spacing (PDP)
   - stronger title/price cadence
   - “primary” Add to Cart (gold moment)
   - quieter trust chips, cleaner rhythm
   ========================================================= */

/* subtle inner glow / depth without looking “card-y” */
.item-info::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(227,200,120,0.08), transparent 60%),
    radial-gradient(740px 420px at 92% 30%, rgba(255,255,255,0.05), transparent 62%);
  pointer-events:none;
  opacity: 0.9;
}

/* slightly more premium padding on desktop */
@media (min-width: 981px){
  .item-info{
    padding: 22px 22px 18px;
  }
}

.item-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.item-stock{
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.86);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.item-stock[data-tone="ok"]{
  border-color: rgba(120, 255, 200, 0.22);
  background: rgba(40, 255, 170, 0.06);
  color: rgba(190, 255, 225, 0.90);
}
.item-stock[data-tone="warn"]{
  border-color: rgba(255, 210, 120, 0.22);
  background: rgba(255, 210, 120, 0.08);
  color: rgba(255, 235, 190, 0.92);
}
.item-stock[data-tone="bad"]{
  border-color: rgba(255, 120, 120, 0.22);
  background: rgba(255, 120, 120, 0.08);
  color: rgba(255, 210, 210, 0.92);
}

/* Title becomes the “hero” of the right column */
.item-title{
  margin: 6px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: clamp(34px, 3.2vw, 46px);
  color: rgba(244, 241, 234, 0.97);
  line-height: 1.02;
  text-shadow: 0 0 18px rgba(227,200,120,0.06);
}

.price-row{
  display:flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 12px;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Price: bigger + more “jewelry label” feel */
.item-price{
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 20px;
  color: rgba(227, 200, 120, 0.98);
}

/* Meta line: quieter and more refined */
.item-meta{
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}

/* Trust chips: more minimal, less “pill badge” */
.trust-row{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.trust-chip{
  height: 28px;
  display:inline-flex;
  align-items:center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  color: rgba(244,241,234,0.82);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.trust-chip:hover{
  border-color: rgba(227, 200, 120, 0.18);
  background: rgba(200, 162, 74, 0.06);
  transform: translateY(-1px);
}

/* CTAs: keep ⭐ + Add + View aligned (3-up) */
.item-actions{
  display: grid;
  grid-template-columns: 44px 1fr 1fr; /* ⭐ | ADD | VIEW */
  gap: 10px;
  margin: 0 0 18px;
  align-items: stretch;
}

/* Make CTA buttons equal height + centered text */
.item-actions .btn,
.item-actions a.btn{
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ⭐ Favorite — force compact icon button (override shared favorites styles) */
.item-actions .fav-toggle{
  width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: rgba(244, 241, 234, 0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease),
    border-color var(--dur) var(--ease),
    background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    filter var(--dur) var(--ease);
}
.item-actions .fav-toggle:hover{
  transform: translateY(-1px);
  border-color: rgba(227, 200, 120, 0.22);
  background: rgba(200, 162, 74, 0.10);
}
.item-actions .fav-toggle:active{
  transform: translateY(0) scale(0.985);
}

/* Primary CTA (ADD TO FAVORITES) */
.item-actions .item-add.og-cta{
  border-color: rgba(227, 200, 120, 0.32);
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(255,255,255,0.10), transparent 62%),
    linear-gradient(180deg, rgba(227,200,120,0.22), rgba(200,162,74,0.12));
  color: rgba(244, 241, 234, 0.96);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow:
    0 18px 55px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.item-actions .item-add.og-cta:hover{
  border-color: rgba(227, 200, 120, 0.44);
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(255,255,255,0.12), transparent 62%),
    linear-gradient(180deg, rgba(227,200,120,0.28), rgba(200,162,74,0.14));
  box-shadow:
    0 22px 70px rgba(0,0,0,0.60),
    0 0 0 1px rgba(227, 200, 120, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.10);
  filter: brightness(1.02);
}
.item-actions .item-add.og-cta:active{
  transform: translateY(0) scale(0.985);
}

/* Secondary CTA (VIEW CART) */
.item-actions .item-open-cart{
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  color: rgba(244, 241, 234, 0.90);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}
.item-actions .item-open-cart:hover{
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}

/* Primary CTA (targets your existing class: .item-add.og-cta) */
.item-actions .item-add.og-cta{
  border-color: rgba(227, 200, 120, 0.32);
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(255,255,255,0.10), transparent 62%),
    linear-gradient(180deg, rgba(227,200,120,0.22), rgba(200,162,74,0.12));
  color: rgba(244, 241, 234, 0.96);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow:
    0 18px 55px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.item-actions .item-add.og-cta:hover{
  border-color: rgba(227, 200, 120, 0.44);
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(255,255,255,0.12), transparent 62%),
    linear-gradient(180deg, rgba(227,200,120,0.28), rgba(200,162,74,0.14));
  box-shadow:
    0 22px 70px rgba(0,0,0,0.60),
    0 0 0 1px rgba(227, 200, 120, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.10);
  filter: brightness(1.02);
}
.item-actions .item-add.og-cta:active{
  transform: translateY(0) scale(0.985);
}

/* Secondary CTA (View Cart): calmer, still premium */
.item-actions .item-open-cart{
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  color: rgba(244, 241, 234, 0.90);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}
.item-actions .item-open-cart:hover{
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}

/* Editorial description block */
.desc-block{
  padding-top: 2px;
}

.desc-lead{
  margin: 0;
  line-height: 1.72;
  font-size: 14.5px;
  color: rgba(255,255,255,0.78);
  text-wrap: pretty;
}

.desc-divider{
  height: 1px;
  margin: 16px 0 14px;
  background: linear-gradient(90deg, rgba(227,200,120,0.00), rgba(227,200,120,0.18), rgba(227,200,120,0.00));
  opacity: 0.9;
}

.details-title{
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.84);
  margin-bottom: 12px;
}

.details-list{
  margin: 0;
  display: grid;
  gap: 10px;
}

.details-list dt{
  font-size: 11px;
  color: rgba(255,255,255,0.66);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.details-list dd{
  margin: 2px 0 0;
  font-size: 13px;
  color: rgba(244,241,234,0.90);
  line-height: 1.55;
}

.item-back{
  display:inline-block;
  margin-top: 16px;
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.item-back:hover{ color: rgba(255, 220, 150, 0.92); }

/* =========================
   Related (curated luxe) — “You may also like”
========================= */

.related{
  margin-top: 18px;
}

.related-divider{
  height: 1px;
  margin: 18px 0 16px;
  background: linear-gradient(90deg, rgba(227,200,120,0.00), rgba(227,200,120,0.22), rgba(227,200,120,0.00));
}

.related-head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.related-title{
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.03em;
  color: rgba(244, 241, 234, 0.94);
}

.related-sub{
  font-size: 12px;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.62);
}

.related-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rel-card{
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10, 10, 12, 0.46);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.rel-card:hover{
  transform: translateY(-2px);
  border-color: rgba(227, 200, 120, 0.18);
  background: rgba(200, 162, 74, 0.06);
  box-shadow: 0 18px 60px rgba(0,0,0,0.40);
}

.rel-img{
  height: 160px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--img) center/cover no-repeat;
  box-shadow: 0 14px 36px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
}
.rel-img::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(7,7,8,0), rgba(7,7,8,.55));
  pointer-events:none;
}

.rel-meta{
  display:grid;
  gap: 4px;
}

.rel-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

.rel-title{
  color: rgba(244, 241, 234, 0.92);
  font-weight: 600;
  font-size: 13px;
}

.rel-price{
  color: rgba(227, 200, 120, 0.92);
  font-size: 12px;
  font-weight: 600;
}

.rel-tag{
  height: 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(227,200,120,0.14);
  background: rgba(200,162,74,0.08);
  color: rgba(244,241,234,0.84);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: fit-content;
}

/* =========================
   Toast
========================= */

.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10, 10, 12, 0.70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(244, 241, 234, 0.92);
  font-size: 13px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity 180ms ease;
  z-index: 1400;
}
.toast.show{ opacity: 1; }

/* =========================
   Responsive (Phase 1)
========================= */

@media (max-width: 980px){
  :root{ --stickyTop: 0px; }
  .item-skeleton{ grid-template-columns: 1fr; }
  .item-grid{ grid-template-columns: 1fr; }
  .item-hero{ height: min(460px, 52vh); }
  .item-actions{
  grid-template-columns: 44px 1fr; /* ⭐ | ADD */
}
.item-actions .item-open-cart{
  grid-column: 1 / -1; /* VIEW spans full width below */
}
  .related-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 520px){
  .related-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   Inspect Viewer (Luxe Zoom) — Polished
   - 100% fits without crop (object-fit: contain)
   - Legible luxe controls
   - Zoom % badge + rim-light when zoomed
   ========================================================= */

.inspect-backdrop{
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 18% 18%, rgba(227, 200, 120, 0.16), transparent 55%),
    radial-gradient(900px 700px at 82% 30%, rgba(255, 255, 255, 0.08), transparent 60%),
    rgba(6, 6, 7, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1200;
  opacity: 0;
  transition: opacity 220ms ease;
}

.inspect-modal{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  z-index: 1210;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.inspect-backdrop.is-open{ opacity: 1; }
.inspect-modal.is-open{
  opacity: 1;
  transform: translateY(0);
}

.inspect-stage{
  width: min(1080px, 94vw);
  height: min(86vh, 860px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(227,200,120,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(10, 10, 12, 0.66);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.inspect-topbar{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.inspect-title{
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: rgba(244, 241, 234, 0.96);
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(227, 200, 120, 0.08);
}

.inspect-controls{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.inspect-chip{
  border: 1px solid rgba(227, 200, 120, 0.18);
  background: rgba(8, 8, 10, 0.52);
  color: rgba(244, 241, 234, 0.96);
  border-radius: 999px;
  padding: 10px 12px;
  min-height: 36px;
  line-height: 1;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 18px 55px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 120ms ease, border-color 200ms ease, background 200ms ease;
}

.inspect-chip:hover{
  border-color: rgba(227, 200, 120, 0.28);
  background: rgba(200, 162, 74, 0.12);
  transform: translateY(-1px);
}

.inspect-chip:active{
  transform: translateY(0) scale(0.98);
}

.inspect-chip[data-action="inspect-zoom-in"],
.inspect-chip[data-action="inspect-zoom-out"]{
  width: 40px;
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0;
}

.inspect-chip.danger{
  border-color: rgba(255, 120, 120, 0.20);
}
.inspect-chip.danger:hover{
  border-color: rgba(255, 190, 190, 0.28);
  background: rgba(255, 90, 90, 0.12);
}

.inspect-viewport{
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  background:
    radial-gradient(900px 520px at 50% 30%, rgba(255,255,255,0.05), transparent 60%),
    rgba(0,0,0,0.20);
  cursor: zoom-in;
}

.inspect-viewport.is-zoomed{
  cursor: grab;
}

.inspect-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
  transform: translate3d(0,0,0) scale(1);
  transform-origin: center center;
  will-change: transform;
  cursor: grab;
  max-width: none;
  max-height: none;
}

.inspect-img:active{ cursor: grabbing; }

.inspect-shimmer{
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  background-size: 200% 100%;
  animation: sk 1.1s infinite linear;
  border: 1px solid rgba(255,255,255,0.08);
}

.inspect-hint{
  padding: 12px 16px 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.76);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Zoom % badge */
.inspect-zoom-badge{
  margin-left: auto;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.92);
  border: 1px solid rgba(227, 200, 120, 0.16);
  background: rgba(10, 10, 12, 0.46);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 18px 50px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 200ms ease, background 200ms ease;
}

.inspect-stage.is-zoomed .inspect-zoom-badge{
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(227, 200, 120, 0.22);
  background: rgba(200, 162, 74, 0.10);
}

/* Rim-light only when zoomed */
.inspect-stage.is-zoomed .inspect-img{
  box-shadow:
    0 18px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(227, 200, 120, 0.14),
    0 0 26px rgba(227, 200, 120, 0.10);
  border-color: rgba(227, 200, 120, 0.20);
}

@media (max-width: 720px){
  .inspect-modal{ padding: 14px; }
  .inspect-stage{ width: 94vw; height: 88vh; border-radius: 22px; }
  .inspect-title{ font-size: 20px; }
  .inspect-chip{ padding: 9px 10px; font-size: 11px; }
  .inspect-chip[data-action="inspect-zoom-in"],
  .inspect-chip[data-action="inspect-zoom-out"]{
    width: 38px;
    font-size: 13px;
  }
  .inspect-hint{ font-size: 11px; }
}

@media (prefers-reduced-motion: reduce){
  .inspect-backdrop,
  .inspect-modal,
  .inspect-chip,
  .trust-chip,
  .btn{
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   Header compatibility tweaks (kept)
   ========================================================= */
/* =========================================================
   Search Overlay (Luxe)
   - Opens from header search icon
   - Blurred noir backdrop, champagne rim
   ========================================================= */

.search{
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(1200px 700px at 18% 18%, rgba(227, 200, 120, 0.16), transparent 55%),
    radial-gradient(900px 700px at 82% 30%, rgba(255, 255, 255, 0.08), transparent 60%),
    rgba(6, 6, 7, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.search.is-open{
  opacity: 1;
  transform: translateY(0);
}

.search-shell{
  width: min(720px, 92vw);
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(227,200,120,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(10, 10, 12, 0.70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 26px 90px rgba(0,0,0,0.60);
  padding: 18px 18px 16px;
}

.search-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.search-title{
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: rgba(244, 241, 234, 0.96);
  text-shadow: 0 0 12px rgba(227, 200, 120, 0.10);
}

.search-close{
  border: 1px solid rgba(227, 200, 120, 0.18);
  background: rgba(8, 8, 10, 0.52);
  color: rgba(244, 241, 234, 0.92);
  border-radius: 999px;
  padding: 10px 12px;
  min-height: 38px;
  cursor: pointer;
  box-shadow:
    0 18px 55px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 120ms ease, border-color 200ms ease, background 200ms ease;
}

.search-close:hover{
  border-color: rgba(227, 200, 120, 0.28);
  background: rgba(200, 162, 74, 0.12);
  transform: translateY(-1px);
}

.search-close:active{
  transform: translateY(0) scale(0.98);
}

.search-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-top: 14px;
}

.search-input{
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  color: rgba(244, 241, 234, 0.96);
  padding: 14px 14px;
  font-size: 14px;
  letter-spacing: 0.02em;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.search-input::placeholder{
  color: rgba(244, 241, 234, 0.55);
}

.search-input:focus{
  border-color: rgba(227, 200, 120, 0.30);
  box-shadow:
    0 0 0 3px rgba(227, 200, 120, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.search-go{
  border-radius: 16px;
  padding: 0 16px;
  min-height: 46px;
  border: 1px solid rgba(227, 200, 120, 0.24);
  background: rgba(200, 162, 74, 0.14);
  color: rgba(244, 241, 234, 0.96);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 18px 55px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* =========================================================
   4.3 — PDP Service Accordion + Ritual Purchase States
   ========================================================= */

.pdp-accordion{
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
  display: grid;
  gap: 10px;
}

.acc-item{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.acc-item[open]{
  border-color: rgba(227, 200, 120, 0.18);
  background: linear-gradient(180deg, rgba(200,162,74,0.10), rgba(255,255,255,0.03));
}

.acc-sum{
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 14px;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.acc-sum::-webkit-details-marker{ display:none; }

.acc-title{
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: rgba(244, 241, 234, 0.95);
}

.acc-sub{
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.62);
  padding-right: 22px; /* make room for chevron */
}

.acc-sum::after{
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: rgba(227, 200, 120, 0.70);
  transition: transform 220ms ease, color 220ms ease;
}

.acc-item[open] .acc-sum::after{
  transform: translateY(-50%) rotate(-90deg);
  color: rgba(227, 200, 120, 0.92);
}

.acc-panel{
  padding: 0 14px 14px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  animation: accIn 220ms ease both;
}

@keyframes accIn{
  from{ opacity: 0; transform: translateY(-4px); }
  to{ opacity: 1; transform: translateY(0); }
}

.acc-p{
  margin: 10px 0 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.86);
}

.acc-p.subtle{
  color: rgba(244, 241, 234, 0.66);
}

/* Ritual “Add to Cart” microstates */
.item-add.is-busy{
  opacity: 0.92;
  transform: translateY(0);
  filter: saturate(1.05);
  pointer-events: none;
}

.item-add.is-added{
  border-color: rgba(227, 200, 120, 0.45) !important;
  box-shadow: 0 10px 30px rgba(200,162,74,0.18);
  animation: addedPop 420ms ease both;
}

@keyframes addedPop{
  0%{ transform: translateY(0) scale(1); }
  35%{ transform: translateY(-1px) scale(1.02); }
  100%{ transform: translateY(0) scale(1); }
}

.trust-chip.is-pulsing{
  animation: trustPulse 900ms ease both;
}

@keyframes trustPulse{
  0%{ box-shadow: 0 0 0 rgba(200,162,74,0); border-color: rgba(255,255,255,0.12); }
  45%{ box-shadow: 0 0 0 6px rgba(200,162,74,0.10); border-color: rgba(227, 200, 120, 0.22); }
  100%{ box-shadow: 0 0 0 rgba(200,162,74,0); border-color: rgba(255,255,255,0.12); }
}
/* =========================================================
   Patch — Back to Shop alignment (fix when accordions closed)
   ========================================================= */

.pdp-back-row{
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Make Back link feel intentional, not “leftover text” */
.item-back{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  color: rgba(244, 241, 234, 0.82);

  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;

  transition: transform 160ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.item-back:hover{
  transform: translateY(-1px);
  border-color: rgba(227,200,120,0.22);
  background: rgba(200,162,74,0.08);
  color: rgba(244, 241, 234, 0.92);
}

.item-back:active{
  transform: translateY(0) scale(0.99);
}
