/**
 * EDLV Product Page Styles
 * 
 * Add to: Appearance > Customize > Additional CSS
 * OR enqueue in functions.php
 */

/* ===== CSS VARIABLES ===== */
:root {
  --edlv-plum: #662958;
  --edlv-deep-plum: #662958;
  --edlv-raspberry: #d42b62;
  --edlv-violet: #4e3f6a;
  --edlv-cream: #fff0a5;
  --edlv-blush: #ffeaf6;
  --edlv-dusty-rose: #e386bb;
  --edlv-ink: #4e3f6a;
  --edlv-muted: #4e3f6a;
  --edlv-line: rgba(78, 63, 106, 0.12);
  --edlv-white: #ffffff;
  --edlv-gray: #ffeaf6;
  --edlv-radius: 8px;
  --edlv-shadow: 0 16px 36px rgba(78, 63, 106, 0.08);
  --edlv-shadow-hover: 0 18px 40px rgba(78, 63, 106, 0.12);
}

/* ===== BASE LAYOUT ===== */
.edlv-product-main {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--edlv-ink);
  line-height: 1.6;
  background: var(--edlv-white);
}

.edlv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== PRODUCT TOP SECTION ===== */
.edlv-product-top {
  padding: 56px 0 42px;
  background: var(--edlv-white);
}

.edlv-product-top .edlv-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ===== GALLERY COLUMN ===== */
.edlv-product-gallery-col {
  position: sticky;
  top: 100px;
}

.edlv-product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
  color: var(--edlv-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.edlv-product-breadcrumb a {
  color: var(--edlv-deep-plum);
  text-decoration: none;
  transition: color 180ms ease;
}

.edlv-product-breadcrumb a:hover,
.edlv-product-breadcrumb a:focus-visible {
  color: var(--edlv-raspberry);
}

.edlv-product-breadcrumb span:last-child {
  color: var(--edlv-muted);
  font-weight: 500;
}

.edlv-product-gallery {
  background: var(--edlv-white);
  border: 1px solid var(--edlv-line);
  border-radius: var(--edlv-radius);
  padding: 14px;
  box-shadow: 0 10px 32px rgba(78, 63, 106, 0.06);
}

/* Gallery Container with Navigation */
.edlv-gallery-container {
  position: relative;
  outline: none;
}

/* Navigation Arrows */
.edlv-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--edlv-white);
  border: 1px solid var(--edlv-line);
  box-shadow: 0 8px 24px rgba(78, 63, 106, 0.14);
  cursor: pointer;
  z-index: 10;
  font-size: 26px;
  line-height: 1;
  color: var(--edlv-deep-plum);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.edlv-gallery-arrow:hover {
  background: var(--edlv-deep-plum);
  border-color: var(--edlv-raspberry);
  color: var(--edlv-white);
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 12px 30px rgba(102, 41, 88, 0.2);
}

.edlv-gallery-arrow:focus-visible {
  outline: 3px solid rgba(212, 43, 98, 0.24);
  outline-offset: 3px;
}

.edlv-gallery-prev {
  left: 10px;
}

.edlv-gallery-next {
  right: 10px;
}

/* Main Image Wrapper */
.edlv-main-image-wrapper {
  position: relative;
  border-radius: calc(var(--edlv-radius) - 4px);
  overflow: hidden;
  margin-bottom: 14px;
  aspect-ratio: 1;
  background: var(--edlv-gray);
}

.edlv-main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 260ms ease, transform 320ms ease;
  will-change: opacity, transform;
}

.edlv-main-image.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.edlv-main-image.leaving {
  opacity: 0;
  transform: translateX(-16px);
  z-index: 1;
}

.edlv-main-image.active.from-prev {
  animation: edlvSlideFromLeft 320ms ease both;
}

.edlv-main-image.active.from-next {
  animation: edlvSlideFromRight 320ms ease both;
}

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

