/* ======================================================================
   DreamyPDP26 — Luxury PDP
   Scope: only our PDP wrapper
   Prefix: dreamypdp26-
   ====================================================================== */

body.single-product .dreamypdp26 {
  --dp26-bg: #fff;
  --dp26-ink: #050505;
  --dp26-ink2: #757575;
  --dp26-ink3: #e5e5e5;
  --dp26-ink4: rgba(0,0,0,0.08);

  --dp26-ui: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --dp26-edit: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --dp26-shadow: radial-gradient(closest-side, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 100%);
  --dp26-ease: cubic-bezier(0.23, 1, 0.32, 1);

  background: var(--dp26-bg);
  color: var(--dp26-ink);
  font-family: var(--dp26-ui);
}

/* If Goya adds spacing wrappers, this prevents double padding */
body.single-product .dreamypdp26 * { box-sizing: border-box; }

body.single-product .dreamypdp26 a { color: inherit; text-decoration: none; }
body.single-product .dreamypdp26 img { display:block; max-width:100%; height:auto; }

/* ----------------------------------------
   Shell / Layout
---------------------------------------- */
body.single-product .dreamypdp26 .dreamypdp26-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 16px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Desktop: two-column gallery + buy */
@media (min-width: 960px) {
  body.single-product .dreamypdp26 .dreamypdp26-shell {
    grid-template-columns: 56% 44%;
    gap: 40px;
    padding: 48px 24px 24px;
    align-items: start;
  }
}

/* ----------------------------------------
   Gallery
---------------------------------------- */
body.single-product .dreamypdp26 .dreamypdp26-gallery-inner {
  position: relative;
}

@media (min-width: 960px) {
  body.single-product .dreamypdp26 .dreamypdp26-gallery {
    position: sticky;
    top: 22px;
    align-self: start;
  }
}

body.single-product .dreamypdp26 .dreamypdp26-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.01));
  border: 1px solid rgba(0,0,0,0.05);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.single-product .dreamypdp26 .dreamypdp26-main {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: clamp(18px, 4vw, 30px) 0 clamp(18px, 4vw, 26px);
}

body.single-product .dreamypdp26 .dreamypdp26-img {
  width: 82%;
  max-height: 560px;
  object-fit: contain;
  z-index: 2;
  transition: transform 900ms var(--dp26-ease), opacity 250ms ease;
  will-change: transform, opacity;
}

@media (hover:hover) {
  body.single-product .dreamypdp26 .dreamypdp26-stage:hover .dreamypdp26-img {
    transform: translateY(-10px);
  }
}

body.single-product .dreamypdp26 .dreamypdp26-shadow {
  position: absolute;
  bottom: 12px;
  width: 58%;
  height: 16px;
  background: var(--dp26-shadow);
  opacity: 0.55;
  filter: blur(5px);
  z-index: 1;
  transition: transform 900ms var(--dp26-ease), opacity 900ms var(--dp26-ease);
}

@media (hover:hover) {
  body.single-product .dreamypdp26 .dreamypdp26-stage:hover .dreamypdp26-shadow {
    transform: scaleX(0.72) translateY(2px);
    opacity: 0.25;
  }
}

body.single-product .dreamypdp26 .dreamypdp26-halo {
  position:absolute;
  inset: -40px -40px auto -40px;
  height: 220px;
  background: radial-gradient(closest-side, rgba(255,255,255,0.8), rgba(255,255,255,0));
  opacity: 0.9;
  pointer-events: none;
}

body.single-product .dreamypdp26 .dreamypdp26-main--empty {
  height: 520px;
  width: 100%;
  border-radius: 16px;
  background: rgba(0,0,0,0.03);
}

