/* ============================================
   Naturalie Product Detail — Conversion Optimized
   ============================================ */

:root {
  --npd-primary: var(--nl-primary, #468664);
  --npd-primary-light: var(--nl-primary-light, #deece4);
  --npd-primary-dark: #357a52;
  --npd-bg: var(--nl-bg, #f8f6f3);
  --npd-surface: var(--nl-surface, #ffffff);
  --npd-text: var(--nl-text, #333333);
  --npd-text-muted: var(--nl-text-muted, #888888);
  --npd-radius: var(--nl-radius, 14px);
  --npd-radius-sm: var(--nl-radius-sm, 8px);
  --npd-transition: var(--nl-transition, 0.3s ease);
  --npd-shadow: 0 4px 24px rgba(70, 134, 100, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  --npd-shadow-hover: 0 12px 48px rgba(70, 134, 100, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  --npd-shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ========== Hero ========== */

.npd-hero {
  display: flex;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 64px;
}

/* Gallery */

.npd-hero-gallery {
  flex: 0 0 40%;
  max-width: 40%;
}

.npd-gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f0f7f2 0%, #e0f0e5 100%);
  border-radius: var(--npd-radius);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--npd-shadow-card);
}

.npd-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  height: 100%;
  width: 100%;
}

.npd-gallery-track::-webkit-scrollbar {
  display: none;
}

.npd-gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  height: 100%;
  width: 100%;
}

.npd-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  cursor: zoom-in;
  display: block;
}

.npd-gallery-slide:hover .npd-gallery-img {
  transform: scale(1.03);
}

.npd-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--npd-text);
  transition: all 0.25s ease;
  z-index: 2;
}

.npd-gallery-nav:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  color: var(--npd-primary);
}

.npd-gallery-prev {
  left: 12px;
}

.npd-gallery-next {
  right: 12px;
}

.npd-gallery-pills {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
}

.npd-gallery-pills .npd-pill {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--npd-primary);
  pointer-events: auto;
  font-size: 12px;
  padding: 5px 12px;
}

/* Lightbox */

.npd-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.npd-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.npd-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--npd-radius-sm);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.npd-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.npd-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.npd-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.npd-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.npd-lightbox-prev {
  left: 24px;
}

.npd-lightbox-next {
  right: 24px;
}

.npd-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--npd-primary-light) transparent;
}

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

.npd-gallery-thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.npd-gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--npd-primary-light);
  border-radius: 2px;
}

.npd-thumb {
  flex: 0 0 70px;
  height: 70px;
  border: 2px solid transparent;
  border-radius: var(--npd-radius-sm);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--npd-bg);
  transition: all 0.25s ease;
}

.npd-thumb.active {
  border-color: var(--npd-primary);
  box-shadow: 0 0 0 3px var(--npd-primary-light);
}

.npd-thumb:hover {
  border-color: var(--npd-primary);
  transform: translateY(-2px);
}

.npd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.npd-thumb:hover img {
  transform: scale(1.08);
}

/* Info */

.npd-hero-info {
  flex: 1;
  min-width: 0;
  padding-top: 8px;
}

.npd-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.npd-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.npd-badge--sale {
  background: #e2401c;
  color: #fff;
  box-shadow: 0 2px 8px rgba(226, 64, 28, 0.25);
}

.npd-badge--discount {
  background: var(--npd-primary-light);
  color: var(--npd-primary);
}

.npd-product-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--npd-text);
  letter-spacing: -0.3px;
}

.npd-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.npd-stars {
  color: #f5a623;
  font-size: 17px;
  letter-spacing: 2px;
}

.npd-stars-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  vertical-align: middle;
}

.npd-stars-wrap svg {
  display: block;
  flex-shrink: 0;
}

.npd-rating-text {
  font-size: 14px;
  color: var(--npd-text-muted);
  font-weight: 500;
}

.npd-price-block {
  margin-bottom: 12px;
  padding: 4px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
}

.npd-price-block .woocommerce-Price-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--npd-primary);
  letter-spacing: -0.5px;
}

