/* ==========================================================================
   AbstractRealmss - Product Detail Page (PDP) Design System
   Refined luxury dark theme with high aesthetic alignment & responsive UX
   ========================================================================== */

body.single-product,
.single-product {
  background: #030916;
  color: #f4f7fb;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
}

#main-content {
  min-height: 80vh;
  padding: 0 0 60px;
}

/* Container */
.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

/* Screen Reader Text */
.screen-reader-text,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ── Breadcrumbs ─────────────────────────────────────────── */
.breadcrumbs.woocommerce-breadcrumb,
.pdp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 22px;
  font-size: 0.82rem;
  color: #64748b;
  letter-spacing: 0.02em;
}

.breadcrumbs a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #38bdf8;
}

.breadcrumb-separator {
  color: #475569;
  font-size: 0.9rem;
  user-select: none;
}

.breadcrumb-current {
  color: #e2e8f0;
  font-weight: 600;
}

/* ── Main Product Grid ───────────────────────────────────── */
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

/* ── Product Gallery ─────────────────────────────────────── */
.pdp-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.pdp-gallery.pdp-gallery--single {
  grid-template-columns: 1fr;
}

/* Thumbnail Strip: a row under the main visual, so expanding it scrolls
   sideways instead of growing the gallery taller than the summary. */
.pdp-thumbs {
  display: flex;
  flex-direction: row;
  order: 2;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  /* overflow-x: auto forces overflow-y to hidden, so the active thumb's
     translateY + glow needs padding here or it gets clipped. */
  margin: -10px 0 -8px;
  padding: 12px 4px 10px;
  scroll-snap-type: x proximity;
  scroll-padding: 0 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pdp-thumbs .pdp-thumb {
  scroll-snap-align: start;
}

.pdp-thumbs::-webkit-scrollbar {
  display: none;
}

.pdp-thumb {
  aspect-ratio: 1 / 1;
  flex: 0 0 84px;
  width: 84px;
  border: 1.5px solid rgba(83, 198, 255, 0.22);
  border-radius: 14px;
  background: rgba(14, 38, 70, 0.4);
  padding: 5px;
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-thumb:hover,
.pdp-thumb.is-active {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
  background: rgba(20, 50, 90, 0.6);
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  display: block;
}

/* 3D Thumb Button */
.pdp-thumb--3d {
  background: linear-gradient(145deg, rgba(8, 29, 58, 0.9), rgba(3, 15, 34, 0.95)) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
}

.pdp-thumb-3d-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
}

.pdp-thumb-3d-badge span {
  font-size: 0.72rem;
  font-weight: 800;
  color: #7dd3fc;
  letter-spacing: 0.08em;
}

/* Main Visual Container */
.pdp-main-visual {
  position: relative;
  min-height: 520px;
  max-height: 580px;
  border: 1px solid rgba(83, 198, 255, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(32, 168, 255, 0.15), transparent 55%),
    linear-gradient(160deg, rgba(14, 39, 72, 0.9), rgba(3, 11, 25, 0.98));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 32px 80px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.pdp-main-visual figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-main-visual figure img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.45));
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.25s ease;
}

.pdp-main-visual:hover figure img {
  transform: scale(1.035);
}

/* Badge (Top Left) */
.pdp-main-visual .product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.4);
  backdrop-filter: blur(8px);
}

.pdp-main-visual .product-badge.best {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(202, 138, 4, 0.15));
  color: #fef08a;
  border-color: rgba(234, 179, 8, 0.45);
}

/* Action Buttons (Top Right) */
.pdp-visual-actions {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdp-3d-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(3, 14, 30, 0.85);
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.pdp-3d-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

.pdp-3d-btn svg {
  width: 16px;
  height: 16px;
}

.pdp-zoom {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(83, 198, 255, 0.35);
  background: rgba(3, 14, 30, 0.85);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  padding: 0;
}

.pdp-zoom svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.pdp-zoom:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
  transform: scale(1.08);
}

/* Feature Highlights Strip (Bottom of Card) */
.pdp-gallery-features {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(83, 198, 255, 0.18);
  background: rgba(4, 14, 28, 0.92);
  backdrop-filter: blur(12px);
}