/* Thumbnails (quiet rail) */
body.single-product .dreamypdp26 .dreamypdp26-thumbs {
  display: flex;
  gap: 10px;
  padding-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
body.single-product .dreamypdp26 .dreamypdp26-thumbs::-webkit-scrollbar { display:none; }

body.single-product .dreamypdp26 .dreamypdp26-thumb {
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 8px;
  line-height: 0;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease;
  flex: 0 0 auto;
}
body.single-product .dreamypdp26 .dreamypdp26-thumb img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

body.single-product .dreamypdp26 .dreamypdp26-thumb:hover { transform: translateY(-2px); }
body.single-product .dreamypdp26 .dreamypdp26-thumb.is-active {
  border-color: rgba(0,0,0,0.55);
}

/* ----------------------------------------
   Buy Panel
---------------------------------------- */
@media (min-width: 960px) {
  body.single-product .dreamypdp26 .dreamypdp26-buy {
    position: sticky;
    top: 22px;
    align-self: start;
  }
}

body.single-product .dreamypdp26 .dreamypdp26-buy-inner {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 18px 16px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
}

@media (min-width: 960px) {
  body.single-product .dreamypdp26 .dreamypdp26-buy-inner {
    padding: 22px 20px;
  }
}

body.single-product .dreamypdp26 .dreamypdp26-tag {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(0,0,0,0.55);
  font-weight: 600;
  margin-bottom: 8px;
}

body.single-product .dreamypdp26 .dreamypdp26-title {
  font-family: var(--dp26-edit);
  font-size: 2.0rem;
  line-height: 1.08;
  font-weight: 400;
  margin: 0 0 10px;
}

/* Social proof */
body.single-product .dreamypdp26 .dreamypdp26-rating{
  display:flex;
  align-items:center;
  gap: 8px;
  margin: -4px 0 10px;
  color: rgba(0,0,0,0.66);
  font-size: 0.92rem;
}
body.single-product .dreamypdp26 .dreamypdp26-rating .star-rating{
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}
body.single-product .dreamypdp26 .dreamypdp26-rating-count{
  color: rgba(0,0,0,0.55);
  font-size: 0.90rem;
}

body.single-product .dreamypdp26 .dreamypdp26-price {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 12px;
}
body.single-product .dreamypdp26 .dreamypdp26-price del { color: rgba(0,0,0,0.35); }
body.single-product .dreamypdp26 .dreamypdp26-price ins { text-decoration: none; }

body.single-product .dreamypdp26 .dreamypdp26-short {
  margin-top: 10px;
  color: rgba(0,0,0,0.62);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Subscription clarity (quiet but explicit) */
body.single-product .dreamypdp26 .dreamypdp26-subclarity{
  margin-top: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  background: rgba(0,0,0,0.02);
  padding: 10px 12px;
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(0,0,0,0.70);
  font-size: 0.90rem;
  line-height: 1.35;
}
body.single-product .dreamypdp26 .dreamypdp26-subclarity-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--dp26-ink);
  flex: 0 0 auto;
}

/* Trust row (conversion-safe, no clutter) */
body.single-product .dreamypdp26 .dreamypdp26-trust{
  margin-top: 12px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(0,0,0,0.56);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
body.single-product .dreamypdp26 .dreamypdp26-trust-sep{ opacity: 0.55; }

/* Sticky subscription hint */
body.single-product .dreamypdp26 .dreamypdp26-sticky-sub{
  margin-top: 2px;
  font-size: 0.70rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.58);
}

/* Sticky ATC is a mobile convenience; desktop already has the buy box */
@media (min-width: 960px){
  body.single-product .dreamypdp26 .dreamypdp26-sticky{ display: none !important; }
}

/* ----------------------------------------
   Meter (re-using your language)
---------------------------------------- */
body.single-product .dreamypdp26 .dreamypdp26-meter {
  width: 100%;
  max-width: 180px;
  margin: 10px 0 6px;
}
body.single-product .dreamypdp26 .dreamypdp26-meter-track {
  position: relative;
  height: 14px;
  display:flex;
  align-items:center;
}
body.single-product .dreamypdp26 .dreamypdp26-meter-line {
  display:block;
  width:100%;
  height: 1px;
  background: rgba(0,0,0,0.14);
}
body.single-product .dreamypdp26 .dreamypdp26-meter-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--dp26-ink);
  position:absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px var(--dp26-bg);
}

/* Use your existing intensity classes from DreamyGrid26 */
body.single-product .dreamypdp26 .dreamygrid26-intensity-1 .dreamypdp26-meter-dot { left: 0%; }
body.single-product .dreamypdp26 .dreamygrid26-intensity-2 .dreamypdp26-meter-dot { left: 50%; }
body.single-product .dreamypdp26 .dreamygrid26-intensity-3 .dreamypdp26-meter-dot { left: 100%; }

body.single-product .dreamypdp26 .dreamypdp26-meter-labels {
  display:flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.50);
}

/* ----------------------------------------
   Form / CTA (skin Woo output)
---------------------------------------- */
body.single-product .dreamypdp26 .dreamypdp26-form {
  margin-top: 14px;
}

