/* Luminiosa - PulseRelief X™ Product Page Styles */

/* ========== CSS VARIABLES ========== */
:root {
  --pdp-navy: #0A2B4C;
  --pdp-white: #F8F9FA;
  --pdp-coral: #FF7A59;
  --pdp-coral-hover: #E86A4A;
  --pdp-blue: #A2C1D9;
  --pdp-grey: #EDEFF1;
  --pdp-success: #2D8B5F;
  --pdp-error: #DC3545;
  --pdp-gold: #FFB800;
  --pdp-text: #0A2B4C;
  --pdp-text-muted: #5A6B7D;
  
  --shadow-sm: 0 2px 8px rgba(10, 43, 76, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 43, 76, 0.12);
  --shadow-lg: 0 16px 48px rgba(10, 43, 76, 0.16);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

/* ========== PAGE BASE ========== */
/* Global box-sizing for PDP */
.pdp-page,
.pdp-page *,
.pdp-page *::before,
.pdp-page *::after {
  box-sizing: border-box;
}

.pdp-page {
  background-color: var(--pdp-white);
  overflow-x: hidden;
}

/* ========== SECTION UTILITIES ========== */
.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--pdp-coral);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--pdp-navy);
  text-align: center;
  margin-bottom: 2rem;
}

.section-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--pdp-navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-intro {
  font-size: 1.125rem;
  color: var(--pdp-text-muted);
  line-height: 1.7;
  max-width: 48rem;
  margin-bottom: 2rem;
}

.headline-accent {
  color: var(--pdp-coral);
}

/* ========== HERO SECTION ========== */
.pdp-hero {
  padding: 1.5rem 0 3rem;
  background: linear-gradient(180deg, var(--pdp-blue) 0%, var(--pdp-white) 50%);
  overflow-x: hidden;
}

.pdp-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .pdp-hero {
    padding: 2rem 0 4rem;
  }
  
  .pdp-hero-grid {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
  }
}

@media (min-width: 1280px) {
  .pdp-hero .container {
    max-width: 1360px;
    padding: 0 2rem;
  }
  
  .pdp-hero-grid {
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: 2.5rem;
  }
}

/* ========== GALLERY ========== */
.pdp-gallery {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
  color: var(--pdp-navy);
}

.gallery-nav:hover {
  background: var(--pdp-coral);
  color: white;
}

.gallery-nav.prev {
  left: 0.75rem;
}

.gallery-nav.next {
  right: 0.75rem;
}

/* Mobile gallery navigation - always visible */
@media (max-width: 767px) {
  .gallery-nav {
    width: 36px;
    height: 36px;
  }
  
  .gallery-nav.prev {
    left: 0.5rem;
  }
  
  .gallery-nav.next {
    right: 0.5rem;
  }
}

.gallery-swipe-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(10, 43, 76, 0.85);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  animation: fadeInOut 4s ease-in-out forwards;
}

.gallery-swipe-hint svg {
  animation: bounce-right 1s ease-in-out infinite;
}

@keyframes bounce-right {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}

@media (min-width: 768px) {
  .gallery-swipe-hint {
    display: none;
  }
}

.gallery-thumbs-wrapper {
  margin-top: 1rem;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  box-sizing: border-box;
}

.thumbs-nav {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--pdp-grey);
  border-radius: 50%;
  cursor: pointer;
  color: var(--pdp-navy);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.thumbs-nav:hover {
  background: var(--pdp-coral);
  color: white;
  border-color: var(--pdp-coral);
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.25rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 80px);
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .gallery-thumbs-wrapper {
    max-width: 100%;
  }
}

.gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: var(--pdp-grey);
  border-radius: 3px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--pdp-coral);
  border-radius: 3px;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 90px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  scroll-snap-align: start;
  background: white;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  border-color: var(--pdp-blue);
}

.gallery-thumb.active {
  border-color: var(--pdp-coral);
  box-shadow: 0 0 0 2px rgba(255, 122, 89, 0.3);
}

@media (min-width: 640px) {
  .gallery-thumb {
    width: 80px;
    height: auto;
  }
}

@media (min-width: 768px) {
  .gallery-thumb {
    width: 88px;
    height: auto;
  }
}

@media (min-width: 1024px) {
  .gallery-thumb {
    width: 72px;
    height: auto;
  }
}

/* ========== BUY BOX ========== */
.pdp-buybox {
  background: white;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .pdp-buybox {
    padding: 2rem;
    position: sticky;
    top: 1rem;
  }
}

.buybox-logo {
  margin-bottom: 0.75rem;
}

.product-logo {
  height: 22px;
  width: auto;
}

