/* ============================================================
   DQUILLS – SINGLE PRODUCT PAGE STYLESHEET
   File: assets/css/dquills-product.css
   Loaded only on single product pages via functions.php
   ============================================================ */

/* ── BREADCRUMB ── */
.dq-breadcrumb-wrap {
  padding: 14px 5%;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.dq-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-light);
  max-width: 1400px; margin: 0 auto;
  flex-wrap: wrap;
}
.dq-breadcrumb a { color: var(--text-mid); transition: color 0.2s; }
.dq-breadcrumb a:hover { color: var(--gold); }
.dq-breadcrumb-sep { opacity: 0.4; }
.dq-breadcrumb-current { color: var(--text-dark); font-weight: 500; }

/* ── PRODUCT MAIN GRID ── */
.dq-product-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 56px 5% 80px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

/* ════════════════════════════════════════════
   GALLERY
════════════════════════════════════════════ */
.dq-gallery {
  position: sticky;
  top: 88px; /* below fixed navbar */
}

/* Main image area */
.dq-gallery-main {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--cream);
  position: relative;
  cursor: zoom-in;
  box-shadow: var(--shadow-md);
}
.dq-gallery-main img#dq-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s ease;
  display: block;
}
.dq-gallery-main:hover img#dq-main-img { transform: scale(1.04); }

/* Badges */
.dq-gallery-badge-new,
.dq-gallery-badge-sale {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  color: white; border-radius: 50px;
  padding: 5px 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
}
.dq-gallery-badge-new  { background: var(--navy); }
.dq-gallery-badge-sale { background: var(--red); }