/* Hide table look */
body.single-product .dreamypdp26 form.cart table.variations {
  border: 0 !important;
  margin: 0 0 12px !important;
}
body.single-product .dreamypdp26 form.cart table.variations td,
body.single-product .dreamypdp26 form.cart table.variations th {
  border: 0 !important;
  padding: 0 !important;
}

/* Chips UI: prevent duplicate attribute labels (Woo table label + chips label).
   Keep the label rendered by Dreamy chips head; hide Woo’s label cell visually. */
body.single-product .dreamypdp26.dreamypdp26-has-chips form.cart table.variations tr{
  display: block;
}
body.single-product .dreamypdp26.dreamypdp26-has-chips form.cart table.variations td.label,
body.single-product .dreamypdp26.dreamypdp26-has-chips form.cart table.variations th.label{
  display: none !important;
}
body.single-product .dreamypdp26.dreamypdp26-has-chips form.cart table.variations td.value,
body.single-product .dreamypdp26.dreamypdp26-has-chips form.cart table.variations th.value{
  display: block;
}

/* Default selects (kept accessible). We visually minimize them when chips are active. */
body.single-product .dreamypdp26.dreamypdp26-has-chips form.cart table.variations select {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}


/* When luxury chips UI is active, hide Woo’s helper UI (reset link + variation price/availability). */
body.single-product .dreamypdp26.dreamypdp26-has-chips form.cart .reset_variations{
  display: none !important;
}
body.single-product .dreamypdp26.dreamypdp26-has-chips form.cart .woocommerce-variation.single_variation,
body.single-product .dreamypdp26.dreamypdp26-has-chips form.cart .woocommerce-variation-price,
body.single-product .dreamypdp26.dreamypdp26-has-chips form.cart .woocommerce-variation-availability{
  display: none !important;
}
/* Quantity (sanctuary stepper) */
body.single-product .dreamypdp26 .quantity{
  margin: 10px 0 14px;
}

body.single-product .dreamypdp26 .quantity.dreamypdp26-qty{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 8px 10px;
  background: rgba(255,255,255,0.92);
}

body.single-product .dreamypdp26 .quantity.dreamypdp26-qty .dreamypdp26-qtybtn{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.06);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

body.single-product .dreamypdp26 .quantity.dreamypdp26-qty .dreamypdp26-qtybtn:active{ transform: scale(0.96); }

body.single-product .dreamypdp26 .quantity.dreamypdp26-qty input.qty{
  width: 56px;
  height: 30px;
  border: none;
  padding: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  outline: none;
  -moz-appearance: textfield;
}

body.single-product .dreamypdp26 .quantity.dreamypdp26-qty input.qty::-webkit-outer-spin-button,
body.single-product .dreamypdp26 .quantity.dreamypdp26-qty input.qty::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }


/* AJAX add-to-cart inline note (prevents top-of-page Woo notices). */
body.single-product .dreamypdp26 .dreamyajax26-note{
  margin-top: 10px;
  font-size: 0.86rem;
  line-height: 1.35;
  color: rgba(0,0,0,0.58);
}
body.single-product .dreamypdp26 .dreamyajax26-note.is-error{
  color: rgba(160,0,0,0.85);
}

/* Add to cart button */
body.single-product .dreamypdp26 button.single_add_to_cart_button,
body.single-product .dreamypdp26 .single_add_to_cart_button.button {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.8);
  background: #050505;
  color: #fff;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  transition: transform 220ms ease, opacity 220ms ease;
}
body.single-product .dreamypdp26 button.single_add_to_cart_button:hover {
  transform: translateY(-1px);
}
body.single-product .dreamypdp26 button.single_add_to_cart_button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Reset variations link */
body.single-product .dreamypdp26 a.reset_variations {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.55);
  text-decoration: underline;
}

/* ----------------------------------------
   Luxury Variation Chips (rendered by JS)
---------------------------------------- */
body.single-product .dreamypdp26 .dreamypdp26-attr {
  margin: 14px 0 12px;
}
body.single-product .dreamypdp26 .dreamypdp26-attr-head {
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
body.single-product .dreamypdp26 .dreamypdp26-attr-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: rgba(0,0,0,0.55);
  font-weight: 600;
}
body.single-product .dreamypdp26 .dreamypdp26-attr-value {
  font-size: 0.78rem;
  color: rgba(0,0,0,0.62);
}

