/* ==========================================================================
   BIONATURE SUPLEMENTOS - INSPIRADO NA ESTRUTURA BIOSTEVI
   ========================================================================== */

:root {
    --primary-color: #006b7b; /* Teal Biostévi */
    --secondary-color: #0093a8; /* Teal Claro / Ciano */
    --accent-color: #ff7a00; /* Laranja de alerta/ofertas */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f5f7f9;
    --bg-white: #ffffff;
    --border-color: #eaeaea;
}

body, html {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* ==========================================================================
   HEADER & NAVEGAÇÃO
   ========================================================================== */
.top-bar {
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-size: 0.8rem;
    padding: 8px 0;
}

.top-bar a {
    color: var(--bg-white);
    margin-left: 15px;
}

.top-bar a:hover {
    color: var(--accent-color);
}

.main-header {
    background-color: var(--bg-white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 50px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    border-color: var(--secondary-color);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-box button:hover {
    background-color: var(--primary-color);
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.action-item {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.action-item i {
    font-size: 1.5rem;
    margin-right: 8px;
    color: var(--primary-color);
}

/* ==========================================================================
   MENU PRINCIPAL
   ========================================================================== */
.main-nav {
    background-color: var(--primary-color);
}

.nav-list {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    flex-grow: 1;
    text-align: center;
}

.nav-list a {
    display: block;
    padding: 15px 10px;
    color: var(--bg-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-list a:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--bg-white);
}

/* ==========================================================================
   CATEGORIAS REDONDAS (O QUE VOCÊ QUER MELHORAR HOJE?)
   ========================================================================== */
.category-circle-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.category-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.category-circle img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.category-circle:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 15px rgba(26, 143, 76, 0.15);
    transform: translateY(-5px);
}

.category-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ==========================================================================
   PRODUTOS (VITRINE ESTILO FARMÁCIA)
   ========================================================================== */
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    text-decoration: none !important;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.product-discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #009c2a;
    color: white;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 15px;
    z-index: 2;
}

.btn-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #999;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s, transform 0.2s;
    outline: none;
}
.btn-favorite:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.product-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-category-label {
    display: inline-block;
    background-color: #fff3e0;
    color: #e65100;
    border: 1px solid #ffe0b2;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    align-self: flex-start;
}

.product-rating {
    color: #ffb300;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.product-rating span {
    color: #333;
    font-weight: 700;
    margin-left: 5px;
    font-size: 0.85rem;
}

.product-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
}

.product-price-container {
    margin-bottom: 15px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85rem;
}

.price-new {
    font-size: 1.6rem;
    font-weight: 800;
    color: #00c679;
}

.price-installments {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.btn-buy {
    width: 100%;
    background-color: #00c679;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.btn-buy i {
    font-size: 1.1rem;
}

.btn-buy:hover {
    background-color: #00a866;
    color: white;
    transform: scale(1.02);
}

/* ==========================================================================
   BANNERS & INFLUENCERS
   ========================================================================== */
.influencer-card {
    text-align: center;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.influencer-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--border-color);
}

.influencer-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.influencer-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==========================================================================
   SEO TEXT & FOOTER
   ========================================================================== */
.seo-section {
    background-color: var(--bg-white);
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
}

.seo-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.seo-section p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.main-footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0 20px 0;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cccccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.8rem;
    color: #aaaaaa;
    text-align: justify;
}
/* Offcanvas Custom (Bootstrap 5 backport for Bootstrap 4) */
.offcanvas {
    position: fixed;
    bottom: 0;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    visibility: hidden;
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
    transition: transform .3s ease-in-out;
}
.offcanvas-end {
    top: 0;
    right: 0;
    width: 400px;
    border-left: 1px solid rgba(0,0,0,.2);
    transform: translateX(100%);
}
.offcanvas.show {
    transform: none;
    visibility: visible;
}
.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
}
.offcanvas-title {
    margin-bottom: 0;
    line-height: 1.5;
}
.offcanvas-body {
    flex-grow: 1;
    padding: 1rem 1rem;
    overflow-y: auto;
}
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: .25rem;
    opacity: .5;
    cursor: pointer;
}
.btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: .75;
}

