/**
 * Product Page Styles - Product-Specific Components
 *
 * @package GeneratePress Child V2-PC
 *
 * Note: Global styles (variables, buttons, cards, typography, etc.)
 * are located in the main style.css file
 */

/* ============================================
   1. PRODUCT IMAGE SECTION
   ============================================ */
.nw-gallery-section {
  padding: 0;
  overflow-x: hidden;
}

.nw-gallery {
  position: relative;
  margin-bottom: var(--space-md);
}

.nw-gallery__container {
  overflow-x: clip;
  width: 100%;
}

.nw-gallery__track {
  display: flex;
  gap: var(--space-md);
  transition: transform var(--transition-base);
}

.nw-gallery__slide {
  width: 86%;
  flex-shrink: 0;
}

.nw-gallery__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-gray);
  display: block;
}

/* Gallery dots/indicators */
.nw-gallery__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

.nw-gallery__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-gray-200);
  cursor: pointer;
  transition: background-color var(--transition-base);
}

.nw-gallery__dot.is-active {
  background-color: var(--color-gray-400);
}

/* ============================================
			2. PRODUCT INFO SECTION
			============================================ */
.nw-product-info-section {
  padding: 0;
}

.nw-product-hero__title {
  margin: var(--space-sm) 0;
}

.nw-product-hero__price {
  margin-bottom: var(--space-xs);
}

.nw-product-hero__rating {
  margin-bottom: var(--space-lg);
}

.nw-product-hero__subtitle {
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-xs);
}

.nw-product-hero__description {
  font-size: var(--fs-base);
  line-height: var(--line-height-base);
  color: var(--color-text-primary);
}

.nw-product-hero__ingredient-list {
  font-size: var(--fs-sm);
  line-height: var(--line-height-base);
  color: var(--color-text-primary);
  text-decoration: underline;
  margin-top: var(--space-md);
  padding: 0;
  background-color: transparent;
  border: none;
}

/* === STAR RATING === */
.nw-rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.nw-rating__stars {
  display: flex;
  gap: 2px;
  color: var(--color-accent-gold);
}

.nw-rating__star {
  width: 16px;
  height: 16px;
}

.nw-rating__count {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}

@media (min-width: 768px) {
  .nw-product-info-section {
    margin-bottom: 1rem;
  }

  .nw-product-hero__ingredient-list {
    margin-bottom: var(--space-sm);
  }
}

/* ============================================
   3. PRODUCT CONFIGURATION
   ============================================ */

/* === Simple Purchase Layout === */
.nw-simple-purchase {
  display: flex;
  flex-direction: column;
}

.nw-simple-purchase__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}

.nw-simple-purchase__current-price {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
}

.nw-simple-purchase__per-unit {
  font-size: var(--fs-base);
  font-weight: var(--fw-normal);
  color: var(--color-text-muted);
}

.nw-simple-purchase__old-price {
  font-size: var(--fs-lg);
  font-weight: var(--fw-normal);
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.nw-simple-purchase__qty-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-text-secondary);
  margin-top: var(--space-2xs);
}

.nw-simple-purchase__actions {
  display: flex;
  align-items: stretch;
  gap: var(--space-xs);
  margin-top: var(--space-3xs);
}

.nw-simple-purchase__actions .nw-add-to-cart-button {
  flex: 1;
}

/* === Quantity Selector with +/- buttons === */
.nw-qty-selector {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--color-white);
  padding: 0 .5rem;
}

.nw-qty-selector__btn {
  width: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border: none;
  cursor: pointer;
  font-size: var(--fs-md);
  font-weight: var(--fw-normal);
  color: var(--color-text-secondary);
  padding: 0;
}

.nw-qty-selector__btn:hover {
  background-color: unset;
}

.nw-qty-selector__btn:active {
  background-color: unset;
}

.nw-qty-selector__input {
  width: 2.25rem;
  text-align: center;
  border: none;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  background-color: var(--color-white);
  -moz-appearance: textfield;
  padding: var(--space-xs) 0;
}

.nw-qty-selector__input::-webkit-outer-spin-button,
.nw-qty-selector__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* === Purchase Benefits === */
.nw-simple-purchase__benefits {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.nw-simple-purchase__benefit {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  color: var(--color-text-primary);
}

.nw-simple-purchase__check {
  flex-shrink: 0;
  color: var(--color-btn-bg-hover);
}

.nw-form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.nw-form-field__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin: 0;
  padding-left: var(--space-xs);
}

/* === Select Wrapper with Chevron Icon === */
.nw-select-wrapper {
  position: relative;
  width: 100%;
}