body.single-product .dreamypdp26 .dreamypdp26-chips {
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.single-product .dreamypdp26 .dreamypdp26-chip {
  border-radius: 999px;
  padding: 11px 14px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease, opacity 220ms ease;
  user-select: none;
}

@media (hover:hover) {
  body.single-product .dreamypdp26 .dreamypdp26-chip:hover { transform: translateY(-1px); border-color: rgba(0,0,0,0.35); }
}

body.single-product .dreamypdp26 .dreamypdp26-chip.is-selected {
  border-color: rgba(0,0,0,0.85);
  background: rgba(0,0,0,0.03);
}

body.single-product .dreamypdp26 .dreamypdp26-chip.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  position: relative;
}
body.single-product .dreamypdp26 .dreamypdp26-chip.is-disabled::after {
  content: '';
  position:absolute;
  inset: 9px 12px;
  border-top: 1px solid rgba(0,0,0,0.35);
  transform: rotate(-10deg);
}

/* Swatch (optional if value looks like a color) */
body.single-product .dreamypdp26 .dreamypdp26-chip .dreamypdp26-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display:inline-block;
  margin-right: 8px;
  border: 1px solid rgba(0,0,0,0.18);
  vertical-align: -1px;
}

/* ----------------------------------------
   Links row
---------------------------------------- */
body.single-product .dreamypdp26 .dreamypdp26-links {
  display:flex;
  gap: 16px;
  margin-top: 14px;
}
body.single-product .dreamypdp26 .dreamypdp26-links a {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(0,0,0,0.55);
  border-bottom: 1px solid rgba(0,0,0,0.6);
  padding-bottom: 4px;
}

/* ----------------------------------------
   Placards
---------------------------------------- */
body.single-product .dreamypdp26 .dreamypdp26-placards {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 6px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 960px) {
  body.single-product .dreamypdp26 .dreamypdp26-placards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 26px 24px 10px;
  }
}

body.single-product .dreamypdp26 .dreamypdp26-placard {
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  padding: 16px 14px;
}

body.single-product .dreamypdp26 .dreamypdp26-placard-kicker {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: rgba(0,0,0,0.50);
  font-weight: 600;
  margin-bottom: 8px;
}

body.single-product .dreamypdp26 .dreamypdp26-placard-title {
  font-family: var(--dp26-edit);
  font-weight: 400;
  font-size: 1.2rem;
  margin: 0 0 10px;
  line-height: 1.1;
}

body.single-product .dreamypdp26 .dreamypdp26-muted {
  font-size: 0.9rem;
  color: rgba(0,0,0,0.55);
}

/* Notes */
body.single-product .dreamypdp26 .dreamypdp26-notes-row {
  display:grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
body.single-product .dreamypdp26 .dreamypdp26-notes-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(0,0,0,0.45);
  padding-top: 6px;
}
body.single-product .dreamypdp26 .dreamypdp26-notes-pills {
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.single-product .dreamypdp26 .dreamypdp26-pill {
  font-size: 0.78rem;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.70);
}

/* Room */
body.single-product .dreamypdp26 .dreamypdp26-room-hint {
  margin-top: 10px;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.62);
}

/* Longevity */
body.single-product .dreamypdp26 .dreamypdp26-long-hours {
  font-size: 1rem;
  color: rgba(0,0,0,0.72);
  margin-bottom: 10px;
}
body.single-product .dreamypdp26 .dreamypdp26-long-steps {
  position: relative;
  display:flex;
  justify-content: space-between;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(0,0,0,0.48);
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.10);
}
body.single-product .dreamypdp26 .dreamypdp26-long-steps i {
  position:absolute;
  top: -4px;
  width: 7px;
  height: 7px;
  background: var(--dp26-ink);
  border-radius: 999px;
  transform: translateX(-50%);
}
body.single-product .dreamypdp26 .dreamypdp26-long-1 i { left: 0%; }
body.single-product .dreamypdp26 .dreamypdp26-long-2 i { left: 50%; }
body.single-product .dreamypdp26 .dreamypdp26-long-3 i { left: 100%; }

/* ----------------------------------------
   Details / Accordions / Reviews wrappers
---------------------------------------- */
body.single-product .dreamypdp26 .dreamypdp26-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px 28px;
}
@media (min-width: 960px) {
  body.single-product .dreamypdp26 .dreamypdp26-container { padding: 18px 24px 44px; }
}

