/** Shopify CDN: Minification failed

Line 262:2 Expected ":"

**/
/* Product Hero Banner Section */

/* Main Section with white background */
.product-hero-banner {
  background-color: var(--rootmd-white);
  width: 100%;
}

/* Boxed container with consistent padding */
.product-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Navigation Bar - Back Button and Breadcrumb in one line */
.product-navigation-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

/* Breadcrumb Navigation - Inline */
.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rootmd-font-family);
  font-size: 14px;
  font-weight: var(--rootmd-weight-regular);
  flex-wrap: wrap;
}

.breadcrumb-link {
  color: var(--rootmd-secondary);
  text-decoration: none;
  transition: var(--rootmd-transition);
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--rootmd-text-dark);
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--rootmd-text-dark);
  font-weight: var(--rootmd-weight-medium);
}

/* Main Content - Layout (Desktop) */
.product-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Left Column - Gallery (Sticky) */
.product-gallery-column {
  position: sticky;
  top: 20px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Gallery carousel viewport - fixed square aspect ratio for consistency */
.product-gallery-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background-color: #FFFFFF;
  cursor: grab;
  touch-action: pan-y;
}

.product-gallery-stage.is-dragging {
  cursor: grabbing;
}

/* Gallery track - horizontal strip of images */
.product-gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.product-gallery-track.no-transition {
  transition: none;
}

/* Each image takes full width of the viewport */
.product-gallery-item {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  background-color: #FFFFFF;
  overflow: hidden;
}

/* Hide variant-specific items that don't match the current variant */
.product-gallery-item.is-hidden {
  display: none;
}

.gallery-full-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Thumbnail Gallery (below main image) - horizontal scroll */
.product-thumbnail-gallery {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

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

.product-thumbnail-gallery::-webkit-scrollbar-track {
  background: transparent;
}

.product-thumbnail-gallery::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 3px;
}

.product-thumbnail {
  flex: 0 0 calc((100% - 50px) / 6);
  max-width: calc((100% - 50px) / 6);
  aspect-ratio: 1 / 1;
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--rootmd-transition);
  border: 2px solid transparent;
}

.product-thumbnail.is-hidden {
  display: none;
}

.product-thumbnail:hover {
  border-color: var(--rootmd-secondary);
}

.product-thumbnail.active {
  border-color: var(--rootmd-secondary);
  box-shadow: 0 0 0 1px var(--rootmd-secondary);
}

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