.buybox-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars svg {
  width: 14px;
  height: 14px;
}

.rating-text {
  font-size: 0.75rem;
  color: var(--pdp-text-muted);
}

.rating-text strong {
  color: var(--pdp-navy);
}

.buybox-headline {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--pdp-navy);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.buybox-subheadline {
  font-size: 1.0625rem;
  color: var(--pdp-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.benefits-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pdp-navy);
  margin-bottom: 0.75rem;
}

.buybox-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.buybox-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--pdp-text);
  border-bottom: 1px solid rgba(237, 239, 241, 0.6);
}

.buybox-benefits li:last-child {
  border-bottom: none;
}

.buybox-benefits li svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 22px;
  height: 22px;
}

.buybox-benefits li span {
  flex: 1;
}

.buybox-benefits li strong {
  color: var(--pdp-navy);
}

/* Price */
.buybox-price {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #FFF9F5 0%, #FFF5EE 100%);
  border: 2px solid rgba(255, 122, 89, 0.2);
  border-radius: var(--radius-md);
}

/* Selected variant indicator */
.price-selected-variant {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.selected-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--pdp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.selected-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--pdp-coral);
}

.selected-qty {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pdp-text-muted);
}

/* Main price display */
.price-main {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}

.price-current {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--pdp-coral);
  line-height: 1;
}

.price-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--pdp-text-muted);
}

.price-old {
  font-size: 1rem;
  color: var(--pdp-text-muted);
  text-decoration: line-through;
  margin-left: 0.5rem;
}

/* Savings row */
.price-savings {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.savings-badge {
  background: var(--pdp-success);
  color: white;
  padding: 0.3125rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.savings-amount {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pdp-navy);
}

.savings-vs {
  font-weight: 400;
  color: var(--pdp-text-muted);
  text-decoration: line-through;
}

/* Variants - Horizontal Cards */
.buybox-variants {
  margin-bottom: 1.5rem;
}

.variants-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pdp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.variant-cards-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 639px) {
  .variant-cards-horizontal {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }
}

.variant-card-h {
  position: relative;
  cursor: pointer;
}

.variant-card-h input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant-card-h .card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.75rem 1rem;
  background: white;
  border: 2px solid var(--pdp-grey);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  height: 100%;
}

@media (max-width: 639px) {
  .variant-card-h .card-inner {
    flex-direction: row;
    text-align: left;
    padding: 0.875rem 1rem;
    gap: 1rem;
  }
}

.variant-card-h:hover .card-inner {
  border-color: var(--pdp-blue);
}

.variant-card-h input:checked + .card-badge + .card-inner,
.variant-card-h input:checked + .card-inner {
  border-color: var(--pdp-coral);
  border-width: 3px;
  box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.15), 0 8px 24px rgba(255, 122, 89, 0.2);
  background: linear-gradient(180deg, #FFF5F0 0%, #FFFFFF 100%);
  transform: scale(1.02);
}

/* Selected indicator checkmark */
.variant-card-h input:checked + .card-badge + .card-inner::before,
.variant-card-h input:checked + .card-inner::before {
  content: '✓';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  background: var(--pdp-coral);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 122, 89, 0.4);
  z-index: 10;
}

.variant-card-h .card-inner {
  position: relative;
}

/* Badges */
.card-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--pdp-navy);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  z-index: 1;
}

@media (max-width: 639px) {
  .card-badge {
    left: 1rem;
    transform: none;
  }
}

.card-badge svg {
  flex-shrink: 0;
}

.card-badge--gold {
  background: linear-gradient(135deg, #FFB800 0%, #E6A000 100%);
  color: var(--pdp-navy);
}

/* Card Image */
.card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
  background: var(--pdp-grey);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

@media (max-width: 639px) {
  .card-image {
    width: 64px;
    height: 64px;
    margin-bottom: 0;
    padding: 0.375rem;
  }
}

/* Card Content */
.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
}

@media (max-width: 639px) {
  .card-content {
    align-items: flex-start;
  }
}

.card-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--pdp-navy);
}

.card-qty {
  font-size: 0.75rem;
  color: var(--pdp-text-muted);
}

.card-unit-price {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--pdp-coral);
  margin-top: 0.25rem;
}

.card-unit-price .unit {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pdp-text-muted);
}

.card-savings {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.125rem 0.5rem;
  background: rgba(45, 139, 95, 0.1);
  color: var(--pdp-success);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.card-savings--gold {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFE082 100%);
  color: #B8860B;
}

/* Card Footer */
.card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  width: 100%;
}