body.single-product .dreamypdp26 details.dreamypdp26-acc {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
body.single-product .dreamypdp26 details.dreamypdp26-acc summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 14px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: rgba(0,0,0,0.75);
  display:flex;
  justify-content: space-between;
  align-items:center;
}
body.single-product .dreamypdp26 details.dreamypdp26-acc summary::-webkit-details-marker { display:none; }
body.single-product .dreamypdp26 details.dreamypdp26-acc summary::after {
  content: '＋';
  font-size: 1rem;
  color: rgba(0,0,0,0.45);
}
body.single-product .dreamypdp26 details.dreamypdp26-acc[open] summary::after { content: '－'; }

body.single-product .dreamypdp26 .dreamypdp26-acc-body {
  padding: 0 14px 16px;
  color: rgba(0,0,0,0.62);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Reviews: keep it calm (Woo outputs vary by theme/plugins) */
body.single-product .dreamypdp26 .woocommerce-Reviews-title {
  font-family: var(--dp26-edit);
  font-weight: 400;
  letter-spacing: 0.01em;
}
body.single-product .dreamypdp26 .commentlist li {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

/* ----------------------------------------
   Mobile comfort: spacing + thumb reach
---------------------------------------- */
@media (max-width: 959px) {
  body.single-product .dreamypdp26 .dreamypdp26-buy-inner { padding: 16px 14px; }
  body.single-product .dreamypdp26 .dreamypdp26-title { font-size: 1.7rem; }
}


/* ----------------------------------------
   PDP finishing: Gallery polish
---------------------------------------- */
body.single-product .dreamypdp26 .dreamypdp26-thumbs{
  scroll-snap-type: x mandatory;
}
body.single-product .dreamypdp26 .dreamypdp26-thumb{
  scroll-snap-align: start;
  position: relative;
}
body.single-product .dreamypdp26 .dreamypdp26-thumb:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.15);
}
body.single-product .dreamypdp26 .dreamypdp26-thumb.is-active::after{
  content:'';
  position:absolute;
  inset:-2px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.65);
  pointer-events:none;
}

/* Lightbox */
html.dreamypdp26-noscroll{ overflow:hidden; }
body.single-product .dreamypdp26-lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition: opacity 160ms ease;
}
body.single-product .dreamypdp26-lightbox.is-open{
  opacity:1;
  pointer-events:auto;
}
body.single-product .dreamypdp26-lightbox-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.78);
}
body.single-product .dreamypdp26-lightbox-panel{
  position:relative;
  z-index:1;
  width:min(980px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  border-radius: 18px;
  overflow:hidden;
  background: #0b0b0b;
  box-shadow: 0 28px 90px rgba(0,0,0,0.45);
}
body.single-product .dreamypdp26-lightbox-img{
  display:block;
  width:100%;
  height:auto;
  max-height: calc(100vh - 28px);
  object-fit: contain;
}
body.single-product .dreamypdp26-lightbox-close{
  position:absolute;
  top:10px;
  right:10px;
  width:44px;
  height:44px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,0.24);
  background: rgba(0,0,0,0.35);
  color:#fff;
  font-size: 22px;
  line-height: 1;
  cursor:pointer;
}
body.single-product .dreamypdp26-lightbox-close:hover{
  background: rgba(0,0,0,0.55);
}

/* ----------------------------------------
   PDP finishing: Pairs well with
---------------------------------------- */
body.single-product .dreamypdp26 .dreamypdp26-container--pairs{ padding-top: 8px; }
body.single-product .dreamypdp26 .dreamypdp26-pairs-head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 2px 0 14px;
}
body.single-product .dreamypdp26 .dreamypdp26-pairs-kicker{
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(0,0,0,0.55);
}
body.single-product .dreamypdp26 .dreamypdp26-pairs-title{
  margin:0;
  font-family: var(--dp26-edit);
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: 1.25rem;
  color: var(--dp26-ink);
}

/*
 * IMPORTANT (Mobile overflow fix)
 * The original “Pairs well with” rail used a horizontal scroll-snap carousel.
 * On some mobile browsers (notably iOS Safari), the scroll-snap + flex gap
 * combination can introduce page-level horizontal overflow / white-space bounce.
 * We keep the premium card design but render as a responsive grid on mobile.
 */
body.single-product .dreamypdp26 .dreamypdp26-pairs{ overflow-x: clip; }
@supports not (overflow-x: clip) {
  body.single-product .dreamypdp26 .dreamypdp26-pairs{ overflow-x: hidden; }
}

