/* product.css */

:root {
  --bg-surface: #FFFFFF;
  --bg-body: #F9FAFB;
  --border-color: #E5E7EB;
  --primary: #1F2937;
  --text-main: #111827;
  --text-secondary: #4B5563;
  --text-light: #6B7280;
}

.product-page .footer {
  padding-bottom: 76px; /* Exactly balances the bottom space so distance to sticky strip is identical (21px) to the top divider space */
}



/* Showcase Section */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 2rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .product-showcase {
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
    align-items: stretch;
  }
}

.product-image-section {
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  height: 480px;
  box-sizing: border-box;
  overflow: hidden;
}

@media (min-width: 768px) {
  .product-image-section {
    height: 100%;
    min-height: 440px;
    padding: 1.5rem;
  }
}

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

.image-wrapper img {
  width: 100%;
  height: 100%;
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08));
  transform-origin: center center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.product-image-section:hover .image-wrapper img {
  transform: scale(1.04);
}

.product-info-section .product-brand,
.product-showcase .product-brand {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  color: #FF3811;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.product-info-section .product-title,
.product-showcase .product-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.35rem;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.product-subcategory-label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: #475569;
  font-weight: 600;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.highlight-chip {
  font-family: var(--font-body);
  background: #FFF1EB;
  border: 1px solid #FDCFBA;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1E293B;
  letter-spacing: 0.01em;
}

.product-description {
  font-family: var(--font-body);
  color: #334155;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
  letter-spacing: -0.005em;
}

/* Pack Selector */
.section-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0F172A;
}

.pack-options-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .pack-box {
    width: calc(50% - 7px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 0 0 calc(50% - 7px) !important;
    min-height: 105px !important;
  }
}

.pack-box {
  position: relative;
  min-height: 110px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 13px 10px 11px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  user-select: none;
}

@media (min-width: 768px) {
  /* GLOBAL RULE: auto-fill so buttons are always min 160px and stretch to fill row.
     Space permitting: 4 buttons → each ~25% width. Less space → 3, 2, etc.
     Single button: 160px min, never full row width (auto-fill keeps ghost columns). */
  .pack-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
  .pack-box {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 120px;
  }
}

.pack-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #CBD5E1;
}

.pack-box.active {
  border: 2px solid #FF5722 !important;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(255, 87, 34, 0.14);
}

.pack-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF4500;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(255, 69, 0, 0.3);
  z-index: 2;
}

.pack-qty {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
  line-height: 1.2;
}

.pack-price {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
  line-height: 1.2;
  font-feature-settings: 'tnum' on;
}

.pack-note {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: #64748B;
  line-height: 1.35;
  margin-top: 2px;
  padding-top: 0;
  border-top: none;
}

/* Quick Info Grid (Available Shades & Coverage Guide inside product info) */
.product-quick-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

@media (min-width: 768px) {
  .product-quick-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.quick-info-card {
  background: #FAFAFA;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.card-mini-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.2rem;
}

.card-mini-subtitle {
  font-size: 0.78rem;
  color: #4B5563;
  margin-bottom: 0.65rem;
}

.shades-palette-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.color-swatch {
  width: 24px;
  height: 28px;
  border-radius: 3px;
  display: inline-block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.more-swatch-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
  gap: 2px;
  cursor: pointer;
}

.more-swatch-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: conic-gradient(from 180deg at 50% 50%, #FF3B00 0deg, #FFC107 90deg, #4CAF50 180deg, #2196F3 270deg, #E91E63 360deg);
}

.more-swatch-text {
  font-size: 0.68rem;
  color: #4B5563;
  font-weight: 500;
}

.coverage-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-top: 0.4rem;
}

.coat-heading {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: #111827;
}

.coverage-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1F2937;
  margin-top: 0.25rem;
}

.coverage-unit {
  font-size: 0.75rem;
  color: #6B7280;
}

/* Product Details 3-Column Section (Description, Specifications, Why Choose) */
.product-details-section {
  padding: 2.5rem 0;
  background-color: #FFFFFF;
}