.npd-price-block del .woocommerce-Price-amount {
  font-size: 20px;
  color: var(--npd-text-muted);
  font-weight: 500;
  text-decoration: line-through;
  margin-right: 10px;
}

.npd-unit-price {
  display: inline;
  font-size: 14px;
  color: #888888;
  font-weight: 500;
  margin-left: 8px;
}

.npd-unit-price .woocommerce-Price-amount {
  font-size: 14px !important;
  color: #888888 !important;
  font-weight: 500 !important;
}

.npd-short-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 28px;
  font-weight: 400;
}

/* Add to Cart */

.npd-add-to-cart {
  margin-bottom: 28px;
}

.npd-qty-row {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.npd-qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--npd-radius-sm);
  overflow: hidden;
  background: var(--npd-surface);
  transition: border-color 0.2s ease;
}

.npd-qty-controls:focus-within {
  border-color: var(--npd-primary);
}

.npd-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 52px;
  border: none;
  background: transparent;
  font-size: 20px;
  color: var(--npd-text);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  font-weight: 300;
}

.npd-qty-btn:hover {
  background: var(--npd-primary-light);
  color: var(--npd-primary);
}

.npd-qty-input {
  width: 56px;
  height: 52px;
  border: none;
  border-left: 1.5px solid #e0e0e0;
  border-right: 1.5px solid #e0e0e0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--npd-text);
  background: var(--npd-surface);
  -moz-appearance: textfield;
  padding: 0;
}

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

.npd-atc-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border: 2px solid var(--npd-primary);
  border-radius: var(--npd-radius-sm);
  background: var(--npd-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  letter-spacing: 0.2px;
  min-height: 52px;
}

.npd-atc-btn:hover:not(:disabled) {
  background: var(--npd-primary-dark);
  border-color: var(--npd-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(70, 134, 100, 0.35);
}

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

.npd-atc-btn:disabled {
  background: #c8c8c8;
  border-color: #c8c8c8;
  cursor: not-allowed;
}

.npd-atc-btn--in-cart,
.npd-cross-sell-atc--in-cart {
  background: var(--npd-primary-light);
  border-color: var(--npd-primary);
  color: var(--npd-primary);
}

.npd-atc-btn--in-cart:hover:not(:disabled),
.npd-cross-sell-atc--in-cart:hover:not(:disabled) {
  background: var(--npd-primary);
  color: #fff;
}


/* ========== Tabs ========== */

.npd-tabs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 80px;
  text-align: center;
}

.npd-tabs-nav {
  display: inline-flex;
  gap: 20px;
  background: #ffffff;
  border-radius: 50px;
  padding: 8px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.npd-tabs-nav::-webkit-scrollbar {
  display: none;
}

.npd-tab-btn {
  flex: 0 0 auto;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  background: var(--npd-primary-light);
  font-size: 15px;
  font-weight: 600;
  color: var(--npd-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: inherit;
  text-align: center;
}

.npd-tab-btn:hover {
  background: #d0e4d8;
}

.npd-tab-btn.active {
  background: var(--npd-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(70, 134, 100, 0.3);
}

.npd-tab-panel {
  visibility: hidden;
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  animation: npd-fade-in 0.35s ease;
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.npd-tab-panel.active {
  visibility: visible;
  position: relative;
  opacity: 1;
  pointer-events: auto;
  height: auto;
  overflow: visible;
}

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

/* Safety Tab */

.npd-safety-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--npd-text);
}

.npd-safety-content p {
  margin-bottom: 14px;
}

.npd-safety-content strong {
  color: var(--npd-text);
  font-weight: 700;
}

/* Reviews Tab */

.npd-tab-panel .woocommerce-Reviews {
  max-width: 800px;
}

.npd-tab-panel #comments {
  margin-top: 0;
}

/* Description Tab */
.npd-tab-panel[data-panel="description"] {
  font-size: 16px;
  line-height: 1.8;
  color: var(--npd-text);
}

/* ========== Sticky ATC ========== */

.npd-sticky-atc {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.12);
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.npd-sticky-atc.visible {
  transform: translateY(0);
}

.npd-sticky-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
}