@keyframes edlvSlideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes edlvSlideFromRight {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Gallery Thumbnails */
.edlv-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 10px;
}

.edlv-gallery-thumb {
  border: 1px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--edlv-gray);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
  aspect-ratio: 1;
  opacity: 0.74;
}

.edlv-gallery-thumb:hover,
.edlv-gallery-thumb:focus {
  border-color: var(--edlv-raspberry);
  transform: translateY(-2px);
  opacity: 1;
}

.edlv-gallery-thumb.active {
  border-color: var(--edlv-deep-plum);
  box-shadow: 0 2px 8px rgba(102, 41, 88, 0.15);
  opacity: 1;
}

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

/* ===== PRODUCT INFO COLUMN ===== */
.edlv-product-info-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 10px;
}

/* Category Label */
.edlv-product-category-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--edlv-raspberry);
  background: transparent;
  padding: 0;
  border-radius: 0;
  width: fit-content;
}

/* Product Title */
.edlv-product-title {
  font-family: 'Catchy Mager', Georgia, serif;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  color: var(--edlv-deep-plum);
  line-height: 1.15;
  margin: 0;
}

/* Product Details */
.edlv-product-detail-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--edlv-muted);
  margin-top: -8px;
}

.edlv-product-detail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.edlv-product-detail + .edlv-product-detail {
  position: relative;
}

.edlv-product-detail + .edlv-product-detail:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--edlv-dusty-rose);
  margin-right: 10px;
}

.edlv-product-detail strong {
  font-weight: 600;
  color: var(--edlv-ink);
}

/* Short Description */
.edlv-short-description {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(78, 63, 106, 0.86);
  max-width: 620px;
}

.edlv-short-description p {
  margin: 0 0 12px;
}

.edlv-short-description p:last-child {
  margin-bottom: 0;
}

/* Price */
.edlv-product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 4px;
}

.edlv-price-regular {
  font-size: 18px;
  color: rgba(78, 63, 106, 0.5);
  text-decoration: line-through;
}

.edlv-price-current,
.edlv-product-price .woocommerce-Price-amount {
  font-size: 28px;
  font-weight: 600;
  color: var(--edlv-raspberry);
}

/* Add to Cart - Holstee Style */
.edlv-add-to-cart-wrapper {
  margin: 8px 0 10px;
  width: 100%;
}

.edlv-cart-form {
  margin: 0;
}

.edlv-cart-row,
.edlv-add-to-cart-wrapper form.cart {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

/* Quantity Selector */
.edlv-quantity-wrap {
  display: flex;
  align-items: center;
  width: min(210px, 100%);
  border: 1px solid var(--edlv-line);
  border-radius: var(--edlv-radius);
  overflow: hidden;
  background: var(--edlv-white);
  height: 58px;
}

.edlv-qty-btn {
  width: 44px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--edlv-ink);
  font-size: 20px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edlv-qty-btn:hover {
  background: var(--edlv-gray);
  color: var(--edlv-raspberry);
}

.edlv-quantity-wrap input.qty {
  width: 50px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--edlv-ink);
  background: transparent;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: none;
}

.edlv-quantity-wrap input.qty::-webkit-outer-spin-button,
.edlv-quantity-wrap input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.edlv-add-to-cart-wrapper form.cart > .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--edlv-line);
  border-radius: var(--edlv-radius);
  overflow: hidden;
  background: var(--edlv-white);
  height: 58px;
  margin: 0;
}

.edlv-add-to-cart-wrapper form.cart > .quantity input.qty {
  width: 82px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--edlv-ink);
  background: transparent;
}

/* Add to Cart Button */
.edlv-btn-add-cart,
.edlv-add-to-cart-wrapper .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 0 36px;
  background: var(--edlv-deep-plum) !important;
  color: var(--edlv-white) !important;
  border: 1px solid var(--edlv-deep-plum) !important;
  border-radius: var(--edlv-radius);
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(102, 41, 88, 0.16);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  text-decoration: none;
}

