/* Beauty, Everyday beauty, and Perfume only.
   Mirror-gloss liquid-metallic mahogany buttons matching Clothing,
   with the larger oval sizing and filter-panel contours kept.
   Do not load this file on Clothing, Everyday, Home, the shop hub, or Solar.
   Button surfaces only — does not change card hovers, glass, or layout stretch. */

:root {
  --mahogany-body: #7a391e;
  --mahogany-mid: #6b2e16;
  --mahogany-deep: #2b1208;
  --mahogany-ink: #1a0904;
  --mahogany-lit: #8d4827;
  --mahogany-border: #240e06;
  --mahogany-text: #fffaf5;
  --mahogany-mirror-ivory: #fff3e6;
  --mahogany-mirror-rose: #f4d5b8;
  --mahogany-ease: var(--ease, cubic-bezier(.65, 0, .35, 1));
  --mahogany-jar:
    linear-gradient(112deg,
      #1a0904 0%,
      #2b1208 8%,
      #6b2e16 17%,
      #8d4827 26%,
      #f4d5b8 31.5%,
      #fff3e6 33.2%,
      #f4d5b8 34.9%,
      #8d4827 41%,
      #6b2e16 54%,
      #2b1208 66%,
      #1a0904 74%,
      #2b1208 80%,
      #6b2e16 90%,
      #8d4827 96%,
      #2b1208 100%);
  --mahogany-jar-hot:
    linear-gradient(108deg,
      #1a0904 0%,
      #2b1208 6%,
      #6b2e16 14%,
      #8d4827 22%,
      #f4d5b8 28.5%,
      #fff3e6 30.4%,
      #f4d5b8 32.3%,
      #8d4827 39%,
      #6b2e16 52%,
      #2b1208 64%,
      #1a0904 72%,
      #2b1208 80%,
      #6b2e16 90%,
      #8d4827 97%,
      #2b1208 100%);
  --mahogany-sweep:
    linear-gradient(115deg,
      transparent 0%,
      transparent 42%,
      rgba(244, 213, 184, 0.22) 47%,
      rgba(255, 243, 230, 0.78) 50%,
      rgba(244, 213, 184, 0.22) 53%,
      transparent 58%,
      transparent 100%);
  --mahogany-inset:
    inset 0 1px 0 rgba(255, 243, 230, 0.42),
    inset 0 -2px 5px rgba(26, 9, 4, 0.62);
  --mahogany-inset-hot:
    inset 0 1px 0 rgba(255, 243, 230, 0.88),
    inset 0 0 0 1px rgba(244, 213, 184, 0.38),
    inset 0 -2px 5px rgba(26, 9, 4, 0.48);
  --perfume-rim-hover:
    linear-gradient(124deg,
      #2b1208 0%,
      #6b2e16 8%,
      #8d4827 14%,
      #f4d5b8 18%,
      #fff3e6 22%,
      #fffaf5 25%,
      #fff3e6 28%,
      #f4d5b8 32%,
      #8d4827 40%,
      #6b2e16 50%,
      #2b1208 58%,
      #6b2e16 64%,
      #8d4827 70%,
      #f4d5b8 73%,
      #fff3e6 76%,
      #fffaf5 79%,
      #fff3e6 82%,
      #f4d5b8 86%,
      #8d4827 92%,
      #6b2e16 97%,
      #2b1208 100%);

}

.btn-primary,
.btn-buy,
.pactions .btn,
.pactions .btn-primary,
.pactions .btn-buy,
.pp-info .btn-buy,
.back-pill,
.funnel-pill {
  color: var(--mahogany-text);
  background-color: var(--mahogany-body);
  background-image: var(--mahogany-sweep), var(--mahogany-jar);
  background-repeat: no-repeat;
  background-size: 240% 100%, 100% 100%;
  background-position: 145% 50%, 0 0;
  border-color: var(--mahogany-border);
  border-radius: 999px;
  box-shadow: var(--mahogany-inset);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    transform 0.4s var(--mahogany-ease),
    background-color 0.4s,
    background-image 0.4s,
    background-position 0.55s var(--mahogany-ease),
    border-color 0.4s,
    box-shadow 0.4s,
    color 0.4s,
    padding 0.4s,
    border-radius 0.4s;
}

.btn-primary,
.btn-buy,
.pp-info .btn-buy {
  padding: 27px 45px;
  font-size: 20px;
  min-height: 3.25rem;
  box-sizing: border-box;
}

.pactions .btn,
.pactions .btn-primary,
.pactions .btn-buy {
  padding: 18px 30px;
  font-size: 16px;
  min-height: 2.75rem;
  min-width: 0;
  box-sizing: border-box;
}

.back-pill {
  padding: 16px 33px 16px 30px;
  font-size: 15px;
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 230, 0.42),
    inset 0 -2px 5px rgba(26, 9, 4, 0.62),
    0 6px 18px -12px rgba(28, 26, 25, 0.35);
}

.funnel-pill {
  padding: 15px 33px;
  font-size: 15px;
  box-sizing: border-box;
  white-space: nowrap;
}

@media (max-width: 719px) {
  .btn-primary,
  .btn-buy,
  .pp-info .btn-buy {
    padding: 21px 34px;
    font-size: 17px;
    min-height: 2.75rem;
  }
  .pactions .btn,
  .pactions .btn-primary,
  .pactions .btn-buy {
    padding: 15px 24px;
    font-size: 15px;
    min-height: 2.5rem;
  }
  .back-pill {
    padding: 12px 24px 12px 22px;
    font-size: 14px;
  }
  .funnel-pill {
    padding: 12px 22px;
    font-size: 14px;
  }
}

.btn-primary:hover,
.btn-buy:hover,
.pactions .btn:hover,
.pactions .btn-primary:hover,
.pactions .btn-buy:hover,
.pp-info .btn-buy:hover,
.back-pill:hover,
.back-pill:focus-visible,
.funnel-pill:hover,
.funnel-pill:focus-visible {
  color: var(--mahogany-text);
  background-color: var(--mahogany-lit);
  background-image: var(--mahogany-sweep), var(--mahogany-jar-hot);
  background-repeat: no-repeat;
  background-size: 240% 100%, 100% 100%;
  background-position: -45% 50%, 0 0;
  border-color: var(--mahogany-border);
  box-shadow: var(--mahogany-inset-hot);
}

.pp-info .btn-buy:hover {
  transform: none;
}

.back-pill:hover,
.back-pill:focus-visible,
.funnel-pill:hover,
.funnel-pill:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 230, 0.88),
    inset 0 0 0 1px rgba(244, 213, 184, 0.38),
    inset 0 -2px 5px rgba(26, 9, 4, 0.48),
    0 8px 18px -12px rgba(28, 26, 25, 0.32);
}