/* Right Column - Product Details (scrolls naturally) */
.product-details-column {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Product Title - Bold 32px --rootmd-primary */
.product-title {
  font-family: var(--rootmd-font-family);
  font-size: 32px;
  font-weight: 700;
  color: var(--rootmd-primary);
  line-height: 1.2;
  margin: 0;
}

/* Product Subtitle - Bold 16px --rootmd-secondary */
.product-subtitle {
  font-family: var(--rootmd-font-family);
  font-size: 16px;
  font-weight: 700;
  color: var(--rootmd-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Header layout: stacked on desktop, 2-col on mobile */
.product-header-layout {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-header-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Bestseller Badge */
.product-bestseller-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E8F0EC;
  color: var(--rootmd-primary);
  border: 1px solid #C2D4CB;
  font-family: var(--rootmd-font-family);
  font-size: 12px;
  font-weight: var(--rootmd-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
}

.product-bestseller-badge__icon {
  font-weight: var(--rootmd-weight-bold);
  line-height: 1;
}

/* Rating Row */
.product-rating-row { display: none !important; display: none !important;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0;
}

/* Rating Link */
.product-rating-link {
ZZ  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.product-rating-link:hover {
  opacity: 0.8;
}

/* Single star icon */
.product-star-single {
  flex-shrink: 0;
  fill: var(--rootmd-primary);
  display: block;
  width: 19px;
  height: 19px;
}

/* Rating score number */
.product-rating-score {
  font-family: var(--rootmd-font-family);
  font-size: 16px;
  font-weight: var(--rootmd-weight-semibold);
  color: var(--rootmd-text-dark);
}

/* Separator */
.product-rating-separator {
  font-size: 16px;
  color: #ccc;
  line-height: 1;
}

/* Review count */
.product-rating-count {
  font-family: var(--rootmd-font-family);
  font-size: 16px;
  font-weight: var(--rootmd-weight-regular);
  color: var(--rootmd-text-dark);
}

/* Rating App Block (Judge.me/Star Ratings) */
.product-rating-app-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Judge.me Widget Styling */
.product-rating-app-block .jdgm-widget,
.jdgm-widget {
  font-family: var(--rootmd-font-family) !important;
}

.product-rating-app-block .jdgm-star,
.jdgm-widget .jdgm-star {
  color: var(--rootmd-primary) !important;
  font-size: 20px !important;
}

.product-rating-app-block .jdgm-prev-badge__stars,
.jdgm-widget .jdgm-prev-badge__stars {
  display: flex;
  gap: 3px;
}

.product-rating-app-block .jdgm-prev-badge__text,
.jdgm-widget .jdgm-prev-badge__text {
  font-family: var(--rootmd-font-family) !important;
  font-size: 11px !important;
  font-weight: var(--rootmd-weight-semibold) !important;
  color: var(--rootmd-primary) !important;
}

/* Star Ratings App Styling */
.product-rating-app-block .sr-stars {
  display: flex;
  gap: 3px;
}

.product-rating-app-block .sr-star {
  font-size: 20px !important;
}

.product-rating-app-block .sr-text {
  font-family: var(--rootmd-font-family) !important;
  font-size: 11px !important;
  font-weight: var(--rootmd-weight-semibold) !important;
  color: var(--rootmd-primary) !important;
}

/* Hide duplicate app block in lower section */
.product-app-block-hidden {
  display: none !important;
}

/* Selected Price Display Section */
.product-selected-price-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 6px 0;
  margin: 2px 0;
  gap: 4px;
}

/* Price Current Large - Large and primary color */
.price-current-large {
  font-family: var(--rootmd-font-family);
  font-size: 18px;
  font-weight: var(--rootmd-weight-bold);
  color: var(--rootmd-primary);
  line-height: 1.1;
}

/* Price Original Strike - Gray and struck through */
.price-original-strike {
  font-family: var(--rootmd-font-family);
  font-size: 18px;
  font-weight: var(--rootmd-weight-regular);
  color: #999;
  text-decoration: line-through;
}

/* Subscribe & Save Card (compact) */
.subscription-card {
  border: 1.5px solid #D4DDD7;
  border-radius: 12px;
  background: var(--rootmd-white);
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--rootmd-transition);
  position: relative;
  /* Card lives inside a <form> (block context), so center it with auto margins */
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.subscription-card.is-active {
  border-color: var(--rootmd-primary);
  background: #E8F0EC;
}

.subscription-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.subscription-card__title,
.subscription-card__price {
  font-family: var(--rootmd-font-family);
  font-size: 16px;
  font-weight: var(--rootmd-weight-bold);
  color: var(--rootmd-primary);
}

.subscription-card__price {
  white-space: nowrap;
}

.subscription-card__phrase {
  font-family: var(--rootmd-font-family);
  font-size: 13px;
  font-weight: var(--rootmd-weight-medium);
  color: var(--rootmd-primary);
  line-height: 1.4;
  margin: 0;
}

.subscription-card__phrase-freq {
  font-weight: var(--rootmd-weight-bold);
}

/* Centered dot separating the frequency from the suffix */
.subscription-card__phrase-sep {
  color: var(--rootmd-secondary);
  font-weight: var(--rootmd-weight-bold);
}

/* Product Form */
.product-form {
  width: 100%;
}

.product-form__error-message-wrapper {
  margin-bottom: 12px;
  padding: 12px;
  background-color: #fdecea;
  color: #c00;
  border-radius: 8px;
  font-size: 14px;
}

/* Dynamic Checkout Buttons (Buy with Shop Pay, etc.) */
.shopify-payment-button {
  margin-top: 12px;
}

.shopify-payment-button__button {
  border-radius: 8px !important;
}

.shopify-payment-button__button--unbranded {
  border-radius: 8px !important;
  background-color: var(--rootmd-secondary) !important;
  color: var(--rootmd-white) !important;
}

.shopify-payment-button__more-options {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--rootmd-primary);
  text-align: center;
}

/* Ships today / arrival range */
.product-delivery-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--rootmd-font-family);
  font-size: 14px;
  color: #6B7A72;
  text-align: center;
}

.product-delivery-note__icon {
  font-size: 18px;
  line-height: 1;
}

.product-delivery-note__ships {
  font-weight: var(--rootmd-weight-semibold);
  color: var(--rootmd-primary);
}

.product-delivery-note__sep {
  color: #B0BAB5;
}

.product-delivery-note__date {
  font-weight: var(--rootmd-weight-bold);
  color: var(--rootmd-primary);
}

/* Start Now Button - SemiBold 16px white, dark background */
.product-start-button {
  position: relative;
  width: 100%;
  font-family: var(--rootmd-font-family);
  font-size: 16px;
  font-weight: var(--rootmd-weight-semibold);
  color: var(--rootmd-white);
  background-color: var(--rootmd-primary) !important;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  text-align: center;
  transition: var(--rootmd-transition);
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-start-button:hover:not(:disabled) {
  background-color: #032e3e;
  color: var(--rootmd-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-start-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Loading Spinner */
.loading-overlay__spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.loading-overlay__spinner.hidden {
  display: none;
}

.spinner {
  animation: rotator 1.4s linear infinite;
  width: 20px;
  height: 20px;
}

@keyframes rotator {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(270deg);
  }
}

.spinner .path {
  stroke-dasharray: 187;
  stroke-dashoffset: 0;
  transform-origin: center;
  animation: dash 1.4s ease-in-out infinite;
  stroke: var(--rootmd-white);
}

@keyframes dash {
  0% {
    stroke-dashoffset: 187;
  }
  50% {
    stroke-dashoffset: 46.75;
    transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: 187;
    transform: rotate(450deg);
  }
}

/* Button Row Layout */
.product-form__buttons-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.product-form__buttons-row .product-form__submit,
.product-form__buttons-row .product-payment-button {
  flex: 1;
}

.product-form__buttons-row .product-form__submit {
  margin-top: 0;
  min-height: 45px;
}

.product-form__buttons-row .product-payment-button {
  display: flex;
}

.product-form__buttons-row .shopify-payment-button {
  margin-top: 0;
  width: 100%;
}

.product-form__buttons-row .shopify-payment-button__button {
  width: 100% !important;
  min-height: 45px !important;
  max-height: 45px !important;
  transition: box-shadow 0.2s ease !important;
}

.product-form__buttons-row .shopify-payment-button__button:hover {
  filter: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Spark Subscriptions Widget */
spark-pdp {
  display: block;
  padding: 4px 0;
  margin: 2px 0;
}

/* Accordion Section */
.product-accordion-section {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rootmd-primary);
  margin-top: 8px;
}

.accordion-item {
  border-bottom: 1px solid var(--rootmd-primary);
}


/* Accordion Header - SemiBold 17px --rootmd-primary */
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
  font-family: var(--rootmd-font-family);
  font-size: 17px;
  font-weight: var(--rootmd-weight-semibold);
  color: var(--rootmd-primary);
  list-style: none;
  user-select: none;
  transition: var(--rootmd-transition);
}

.accordion-header:hover {
  color: var(--rootmd-primary);
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-icon {
  width: 10px;
  height: 10px;
  transition: transform 0.3s ease;
  color: var(--rootmd-primary);
  stroke: currentColor;
}

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

.accordion-content {
  padding: 0 0 12px 0;
  font-family: var(--rootmd-font-family);
  font-size: 16px;
  font-weight: var(--rootmd-weight-regular);
  color: var(--rootmd-text-dark);
  line-height: 1.7;
}

/* Ensure all content inside accordion is regular weight */
.accordion-content p,
.accordion-content span,
.accordion-content div,
.accordion-content ul,
.accordion-content ol,
.accordion-content li {
  font-family: var(--rootmd-font-family);
  font-size: 16px;
  font-weight: var(--rootmd-weight-regular);
  color: var(--rootmd-text-dark);
  line-height: 1.7;
  margin: 0;
}

.accordion-content strong,
.accordion-content b {
  font-weight: 700;
}

.accordion-content p + p {
  margin-top: 6px;
}

/* Consistent bullet/list styling */
.accordion-content ul,
.description-content ul {
  list-style: none;
  padding-left: 0;
  margin: 4px 0;
}

.accordion-content ul li,
.description-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.accordion-content ul li::before,
.description-content ul li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--rootmd-text-dark);
  font-size: 16px;
  line-height: 1.7;
}

/* Paragraphs with checkmark bullets (✔) - consistent spacing */
.accordion-content p {
  margin-bottom: 6px;
}

/* Upsell Section - Complete The Routine */
.upsell-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.upsell-title {
  font-family: var(--rootmd-font-family);
  font-size: 20px;
  font-weight: var(--rootmd-weight-semibold);
  color: var(--rootmd-text-dark);
  margin: 0;
}

.upsell-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upsell-product-card {
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  padding: 14px 16px;
  transition: var(--rootmd-transition);
}

.upsell-product-card:has(.upsell-checkbox:checked) {
  border-color: var(--rootmd-secondary);
}

.upsell-product-label {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  margin: 0;
}

.upsell-checkbox {
  display: none;
}

.upsell-check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--rootmd-transition);
  background: var(--rootmd-white);
}