@media (max-width: 639px) {
  .card-footer {
    padding-top: 0;
    width: auto;
    margin-left: auto;
    display: flex;
    align-items: center;
  }
}

.card-total {
  font-size: 0.75rem;
  color: var(--pdp-text-muted);
  font-weight: 500;
}

/* Popular variant highlight */
.variant-card-h.popular .card-inner {
  border-color: var(--pdp-blue);
}

/* Best value variant highlight */
.variant-card-h.best-value .card-inner {
  border-color: #E6A000;
}

/* Add to Cart Button */
.btn-atc {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pdp-coral) 0%, #E86A4A 100%);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 122, 89, 0.4);
}

.btn-atc:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 122, 89, 0.5);
}

.btn-atc:active {
  transform: translateY(0);
}

.atc-text {
  flex: 1;
  text-align: left;
}

.atc-price-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  margin-left: 0.5rem;
}

.atc-price {
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

@media (max-width: 479px) {
  .btn-atc {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
  }
  
  .atc-text {
    font-size: 0.9375rem;
    text-align: center;
  }
  
  .atc-price-wrapper {
    margin-left: 0;
    padding: 0.25rem 0.75rem;
  }
  
  .atc-price {
    font-size: 0.875rem;
  }
}

/* Confirmation Message */
.atc-confirmation {
  text-align: center;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--pdp-text-muted);
  margin-top: 0.75rem;
  padding: 0 1rem;
  line-height: 1.5;
}

/* Delivery Estimator */
.delivery-estimator {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(45, 139, 95, 0.08) 0%, rgba(45, 139, 95, 0.03) 100%);
  border: 1px solid rgba(45, 139, 95, 0.15);
  border-radius: var(--radius-md);
}

.delivery-icon {
  flex-shrink: 0;
  color: var(--pdp-success);
  margin-top: 1px;
}

.delivery-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--pdp-navy);
  margin: 0;
}

.delivery-text strong {
  color: var(--pdp-success);
  font-weight: 700;
}

/* USP Strip */
.buybox-usps {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--pdp-grey);
  width: 100%;
  box-sizing: border-box;
}

.usp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  text-align: center;
  flex: 1;
  min-width: 0; /* Allow shrinking */
}

.usp-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.usp-item span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--pdp-text-muted);
  line-height: 1.35;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (min-width: 480px) {
  .usp-icon-img {
    width: 40px;
    height: 40px;
  }
  
  .usp-item span {
    font-size: 0.75rem;
  }
}

@media (min-width: 640px) {
  .buybox-usps {
    gap: 1rem;
  }
  
  .usp-icon-img {
    width: 48px;
    height: 48px;
  }
  
  .usp-item span {
    font-size: 0.8125rem;
    line-height: 1.4;
  }
}

/* Payment Methods */
.buybox-payment {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pdp-grey);
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.payment-label {
  font-size: 0.75rem;
  color: var(--pdp-text-muted);
  font-weight: 500;
  width: 100%;
  text-align: center;
  margin-bottom: 0.25rem;
}

.payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

@media (min-width: 480px) {
  .buybox-payment {
    gap: 0.75rem;
  }
  
  .payment-label {
    width: auto;
    margin-bottom: 0;
  }
  
  .payment-icons {
    gap: 0.5rem;
  }
}

.payment-icons .payment-icon {
  height: 24px;
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .payment-icons .payment-icon {
    height: 28px;
  }
}

.payment-cod {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--pdp-navy);
  background: var(--pdp-grey);
  padding: 0.3125rem 0.5rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .payment-cod {
    font-size: 0.75rem;
    padding: 0.375rem 0.625rem;
  }
}

/* ========== PRODUCT DETAILS ACCORDION ========== */
.product-details-accordion {
  margin-top: 1.5rem;
}

/* Desktop only / Mobile only toggles */
.product-details-accordion.desktop-only {
  display: none;
}

.product-details-accordion.mobile-only {
  display: block;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--pdp-grey);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .product-details-accordion.desktop-only {
    display: block;
  }
  
  .product-details-accordion.mobile-only {
    display: none;
  }
}

/* Detail Item */
.detail-item {
  background: white;
  border: 1px solid var(--pdp-grey);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item:hover {
  border-color: var(--pdp-blue);
}

.detail-item[open] {
  border-color: var(--pdp-coral);
  box-shadow: 0 4px 16px rgba(255, 122, 89, 0.1);
}

/* Detail Question (Summary) */
.detail-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s ease;
}

.detail-question::-webkit-details-marker {
  display: none;
}

.detail-question:hover {
  background: var(--pdp-grey);
}