body.single-product .dreamypdp26 .dreamypdp26-pairs-rail{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding: 6px 0 10px;
}
body.single-product .dreamypdp26 .dreamypdp26-pair{
  min-width: 0;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  cursor: pointer;
  text-decoration:none;
  color: inherit;
  overflow:hidden;
  box-shadow: 0 16px 55px rgba(0,0,0,0.07);

  transition: transform .22s cubic-bezier(0.16,0.84,0.44,1), box-shadow .22s cubic-bezier(0.16,0.84,0.44,1), border-color .22s ease, background-color .22s ease;
  will-change: transform;
}

@media (hover:hover) and (pointer:fine){
  body.single-product .dreamypdp26 .dreamypdp26-pair:hover{
    transform: translate3d(0,-3px,0);
    box-shadow: 0 22px 70px rgba(0,0,0,0.10);
    border-color: rgba(0,0,0,0.10);
  }
}
body.single-product .dreamypdp26 .dreamypdp26-pair:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.10), 0 22px 70px rgba(0,0,0,0.10);
}

@media (min-width: 640px){
  body.single-product .dreamypdp26 .dreamypdp26-pairs-rail{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (min-width: 960px){
  body.single-product .dreamypdp26 .dreamypdp26-pairs-rail{
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
    padding: 0;
  }
}

body.single-product .dreamypdp26 .dreamypdp26-pair-stage{
  position:relative;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.06), transparent 60%);
  padding: 14px 14px 6px;
}
body.single-product .dreamypdp26 .dreamypdp26-pair-img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 14px;
  transform: translateZ(0);
}
body.single-product .dreamypdp26 .dreamypdp26-pair-shadow{
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 22px;
  background: radial-gradient(closest-side, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 100%);
  opacity: 0.7;
}
body.single-product .dreamypdp26 .dreamypdp26-pair-info{
  padding: 12px 14px 14px;
}
body.single-product .dreamypdp26 .dreamypdp26-pair-tag{
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(0,0,0,0.52);
  margin-bottom: 6px;
}
body.single-product .dreamypdp26 .dreamypdp26-pair-name{
  font-size: 1rem;
  line-height: 1.2;
  color: rgba(0,0,0,0.92);
  font-weight: 600;
  margin-bottom: 10px;
}

body.single-product .dreamypdp26 .dreamypdp26-pair-meter{
  position:relative;
  margin: 0 0 10px;
  padding-top: 10px;
}
body.single-product .dreamypdp26 .dreamypdp26-pair-line{
  display:block;
  width:100%;
  height: 1px;
  background: rgba(0,0,0,0.14);
}
body.single-product .dreamypdp26 .dreamypdp26-pair-dot{
  position:absolute;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(0,0,0,0.78);
  transform: translateX(-50%);
  left: 50%;
}
body.single-product .dreamypdp26 .dreamypdp26-pair-lbl{
  position:absolute;
  top: 14px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.42);
}
body.single-product .dreamypdp26 .dreamypdp26-pair-lbl--l{ left: 0; }
body.single-product .dreamypdp26 .dreamypdp26-pair-lbl--r{ right: 0; }

/* Dot positions (reuse existing 3-step language) */
body.single-product .dreamypdp26 .dreamypdp26-meterpos-intensity-1 .dreamypdp26-pair-dot{ left: 0%; }
body.single-product .dreamypdp26 .dreamypdp26-meterpos-intensity-2 .dreamypdp26-pair-dot{ left: 50%; }
body.single-product .dreamypdp26 .dreamypdp26-meterpos-intensity-3 .dreamypdp26-pair-dot{ left: 100%; }
body.single-product .dreamypdp26 .dreamypdp26-meterpos-room-1 .dreamypdp26-pair-dot{ left: 0%; }
body.single-product .dreamypdp26 .dreamypdp26-meterpos-room-2 .dreamypdp26-pair-dot{ left: 50%; }
body.single-product .dreamypdp26 .dreamypdp26-meterpos-room-3 .dreamypdp26-pair-dot{ left: 100%; }

body.single-product .dreamypdp26 .dreamypdp26-pair-price{
  font-size: 0.98rem;
  color: rgba(0,0,0,0.9);
}