.upsell-checkbox:checked + .upsell-check-icon {
  background: var(--rootmd-text-dark);
  border-color: var(--rootmd-text-dark);
}

.upsell-checkbox:not(:checked) + .upsell-check-icon svg {
  display: none;
}

.upsell-product-image {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

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

.upsell-product-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.upsell-product-name {
  font-family: var(--rootmd-font-family);
  font-size: 15px;
  font-weight: var(--rootmd-weight-medium);
  color: var(--rootmd-text-dark);
  line-height: 1.3;
}

.upsell-variant-name {
  font-family: var(--rootmd-font-family);
  font-size: 13px;
  color: #999;
}

.upsell-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.upsell-price-sale {
  font-family: var(--rootmd-font-family);
  font-size: 15px;
  font-weight: var(--rootmd-weight-semibold);
  color: #e74c3c;
}

.upsell-price-compare {
  font-family: var(--rootmd-font-family);
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.upsell-claim-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 24px;
  background: var(--rootmd-primary);
  color: var(--rootmd-white);
  border: none;
  border-radius: 12px;
  font-family: var(--rootmd-font-family);
  font-size: 16px;
  font-weight: var(--rootmd-weight-semibold);
  cursor: pointer;
  transition: var(--rootmd-transition);
}

.upsell-claim-btn:hover {
  opacity: 0.9;
}

.upsell-claim-text {
  font-weight: var(--rootmd-weight-semibold);
}

.upsell-claim-separator {
  opacity: 0.6;
}

.upsell-claim-price {
  font-weight: var(--rootmd-weight-semibold);
}

.upsell-claim-compare {
  font-size: 14px;
  text-decoration: line-through;
  opacity: 0.6;
}

/* Tablet Responsive */
@media screen and (max-width: 1024px) {
  .product-hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}

/* Medium Screens */
@media screen and (max-width: 900px) {
  .product-hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .product-navigation-bar {
    display: none;
  }

  .product-breadcrumb {
    font-size: 12px;
  }

  /* 2-col header: rating+title left (col-1), badge right (col-2) */
  .product-header-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }

  .product-header-main {
    order: 1;
    flex: 1;
    min-width: 0;
  }

  .product-bestseller-badge {
    order: 2;
    flex-shrink: 0;
    margin-bottom: 0;
    margin-top: 2px;
    font-size: 10px;
    padding: 4px 10px;
    gap: 4px;
  }

  .product-bestseller-badge__icon {
    width: 9px;
    height: 9px;
  }

  .product-header-layout--no-rating .product-bestseller-badge {
    display: none;
  }

  .product-hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  /* Thumbnail gallery on mobile - keep horizontal scroll */
  .product-thumbnail-gallery {
    gap: 8px;
  }

  .product-thumbnail {
    flex: 0 0 calc((100% - 32px) / 5);
    max-width: calc((100% - 32px) / 5);
  }

  /* Remove sticky on mobile */
  .product-details-column {
    position: static;
    max-height: none;
    overflow-y: visible;
    max-width: 100%;
  }

  .product-gallery-column {
    position: static;
    max-width: 100%;
  }

  .product-title-subtitle-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .product-title {
    font-size: 32px;
    width: 100%;
  }

  .product-subtitle {
    font-size: 16px;
    text-align: left;
    width: 100%;
  }

  /* Selected Price Display - Mobile */
  .price-current-large {
    font-size: 18px;
  }

  .price-original-strike {
    font-size: 18px;
  }

  /* Button Row - Mobile: Stack vertically */
  .product-form__buttons-row {
    flex-direction: column;
  }

  .subscription-card {
    max-width: 100%;
  }

  /* Lightbox Mobile Adjustments */
  .lightbox-container {
    width: 95%;
    height: 80vh;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
  }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
  .product-hero-container {
    padding: 0 15px;
  }

  .product-title {
    font-size: 28px;
  }

  .product-subtitle {
    font-size: 16px;
  }

  .product-rating-row { display: none !important; display: none !important;
    flex-wrap: wrap;
  }

  /* Selected Price Display - Small Mobile */
  .price-current-large {
    font-size: 18px;
  }

  .price-original-strike {
    font-size: 18px;
  }

  .product-start-button {
    font-size: 15px;
    padding: 12px 14px;
  }

  .accordion-content,
  .accordion-content p,
  .accordion-content span,
  .accordion-content div,
  .accordion-content ul,
  .accordion-content ol,
  .accordion-content li {
    font-size: 16px;
  }
}

