  :root {
    --primary: #15803d;
    --primary-dark: #166534;
    --primary-light: #f0fdf4;
    --accent: #b45309;
    --accent-bg: #fffbeb;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --radius: 12px;
  }

  /* Soothing, Professional & Trustworthy Typography */
  body,
  h1, h2, h3, h4, h5, h6,
  .font-heading,
  .font-display,
  .product-title,
  .product-detail-container,
  .product-detail-container button,
  .product-detail-container input,
  .product-detail-container select,
  .product-detail-container textarea,
  #image-zoom-modal,
  #mobile-sticky-buy-bar {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  .product-detail-container {
    margin: 0 auto;
    background: var(--bg-card);
    min-height: 100vh;
    padding-top: 0;
    letter-spacing: -0.011em;
  }

  @media (min-width: 1024px) {
    .product-detail-container {
      max-width: 1200px;
      padding-top: 24px;
      padding-bottom: 36px;
    }
  }

  /* Desktop Sticky Product Gallery Column */
  .product-gallery-sticky-col {
    position: relative;
    width: 100%;
  }

  @media (min-width: 1024px) {
    .product-gallery-sticky-col {
      position: -webkit-sticky !important;
      position: sticky !important;
      top: 84px !important;
      align-self: flex-start !important;
      z-index: 10;
    }
  }

  /* Top Badges & Product Image */
  .product-image-container {
    position: relative;
    background: #f1f5f9;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 0px;
    border: none;
    padding: 0;
  }

  @media (min-width: 640px) {
    .product-image-container {
      border-radius: 16px;
      border: 1px solid var(--border);
    }
  }

  @media (min-width: 1024px) {
    .product-image-container {
      max-height: min(480px, calc(100vh - 160px));
      max-width: min(100%, calc(100vh - 160px));
      margin-left: auto;
      margin-right: auto;
      border-radius: 16px;
      border: 1px solid var(--border);
    }
  }

  .gallery-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
  }

  .gallery-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gallery-slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.15s ease-out;
  }

  .gallery-slide-video {
    display: block;
    background: #f8fafc;
    object-fit: contain;
  }

  @media (hover: hover) and (min-width: 1024px) {
    .gallery-slide:hover .gallery-slide-img {
      cursor: crosshair;
    }
  }

  /* Main Info Section */
  .content-block {
    padding: 12px 16px 24px 16px;
  }

  @media (max-width: 1023px) {
    .content-block {
      padding-top: 10px;
    }
  }

  .rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
  }

  .stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 1px;
  }

  .review-count {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
  }

  .product-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 6px;
    color: var(--text-main);
  }
  @media (min-width: 640px) {
    .product-title { font-size: 25px; }
  }

  .product-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
  }

  /* Key Outcome Pills */
  .benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
  }

  .benefit-item {
 
    border: 1px solid #e2e8f0;
    padding: 10px 11px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
  }

  /* Pricing Section */
  .price-container {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
  }

  .current-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
  }

  .original-price {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
  }

  .discount-pill {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
  }

  .stock-tag {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  /* Pack Size Selector */
  .section-label {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .variant-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
    justify-items: stretch;
    grid-auto-flow: column;
    align-items: stretch;
  }

  .variant-card,
  .variant-btn {
    border-radius: var(--radius);
    padding: 5px 15px;
    cursor: pointer;
    position: relative;
    background: #ffffff !important;
    color: var(--text-main) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  }

  .variant-card:hover,
  .variant-btn:hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
  }

  .variant-card.active,
  .variant-btn.active,
  .variant-card[data-selected="1"],
  .variant-btn[data-selected="1"] {
    border-color: #15803d !important;
    background: #f0fdf4 !important;
    box-shadow: 0 0 0 1px #15803d, 0 2px 8px rgba(21, 128, 61, 0.08) !important;
  }

  .variant-card .popular-tag {
    position: absolute;
    top: -9px;
    right: 10px;
    background: #15803d !important;
    color: #ffffff !important;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(21, 128, 61, 0.2);
  }

  .variant-weight {
    font-size: 16px;
    font-weight: 600;
    display: block;
    color: var(--text-main) !important;
    line-height: 1.3;
  }

  .variant-unit-rate {
    font-size: 13px;
    color: var(--text-muted) !important;
    margin-top: 4px;
    display: block;
    line-height: 1.3;
  }

  .variant-card.active .variant-weight,
  .variant-btn.active .variant-weight,
  .variant-card[data-selected="1"] .variant-weight,
  .variant-btn[data-selected="1"] .variant-weight {
    color: #14532d !important;
    font-weight: 800;
  }

  .variant-card.active .variant-unit-rate,
  .variant-btn.active .variant-unit-rate,
  .variant-card[data-selected="1"] .variant-unit-rate,
  .variant-btn[data-selected="1"] .variant-unit-rate,
  .variant-btn[data-selected="1"] .variant-price-label {
    color: #15803d !important;
    font-weight: 600;
  }

  /* Dosage Guide */
  .guide-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 20px;
  }

  .guide-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .guide-steps {
    list-style: none;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
  }

  .guide-steps li {
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
  }

  .guide-steps li strong {
    color: var(--text-main);
  }

  /* Consolidated Trust Matrix */
  .trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }

  .trust-box {
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
  }

  .trust-icon {
    font-size: 16px;
    flex-shrink: 0;
  }

  .trust-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
  }

  .trust-desc {
    font-size: 12px;
    color: var(--text-muted);
  }
  @media (max-width: 419px) {
    .purity-check-badge {
      display: none !important;
    } }
  @media (max-width: 500px) {
  nav.breadcrumb-nav {
    display: none;
}
  }
