/* Product CTA: Buy Now (left) + Buy Via WhatsApp (right) */
.product-actions .add-to-cart,
#local-product-buy,
#local-product-sticky-buy {
  display: none !important;
}

.product-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  align-items: stretch;
}

.product-actions .buy-now,
#local-product-buy-now {
  order: 1;
}

.product-actions .buy-via-whatsapp,
#local-product-whatsapp {
  order: 2;
}

a.buy-button.buy-via-whatsapp,
.buy-button.buy-via-whatsapp {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #23a216 !important;
  background: #23a216 !important;
  color: #fff !important;
  text-decoration: none !important;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  transition: background .2s ease, border-color .2s ease, filter .2s ease;
}

a.buy-button.buy-via-whatsapp:hover,
.buy-button.buy-via-whatsapp:hover {
  background: #1e8f14 !important;
  border-color: #1e8f14 !important;
  color: #fff !important;
  filter: brightness(1.02);
}

.buy-via-whatsapp-label {
  flex: 0 1 auto;
  text-align: center;
  white-space: nowrap;
}

.buy-button.buy-via-whatsapp svg,
.buy-via-whatsapp-icon {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  flex: 0 0 28px !important;
  display: block;
  color: #fff;
  overflow: visible;
}

.wa-price-note {
  margin: 12px 0 14px;
  color: #c41e3a !important;
  font-weight: 700 !important;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-align: center !important;
}

.wf-trust-strip { display: none !important; }

/* PDP_GALLERY_GAL5 v=20260821gal5 — desktop+mobile: 2 rows large, extra = mini thumbs */
.product-gallery.product-gallery--grid,
.product-gallery.has-thumbs {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  grid-template-columns: none !important;
}
.product-gallery.product-gallery--grid .product-gallery-main,
.product-gallery.has-thumbs .product-gallery-main,
.product-gallery.product-gallery--grid .image-note {
  display: none !important;
}
.product-gallery.product-gallery--grid.has-thumbs #local-product-thumbs,
.product-gallery.product-gallery--grid #local-product-thumbs,
.product-gallery.has-thumbs #local-product-thumbs,
.product-gallery.product-gallery--grid .product-gallery-thumbs,
#local-product-thumbs:not([hidden]) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  grid-template-columns: none !important;
}
.product-gallery.product-gallery--single .product-gallery-main {
  display: block !important;
}
.product-gallery.product-gallery--single #local-product-thumbs {
  display: none !important;
}
.product-gallery.product-gallery--single .product-gallery-zoom {
  cursor: zoom-in !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
}
.product-gallery.product-gallery--single #local-product-cover {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: contain !important;
}
.product-gallery.product-gallery--grid .product-gallery-thumb,
.product-gallery.has-thumbs .product-gallery-thumb {
  padding: 0 !important;
  border: 1px solid #e6e4e0 !important;
  background: #fff !important;
  overflow: hidden !important;
  cursor: zoom-in !important;
  box-shadow: none !important;
}
.product-gallery.product-gallery--grid .product-gallery-thumb:nth-child(-n+4),
.product-gallery.has-thumbs .product-gallery-thumb:nth-child(-n+4) {
  flex: 0 0 calc(50% - 5px) !important;
  width: calc(50% - 5px) !important;
  max-width: calc(50% - 5px) !important;
  min-width: 0 !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
}
.product-gallery.product-gallery--grid .product-gallery-thumb:nth-child(n+5),
.product-gallery.has-thumbs .product-gallery-thumb:nth-child(n+5) {
  flex: 0 0 72px !important;
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  max-width: 72px !important;
  aspect-ratio: 1 / 1 !important;
}
.product-gallery.product-gallery--grid .product-gallery-thumb img,
.product-gallery.has-thumbs .product-gallery-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.product-gallery.product-gallery--grid .product-gallery-thumb:nth-child(n+5) img,
.product-gallery.has-thumbs .product-gallery-thumb:nth-child(n+5) img {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
}
@media (max-width: 900px) {
  .product-gallery.product-gallery--grid.has-thumbs #local-product-thumbs,
  .product-gallery.product-gallery--grid #local-product-thumbs,
  .product-gallery.has-thumbs #local-product-thumbs {
    gap: 8px !important;
  }
  .product-gallery.product-gallery--grid .product-gallery-thumb:nth-child(-n+4),
  .product-gallery.has-thumbs .product-gallery-thumb:nth-child(-n+4) {
    flex: 0 0 calc(50% - 4px) !important;
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
  }
  .product-gallery.product-gallery--grid .product-gallery-thumb:nth-child(n+5),
  .product-gallery.has-thumbs .product-gallery-thumb:nth-child(n+5) {
    flex: 0 0 64px !important;
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 64px !important;
  }
  .product-gallery.product-gallery--grid .product-gallery-thumb:nth-child(n+5) img,
  .product-gallery.has-thumbs .product-gallery-thumb:nth-child(n+5) img {
    width: 64px !important;
    height: 64px !important;
  }
}