.detail-question span {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pdp-navy);
  flex: 1;
  padding-right: 1rem;
}

.detail-icon {
  flex-shrink: 0;
  color: var(--pdp-coral);
  transition: transform 0.3s ease;
}

.detail-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-item[open] .detail-icon {
  transform: rotate(180deg);
}

/* Detail Answer */
.detail-answer {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--pdp-grey);
  margin-top: -1px;
  background: linear-gradient(180deg, #FAFBFC 0%, white 100%);
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-answer p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--pdp-text);
  margin: 1rem 0 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.detail-answer p:first-child {
  margin-top: 1rem;
}

.detail-answer ul {
  margin: 0.75rem 0 0;
  padding-left: 0;
  list-style: none;
}

.detail-answer li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--pdp-text);
}

.detail-answer li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.875rem;
  width: 8px;
  height: 8px;
  background: var(--pdp-coral);
  border-radius: 50%;
}

.detail-answer li strong {
  color: var(--pdp-navy);
}

/* ========== CUSTOMER REVIEWS SLIDER ========== */
.reviews-slider-wrapper {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.reviews-slider-wrapper.desktop-only {
  display: none;
}

.reviews-slider-wrapper.mobile-reviews {
  display: block;
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .reviews-slider-wrapper.desktop-only {
    display: block;
  }
  
  .reviews-slider-wrapper.mobile-reviews {
    display: none;
  }
}

.reviews-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.reviews-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #FFFAF5 0%, #FFF8F0 100%);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: var(--radius-md);
  box-sizing: border-box;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.review-stars svg {
  filter: drop-shadow(0 1px 2px rgba(255, 184, 0, 0.3));
}

.review-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--pdp-navy);
  font-style: italic;
  margin: 0 0 0.875rem 0;
}

.review-author {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pdp-coral);
}

/* Reviews Navigation */
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.reviews-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: white;
  border: 1px solid var(--pdp-grey);
  border-radius: 50%;
  cursor: pointer;
  color: var(--pdp-navy);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.reviews-nav-btn:hover {
  background: var(--pdp-coral);
  border-color: var(--pdp-coral);
  color: white;
}

.reviews-nav-btn:active {
  transform: scale(0.95);
}

/* Reviews Dots */
.reviews-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pdp-grey);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.reviews-dot:hover {
  background: var(--pdp-blue);
}

.reviews-dot.active {
  background: var(--pdp-coral);
  width: 24px;
  border-radius: 4px;
}

/* Mobile adjustments for reviews */
@media (max-width: 767px) {
  .review-card {
    padding: 1rem 1.25rem;
  }
  
  .review-text {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  
  .reviews-nav-btn {
    width: 32px;
    height: 32px;
  }
  
  .reviews-dots {
    gap: 5px;
  }
  
  .reviews-dot {
    width: 6px;
    height: 6px;
  }
  
  .reviews-dot.active {
    width: 18px;
  }
}

/* ========== PAIN RECOGNITION SECTION ========== */
/* ========== USP STRIP (Dark Visual Break) ========== */
.usp-strip-dark {
  width: 100%;
  background: var(--pdp-navy);
  padding: 1.75rem 0;
}

.usp-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 0 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.usp-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: white;
  width: 100%;
}

.usp-strip-item svg {
  flex-shrink: 0;
  fill: var(--pdp-coral);
}

.usp-strip-item span {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .usp-strip-dark {
    padding: 2rem 0;
  }
  
  .usp-strip-inner {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: none;
    padding: 0 2rem;
  }
  
  .usp-strip-item {
    width: auto;
    align-items: center;
  }
  
  
  .usp-strip-item span {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .usp-strip-inner {
    gap: 4rem;
  }
  
  .usp-strip-item span {
    font-size: 1.0625rem;
  }
}

/* ========== PAIN RECOGNITION SECTION ========== */
.pain-recognition {
  width: 100%;
  padding: 3rem 0 2.5rem;
  background: var(--pdp-white);
  overflow: hidden;
}

.pain-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pdp-navy);
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.pain-strip {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.pain-strip-scroll {
  display: flex;
  gap: 1.25rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.pain-strip-scroll:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.pain-item {
  flex-shrink: 0;
  width: 140px;
}

.pain-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-item:hover img {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .pain-title {
    font-size: 1.75rem;
  }
  
  .pain-item {
    width: 180px;
  }
  
  .pain-strip-scroll {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .pain-recognition {
    padding: 4rem 0 3rem;
  }
  
  .pain-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .pain-item {
    width: 200px;
  }
  
  .pain-strip-scroll {
    gap: 1.75rem;
    animation-duration: 50s;
  }
}

/* ========== BENEFITS SECTION ========== */
.benefits-section {
  padding: 4rem 0;
  background: white;
}

.benefits-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.benefit-card {
  background: var(--pdp-grey);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--pdp-coral) 0%, #E86A4A 100%);
  border-radius: 50%;
  color: white;
}

.benefit-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--pdp-navy);
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--pdp-text-muted);
}