.nw-select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  /* padding-right: 40px; */
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  background-color: var(--color-white);
  border: 2px solid var(--color-btn-bg);
  border-radius: var(--radius-md);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all var(--transition-fast);
}

.nw-select:hover {
  border-color: var(--color-gray-400);
}

.nw-select:focus {
  outline: none;
  border-color: var(--color-btn-bg-hover);
  box-shadow: 0 0 0 3px rgba(255, 118, 0, 0.1);
}

.nw-select:disabled {
  background-color: var(--color-gray-100);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Placeholder styling */
.nw-select option[value=""]:disabled {
  color: var(--color-text-muted);
}

/* Green Chevron Icon */
.nw-select__icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-btn-bg-hover);
  pointer-events: none;
  transition: transform var(--transition-fast);
}

.nw-select:focus + .nw-select__icon {
  transform: translateY(-50%) rotate(180deg);
}

/* === Add to Cart Button with Price === */
.nw-add-to-cart-button__text {
  display: inline-block;
}

.nw-add-to-cart-button__price-old {
  text-decoration: line-through;
  opacity: 0.7;
  margin-left: var(--space-xs);
  font-weight: var(--fw-normal);
}

/* === Quantity Controls === */
.nw-quantity-controls {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-white);
}

.nw-quantity-controls__button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-base);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
}

.nw-quantity-controls__button:hover {
  background-color: var(--color-gray-100);
}

.nw-quantity-controls__button:active {
  background-color: var(--color-gray-200);
}

.nw-quantity-controls__button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.nw-quantity-controls__input {
  width: 60px;
  height: 44px;
  text-align: center;
  border: none;
  border-left: 2px solid var(--color-gray-300);
  border-right: 2px solid var(--color-gray-300);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  background-color: var(--color-white);
}

.nw-quantity-controls__input:focus {
  outline: none;
}

.nw-quantity-controls__input::-webkit-inner-spin-button,
.nw-quantity-controls__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.nw-quantity-controls__input[type="number"] {
  -moz-appearance: textfield;
}

/* === One-Time Purchase Actions === */
.nw-purchase-option__actions {
  display: flex;
  flex-direction: row;
  gap: var(--space-md);
  margin-top: var(--space-md);
  align-items: flex-end;
}

.nw-purchase-option__actions .nw-form-field {
  flex: 0 0 auto;
}

.nw-purchase-option__actions .nw-add-to-cart-button {
  flex: 1 1 auto;
}

/* === Add to Cart Button States === */
.nw-add-to-cart-button--autoship:disabled {
  background-color: var(--color-white);
  color: var(--color-text-secondary);
  border-color: var(--color-gray-300);
  cursor: not-allowed;
  opacity: 1;
}

.nw-add-to-cart-button--autoship:disabled:hover {
  background-color: var(--color-gray-300);
}

.nw-add-to-cart-button--autoship:not(:disabled) {
  background-color: var(--color-btn-bg);
  color: var(--color-btn-text);
}

.nw-add-to-cart-button--autoship:not(:disabled):hover {
  background-color: var(--color-btn-bg-hover);
}

.nw-add-to-cart-button--onetime {
  background-color: var(--color-btn-bg);
  color: var(--color-btn-text);
}

.nw-add-to-cart-button--onetime:hover {
  background-color: var(--color-btn-bg-hover);
}

/* === Delivery Frequency Dropdown === */
.nw-delivery-frequency {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-base);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  cursor: pointer;
  transition: border-color var(--transition-base);
}

.nw-delivery-frequency:focus {
  outline: none;
  border-color: var(--color-primary-navy);
}

.nw-delivery-frequency:disabled {
  background-color: var(--color-gray-100);
  cursor: not-allowed;
  opacity: 0.6;
}

.nw-purchase-option__title-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nw-purchase-option__icon {
  color: var(--color-primary-navy);
}

/* ============================================
   TRUST INDICATORS
   ============================================ */
.nw-trust-indicators {
  display: flex;
  justify-content: space-evenly;
}

.nw-trust-indicators__columns {
  display: flex;
  justify-content: space-evenly;
}

.nw-trust-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.nw-trust-indicator__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.nw-trust-indicator__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-primary-navy);
}

.nw-trust-indicator__content {
  flex: 1;
  text-align: center;
}

.nw-trust-indicator__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin: 0 0 var(--space-xs);
}

.nw-trust-indicator__text {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

@media (min-width: 768px) {
  .nw-trust-indicators__columns {
    margin-bottom: var(--space-lg);
    margin-top: var(--space-lg) !important;
  }
}

/* ============================================
   STICKY BOTTOM SHOP BAR
   ============================================ */
.nw-sticky-shop-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-gray-200);
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: var(--space-md);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.nw-sticky-shop-bar.is-visible {
  transform: translateY(0);
}