/* Wishlist button */
.dq-gallery-wish {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  background: white; border: none; border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, background 0.2s;
}
.dq-gallery-wish:hover         { transform: scale(1.15); background: #fff0f0; }
.dq-gallery-wish.wished        { color: var(--red); }

/* Thumbnail strip — wraps to support up to 10 images + video */
.dq-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.dq-thumb {
  flex: 0 0 calc((100% - 40px) / 5); /* 5 per row, 4 gaps of 10px */
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  background: var(--cream);
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.dq-thumb:hover  { transform: translateY(-2px); border-color: var(--gold-light); }
.dq-thumb.active { border-color: var(--navy); }
.dq-thumb img    { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── VIDEO THUMBNAIL ── */
.dq-thumb-video::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(44, 53, 96, 0.38);
  border-radius: 12px;
  transition: background 0.2s;
}
.dq-thumb-video:hover::after  { background: rgba(44, 53, 96, 0.55); }
.dq-thumb-video.active::after { background: rgba(44, 53, 96, 0.25); }

.dq-play-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 32px; height: 32px;
  background: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.dq-thumb-video:hover .dq-play-icon {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.dq-play-icon svg { margin-left: 2px; display: block; }

.dq-video-label {
  position: absolute; bottom: 5px; left: 0; right: 0; z-index: 3;
  text-align: center;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.07em;
  color: white; text-transform: uppercase;
}

/* ── VIDEO PLAY OVERLAY (on main image when video thumb active) ── */
.dq-gallery-main-play {
  display: none;
  position: absolute; inset: 0; z-index: 5;
  align-items: center; justify-content: center;
  background: rgba(44, 53, 96, 0.32);
  cursor: pointer;
}
.dq-gallery-main-play.active { display: flex; }

.dq-gallery-main-play-btn {
  width: 72px; height: 72px;
  background: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.dq-gallery-main-play:hover .dq-gallery-main-play-btn {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.34);
}

/* ── INLINE VIDEO PLAYER ── */
.dq-gallery-video-wrap {
  display: none;
  position: absolute; inset: 0; z-index: 10;
  background: #000;
  border-radius: 28px;
  overflow: hidden;
  align-items: center; justify-content: center;
}
.dq-gallery-video-wrap.active { display: flex; }
.dq-gallery-video-wrap video  { width: 100%; height: 100%; object-fit: contain; }

.dq-gallery-video-close {
  position: absolute; top: 14px; right: 14px; z-index: 11;
  background: rgba(255,255,255,0.18); border: none; border-radius: 50%;
  width: 36px; height: 36px;
  color: white; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.dq-gallery-video-close:hover { background: rgba(255,255,255,0.35); }

/* Hint line */
.dq-gallery-zoom-hint {
  text-align: center; font-size: 0.75rem; color: var(--text-light);
  margin-top: 12px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* ════════════════════════════════════════════
   PRODUCT INFO PANEL
════════════════════════════════════════════ */
.dq-product-info { padding-top: 4px; }

.dq-product-category-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); background: rgba(184,151,42,0.1);
  padding: 5px 14px; border-radius: 50px; margin-bottom: 14px;
  text-decoration: none; transition: background 0.2s;
}
.dq-product-category-tag:hover { background: rgba(184,151,42,0.2); color: var(--gold); }

.dq-product-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  color: var(--navy); line-height: 1.2; margin-bottom: 20px;
}

/* Rating */
.dq-rating-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.dq-stars-lg {
  color: var(--gold-light); font-size: 1rem; letter-spacing: 2px;
  /* Override WC star_rating spans */
  display: inline-flex; align-items: center;
}
.dq-stars-lg .star-rating { float: none; display: inline-flex; font-size: 1rem; }
.dq-rating-score   { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.dq-rating-count   { font-size: 0.85rem; color: var(--text-light); }
.dq-rating-sep     { width: 1px; height: 16px; background: var(--border); }
.dq-verified-badge { font-size: 0.78rem; color: #3a9a4a; font-weight: 600; }
.dq-rating-first-link { font-size: 0.82rem; color: var(--gold); text-decoration: underline; }

/* Price */
.dq-price-block {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.dq-price-current {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700; color: var(--navy);
}
/* Let WC handle ins/del inside price */
.dq-price-current ins  { text-decoration: none; }
.dq-price-current del  { font-size: 1rem; color: var(--text-light); font-weight: 400; opacity: 0.6; font-family: 'DM Sans', sans-serif; }
.dq-price-save {
  background: #e8f7ec; color: #2a7a3a;
  font-size: 0.8rem; font-weight: 700;
  border-radius: 50px; padding: 4px 12px;
}

/* Short description / tagline */
.dq-product-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.05rem;
  color: var(--text-mid); line-height: 1.7;
  padding: 14px 18px;
  background: var(--cream); border-radius: 14px;
  border-left: 3px solid var(--gold);
  margin-bottom: 28px;
}
.dq-product-tagline p { margin: 0; }

/* ── ADD TO CART ── */
.dq-atc-form { margin-bottom: 16px; }

.dq-qty-cart {
  display: flex; align-items: center;
  gap: 14px; margin-bottom: 0; flex-wrap: wrap;
}

.dq-qty-wrap {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--border); border-radius: 50px;
  overflow: hidden; background: white;
}
.dq-qty-btn {
  background: none; border: none;
  width: 46px; height: 50px;
  font-size: 1.3rem; cursor: pointer;
  color: var(--navy); font-weight: 600;
  transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.dq-qty-btn:hover { background: var(--cream); }
.dq-qty-input {
  width: 52px; text-align: center;
  border: none; outline: none;
  font-size: 1rem; font-weight: 600;
  color: var(--navy); background: white;
  font-family: 'DM Sans', sans-serif;
  -moz-appearance: textfield;
}
.dq-qty-input::-webkit-outer-spin-button,
.dq-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.dq-btn-atc,
.dq-btn-atc.single_add_to_cart_button {
  flex: 1;
  background: var(--navy); color: white;
  border: none; border-radius: 50px;
  padding: 14px 28px; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.02em; min-width: 180px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.3s;
  text-decoration: none;
}
.dq-btn-atc:hover,
.dq-btn-atc.single_add_to_cart_button:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,151,42,0.35);
  color: white;
}
.dq-btn-atc.added,
.dq-btn-atc.loading { background: var(--rainbow-4); }

/* Variable product */
.dq-variations-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.dq-variations-table th { text-align: left; font-size: 0.85rem; font-weight: 600; color: var(--navy); padding: 8px 12px 8px 0; vertical-align: middle; white-space: nowrap; }
.dq-variations-table td { padding: 6px 0; }
.dq-variations-table select {
  appearance: none; -webkit-appearance: none;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232c3560' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1.5px solid var(--border); border-radius: 50px;
  padding: 9px 36px 9px 16px; font-size: 0.88rem;
  font-family: 'DM Sans', sans-serif; color: var(--text-dark);
  cursor: pointer; min-width: 160px;
}
.dq-variations-table select:focus { outline: none; border-color: var(--navy); }

/* Out of stock */
.dq-out-of-stock { margin-bottom: 20px; }
.dq-oos-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff3ee; color: var(--red); border-radius: 50px;
  padding: 8px 18px; font-size: 0.85rem; font-weight: 600; margin-bottom: 10px;
}
.dq-oos-text   { font-size: 0.875rem; color: var(--text-mid); line-height: 1.5; }
.dq-oos-inline { font-size: 0.78rem; color: var(--text-light); font-style: italic; }

/* Custom order button */
.dq-btn-custom {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 12px; margin-bottom: 24px;
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy); border-radius: 50px;
  padding: 13px 28px; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  text-decoration: none; transition: all 0.3s;
}
.dq-btn-custom:hover { background: var(--navy); color: white; }

