/* =====================================================================
 * DreamyPDP26 — Single Product Page (Luxury Minimal)
 * Scope: body.dreamypdp26-product
 * ===================================================================== */

body.dreamypdp26-product {
  --dreamypdp26-bg: #ffffff;
  --dreamypdp26-ink: #050505;
  --dreamypdp26-ink2: #757575;
  --dreamypdp26-ink3: #e6e6e6;
  --dreamypdp26-inkA: #999999;

  --dreamypdp26-ui: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --dreamypdp26-edit: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --dreamypdp26-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --dreamypdp26-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

/* Ensure Goya sticky bar never appears (we also disable via filter) */
body.dreamypdp26-product .sticky-product-bar { display: none !important; }

/* Page shell */
body.dreamypdp26-product .dreamypdp26-page {
  background: var(--dreamypdp26-bg);
  color: var(--dreamypdp26-ink);
}

body.dreamypdp26-product .dreamypdp26-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 16px 0;
}

/* Breadcrumbs (quiet) */
body.dreamypdp26-product .dreamypdp26-crumbs {
  margin: 0 0 18px;
}
body.dreamypdp26-product .dreamypdp26-crumbList {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}
body.dreamypdp26-product .dreamypdp26-crumb {
  font-family: var(--dreamypdp26-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dreamypdp26-ink2);
}
body.dreamypdp26-product .dreamypdp26-crumb a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
body.dreamypdp26-product .dreamypdp26-crumb a:hover { border-color: rgba(5,5,5,0.25); }
body.dreamypdp26-product .dreamypdp26-crumbSep { opacity: 0.5; }

/* Two-column layout */
body.dreamypdp26-product .dreamypdp26-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 900px) {
  body.dreamypdp26-product .dreamypdp26-shell { padding-top: 28px; }
  body.dreamypdp26-product .dreamypdp26-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 60px;
    align-items: start;
  }
}

/* Gallery column */
body.dreamypdp26-product .dreamypdp26-media {
  position: relative;
}

/* Make Woo gallery feel like an "invisible gallery" */
body.dreamypdp26-product .woocommerce-product-gallery {
  width: 100% !important;
  margin: 0 !important;
}
body.dreamypdp26-product .woocommerce-product-gallery__wrapper {
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0));
  border-radius: 18px;
  padding: 18px;
}
body.dreamypdp26-product .woocommerce-product-gallery__image {
  display: flex;
  justify-content: center;
}
body.dreamypdp26-product .woocommerce-product-gallery__image img {
  width: 86% !important;
  height: auto !important;
  object-fit: contain;
  transform: translateZ(0);
  transition: transform 0.8s var(--dreamypdp26-ease);
}
@media (hover:hover) {
  body.dreamypdp26-product .woocommerce-product-gallery__image:hover img {
    transform: translateY(-10px);
  }
}

/* Thumbnails: keep minimal */
body.dreamypdp26-product .flex-control-nav.flex-control-thumbs {
  margin: 12px 0 0 !important;
  display: flex;
  gap: 10px;
  justify-content: center;
}
body.dreamypdp26-product .flex-control-nav.flex-control-thumbs li {
  width: 44px !important;
  margin: 0 !important;
}
body.dreamypdp26-product .flex-control-nav.flex-control-thumbs img {
  border-radius: 10px;
  opacity: 0.75;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
body.dreamypdp26-product .flex-control-nav.flex-control-thumbs img.flex-active,
body.dreamypdp26-product .flex-control-nav.flex-control-thumbs img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Summary column */
body.dreamypdp26-product .dreamypdp26-summaryCol {
  position: relative;
}
@media (min-width: 900px) {
  body.dreamypdp26-product .dreamypdp26-summaryCol {
    position: sticky;
    top: 90px; /* adjust if your header is taller */
  }
}

/* The theme prints .summary.entry-summary — we style it */
body.dreamypdp26-product .summary.entry-summary {
  margin: 0 !important;
  padding: 26px 22px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 22px;
  box-shadow: var(--dreamypdp26-shadow);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
}

/* Header */
body.dreamypdp26-product .dreamypdp26-eyebrow {
  display: inline-block;
  font-family: var(--dreamypdp26-ui);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dreamypdp26-inkA);
  font-weight: 600;
  margin-bottom: 8px;
}

