/* Product Header 2 Section Styles */
/* Modern PDP Layout - Theragun-inspired */

.product-header-2 {
  overflow        : visible !important;
  position        : relative;
  background-color: #ffffff;
}

.product-header-2 .container {
  overflow: visible !important;
}

.product-header-inner {
  overflow: visible !important;
  position: relative;
}

/* Main Product Layout */
.product-layout {
  display    : flex;
  gap        : var(--space-xl);
  align-items: flex-start;
  position   : relative;
}

@media (max-width: 767px) {
  .product-layout {
    flex-direction: column;
    gap           : var(--space-lg);
  }
}

/* ===================================
   MEDIA COLUMN (Left Side)
   Main Image + Thumbnails Below
=================================== */
.media-column {
  flex          : 1;
  display       : flex;
  flex-direction: column;
  gap           : var(--space-md);
  min-width     : 0;
}

@media (max-width: 767px) {
  .media-column {
    width: 100%;
  }
}

/* ===================================
   THUMBNAIL STRIP (Horizontal - Below Image)
=================================== */
.thumbnail-strip {
  display        : flex;
  flex-direction : row;
  align-items    : center;
  justify-content: center;
  gap            : var(--space-sm);
  width          : 100%;
  order          : 2;
  /* Put below hero image */
}

@media (max-width: 767px) {
  .thumbnail-strip {
    display: none;
  }
}

.thumb-nav {
  width          : 32px;
  height         : 32px;
  border-radius  : 50%;
  background     : transparent;
  border         : 1px solid rgba(0, 0, 0, 0.15);
  display        : flex;
  align-items    : center;
  justify-content: center;
  cursor         : pointer;
  transition     : all 0.2s ease;
  color          : #1a1a1a;
  flex-shrink    : 0;
}

.thumb-nav:hover {
  background  : rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.3);
}

.thumb-nav:disabled {
  opacity: 0.3;
  cursor : not-allowed;
}

/* Rotate arrows for horizontal navigation */
.thumb-nav-prev svg {
  transform: rotate(-90deg);
}

.thumb-nav-next svg {
  transform: rotate(-90deg);
}

.thumbnail-track {
  display           : flex;
  flex-direction    : row;
  gap               : var(--space-sm);
  max-width         : 100%;
  scrollbar-width   : none;
  -ms-overflow-style: none;
  padding           : 4px;
}

.thumbnail-track::-webkit-scrollbar {
  display: none;
}

.thumbnail-item {
  width        : 70px;
  height       : 70px;
  border-radius: 12px;
  overflow     : hidden;
  cursor       : pointer;
  border       : 2px solid transparent;
  transition   : all 0.2s ease;
  background   : #fff;
  flex-shrink  : 0;
}

.thumbnail-item:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.thumbnail-item.active {
  border-color: #1a1a1a;
}

.thumbnail-item img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

/* ===================================
   HERO MEDIA (Main Image)
=================================== */
.hero-media-wrapper {
  flex          : 1 1 auto;
  position      : relative;
  min-width     : 0;
  display       : flex;
  flex-direction: column;
  gap           : var(--space-md);
  order         : 1;
  /* Appear above thumbnails */
}

@media (max-width: 767px) {
  .hero-media-wrapper {
    display: none;
  }
}

.sale-badge {
  position      : absolute;
  top           : 16px;
  left          : 16px;
  z-index       : 10;
  background    : #c94a3a;
  color         : #fff;
  padding       : 8px 16px;
  border-radius : 100px;
  font-size     : 14px;
  font-weight   : 600;
  letter-spacing: 0.02em;
}

.hero-media {
  width        : 100%;
  border-radius: 12px;
  overflow     : hidden;
  aspect-ratio : 1 / 1;
  background   : #fff;
  cursor       : pointer;
}

.hero-media img,
.hero-media video {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

/* ===================================
   MOBILE GALLERY
=================================== */
.mobile-gallery {
  display                   : none;
  width                     : 100%;
  overflow-x                : auto;
  scroll-snap-type          : x mandatory;
  -webkit-overflow-scrolling: touch;
  gap                       : var(--space-sm);
  padding-bottom            : var(--space-sm);
  scrollbar-width           : none;
  -ms-overflow-style        : none;
}

.mobile-gallery::-webkit-scrollbar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-gallery {
    display: flex;
  }
}

.mobile-gallery-item {
  flex-shrink      : 0;
  width            : 85%;
  max-width        : 400px;
  aspect-ratio     : 1 / 1;
  border-radius    : 12px;
  overflow         : hidden;
  scroll-snap-align: center;
  background       : #fff;
  position         : relative;
}