.edlv-add-to-cart-wrapper .edlv-btn-add-cart,
.edlv-add-to-cart-wrapper .single_add_to_cart_button {
  width: 100%;
}

.edlv-add-to-cart-wrapper .single_add_to_cart_button:hover,
.edlv-btn-add-cart:hover {
  background: var(--edlv-raspberry) !important;
  border-color: var(--edlv-raspberry) !important;
  color: var(--edlv-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(212, 43, 98, 0.2);
}

.edlv-add-to-cart-wrapper .single_add_to_cart_button:active,
.edlv-add-to-cart-wrapper .single_add_to_cart_button:focus,
.edlv-add-to-cart-wrapper .single_add_to_cart_button:visited,
.edlv-add-to-cart-wrapper .single_add_to_cart_button.added,
.edlv-add-to-cart-wrapper .single_add_to_cart_button.loading,
.edlv-btn-add-cart:active,
.edlv-btn-add-cart:focus,
.edlv-btn-add-cart:visited,
.edlv-btn-add-cart.added,
.edlv-btn-add-cart.loading {
  background: var(--edlv-raspberry) !important;
  border-color: var(--edlv-raspberry) !important;
  color: var(--edlv-white) !important;
  box-shadow: 0 14px 30px rgba(212, 43, 98, 0.2) !important;
}

.edlv-add-to-cart-wrapper .single_add_to_cart_button:focus-visible,
.edlv-btn-add-cart:focus-visible {
  outline: 3px solid rgba(212, 43, 98, 0.24);
  outline-offset: 3px;
}

/* Variable Product Selects */
.edlv-add-to-cart-wrapper .variations select {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(78, 63, 106, 0.2);
  border-radius: 8px;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  background: var(--edlv-white);
  cursor: pointer;
}

.edlv-add-to-cart-wrapper .variations label {
  font-weight: 600;
  color: var(--edlv-ink);
}

/* Trust Text */
.edlv-trust-text {
  font-size: 13px;
  color: var(--edlv-muted);
  text-align: center;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--edlv-line);
}

/* Value List */
.edlv-value-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.edlv-value-list li {
  font-size: 14px;
  color: var(--edlv-ink);
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid rgba(78, 63, 106, 0.08);
}

.edlv-value-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--edlv-raspberry);
  font-weight: bold;
  font-size: 16px;
}

/* ===== ACCORDIONS ===== */
.edlv-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.edlv-accordion-list details {
  border: 1px solid var(--edlv-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--edlv-white);
  transition: border-color 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.edlv-accordion-list details[open] {
  border-color: rgba(212, 43, 98, 0.22);
  box-shadow: 0 10px 24px rgba(78, 63, 106, 0.05);
}

.edlv-accordion-list summary {
  font-family: 'Catchy Mager', Georgia, serif;
  font-variant-ligatures: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--edlv-deep-plum);
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 260ms ease, color 260ms ease;
}

.edlv-accordion-list summary:hover {
  background: var(--edlv-white);
  color: var(--edlv-raspberry);
}

.edlv-accordion-list summary::-webkit-details-marker {
  display: none;
}

.edlv-accordion-list summary:after {
  content: "+";
  font-family: 'Figtree', sans-serif;
  font-size: 20px;
  color: var(--edlv-raspberry);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), color 260ms ease;
}

.edlv-accordion-list details[open] summary:after {
  content: "\2212";
  transform: rotate(180deg);
}

.edlv-accordion-list details[open] summary {
  background: var(--edlv-white);
  color: var(--edlv-deep-plum);
  border-bottom: 1px solid rgba(212, 43, 98, 0.12);
}