/* Very Small Screens */
@media screen and (max-width: 360px) {
  .product-title {
    font-size: 24px;
  }

  .product-subtitle {
    font-size: 15px;
  }
}

/* Large Screens */
@media screen and (min-width: 1400px) {
  .product-hero-container {
    max-width: 1400px;
  }

  .product-hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .product-title {
    font-size: 32px;
  }

  .product-subtitle {
    font-size: 16px;
  }
}

/* Very Wide Screens */
@media screen and (min-width: 1600px) {
  .product-hero-container {
    max-width: 1500px;
  }

  .product-hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* High Contrast Support */
@media (forced-colors: active) {
  .product-hero-banner {
    border: 1px solid;
  }

  .product-thumbnail {
    border: 1px solid;
  }

}

/* Reduced Motion Support */
@media (prefers-reduced-motion) {
  .product-start-button:hover {
    transform: none;
  }

  .accordion-icon {
    transition: none;
  }
}

/* Focus States for Accessibility */
.breadcrumb-link:focus,
.product-start-button:focus {
  outline: 2px solid var(--rootmd-secondary);
  outline-offset: 2px;
}

.accordion-header:focus {
  outline: none;
}

/* Print Styles */
@media print {
  .product-hero-banner {
    background: white !important;
    color: black !important;
  }

  .product-start-button {
    display: none;
  }

  .accordion-item[open] .accordion-content {
    display: block;
  }

  .subscription-option-card {
    page-break-inside: avoid;
  }
}

/* Placeholder SVG Styles */
.placeholder-svg {
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

/* ============================================
   Product Image Lightbox
   ============================================ */

.product-image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
}

.product-image-lightbox.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.lightbox-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 900px;
  height: 85vh;
}