.mobile-gallery-item:first-child {
  margin-left: 16px;
}

.mobile-gallery-item:last-child {
  margin-right: 16px;
}

.mobile-gallery-item img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

/* Sale badge for mobile - shown via JS when needed */
.mobile-gallery-item .mobile-sale-badge {
  position      : absolute;
  top           : 12px;
  left          : 12px;
  background    : #c94a3a;
  color         : #fff;
  padding       : 6px 14px;
  border-radius : 100px;
  font-size     : 12px;
  font-weight   : 600;
  letter-spacing: 0.02em;
  z-index       : 5;
}

/* Mobile Dots */
.mobile-dots {
  display        : none;
  justify-content: center;
  gap            : 8px;
  padding        : var(--space-sm) 0;
}

@media (max-width: 767px) {
  .mobile-dots {
    display: flex;
  }
}

.dot {
  width        : 8px;
  height       : 8px;
  border-radius: 50%;
  background   : rgba(0, 0, 0, 0.2);
  border       : none;
  padding      : 0;
  cursor       : pointer;
  transition   : all 0.2s ease;
}

.dot.active {
  background   : #1a1a1a;
  width        : 24px;
  border-radius: 4px;
}

/* INFO COLUMN (Right Side) - STICKY WITH PROPER CONTAINMENT */
.info-column {
  flex     : 0 0 45%;
  width    : 45%;
  max-width: 520px;
  min-width: 0;
  overflow : hidden; /* CHANGE FROM visible to hidden */
}

@media (min-width: 1024px) {
  .info-column {
    position     : -webkit-sticky !important;
    position     : sticky !important;
    top          : 24px !important;
    align-self   : flex-start !important;
    max-height   : calc(100vh - 48px);
    overflow-y   : auto;
    overflow-x   : hidden;
    z-index      : 30;
    padding-right: 8px;
  }

  .info-column::-webkit-scrollbar {
    width: 4px;
  }

  .info-column::-webkit-scrollbar-track {
    background: transparent;
  }

  .info-column::-webkit-scrollbar-thumb {
    background   : rgba(0, 0, 0, 0.15);
    border-radius: 4px;
  }
}

@media (max-width: 767px) {
  .info-column {
    width    : 100%;
    flex     : 0 0 100%;
    max-width: 100%;
  }
}

.info-sticky {
  display       : flex;
  flex-direction: column;
  gap           : var(--space-md);
  width         : 100%;
  box-sizing    : border-box;
}

/* Category Label */
.category-label {
  margin-bottom: -8px;
}

.category-label span {
  color         : #c94a3a;
  letter-spacing: 0.1em;
}

/* Product Title */
.product-title-wrapper h1 {
  line-height   : 1.1;
  margin        : 0;
  color         : #1a1a1a;
  font-weight   : 700;
  letter-spacing: -0.02em;
  font-size     : 32px;
}