/* ========== MECHANISM SECTION ========== */
.mechanism-section {
  padding: 4rem 0;
  background: white;
}

.mechanism-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .mechanism-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }
}

.mechanism-content {
  /* Content is always first/left */
}

@media (min-width: 1024px) {
  .mechanism-content {
    order: 1;
  }
}

.mechanism-headline {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--pdp-navy);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.mechanism-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pdp-text);
  margin-bottom: 1rem;
}

.mechanism-text strong {
  color: var(--pdp-navy);
}

.mechanism-text--highlight {
  background: linear-gradient(135deg, #FFF9F0 0%, #FFF5EB 100%);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--pdp-coral);
  margin-top: 1.5rem;
}

.mechanism-visual {
  display: none; /* Hide on mobile - use inline image instead */
}

@media (min-width: 1024px) {
  .mechanism-visual {
    display: block;
    order: 2;
  }
}

/* Mobile-only mechanism image (between headline and text) */
.mechanism-image-mobile {
  display: block;
  margin: 1.5rem 0;
}

.mechanism-image-mobile img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (min-width: 1024px) {
  .mechanism-image-mobile {
    display: none; /* Hide on desktop - use side image instead */
  }
}

.anatomy-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  display: block;
}

@media (min-width: 1024px) {
  .anatomy-image {
    max-width: 100%;
  }
}

/* ========== HOW IT WORKS SECTION ========== */
.how-it-works-section {
  padding: 4rem 0;
  background: var(--pdp-grey);
}

.how-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.how-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.how-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
}

.how-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.how-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.how-card--heat h3 {
  color: var(--pdp-coral);
}

.how-card--impulse h3 {
  color: var(--pdp-navy);
}

.how-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pdp-text-muted);
}

.how-comparison-text {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--pdp-coral);
}

.how-comparison-text h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pdp-navy);
  margin-bottom: 0.75rem;
}

.how-comparison-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pdp-text-muted);
}

.how-comparison-text strong {
  color: var(--pdp-navy);
}

/* ========== COMPARISON SECTION (Image + Text) ========== */
.comparison-section {
  background: var(--pdp-grey);
}

.comparison-grid {
  display: grid;
  align-items: center;
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.comparison-image {
  order: 1;
}

.comparison-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (min-width: 768px) {
  .comparison-image img {
    height: 100%;
    min-height: 400px;
  }
}

.comparison-content {
  order: 2;
  padding: 2.5rem 1.5rem;
}

@media (min-width: 768px) {
  .comparison-content {
    padding: 3rem 3rem 3rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .comparison-content {
    padding: 4rem 4rem 4rem 3rem;
  }
}

.comparison-headline {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pdp-navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .comparison-headline {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .comparison-headline {
    font-size: 2rem;
  }
}

.comparison-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pdp-text);
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .comparison-content p {
    font-size: 1.0625rem;
  }
}

.comparison-content p strong {
  color: var(--pdp-navy);
}

.comparison-conclusion {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(10, 43, 76, 0.1);
  font-weight: 600;
}

.comparison-conclusion strong {
  color: var(--pdp-coral);
}

/* ========== US VS THEM COMPARISON TABLE ========== */
.us-vs-them-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #A8C5D8 0%, #C5D8E5 50%, #D9E6ED 100%);
  position: relative;
  overflow: hidden;
}

.us-vs-them-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230A2B4C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.uvt-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .uvt-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
  }
}

/* Left Content */
.uvt-content {
  max-width: 480px;
}

.uvt-headline {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--pdp-navy);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .uvt-headline {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .uvt-headline {
    font-size: 2.25rem;
  }
}

.uvt-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pdp-navy);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.uvt-text strong {
  color: var(--pdp-navy);
  opacity: 1;
}

.uvt-cta-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pdp-navy);
  margin-top: 1.5rem;
}

/* Right: Table */
.uvt-table-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(10, 43, 76, 0.15), 0 8px 20px rgba(10, 43, 76, 0.1);
  overflow: hidden;
}

.uvt-table {
  width: 100%;
  border-collapse: collapse;
}

.uvt-table thead tr {
  background: var(--pdp-navy);
}

.uvt-table th {
  padding: 1.25rem 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  vertical-align: middle;
}