.back-pill:focus-visible,
.funnel-pill:focus-visible {
  outline: 2px solid #8d4827;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .btn-buy,
  .pactions .btn,
  .pactions .btn-primary,
  .pactions .btn-buy,
  .pp-info .btn-buy,
  .back-pill,
  .funnel-pill {
    transition:
      transform 0.4s var(--mahogany-ease),
      background-color 0.4s,
      background-image 0.4s,
      border-color 0.4s,
      box-shadow 0.4s,
      color 0.4s;
    background-position: 145% 50%, 0 0;
  }

  .btn-primary:hover,
  .btn-buy:hover,
  .pactions .btn:hover,
  .pactions .btn-primary:hover,
  .pactions .btn-buy:hover,
  .pp-info .btn-buy:hover,
  .back-pill:hover,
  .back-pill:focus-visible,
  .funnel-pill:hover,
  .funnel-pill:focus-visible {
    background-position: 145% 50%, 0 0;
  }

  .back-pill:hover,
  .back-pill:focus-visible,
  .funnel-pill:hover,
  .funnel-pill:focus-visible {
    transform: none;
  }
}


/* Filter panel + field contours — sculpted 3D bevelled mirror-gloss
   metallic mahogany rims matching the Buy button and .pcard frames.
   Dark readable interiors, zero fog. */