@media (min-width: 768px) {
  .product-title-wrapper h1 {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .product-title-wrapper h1 {
    font-size: 48px;
  }
}

/* Product Price Display (Under Title) */
.product-price-display {
  display    : flex;
  align-items: baseline;
  gap        : 10px;
}

.product-price-display .current-price {
  font-size  : 24px;
  font-weight: 600;
  color      : #1a1a1a;
}

.product-price-display .original-price {
  font-size      : 18px;
  color          : #888;
  text-decoration: line-through;
}

/* Product Description - Truncated with Read More */
.product-description {
  position: relative;
}

.description-content {
  transition: max-height 0.3s ease-out;
  overflow  : hidden;
}

.description-content.collapsed {
  display           : -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow          : hidden;
}

.description-content.expanded {
  display           : block;
  -webkit-line-clamp: unset;
}

.product-description p {
  line-height: 1.6;
  color      : #4a4a4a;
  margin     : 0;
  font-size  : 14px;
}

.read-more-btn {
  display              : inline-block;
  background           : none;
  border               : none;
  padding              : 0;
  margin-top           : 10px;
  cursor               : pointer;
  color                : #1a1a1a;
  font-size            : 14px;
  font-weight          : 500;
  text-decoration      : underline;
  text-underline-offset: 3px;
  transition           : opacity 0.2s ease;
}

.read-more-btn:hover {
  opacity: 0.7;
}

/* ===================================
   TRUST BADGES
=================================== */
.trust-badges {
  display  : flex;
  flex-wrap: wrap;
  gap      : 8px;
}

.trust-badge {
  display      : inline-flex;
  align-items  : center;
  gap          : 6px;
  padding      : 8px 14px;
  background   : #fff;
  border       : 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  font-size    : 13px;
  font-weight  : 500;
  color        : #1a1a1a;
  transition   : all 0.2s ease;
}

.trust-badge:hover {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow  : 0 2px 8px rgba(0, 0, 0, 0.06);
}

.badge-icon {
  display        : flex;
  align-items    : center;
  justify-content: center;
  width          : 20px;
  height         : 20px;
  flex-shrink    : 0;
}

.badge-icon svg {
  width : 16px;
  height: 16px;
}

.badge-icon img {
  width     : 20px;
  height    : 20px;
  object-fit: contain;
}

.badge-text {
  white-space: nowrap;
}

/* ===================================
   RATING & REVIEWS
=================================== */
.rating-wrapper {
  display    : flex;
  align-items: center;
  gap        : var(--space-sm);
}

.stars {
  display: flex;
  gap    : 2px;
}

.stars svg {
  color: #1a1a1a;
}

.rating-text span {
  color: #1a1a1a;
}

.reviews-link {
  text-decoration: underline;
  cursor         : pointer;
}

/* ===================================
   VARIANT/DEVICE CARDS
=================================== */
.variant-options {
  display       : flex;
  flex-direction: column;
  gap           : var(--space-sm);
}

.variant-label {
  display      : block;
  margin-bottom: 4px;
}

.variant-cards {
  display       : flex;
  flex-direction: column;
  gap           : var(--space-sm);
}

.variant-card {
  display      : flex;
  align-items  : center;
  gap          : var(--space-md);
  padding      : 16px;
  background   : #fff;
  border       : 2px solid transparent;
  border-radius: 12px;
  cursor       : pointer;
  transition   : all 0.2s ease;
}

.variant-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
}

.variant-card.active {
  border-color: #1a1a1a;
  box-shadow  : 0 2px 12px rgba(0, 0, 0, 0.08);
}

.variant-thumb {
  width        : 56px;
  height       : 56px;
  border-radius: 8px;
  overflow     : hidden;
  background   : #f5f5f5;
  flex-shrink  : 0;
}

.variant-thumb img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

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

.variant-name {
  font-size  : 15px;
  font-weight: 500;
  color      : #1a1a1a;
}

.variant-pricing {
  display    : flex;
  align-items: baseline;
  gap        : 8px;
  flex-shrink: 0;
}

.variant-price {
  font-size  : 16px;
  font-weight: 600;
  color      : #1a1a1a;
}

.variant-compare-price {
  font-size      : 14px;
  color          : #888;
  text-decoration: line-through;
}

/* ===================================
   PRICE SECTION
=================================== */
.price-section {
  display    : flex;
  align-items: baseline;
  gap        : var(--space-sm);
}

.price {
  line-height: 1.4;
}

.compare-price {
  text-decoration: line-through;
}

.new-badge {
  padding      : 4px 10px;
  border-radius: 100px;
  display      : inline-flex;
  align-items  : center;
}

/* ===================================
   SUBSCRIPTION & ADD TO CART
=================================== */
.subscription-info p {
  line-height: 1.5;
  color      : #666;
}

.add-to-cart-section {
  display    : flex;
  gap        : var(--space-sm);
  align-items: stretch;
}

.btn-section {
  flex: 1;
}

.btn-section .btn {
  width        : 100%;
  padding      : 16px 24px;
  font-size    : 15px;
  font-weight  : 600;
  background   : #1a1a1a;
  color        : #fff;
  border       : none;
  border-radius: 8px;
  transition   : all 0.2s ease;
}

.btn-section .btn:hover:not(:disabled) {
  background: #333;
  transform : translateY(-1px);
}

.btn-section .btn:disabled {
  opacity: 0.5;
  cursor : not-allowed;
}

/* HAPPINESS GUARANTEE BANNER - NO OVERFLOW */
.happiness-guarantee {
  display      : flex;
  align-items  : center;
  gap          : var(--space-md);
  padding      : 16px 20px;
  background   : #fff;
  border       : 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  margin-top   : var(--space-sm);
  width        : 100%;
  box-sizing   : border-box;
  flex-shrink  : 0; /* ADD THIS - prevents it from shrinking */
}

@media (max-width: 480px) {
  .happiness-guarantee {
    padding: 12px 16px;
    gap    : var(--space-sm);
  }

  .guarantee-image {
    width : 48px;
    height: 48px;
  }

  .guarantee-title {
    font-size: 13px;
  }

  .guarantee-subtitle {
    font-size: 11px;
  }
}