.lightbox-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 10;
}

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

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 10;
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-counter {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--rootmd-font-family);
  font-size: 14px;
}

/* ============================================
   RootMD in Action Video Gallery Section
   ============================================ */

/* Video Gallery Grid */
.rootmd-video-gallery-section {
  margin-top: 12px;
  padding-top: 12px;
}

.video-gallery-title {
  font-family: var(--rootmd-font-family);
  font-size: 16px;
  font-weight: var(--rootmd-weight-semibold);
  color: var(--rootmd-text-dark);
  margin-bottom: 8px;
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-gallery-item {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 8px;
}

.video-thumbnail-button {
  width: 100%;
  height: 100%;
  position: relative;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-thumbnail-button:hover {
  transform: scale(1.02);
}

.video-thumbnail-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background: #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Play Button Overlay */
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: all 0.3s ease;
}

.video-thumbnail-button:hover .video-play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.play-icon-circle {
  fill: var(--rootmd-primary);
  transition: fill 0.3s ease;
}

.video-thumbnail-button:hover .play-icon-circle {
  fill: var(--rootmd-secondary);
}

/* Video Title Overlay */
.video-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  font-family: var(--rootmd-font-family);
  font-size: 16px;
  font-weight: var(--rootmd-weight-semibold);
  pointer-events: none;
}

/* ============================================
   Video Modal Lightbox
   ============================================ */