.pdp-gallery-features span {
  padding: 14px 8px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  color: #cbd5e1;
  border-right: 1px solid rgba(83, 198, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-gallery-features span:last-child {
  border-right: none;
}

/* ── Product Summary ─────────────────────────────────────── */
.pdp-summary {
  padding: 4px 0 16px;
  display: flex;
  flex-direction: column;
}

/* Category Kicker */
.product-category,
.pdp-summary .product-category {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8;
  margin: 0 0 8px;
}

/* Product Title */
.pdp-summary .product_title,
.product_title.entry-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: #f8fafc;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

/* Rating Row */
.pdp-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

/* WooCommerce's .star-rating needs its own letter-spacing to lay the glyphs out;
   don't override it here. */
.pdp-rating .star-rating {
  color: #fbbf24;
  font-size: 1rem;
}

.woocommerce-review-link {
  color: #94a3b8;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.woocommerce-review-link:hover {
  color: #38bdf8;
}

.pdp-stock {
  font-size: 0.75rem;
  font-weight: 750;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Short Description */
.woocommerce-product-details__short-description {
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0 0 16px;
}

.woocommerce-product-details__short-description p {
  margin: 0;
}

/* Price Block */
.pdp-summary .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 4px;
}

.pdp-summary .price ins {
  text-decoration: none;
}

.pdp-summary .price ins .amount,
.pdp-summary .price > .amount {
  font-size: 2.35rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: -0.02em;
}

.pdp-summary .price del {
  color: #64748b;
  font-size: 1.2rem;
  text-decoration: line-through;
}

.pdp-discount {
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 4px 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-tax {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0 0 18px;
}

/* Product Highlights Grid */
.pdp-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pdp-highlights li {
  font-size: 0.85rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(83, 198, 255, 0.14);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-highlights li::before {
  content: "✓";
  color: #38bdf8;
  font-weight: 800;
}

/* ── Customization Flow (Step 1 & 2) ─────────────────────── */
.pdp-customization-flow {
  width: 100%;
  margin-bottom: 8px;
}

.pdp-flow-step {
  margin-bottom: 16px;
}

.pdp-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pdp-step-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pdp-step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(83, 198, 255, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(83, 198, 255, 0.3);
}

.pdp-step-dot.is-active {
  background: #38bdf8;
  color: #030b19;
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.pdp-step-dot.is-complete {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-color: #4ade80;
}

.pdp-step-line {
  width: 24px;
  height: 2px;
  background: rgba(83, 198, 255, 0.2);
}

.pdp-step-line.is-complete {
  background: #4ade80;
}

.pdp-step-label {
  font-size: 0.92rem;
  font-weight: 750;
  color: #f1f5f9;
  letter-spacing: 0.02em;
}

/* Design Card */
.pdp-design-card {
  border: 1px solid rgba(83, 198, 255, 0.3);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(14, 38, 70, 0.6), rgba(6, 20, 42, 0.8));
  padding: 16px;
  margin-bottom: 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pdp-design-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.pdp-design-card-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pdp-design-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdp-design-card-icon svg {
  width: 22px;
  height: 22px;
}

.pdp-design-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pdp-design-card-text strong {
  color: #f8fafc;
  font-size: 0.95rem;
}

.pdp-design-card-text span {
  color: #94a3b8;
  font-size: 0.8rem;
}

.pdp-design-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1fa2ff, #1270e3);
  color: #ffffff;
  border: 1px solid rgba(124, 212, 255, 0.4);
  font-size: 0.85rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.pdp-design-card-btn:hover {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.45);
  transform: translateY(-2px);
}

.pdp-design-card-btn svg {
  width: 16px;
  height: 16px;
}

/* Print Mode Selector */
.pdp-print-mode {
  margin-top: 14px;
}

.pdp-print-mode-label {
  font-size: 0.82rem;
  font-weight: 750;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.pdp-print-mode-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pdp-print-mode-option {
  border: 1.5px solid rgba(83, 198, 255, 0.2);
  border-radius: 14px;
  background: rgba(14, 38, 70, 0.35);
  padding: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s ease;
}

.pdp-print-mode-option.is-selected {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.pdp-print-mode-option input[type="radio"] {
  display: none;
}

.pdp-print-mode-info strong {
  display: block;
  font-size: 0.88rem;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.pdp-print-mode-info span {
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.4;
  display: block;
}

/* ── Purchase Actions & Buttons ──────────────────────────── */
form.cart,
.cart,
.pdp-purchase-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin: 18px 0 0 !important;
  width: 100% !important;
}

/* Quantity Block */
.pdp-quantity-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  align-items: flex-start !important;
  width: 100% !important;
}

.pdp-quantity-control {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.pdp-quantity-label {
  font-size: 0.82rem !important;
  font-weight: 750 !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid rgba(83, 198, 255, 0.32) !important;
  border-radius: 12px !important;
  background: rgba(4, 15, 31, 0.85) !important;
  overflow: hidden !important;
  padding: 2px !important;
}

.quantity .qty-btn {
  width: 40px !important;
  height: 40px !important;
  border: 0 !important;
  background: transparent !important;
  color: #f8fafc !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  transition: background 0.2s ease, color 0.2s ease !important;
  padding: 0 !important;
}

.quantity .qty-btn:hover {
  background: rgba(56, 189, 248, 0.22) !important;
  color: #38bdf8 !important;
}

.quantity input.qty {
  width: 48px !important;
  height: 40px !important;
  border: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
  padding: 0 !important;
}

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.pdp-quantity-help {
  font-size: 0.74rem !important;
  color: #64748b !important;
  margin: 0 !important;
}

/* Purchase Action Buttons */
.pdp-purchase-buttons,
form.cart .pdp-purchase-buttons {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  width: 100% !important;
}

.single_add_to_cart_button,
.pdp-buy-now,
.pdp-purchase-buttons .button,
form.cart .pdp-purchase-buttons .button,
.pdp-purchase-buttons button,
.pdp-purchase-buttons a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 24px !important;
  border-radius: 14px !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease !important;
}

/* Primary "Add to Cart" */
.single_add_to_cart_button,
.pdp-purchase-buttons .single_add_to_cart_button,
button.single_add_to_cart_button {
  background: linear-gradient(135deg, #1fa2ff 0%, #1270e3 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(124, 212, 255, 0.45) !important;
  box-shadow: 0 8px 24px rgba(18, 112, 227, 0.42), 0 0 20px rgba(56, 189, 248, 0.25) !important;
}

.single_add_to_cart_button::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 60% !important;
  height: 100% !important;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%) !important;
  transform: skewX(-22deg) !important;
  animation: pdpShimmerPulse 3.5s infinite ease-in-out !important;
  pointer-events: none !important;
}

@keyframes pdpShimmerPulse {
  0% { left: -100%; }
  30% { left: 180%; }
  100% { left: 180%; }
}

.single_add_to_cart_button:hover,
.single_add_to_cart_button:focus-visible {
  transform: translateY(-2px) scale(1.01) !important;
  background: linear-gradient(135deg, #38bdf8 0%, #167ffc 100%) !important;
  border-color: #55c5ff !important;
  color: #ffffff !important;
  box-shadow: 0 12px 32px rgba(22, 127, 252, 0.55), 0 0 24px rgba(55, 179, 255, 0.45) !important;
}

.single_add_to_cart_button:active {
  transform: translateY(1px) scale(0.98) !important;
  box-shadow: 0 4px 14px rgba(18, 112, 227, 0.4) !important;
}

/* Secondary "Buy Now" */
.pdp-buy-now,
.pdp-purchase-buttons .pdp-buy-now {
  background: linear-gradient(135deg, rgba(31, 162, 255, 0.24) 0%, rgba(18, 112, 227, 0.34) 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(124, 212, 255, 0.75) !important;
  box-shadow: 0 4px 14px rgba(18, 112, 227, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.pdp-buy-now:hover,
.pdp-buy-now:focus-visible {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.42) 0%, rgba(18, 112, 227, 0.55) 100%) !important;
  border-color: #7dd3fc !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 6px 22px rgba(18, 112, 227, 0.5), 0 0 18px rgba(56, 189, 248, 0.45) !important;
}

.pdp-buy-now:active {
  transform: translateY(1px) scale(0.98) !important;
}

/* Delivery & Secondary Actions */
.pdp-delivery {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-delivery::before {
  content: "⚡";
  font-size: 1rem;
}

.pdp-secondary-actions {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}

.pdp-secondary-actions button {
  border: 0;
  background: none;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.pdp-secondary-actions button:hover {
  color: #38bdf8;
}

/* ── Assurances Strip (.pdp-trust) ───────────────────────── */
.pdp-trust {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(56, 189, 248, 0.2);
  margin: 36px auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.pdp-trust div {
  padding: 20px 12px;
  text-align: center;
  background: rgba(5, 16, 33, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pdp-trust strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.pdp-trust span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

/* ── Product Tabs ────────────────────────────────────────── */
.pdp-tabs {
  margin-top: 24px;
  border: 1px solid rgba(83, 198, 255, 0.24);
  border-radius: 20px;
  padding: 24px 28px 28px;
  background: linear-gradient(160deg, rgba(10, 28, 53, 0.94), rgba(4, 12, 26, 0.98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.wc-tabs {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  border-bottom: 1px solid rgba(83, 198, 255, 0.18);
  overflow-x: auto;
}

.wc-tabs li button,
.wc-tabs li a {
  display: block;
  text-decoration: none;
  padding: 12px 0 16px;
  border: 0;
  background: none;
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.wc-tabs li button:hover,
.wc-tabs li a:hover {
  color: #e2e8f0;
}

.wc-tabs li.active button,
.wc-tabs li.active a {
  color: #38bdf8;
}

.wc-tabs li.active button::after,
.wc-tabs li.active a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2.5px;
  background: #38bdf8;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

.pdp-tab-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
}

.wc-tab {
  display: none !important;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.75;
}

.wc-tab.is-active {
  display: block !important;
}

.pdp-assurance {
  padding: 20px;
  border: 1px solid rgba(83, 198, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-self: start;
}

.pdp-assurance div strong {
  display: block;
  font-size: 0.88rem;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.pdp-assurance div span {
  display: block;
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* ── Bulk Orders Section ─────────────────────────────────── */
.bulk-panel,
.pdp-bulk-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  border: 1px solid rgba(83, 198, 255, 0.28);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(14, 39, 72, 0.8), rgba(4, 14, 30, 0.95));
  margin: 48px 0 24px;
}

.bulk-panel .kicker,
.pdp-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 6px;
}

.bulk-panel h2 {
  font-size: 1.85rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 10px;
}

.bulk-panel p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 16px;
  max-width: 580px;
}

.bulk-benefits,
.pdp-bulk-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bulk-benefits span,
.pdp-bulk-benefits span {
  font-size: 0.76rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 999px;
  padding: 4px 12px;
}

.cta-row,
.pdp-bulk-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.btn.primary.pdp-bulk-primary,
.button.pdp-bulk-primary {
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1fa2ff, #1270e3);
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.88rem;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 18px rgba(18, 112, 227, 0.35);
  transition: all 0.25s ease;
}

.btn.primary.pdp-bulk-primary:hover,
.button.pdp-bulk-primary:hover {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.45);
}

.btn.pdp-bulk-secondary,
.button.pdp-bulk-secondary {
  padding: 12px 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(83, 198, 255, 0.3);
  color: #f1f5f9;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
}

.btn.pdp-bulk-secondary:hover,
.button.pdp-bulk-secondary:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
}

/* ── Section Dividers & Tabs Cleaning ────────────────────── */
.pdp-section-divider {
  display: block;
  width: min(680px, 82vw);
  height: 3px;
  margin: 48px auto;
  background: linear-gradient(90deg, transparent, rgba(74, 187, 255, 0.22) 18%, rgba(122, 220, 255, 0.88) 50%, rgba(74, 187, 255, 0.22) 82%, transparent);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(35, 169, 255, 0.22);
  clear: both;
}

.pdp-tabs::before,
.pdp-tabs::after,
.pdp-trust::before,
.pdp-trust::after,
.woocommerce-tabs::before,
.woocommerce-tabs::after,
.wc-tabs-wrapper::before,
.wc-tabs-wrapper::after,
.pdp-tab-layout::before,
.pdp-tab-layout::after,
.wc-tabs::before,
.wc-tabs::after {
  display: none !important;
  content: none !important;
}

.related.products {
  padding: 76px 0 80px;
}

.section-head .kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 6px;
}

.section-head h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 24px;
}

/* "You may also like" — locked to the static reference design. */
.related.products .section-head .kicker {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #8ce8ff;
  margin-bottom: 8px;
}

.related.products .section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.04;
}

.pdp-related-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pdp-related-grid li.product {
  width: auto !important;
  margin: 0 !important;
  border: 1px solid rgba(83, 198, 255, 0.22);
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(165deg, rgba(11, 30, 57, 0.97), rgba(3, 11, 25, 0.99));
  transition: transform 0.35s ease, border-color 0.4s ease, box-shadow 0.55s ease;
}

.pdp-related-grid li.product:hover {
  transform: translateY(-6px);
  border-color: #20a8ff;
  box-shadow: 0 0 32px rgba(32, 168, 255, 0.22), 0 20px 44px rgba(0, 0, 0, 0.38);
}

.pdp-related-grid a {
  text-decoration: none;
}

.pdp-related-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 13px;
  display: block;
}

.pdp-related-grid .woocommerce-loop-product__title {
  font-size: 1rem !important;
  color: #ffffff !important;
  margin: 12px 0 8px !important;
}

.pdp-related-grid .price {
  color: #2aa8ff !important;
  font-weight: 800;
}

.pdp-related-grid del {
  color: #8b96a3;
  margin-left: 6px;
}

.pdp-related-grid .button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  min-height: 38px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid rgba(42, 174, 255, 0.44) !important;
  border-radius: 8px;
  background: linear-gradient(180deg, #168ef0, #0758ac) !important;
  color: #ffffff !important;
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 420ms ease, border-color 320ms ease, filter 320ms ease;
}

.pdp-related-grid .button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.3) 48%, transparent 68%);
  transform: translateX(-125%);
  transition: transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pdp-related-grid .button:hover,
.pdp-related-grid .button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(32, 168, 255, 0.34), 0 12px 28px rgba(0, 0, 0, 0.28);
  filter: brightness(1.08);
}

.pdp-related-grid .button:hover::before,
.pdp-related-grid .button:focus-visible::before {
  transform: translateX(125%);
}

.pdp-related-grid .button:active {
  transform: translateY(-1px) scale(0.985);
}

@media (prefers-reduced-motion: reduce) {
  .pdp-related-grid .button,
  .pdp-related-grid .button::before {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 760px) {
  .related.products .section-head h2 {
    font-size: clamp(31px, 9vw, 41px);
    line-height: 1.06;
  }
}

/* ── Lightbox & Toast ────────────────────────────────────── */
.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
  padding: 30px;
  backdrop-filter: blur(12px);
}

.pdp-lightbox[hidden] {
  display: none;
}

.pdp-lightbox img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.pdp-lightbox button {
  position: absolute;
  right: 28px;
  top: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(83, 198, 255, 0.4);
  background: #07162b;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-quantity-toast {
  position: fixed;
  z-index: 9999;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100vw - 32px));
  padding: 16px 20px;
  border: 1px solid rgba(83, 198, 255, 0.48);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(11, 31, 58, 0.98), rgba(3, 11, 25, 0.99));
  color: #f4f8fd;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 28px rgba(32, 168, 255, 0.2);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pdp-quantity-toast[hidden] {
  display: none;
}

.pdp-quantity-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pdp-quantity-toast strong {
  display: block;
  color: #38bdf8;
  margin-bottom: 4px;
}

.pdp-quantity-toast span {
  display: block;
  color: #cbd5e1;
  font-size: 0.82rem;
}

/* ── Mobile Sticky Buy Bar ───────────────────────────────── */
.pdp-mobile-buy {
  display: none;
}

@media (max-width: 768px) {
  .pdp-mobile-buy {
    position: fixed;
    z-index: 900;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 14px max(10px, env(safe-area-inset-bottom));
    background: rgba(3, 10, 22, 0.96);
    border-top: 1px solid rgba(83, 198, 255, 0.34);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
  }

  .pdp-mobile-buy div {
    display: flex;
    flex-direction: column;
  }

  .pdp-mobile-buy strong {
    color: #38bdf8;
    font-size: 1.15rem;
    font-weight: 800;
  }

  .pdp-mobile-buy del {
    color: #64748b;
    font-size: 0.72rem;
  }

  .pdp-mobile-buy .button,
  .pdp-mobile-buy button,
  .pdp-mobile-buy a {
    height: 44px !important;
    min-height: 44px !important;
    font-size: 0.82rem !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    text-decoration: none !important;
  }
}

/* ── Responsive Breakpoints ──────────────────────────────── */
@media (max-width: 1024px) {
  .pdp-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pdp-tab-layout {
    grid-template-columns: 1fr;
  }

  .pdp-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bulk-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .cta-row {
    width: 100%;
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  .breadcrumbs.woocommerce-breadcrumb,
  .pdp-breadcrumb {
    padding: 12px 0 16px;
    font-size: 0.76rem;
  }

  .pdp-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pdp-thumbs {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    gap: 8px;
    scrollbar-width: none;
  }

  .pdp-thumbs::-webkit-scrollbar {
    display: none;
  }

  .pdp-thumb {
    min-width: 64px;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    scroll-snap-align: start;
    border-radius: 10px;
    padding: 3px;
  }

  .pdp-visual-actions {
    top: 10px;
    right: 10px;
  }

  .pdp-3d-btn {
    height: 36px;
    padding: 0 12px 0 10px;
    font-size: 0.74rem;
  }

  .ar-gallery-custom-badge {
    top: 10px;
    left: 10px;
    padding: 4px 10px 4px 8px;
  }

  .ar-gallery-custom-badge-pill {
    font-size: 0.7rem;
  }

  .pdp-main-visual {
    min-height: 280px;
    max-height: 360px;
    padding: 20px 16px 50px;
    border-radius: 16px;
  }

  .pdp-main-visual figure img {
    max-height: 260px;
  }

  .pdp-gallery-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .pdp-gallery-feature {
    padding: 8px 10px;
    font-size: 0.74rem;
  }

  .pdp-summary .product_title {
    font-size: clamp(1.5rem, 5.5vw, 1.95rem);
    line-height: 1.22;
  }

  .pdp-highlights {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pdp-purchase-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .pdp-purchase-buttons .button,
  .pdp-purchase-buttons button,
  .ar-start-design-btn {
    min-height: 48px !important;
    font-size: 0.88rem !important;
  }

  .pdp-trust {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pdp-trust div:last-child {
    grid-column: 1 / -1;
  }

  .pdp-assurance {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pdp-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  body {
    padding-bottom: 74px;
  }
}

@media (max-width: 480px) {
  .pdp-purchase-buttons {
    grid-template-columns: 1fr;
  }

  .pdp-print-mode-options {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
  }

  .pdp-main-visual {
    min-height: 250px;
    max-height: 320px;
  }

  .pdp-main-visual figure img {
    max-height: 220px;
  }
}

/* ==========================================================================
   PDP Gallery Navigation: Prev/Next Circular Arrows & Dots Over Main Image
   ========================================================================== */

.pdp-main-visual {
  position: relative;
}

.pdp-gallery-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 12;
}

.pdp-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  z-index: 14;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(83, 198, 255, 0.32);
  border-radius: 50%;
  background: rgba(5, 17, 34, 0.72);
  backdrop-filter: blur(6px);
  color: #d9e8f7;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.pdp-gallery-arrow:hover,
.pdp-gallery-arrow:focus-visible {
  opacity: 1;
  background: rgba(12, 38, 68, 0.95);
  border-color: #38bdf8;
  transform: translateY(-50%) scale(1.08);
}

.pdp-gallery-arrow--prev {
  left: 14px;
}

.pdp-gallery-arrow--next {
  right: 14px;
}

.pdp-gallery-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pdp-gallery-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  max-width: calc(100% - 110px);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(5, 17, 34, 0.62);
  backdrop-filter: blur(6px);
  overflow-x: auto;
  scrollbar-width: none;
}

.pdp-gallery-dots::-webkit-scrollbar {
  display: none;
}

.pdp-gallery-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(148, 183, 217, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.pdp-gallery-dot:hover {
  background: rgba(148, 183, 217, 0.6);
}

.pdp-gallery-dot.is-active {
  width: 22px;
  border-radius: 4px;
  background: #38bdf8;
}

@media (max-width: 760px) {
  .pdp-gallery-arrow {
    width: 38px;
    height: 38px;
  }
  .pdp-gallery-arrow--prev {
    left: 8px;
  }
  .pdp-gallery-arrow--next {
    right: 8px;
  }
}

/* ==========================================================================
   Reviews Tab & Subcategory Review Wall (Refined Glassmorphism UI)
   ========================================================================== */

.pdp-reviews {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pdp-reviews-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
}

.pdp-reviews-head .pdp-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #38bdf8;
  margin: 0;
}

.pdp-reviews-head h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.01em;
}

.pdp-reviews-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #94a3b8;
  margin: 0;
}

.pdp-reviews-count-stars {
  color: #f59e0b;
  font-size: 1rem;
}

/* Empty State Card */
.pdp-reviews-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px dashed rgba(56, 189, 248, 0.25);
  backdrop-filter: blur(10px);
}