/* Prevent all children from overflowing */
.info-sticky > * {
  max-width : 100%;
  box-sizing: border-box;
}

.subscribe-wrapper,
.variant-options,
.add-to-cart-section,
.bundle-card {
  width     : 100%;
  box-sizing: border-box;
}
/* END OF Prevent all children from overflowing */

.guarantee-image {
  width      : 60px;
  height     : 60px;
  flex-shrink: 0;
}

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

.guarantee-content {
  display       : flex;
  flex-direction: column;
  gap           : 2px;
}

.guarantee-title {
  font-size  : 14px;
  font-weight: 600;
  color      : #1a1a1a;
  line-height: 1.3;
}

.guarantee-subtitle {
  font-size  : 12px;
  font-weight: 400;
  color      : #666;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .happiness-guarantee {
    padding: 12px 16px;
    gap    : var(--space-sm);
  }

  .guarantee-image {
    width : 48px;
    height: 48px;
  }

  .guarantee-title {
    font-size: 13px;
  }

  .guarantee-subtitle {
    font-size: 11px;
  }
}

/* Payment Options Text */
.payment-options {
  display        : flex;
  align-items    : center;
  justify-content: center;
  gap            : 8px;
  font-size      : 13px;
  color          : #666;
}

.payment-options img {
  height: 20px;
  width : auto;
}

/* ===================================
   QUANTITY BUTTONS
=================================== */
.qty-buttons label {
  margin-bottom: 0.25rem;
  display      : block;
}

.qty-wrap {
  display         : inline-flex;
  border          : 1px solid rgba(0, 0, 0, 0.15);
  border-radius   : 8px;
  background-color: #fff;
}

.qty-wrap span {
  display        : flex;
  justify-content: center;
  align-items    : center;
  flex-direction : column;
  line-height    : 1;
}

.qty-wrap span.qty-action-btn {
  width      : 48px;
  height     : 48px;
  cursor     : pointer;
  font-size  : 18px;
  font-weight: 500;
  transition : background 0.2s ease;
}

.qty-wrap span.qty-action-btn:hover {
  background: rgba(0, 0, 0, 0.03);
}

.qty-wrap span.qty-val {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-left : 1px solid rgba(0, 0, 0, 0.1);
  padding     : 0 12px;
  min-width   : 48px;
  font-weight : 600;
}

/* ===================================
   SUBSCRIPTION OPTIONS - New Design
=================================== */
.subscribe-wrapper {
  border          : 1px solid rgba(0, 0, 0, 0.1);
  border-radius   : 12px;
  background-color: #fff;
  overflow        : hidden;
}