.npd-sticky-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--npd-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--npd-shadow-card);
}

.npd-sticky-info {
  flex: 1;
  min-width: 0;
}

.npd-sticky-title {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--npd-text);
  margin-bottom: 2px;
}

.npd-sticky-price {
  font-size: 14px;
  color: var(--npd-primary);
  font-weight: 800;
}

.npd-sticky-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.npd-sticky-btn {
  padding: 12px 28px;
  font-size: 14px;
  min-height: 46px;
}

.npd-sticky-variant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 2px solid var(--npd-primary);
  border-radius: var(--npd-radius-sm);
  background: var(--npd-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  min-height: 46px;
}

.npd-sticky-variant:hover {
  background: var(--npd-primary-dark);
  border-color: var(--npd-primary-dark);
}

/* ========== Pills ========== */

.npd-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.npd-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--npd-primary-light);
  color: var(--npd-primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.npd-pill:hover {
  background: var(--npd-primary);
  color: #fff;
}

/* ========== WPRR Discounts (Visual Cards) ========== */

.npd-wprr-discounts {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f4f8f5 0%, #eaf3ee 100%);
  border-radius: var(--npd-radius-sm);
  border: 1px solid var(--npd-primary-light);
}

.npd-wprr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 4px;
}

.npd-wprr-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--npd-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.npd-wprr-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--npd-primary);
}

.npd-wprr-subtitle {
  font-size: 11px;
  color: var(--npd-text-muted);
  font-weight: 500;
}

.npd-wprr-grid {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}

.npd-wprr-card {
  flex: 1;
  min-width: 0;
  max-width: none;
  background: var(--npd-surface);
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  box-shadow: 0 1px 4px rgba(70, 134, 100, 0.06);
  position: relative;
}

.npd-wprr-card:hover {
  border-color: var(--npd-primary);
  box-shadow: 0 4px 16px rgba(70, 134, 100, 0.15);
  transform: translateY(-2px);
}

.npd-wprr-card:active {
  transform: translateY(0) scale(0.98);
}

.npd-wprr-image {
  width: 100%;
  height: 56px;
  overflow: hidden;
  background: var(--npd-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  position: relative;
}

.npd-wprr-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.npd-wprr-card:hover .npd-wprr-image img {
  transform: scale(1.06);
}

.npd-wprr-pill {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--npd-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(70, 134, 100, 0.35);
  line-height: 1;
}

.npd-wprr-info {
  padding: 6px 4px 8px;
}

.npd-wprr-qty {
  font-size: 12px;
  font-weight: 700;
  color: var(--npd-text);
  margin-bottom: 1px;
}

.npd-wprr-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--npd-primary);
  margin-bottom: 1px;
}

.npd-wprr-unit-price {
  font-size: 11px;
  color: var(--npd-text-muted);
  font-weight: 500;
}

.npd-wprr-unit-price .woocommerce-Price-amount {
  font-size: 11px !important;
  color: var(--npd-text-muted) !important;
  font-weight: 500 !important;
}

/* ========== Abo Section (Toggle) ========== */

.npd-abo-section {
  margin-bottom: 16px;
  padding: 16px 20px;
  background: var(--npd-bg);
  border-radius: var(--npd-radius-sm);
}

.npd-abo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.npd-abo-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--npd-text);
}

.npd-abo-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  cursor: pointer;
  flex-shrink: 0;
}

.npd-abo-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.npd-abo-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 28px;
  transition: background 0.3s ease;
}