.edlv-accordion-list .accordion-content {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(78, 63, 106, 0.86);
  max-height: var(--edlv-accordion-height, 0);
  overflow: hidden;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 280ms cubic-bezier(0.22, 1, 0.36, 1), padding 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.edlv-accordion-list details[open] .accordion-content {
  padding: 16px 20px 18px;
  opacity: 1;
  transform: translateY(0);
}

.edlv-accordion-list details.is-closing .accordion-content {
  padding: 0 20px;
  opacity: 0;
  transform: translateY(-4px);
}

.edlv-accordion-list .accordion-content p {
  margin: 0 0 12px;
}

.edlv-accordion-list .accordion-content p:last-child {
  margin-bottom: 0;
}

.edlv-accordion-list .accordion-content ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.edlv-accordion-list .accordion-content li {
  position: relative;
  margin-bottom: 0;
  padding-left: 22px;
}

.edlv-accordion-list .accordion-content li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--edlv-raspberry);
}

/* ===== BENEFITS SECTION ===== */
.edlv-benefits-section {
  padding: 46px 0 72px;
  background: var(--edlv-white);
}

.edlv-benefits-section h2 {
  font-family: 'Catchy Mager', Georgia, serif;
  font-variant-ligatures: none;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  color: var(--edlv-deep-plum);
  text-align: center;
  margin: 0 0 34px;
}

.edlv-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.edlv-benefit-card {
  background: var(--edlv-white);
  border-radius: var(--edlv-radius);
  padding: 18px 18px 26px;
  box-shadow: var(--edlv-shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
  text-align: center;
  overflow: hidden;
}

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

.edlv-benefit-image {
  aspect-ratio: 4 / 3;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: calc(var(--edlv-radius) - 2px);
  background: var(--edlv-blush);
}

.edlv-benefit-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 240ms ease;
}

.edlv-benefit-card:hover .edlv-benefit-image img {
  transform: scale(1.03);
}

.edlv-benefit-card h3 {
  font-family: 'Catchy Mager', Georgia, serif;
  font-variant-ligatures: none;
  font-size: 18px;
  font-weight: 500;
  color: var(--edlv-raspberry);
  margin: 0 0 10px;
}

.edlv-benefit-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(78, 63, 106, 0.8);
  line-height: 1.6;
}

/* ===== FAQ SECTION ===== */
.edlv-faq-section {
  padding: 80px 0;
  background: var(--edlv-gray);
}

.edlv-faq-section h2 {
  font-family: 'Catchy Mager', Georgia, serif;
  font-variant-ligatures: none;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  color: var(--edlv-deep-plum);
  text-align: center;
  margin: 0 0 48px;
}

.edlv-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.edlv-faq-list details {
  background: var(--edlv-white);
  border-color: rgba(78, 63, 106, 0.12);
}

.edlv-faq-list details:hover,
.edlv-faq-list details[open] {
  border-color: rgba(212, 43, 98, 0.28);
  box-shadow: 0 12px 28px rgba(102, 41, 88, 0.08);
}

.edlv-faq-list summary:hover {
  background: var(--edlv-white);
  color: var(--edlv-raspberry);
}

.edlv-faq-list details[open] summary {
  background: var(--edlv-white);
  color: var(--edlv-deep-plum);
}

.edlv-faq-list details[open] summary {
  border-bottom-color: rgba(212, 43, 98, 0.14);
}

.edlv-faq-list .accordion-content {
  background: var(--edlv-white);
}

/* ===== REVIEWS SECTION ===== */
.edlv-reviews-section {
  padding: 80px 0;
  background: var(--edlv-white);
}

.edlv-reviews-section h2 {
  font-family: 'Catchy Mager', Georgia, serif;
  font-variant-ligatures: none;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  color: var(--edlv-deep-plum);
  text-align: center;
  margin: 0 0 48px;
}

.edlv-reviews-summary {
  text-align: center;
  margin-bottom: 48px;
}

.edlv-rating-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.edlv-rating-number {
  font-family: 'Catchy Mager', Georgia, serif;
  font-variant-ligatures: none;
  font-size: 64px;
  font-weight: 500;
  color: var(--edlv-deep-plum);
  line-height: 1;
}