.uvt-table th.feature-col {
  width: 50%;
}

.uvt-table th.us-col {
  background: linear-gradient(180deg, rgba(45, 139, 95, 0.2) 0%, rgba(45, 139, 95, 0.1) 100%);
  width: 25%;
}

.uvt-table th.them-col {
  background: linear-gradient(180deg, rgba(220, 53, 69, 0.15) 0%, rgba(220, 53, 69, 0.05) 100%);
  color: rgba(255, 255, 255, 0.7);
  width: 25%;
  font-weight: 600;
}

.uvt-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
}

.uvt-table tbody tr {
  border-bottom: 1px solid var(--pdp-grey);
  transition: background 0.2s ease;
}

.uvt-table tbody tr:last-child {
  border-bottom: none;
}

.uvt-table tbody tr:hover {
  background: rgba(10, 43, 76, 0.02);
}

.uvt-table td {
  padding: 1.125rem 1rem;
  text-align: center;
  vertical-align: middle;
}

.uvt-table td.feature-name {
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pdp-navy);
  padding-left: 1.5rem;
}

.uvt-table td.us-col {
  background: rgba(45, 139, 95, 0.04);
}

.uvt-table td.them-col {
  background: rgba(220, 53, 69, 0.03);
}

.uvt-table .check-icon {
  filter: drop-shadow(0 2px 4px rgba(45, 139, 95, 0.3));
}

.uvt-table .x-icon {
  opacity: 0.7;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .us-vs-them-section {
    padding: 3.5rem 0;
  }
  
  .uvt-table th {
    padding: 1rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .uvt-logo {
    height: 16px;
  }
  
  .uvt-table td {
    padding: 0.875rem 0.5rem;
  }
  
  .uvt-table td.feature-name {
    font-size: 0.8125rem;
    padding-left: 0.75rem;
  }
  
  .uvt-table .check-icon,
  .uvt-table .x-icon {
    width: 22px;
    height: 22px;
  }
}

/* ========== RITUAL SECTION ========== */
/* ========== RITUAL SECTION (Relaxing Evening Vibe) ========== */
.ritual-section {
  padding: 5rem 0;
  background: linear-gradient(165deg, #E8F0E9 0%, #F5F1EB 50%, #FDF8F3 100%);
  position: relative;
  overflow: hidden;
}

.ritual-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(162, 193, 217, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ritual-section .section-label {
  background: rgba(45, 90, 70, 0.1);
  color: #3D6B5A;
  display: block;
  text-align: center;
  margin: 0 auto 1rem;
  width: fit-content;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-sm);
}

.ritual-section .section-headline {
  color: #2D4A3E;
  text-align: center;
}

.ritual-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .ritual-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.ritual-step {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(45, 74, 62, 0.08);
}

.ritual-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(45, 74, 62, 0.15);
}

.ritual-step-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.ritual-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ritual-step:hover .ritual-step-image img {
  transform: scale(1.05);
}

.ritual-step-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5B8A72 0%, #3D6B5A 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(61, 107, 90, 0.3);
  font-size: 1rem;
  font-weight: 800;
  border-radius: 50%;
}

.ritual-step-content {
  padding: 1.5rem;
}

.ritual-step-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #2D4A3E;
  margin-bottom: 0.625rem;
}

.step-time {
  font-weight: 500;
  color: #5B8A72;
  font-size: 0.875rem;
}

.ritual-step-content p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #5A6B63;
}

@media (min-width: 1024px) {
  .ritual-section {
    padding: 6rem 0;
  }
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
  padding: 4rem 0;
  background: var(--pdp-blue);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.testimonials-header .section-label {
  display: inline-block;
  margin-bottom: 1rem;
}

.testimonials-section .section-label,
.testimonials-section .section-headline {
  color: var(--pdp-navy);
}

.testimonials-header .section-headline {
  margin-bottom: 0;
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.testimonial-card:hover .testimonial-image img {
  transform: scale(1.05);
}

.testimonial-content {
  padding: 1.5rem;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.875rem;
}

.testimonial-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--pdp-navy);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--pdp-text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pdp-grey);
}

.verified-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.875rem;
  font-size: 0.75rem;
  color: #2D8B5F;
  font-weight: 500;
}

.verified-badge svg {
  flex-shrink: 0;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.author-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pdp-navy);
}

.author-detail {
  font-size: 0.8125rem;
  color: var(--pdp-text-muted);
}

/* ========== RISK REVERSAL SECTION ========== */
.risk-reversal-section {
  padding: 4rem 0;
  background: white;
}