/* ----------------------------------------
   PDP finishing: Sticky add-to-cart
---------------------------------------- */
body.single-product .dreamypdp26{
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

body.single-product .dreamypdp26 .dreamypdp26-sticky{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index: 9990;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(115%);
  opacity: 0;
  pointer-events:none;
  transition: transform 220ms ease, opacity 220ms ease;
}
body.single-product .dreamypdp26 .dreamypdp26-sticky.is-visible{
  transform: translateY(0);
  opacity: 1;
  pointer-events:auto;
}

body.single-product .dreamypdp26 .dreamypdp26-sticky-inner{
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 70px rgba(0,0,0,0.18);
  padding: 10px 10px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

body.single-product .dreamypdp26 .dreamypdp26-sticky-left{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}
body.single-product .dreamypdp26 .dreamypdp26-sticky-img{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(0,0,0,0.04);
}
body.single-product .dreamypdp26 .dreamypdp26-sticky-meta{ min-width: 0; }
body.single-product .dreamypdp26 .dreamypdp26-sticky-title{
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(0,0,0,0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 38vw;
}
body.single-product .dreamypdp26 .dreamypdp26-sticky-price{
  font-size: 0.92rem;
  color: rgba(0,0,0,0.78);
}
body.single-product .dreamypdp26 .dreamypdp26-sticky-variant{
  font-size: 0.70rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-top: 2px;
}

body.single-product .dreamypdp26 .dreamypdp26-sticky-right{
  display:flex;
  align-items:center;
  gap: 10px;
}

body.single-product .dreamypdp26 .dreamypdp26-sticky-qty{
  display:flex;
  align-items:center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.75);
  padding: 6px 6px;
}
body.single-product .dreamypdp26 .dreamypdp26-sticky-qtybtn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  font-size: 16px;
  line-height: 1;
  cursor:pointer;
}
body.single-product .dreamypdp26 .dreamypdp26-sticky-qtybtn:hover{ background: rgba(0,0,0,0.04); }
body.single-product .dreamypdp26 .dreamypdp26-sticky-qtyinput{
  width: 38px;
  text-align:center;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.92rem;
  outline:none;
  -moz-appearance: textfield;
}
body.single-product .dreamypdp26 .dreamypdp26-sticky-qtyinput::-webkit-outer-spin-button,
body.single-product .dreamypdp26 .dreamypdp26-sticky-qtyinput::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

body.single-product .dreamypdp26 .dreamypdp26-sticky-cta{
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.82);
  background: #050505;
  color:#fff;
  font-size: 0.70rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  cursor:pointer;
  transition: transform 220ms ease, opacity 220ms ease;
  white-space: nowrap;
}
body.single-product .dreamypdp26 .dreamypdp26-sticky-cta:hover{ transform: translateY(-1px); }
body.single-product .dreamypdp26 .dreamypdp26-sticky-cta:disabled{ opacity:0.45; cursor:not-allowed; transform:none; }

@media (max-width: 560px){
  body.single-product .dreamypdp26 .dreamypdp26-sticky-inner{ flex-wrap: wrap; }
  body.single-product .dreamypdp26 .dreamypdp26-sticky-title{ max-width: 70vw; }
  body.single-product .dreamypdp26 .dreamypdp26-sticky-right{ width: 100%; justify-content: space-between; }
  body.single-product .dreamypdp26 .dreamypdp26-sticky-cta{ flex: 1; }
}

/* ======================================================================
 * DreamyPDP26 — Signal pills (replaces progress meter UI)
 * ====================================================================== */
body.single-product .dreamypdp26 .dreamypdp26-meter,
body.single-product .dreamypdp26 .dreamypdp26-pair-meter{
  display: none !important;
}

body.single-product .dreamypdp26 .dreamypdp26-signals{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 14px;
}

body.single-product .dreamypdp26 .dreamypdp26-signal{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

body.single-product .dreamypdp26 .dreamypdp26-signal-k{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(0,0,0,0.55);
  font-weight: 700;
}

body.single-product .dreamypdp26 .dreamypdp26-signal-v{
  font-size: 12px;
  font-weight: 700;
  color: rgba(0,0,0,0.78);
}

body.single-product .dreamypdp26 .dreamypdp26-signal--placard{
  margin: 2px 0 6px;
  box-shadow: none;
  background: rgba(0,0,0,0.02);
}

body.single-product .dreamypdp26 .dreamypdp26-pair-signal{
  margin-top: 6px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(0,0,0,0.50);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