body{background-color: #fff;}
  /* Add to Cart & Buy Now Buttons (Body & Sticky Footer) */
  .btn-cart,
  .add-to-cart-btn,
  #product-main-buy-card button[onclick*="addToCartAjax"],
  #mobile-sticky-buy-bar button[onclick*="addToCartAjax"] {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 1.5px solid #15803d !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #15803d !important;
    height: 52px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
    padding: 10px;
    width: 40%;
  }

  .btn-cart:hover,
  .add-to-cart-btn:hover,
  #product-main-buy-card button[onclick*="addToCartAjax"]:hover,
  #mobile-sticky-buy-bar button[onclick*="addToCartAjax"]:hover {
    background-color: #f0fdf4 !important;
    background: #f0fdf4 !important;
    border-color: #166534 !important;
    color: #166534 !important;
  }

  .btn-cart:active,
  .add-to-cart-btn:active,
  #product-main-buy-card button[onclick*="addToCartAjax"]:active,
  #mobile-sticky-buy-bar button[onclick*="addToCartAjax"]:active {
    transform: scale(0.98);
  }

  .btn-buy,
  .buy-now-trigger,
  #main-buy-btn,
  #mobile-buy-btn {
    background-color: #15803d !important;
    background: #15803d !important;
    border: 1.5px solid #15803d !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    height: 52px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 3px 8px rgba(21, 128, 61, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    padding: 10px;
    width: 60%;
  }

  @media (min-width: 640px) {
    .btn-buy,
    .buy-now-trigger,
    #main-buy-btn,
    #mobile-buy-btn {
      font-size: 15px !important;
      height: 48px !important;
    }
    .btn-cart,
    .add-to-cart-btn,
    #product-main-buy-card button[onclick*="addToCartAjax"],
    #mobile-sticky-buy-bar button[onclick*="addToCartAjax"] {
      font-size: 15px !important;
      height: 48px !important;
    }
  }

  .btn-buy:hover,
  .buy-now-trigger:hover,
  #main-buy-btn:hover,
  #mobile-buy-btn:hover {
    background-color: #166534 !important;
    background: #166534 !important;
    border-color: #166534 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.3) !important;
  }

  .btn-buy:active,
  .buy-now-trigger:active,
  #main-buy-btn:active,
  #mobile-buy-btn:active {
    transform: scale(0.98);
  }

  .buy-now-trigger:disabled,
  #main-buy-btn:disabled,
  #mobile-buy-btn:disabled {
    background-color: #e2e8f0 !important;
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
  }

  /* Sticky Bottom Floating Action Bar */
  .sticky-bar,
  #mobile-sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff !important;
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    z-index: 30;
  }

  .sticky-bar-inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
  }

  .micro-guarantee {
    text-align: center;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
  }

  /* Fullscreen Zoom Lightbox Modal */
  #product-zoom-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    z-index: 999999 !important;
  }

  html.zoom-modal-open,
  body.zoom-modal-open {
    overflow: hidden !important;
    touch-action: none !important;
  }

  html.zoom-modal-open header,
  body.zoom-modal-open header,
  html.zoom-modal-open #mobile-sticky-buy-bar,
  body.zoom-modal-open #mobile-sticky-buy-bar {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