.risk-reversal-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .risk-reversal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.risk-reversal-content {
  text-align: left;
}

.guarantee-badge-large {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--pdp-success) 0%, #236B4A 100%);
  color: white;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 18px rgba(45, 139, 95, 0.3);
}

.badge-days {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

.badge-text {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.risk-headline {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--pdp-navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.risk-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--pdp-text-muted);
  margin-bottom: 1.5rem;
}

/* Tip Box */
.tip-box {
  display: flex;
  gap: 0.875rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.08) 0%, rgba(255, 193, 7, 0.04) 100%);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
}

.tip-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.tip-box p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--pdp-navy);
  margin: 0;
}

.tip-box strong {
  color: var(--pdp-navy);
}

/* Stock Status */
.stock-status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
}

.stock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.stock-status--soldout .stock-dot {
  background: #DC3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.stock-label {
  color: var(--pdp-text-muted);
  font-weight: 500;
}

.stock-value {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stock-status--soldout .stock-value {
  color: #DC3545;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.btn-large {
  padding: 1.125rem 2rem;
  font-size: 1.125rem;
}

.risk-reversal-content .btn-large {
  display: inline-block;
}

@media (max-width: 767px) {
  .risk-reversal-content .btn-large {
    display: block;
    width: 100%;
    text-align: center;
  }
}

.risk-note {
  font-size: 0.8125rem;
  color: var(--pdp-text-muted);
  margin-top: 1rem;
}

.risk-reversal-image {
  display: none; /* Hide on mobile - use inline image instead */
}

@media (min-width: 1024px) {
  .risk-reversal-image {
    display: block;
    order: 1;
  }
}

.risk-reversal-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  display: block;
}

/* Mobile-only risk reversal image (between headline and text) */
.risk-image-mobile {
  display: block;
  margin: 1.5rem 0;
}

.risk-image-mobile img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (min-width: 1024px) {
  .risk-image-mobile {
    display: none; /* Hide on desktop - use side image instead */
  }
}

/* ========== FINAL CTA / PRICING SECTION ========== */
.final-cta-section {
  padding: 5rem 0;
  background: var(--pdp-navy);
  text-align: center;
}

.final-cta-headline {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .final-cta-headline {
    font-size: 2rem;
  }
}

.final-cta-subline {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 3rem;
}

.pricing-cards {
  display: grid;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }
}

.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card--popular {
  border: 2px solid var(--pdp-coral);
  box-shadow: 0 8px 30px rgba(255, 122, 89, 0.25);
}

@media (min-width: 768px) {
  .pricing-card--popular {
    transform: scale(1.05);
    z-index: 1;
  }
  
  .pricing-card--popular:hover {
    transform: scale(1.05) translateY(-4px);
  }
}

.pricing-card--value {
  border: 2px solid #D4AF37;
}

.pricing-image {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: linear-gradient(135deg, #F8F9FA 0%, #EEF1F4 100%);
  border-radius: var(--radius-md);
}

.pricing-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(10, 43, 76, 0.1));
}

.pricing-card:hover .pricing-image img {
  transform: scale(1.08);
}

@media (min-width: 768px) {
  .pricing-image {
    height: 150px;
  }
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pdp-coral);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-badge--gold {
  background: linear-gradient(135deg, #D4AF37 0%, #B8963E 100%);
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pdp-navy);
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.pricing-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--pdp-text-muted);
  margin-bottom: 1.25rem;
  min-height: 2.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
}

.pricing-price .price-current {
  font-size: 2rem;
  font-weight: 900;
  color: var(--pdp-coral);
}

.pricing-price .price-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--pdp-coral);
}

.pricing-price .price-old {
  font-size: 1rem;
  color: var(--pdp-text-muted);
  text-decoration: line-through;
  margin-left: 0.25rem;
}

.pricing-savings {
  display: inline-block;
  background: rgba(45, 139, 95, 0.1);
  color: #2D8B5F;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.pricing-savings--gold {
  background: rgba(212, 175, 55, 0.15);
  color: #9A7B2D;
}

.pricing-total {
  font-size: 0.875rem;
  color: var(--pdp-text-muted);
  margin-bottom: 1.25rem;
}

.pricing-btn {
  margin-top: auto;
  width: 100%;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--pdp-navy);
  color: var(--pdp-navy);
}

.btn-secondary:hover {
  background: var(--pdp-navy);
  color: white;
}

/* ========== FAQ SECTION ========== */
.faq-section {
  padding: 4rem 0;
  background: var(--pdp-grey);
}

.faq-section .section-headline {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--pdp-navy);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question span {
  flex: 1;
  text-align: left;
  padding-right: 1rem;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--pdp-coral);
}

