/* Revuei Christmas 2026 Column · Fused Pine-Gold × Minimalist Editorial */
:root {
  --xm-pine-950: #091410;
  --xm-pine-900: #0F1E18;
  --xm-pine-850: #152A21;
  --xm-gold: #DFC390;
  --xm-gold-dim: #AE9569;
  --xm-burgundy: #8E2438;
  --xm-burgundy-deep: #6D1929;
  --xm-ivory: #FAF6F0;
  --xm-card: #FFFFFF;
  --xm-ink: #171513;
  --xm-muted: #5C554C;
  --xm-line-dark: rgba(223, 195, 144, 0.2);
  --xm-line-light: #E6DDD0;
}

body.rv-xmas-v1-page {
  background: var(--xm-pine-950) !important;
  color: #F4EFE7 !important;
}
body.rv-xmas-v1-page .hdr {
  background: rgba(9, 20, 16, 0.94) !important;
  border-bottom: 1px solid var(--xm-line-dark) !important;
  color: #F4EFE7 !important;
}
body.rv-xmas-v1-page .hdr .logo,
body.rv-xmas-v1-page .hdr .nav a,
body.rv-xmas-v1-page .hdr .icon-btn,
body.rv-xmas-v1-page .hdr .saved {
  color: #F4EFE7 !important;
}
body.rv-xmas-v1-page .hdr .saved {
  border-color: var(--xm-line-dark) !important;
  background: rgba(255,255,255,0.04) !important;
}
body.rv-xmas-v1-page .hdr [data-xmas-nav] {
  color: var(--xm-gold) !important;
  text-decoration: underline;
  text-underline-offset: 6px;
}
body.rv-xmas-v1-page .ftr {
  background: #07100D !important;
  border-top: 1px solid var(--xm-line-dark) !important;
  color: rgba(244, 239, 231, 0.78) !important;
}
body.rv-xmas-v1-page .ftr a,
body.rv-xmas-v1-page .ftr h2,
body.rv-xmas-v1-page .ftr .logo,
body.rv-xmas-v1-page .ftr .quote {
  color: #F4EFE7 !important;
}
body.rv-xmas-v1-page .ftr .qband {
  border-bottom-color: var(--xm-line-dark) !important;
}
body.rv-xmas-v1-page .rv-mobile .rv-m-appbar {
  background: rgba(9, 20, 16, 0.96) !important;
  border-bottom: 1px solid var(--xm-line-dark) !important;
  color: #F4EFE7 !important;
}
body.rv-xmas-v1-page .rv-mobile .rv-m-appbar a,
body.rv-xmas-v1-page .rv-mobile .rv-m-appbar svg {
  color: #F4EFE7 !important;
  stroke: #F4EFE7 !important;
}
body.rv-xmas-v1-page .rv-mobile .rv-m-appbar [data-xmas-nav] {
  color: var(--xm-gold) !important;
}