.npd-abo-slider::before {
  content: '';
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.npd-abo-toggle input:checked + .npd-abo-slider {
  background: var(--npd-primary);
}

.npd-abo-toggle input:checked + .npd-abo-slider::before {
  transform: translateX(24px);
}

.npd-abo-panel {
  display: none;
  margin-top: 16px;
  animation: npd-fade-in 0.3s ease;
}

.npd-abo-panel.open {
  display: block;
}

.npd-abo-intro {
  font-size: 13px;
  color: var(--npd-text-muted);
  margin: 0 0 12px;
}

.npd-abo-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.npd-abo-card {
  flex: 1;
  min-width: 100px;
  max-width: 160px;
  padding: 16px 12px;
  background: var(--npd-surface);
  border-radius: var(--npd-radius-sm);
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.npd-abo-card:hover,
.npd-abo-card.selected {
  border-color: var(--npd-primary);
  box-shadow: var(--npd-shadow-card);
  transform: translateY(-2px);
}

.npd-abo-period {
  font-size: 14px;
  font-weight: 700;
  color: var(--npd-text);
  margin-bottom: 4px;
}

.npd-abo-discount {
  font-size: 18px;
  font-weight: 800;
  color: var(--npd-primary);
  margin-bottom: 4px;
}

.npd-abo-price {
  font-size: 14px;
  color: var(--npd-text-muted);
  font-weight: 600;
}

/* ========== Description Tab ========== */

.npd-description-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--npd-text);
}

.npd-description-content h2,
.npd-description-content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--npd-text);
}

.npd-description-content p {
  margin-bottom: 16px;
}

.npd-description-content ul,
.npd-description-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.npd-description-content li {
  margin-bottom: 8px;
}

.npd-description-empty {
  color: var(--npd-text-muted);
  font-style: italic;
  padding: 20px 0;
}

/* ========== Reviews Tab ========== */

.npd-tab-panel .woocommerce-Reviews {
  max-width: 900px;
}

.npd-tab-panel #comments {
  margin-top: 0;
}

.npd-tab-panel .woocommerce-Reviews-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

.npd-tab-panel .commentlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.npd-tab-panel .commentlist li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.npd-tab-panel .star-rating {
  color: #f5a623;
}

.npd-external-reviews,
.npd-reviews-empty {
  padding: 20px 0;
  color: var(--npd-text-muted);
}

/* ========== Lab Analyses (Naturalie Laboranalysen Plugin Styles) ========== */

.npd-lab-content .nlab-accordion-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.npd-lab-content .nlab-accordion-item {
  margin-bottom: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8ede9;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.npd-lab-content .nlab-accordion-item:hover {
  box-shadow: 0 4px 12px rgba(70,134,100,0.08);
  border-color: #c8ddd1;
}

.npd-lab-content .nlab-accordion-item.is-open {
  border-color: #468664;
  box-shadow: 0 4px 16px rgba(70,134,100,0.14);
}

.npd-lab-content .nlab-accordion-title {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 24px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: #2d3a33;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1.4;
  font-family: inherit;
}

.npd-lab-content .nlab-accordion-title:hover {
  background: #f4f8f5;
  color: #468664;
}

.npd-lab-content .nlab-accordion-title[aria-expanded="true"] {
  background: #eaf3ee;
  color: #357a4f;
  box-shadow: inset 4px 0 0 #468664;
}

.npd-lab-content .nlab-accordion-title .nlab-title-text {
  margin: 0;
  padding: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: inherit;
  flex: 1;
}

.npd-lab-content .nlab-accordion-icon {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f4f8f5;
  color: #468664;
}

.npd-lab-content .nlab-accordion-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}

.npd-lab-content .nlab-accordion-title:hover .nlab-accordion-icon,
.npd-lab-content .nlab-accordion-title[aria-expanded="true"] .nlab-accordion-icon {
  background: #468664;
  color: #fff;
}

.npd-lab-content .nlab-accordion-title[aria-expanded="true"] .nlab-accordion-icon {
  transform: rotate(90deg);
}

.npd-lab-content .nlab-accordion-content {
  display: none;
  overflow: hidden;
}

.npd-lab-content .nlab-accordion-content.is-open {
  display: block;
}

.npd-lab-content .nlab-accordion-inner {
  padding: 0 24px 20px;
}

.npd-lab-content .nlab-analysis-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.npd-lab-content .nlab-analysis-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eef2ef;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.15s ease;
  border-radius: 6px;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}