.edlv-stars {
  color: var(--edlv-raspberry);
  font-size: 20px;
}

.edlv-stars .star-rating {
  color: var(--edlv-raspberry);
}

.edlv-review-count {
  font-size: 14px;
  color: rgba(78, 63, 106, 0.7);
}

.edlv-reviews-list {
  max-width: 800px;
  margin: 0 auto 40px;
}

.edlv-review-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(78, 63, 106, 0.1);
}

.edlv-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.edlv-reviewer-name {
  font-weight: 600;
  color: var(--edlv-ink);
}

.edlv-verified-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--edlv-raspberry);
  background: var(--edlv-blush);
  padding: 4px 10px;
  border-radius: 999px;
}

.edlv-review-date {
  font-size: 13px;
  color: rgba(78, 63, 106, 0.6);
  margin-left: auto;
}

.edlv-review-stars {
  margin-bottom: 12px;
  color: var(--edlv-raspberry);
}

.edlv-review-content {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(78, 63, 106, 0.85);
}

.edlv-review-content p {
  margin: 0 0 12px;
}

.edlv-review-content p:last-child {
  margin-bottom: 0;
}

.edlv-review-cta,
.edlv-no-reviews {
  text-align: center;
  margin: 40px 0;
}

.edlv-no-reviews p {
  font-size: 16px;
  color: rgba(78, 63, 106, 0.7);
  margin-bottom: 20px;
}

.edlv-btn-write-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 32px;
  background: var(--edlv-white);
  color: var(--edlv-deep-plum);
  border: 2px solid var(--edlv-deep-plum);
  border-radius: 999px;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 180ms ease;
}

.edlv-btn-write-review:hover {
  background: var(--edlv-deep-plum);
  color: var(--edlv-white);
}

.edlv-review-form-wrapper {
  max-width: 800px;
  margin: 40px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(78, 63, 106, 0.1);
}

/* WooCommerce Review Form Styling */
.edlv-review-form-wrapper .comment-form-rating {
  margin-bottom: 20px;
}

.edlv-review-form-wrapper .comment-form-rating label {
  font-weight: 600;
  color: var(--edlv-ink);
  margin-bottom: 8px;
  display: block;
}

.edlv-review-form-wrapper .stars {
  display: inline-flex;
  gap: 4px;
}

.edlv-review-form-wrapper .stars a {
  color: var(--edlv-raspberry);
  font-size: 20px;
  text-decoration: none;
  transition: color 180ms ease;
}

.edlv-review-form-wrapper .stars a:hover,
.edlv-review-form-wrapper .stars a.active {
  color: var(--edlv-raspberry);
}

.edlv-review-form-wrapper textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px;
  border: 1px solid rgba(78, 63, 106, 0.2);
  border-radius: 8px;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  resize: vertical;
}

.edlv-review-form-wrapper textarea:focus {
  outline: none;
  border-color: var(--edlv-raspberry);
}

.edlv-review-form-wrapper input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 40px;
  background: var(--edlv-deep-plum);
  color: var(--edlv-white);
  border: none;
  border-radius: 999px;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.edlv-review-form-wrapper input[type="submit"]:hover {
  background: var(--edlv-raspberry);
  transform: translateY(-2px);
}

/* ===== RELATED PRODUCTS ===== */
.edlv-related-products {
  padding: 80px 0;
  background: var(--edlv-white);
}

.edlv-related-products h2 {
  font-family: 'Catchy Mager', Georgia, serif;
  font-variant-ligatures: none;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  color: var(--edlv-deep-plum);
  text-align: center;
  margin: 0 0 48px;
}

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

.edlv-related-item {
  position: relative;
  min-width: 0;
  text-align: left;
}

.edlv-related-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--edlv-radius);
  background: var(--edlv-blush);
  box-shadow: var(--edlv-shadow);
  aspect-ratio: 1;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.edlv-related-image-link,