.rootmd-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.rootmd-video-modal.active {
  display: flex;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.video-modal-container {
  position: relative;
  width: 95%;
  max-width: 1400px;
  height: 90vh;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

.video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-modal-close:hover {
  background: rgba(0,0,0,0.7);
}

/* 3-Column Layout */
.video-modal-content {
  display: grid;
  grid-template-columns: 200px 1fr 300px;
  height: 100%;
  gap: 0;
}

/* ============================================
   Left Sidebar: Gallery Navigation
   ============================================ */

.video-modal-gallery {
  background: #F5F5F5;
  padding: 20px;
  overflow-y: auto;
  border-right: 1px solid #E0E0E0;
}

.sidebar-title {
  font-family: var(--rootmd-font-family);
  font-size: 14px;
  font-weight: var(--rootmd-weight-bold);
  color: var(--rootmd-text-dark);
  margin-bottom: 15px;
}

.video-thumbnail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-nav-thumb {
  width: 100%;
  padding: 8px;
  background: white;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.video-nav-thumb:hover {
  border-color: var(--rootmd-secondary);
}

.video-nav-thumb.active {
  border-color: var(--rootmd-primary);
  background: #E8F7F9;
}

.video-nav-thumb img,
.video-nav-thumb-video {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 8px;
  pointer-events: none;
}

.video-nav-thumb-video {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.video-nav-title {
  font-family: var(--rootmd-font-family);
  font-size: 12px;
  font-weight: var(--rootmd-weight-medium);
  color: var(--rootmd-text-dark);
  display: block;
}

/* ============================================
   Center: Video Player
   ============================================ */

.video-modal-player {
  padding: 30px;
  overflow-y: auto;
  background: #FAFAFA;
}

.video-player-container {
  position: relative;
}

.video-player-wrapper {
  display: none;
}

.video-player-wrapper.active {
  display: block;
}

.video-element {
  width: 100%;
  max-height: 70vh;
  border-radius: 8px;
  background: black;
}

.video-modal-title {
  font-family: var(--rootmd-font-family);
  font-size: 24px;
  font-weight: var(--rootmd-weight-semibold);
  color: var(--rootmd-primary);
  margin-top: 20px;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #E0E0E0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #666;
}

/* ============================================
   Right Sidebar: Products
   ============================================ */

.video-modal-products {
  background: white;
  padding: 20px;
  overflow-y: auto;
  border-left: 1px solid #E0E0E0;
}

.video-products-list {
  display: none;
}

.video-products-list.active {
  display: block;
}

.video-product-card {
  padding: 15px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  background: #FAFAFA;
}

.video-product-image {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 12px;
  border-radius: 6px;
  overflow: hidden;
  background: white;
}

.video-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-product-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.video-product-title {
  font-family: var(--rootmd-font-family);
  font-size: 14px;
  font-weight: var(--rootmd-weight-semibold);
  color: var(--rootmd-text-dark);
  line-height: 1.3;
  margin: 0;
  text-align: center;
}

.video-product-title a {
  color: inherit;
  text-decoration: none;
}

.video-product-title a:hover {
  text-decoration: underline;
}

.video-product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 18px;
}

.video-product-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #F5A623;
}

.video-product-star--empty {
  color: #E0E0E0;
}

.video-product-star--full,
.video-product-star--empty {
  fill: currentColor;
}

.video-product-review-count {
  font-family: var(--rootmd-font-family);
  font-size: 12px;
  color: var(--rootmd-text-dark);
  opacity: 0.75;
}

.video-product-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-current {
  font-family: var(--rootmd-font-family);
  font-size: 16px;
  font-weight: var(--rootmd-weight-bold);
  color: var(--rootmd-text-dark);
}

.price-current.on-sale {
  color: var(--rootmd-secondary);
}

.price-compare {
  font-family: var(--rootmd-font-family);
  font-size: 14px;
  font-weight: var(--rootmd-weight-regular);
  color: #999;
  text-decoration: line-through;
}

.video-product-atc-btn {
  width: 100%;
  padding: 12px;
  background: var(--rootmd-primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-family: var(--rootmd-font-family);
  font-size: 14px;
  font-weight: var(--rootmd-weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-product-atc-btn:hover:not(:disabled) {
  background: #032e3e;
  transform: translateY(-1px);
}

.video-product-atc-btn:disabled {
  background: #CCC;
  cursor: not-allowed;
}

.video-product-atc-btn .loading-spinner {
  position: absolute;
  right: 12px;
}

.video-product-atc-btn .loading-spinner.hidden {
  display: none;
}

.spinner {
  width: 16px;
  height: 16px;
  animation: rotator 1.4s linear infinite;
}

@keyframes rotator {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(270deg); }
}

.spinner .path {
  stroke: white;
  stroke-dasharray: 187;
  stroke-dashoffset: 0;
  transform-origin: center;
  animation: dash 1.4s ease-in-out infinite;
}

@keyframes dash {
  0% { stroke-dashoffset: 187; }
  50% {
    stroke-dashoffset: 46.75;
    transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: 187;
    transform: rotate(450deg);
  }
}

.no-products-message {
  font-family: var(--rootmd-font-family);
  font-size: 13px;
  color: #666;
  font-style: italic;
  text-align: center;
  padding: 20px;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media screen and (max-width: 1024px) {
  .video-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .video-modal-content {
    grid-template-columns: 150px 1fr 250px;
  }

  .video-modal-gallery,
  .video-modal-products {
    padding: 15px;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    overflow-x: unset;
    padding-bottom: 0;
  }

  .video-gallery-item {
    flex: unset;
    scroll-snap-align: unset;
  }

  .rootmd-video-modal {
    padding: 20px 12px;
  }

  .video-modal-container {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 40px);
    border-radius: 12px;
  }

  .video-modal-content {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
  }

  .video-modal-gallery {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 10px 15px 120px;
    max-height: 150px;
    border: none;
  }

  .video-thumbnail-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
  }

  .video-nav-thumb {
    min-width: 80px;
    padding: 4px;
  }

  .video-modal-player {
    flex: 1;
    padding: 0;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .video-player-wrapper {
    width: 100%;
    height: 100%;
  }

  .video-element {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 40px);
    object-fit: contain;
  }

  .video-modal-title {
    display: none;
  }

  .video-modal-products {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 100%);
    border: none;
    padding: 15px;
    max-height: none;
    height: auto;
  }

  .video-products-list {
    max-height: none;
  }

  .video-product-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 0;
  }

  /* Show only first product in mobile */
  .video-product-card:not(:first-child) {
    display: none;
  }

  .video-product-title {
    color: white;
  }

  .price-current,
  .price-current.on-sale {
    color: white;
  }

  .price-compare {
    color: rgba(255,255,255,0.6);
  }

  .sidebar-title {
    color: white;
    font-size: 12px;
    margin-bottom: 10px;
  }

  .video-modal-close {
    top: 12px;
    right: 12px;
    width: 52px;
    height: 52px;
    z-index: 20;
    background: rgba(0,0,0,0.75);
  }

  .video-modal-close svg {
    width: 32px;
    height: 32px;
  }

  .video-modal-close svg path {
    stroke-width: 2.5;
  }

  .no-products-message {
    color: rgba(255,255,255,0.8);
  }
}

/* Scrollbar Styling */
.video-modal-gallery::-webkit-scrollbar,
.video-modal-products::-webkit-scrollbar,
.video-thumbnail-list::-webkit-scrollbar,
.video-gallery-grid::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.video-modal-gallery::-webkit-scrollbar-thumb,
.video-modal-products::-webkit-scrollbar-thumb,
.video-thumbnail-list::-webkit-scrollbar-thumb,
.video-gallery-grid::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 3px;
}