.filters,
#filters.filters {
  box-sizing: border-box;
  border: 4px solid transparent;
  background-color: var(--bg-2, #16181d);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image:
    linear-gradient(var(--bg-2, #16181d), var(--bg-2, #16181d)),
    var(--mahogany-jar);
  box-shadow:
    0 1px 0 rgba(255, 243, 230, 0.35),
    0 8px 16px -10px rgba(0,0,0,.5),
    0 0 0 1px #240e06,
    inset 0 1px 0 rgba(255, 243, 230, 0.55),
    inset 0 -2px 5px rgba(26, 9, 4, 0.72);
  transition: background-image 0.4s var(--mahogany-ease), box-shadow 0.4s var(--mahogany-ease);
}

.filters:hover,
.filters:focus-within {
  background-image:
    linear-gradient(var(--bg-2, #16181d), var(--bg-2, #16181d)),
    var(--mahogany-jar-hot);
  box-shadow:
    0 1px 0 rgba(255, 243, 230, 0.5),
    0 8px 16px -10px rgba(0,0,0,.5),
    0 0 0 1px #8d4827,
    inset 0 1px 0 rgba(255, 243, 230, 0.88),
    inset 0 -2px 5px rgba(26, 9, 4, 0.72);
}

.filters input[type="search"],
.filters select {
  box-sizing: border-box;
  border: 3px solid transparent;
  color: var(--text, #fffaf5);
  background-color: var(--bg, #0b0c0e);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image:
    linear-gradient(var(--bg, #0b0c0e), var(--bg, #0b0c0e)),
    var(--mahogany-jar);
  box-shadow:
    0 1px 0 rgba(255, 243, 230, 0.35),
    0 0 0 1px #240e06,
    inset 0 1px 0 rgba(255, 243, 230, 0.55),
    inset 0 -2px 5px rgba(26, 9, 4, 0.72);
  transition: background-image 0.4s var(--mahogany-ease), box-shadow 0.4s var(--mahogany-ease);
}

.filters select {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23fffaf5' d='M1 1l5 5 5-5'/></svg>"),
    linear-gradient(var(--bg, #0b0c0e), var(--bg, #0b0c0e)),
    var(--mahogany-jar);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: right 12px center, 0 0, 0 0;
  background-origin: padding-box, padding-box, border-box;
  background-clip: padding-box, padding-box, border-box;
}

.filters input[type="search"]:hover,
.filters select:hover,
.filters input[type="search"]:focus,
.filters input[type="search"]:focus-visible,
.filters select:focus,
.filters select:focus-visible {
  outline: none;
  background-image:
    linear-gradient(var(--bg, #0b0c0e), var(--bg, #0b0c0e)),
    var(--mahogany-jar-hot);
  box-shadow:
    0 1px 0 rgba(255, 243, 230, 0.5),
    0 0 0 1px #8d4827,
    inset 0 1px 0 rgba(255, 243, 230, 0.88),
    inset 0 -2px 5px rgba(26, 9, 4, 0.72);
}

.filters select:hover,
.filters select:focus,
.filters select:focus-visible {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23fffaf5' d='M1 1l5 5 5-5'/></svg>"),
    linear-gradient(var(--bg, #0b0c0e), var(--bg, #0b0c0e)),
    var(--mahogany-jar-hot);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: right 12px center, 0 0, 0 0;
  background-origin: padding-box, padding-box, border-box;
  background-clip: padding-box, padding-box, border-box;
}

.filters input[type="search"]:focus-visible,
.filters select:focus-visible {
  outline: 2px solid #7a391e;
  outline-offset: 1px;
}


/* Stretch Beauty, Everyday Beauty, and Perfume to the viewport edges.
   Global --wrap is 1480px and left wide empty side margins on XXL screens. */
body.room-prestige .wrap,
body.room-budget .wrap,
body.room-perfume .wrap {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 12px;
  box-sizing: border-box;
}

/* Hero title panel — same sculpted 4px mahogany rim + dark obsidian
   interior as .filters, on Beauty, Everyday Beauty, and Perfume only. */
body.room-prestige .shade-wrap,
body.room-budget .shade-wrap,
body.room-perfume .shade-wrap {
  background: #0b0c0e;
}

body.room-prestige .shade-wrap::before,
body.room-budget .shade-wrap::before,
body.room-perfume .shade-wrap::before {
  content: none;
  display: none;
  background: none;
  filter: none;
  opacity: 0;
  animation: none;
}

body.room-prestige .hero .wrap,
body.room-budget .hero .wrap,
body.room-perfume .hero .wrap {
  box-sizing: border-box;
  width: auto;
  max-width: none;
  margin-inline: 12px;
  border: 4px solid transparent;
  border-radius: 16px;
  padding: 32px 36px 36px;
  background-color: #0c0d10;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image:
    linear-gradient(#0c0d10, #0e0907),
    var(--mahogany-jar);
  box-shadow:
    0 1px 0 rgba(255, 243, 230, 0.35),
    0 8px 16px -10px rgba(0,0,0,.5),
    0 0 0 1px #240e06,
    inset 0 1px 0 rgba(255, 243, 230, 0.55),
    inset 0 -2px 5px rgba(26, 9, 4, 0.72);
  position: relative;
  overflow: visible;
  transition:
    box-shadow 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Keep the Perfume hero frame aligned with the 12px page gutter
   (this selector is more specific than body.room-perfume .wrap). */
body.room-perfume .hero .wrap {
  width: auto;
  max-width: none;
  margin-inline: 12px;
  padding: 32px 36px 36px;
}

body.room-prestige .hero h1,
body.room-budget .hero h1,
body.room-perfume .hero h1 {
  color: #ffffff;
}

/* Beauty, Everyday Beauty, and Perfume hero titles: Cormorant Garamond
   italic — sweeping Italian Renaissance / Romeo & Juliet attitude. */
body.room-budget .hero h1,
body.room-prestige .hero h1,
body.room-perfume .hero h1 {
  font-family: "Cormorant Garamond", Palatino, "Palatino Linotype", Georgia, serif;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: 0.025em;
  display: inline-block;
  max-width: calc(100% / 1.08);
  transform: scaleX(1.07) skewX(-5deg);
  transform-origin: left center;
}

body.room-prestige .hero .lead,
body.room-budget .hero .lead,
body.room-perfume .hero .lead {
  color: #d8d4ce;
}

@media (max-width: 719px) {
  body.room-prestige .hero .wrap,
  body.room-budget .hero .wrap,
  body.room-perfume .hero .wrap {
    padding: 24px 22px 26px;
  }
}


/* Poetic staggered intro lines on Beauty, Everyday Beauty, and Perfume. */
body.room-prestige .hero .lead,
body.room-budget .hero .lead,
body.room-perfume .hero .lead {
  max-width: none;
  width: 100%;
  margin: 0;
  font-family: "Cormorant Garamond", Palatino, "Palatino Linotype", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.90);
}

body.room-prestige .hero .lead .hero-line,
body.room-budget .hero .lead .hero-line,
body.room-perfume .hero .lead .hero-line {
  display: block;
}

body.room-prestige .hero .lead-more,
body.room-budget .hero .lead-more {
  margin-top: 14px;
}

/* Two-line cascade (Perfume + Everyday Beauty), matching the red-line layout. */
@media (min-width: 900px) {
  body.room-budget .hero .lead .hero-line-1,
  body.room-perfume .hero .lead .hero-line-1 {
    margin-left: 17%;
    transform: skewX(-3deg);
    transform-origin: left center;
  }
  body.room-budget .hero .lead .hero-line-2,
  body.room-perfume .hero .lead .hero-line-2 {
    margin-left: clamp(32%, 44vw, 48%);
    margin-top: 6px;
    transform: skewX(-3deg);
    transform-origin: left center;
  }
}

/* Three-line cascade (Beauty) — steps stay inside the right edge at 1280–1920. */
@media (min-width: 900px) {
  body.room-prestige .hero .lead .hero-line-1 {
    margin-left: 14%;
    transform: skewX(-3deg);
    transform-origin: left center;
  }
  body.room-prestige .hero .lead .hero-line-2 {
    margin-left: clamp(24%, 31vw, 35%);
    margin-top: 6px;
    transform: skewX(-3deg);
    transform-origin: left center;
  }
  body.room-prestige .hero .lead .hero-line-3 {
    margin-left: clamp(36%, 46vw, 52%);
    margin-top: 6px;
    transform: skewX(-3deg);
    transform-origin: left center;
  }
}

@media (min-width: 1440px) {
  body.room-budget .hero .lead .hero-line-2,
  body.room-perfume .hero .lead .hero-line-2 {
    white-space: nowrap;
  }
}

@media (min-width: 1600px) {
  body.room-prestige .hero .lead .hero-line-3 {
    white-space: nowrap;
  }
}

@media (max-width: 899px) {
  body.room-prestige .hero .lead .hero-line-1,
  body.room-prestige .hero .lead .hero-line-2,
  body.room-prestige .hero .lead .hero-line-3,
  body.room-budget .hero .lead .hero-line-1,
  body.room-budget .hero .lead .hero-line-2,
  body.room-perfume .hero .lead .hero-line-1,
  body.room-perfume .hero .lead .hero-line-2 {
    margin-left: 0;
  }
}


/* Calm velvety rim fade (like Starlink Solar): rest rim stays put
   (background-image never swaps). A masked ::after ring fades opacity
   0→1 over 0.75s, with a slow shadow fade and a 1px breath. */
body.room-prestige .filters,
body.room-budget .filters,
body.room-perfume .filters,
body.room-prestige #filters.filters,
body.room-budget #filters.filters,
body.room-perfume #filters.filters {
  position: relative;
  overflow: visible;
  transition:
    box-shadow 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

body.room-prestige .hero .wrap::after,
body.room-budget .hero .wrap::after,
body.room-perfume .hero .wrap::after,
body.room-prestige .filters::after,
body.room-budget .filters::after,
body.room-perfume .filters::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  padding: 4px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
  background: var(--perfume-rim-hover);
  opacity: 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

body.room-prestige .hero .wrap:hover::after,
body.room-budget .hero .wrap:hover::after,
body.room-perfume .hero .wrap:hover::after,
body.room-prestige .filters:hover::after,
body.room-prestige .filters:focus-within::after,
body.room-budget .filters:hover::after,
body.room-budget .filters:focus-within::after,
body.room-perfume .filters:hover::after,
body.room-perfume .filters:focus-within::after {
  opacity: 1;
}

body.room-prestige .hero .wrap:hover,
body.room-budget .hero .wrap:hover,
body.room-perfume .hero .wrap:hover {
  /* Keep the resting rim; only shadow and breath fade. */
  background-image:
    linear-gradient(#0c0d10, #0e0907),
    var(--mahogany-jar);
  box-shadow:
    0 1px 0 rgba(255, 250, 245, 0.7),
    0 0 18px -6px rgba(255, 243, 230, 0.28),
    0 8px 16px -10px rgba(0,0,0,.5),
    0 0 0 1px rgba(244, 213, 184, 0.55),
    inset 0 1px 0 rgba(255, 250, 245, 0.95),
    inset 0 -2px 5px rgba(26, 9, 4, 0.72);
  transform: translateY(-1px);
}

body.room-prestige .filters:hover,
body.room-prestige .filters:focus-within,
body.room-budget .filters:hover,
body.room-budget .filters:focus-within,
body.room-perfume .filters:hover,
body.room-perfume .filters:focus-within {
  background-image:
    linear-gradient(var(--bg-2, #16181d), var(--bg-2, #16181d)),
    var(--mahogany-jar);
  box-shadow:
    0 1px 0 rgba(255, 250, 245, 0.7),
    0 0 18px -6px rgba(255, 243, 230, 0.28),
    0 8px 16px -10px rgba(0,0,0,.5),
    0 0 0 1px rgba(244, 213, 184, 0.55),
    inset 0 1px 0 rgba(255, 250, 245, 0.95),
    inset 0 -2px 5px rgba(26, 9, 4, 0.72);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  body.room-prestige .hero .wrap,
  body.room-budget .hero .wrap,
  body.room-perfume .hero .wrap,
  body.room-prestige .filters,
  body.room-budget .filters,
  body.room-perfume .filters,
  body.room-prestige .hero .wrap::after,
  body.room-budget .hero .wrap::after,
  body.room-perfume .hero .wrap::after,
  body.room-prestige .filters::after,
  body.room-budget .filters::after,
  body.room-perfume .filters::after {
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  }
  body.room-prestige .hero .wrap:hover,
  body.room-budget .hero .wrap:hover,
  body.room-perfume .hero .wrap:hover,
  body.room-prestige .filters:hover,
  body.room-prestige .filters:focus-within,
  body.room-budget .filters:hover,
  body.room-budget .filters:focus-within,
  body.room-perfume .filters:hover,
  body.room-perfume .filters:focus-within {
    transform: none;
  }
}