/* Trust pills */
.dq-trust-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.dq-trust-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 50px; padding: 6px 14px;
  font-size: 0.78rem; color: var(--text-mid); font-weight: 500;
}

/* Product highlights */
.dq-highlights { margin-bottom: 28px; }
.dq-highlights-title {
  font-weight: 600; color: var(--navy);
  font-size: 0.82rem; letter-spacing: 0.07em; text-transform: uppercase;
  margin-bottom: 12px;
}
.dq-highlight-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.dq-highlight-item:last-child { border-bottom: none; }
.dq-highlight-icon { font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.dq-highlight-text strong {
  display: block; font-weight: 600; color: var(--navy);
  font-size: 0.875rem; margin-bottom: 2px;
}
.dq-highlight-text span { font-size: 0.8rem; color: var(--text-light); line-height: 1.45; }

/* Meta row */
.dq-meta-row {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-light);
}
.dq-meta-row a    { color: var(--gold); }
.dq-meta-row a:hover { text-decoration: underline; }
.dq-meta-row strong { color: var(--text-mid); font-weight: 500; }

/* ════════════════════════════════════════════
   TABS SECTION
════════════════════════════════════════════ */
.dq-tabs-section {
  padding: 0 5% 80px;
  max-width: 1400px; margin: 0 auto;
}

.dq-tabs-nav {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 48px; overflow-x: auto;
  scrollbar-width: none;
}
.dq-tabs-nav::-webkit-scrollbar { display: none; }

.dq-tab-btn {
  background: none; border: none;
  padding: 15px 26px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-light); cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px; white-space: nowrap;
  letter-spacing: 0.02em; transition: color 0.2s, border-color 0.2s;
}
.dq-tab-btn.active         { color: var(--navy); border-bottom-color: var(--navy); font-weight: 600; }
.dq-tab-btn:hover:not(.active) { color: var(--text-mid); }

.dq-tab-panel              { display: none; }
.dq-tab-panel.active       { display: block; }

/* Description panel */
.dq-desc-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.dq-desc-body {
  font-size: 1rem; color: var(--text-mid); line-height: 1.85;
}
.dq-desc-body p        { margin-bottom: 16px; }
.dq-desc-body p:last-child { margin-bottom: 0; }
.dq-desc-body ul,
.dq-desc-body ol       { padding-left: 20px; margin-bottom: 16px; }
.dq-desc-body li        { margin-bottom: 8px; }
.dq-desc-body h2,
.dq-desc-body h3        { font-family: 'Playfair Display', serif; color: var(--navy); margin-bottom: 12px; margin-top: 28px; }
.dq-desc-visual img     { width: 100%; border-radius: 24px; object-fit: cover; }

/* Specs grid */
.dq-specs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.dq-spec-group {
  background: var(--cream); border-radius: 20px; padding: 28px;
}
.dq-spec-group-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; color: var(--navy);
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.dq-spec-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid rgba(44,53,96,0.07);
  font-size: 0.875rem;
}
.dq-spec-row:last-child { border-bottom: none; }
.dq-spec-label { color: var(--text-light); }
.dq-spec-value { color: var(--navy); font-weight: 500; text-align: right; max-width: 60%; }