.npd-lab-content .nlab-analysis-list li:hover {
  background: #f9fbf9;
}

.npd-lab-content .nlab-analysis-list li:last-child {
  border-bottom: none;
}

.npd-lab-content .nlab-analysis-list a {
  color: #468664;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.npd-lab-content .nlab-analysis-list a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #468664;
  flex-shrink: 0;
}

.npd-lab-content .nlab-analysis-list a:hover {
  color: #357a4f;
}

.npd-lab-content .nlab-analysis-list a:hover::before {
  background: #357a4f;
}

.npd-lab-content .nlab-mhd {
  color: #7a8a80;
  font-size: 13px;
  font-weight: 400;
  margin-left: auto;
}

.npd-lab-empty {
  color: var(--npd-text-muted);
  font-style: italic;
  padding: 20px 0;
}

/* ========== Reviews Load More ========== */

.npd-reviews-load-more {
  display: none;
}

/* ========== Breadcrumbs ========== */

.npd-breadcrumbs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px 8px;
  font-size: 13px;
  color: var(--npd-text-muted);
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  visibility: visible !important;
  opacity: 1 !important;
}

.npd-breadcrumbs a {
  color: var(--npd-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.npd-breadcrumbs a:hover {
  color: var(--npd-primary);
}

.npd-breadcrumb-sep {
  color: #ccc;
  font-size: 11px;
}

.npd-breadcrumb-current {
  color: var(--npd-text);
  font-weight: 600;
}

/* Rank Math breadcrumbs override */
.npd-breadcrumbs .rank-math-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.npd-breadcrumbs .rank-math-breadcrumb a {
  color: var(--npd-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.npd-breadcrumbs .rank-math-breadcrumb a:hover {
  color: var(--npd-primary);
}

.npd-breadcrumbs .rank-math-breadcrumb .separator {
  color: #ccc;
  font-size: 11px;
}

/* ========== Price Block Extras ========== */

.npd-savings {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #e2401c;
  margin-top: 4px;
}

.npd-per-day {
  display: block;
  font-size: 14px;
  color: var(--npd-primary);
  font-weight: 600;
  margin-top: 2px;
}

/* ========== Benefits ========== */

.npd-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.npd-benefit-item {
  font-size: 14px;
  color: var(--npd-text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ========== Cross-Sells ========== */

.npd-cross-sells {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.npd-section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--npd-text);
  margin: 0 0 32px;
  letter-spacing: -0.3px;
}

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

.npd-cross-sell-card {
  background: var(--npd-surface);
  border-radius: var(--npd-radius);
  overflow: hidden;
  box-shadow: var(--npd-shadow-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.npd-cross-sell-card:hover {
  box-shadow: var(--npd-shadow-hover);
  transform: translateY(-4px);
}

.npd-cross-sell-img-wrap {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--npd-bg);
}

.npd-cross-sell-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.npd-cross-sell-card:hover .npd-cross-sell-img-wrap img {
  transform: scale(1.05);
}

.npd-cross-sell-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.npd-cross-sell-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--npd-text);
  text-decoration: none;
  margin-bottom: 8px;
  line-height: 1.3;
}

.npd-cross-sell-title:hover {
  color: var(--npd-primary);
}

.npd-cross-sell-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--npd-primary);
  margin-bottom: 12px;
}

.npd-cross-sell-atc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  border: 2px solid var(--npd-primary);
  border-radius: var(--npd-radius-sm);
  background: var(--npd-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  margin-top: auto;
}

.npd-cross-sell-atc:hover {
  background: var(--npd-primary-dark);
  border-color: var(--npd-primary-dark);
}

/* ========== FAQ (Modern Accordion) ========== */

.npd-faq {
  margin-top: 24px;
}

.npd-faq .npd-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--npd-text);
  margin: 0 0 12px;
  letter-spacing: -0.2px;
}