.nw-sticky-shop-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  max-width: var(--max-width-content);
  margin: 0 auto;
}

.nw-sticky-shop-bar__product {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  min-width: 0;
}

.nw-sticky-shop-bar__image {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.nw-sticky-shop-bar__info {
  flex: 1;
  min-width: 0;
}

.nw-sticky-shop-bar__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin: 0 0 var(--space-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nw-sticky-shop-bar__price {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-primary-navy);
  margin: 0;
}

.nw-sticky-shop-bar__button {
  flex-shrink: 0;
}

/* ============================================
   INGREDIENTS MODAL
   ============================================ */
.nw-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.nw-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.nw-modal.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.nw-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.nw-modal__container {
  position: relative;
  z-index: 9999;
  max-width: 90vw;
  max-height: 90vh;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.nw-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nw-modal__close:hover {
  background-color: var(--color-gray-100);
  transform: rotate(90deg);
}

.nw-modal__close svg {
  color: var(--color-text-primary);
}

.nw-modal__content {
  padding: var(--space-md);
  overflow: auto;
  max-height: 90vh;
}

.nw-modal__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Desktop styles */
@media (min-width: 768px) {
  .nw-modal__container {
    max-width: 800px;
  }

  .nw-modal__content {
    padding: var(--space-xl);
  }

  .nw-modal__close {
    width: 48px;
    height: 48px;
    top: var(--space-lg);
    right: var(--space-lg);
  }
}

/* ============================================
   COLLAPSIBLE SECTIONS - FEATURED INGREDIENTS
   ============================================ */

/* Featured Ingredients Grid */
.nw-featured-ingredients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
}

/* Hide ingredient cards after the first 3 by default */
.nw-featured-ingredients-grid .nw-ingredient-card:nth-child(n + 4) {
  display: none !important;
}

/* Show all ingredient cards when the full list is expanded */
.nw-accordion__content-inner.is-open .nw-featured-ingredients-grid .nw-ingredient-card:nth-child(n + 4) {
  display: flex !important;
}

/* Ingredient Card */
.nw-ingredient-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-3xs);
  background-color: var(--color-gray-50);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.nw-ingredient-card:hover {
  background-color: var(--color-gray-100);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nw-ingredient-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  margin-bottom: var(--space-xs);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 0;
}

.nw-ingredient-card__name {
  font-size: var(--fs-sm) !important;
  font-weight: var(--fw-bold);
  margin: 0 0 var(--space-xs) !important;
  line-height: 1.3;
  color: var(--color-text-primary);
}

.nw-ingredient-card__description {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* See Full Ingredient List Nested Toggle */
.nw-full-ingredients-wrapper {
  padding-top: var(--space-xs);
}

.nw-see-full-ingredients-trigger {
  display: inline;
  width: auto;
  padding: 4px 0;
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  text-align: left;
  background: transparent;
  border: none;
  color: var(--color-primary-navy);
  cursor: pointer;
  transition: color var(--transition-base);
  text-decoration: underline;
}

.nw-see-full-ingredients-trigger:hover {
  color: var(--color-primary-navy);
  text-decoration: none;
}

.nw-see-full-ingredients-trigger.is-open {
  color: var(--color-primary-navy);
}

.nw-see-full-ingredients-icon {
  display: none;
}

.nw-see-full-ingredients-trigger--close {
  margin-top: var(--space-md);
}

/* Hide the open button when content is visible */
.nw-full-ingredients-wrapper.is-open > .nw-see-full-ingredients-trigger:not(.nw-see-full-ingredients-trigger--close) {
  display: none;
}

.nw-full-ingredients-content {
  display: none;
}

.nw-full-ingredients-content p {
  margin-bottom: var(--space-2xs);
  line-height: 1.6;
}

.nw-full-ingredients-content ul,
.nw-full-ingredients-content ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-sm);
}

/* ============================================
   6. IMAGE STACKS SECTION
   ============================================ */

.nw-image-stacks {
  /* Remove all spacing to stack images directly */
  padding: 0;
  margin: 0;
  /* Ensure full width edge-to-edge display */
  width: 100%;
  max-width: 100%;
  line-height: 0;
  font-size: 0;
}

/* Mobile version: visible by default, hidden on desktop */
.nw-image-stacks--mobile {
  display: block;
}

/* Desktop version: hidden by default, visible on desktop */
.nw-image-stacks--desktop {
  display: none;
}