/* Reviews panel */
.dq-reviews-header {
  display: flex; align-items: center; gap: 52px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.dq-reviews-summary  { text-align: center; flex-shrink: 0; }
.dq-reviews-score-big {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem; font-weight: 700; color: var(--navy); line-height: 1;
}
.dq-reviews-stars-big {
  color: var(--gold-light); font-size: 1.3rem; letter-spacing: 3px; margin: 8px 0;
}
.dq-reviews-count-label { font-size: 0.8rem; color: var(--text-light); }

.dq-reviews-bars { flex: 1; min-width: 200px; }
.dq-bar-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 7px; font-size: 0.8rem; color: var(--text-light);
}
.dq-bar-track {
  flex: 1; height: 6px; background: var(--border); border-radius: 6px; overflow: hidden;
}
.dq-bar-fill { height: 100%; background: var(--gold-light); border-radius: 6px; }
.dq-bar-pct  { min-width: 30px; text-align: right; }

.dq-write-review-btn {
  background: var(--navy); color: white; border: none; border-radius: 50px;
  padding: 12px 24px; font-size: 0.875rem; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: background 0.2s; white-space: nowrap; text-decoration: none;
  display: inline-block;
}
.dq-write-review-btn:hover { background: var(--gold); color: white; }

/* ── WooCommerce comment/review overrides ── */
#reviews                    { margin-top: 0; }
#reviews #comments          { margin-bottom: 40px; }
#reviews .commentlist       { list-style: none; padding: 0; margin: 0; }
#reviews .commentlist li.review {
  background: var(--cream); border-radius: 20px; padding: 28px;
  margin-bottom: 20px; list-style: none;
}
#reviews .commentlist li.review .comment-text { margin: 0; }
#reviews .commentlist li.review .star-rating   { color: var(--gold-light); margin-bottom: 12px; float: none; }
#reviews .commentlist li.review p.meta {
  font-size: 0.82rem; color: var(--text-light); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
#reviews .commentlist li.review .woocommerce-review__author { font-weight: 600; color: var(--navy); }
#reviews .commentlist li.review .description p {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.05rem; color: var(--text-dark); line-height: 1.7; margin: 0;
}
#reviews .commentlist li.review .woocommerce-review__verified {
  color: #3a9a4a; font-size: 0.75rem; font-weight: 600;
}

/* Review form */
#reviews #review_form_wrapper { margin-top: 40px; }
#reviews #review_form .comment-form-rating label { color: var(--navy); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
#reviews #review_form .stars a { color: var(--gold-light); font-size: 1.2rem; }
#reviews #review_form p { margin-bottom: 16px; }
#reviews #review_form input[type="text"],
#reviews #review_form input[type="email"],
#reviews #review_form textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 12px;
  padding: 12px 16px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  color: var(--text-dark); background: white; outline: none;
  transition: border-color 0.2s;
}
#reviews #review_form input:focus,
#reviews #review_form textarea:focus { border-color: var(--navy); }
#reviews #review_form textarea { min-height: 120px; resize: vertical; }
#reviews #review_form #submit {
  background: var(--navy); color: white; border: none; border-radius: 50px;
  padding: 13px 32px; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background 0.2s;
}
#reviews #review_form #submit:hover { background: var(--gold); }

/* ════════════════════════════════════════════
   RELATED PRODUCTS
════════════════════════════════════════════ */
.dq-related-section { background: var(--cream); padding: 72px 5%; }
.dq-related-inner   { max-width: 1400px; margin: 0 auto; }

.dq-related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}

/* Product cards */
.dq-product-card {
  background: white; border-radius: 20px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.dq-product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.dq-product-img-link { display: block; text-decoration: none; }
.dq-product-img {
  aspect-ratio: 1 / 1; overflow: hidden; position: relative; background: var(--cream);
}
.dq-product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s; display: block;
}
.dq-product-card:hover .dq-product-img img { transform: scale(1.06); }

.dq-product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: white; border-radius: 50px;
  padding: 3px 10px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  z-index: 2;
}
.dq-product-badge.new { background: var(--navy); }