.faq-item[open] .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--pdp-text-muted);
  line-height: 1.7;
  animation: slideDown 0.3s ease-out;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 0;
  padding-left: 1.25rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

/* ========== TRUST SECTION ========== */
/* Matches homepage styling from /styles.css */
.pdp-page .trust-section {
  padding: var(--space-2xl, 3rem) 0;
  background-color: var(--canvas-white, #F8F9FA);
  border-top: 1px solid rgba(10, 43, 76, 0.06);
}

.pdp-page .trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg, 1.5rem);
}

@media (min-width: 768px) {
  .pdp-page .trust-badges {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pdp-page .trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm, 0.5rem);
}

.pdp-page .trust-icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.pdp-page .trust-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--physio-navy, #0A2B4C);
}

/* ========== FOOTER OVERRIDES FOR PDP ========== */
.pdp-page .footer {
  background: var(--pdp-navy);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pdp-hero,
.pain-recognition,
.mechanism-section,
.comparison-section,
.ritual-section,
.testimonials-section,
.risk-reversal-section,
.faq-section {
  animation: fadeInUp 0.6s ease-out;
}

/* ========== MOBILE OPTIMIZATIONS ========== */
@media (max-width: 767px) {
  /* Hero section containment only */
  .pdp-hero {
    overflow-x: hidden;
  }
  
  .pdp-hero .container {
    padding: 0 1rem;
    overflow: hidden;
  }
  
  .pdp-hero-grid {
    width: 100%;
    max-width: 100%;
  }
  
  .pdp-gallery,
  .pdp-buybox {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  
  .pdp-buybox {
    padding: 1rem;
    padding-bottom: 2.5rem; /* Extra bottom padding on mobile */
  }
  
  /* Text containment */
  .buybox-headline,
  .buybox-subheadline,
  .buybox-benefits li span,
  .rating-text,
  .benefits-label,
  .variants-label {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .buybox-headline {
    font-size: 1.375rem;
    line-height: 1.25;
  }
  
  .buybox-subheadline {
    font-size: 0.9375rem;
    line-height: 1.55;
  }
  
  .rating-text {
    font-size: 0.6875rem;
    line-height: 1.4;
  }
  
  .product-logo {
    height: 18px;
  }
  
  .buybox-benefits li {
    font-size: 0.8125rem;
  }
  
  /* Price area mobile */
  .buybox-price {
    padding: 0.75rem;
  }
  
  .price-current {
    font-size: 1.5rem;
  }
  
  .price-selected-variant {
    flex-wrap: wrap;
  }
  
  .savings-amount {
    font-size: 0.75rem;
  }
  
  /* Gallery containment */
  .gallery-main {
    border-radius: var(--radius-md);
  }
  
  .gallery-thumbs-wrapper {
    padding: 0;
  }
  
  .gallery-thumbs {
    max-width: calc(100% - 70px);
  }
  
  .gallery-thumb {
    width: 56px;
    height: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 639px) {
  .pdp-hero {
    padding: 1rem 0 2rem;
  }
  
  .btn-atc {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  
  .section-headline {
    font-size: 1.5rem;
  }
  
  .comparison-table-wrapper {
    padding: 1rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8125rem;
  }
}

/* Sticky ATC for mobile */
@media (max-width: 1023px) {
  .sticky-atc-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 -4px 24px rgba(10, 43, 76, 0.15);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .sticky-atc-mobile .price-display {
    flex-shrink: 0;
  }
  
  .sticky-atc-mobile .btn-atc {
    flex: 1;
  }
}

/* ========== OOS MODE STYLES (January 2026) ========== */
/* Remove this section when product is back in stock */

/* Hide cart icon during OOS */
.pdp-page .nav-cart {
  display: none !important;
}

/* OOS Notice Styling */
.oos-notice {
  background: linear-gradient(135deg, #FFF8F6 0%, #FFF0EB 100%);
  border: 2px solid var(--pdp-coral);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-top: 1.5rem;
}

.oos-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.oos-icon svg {
  color: var(--pdp-coral);
  width: 48px;
  height: 48px;
}

.oos-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pdp-navy);
  margin: 0 0 0.5rem 0;
}

.oos-return {
  font-size: 1.125rem;
  color: var(--pdp-text-muted);
  margin: 0 0 1.5rem 0;
}

.oos-return strong {
  font-weight: 800;
  color: var(--pdp-coral);
}

.oos-notify-btn {
  width: 100%;
  max-width: 280px;
  cursor: pointer;
}

/* ========== END OOS MODE STYLES ========== */