.video-modal-gallery::-webkit-scrollbar-track,
.video-modal-products::-webkit-scrollbar-track,
.video-thumbnail-list::-webkit-scrollbar-track,
.video-gallery-grid::-webkit-scrollbar-track {
  background: transparent;
}

/* ============================================
   Doctor / Formulator Card
   ============================================ */
.product-doctor-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--rootmd-white);
  border: 1.5px solid #D4DDD7;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 22px 0 18px;
}

.product-doctor-card__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #E8F0EC;
  color: var(--rootmd-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-doctor-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-doctor-card__body {
  flex: 1;
  min-width: 0;
}

.product-doctor-card__name {
  font-family: var(--rootmd-font-family);
  font-size: 16px;
  font-weight: var(--rootmd-weight-bold);
  color: var(--rootmd-primary);
  margin-bottom: 6px;
}

.product-doctor-card__desc {
  font-family: var(--rootmd-font-family);
  font-size: 14px;
  line-height: 1.5;
  color: #6B7A72;
  margin: 0 0 12px 0;
}

.product-doctor-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-doctor-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #E8F0EC;
  border: 1px solid #C2D4CB;
  border-radius: 100px;
  padding: 5px 12px;
  font-family: var(--rootmd-font-family);
  font-size: 12px;
  font-weight: var(--rootmd-weight-bold);
  color: var(--rootmd-primary);
  letter-spacing: 0.02em;
}

@media (max-width: 749px) {
  .product-doctor-card__icon {
    display: none;
  }

  .product-doctor-card__pill {
    font-size: 10px;
    padding: 3px 8px;
  }

  .product-doctor-card__pills {
    gap: 6px;
  }
}

/* ============================================
   Sticky Add to Cart Bar (post-section, mobile + desktop)
   ============================================ */

.product-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: var(--rootmd-white, #ffffff);
  border-top: 1px solid #E0E0E0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.product-sticky-bar.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.product-sticky-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.product-sticky-bar__product {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.product-sticky-bar__image {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #F5F5F5;
  flex-shrink: 0;
}

.product-sticky-bar__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.product-sticky-bar__title {
  font-family: var(--rootmd-font-family);
  font-size: 16px;
  font-weight: var(--rootmd-weight-bold);
  color: var(--rootmd-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-sticky-bar__subtitle {
  font-family: var(--rootmd-font-family);
  font-size: 13px;
  font-weight: var(--rootmd-weight-regular);
  color: #6B7A72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-sticky-bar__price {
  font-weight: var(--rootmd-weight-semibold);
  color: var(--rootmd-primary);
}

.product-sticky-bar__sep {
  margin: 0 4px;
  color: #B0BAB5;
}

.product-sticky-bar__atc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rootmd-font-family);
  font-size: 13px;
  font-weight: var(--rootmd-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rootmd-white, #ffffff);
  background-color: var(--rootmd-primary);
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(26, 61, 46, 0.22);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.product-sticky-bar__atc-arrow {
  font-size: 16px;
  line-height: 1;
}

.product-sticky-bar__atc:hover {
  background-color: #032e3e;
  transform: translateY(-1px);
}

/* Sticky Bar - Mobile */
@media screen and (max-width: 768px) {
  .product-sticky-bar__inner {
    padding: 10px 16px;
    gap: 12px;
  }

  .product-sticky-bar__image {
    width: 38px;
    height: 38px;
  }

  .product-sticky-bar__title {
    font-size: 14px;
  }

  .product-sticky-bar__subtitle {
    font-size: 11px;
  }

  .product-sticky-bar__atc {
    padding: 11px 22px;
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .product-sticky-bar__subtitle {
    display: none;
  }

  .product-sticky-bar__atc {
    padding: 11px 18px;
  }
}

/* ============================================
   Mobile-only Sticky CTA (pre-section, until reaching the main ATC)
   ============================================ */

.product-sticky-cta {
  display: none;
}

@media screen and (max-width: 749px) {
  .product-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9998;
    background: var(--rootmd-white, #ffffff);
    border-top: 1px solid #E0E0E0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(0);
    transition: transform 0.3s ease;
  }

  .product-sticky-cta.is-hidden {
    transform: translateY(100%);
    pointer-events: none;
  }

  .product-sticky-cta__inner {
    display: flex;
    justify-content: center;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .product-sticky-cta__atc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 480px;
    font-family: var(--rootmd-font-family);
    font-size: 13px;
    font-weight: var(--rootmd-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rootmd-white, #ffffff);
    background-color: var(--rootmd-primary);
    border: none;
    border-radius: 100px;
    padding: 14px 24px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(26, 61, 46, 0.22);
    transition: background-color 0.2s ease;
  }

  .product-sticky-cta__atc:hover,
  .product-sticky-cta__atc:focus-visible {
    background-color: #032e3e;
  }

  .product-sticky-cta__sep {
    opacity: 0.6;
  }

  .product-sticky-cta__price {
    font-weight: var(--rootmd-weight-bold);
  }
}

/* ============================================
   Split Purchase Layout (Pack selector + One-Time / Subscribe)
   ============================================ */

/* Pack selector */
.product-pack-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 4px;
}

.pack-selector-label {
  font-family: var(--rootmd-font-family);
  font-size: 12px;
  font-weight: var(--rootmd-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7A72;
}

.pack-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pack-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 1.5px solid #D4DDD7;
  border-radius: 12px;
  background: var(--rootmd-white);
  padding: 16px 18px;
  cursor: pointer;
  transition: var(--rootmd-transition);
  font-family: var(--rootmd-font-family);
}

.pack-option:hover {
  border-color: var(--rootmd-secondary);
}

.pack-option.active {
  border-color: var(--rootmd-primary);
  border-width: 2px;
  background: #F4F6F4;
}

.pack-option__radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #C4CEC8;
  position: relative;
  flex-shrink: 0;
}

.pack-option.active .pack-option__radio {
  border-color: var(--rootmd-primary);
}

.pack-option.active .pack-option__radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rootmd-primary);
}