/* Main Column Container */
.xmas-v1-main {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}
.xm-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Hero (Gemini Pine Velvet + Astra Minimal Copy + Astra CSS Ribbon Gift Card) */
.xm-hero {
  background:
    radial-gradient(640px 380px at 26% 18%, rgba(223, 195, 144, 0.14), transparent 68%),
    radial-gradient(500px 320px at 84% 25%, rgba(142, 36, 56, 0.16), transparent 66%),
    linear-gradient(180deg, #0D1C16 0%, #091410 100%);
  padding: 46px 0 42px;
  border-bottom: 1px solid var(--xm-line-dark);
}
.xm-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.xm-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--xm-gold-dim);
  margin: 0 0 16px;
}
.xm-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--xm-gold-dim);
}
.xm-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 0.98;
  font-weight: 500;
  margin: 0 0 16px;
  color: #F7EFE2;
}
.xm-hero h1 em {
  font-style: italic;
  color: var(--xm-gold);
}
.xm-lead {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.4;
  color: rgba(244, 239, 231, 0.88);
  max-width: 500px;
  margin: 0 0 22px;
}
.xm-kpis {
  display: flex;
  align-items: baseline;
  gap: 32px;
  margin-bottom: 18px;
}
.xm-kpi-val {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  line-height: 1;
  color: var(--xm-gold);
}
.xm-kpi-lbl {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--xm-gold-dim);
  margin-top: 4px;
}
.xm-disc {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(244, 239, 231, 0.58);
  margin: 0;
  max-width: 520px;
}
.xm-disc a {
  color: var(--xm-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Astra-inspired Pure-CSS Holiday Ribbon Gift Card (re-skinned for Pine Velvet) */
.xm-gift-stage {
  position: relative;
  border-radius: 16px;
  padding: 36px 28px;
  background: radial-gradient(circle at 50% 45%, #1E352B 0%, #10201A 100%);
  border: 1px solid rgba(223, 195, 144, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
}
.xm-gift-box {
  position: relative;
  width: min(330px, 88%);
  aspect-ratio: 1.42 / 1;
  background:
    repeating-linear-gradient(45deg, rgba(174,149,105,0.08) 0 4px, transparent 4px 8px),
    linear-gradient(145deg, #F6EFE2 0%, #E7DBC5 100%);
  border-radius: 6px;
  transform: rotate(-7deg);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(223,195,144,0.4);
  overflow: hidden;
}
.xm-gift-box::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 26%; width: 34px;
  background: linear-gradient(90deg, var(--xm-burgundy-deep), var(--xm-burgundy), var(--xm-burgundy-deep));
  box-shadow: 0 0 12px rgba(0,0,0,0.22);
}
.xm-gift-box::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 34%; height: 30px;
  background: linear-gradient(180deg, var(--xm-burgundy-deep), var(--xm-burgundy), var(--xm-burgundy-deep));
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
}
.xm-gift-tag {
  position: absolute;
  right: 12%;
  bottom: 16%;
  width: 60%;
  background: #FFFDF9;
  color: #1A1614;
  padding: 16px 14px;
  border-radius: 3px;
  transform: rotate(9deg);
  text-align: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  z-index: 2;
}
.xm-gift-tag small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7D6D58;
}
.xm-gift-tag strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 27px;
  line-height: 1.15;
  color: var(--xm-burgundy);
  margin: 4px 0;
}

/* Sticky Sub-Nav */
.xm-subnav {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: rgba(11, 23, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--xm-line-dark);
}
.xm-subnav-inner {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 13px 0;
  scrollbar-width: none;
}
.xm-subnav-inner::-webkit-scrollbar { display: none; }
.xm-subnav a {
  white-space: nowrap;
  font-size: 13px;
  color: rgba(244, 239, 231, 0.8);
  text-decoration: none;
}
.xm-subnav a:hover { color: var(--xm-gold); }
.xm-subnav b {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  color: var(--xm-gold);
  margin-right: 5px;
}

/* Section 1: For Their Daily Ritual (Warm Ivory Strip — Minimalist 6-Card Showcase) */
.xm-sec { padding: 48px 0; border-bottom: 1px solid var(--xm-line-dark); }
.xm-ritual-box {
  background: var(--xm-ivory);
  color: var(--xm-ink);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(223, 195, 144, 0.35);
}
.xm-sec-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--xm-burgundy);
  font-weight: 700;
  margin: 0 0 6px;
}
.xm-ritual-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.xm-ritual-head h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  margin: 0;
  color: var(--xm-ink);
}
.xm-ritual-head a {
  font-size: 13px;
  color: var(--xm-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.xm-shortlist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.xm-scard {
  background: var(--xm-card);
  border: 1px solid var(--xm-line-light);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.xm-scard-top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.xm-sthumb {
  width: 72px;
  height: 78px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #F4EFE7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.xm-sthumb img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}
.xm-sbrand {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--xm-burgundy);
  font-weight: 700;
  margin: 0 0 3px;
}
.xm-stitle {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--xm-ink);
}
.xm-snote {
  font-size: 12.5px;
  color: var(--xm-muted);
  margin: 0;
}
.xm-sacts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #F0E9DE;
}
.xm-btn-amz {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #10201A;
  color: #FAF6F0 !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}
.xm-btn-amz:hover { background: var(--xm-burgundy); }
.xm-qlink {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--xm-ink) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Section 2: Before You Wrap It (Astra Signature Concern Bars, Pine-Gold Edition) */
.xm-pause-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: center;
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(21, 42, 33, 0.9), rgba(12, 25, 20, 0.92));
  border: 1px solid rgba(223, 195, 144, 0.28);
}
.xm-pause-left h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08;
  font-weight: 500;
  margin: 0 0 12px;
  color: #FAF6F0;
}
.xm-pause-left p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(244, 239, 231, 0.72);
  margin: 0;
}
.xm-bar-item { margin-bottom: 18px; }
.xm-bar-item:last-of-type { margin-bottom: 12px; }
.xm-bar-lbl {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #FAF6F0;
  margin-bottom: 6px;
}
.xm-bar-lbl span { color: var(--xm-gold); font-weight: 500; }
.xm-bar-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(223, 195, 144, 0.14);
  overflow: hidden;
}
.xm-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--xm-burgundy), var(--xm-gold));
}
.xm-bar-foot {
  font-size: 12px;
  color: rgba(244, 239, 231, 0.56);
  margin: 0;
}

/* Section 3: Compact 4-Category Gift Catalog (27 Picks, Zero Word Bloat) */
.xm-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.xm-cat-head h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  margin: 0;
  color: #FAF6F0;
}
.xm-cat-head span {
  font-size: 13px;
  color: var(--xm-gold-dim);
}
.xm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.xm-card {
  background: rgba(18, 35, 28, 0.78);
  border: 1px solid var(--xm-line-dark);
  border-radius: 14px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.xm-card-pic {
  height: 132px;
  border-radius: 10px;
  background: #FAF6F0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.xm-card-pic img {
  max-width: 82%;
  max-height: 84%;
  object-fit: contain;
}
.xm-card-meta {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--xm-gold);
  margin: 0 0 4px;
}
.xm-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 500;
  margin: 0 0 5px;
  color: #FAF6F0;
}
.xm-card h3 a { color: #FAF6F0; text-decoration: none; }
.xm-card-note {
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(244, 239, 231, 0.7);
  margin: 0;
}
.xm-card-acts {
  display: flex;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(223, 195, 144, 0.14);
}
.xm-btn-gold {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--xm-gold);
  color: #0E1C16 !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
}
.xm-btn-outline {
  text-align: center;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(223, 195, 144, 0.34);
  color: #FAF6F0 !important;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none !important;
}