.product-details-trio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 992px) {
  .product-details-trio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.details-trio-card {
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.details-card-header {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #EAECF0;
}

.details-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Description Column */
.details-card-body p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #374151;
  margin-bottom: 1.25rem;
}

.details-card-body p:last-child {
  margin-bottom: 0;
}

/* Specifications Column Table */
.specs-table {
  display: flex;
  flex-direction: column;
}

.spec-table-row {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #F3F4F6;
  align-items: start;
}

.spec-table-row:last-child {
  border-bottom: none;
}

.spec-table-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #111827;
}

.spec-table-value {
  font-size: 0.85rem;
  font-weight: 400;
  color: #374151;
  line-height: 1.45;
}

/* Why Choose Column */
.why-choose-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-choose-item {
  display: flex;
  flex-direction: column;
}

.why-choose-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.why-choose-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #4B5563;
}

/* Horizontal Carousel & Related Products */
.related-products {
  padding: 2.5rem 0 5rem;
}

.related-products .section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.25rem;
}

.carousel-container {
  width: 100%;
  overflow: visible;
}

.horizontal-carousel {
  display: flex;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-top: 10px;
  padding-bottom: 14px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  /* Prevent page overflow */
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.horizontal-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Related Products Carousel handled by canonical product-card.css */

/* WhatsApp Buttons */
.btn-whatsapp {
  background-color: #25D366;
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
}

.btn-whatsapp::before {
  content: "";
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51a12.8 12.8 0 0 0-.57-.01c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413Z'/%3E%3C/svg%3E");
}

/* Sticky Bottom Strip - UI UX Pro Max Floating Pill */
.sticky-bottom-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background-color: #FFFFFF;
  border-top: 1px solid #EAECF0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 1rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.strip-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.strip-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.strip-product-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #EAECF0;
  background: #FAFAFA;
  padding: 2px;
  flex-shrink: 0;
}

.strip-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.strip-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.strip-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #FF3811;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  margin-top: 2px;
}

.strip-right {
  flex-shrink: 0;
}

.strip-right .btn-whatsapp {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(18, 140, 126, 0.2);
}

@media (min-width: 768px) {
  .strip-product-img {
    width: 48px;
    height: 48px;
  }
  .strip-title {
    font-size: 1.05rem;
  }
  .strip-price {
    font-size: 0.95rem;
  }
  .strip-right .btn-whatsapp {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* ============================================================
   DESKTOP FIXES FOR RELATED PRODUCTS CAROUSEL
   ============================================================ */
@media (min-width: 768px) {
  #related-products-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 1.25rem !important;
    padding-bottom: 1rem !important;
    scrollbar-width: thin; 
    scrollbar-color: #CBD5E1 transparent;
  }
  
  #related-products-carousel::-webkit-scrollbar {
    height: 8px;
  }
  #related-products-carousel::-webkit-scrollbar-track {
    background: transparent;
  }
  #related-products-carousel::-webkit-scrollbar-thumb {
    background-color: #CBD5E1;
    border-radius: 4px;
  }
  #related-products-carousel::-webkit-scrollbar-thumb:hover {
    background-color: #94A3B8;
  }

  #related-products-carousel .product-card,
  #related-products-carousel > div,
  #related-products-carousel > a {
    flex: 0 0 240px !important;
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    scroll-snap-align: start;
    box-sizing: border-box !important;
  }
}

/* ============================================================
   MOBILE-ONLY FIXES  (max-width: 767px)
   Scope: product.html only. Desktop untouched.
   ============================================================ */