.pack-option__main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.pack-option__name {
  font-size: 16px;
  font-weight: var(--rootmd-weight-bold);
  color: var(--rootmd-text-dark);
}

.pack-option__tag {
  font-size: 11px;
  font-weight: var(--rootmd-weight-semibold);
  color: var(--rootmd-primary);
  background: #E8F0EC;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}

.pack-option__tag--highlight {
  color: #4A6B3D;
  background: #DDEAD2;
}

.pack-option__pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.pack-option__price {
  font-size: 16px;
  font-weight: var(--rootmd-weight-bold);
  color: var(--rootmd-text-dark);
}

.pack-option__save {
  font-size: 13px;
  font-weight: var(--rootmd-weight-semibold);
  color: #C2761A;
}

/* Add to Cart button parts */
.product-start-button__sep {
  opacity: 0.6;
}


/* OR divider */
.purchase-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin: 18px 0 4px;
  color: #9AA8A0;
  font-family: var(--rootmd-font-family);
  font-size: 12px;
  font-weight: var(--rootmd-weight-bold);
  letter-spacing: 0.08em;
}

.purchase-or-divider::before,
.purchase-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E0E6E2;
}

/* Subscribe & Save CTA button (inside the subscription card) */
.subscription-card__cta {
  position: relative;
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border: 1.5px solid var(--rootmd-primary);
  border-radius: 8px;
  background: var(--rootmd-white);
  color: var(--rootmd-primary);
  font-family: var(--rootmd-font-family);
  font-size: 15px;
  font-weight: var(--rootmd-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--rootmd-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.subscription-card__cta:hover {
  background: var(--rootmd-primary);
  color: var(--rootmd-white);
}

.subscription-card__cta:hover .spinner .path {
  stroke: var(--rootmd-white);
}

.subscription-card__cta .spinner .path {
  stroke: var(--rootmd-primary);
}

/* Loading states for both purchase buttons */
.product-start-button.loading .product-start-button__label,
.product-start-button.loading .product-start-button__price,
.product-start-button.loading .product-start-button__sep,
.subscription-card__cta.loading .subscription-card__cta-label {
  visibility: hidden;
}

.product-form__submit.loading .loading-overlay__spinner.hidden,
.subscription-card__cta.loading .loading-overlay__spinner.hidden {
  display: inline-flex;
}

/* Mobile: pack options in a 2x2 grid */
@media screen and (max-width: 749px) {
  .pack-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pack-option {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "radio main"
      "price price";
    row-gap: 8px;
    padding: 14px;
    align-items: start;
  }

  .pack-option__radio {
    grid-area: radio;
  }

  .pack-option__main {
    grid-area: main;
  }

  .pack-option__pricing {
    grid-area: price;
    align-items: flex-start;
    text-align: left;
  }
}