body.dreamypdp26-product .dreamypdp26-title {
  font-family: var(--dreamypdp26-edit);
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  line-height: 1.08;
  font-weight: 400;
  margin: 0 0 10px;
}

/* Rating: quiet */
body.dreamypdp26-product .dreamypdp26-rating {
  margin: 0 0 14px;
}
body.dreamypdp26-product .woocommerce-product-rating {
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}
body.dreamypdp26-product .woocommerce-review-link {
  color: var(--dreamypdp26-ink2);
  font-size: 0.8rem;
  text-decoration: none;
}

/* Meter */
body.dreamypdp26-product .dreamypdp26-meter {
  margin: 12px 0 0;
  padding: 14px 14px 12px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  background: #fff;
}
body.dreamypdp26-product .dreamypdp26-meterTop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
body.dreamypdp26-product .dreamypdp26-meterTitle {
  font-family: var(--dreamypdp26-ui);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dreamypdp26-ink2);
}
body.dreamypdp26-product .dreamypdp26-meterValue {
  font-family: var(--dreamypdp26-ui);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--dreamypdp26-ink);
  font-weight: 600;
}

body.dreamypdp26-product .dreamypdp26-meterTrack {
  position: relative;
  height: 14px;
  display: flex;
  align-items: center;
}
body.dreamypdp26-product .dreamypdp26-meterLine {
  width: 100%;
  height: 1px;
  background: var(--dreamypdp26-ink3);
}
body.dreamypdp26-product .dreamypdp26-meterDot {
  width: 8px;
  height: 8px;
  background: var(--dreamypdp26-ink);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px #fff;
}

body.dreamypdp26-product .dreamypdp26-level-1 .dreamypdp26-meterDot { left: 0%; }
body.dreamypdp26-product .dreamypdp26-level-2 .dreamypdp26-meterDot { left: 50%; }
body.dreamypdp26-product .dreamypdp26-level-3 .dreamypdp26-meterDot { left: 100%; }

body.dreamypdp26-product .dreamypdp26-meterLabels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
body.dreamypdp26-product .dreamypdp26-meterLab {
  font-family: var(--dreamypdp26-ui);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dreamypdp26-ink2);
}

/* Price block */
body.dreamypdp26-product .dreamypdp26-priceRow {
  margin-top: 18px;
}
body.dreamypdp26-product .price {
  font-family: var(--dreamypdp26-ui);
  font-size: 1.05rem;
  font-weight: 600;
}
body.dreamypdp26-product .dreamypdp26-subline {
  margin-top: 8px;
  color: var(--dreamypdp26-ink2);
  font-size: 0.85rem;
}

/* Excerpt */
body.dreamypdp26-product .dreamypdp26-excerpt {
  margin-top: 16px;
  color: var(--dreamypdp26-ink2);
}
body.dreamypdp26-product .dreamypdp26-excerpt p {
  margin: 0 0 10px;
  line-height: 1.6;
}

/* Variations + add to cart */
body.dreamypdp26-product .dreamypdp26-cart {
  margin-top: 18px;
}

/* Form fields minimalist */
body.dreamypdp26-product form.cart {
  margin: 0 !important;
}
body.dreamypdp26-product table.variations {
  margin-bottom: 14px !important;
}
body.dreamypdp26-product table.variations td,
body.dreamypdp26-product table.variations th {
  padding: 6px 0 !important;
}
body.dreamypdp26-product table.variations select {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  background: #fff;
  font-family: var(--dreamypdp26-ui);
}

/* Quantity */
body.dreamypdp26-product .quantity input.qty {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 10px 12px;
}

/* Buttons */
body.dreamypdp26-product button.single_add_to_cart_button,
body.dreamypdp26-product .single_add_to_cart_button.button {
  width: 100%;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;
  color: #000;
  font-family: var(--dreamypdp26-ui);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  transition: transform 0.25s var(--dreamypdp26-ease), box-shadow 0.25s var(--dreamypdp26-ease);
}
@media (hover:hover) {
  body.dreamypdp26-product button.single_add_to_cart_button:hover,
  body.dreamypdp26-product .single_add_to_cart_button.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.10);
  }
}

