/* Container sizing */
.hero-image {
    position: relative;
}

/* Slider frame */
.hero-image-slider {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    min-height: 320px;
    width: 100%;
}

.hero-image-slider .swiper-wrapper,
.hero-image-slider .swiper-slide {
    height: 100%;
}

/* Image fit */
.hero-image figure {
    margin: 0;
}

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

/* Pagination + arrows */
.hero-image-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
}

.hero-image .swiper-pagination-bullet {
    pointer-events: auto;
}

.hero-image-prev,
.hero-image-next {
    position: absolute;
    top: 50%;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    background: rgba(255, 255, 255, .9);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    z-index: 3;
    cursor: pointer;
}

.hero-image-prev::after,
.hero-image-next::after {
    content: '';
    position: absolute;
    inset: 0;
    mask-size: 14px 14px;
    mask-position: center;
    mask-repeat: no-repeat;
    background: #111;
}

.hero-image-prev {
    left: 8px;
}

.hero-image-next {
    right: 8px;
}

.hero-image-prev::after {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" stroke="black" fill="none" viewBox="0 0 24 24"><path d="M15 18l-6-6 6-6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.hero-image-next::after {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" stroke="black" fill="none" viewBox="0 0 24 24"><path d="M9 18l6-6-6-6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 28px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: white;
}

/* Subtitle text */
.header-contact-btn small {
    font-size: 14px;
    color: #ccc;
    font-weight: 500;
    white-space: nowrap; /* prevent wrapping under the button */
    letter-spacing: 0.3px;
}


#cart-body {
    position: relative;
}

#cart-body .loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

#cart-body.is-loading .loading-overlay {
    display: flex;
}

.btn-loading {
    pointer-events: none;
    opacity: .8;
}

.btn-loading .btn-label {
    visibility: hidden;
}

.btn-loading .spinner-border {
    display: inline-block !important;
}

.spinner-border {
    display: none;
}

/* General header */
.main-header {
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.main-header .navbar {
    padding: 12px 0; /* consistent vertical padding */
}

/* Logo alignment */
.main-header .navbar-brand img {
    max-height: 52px;
}

/* Main menu */
.main-menu .nav-link {
    padding: 10px 16px;
    font-weight: 500;
    color: #f9fafb;
    transition: color 0.2s ease;
}

.main-menu .nav-link:hover,
.main-menu .nav-item.active .nav-link {
    color: #fbbf24; /* highlight color */
}

/* Social icons */
.header-social-list ul {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.header-social-list ul li a {
    color: #fff;
    font-size: 14px;
    transition: color 0.2s ease;
}

.header-social-list ul li a:hover {
    color: #fbbf24;
}

/* Contact box */
.header-contact-box {
    gap: 20px; /* space between social, cart, and phone */
}

.header-contact-btn {
    display: flex;
    align-items: center;
    gap: 12px; /* spacing between number and text */
}

/* Phone button */
.header-contact-btn .btn-phone {
    background: #c9a23a; /* gold color */
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    line-height: 1;
    transition: background .3s ease;
}

.header-contact-btn .btn-phone:hover {
    background: #b08d2e;
}


.header-contact-btn small {
    font-size: 12px;
    color: #9ca3af;
}

/* Cart button */
.header-cart a {
    width: 42px;
    height: 42px;
    font-size: 18px;
}

.header-cart span[style*="background-color: #fbbf24"] {
    top: -6px !important;
    right: -6px !important;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .main-menu {
        margin-top: 15px;
    }

    .header-contact-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header-contact-btn {
        text-align: left;
    }
}

.testimonial-rating i {
    color: #fbbf24;
    margin-right: 2px;
}

.testimonial-content p {
    margin: 12px 0 16px;
}

.author-image img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-btn .testimonial-button-prev,
.testimonial-btn .testimonial-button-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.testimonial-btn .testimonial-button-prev:hover,
.testimonial-btn .testimonial-button-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

:root {
    --pgw: 520px; /* max width for main gallery AND thumbs row */
    --thumb: 76px; /* square thumbnail size */
}

/* Center gallery and thumbs, keep them equal width */
.product-gallery .product-main,
.product-gallery .product-thumbs {
    max-width: var(--pgw);
    margin: 0 auto;
}

/* Main image frame */
.media-frame {
    aspect-ratio: 4 / 5;
    width: 100%;
    max-height: 420px; /* cap visual height */
    background: #f6f7f9;
    border-radius: .5rem;
    overflow: hidden;
}

.media-frame > img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* show whole product */
    display: block;
}

/* Thumbnails: fixed, small squares */
.product-thumbs .swiper-slide {
    width: var(--thumb) !important; /* fixed-size slides */
    flex: 0 0 auto;
}

.thumb-frame {
    width: var(--thumb);
    height: var(--thumb);
    background: #f6f7f9;
    border-radius: .375rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
}

.thumb-frame > img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or 'contain' if you prefer no crop */
    display: block;
}

/* Optional: add a little separation/shadow to the buy box */
.buybox {
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: .75rem;
    padding: 1.25rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
}

/* Desktop spacing helper when themes reduce gutters */
@media (min-width: 992px) {
    .product-summary.pad-safe {
        padding-left: 24px;
    }
}

.about-images figure img {
    object-fit: contain !important;
}
.bemefit-img img  {
    object-fit: contain !important;
}
.faq-image img {
    object-fit: contain !important;
}


.btn-default {
    background: #c6b458 !important;

}
