/* ======================================================================
   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%;
  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: 22px 10px;
}

body.single-product .dreamypdp26 .dreamypdp26-main {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 20px 0 18px;
}

@media (min-width: 480px) {
  body.single-product .dreamypdp26 .dreamypdp26-main { min-height: 460px; }
}

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;
}

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;
}

/* ----------------------------------------
   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;
}

/* 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; }
}