.edlv-related-details-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.edlv-related-image-wrap:hover {
  transform: translateY(-4px);
}

.edlv-related-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease;
}

.edlv-related-item:hover img {
  transform: scale(1.03);
}

.edlv-related-item h3 {
  font-family: 'Catchy Mager', Georgia, serif;
  font-variant-ligatures: none;
  font-size: 17px;
  font-weight: 500;
  color: var(--edlv-deep-plum);
  margin: 14px 0 6px;
  line-height: 1.25;
}

.edlv-related-price {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--edlv-ink);
}

.edlv-related-price .woocommerce-Price-amount {
  color: var(--edlv-ink);
}

.edlv-related-cart-button {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--edlv-deep-plum);
  border-radius: var(--edlv-radius);
  color: var(--edlv-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
  z-index: 3;
}

.edlv-related-item:hover .edlv-related-cart-button,
.edlv-related-cart-button:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.edlv-related-cart-button:hover {
  background: var(--edlv-raspberry);
  color: var(--edlv-white);
}

.edlv-related-cart-icon {
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .edlv-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
}

@media (max-width: 768px) {
  .edlv-product-top .edlv-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .edlv-product-gallery-col {
    position: relative;
    top: 0;
  }
  
  .edlv-benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .edlv-benefit-card {
    text-align: left;
  }

  .edlv-product-top {
    padding: 32px 0 34px;
  }

  .edlv-product-gallery {
    padding: 10px;
  }

  .edlv-gallery-arrow {
    width: 38px;
    height: 38px;
  }

  .edlv-cart-row {
    grid-template-columns: 1fr;
  }

  .edlv-quantity-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .edlv-quantity-wrap input.qty {
    flex: 1;
  }

  .edlv-container {
    padding: 0 18px;
  }

  .edlv-product-top .edlv-container {
    gap: 32px;
  }

  .edlv-product-info-col {
    gap: 14px;
    padding-top: 0;
  }

  .edlv-product-title {
    font-size: clamp(30px, 10vw, 40px);
  }

  .edlv-short-description {
    font-size: 16px;
  }

  .edlv-product-detail-row {
    gap: 6px 12px;
  }

  .edlv-benefits-section,
  .edlv-faq-section,
  .edlv-reviews-section,
  .edlv-related-products {
    padding: 56px 0;
  }

  .edlv-benefits-section {
    padding-top: 38px;
  }

  .edlv-benefits-section h2,
  .edlv-faq-section h2,
  .edlv-reviews-section h2,
  .edlv-related-products h2 {
    margin-bottom: 28px;
  }

  .edlv-benefit-card {
    padding: 14px 14px 22px;
  }

  .edlv-related-products .edlv-container {
    padding-right: 0;
  }

  .edlv-related-products h2 {
    padding-right: 18px;
    text-align: left;
  }

  .edlv-related-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    padding: 0 18px 14px 0;
    -webkit-overflow-scrolling: touch;
  }

  .edlv-related-grid::-webkit-scrollbar {
    display: none;
  }

  .edlv-related-item {
    flex: 0 0 min(72vw, 260px);
    scroll-snap-align: start;
  }

  .edlv-related-image-wrap {
    box-shadow: none;
  }

  .edlv-related-image-wrap:hover {
    transform: none;
  }

  .edlv-related-cart-button {
    left: auto;
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
    min-height: 0;
    padding: 0;
    border-radius: 50%;
    background: var(--edlv-violet);
    opacity: 1;
    transform: none;
  }

  .edlv-related-cart-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .edlv-related-cart-icon {
    position: relative;
    display: block;
    width: 22px;
    height: 18px;
    border: 2px solid var(--edlv-white);
    border-top: 0;
    transform: translateY(1px);
  }

  .edlv-related-cart-icon:before {
    content: "";
    position: absolute;
    left: -5px;
    top: -8px;
    width: 9px;
    height: 9px;
    border-left: 2px solid var(--edlv-white);
    border-top: 2px solid var(--edlv-white);
    transform: skewX(-14deg);
  }

  .edlv-related-cart-icon:after {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: -7px;
    height: 4px;
    border-left: 4px solid var(--edlv-white);
    border-right: 4px solid var(--edlv-white);
    border-radius: 6px;
  }

  .edlv-related-item h3 {
    font-size: 18px;
    margin-top: 16px;
  }

  .edlv-related-price {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .edlv-related-item {
    flex-basis: min(78vw, 235px);
  }

  .edlv-related-cart-button {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edlv-main-image,
  .edlv-main-image.active.from-prev,
  .edlv-main-image.active.from-next,
  .edlv-gallery-arrow,
  .edlv-gallery-thumb,
  .edlv-btn-add-cart,
  .edlv-add-to-cart-wrapper .single_add_to_cart_button,
  .edlv-accordion-list .accordion-content,
  .edlv-benefit-card,
  .edlv-related-image-wrap,
  .edlv-related-item img,
  .edlv-related-cart-button {
    animation: none;
    transition: none;
  }
}

/* ===== WOOCOMMERCE COMPATIBILITY ===== */
.woocommerce .edlv-product-main {
  margin-top: 0;
}

.woocommerce .edlv-add-to-cart-wrapper .quantity {
  display: inline-flex;
  margin-right: 12px;
}

.woocommerce .edlv-add-to-cart-wrapper .quantity input {
  min-height: 56px;
  width: 70px;
  text-align: center;
  border: 1px solid rgba(78, 63, 106, 0.2);
  border-radius: 8px;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
}

/* Hide default WooCommerce elements we don't need */
.edlv-product-main .woocommerce-product-rating,
.edlv-product-main .product_meta,
.edlv-product-main .woocommerce-tabs,
.edlv-product-main .wc-tabs-wrapper {
  display: none;
}

.woocommerce div.product .edlv-add-to-cart-wrapper .edlv-cart-row,
.woocommerce div.product .edlv-add-to-cart-wrapper form.cart {
  grid-template-columns: 1fr !important;
  width: 100% !important;
}

.woocommerce div.product .edlv-add-to-cart-wrapper .edlv-quantity-wrap {
  width: min(210px, 100%) !important;
}

.woocommerce div.product .edlv-add-to-cart-wrapper .single_add_to_cart_button,
.woocommerce div.product .edlv-add-to-cart-wrapper .edlv-btn-add-cart {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  background: var(--edlv-deep-plum) !important;
  border-color: var(--edlv-deep-plum) !important;
  color: var(--edlv-white) !important;
}

.woocommerce div.product .edlv-add-to-cart-wrapper .single_add_to_cart_button:hover,
.woocommerce div.product .edlv-add-to-cart-wrapper .single_add_to_cart_button:active,
.woocommerce div.product .edlv-add-to-cart-wrapper .single_add_to_cart_button:focus,
.woocommerce div.product .edlv-add-to-cart-wrapper .single_add_to_cart_button.loading,
.woocommerce div.product .edlv-add-to-cart-wrapper .single_add_to_cart_button.added,
.woocommerce div.product .edlv-add-to-cart-wrapper .edlv-btn-add-cart:hover,
.woocommerce div.product .edlv-add-to-cart-wrapper .edlv-btn-add-cart:active,
.woocommerce div.product .edlv-add-to-cart-wrapper .edlv-btn-add-cart:focus,
.woocommerce div.product .edlv-add-to-cart-wrapper .edlv-btn-add-cart.loading,
.woocommerce div.product .edlv-add-to-cart-wrapper .edlv-btn-add-cart.added {
  background: var(--edlv-raspberry) !important;
  border-color: var(--edlv-raspberry) !important;
  color: var(--edlv-white) !important;
}