/* Section 4: Compare Pills */
.xm-cmp-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.xm-cmp-pill {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(223, 195, 144, 0.3);
  background: rgba(21, 42, 33, 0.65);
  color: #FAF6F0 !important;
  font-size: 13px;
  text-decoration: none !important;
}
.xm-cmp-pill:hover { border-color: var(--xm-gold); color: var(--xm-gold) !important; }

/* Responsive */
@media (max-width: 1024px) {
  .xm-shortlist { grid-template-columns: repeat(2, 1fr); }
  .xm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .xm-wrap { width: calc(100% - 28px); }
  .xm-hero { padding: 26px 0 30px; }
  .xm-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .xm-gift-stage { min-height: 200px; padding: 24px 18px; }
  .xm-subnav { top: 52px; }
  .xm-sec { padding: 30px 0; }
  .xm-ritual-box { padding: 18px 16px; }
  .xm-shortlist { grid-template-columns: 1fr; }
  .xm-pause-card { grid-template-columns: 1fr; padding: 22px 18px; gap: 20px; }
  .xm-grid { grid-template-columns: 1fr; }
}


/* Polish: dark header search icon + mobile main override */
body.rv-xmas-v1-page .hdr .icon-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--xm-line-dark) !important;
  color: #F4EFE7 !important;
}
body.rv-xmas-v1-page .hdr .icon-btn svg { stroke: #F4EFE7 !important; }
@media (max-width: 599px) {
  body.rv-xmas-v1-page {
    background: var(--xm-pine-950) !important;
    padding-bottom: 72px !important;
  }
  body.rv-xmas-v1-page > main#main.xmas-v1-main {
    display: block !important;
    visibility: visible !important;
    padding-top: 56px !important;
  }
  body.rv-xmas-v1-page .xm-subnav {
    top: 56px !important;
  }
  body.rv-xmas-v1-page .rv-mobile .rv-m-tabbar {
    background: rgba(9, 20, 16, 0.96) !important;
    border-top: 1px solid var(--xm-line-dark) !important;
  }
  body.rv-xmas-v1-page .rv-mobile .rv-m-tabbar a,
  body.rv-xmas-v1-page .rv-mobile .rv-m-tabbar svg {
    color: rgba(244, 239, 231, 0.78) !important;
    stroke: rgba(244, 239, 231, 0.78) !important;
  }
}

/* 2026-11-26 Mobile white-screen + stacking root fix (mirrors bf-r124-shell) */
@media (max-width: 599px) {
  body.rv-xmas-v1-page > .rv-mobile {
    min-height: 0 !important;
    isolation: auto !important;
    padding: 0 !important;
    background: transparent !important;
  }
  body.rv-xmas-v1-page > .rv-mobile .rv-m-appbar {
    position: fixed !important;
    inset: 0 0 auto !important;
    height: 56px !important;
    z-index: 31 !important;
    background: rgba(9, 20, 16, 0.96) !important;
    border-bottom: 1px solid var(--xm-line-dark) !important;
    color: #F4EFE7 !important;
  }
  body.rv-xmas-v1-page > main#main.xmas-v1-main {
    display: block !important;
    visibility: visible !important;
    padding-top: 56px !important;
  }
  body.rv-xmas-v1-page .xm-subnav {
    top: 56px !important;
  }
  body.rv-xmas-v1-page > .ftr {
    display: block !important;
    padding-bottom: calc(var(--rv-tabs, 64px) + 18px) !important;
  }
  body.rv-xmas-v1-page > .rv-mobile > .rv-m-tabs {
    z-index: 35 !important;
    background: rgba(9, 20, 16, 0.96) !important;
    border-top: 1px solid var(--xm-line-dark) !important;
  }
  body.rv-xmas-v1-page > .rv-mobile > .rv-m-tabs .rv-m-tab,
  body.rv-xmas-v1-page > .rv-mobile > .rv-m-tabs .rv-m-tab svg {
    color: rgba(244, 239, 231, 0.84) !important;
    stroke: rgba(244, 239, 231, 0.84) !important;
  }
  body.rv-xmas-v1-page > .rv-mobile > .rv-m-tabs .rv-m-tab.is-active {
    color: var(--xm-gold) !important;
  }
  body.rv-xmas-v1-page > .tray:not([hidden]) {
    display: flex !important;
    position: fixed !important;
    bottom: calc(83px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 36 !important;
  }
}