@media (min-width: 768px) {
  .nw-image-stacks--mobile {
    display: none;
  }

  .nw-image-stacks--desktop {
    display: block;
  }
}

.nw-image-stacks__image {
  /* Display as block to eliminate inline spacing */
  display: block;
  /* Full width responsive scaling */
  width: 100%;
  max-width: 100%;
  /* Maintain aspect ratio to preserve image text */
  height: auto;
  /* Zero gaps between images */
  margin: 0;
  padding: 0;
  border: 0;
  /* Additional safeguards against spacing */
  vertical-align: top;
  /* Remove any default object-fit that could crop */
  object-fit: none;
  /* Ensure no border radius from parent styles */
  border-radius: 0;
}

/* ============================================
   DESKTOP TWO-COLUMN LAYOUT
   ============================================ */

/* Hide desktop thumbnails on mobile */
.nw-gallery-thumbnails {
  display: none;
}

/* Desktop: Two-column grid layout */
@media (min-width: 768px) {
  .nw-product-layout {
    display: grid;
    /* grid-template-columns: 45fr 55fr;  45% left / 55% right */
    grid-template-columns: 1fr 1fr; /* 50% / 50% equal columns */
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    align-items: start;
    max-width: 1260px; /* Constrain two-column section only */
    margin-left: auto;
    margin-right: auto;
    /* padding-left: var(--space-md);
    padding-right: var(--space-md); */
  }

  .nw-product-layout__left {
    /* Natural scroll - no sticky positioning */
    align-self: start;
  }

  /* Gallery adjustments */
  .nw-gallery__slide {
    width: 100%; /* Override 86% mobile width */
  }

  .nw-gallery__dots {
    display: none; /* Hide dots on desktop */
  }

  /* Desktop thumbnails - alternating 2-column and full-width pattern */
  .nw-gallery-thumbnails {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2-column grid */
    gap: var(--space-sm);
    padding-left: 0;
    /* margin-top: var(--space-md); */
  }

  /* Pattern: 2 side-by-side, 1 full-width, repeating */
  /* Items 3, 6, 9, 12... (every 3rd starting from 3) span full width */
  .nw-gallery-thumbnails__item:nth-child(3n) {
    grid-column: 1 / -1; /* Span both columns */
  }

  .nw-gallery-thumbnails__item {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    background-color: var(--color-gray-100);
    cursor: pointer; /* Indicate clickability */
    transition: all var(--transition-base);
  }

  .nw-gallery-thumbnails__item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
  }

  .nw-gallery-thumbnails__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base);
  }

  .nw-gallery-thumbnails__item:hover .nw-gallery-thumbnails__image {
    transform: scale(1.05);
  }

  /* Remove top padding from sections inside columns */
  .nw-product-layout__right .nw-product-info-section,
  .nw-product-layout__right .nw-section {
    padding-top: 0;
  }
}

/* ============================================
   REVIEWS SECTION (NEW DESIGN)
   ============================================ */

.nw-reviews-new-section {
  background-color: var(--color-white);
  padding: var(--space-2xl) 0;
}

.nw-reviews-new__heading {
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Hero Image */
.nw-reviews-new__hero {
  margin-bottom: var(--space-xl);
  width: 100%;
}

.nw-reviews-new__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* Review Cards List */
.nw-reviews-new__list {
  display: flex;
  flex-direction: column;
}

/* Individual Review Card */
.nw-reviews-new__card {
  padding: var(--space-md) 0;
}

/* Star Rating */
.nw-reviews-new__stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-sm);
  color: var(--color-accent-gold);
}

.nw-reviews-new__star {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Reviewer Name */
.nw-reviews-new__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--space-sm);
}