/* Trust row */
body.dreamypdp26-product .dreamypdp26-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
@media (min-width: 520px) {
  body.dreamypdp26-product .dreamypdp26-trust {
    grid-template-columns: 1fr 1fr;
  }
}
body.dreamypdp26-product .dreamypdp26-trustItem {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dreamypdp26-ink2);
  font-size: 0.9rem;
}
body.dreamypdp26-product .dreamypdp26-dot {
  width: 6px;
  height: 6px;
  background: var(--dreamypdp26-ink);
  border-radius: 50%;
  opacity: 0.65;
}

/* Meta: de-emphasize */
body.dreamypdp26-product .dreamypdp26-meta {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--dreamypdp26-ink2);
}
body.dreamypdp26-product .product_meta {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 14px;
}

/* Lower section */
body.dreamypdp26-product .dreamypdp26-lower {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 16px 90px;
}

body.dreamypdp26-product .dreamypdp26-section {
  margin-top: 0;
}
body.dreamypdp26-product .dreamypdp26-section + .dreamypdp26-section {
  margin-top: 60px;
}

body.dreamypdp26-product .dreamypdp26-sectionHead {
  max-width: 820px;
  margin: 0 auto 22px;
  text-align: center;
}
body.dreamypdp26-product .dreamypdp26-sectionEyebrow {
  display: inline-block;
  font-family: var(--dreamypdp26-ui);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--dreamypdp26-ink2);
  margin-bottom: 10px;
}
body.dreamypdp26-product .dreamypdp26-sectionTitle {
  font-family: var(--dreamypdp26-edit);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.12;
  margin: 0;
}

/* Accordion */
body.dreamypdp26-product .dreamypdp26-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

body.dreamypdp26-product .dreamypdp26-accItem {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

body.dreamypdp26-product .dreamypdp26-accSummary {
  list-style: none;
  cursor: pointer;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.dreamypdp26-product .dreamypdp26-accSummary::-webkit-details-marker { display: none; }

body.dreamypdp26-product .dreamypdp26-accTitle {
  font-family: var(--dreamypdp26-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dreamypdp26-ink);
  font-weight: 700;
}

body.dreamypdp26-product .dreamypdp26-accIcon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  position: relative;
  flex: 0 0 auto;
}
body.dreamypdp26-product .dreamypdp26-accIcon::before,
body.dreamypdp26-product .dreamypdp26-accIcon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: rgba(0,0,0,0.65);
  transform: translate(-50%, -50%);
}
body.dreamypdp26-product .dreamypdp26-accIcon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.25s var(--dreamypdp26-ease), opacity 0.25s var(--dreamypdp26-ease);
}
body.dreamypdp26-product details[open] .dreamypdp26-accIcon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

body.dreamypdp26-product .dreamypdp26-accBody {
  padding: 0 18px 18px;
  color: var(--dreamypdp26-ink2);
  line-height: 1.7;
}

/* Tabs content cleanup */
body.dreamypdp26-product .dreamypdp26-accBody h2 { display: none; }
body.dreamypdp26-product .dreamypdp26-accBody p { margin: 0 0 12px; }
body.dreamypdp26-product .dreamypdp26-accBody ul { padding-left: 18px; }

/* Related products grid spacing */
body.dreamypdp26-product .related.products,
body.dreamypdp26-product .related {
  margin: 0 auto;
  max-width: 1400px;
}
/* We output our own heading, so hide Woo's default heading inside related */
body.dreamypdp26-product .related.products > h2 { display: none; }
body.dreamypdp26-product .related ul.products {
  margin-top: 22px !important;
}

/* Accessibility: visible focus */
body.dreamypdp26-product a:focus-visible,
body.dreamypdp26-product button:focus-visible,
body.dreamypdp26-product summary:focus-visible,
body.dreamypdp26-product select:focus-visible,
body.dreamypdp26-product input:focus-visible {
  outline: 2px solid rgba(5,5,5,0.65);
  outline-offset: 2px;
  border-radius: 10px;
}