.npd-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.npd-faq-item {
  background: var(--npd-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--npd-radius-sm);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.npd-faq-item:hover {
  box-shadow: 0 4px 16px rgba(70, 134, 100, 0.08);
  border-color: rgba(70, 134, 100, 0.15);
}

.npd-faq-item.is-open {
  box-shadow: 0 4px 20px rgba(70, 134, 100, 0.12);
  border-color: rgba(70, 134, 100, 0.2);
}

.npd-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--npd-text);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s ease, background 0.2s ease;
}

.npd-faq-question:hover {
  color: var(--npd-primary);
  background: rgba(70, 134, 100, 0.03);
}

.npd-faq-question svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--npd-text-muted);
}

.npd-faq-question:hover svg {
  color: var(--npd-primary);
}

.npd-faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
  color: var(--npd-primary);
}

.npd-faq-answer {
  display: none;
  padding: 0 16px 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--npd-text-muted);
}

.npd-faq-answer.is-open {
  display: block;
  animation: npd-fade-in 0.35s ease;
}

.npd-faq-answer p {
  margin: 0;
}

/* ========== Repeat CTA ========== */

.npd-repeat-cta {
  background: var(--npd-bg);
  padding: 60px 32px;
}

.npd-repeat-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--npd-surface);
  border-radius: var(--npd-radius);
  padding: 40px;
  box-shadow: var(--npd-shadow-card);
}

.npd-repeat-text h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--npd-text);
  margin: 0 0 8px;
}

.npd-repeat-text p {
  font-size: 15px;
  color: var(--npd-text-muted);
  margin: 0;
}

.npd-repeat-btn {
  flex: 0 0 auto;
  padding: 16px 40px;
  font-size: 16px;
}

/* ========== Mobile ========== */