/* ==========================================================================
   MOBILE MENU (OFFCANVAS)
   ========================================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 1040;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}
.mobile-menu-overlay.open {
    visibility: visible;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px; /* Start off-screen */
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 1050;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}
.mobile-menu.open {
    left: 0;
}

.mobile-menu-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}
.close-menu-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1;
}
.mobile-menu-body {
    flex-grow: 1;
    overflow-y: auto;
}
.mobile-nav-list li {
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav-list a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    font-weight: 500;
}
.mobile-nav-list a.destaque {
    color: var(--accent-color);
    font-weight: 700;
}
.mobile-nav-list a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* ==========================================================================
   SIDEBAR FILTERS BIOSTEVI
   ========================================================================== */
.custom-radio-container {
    display: block;
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #666;
    user-select: none;
    line-height: 1.2;
}
.custom-radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.custom-radio-container .checkmark {
    position: absolute;
    top: -1px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: transparent;
    border: 1px solid #aaa;
    border-radius: 50%;
    transition: all 0.2s;
}
.custom-radio-container:hover input ~ .checkmark {
    border-color: var(--accent-color);
}
.custom-radio-container input:checked ~ .checkmark {
    border: 5px solid var(--accent-color);
}
.category-list::-webkit-scrollbar {
    width: 6px;
}
.category-list::-webkit-scrollbar-track {
    background: #e9e9e9; 
    border-radius: 10px;
}
.category-list::-webkit-scrollbar-thumb {
    background: var(--accent-color); 
    border-radius: 10px;
}

/* VTEX Checkbox styles */
.vtex-checkbox-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background-color: transparent;
}
input[type="checkbox"]:checked + .vtex-checkbox-icon {
    border-color: var(--accent-color);
    background-color: transparent;
}
input[type="checkbox"]:checked + .vtex-checkbox-icon::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-color);
}
.custom-checkbox-vtex:hover .vtex-checkbox-icon {
    border-color: var(--accent-color);
}

/* Dual Range Slider */
.price-slider-container {
    height: 30px;
}
.dual-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 3;
}
.dual-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    pointer-events: auto;
}
.dual-slider::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    border: none;
}

/* Swiper Styles */
.swiper-button-next, .swiper-button-prev { color: var(--secondary-color); }
.swiper-pagination-bullet { width: 10px; height: 10px; background: #ccc; opacity: 1; margin: 0 4px !important; }
.swiper-pagination-bullet-active { background: var(--accent-color); }

/* Banner Images Crop & Ratio */
/* Banner Images Settings */
.banner-swiper img {
    width: 100% !important;
    height: 500px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 15px;
}
.grid-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}
.grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.grid-banner-img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    border-radius: 15px;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.section-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

@media (max-width: 767px) {
    .section-heading { font-size: 1.35rem; }
    
    .hero-banner-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 0 !important;
    }
    .hero-banner-container .banner-swiper {
        border-radius: 0 !important;
    }
    .banner-swiper img {
        height: 250px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 0 !important;
    }
    .grid-banner-img {
        height: 180px !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    .hero-banner-3d {
        border-radius: 0 !important;
        min-height: 480px !important;
        padding: 40px 20px 50px 20px !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        text-align: center;
    }
    .hero-banner-text {
        max-width: 100% !important;
        z-index: 3;
        margin-bottom: 20px;
    }
    .hero-banner-text h2 {
        font-size: 2.2rem !important;
    }
    .hero-banner-img {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        width: 80% !important;
        max-height: 250px !important;
        height: auto !important;
        object-fit: contain;
        transform: scale(1) !important;
        margin: 0 auto;
    }
    
    .product-card {
        padding: 10px;
    }
    .product-img {
        height: 150px;
    }
    .product-name {
        font-size: 0.9rem;
    }
    .price-new {
        font-size: 1.25rem;
    }
    
    .needs-card {
        height: 260px;
    }
    .needs-card-content {
        padding: 10px;
        bottom: 10px; left: 10px; right: 10px;
    }
    .needs-card-title {
        font-size: 1rem;
    }
    .needs-card-desc {
        font-size: 0.75rem;
    }
}