.dq-product-wish {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: white; border: none; border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform 0.2s; opacity: 0;
}
.dq-product-card:hover .dq-product-wish { opacity: 1; }

.dq-product-body { padding: 16px; }
.dq-product-category {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); font-weight: 700; margin-bottom: 5px;
}
.dq-product-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 600; color: var(--navy);
  margin-bottom: 8px; line-height: 1.35; letter-spacing: 0.01em;
}
.dq-product-name a { text-decoration: none; color: inherit; transition: color 0.2s; }
.dq-product-name a:hover { color: var(--gold); }

.dq-product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.dq-product-stars  { color: var(--gold-light); font-size: 0.75rem; }
.dq-product-reviews{ font-size: 0.75rem; color: var(--text-light); }

.dq-product-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.dq-product-price {
  font-weight: 700; color: var(--navy); font-size: 1rem;
}
.dq-product-price ins  { text-decoration: none; }
.dq-product-price del  { font-size: 0.8rem; color: var(--text-light); font-weight: 400; }

.dq-add-to-cart,
.dq-add-to-cart.button,
.dq-add-to-cart.add_to_cart_button {
  background: var(--navy); color: white; border: none; border-radius: 50px;
  padding: 6px 14px; font-size: 0.78rem; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  background-image: none !important;
  white-space: nowrap;
}
.dq-add-to-cart:hover  { background: var(--gold); transform: scale(1.05); color: white; }
.dq-add-to-cart.added  { background: var(--rainbow-4); }
.dq-add-to-cart.loading{ background: var(--rainbow-4); }
/* Hide WC "view cart" link after added */
.dq-product-card .added_to_cart { display: none !important; }

/* ════════════════════════════════════════════
   STICKY BAR
════════════════════════════════════════════ */
.dq-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: rgba(44, 53, 96, 0.97);
  backdrop-filter: blur(16px);
  padding: 14px 5%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transform: translateY(100%); transition: transform 0.4s ease;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.dq-sticky-bar.visible { transform: translateY(0); }

.dq-sticky-product {
  display: flex; align-items: center; gap: 14px;
}
.dq-sticky-thumb {
  width: 52px; height: 52px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
}
.dq-sticky-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dq-sticky-name  {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; color: white; line-height: 1.25;
}
.dq-sticky-price { font-size: 1rem; font-weight: 700; color: var(--gold-light); margin-top: 2px; }
/* Strip WC html inside sticky price */
.dq-sticky-price ins { text-decoration: none; }
.dq-sticky-price del { display: none; }