.pdp-reviews-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.pdp-reviews-empty-content strong {
  display: block;
  font-size: 1rem;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.pdp-reviews-empty-content p {
  margin: 0;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Reviews Grid & Cards */
.pdp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.pdp-review-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.16);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pdp-review-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.35);
}

.pdp-review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pdp-review-stars .star-rating {
  color: #f59e0b;
  font-size: 0.95rem;
}

.pdp-review-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  letter-spacing: 0.04em;
}

.pdp-review-text {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.65;
  flex-grow: 1;
}

.pdp-review-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.8rem;
  color: #64748b;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pdp-review-meta strong {
  color: #e2e8f0;
  font-weight: 600;
}

.pdp-review-meta a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s;
}

.pdp-review-meta a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* Login CTA Card for Guests */
.pdp-review-login-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.09) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  margin-top: 16px;
}

.pdp-review-login-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  flex-shrink: 0;
}

.pdp-review-login-icon svg {
  width: 24px;
  height: 24px;
}

.pdp-review-login-body {
  flex-grow: 1;
}

.pdp-review-login-body strong {
  display: block;
  font-size: 1.05rem;
  color: #f8fafc;
  margin-bottom: 4px;
}

.pdp-review-login-body p {
  margin: 0;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

.pdp-review-login-btn {
  white-space: nowrap;
  padding: 11px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.pdp-review-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
}

/* Review Form Styling */
.pdp-review-form {
  margin-top: 24px !important;
  padding: 26px 28px !important;
  border-radius: 18px;
  background: rgba(10, 25, 47, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.pdp-review-form .comment-reply-title {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.pdp-review-form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.pdp-review-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 8px;
}

.pdp-review-form label .required {
  color: #f43f5e;
  margin-left: 3px;
}

/* Interactive Star Rating Selector */
.pdp-star-rating-select {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pdp-stars-interactive {
  display: inline-flex;
  gap: 6px;
}

.pdp-stars-interactive .star-btn {
  font-size: 1.85rem;
  line-height: 1;
  color: #334155;
  cursor: pointer;
  user-select: none;
  transition: color 0.18s ease, transform 0.18s ease, text-shadow 0.18s ease;
  padding: 2px 4px;
}

.pdp-stars-interactive .star-btn:hover,
.pdp-stars-interactive .star-btn.is-hovered {
  color: #fbbf24;
  transform: scale(1.15);
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

.pdp-stars-interactive .star-btn.is-active {
  color: #f59e0b;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.pdp-rating-hidden-select {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.pdp-rating-feedback {
  font-size: 0.88rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* Review Textarea */
.comment-form-comment textarea {
  width: 100%;
  max-width: 600px;
  min-height: 110px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(3, 14, 30, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #f1f5f9;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}

.comment-form-comment textarea:focus {
  outline: none;
  border-color: #38bdf8;
  background: rgba(3, 14, 30, 0.9);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.comment-form-comment textarea::placeholder {
  color: #64748b;
}

/* Submit Review Button */
.pdp-review-form .form-submit {
  margin: 0;
}

.pdp-review-form .form-submit input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pdp-review-form .form-submit input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(14, 165, 233, 0.6);
  filter: brightness(1.08);
}

.pdp-review-form .form-submit input[type="submit"]:active {
  transform: translateY(0);
}

.pdp-reviews-more-wrap {
  margin-top: 12px;
}

.pdp-reviews-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #38bdf8;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.pdp-reviews-more:hover {
  color: #7dd3fc;
  gap: 12px;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .pdp-review-login-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdp-review-login-btn {
    width: 100%;
    text-align: center;
  }

  .comment-form-comment textarea {
    max-width: 100%;
  }

  .pdp-review-form {
    padding: 20px !important;
  }
}


/* ==========================================================================
   Reviews — contrast, text placement and sticky-header anchoring
   ========================================================================== */

/* Anchoring: #reviews scrolled flush to the viewport top, i.e. underneath the
   96px sticky header. Reserve that space instead. */
#reviews,
.pdp-tabs,
.pdp-reviews {
  scroll-margin-top: 120px;
}

/* Header: rating, then count, on a readable line. */
.pdp-reviews-count {
  flex-wrap: wrap;
  color: #b6c6d8;
  margin-top: 4px;
}

.pdp-reviews-count .star-rating {
  color: #f59e0b;
  font-size: 0.95rem;
}

.pdp-reviews-count-value {
  font-weight: 700;
  color: #f1f5f9;
}

.pdp-reviews-empty-content p,
.pdp-review-text {
  color: #cbd5e1;
}

.pdp-review-meta {
  color: #94a3b8;
}

.comment-form-comment textarea::placeholder {
  color: #8298b0;
}

/* Form: WordPress' own "posting as" line sat unstyled against the card. */
.pdp-review-form .logged-in-as {
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
  font-size: 0.88rem;
  color: #a8bdd2;
}

.pdp-review-form .logged-in-as a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
}

.pdp-review-form .logged-in-as a:hover {
  text-decoration: underline;
}

.pdp-review-form label {
  color: #cbd5e1;
}

/* Stars and their feedback pill were sharing a row and colliding on narrow
   columns; give the pill its own line under the stars. */
.pdp-star-rating-select {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.pdp-rating-feedback {
  color: #7dd3fc;
}

/* ==========================================================================
   "You may also like" — equal-height cards, aligned prices and CTAs
   ========================================================================== */

.pdp-related-grid {
  align-items: stretch;
}

/* Cards were sized by their own content, so a two-line title pushed that card's
   price and button below its neighbours'. Flex the column and pin the CTA. */
.pdp-related-grid li.product {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  overflow: hidden;
}

.pdp-related-grid .woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  color: inherit;
}

.pdp-related-grid img {
  aspect-ratio: 1;
  object-fit: cover;
  background: #0a1930;
}

.pdp-related-grid .woocommerce-loop-product__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  line-height: 1.3;
  font-weight: 600 !important;
}

.pdp-related-grid .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 2px !important;
  font-size: 1.02rem;
}

.pdp-related-grid del {
  margin-left: 0;
  font-size: 0.88rem;
  opacity: 0.85;
}

/* Matches WooCommerce's own `.woocommerce a.button` specificity so the stock
   grey pill can't win once woocommerce.css loads after this sheet. */
.pdp-related-grid li.product a.button,
.pdp-related-grid li.product a.button:visited {
  margin-top: auto;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(180deg, #168ef0, #0758ac) !important;
  color: #ffffff !important;
}

@media (max-width: 760px) {
  .pdp-related-grid .woocommerce-loop-product__title {
    font-size: 0.92rem !important;
  }
}

.pdp-rating .pdp-rating-none {
  color: #9fb6cb;
  font-size: 0.9rem;
  text-decoration: none;
}

.pdp-rating .pdp-rating-none:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* The bare `header` selector in style.css used to hand every <header> in the
   theme the site header's sticky dark bar; these headers sit on the page. */
.pdp-reviews-head,
.pdp-review-card-header {
  position: static;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  z-index: auto;
}

/* Same bleed from the bare `footer` selector in style.css (the site footer's
   dark bar + padding + flex auto-margin) landing on this review card's own
   <footer>, which made the author/product line sit in a near-black box that
   didn't match the card. */
.pdp-review-meta {
  padding: 10px 0 0;
  margin-top: 0;
  background: transparent;
}