@media (max-width: 768px) {
  .npd-hero {
    flex-direction: column;
    gap: 32px;
    padding: 20px 16px 40px;
  }

  .npd-hero-gallery {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .npd-gallery-main {
    aspect-ratio: 1 / 1;
    border-radius: var(--npd-radius-sm);
  }

  .npd-gallery-thumbs {
    gap: 8px;
  }

  .npd-thumb {
    flex: 0 0 calc(20% - 6.4px);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .npd-product-title {
    font-size: 24px;
  }

  .npd-price-block {
    padding: 6px 0;
    width: 100%;
  }

  .npd-price-block .woocommerce-Price-amount {
    font-size: 26px;
  }

  .npd-price-block del .woocommerce-Price-amount {
    font-size: 18px;
  }

  .npd-qty-row {
    flex-direction: column;
  }

  .npd-qty-controls {
    width: 100%;
  }

  .npd-qty-btn {
    flex: 0 0 56px;
    width: auto;
    height: 46px;
  }

  .npd-qty-input {
    flex: 1;
    width: auto;
    max-width: none;
    height: 46px;
    font-size: 16px;
  }

  .npd-atc-btn {
    width: 100%;
    min-height: 46px;
  }

  .npd-tabs {
    padding: 0 6px 60px;
    text-align: center;
  }

  .npd-tabs-nav {
    gap: 2px;
    padding: 8px 6px;
    margin-bottom: 28px;
    max-width: 100%;
    border-radius: 40px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  .npd-tab-btn {
    flex: 0 0 auto;
    padding: 6px 10px;
    font-size: 13px;
  }

  .npd-sticky-inner {
    padding: 12px 16px;
    gap: 12px;
  }

  .npd-sticky-thumb {
    display: none;
  }

  .npd-sticky-controls .npd-qty-controls {
    display: none;
  }

  .npd-sticky-btn {
    padding: 12px 20px;
    width: 100%;
  }

  .npd-pills {
    gap: 6px;
  }

  .npd-pill {
    padding: 5px 12px;
    font-size: 12px;
  }

  .npd-wprr-discounts {
    padding: 10px 12px;
    margin-bottom: 16px;
  }

  .npd-wprr-grid {
    gap: 6px;
  }

  .npd-wprr-card {
    min-width: 0;
    max-width: none;
    flex: 1;
  }

  .npd-wprr-image {
    height: 44px;
    padding: 3px;
  }

  .npd-wprr-pill {
    font-size: 9px;
    padding: 2px 6px;
    top: 3px;
    right: 3px;
  }

  .npd-wprr-info {
    padding: 4px 3px 6px;
  }

  .npd-wprr-qty {
    font-size: 11px;
  }

  .npd-wprr-badge {
    font-size: 12px;
  }

  .npd-wprr-unit-price {
    font-size: 10px;
  }

  .npd-abo-section {
    padding: 16px;
  }

  .npd-abo-grid {
    gap: 8px;
  }

  .npd-abo-card {
    min-width: 80px;
    padding: 12px 8px;
  }

  .npd-abo-period {
    font-size: 12px;
  }

  .npd-abo-discount {
    font-size: 16px;
  }

  .npd-abo-price {
    font-size: 12px;
  }

  /* Mobile: Pills overlay smaller */
  .npd-gallery-pills {
    bottom: 10px;
    left: 10px;
    right: 10px;
    gap: 6px;
  }

  .npd-gallery-pills .npd-pill {
    font-size: 11px;
    padding: 4px 10px;
  }

  /* Mobile: Breadcrumbs */
  .npd-breadcrumbs {
    padding: 16px 16px 12px;
    font-size: 12px;
  }

  /* Mobile: Benefits */
  .npd-benefits {
    margin-bottom: 16px;
  }

  /* Mobile: Cross-Sells */
  .npd-cross-sells {
    padding: 40px 16px;
  }

  .npd-section-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .npd-cross-sells-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Mobile: FAQ */
  .npd-faq {
    margin-top: 20px;
  }

  .npd-faq .npd-section-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .npd-faq-list {
    gap: 6px;
  }

  .npd-faq-question {
    font-size: 12px;
    padding: 12px 14px;
  }

  .npd-faq-question svg {
    width: 14px;
    height: 14px;
  }

  .npd-faq-answer {
    padding: 0 14px 12px;
    font-size: 11px;
  }

  /* Mobile: Repeat CTA */
  .npd-repeat-cta {
    padding: 40px 16px;
  }

  .npd-repeat-inner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 20px;
  }

  .npd-repeat-text h3 {
    font-size: 18px;
  }

  .npd-repeat-btn {
    width: 100%;
  }

  /* Mobile: Lightbox nav smaller */
  .npd-lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .npd-lightbox-prev {
    left: 12px;
  }

  .npd-lightbox-next {
    right: 12px;
  }

  /* Mobile: Lab Analyses compact */
  .npd-lab-content .nlab-accordion-item {
    margin-bottom: 8px;
    border-radius: 10px;
  }

  .npd-lab-content .nlab-accordion-title {
    padding: 12px 16px;
    font-size: 14px;
  }

  .npd-lab-content .nlab-accordion-title .nlab-title-text {
    font-size: 14px;
  }

  .npd-lab-content .nlab-accordion-icon {
    width: 26px;
    height: 26px;
    margin-left: 10px;
  }

  .npd-lab-content .nlab-accordion-icon svg {
    width: 14px;
    height: 14px;
  }

  .npd-lab-content .nlab-accordion-inner {
    padding: 0 16px 14px;
  }

  .npd-lab-content .nlab-analysis-list li {
    padding: 8px 0;
    gap: 8px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .npd-lab-content .nlab-analysis-list a {
    font-size: 13px;
  }

  .npd-lab-content .nlab-mhd {
    font-size: 11px;
  }

  /* Mobile: Reviews load more */
  .npd-reviews-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    padding: 10px 24px;
    border: 1.5px solid var(--npd-primary);
    border-radius: var(--npd-radius-sm);
    background: transparent;
    color: var(--npd-primary);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .npd-reviews-load-more:hover {
    background: var(--npd-primary);
    color: #fff;
  }

  /* Hide reviews beyond 4th on mobile */
  .npd-review-hidden-mobile {
    display: none !important;
  }

  /* Show all when expanded */
  .npd-reviews-expanded .npd-review-hidden-mobile {
    display: block !important;
  }
}