.dq-sticky-actions { display: flex; align-items: center; gap: 12px; }
.dq-sticky-qty {
  display: flex; align-items: center; gap: 0;
  border: 1px solid rgba(255,255,255,0.22); border-radius: 50px;
  background: rgba(255,255,255,0.1);
}
.dq-sticky-qty-btn {
  background: none; border: none; color: white;
  width: 36px; height: 42px; cursor: pointer;
  font-size: 1rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.dq-sticky-qty-btn:hover { background: rgba(255,255,255,0.12); }
.dq-sticky-qty input {
  width: 40px; text-align: center;
  background: none; border: none; color: white;
  font-size: 0.9rem; font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  -moz-appearance: textfield;
}
.dq-sticky-qty input::-webkit-outer-spin-button,
.dq-sticky-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.dq-sticky-atc {
  background: var(--gold); color: white; border: none; border-radius: 50px;
  padding: 11px 26px; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all 0.2s; white-space: nowrap;
}
.dq-sticky-atc:hover         { background: var(--gold-light); transform: translateY(-1px); }
.dq-sticky-atc.added         { background: var(--rainbow-4); }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .dq-product-main      { gap: 52px; }
  .dq-related-grid      { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .dq-product-main      { grid-template-columns: 1fr; gap: 40px; }
  .dq-gallery           { position: static; }
  .dq-gallery-main      { max-width: 560px; margin: 0 auto; }
  .dq-gallery-thumbs    { max-width: 560px; margin: 14px auto 0; }
  .dq-desc-grid         { grid-template-columns: 1fr; }
  .dq-desc-visual       { display: none; }
  .dq-specs-grid        { grid-template-columns: 1fr; }
  .dq-related-grid      { grid-template-columns: repeat(2, 1fr); }
  .dq-sticky-product    { display: none; }
}

@media (max-width: 768px) {
  .dq-product-main      { padding: 28px 5% 56px; }
  .dq-tabs-section      { padding: 0 5% 56px; }
  .dq-tab-btn           { padding: 13px 16px; font-size: 0.85rem; }
  .dq-related-grid      { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .dq-reviews-header    { flex-direction: column; align-items: flex-start; gap: 28px; }
  .dq-qty-cart          { flex-direction: column; align-items: stretch; }
  .dq-btn-atc           { min-width: unset; }
  .dq-trust-pills       { gap: 6px; }
  .dq-trust-pill        { font-size: 0.72rem; padding: 5px 10px; }
  .dq-gallery-thumbs    { gap: 6px; }
  .dq-thumb             { flex: 0 0 calc((100% - 18px) / 4); } /* 4 per row on mobile, 3 gaps of 6px */

  /* Mobile sticky bar: full-width stacked layout */
  .dq-sticky-bar {
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .dq-sticky-actions {
    width: 100%;
    gap: 10px;
  }
  .dq-sticky-qty {
    flex-shrink: 0;
  }
  .dq-sticky-qty-btn { width: 32px; height: 38px; }
  .dq-sticky-qty input { width: 32px; }
  .dq-sticky-atc {
    flex: 1;
    padding: 11px 16px;
    font-size: 0.85rem;
    text-align: center;
  }

  /* Push scroll-to-top button up so it never overlaps the sticky bar */
  #dq-scroll-top {
    bottom: 84px !important;
    width: 40px; height: 40px; font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .dq-related-grid      { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dq-product-title     { font-size: 1.7rem; }
  .dq-price-current     { font-size: 1.8rem; }
  .dq-specs-grid        { grid-template-columns: 1fr; }

  .dq-sticky-bar    { padding: 10px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom)); gap: 8px; }
  .dq-sticky-qty-btn{ width: 28px; height: 34px; font-size: 0.85rem; }
  .dq-sticky-qty input { width: 26px; font-size: 0.8rem; }
  .dq-sticky-atc    { font-size: 0.8rem; padding: 10px 12px; }
}

/* ════════════════════════════════════════════
   VARIABLE PRODUCT — VARIATION PILLS
════════════════════════════════════════════ */
.dq-var-group { margin-bottom: 20px; }

.dq-var-label-row {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.dq-var-label {
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-mid);
}
.dq-var-chosen {
  font-size: 0.88rem; font-weight: 600; color: var(--navy);
}

/* Pill group */
.dq-var-pills {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px;
}

.dq-var-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 50px;
  border: 2px solid var(--border); background: white;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 500;
  color: var(--text-mid); cursor: pointer;
  transition: all 0.22s ease; position: relative; overflow: hidden;
}
.dq-var-pill:hover:not(:disabled):not(.dq-var-oos) {
  border-color: var(--navy); color: var(--navy);
  transform: translateY(-1px); box-shadow: var(--shadow-sm);
}
.dq-var-pill.active {
  border-color: var(--navy); background: var(--navy); color: white;
  font-weight: 600; box-shadow: 0 4px 16px rgba(44,53,96,0.25);
}

/* Pill with thumbnail image */
.dq-var-pill-thumb {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: 0 0 0 1px var(--border);
  transition: transform 0.2s;
}
.dq-var-pill.active .dq-var-pill-thumb {
  border-color: rgba(255,255,255,0.7);
}
.dq-var-pill:hover .dq-var-pill-thumb { transform: scale(1.08); }

/* Out of stock pill */
.dq-var-pill.dq-var-oos {
  opacity: 0.45; cursor: not-allowed;
  border-style: dashed;
  text-decoration: line-through;
}
.dq-var-oos-tag {
  font-size: 0.65rem; background: rgba(232,76,30,0.12);
  color: var(--red); padding: 2px 6px; border-radius: 50px;
  font-weight: 600; text-decoration: none;
}

/* Description strip shown after selection */
.dq-var-desc-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  background: var(--cream); border-radius: 12px; padding: 10px 14px;
  font-size: 0.82rem; color: var(--text-mid); line-height: 1.5;
  border-left: 3px solid var(--gold); margin-top: 4px;
  animation: dq-fade-in 0.3s ease;
}
@keyframes dq-fade-in { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }

.dq-var-desc-strip.hidden { display: none; }
.dq-var-desc-count { font-weight: 600; color: var(--navy); }
.dq-var-desc-text  { color: var(--text-mid); }
.dq-var-desc-colors { display: flex; align-items: center; gap: 4px; }
.dq-var-desc-dot {
  width: 16px; height: 16px; border-radius: 50%;
  flex-shrink: 0; border: 2px solid rgba(255,255,255,0.6);
  box-shadow: 0 0 0 1px var(--border);
  display: inline-block;
}

/* Price transition */
.dq-price-current { transition: opacity 0.25s, transform 0.25s; }

/* ATC button disabled state */
.dq-btn-atc:disabled,
.dq-btn-atc.single_add_to_cart_button:disabled {
  background: var(--border) !important; color: var(--text-light) !important;
  transform: none !important; box-shadow: none !important; cursor: not-allowed;
}

/* ════════════════════════════════════════════
   STRUCTURED PRODUCT DESCRIPTION
   Styles for AI-generated dq-desc-* sections
════════════════════════════════════════════ */

/* Intro tagline — stronger, more visible */
.dq-desc-intro p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.75;
  margin-bottom: 28px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(184,151,42,0.08) 0%, rgba(245,240,232,0.6) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  box-shadow: 0 2px 12px rgba(184,151,42,0.1);
}

/* Section blocks */
.dq-desc-section {
  margin-bottom: 32px;
}
.dq-desc-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cream);
  display: flex; align-items: center; gap: 8px;
}

/* Description table */
.dq-desc-table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  font-size: 0.9rem;
}
.dq-desc-table thead tr {
  background: var(--navy); color: white;
}
.dq-desc-table thead th {
  padding: 11px 16px; text-align: left;
  font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.dq-desc-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.dq-desc-table tbody tr:last-child { border-bottom: none; }
.dq-desc-table tbody tr:hover { background: rgba(245,240,232,0.7); }
.dq-desc-table tbody tr:nth-child(even) { background: rgba(245,240,232,0.4); }
.dq-desc-table tbody tr:nth-child(even):hover { background: rgba(245,240,232,0.7); }
.dq-desc-table th {
  padding: 10px 16px; text-align: left;
  font-weight: 700; color: var(--navy);
  font-size: 0.85rem; width: 35%;
  background: rgba(44,53,96,0.04);
}
.dq-desc-table td {
  padding: 10px 16px;
  color: var(--text-dark); font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Description list */
.dq-desc-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.dq-desc-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.9rem; color: var(--text-dark);
  font-weight: 500; line-height: 1.5;
  padding: 6px 0;
}
.dq-desc-list li::before {
  content: '✓';
  color: var(--gold); font-weight: 800; font-size: 0.9rem;
  flex-shrink: 0; margin-top: 1px;
}

/* SEO paragraph block — above Customisation */
.dq-desc-seo {
  margin-bottom: 32px;
  padding: 22px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(44,53,96,0.06);
}
.dq-desc-seo p {
  font-size: 0.925rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin: 0 0 14px;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  font-weight: 400;
}
.dq-desc-seo p:last-child { margin-bottom: 0; }
.dq-desc-seo strong { color: var(--navy); font-weight: 700; }

/* Customisation section */
.dq-desc-section p {
  font-size: 0.9rem; color: var(--text-mid);
  line-height: 1.65; margin: 0;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: 10px;
}
.dq-desc-section p a {
  color: var(--gold); font-weight: 600;
  text-decoration: underline;
}
.dq-desc-section p a:hover { color: var(--navy); }

/* Responsive */
@media (max-width: 640px) {
  .dq-desc-list { grid-template-columns: 1fr; }
  .dq-desc-table th { width: 40%; }
}

/* Qty × price total display */
.dq-price-unit  { font-size: 1.1rem; font-weight: 500; color: var(--text-mid); }
.dq-price-total { font-size: 1.1rem; color: var(--text-mid); }
.dq-price-total strong { color: var(--navy); font-size: 1.6rem; font-weight: 700; }
