/**
 * DialByDay collection-offer palettes — For Him / For Her / Together
 * Scope: home-page offer chooser ONLY. Studio, gateway, prices and behavior untouched.
 * Base styles and offer-visibility CSS load first.
 * Uses the existing founder-approved swatches for each edition.
 */

/* Shared treatment: readable presentation photography on softly opaque cards. */
body.home.collection-edit-him .dbd-choices--him .dbd-box-card--compact,
body.home.collection-edit-her .dbd-choices--her .dbd-box-card--compact,
body.home.collection-edit-together .dbd-choices--together .dbd-box-card--compact {
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
  box-shadow:0 18px 45px rgba(12,13,20,.14),inset 0 1px 0 rgba(255,255,255,.75);
}
body.home.collection-edit-him .dbd-choices--him .dbd-box-card__image,
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__image,
body.home.collection-edit-together .dbd-choices--together .dbd-box-card__image {
  filter:contrast(1.04) drop-shadow(0 7px 12px rgba(18,15,17,.18));
}

/* FOR HIM — midnight blue and warm ivory; no change to the official hero blue. */
body.home.collection-edit-him .dbd-choices--him {
  --glass-ink:#0B1728;
  --glass-muted:#475363;
  --glass-accent:#586e81;
  --glass-save:#275742;
  --glass-pill:#1C3048;
  --glass-button:#0B1728;
  --glass-panel:#F5F3EF;
  --glass-edge:rgba(236,232,226,.85);
  color:#F6F2EA;
  background:#0B1728;
  background-image:radial-gradient(ellipse at 82% 12%,rgba(112,138,166,.17),transparent 52%),linear-gradient(125deg,#081425 0%,#0B1728 52%,#111B2E 100%);
  border-top:1px solid rgba(226,222,216,.14);
}
body.home.collection-edit-him .dbd-choices--him::before {
  background:linear-gradient(180deg,rgba(255,255,255,.025),transparent 24%,rgba(0,0,0,.14) 100%);
}
body.home.collection-edit-him .dbd-choices--him .dbd-choices__eyebrow {color:#C9BBA8}
body.home.collection-edit-him .dbd-choices--him .dbd-choices__heading h2 {color:#FAF7F1}
body.home.collection-edit-him .dbd-choices--him .dbd-choices__heading>p:last-child {color:#D8E0E8}
body.home.collection-edit-him .dbd-choices--him .dbd-box-card--compact {
  background:linear-gradient(145deg,#FBF9F5,#EAEAE7 100%);
  border-color:rgba(255,255,255,.85);
}
body.home.collection-edit-him .dbd-choices--him .dbd-box-card--compact::before {
  background:linear-gradient(135deg,rgba(255,255,255,.5),transparent 58%);
}
body.home.collection-edit-him .dbd-choices--him .dbd-box-card:nth-child(2) {
  border-color:#B7A58E;
  box-shadow:0 20px 48px rgba(0,0,0,.22),inset 0 0 0 1px rgba(183,165,142,.3);
}
body.home.collection-edit-him .dbd-choices--him .dbd-box-card__cta:hover {
  background:#1B3048;
}
body.home.collection-edit-him .dbd-choices--him .dbd-choices__disclosure {
  background:rgba(248,246,241,.95);
  color:#27374B;
}

/* FOR HER — approved Night Bordeaux + mauve / alabaster, not the old beige room. */
body.home.collection-edit-her .dbd-choices--her {
  --glass-ink:#2D1C24;
  --glass-muted:#5E4B56;
  --glass-accent:#651926;
  --glass-save:#5B2941;
  --glass-pill:#651926;
  --glass-button:#651926;
  --glass-panel:#F4EFF3;
  --glass-edge:rgba(255,251,255,.85);
  color:#F7EDF1;
  background-color:#462831;
  background-image:radial-gradient(ellipse at 18% 0%,rgba(195,139,159,.2),transparent 49%),linear-gradient(118deg,#2C111B 0%,#651926 54%,#462831 100%);
  background-position:center;
  background-size:cover;
  border-top:1px solid rgba(226,221,227,.19);
  border-bottom:1px solid rgba(226,221,227,.19);
}
body.home.collection-edit-her .dbd-choices--her::before {
  background:linear-gradient(180deg,rgba(255,255,255,.025),transparent 60%,rgba(20,4,6,.11));
}
body.home.collection-edit-her .dbd-choices--her::after {background:none}
body.home.collection-edit-her .dbd-choices--her .dbd-choices__eyebrow,
body.home.collection-edit-her .dbd-choices--her .dbd-choices__heading h2 {color:#F8EFF3;text-shadow:none}
body.home.collection-edit-her .dbd-choices--her .dbd-choices__heading>p:last-child {color:#F0DAE1}
body.home.collection-edit-her .dbd-choices--her .dbd-choices__eyebrow::before,
body.home.collection-edit-her .dbd-choices--her .dbd-choices__eyebrow::after {background:rgba(239,218,225,.42)}
body.home.collection-edit-her .dbd-choices--her .dbd-box-card--compact,
body.home.collection-edit-her .dbd-choices--her .dbd-box-card[data-box-count="3"] {
  background:linear-gradient(145deg,#FAF6F9 0%,#EFE5EC 100%);
  border-color:rgba(255,251,255,.85);
  color:#2D1C24;
}
body.home.collection-edit-her .dbd-choices--her .dbd-box-card--compact::before {
  background:linear-gradient(140deg,rgba(255,255,255,.35),transparent 63%);
}
body.home.collection-edit-her .dbd-choices--her .dbd-box-card[data-box-count="3"] {
  border-color:#B998A7;
  box-shadow:0 22px 49px rgba(20,4,6,.25),inset 0 0 0 1px rgba(185,152,167,.5);
}
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__heading span:first-child {
  background:#651926;color:#fff;
}
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__heading span:last-child,
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__identity h3,
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__price-row strong,
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__offer .dbd-box-card__price-row strong {color:#2D1C24}
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__description,
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__offer .dbd-box-card__per-watch,
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__offer .dbd-box-card__price-row span,
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__offer .dbd-box-card__price-row small {color:#5E4B56}
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__saving strong,
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__shipping,
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__offer .dbd-box-card__shipping {color:#5B2941}
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__cta {
  background:#651926;color:#fff;border-color:#651926;
}
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__cta:hover {background:#462831;border-color:#462831;color:#fff}
body.home.collection-edit-her .dbd-choices--her .dbd-choices__disclosure {
  color:#3A252F;background:rgba(250,245,249,.95);
}
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__scene::before,
body.home.collection-edit-her .dbd-choices--her .dbd-box-card__scene::after {opacity:.18}

/* TOGETHER — elegant champagne gold, antique gold and onyx.
 * Brushed-gold sheen without heavy video or textures; the rest of Together
 * retains the founder's original rose-gold palette.
 */
body.home.collection-edit-together .dbd-choices--together {
  --glass-ink:#261D13;
  --glass-muted:#5D4A36;
  --glass-accent:#76501D;
  --glass-save:#614719;
  --glass-pill:#473217;
  --glass-button:#1A1515;
  --glass-panel:#FBF3E3;
  --glass-edge:#E6CF9D;
  color:#261D13;
  background-color:#D9B978;
  background-image:
    radial-gradient(ellipse at 47% 3%,rgba(255,255,244,.64),transparent 53%),
    radial-gradient(ellipse at 100% 78%,rgba(132,87,27,.12),transparent 47%),
    linear-gradient(116deg,#C19B59 0%,#E2CA91 25%,#F2E4C1 49%,#D9B87B 77%,#BA904D 100%);
  border-top:1px solid rgba(108,74,28,.2);
  border-bottom:1px solid rgba(108,74,28,.24);
}
body.home.collection-edit-together .dbd-choices--together::before {
  background:linear-gradient(180deg,rgba(255,255,255,.10),transparent 40%,rgba(91,55,16,.05));
}
body.home.collection-edit-together .dbd-choices--together .dbd-choices__eyebrow {color:#664319}
body.home.collection-edit-together .dbd-choices--together .dbd-choices__heading h2 {color:#261D13}
body.home.collection-edit-together .dbd-choices--together .dbd-choices__heading>p:last-child {color:#51402D}
body.home.collection-edit-together .dbd-choices--together .dbd-box-card--compact {
  background:linear-gradient(142deg,#FFFAEE 0%,#F8EED8 64%,#F3E3C4 100%);
  border-color:#E4C98F;
  color:#261D13;
  box-shadow:0 18px 44px rgba(72,45,13,.17),inset 0 1px 0 rgba(255,255,255,.84);
}
body.home.collection-edit-together .dbd-choices--together .dbd-box-card--compact::before {
  background:linear-gradient(135deg,rgba(255,255,255,.55),transparent 57%,rgba(176,126,50,.06));
}
body.home.collection-edit-together .dbd-choices--together .dbd-box-card:nth-child(2) {
  border-color:#98692B;
  box-shadow:0 22px 50px rgba(72,45,13,.23),inset 0 0 0 1px rgba(152,105,43,.32);
}
body.home.collection-edit-together .dbd-choices--together .dbd-box-card__heading span:first-child {
  background:#473217;
  color:#FFF9EC;
}
body.home.collection-edit-together .dbd-choices--together .dbd-box-card__cta {
  background:#1A1515;
  border-color:#1A1515;
  color:#FFF9EC;
}
body.home.collection-edit-together .dbd-choices--together .dbd-box-card__cta:hover {
  background:#423019;
  border-color:#423019;
  color:#FFF9EC;
}
body.home.collection-edit-together .dbd-choices--together .dbd-box-card__cta:focus-visible {
  outline-color:#76501D;
}
body.home.collection-edit-together .dbd-choices--together .dbd-choices__disclosure {
  background:rgba(255,250,237,.94);
  color:#453322;
}

/* Keep the offer focused on color; existing horizontal swipe behavior is unchanged. */
@media (prefers-reduced-motion:reduce) {
  body.home .dbd-choices .dbd-box-card--compact {transition:none}
}
