/* Product page */
.gallery-main { overflow: hidden; }
.gallery-main img, .gallery-main video, .gallery-main iframe { width: 100%; height: 100%; border: 0; }
.gallery-thumb { width: 68px; height: 68px; border: 2px solid #e5e7eb; border-radius: 8px; padding: 0; background: #fff; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; flex-direction: column; font-size: .7rem; color: #555; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--store-primary); }
.gallery-thumb-video i { font-size: 1.4rem; color: var(--store-primary); }
@media (min-width: 992px) { .product-gallery { position: sticky; top: 140px; } }

.option-btn { min-width: 52px; padding: 6px 14px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; font-weight: 500; }
.option-btn:hover { border-color: var(--store-primary); }
.option-btn.active { border-color: var(--store-primary); background: var(--store-primary); color: #fff; }
.option-btn.no-stock { text-decoration: line-through; color: #9ca3af; }
.option-btn.active.no-stock { color: #fff; opacity: .7; }
.option-btn.unavailable { opacity: .35; }
.option-color { width: 36px; height: 36px; min-width: 36px; padding: 0; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 3px #fff; }
.option-color.active { background: var(--swatch); outline: 2px solid var(--store-primary); outline-offset: 1px; }
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-box input { -moz-appearance: textfield; }
.product-highlights { padding-left: 1.1rem; }
.product-highlights li { margin-bottom: .25rem; }
.mobile-buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: #fff; border-top: 1px solid #e5e7eb; padding: 10px 12px; display: flex; gap: 10px; align-items: center; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
@media (max-width: 991.98px) {
    .product-page { padding-bottom: 80px; }
    .product-page ~ .whatsapp-float, body:has(.mobile-buy-bar) .whatsapp-float { bottom: 84px; }
}