/* Save Banner */
.subscribe-save-banner {
  background: var(--color-secondary-light, var(--color-brand-light, #e8f4f0));
  padding   : 10px 16px;
  text-align: center;
}

.subscribe-save-banner span {
  font-size  : 14px;
  font-weight: 500;
  color      : #1a1a1a;
}

/* Subscribe Option Card */
.subscribe-option-card {
  padding      : 16px;
  transition   : background-color 0.2s ease;
  position     : relative;
  cursor       : pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.subscribe-option-card:last-child {
  border-bottom: none;
}

.subscribe-option-card.selected {
  background-color: #faf8f5;
}

/* Option Header (Radio + Label) */
.subscribe-option-header {
  display    : flex;
  align-items: flex-start;
  gap        : 12px;
  position   : relative;
}

.subscribe-option-header input[type="radio"] {
  appearance        : none;
  -webkit-appearance: none;
  width             : 22px;
  height            : 22px;
  border            : 2px solid rgba(0, 0, 0, 0.25);
  border-radius     : 50%;
  margin            : 0;
  flex-shrink       : 0;
  cursor            : pointer;
  position          : relative;
  transition        : all 0.2s ease;
}

.subscribe-option-header input[type="radio"]:checked {
  border-color: #1a1a1a;
  background  : #1a1a1a;
}

.subscribe-option-header input[type="radio"]:checked::after {
  content      : '';
  position     : absolute;
  top          : 50%;
  left         : 50%;
  transform    : translate(-50%, -50%);
  width        : 8px;
  height       : 8px;
  background   : #fff;
  border-radius: 50%;
}

.subscribe-option-header label {
  flex  : 1;
  cursor: pointer;
}

.subscribe-option-row {
  display        : flex;
  justify-content: space-between;
  align-items    : center;
  width          : 100%;
}

.subscribe-option-title {
  font-size  : 15px;
  font-weight: 500;
  color      : #1a1a1a;
}

.subscribe-option-pricing {
  display    : flex;
  align-items: baseline;
  gap        : 8px;
}

.subscription-price,
.one-time-price {
  font-size  : 16px;
  font-weight: 600;
  color      : #1a1a1a;
}

.subscription-compare-price,
.one-time-compare-price {
  font-size      : 14px;
  color          : #888;
  text-decoration: line-through;
}

/* Delivery Schedule Dropdown */
.delivery-schedule-wrapper {
  margin-top  : 16px;
  padding-left: 34px;
}

.delivery-schedule-dropdown {
  margin-bottom: 16px;
}

.delivery-schedule-label {
  display       : block;
  font-size     : 12px;
  font-weight   : 500;
  color         : #666;
  margin-bottom : 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.custom-select-wrapper {
  position: relative;
  width   : 100%;
}

.subscription-plans-dropdown {
  width             : 100%;
  padding           : 12px 40px 12px 14px;
  font-size         : 15px;
  font-weight       : 500;
  color             : #1a1a1a;
  background        : #f8f5f2;
  border            : 1px solid rgba(0, 0, 0, 0.1);
  border-radius     : 8px;
  appearance        : none;
  -webkit-appearance: none;
  cursor            : pointer;
  transition        : all 0.2s ease;
}

.subscription-plans-dropdown:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.subscription-plans-dropdown:focus {
  outline     : none;
  border-color: #1a1a1a;
}

.custom-select-wrapper .select-arrow {
  position      : absolute;
  right         : 14px;
  top           : 50%;
  transform     : translateY(-50%);
  pointer-events: none;
  color         : #666;
}

/* Subscription Benefits */
.subscribe-benefits {
  list-style    : none;
  padding       : 0;
  margin        : 0;
  display       : flex;
  flex-direction: column;
  gap           : 10px;
}

.subscribe-benefits li {
  display    : flex;
  align-items: center;
  gap        : 10px;
  font-size  : 14px;
  color      : #444;
}

.subscribe-benefits svg {
  flex-shrink: 0;
  color      : #666;
}

/* One-Time Purchase Option */
.one-time-option {
  background: #fff;
}

.one-time-option.selected {
  background: #faf8f5;
}

/* Legacy support */
.subscribe {
  border          : 1px solid rgba(0, 0, 0, 0.1);
  border-radius   : 12px;
  background-color: #fff;
  overflow        : hidden;
}

.subscribe .subscribe-item {
  padding   : 16px;
  transition: background-color 0.3s ease;
  position  : relative;
  cursor    : pointer;
}

.subscribe .subscribe-item.selected {
  background-color: #f8f5f2;
}

.subscribe .one-time-purchase-section {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.subscribe-features svg {
  width: 20px;
}

/* ===================================
   PRODUCT FEATURES
=================================== */
.product-features {
  display       : flex;
  flex-direction: column;
  gap           : var(--space-xs);
}

.features-list {
  list-style    : none;
  padding       : 0;
  margin        : 0;
  display       : flex;
  flex-direction: column;
  gap           : var(--space-xs);
}

.feature-item {
  display    : block;
  line-height: 1.6;
  font-size  : 12px;
  color      : #666;
}

.feature-item strong {
  font-weight: 600;
  color      : #1a1a1a;
}

/* ===================================
   GUARANTEE TEXT
=================================== */
.guarantee-text {
  text-align: center;
}

.guarantee-text p {
  line-height: 1.5;
  opacity    : 0.6;
  color      : #666;
}

/* ===================================
   ACCORDIONS
=================================== */
.accordions-wrapper {
  display       : flex;
  flex-direction: column;
  border-top    : 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-header {
  width          : 100%;
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  padding        : var(--space-md) 0;
  background     : none;
  border         : none;
  cursor         : pointer;
  text-align     : left;
  transition     : all 0.3s ease;
}

.accordion-header:hover {
  opacity: 0.7;
}

.accordion-icon {
  flex-shrink: 0;
  transition : transform 0.3s ease;
  width      : 24px;
  height     : 24px;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding-bottom: var(--space-md);
}

.benefits-list {
  list-style-type: disc;
  padding-left   : var(--space-lg);
  margin         : 0;
  display        : flex;
  flex-direction : column;
  gap            : var(--space-xs);
}

.benefits-list li {
  line-height : 1.5;
  padding-left: var(--space-xs);
}

.ingredients-content {
  line-height: 1.6;
  color      : #666;
}

/* ===================================
   BUNDLE CARD
=================================== */
.bundle-card {
  display      : flex;
  gap          : var(--space-sm);
  padding      : var(--space-sm);
  border-radius: 12px;
  align-items  : center;
  background   : #fff;
  border       : 1px solid rgba(0, 0, 0, 0.08);
}

.bundle-image {
  flex-shrink  : 0;
  width        : 100px;
  height       : 100px;
  border-radius: 12px;
  overflow     : hidden;
  background   : #f5f5f5;
}

.bundle-image img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

.bundle-content {
  flex          : 1;
  display       : flex;
  flex-direction: column;
  gap           : var(--space-xs);
  min-width     : 0;
}

.bundle-content h3 {
  line-height: 1.4;
  margin     : 0;
  font-size  : 15px;
  font-weight: 600;
}

.bundle-content p {
  line-height: 1.5;
  margin     : 0;
  font-size  : 13px;
  color      : #666;
}

.bundle-footer {
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  gap            : var(--space-sm);
}

.bundle-pricing {
  display    : flex;
  align-items: center;
  gap        : var(--space-xs);
}

.bundle-original-price {
  text-decoration: line-through;
  opacity        : 0.5;
}

/* ===================================
  IMAGE MODAL / LIGHTBOX
=================================== */
.image-modal {
  position       : fixed;
  top            : 0;
  left           : 0;
  width          : 100%;
  height         : 100%;
  background     : rgba(0, 0, 0, 0.95);
  z-index        : 9999;
  display        : none;
  align-items    : center;
  justify-content: center;
  padding        : 40px;
  padding-bottom : 60px;
  overflow-x     : hidden;
  overflow-y     : auto;
}

.image-modal.active {
  display: flex;
}

body:has(.image-modal.active) {
  overflow: hidden;
  position: fixed;
  width   : 100%;
  height  : 100%;
}

.modal-close {
  position       : absolute;
  top            : 24px;
  right          : 24px;
  background     : none;
  border         : none;
  color          : white;
  font-size      : 48px;
  line-height    : 1;
  cursor         : pointer;
  z-index        : 10001;
  width          : 48px;
  height         : 48px;
  display        : flex;
  align-items    : center;
  justify-content: center;
  transition     : opacity 0.2s ease;
}

.modal-close:hover {
  opacity: 0.7;
}

.modal-content {
  display       : flex;
  flex-direction: column;
  align-items   : center;
  max-width     : 100%;
  max-height    : 100%;
  width         : 100%;
  padding       : 0;
}

.modal-main-image {
  display        : flex;
  align-items    : center;
  justify-content: center;
  width          : 100%;
  max-height     : calc(100vh - 220px);
  position       : relative;
}

.modal-main-image img {
  max-width    : 100%;
  max-height   : calc(100vh - 220px);
  width        : auto;
  height       : auto;
  object-fit   : contain;
  border-radius: 12px;
}

/* Fixed Thumbnail Slider */
.modal-thumbnails {
  width             : 100%;
  max-width         : 800px;
  margin            : 0 auto;
  padding           : 20px 0;
  position          : relative;
  overflow          : visible !important;
  -ms-overflow-style: none;
  scrollbar-width   : none;
}

.modal-thumbnails::-webkit-scrollbar {
  display: none;
}

/* Splide Track and List */
.modal-thumbnails .splide__track {
  overflow: visible;
  padding : 0 70px;
  height  : 92px;
  /* Increased space for arrows to prevent overlap */
}

.modal-thumbnails .splide__list {
  display        : flex !important;
  align-items    : center;
  justify-content: center;
  gap            : 12px;
  overflow       : visible !important;
  height         : 92px;
  padding        : 6px 0; 
}

.modal-thumbnails .splide__slide {
  width      : 80px !important;
  height     : 80px !important;
  flex-shrink: 0;
  overflow   : visible !important;
  margin     : 0 !important;
  padding    : 0 !important;
}

/* Thumbnail styling */
.modal-thumb {

  border-radius: 12px;
  overflow     : hidden;
  cursor       : pointer;
  opacity      : 0.4;
  transition   : all 0.3s ease;
  border       : 3px solid transparent;
  flex-shrink  : 0;
  display      : block;
}

.modal-thumb:hover {
  opacity: 0.8;
}

.modal-thumb.active,
.modal-thumbnails .splide__slide.is-active .modal-thumb {
  opacity     : 1 !important;
  border-color: white !important;
  border-width: 3px;
}

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

/* Thumbnail slider arrows - Positioned absolutely */
.modal-thumbnails .splide__arrow {
  position       : absolute;
  top            : 50%;
  transform      : translateY(-50%);
  background     : rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  width          : 44px !important;
  height         : 44px !important;
  border-radius  : 50%;
  opacity        : 1 !important;
  display        : flex !important;
  align-items    : center;
  justify-content: center;
  transition     : all 0.2s ease;
  z-index        : 10;
  border         : none;
  cursor         : pointer;
}

.modal-thumbnails .splide__arrow--prev {
  left: -64px;
  /* Positioned outside on desktop/tablet */
}

.modal-thumbnails .splide__arrow--next {
  right: -64px;
  /* Positioned outside on desktop/tablet */
}

.modal-thumbnails .splide__arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.3);
}

.modal-thumbnails .splide__arrow:disabled {
  opacity: 0.3 !important;
  cursor : not-allowed;
}

.modal-thumbnails .splide__arrow svg {
  fill  : white;
  width : 18px;
  height: 18px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .modal-close {
    top      : 16px;
    right    : 16px;
    font-size: 36px;
    width    : 36px;
    height   : 36px;
  }

  .image-modal {
    padding       : 16px;
    padding-bottom: 40px;
  }

  .modal-main-image {
    max-height: calc(100vh - 200px);
  }

  .modal-main-image img {
    max-height: calc(100vh - 200px);
  }

  .modal-thumbnails {
    max-width: 100%;
    padding  : 16px 0;
  }

  .modal-thumbnails .splide__track {
    padding : 0 60px;
    height  : 72px;
    overflow: visible;
  }

  .modal-thumbnails .splide__list {
    gap    : 10px;
    height : 72px;
    padding: 6px 0;
  }

  .modal-thumbnails .splide__slide {
    width : 60px !important;
    height: 60px !important;
  }

  .modal-thumb {
    width : 60px !important;
    height: 60px !important;
  }

  .modal-thumb.active,
  .modal-thumbnails .splide__slide.is-active .modal-thumb {
    opacity     : 1 !important;
    border-color: white !important;
    border-width: 3px !important;
  }

  .modal-thumbnails .splide__arrow {
    width : 36px !important;
    height: 36px !important;
  }

  .modal-thumbnails .splide__arrow--prev {
    left: 10px;
  }

  .modal-thumbnails .splide__arrow--next {
    right: 10px;
  }

  .modal-thumbnails .splide__arrow svg {
    width : 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .modal-thumbnails .splide__track {
    padding : 0 40px;
    height  : 68px;
    overflow: visible;
  }

  .modal-thumbnails .splide__list {
    height : 68px;
    padding: 6px 0;
  }

  .modal-thumbnails .splide__slide {
    width : 56px !important;
    height: 56px !important;
  }

  .modal-thumb {
    width : 56px !important;
    height: 56px !important;
  }

  .modal-thumbnails .splide__arrow {
    width : 32px !important;
    height: 32px !important;
  }

  .modal-thumbnails .splide__arrow--prev {
    left: 10px;
  }

  .modal-thumbnails .splide__arrow--next {
    right: 10px;
  }
}

/* ===================================
   STICKY FOOTER
=================================== */
.sticky-footer {
  position  : fixed;
  bottom    : 0;
  left      : 0;
  right     : 0;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index   : 1000;
  transform : translateY(100%);
  transition: transform 0.3s ease;
  padding   : var(--space-md) var(--space-lg);
}

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

.sticky-footer-content {
  max-width      : 1440px;
  margin         : 0 auto;
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  gap            : var(--space-lg);
}

@media (max-width: 767px) {
  .sticky-footer {
    padding: var(--space-sm) var(--space-md);
  }

  .sticky-footer-content {
    gap: var(--space-sm);
  }
}

.sticky-product-info {
  display    : flex;
  align-items: center;
  gap        : var(--space-md);
  flex       : 1;
  min-width  : 0;
}

@media (max-width: 767px) {
  .sticky-product-info {
    gap: var(--space-sm);
  }
}

.sticky-thumb {
  flex-shrink  : 0;
  width        : 56px;
  height       : 56px;
  border-radius: 10px;
  overflow     : hidden;
  background   : #f5f5f5;
}

@media (max-width: 767px) {
  .sticky-thumb {
    width : 44px;
    height: 44px;
  }
}

.sticky-thumb img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

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

.sticky-code {
  line-height: 1.2;
  font-size  : 12px;
  color      : #666;
}

.sticky-code sup {
  font-size     : 0.7em;
  vertical-align: super;
  line-height   : 0;
}

.sticky-text h3 {
  margin       : 0;
  line-height  : 1.2;
  white-space  : nowrap;
  overflow     : hidden;
  text-overflow: ellipsis;
  font-size    : 15px;
  font-weight  : 600;
}

.sticky-cta {
  flex-shrink: 0;
}

.sticky-cta .btn {
  padding      : 12px 24px;
  background   : #1a1a1a;
  color        : #fff;
  border-radius: 8px;
  font-weight  : 600;
}

@media (max-width: 767px) {
  .sticky-cta .btn {
    padding  : 10px 16px;
    font-size: 14px;
  }
}

/* ===================================
   CLICKABLE IMAGES
=================================== */
.clickable-image {
  cursor    : pointer;
  transition: opacity 0.2s ease;
}

.clickable-image:hover {
  opacity: 0.95;
}

/* ===================================
   UTILITIES
=================================== */
.flex-1 {
  flex: 1;
}

/* ===================================
   RESPONSIVE FINE-TUNING
=================================== */

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .thumbnail-item {
    width : 70px;
    height: 70px;
  }

  .thumbnail-strip {
    width: 80px;
  }
}

/* Large screens */
@media (min-width: 1280px) {
  .info-column {
    flex : 0 0 480px;
    width: 480px;
  }

  .hero-media {
    border-radius: 12px;
  }

  .thumbnail-item {
    width : 85px;
    height: 85px;
  }
}

/* Extra large screens */
@media (min-width: 1536px) {
  .product-layout {
    gap: var(--space-2xl);
  }

  .info-column {
    flex : 0 0 520px;
    width: 520px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .mobile-gallery-item {
    width    : 90%;
    max-width: 340px;
  }

  .trust-badges {
    gap: 6px;
  }

  .trust-badge {
    padding  : 6px 12px;
    font-size: 12px;
  }

  .variant-card {
    padding: 12px;
    gap    : var(--space-sm);
  }

  .variant-thumb {
    width : 48px;
    height: 48px;
  }
}

/* Animation for smooth interactions */
@keyframes fadeIn {
  from {
    opacity  : 0;
    transform: translateY(8px);
  }

  to {
    opacity  : 1;
    transform: translateY(0);
  }
}

.info-sticky>* {
  animation: fadeIn 0.4s ease-out forwards;
}

.info-sticky>*:nth-child(1) {
  animation-delay: 0s;
}

.info-sticky>*:nth-child(2) {
  animation-delay: 0.05s;
}

.info-sticky>*:nth-child(3) {
  animation-delay: 0.1s;
}

.info-sticky>*:nth-child(4) {
  animation-delay: 0.15s;
}

.info-sticky>*:nth-child(5) {
  animation-delay: 0.2s;
}

.info-sticky>*:nth-child(6) {
  animation-delay: 0.25s;
}

.info-sticky>*:nth-child(7) {
  animation-delay: 0.3s;
}

.info-sticky>*:nth-child(8) {
  animation-delay: 0.35s;
}

.info-sticky>*:nth-child(9) {
  animation-delay: 0.4s;
}

.info-sticky>*:nth-child(10) {
  animation-delay: 0.45s;
}

/* Background utilities */
.bg-cream {
  background-color: #f5f0eb;
}

.bg-white {
  background-color: #ffffff;
}

/* ===================================
   SEE IT IN ACTION - UGC Videos
   Positioned in right column under add to cart
=================================== */
.see-it-in-action {
  margin-top: var(--space-md);
}

.see-it-title {
  font-size     : 14px;
  font-weight   : 600;
  color         : #1a1a1a;
  margin        : 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ugc-videos-grid {
  display              : grid;
  grid-template-columns: repeat(4, 1fr);
  gap                  : 8px;
}

.ugc-video-card {
  aspect-ratio : 9 / 16;
  border-radius: 8px;
  overflow     : hidden;
  background   : #1a1a1a;
  cursor       : pointer;
  transition   : all 0.2s ease;
}

.ugc-video-card:hover {
  transform : scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ugc-video-card fluid-media-widget {
  width  : 100%;
  height : 100%;
  display: block;
}

.ugc-video-card fluid-media-widget>div,
.ugc-video-card fluid-media-widget video,
.ugc-video-card fluid-media-widget img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

.ugc-placeholder {
  width          : 100%;
  height         : 100%;
  display        : flex;
  align-items    : center;
  justify-content: center;
  color          : rgba(255, 255, 255, 0.4);
  background     : #2a2a2a;
}

.ugc-placeholder svg {
  opacity: 0.6;
}

/* Hide on mobile - can show in mobile gallery instead */
@media (max-width: 767px) {
  .see-it-in-action {
    display: none;
  }
}