@media (max-width: 767px) {

  /* 1. Global: prevent any horizontal scroll bleed */
  .product-page,
  .product-page body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* 2. Content must clear the sticky bar */
  .product-page main {
    padding-bottom: 88px;
  }

  /* 3. Breadcrumb: truncate on one line, no overflow */
  .site-breadcrumb {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
    font-size: 0.78rem;
    padding: 8px 0;
  }
  .site-breadcrumb .sep {
    margin: 0 3px;
  }

  /* 4. Product showcase: single column, fill screen width with edge padding */
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 1rem;
    /* Container already gives 16px L/R padding — don't override it here */
  }

  /* 5. Image section: compact height for phones */
  .product-image-section {
    height: auto;
    min-height: 240px;
    max-height: 280px;
    padding: 16px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
  }

  .image-wrapper img {
    height: 220px;
    max-height: 220px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  /* 6. Product info section: keep text inside the container's 16px side gutters */
  .product-info-section {
    padding: 14px 16px 0;
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  /* 7. Brand label */
  .product-brand {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
  }

  /* 8. Product title: clamp so it never overflows narrow screens */
  .product-title {
    font-size: clamp(1.15rem, 5.2vw, 1.5rem);
    line-height: 1.2;
    margin-bottom: 0.25rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* 9. Subcategory label */
  .product-subcategory-label {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
  }

  /* 10. Highlight chips: single-row horizontal scroll, no wrap */
  .product-highlights {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 4px;
    margin-bottom: 0.75rem;
    max-width: 100%;
  }
  .product-highlights::-webkit-scrollbar { display: none; }
  .highlight-chip {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
  }

  /* 11. Product description */
  .product-description {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 0.9rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* 12. Pack selector heading */
  .section-heading {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  /* 13. Pack selector: auto-fill — 2 columns on narrow phone, more on wider screens */
  .pack-options-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* 14. Pack box: fully fluid inside the grid cell — kill ALL fixed widths */
  .pack-box {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
    min-height: 90px !important;
    padding: 10px 6px 9px;
    overflow: hidden;
    box-sizing: border-box !important;
  }

  /* 15. Pack badge: keep inside card bounds */
  .pack-popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 0 0 6px 6px;
    white-space: nowrap;
  }

  /* 16. Pack text sizes */
  .pack-qty  { font-size: 15px; }
  .pack-price { font-size: 19px; }
  .pack-note  { font-size: 10.5px; }

  /* 17. Quick info grid (shades + coverage): single column */
  .product-quick-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0.75rem;
  }

  /* 18. Product details trio grid: single column, tighter section */
  .product-details-section {
    padding: 1.25rem 0;
  }
  .product-details-trio-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .details-trio-card {
    padding: 1rem 0.9rem;
    border-radius: 10px;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .details-card-header {
    font-size: 1rem;
    padding-bottom: 0.65rem;
    margin-bottom: 0.9rem;
  }

  /* 19. Specs table */
  .spec-table-row {
    grid-template-columns: 85px 1fr;
    gap: 0.5rem;
    padding: 0.5rem 0;
  }
  .spec-table-label,
  .spec-table-value {
    font-size: 0.78rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }





  /* Force the scroll wrapper to actually scroll */
  .carousel-container {
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* This is the actual scroll element */
  .horizontal-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: scroll !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 8px 16px 16px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .horizontal-carousel::-webkit-scrollbar {
    display: none;
  }

  /* Fix card width — 72vw shows 1 full + peek of 2nd */
  .horizontal-carousel .product-card,
  .horizontal-carousel > a,
  .horizontal-carousel > div {
    flex: 0 0 72vw !important;
    width: 72vw !important;
    min-width: 0 !important;
    max-width: 72vw !important;
    scroll-snap-align: start;
    box-sizing: border-box !important;
  }

  /* Fix empty space below carousel */
  .related-products {
    padding-bottom: 16px !important;
    margin-bottom: 0 !important;
  }

  /* IMPORTANT: body overflow-x must NOT be clip or hidden */
  body {
    overflow-x: hidden !important;  /* hidden allows scroll children, clip does not */
  }
  /* If body has overflow-x: clip in global.css, override it */
  html {
    overflow-x: hidden !important;
  }

  /* 22. Sticky bottom strip: full width mobile optimization */
  .sticky-bottom-strip {
    padding: 10px 12px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
  .strip-content {
    gap: 8px;
  }
  .strip-left {
    gap: 8px;
  }
  .strip-product-img {
    width: 40px;
    height: 40px;
  }
  .strip-title {
    font-size: 0.9rem;
    max-width: 140px;
  }
  .strip-price {
    font-size: 0.85rem;
  }
  .strip-right .btn-whatsapp {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  /* 23. Why-choose section: tighten font */
  .why-choose-title {
    font-size: 0.84rem;
  }
  .why-choose-desc {
    font-size: 0.78rem;
  }
  .why-choose-list {
    gap: 0.9rem;
  }

}

/* ---- Tiny phone fix: 360px and below ---- */
@media (max-width: 360px) {
  .pack-price { font-size: 14px; }
  .sticky-bottom-strip { padding: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .strip-title { max-width: 120px; font-size: 0.85rem; }
  .strip-right .btn-whatsapp { padding: 8px 10px; font-size: 0.8rem; }
}