/* Review Text */
.nw-reviews-new__text {
  font-size: var(--fs-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  margin: 0;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .nw-reviews-new__card {
    padding: var(--space-md) 0;
  }

  .nw-reviews-new__star {
    width: 24px;
    height: 24px;
  }

  /* .nw-reviews-new__name {
    font-size: var(--fs-sm);
  }

  .nw-reviews-new__text {
    font-size: var(--fs-md);
  } */
}

/* ============================================
   FAQ SECTION (NEW CARD-BASED DESIGN)
   ============================================ */
.nw-faq-section {
  background-color: var(--color-bg-gray);
}

/* Card Wrapper Container */
.nw-accordion-card-wrapper {
  /* background-color: var(--color-white);
  border-radius: var(--radius-md); */
  padding: 0 var(--space-md);
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
  overflow: hidden;
}

/* Accordion Modifier - Remove Default Borders */
.nw-accordion--card-based {
  border-top: none !important;
}

.nw-accordion--card-based .nw-accordion__item:last-child {
  border-bottom: none;
}

/* Desktop Responsive Styles */
@media (min-width: 768px) {
  .nw-accordion-card-wrapper {
    padding: var(--space-xs) var(--space-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
}

/* ============================================
   COMPARISON GRID (US VS THEM)
   ============================================ */
.nw-comparison-grid {
  background-color: var(--color-white);
  padding: var(--space-xl) 0;
}

.nw-comparison-grid__container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nw-comparison-grid__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  text-align: center;
  color: var(--color-primary-navy);
  margin: 0 0 var(--space-sm);
}

.nw-comparison-grid__subtitle {
  font-size: var(--fs-base);
  text-align: center;
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-xl);
}

/* VS Badge */
.nw-comparison-grid__vs-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  background-color: var(--color-white);
  padding: var(--space-xs) var(--space-md);
  /* border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  flex-direction: column;
}

.nw-comparison-grid__us {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary-navy);
  letter-spacing: 0.02em;
}

.nw-comparison-grid__vs {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  background-color: var(--color-primary-blue);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nw-comparison-grid__them {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-gray-400);
  letter-spacing: 0.02em;
}

/* 3-Column Grid Table Structure */
.nw-comparison-grid__table {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr; /* Feature column wider, two equal product columns */
  margin: 0 auto;
  border: 2px solid var(--color-gray-200);
  border-top: none;
  border-left: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-white);
}

/* Header Spacer (contains VS badge in top-left) */
.nw-comparison-grid__header-spacer {
  /* background: linear-gradient(135deg, #e8f5f9 0%, #f0f4f8 100%); */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-sm);
}

/* Product Image Cells */
.nw-comparison-grid__product {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-md) var(--space-sm);
  border-top: 2px solid var(--color-gray-200);
  /* border-bottom: 1px solid var(--color-gray-200); */
  min-height: 140px;
}

.nw-comparison-grid__product--ours {
  background: linear-gradient(135deg, #e3f2fd 0%, #f5f9fc 100%);
  border-right: 2px solid var(--color-gray-200);
  border-left: 2px solid var(--color-gray-200);
  border-top-left-radius: var(--radius-lg);
}

.nw-comparison-grid__product--theirs {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.nw-comparison-grid__product-image {
  max-width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}

/* Competitor Placeholder (Bottle Shape) */
.nw-comparison-grid__competitor-placeholder {
  width: 50px;
  height: 150px;
  background: linear-gradient(180deg, #808080 0%, #666666 100%);
  border-radius: 6px;
  position: relative;
}

/* Comparison Feature Names */
.nw-comparison-grid__feature {
  padding: var(--space-md) var(--space-sm);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  border-top: 2px solid var(--color-gray-200);
  /* border-right: 2px solid var(--color-gray-200); */
  border-left: 2px solid var(--color-gray-200);
  background-color: var(--color-white);
  transition: background-color var(--transition-fast);
}

.nw-comparison-grid__feature:first-of-type {
  border-top-left-radius: var(--radius-lg);
}

/* Checkmark/Cross Cells */
.nw-comparison-grid__value {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-sm);
  border-top: 2px solid var(--color-gray-200);
  background-color: var(--color-white);
  transition: background-color var(--transition-fast);
}

.nw-comparison-grid__value--ours {
  border-right: 2px solid var(--color-gray-200);
  border-left: 2px solid var(--color-gray-200);
}

/* Hover effect on rows */
.nw-comparison-grid__feature:hover,
.nw-comparison-grid__value:hover {
  background-color: var(--color-bg-gray);
}

/* Checkmark Icon */
.nw-comparison-grid__checkmark {
  color: var(--color-primary-blue);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Cross Icon */
.nw-comparison-grid__cross {
  color: var(--color-gray-400);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Desktop Responsive */
@media (min-width: 768px) {
  .nw-comparison-grid {
    padding: var(--space-2xl) 0;
  }

  .nw-comparison-grid__table {
    max-width: 800px;
  }

  .nw-comparison-grid__product {
    min-height: 170px;
    padding: var(--space-lg) var(--space-md);
  }

  .nw-comparison-grid__product-image {
    max-height: 200px;
  }

  .nw-comparison-grid__competitor-placeholder {
    width: 65px;
    height: 200px;
  }

  .nw-comparison-grid__feature {
    font-size: var(--fs-base);
    padding: var(--space-lg) var(--space-md);
  }

  .nw-comparison-grid__value {
    padding: var(--space-lg) var(--space-md);
  }

  .nw-comparison-grid__checkmark,
  .nw-comparison-grid__cross {
    width: 32px;
    height: 32px;
  }
}
