 :root {
     --color-green-dark: #2c5f2d;
     --color-green-light: #6d966d;
     --color-text-white: #ffffff;
     --color-background-light: #f7f7f5;
     --color-accent: #d4af37;
     /* Dourado suave para detalhes */
 }

 body {
     font-family: 'Inter', sans-serif;
     background-color: #FAFAFA;
 }

 /* --- Navbar Ajustada --- */
 .bg-brecho-primary {
     background-color: var(--color-green-dark) !important;
 }

 .btn-brecho-accent {
     background-color: var(--color-green-light);
     color: white;
     border: none;
 }

 .btn-brecho-accent:hover {
     background-color: #557a55;
     color: white;
 }

 /* --- Seção 1: Hero Banner --- */
 .hero-banner {
     /* Imagem de fundo com overlay verde */
     background: linear-gradient(rgba(44, 95, 45, 0.85), rgba(44, 95, 45, 0.7)), url('../img/banner.jfif') center center no-repeat;
     background-size: cover;
     position: relative;
     padding: 80px 20px 100px;
     /* Padding extra embaixo para a barra de stats */
     color: var(--color-text-white);
     text-align: center;
     border-bottom-left-radius: 50px;
     border-bottom-right-radius: 50px;
     margin-bottom: 60px;
 }

 .hero-content {
     max-width: 800px;
     margin: 0 auto;
 }

 .tag-sustentavel {
     background-color: rgba(255, 255, 255, 0.2);
     padding: 5px 15px;
     border-radius: 20px;
     font-size: 0.9em;
     display: inline-block;
     margin-bottom: 15px;
 }

 .hero-banner h1 {
     font-size: 3.5rem;
     font-weight: 700;
     line-height: 1.1;
     margin-bottom: 20px;
 }

 /* Search Bar customizada dentro do Banner */
 .hero-search-container {
     background: rgba(255, 255, 255, 0.15);
     backdrop-filter: blur(10px);
     padding: 10px;
     border-radius: 50px;
     display: flex;
     max-width: 600px;
     margin: 30px auto;
     border: 1px solid rgba(255, 255, 255, 0.3);
 }

 .hero-search-input {
     background: transparent;
     border: none;
     color: white;
     padding-left: 20px;
 }

 .hero-search-input::placeholder {
     color: rgba(255, 255, 255, 0.8);
 }

 .hero-search-input:focus {
     background: transparent;
     color: white;
     box-shadow: none;
 }

 .stats-bar {
     display: flex;
     justify-content: center;
     gap: 50px;
     margin-top: 40px;
     flex-wrap: wrap;
 }

 .stat-item {
     text-align: center;
 }

 .stat-number {
     font-size: 2rem;
     font-weight: 700;
     display: block;
 }

 .stat-label {
     font-size: 0.9rem;
     opacity: 0.9;
 }

 /* --- Seção 2: Categorias (Grid) --- */
 .category-section {
     padding: 20px 0 60px;
 }

 .section-title {
     color: var(--color-green-dark);
     font-weight: 700;
     margin-bottom: 10px;
     text-align: center;
 }

 .section-subtitle {
     text-align: center;
     color: #666;
     margin-bottom: 40px;
 }

 .category-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
     gap: 20px;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 15px;
 }

 .category-card {
     background: white;
     border-radius: 15px;
     padding: 20px;
     text-align: center;
     text-decoration: none;
     color: var(--color-green-dark);
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
     transition: transform 0.3s ease;
     display: flex;
     flex-direction: column;
     align-items: center;
 }

 .category-card:hover {
     transform: translateY(-5px);
 }

 .category-img-container {
     width: 80px;
     height: 80px;
     border-radius: 50%;
     overflow: hidden;
     margin-bottom: 15px;
     border: 3px solid rgba(109, 150, 109, 0.2);
 }

 .category-img-container img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .category-name {
     font-weight: 600;
 }

 /* --- Seção 3: Produtos (Card Novo) --- */
 .product-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
     gap: 25px;
     margin-top: 30px;
 }

 .product-card {
     background: white;
     border-radius: 12px;
     overflow: hidden;
     border: 1px solid #eee;
     transition: box-shadow 0.3s;
     position: relative;
     display: flex;
     flex-direction: column;
 }

 .product-card:hover {
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
 }

 .product-image {
     height: 280px;
     position: relative;
     overflow: hidden;
 }

 .product-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.5s;
 }

 .product-card:hover .product-image img {
     transform: scale(1.05);
 }

 .product-tag {
     position: absolute;
     top: 10px;
     left: 10px;
     background: var(--color-green-light);
     color: white;
     padding: 4px 10px;
     border-radius: 4px;
     font-size: 0.75rem;
     font-weight: 600;
     z-index: 2;
 }

 .product-info {
     padding: 15px;
     display: flex;
     flex-direction: column;
     flex-grow: 1;
 }

 .product-name {
     font-weight: 600;
     color: #333;
     margin-bottom: 5px;
     font-size: 1rem;
 }

 .product-prices {
     margin: 10px 0;
 }

 .price-current {
     color: var(--color-green-dark);
     font-weight: 800;
     font-size: 1.2rem;
     margin-right: 8px;
 }

 .price-old {
     text-decoration: line-through;
     color: #aaa;
     font-size: 0.9rem;
 }

 .eco-label {
     font-size: 0.75rem;
     color: var(--color-green-light);
     background: rgba(109, 150, 109, 0.1);
     padding: 3px 8px;
     border-radius: 4px;
     align-self: flex-start;
     margin-bottom: 10px;
 }

 /* Botão do Form */
 .btn-add-cart-custom {
     width: 100%;
     background-color: transparent;
     border: 2px solid var(--color-green-light);
     color: var(--color-green-dark);
     font-weight: 600;
     padding: 8px;
     border-radius: 8px;
     transition: all 0.3s;
     margin-top: auto;
 }

 .btn-add-cart-custom:hover {
     background-color: var(--color-green-light);
     color: white;
 }


 .product-modal-backdrop {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, .7);
     display: none;
     justify-content: center;
     align-items: center;
     z-index: 20050;
     overflow-y: auto;
     transition: opacity .3s ease;
     opacity: 0;
 }

 .product-modal-dialog {
     background-color: #fff;
     border-radius: 8px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
     max-width: 800px;
     width: 90%;
     margin: 30px auto;
     max-height: 90vh;
     overflow-y: auto;
     transform: scale(.9);
     transition: transform .3s ease;
 }

 .product-modal-backdrop.show {
     opacity: 1;
     display: flex;
 }

 .product-modal-backdrop.show .product-modal-dialog {
     transform: scale(1);
 }

 .product-modal-close {
     font-size: 2rem;
     font-weight: 300;
     line-height: 1;
     color: #000;
     text-shadow: 0 1px 0 #fff;
     opacity: .5;
     cursor: pointer;
     position: absolute;
     top: 10px;
     right: 20px;
     z-index: 10;
 }

 #cartModalWrapper .modal-dialog {
     max-width: 600px;
 }

 .product-card {
     cursor: pointer;
     transition: transform .2s ease-out, box-shadow .2s ease-out;
 }

 .product-card:hover {
     transform: scale(1.03);
     box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
 }

.weekly-looks-section {
    background: linear-gradient(rgba(20, 75, 21, .4), rgba(2, 2, 2, 1)),
    url('/brecho/public/img/banner2.jpg') center center no-repeat;
    background-size: cover;
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 1px solid #e0d0d0;
}

/* CARDS */
.product-card.look-card {
    min-width: 260px;
    max-width: 260px;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: .3s ease;
}

/* Imagem */
.product-image2 {
    height: 320px;
    overflow: hidden;
    border-radius: 10px;
}

.product-image2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

/* Hover */
.look-card:hover .product-image2 img {
    transform: scale(1.04);
}

/* -------- RESPONSIVIDADE -------- */
@media (max-width: 992px) {
    .weekly-looks-section {
        padding: 30px 20px;
    }

    .product-card.look-card {
        min-width: 220px;
        max-width: 220px;
    }

    .product-image2 {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .weekly-looks-section {
        padding: 25px 15px;
    }

    #weeklyLooksCarousel {
        gap: 12px;
    }

    .product-card.look-card {
        min-width: 180px;
        max-width: 250px;
        padding: 10px;
    }

    .product-image2 {
        height: 220px;
    }

    .product-name {
        font-size: 14px;
    }
}

/* -------- MOBILE: 2 CARDS NA TELA -------- */
@media (max-width: 600px) {
    .weekly-looks-section {
        padding: 20px 10px;
    }

    /* 50% da tela para cada card */
    .product-card.look-card {
        min-width: 200px!important;
        max-width: 250px!important;
        padding: 10px;
    }

    .product-image2 {
        height: 200px !important;
    }

    #weeklyLooksCarousel {
        gap: 12px !important;
    }

    .product-name {
        font-size: 13px;
    }

    .btn.btn-sm {
        font-size: 12px;
        padding: 6px;
    }
}
 .navbar {
     box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
     position: sticky;
     top: 0;
     z-index: 999;
 }

 .custom-navbar-blur {
     background: rgba(28, 95, 31, .4);
     backdrop-filter: blur(12px) !important;
     -webkit-backdrop-filter: blur(12px) !important;
     box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
     border: 1px solid rgba(255, 255, 255, .4);
     position: fixed;
     z-index: 10;
     top: 5px;
     left: 0;
     max-width: 800px;
     margin: 0 auto;
     right: 0;
     width: 100%;
     border-radius: 55px;
 }

 @import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

 .roboto {
     font-family: "Roboto Serif", serif;
     font-optical-sizing: auto;
     font-weight: 800;
     font-style: normal;
     font-size: 5em !important;
     font-variation-settings: "wdth" 100, "GRAD" 0;
 }

 .roboto-normal {
     font-family: "Roboto", sans-serif;
     font-optical-sizing: auto;
     font-weight: 400;
     font-style: italic;
     font-variation-settings: "wdth" 100;
 }

 .product-carousel-wrapper {
     position: relative;
     padding: 0 0px;
 }

 .product-carousel-track {
     display: flex;
     overflow-x: scroll;
     scroll-snap-type: x mandatory;
     -webkit-overflow-scrolling: touch;
     gap: 20px;
     padding-bottom: 10px;
     cursor: grab;
 }

 .product-carousel-track:active {
     cursor: grabbing;
 }

 .product-carousel-track::-webkit-scrollbar {
     display: none;
 }

 #newProductsCarousel>.product-card {
     flex: 0 0 250px;
     scroll-snap-align: start;
     transition: transform .2s;
 }

 .carousel-control-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     width: 40px;
     height: 40px;
     background-color: rgba(255, 255, 255, .9);
     border: 1px solid #ccc;
     border-radius: 50%;
     z-index: 5;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
     opacity: .8;
     transition: opacity .2s, background-color .2s;
 }

 .carousel-control-btn:hover {
     opacity: 1;
     background-color: #fff;
     border-color: var(--color-green-dark);
 }

 .carousel-prev {
     left: -40px;
 }

 .carousel-next {
     right: -40px;
 }

 .weekly-track {
     scroll-snap-type: x proximity;
     padding-bottom: 20px;
 }

 #weeklyLooksCarousel>.product-card {
     flex: 0 0 calc(33.333% - 13.333px);
     transition: transform .4s ease-in-out, box-shadow .4s ease-in-out, z-index 0s .4s;
     scroll-snap-align: center;
 }

 #weeklyLooksCarousel>.product-card.is-center {
     transform: scale(1.02);
     box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
     z-index: 2;
     transition: transform .4s ease-in-out, box-shadow .4s ease-in-out, z-index 0s;
 }

 #weeklyLooksCarousel>.product-card:not(.is-center) {
     opacity: .9;
 }

 .spin {
     animation: spin 1s linear infinite;
 }

 @keyframes spin {
     to {
         transform: rotate(360deg);
     }
 }

 @media (max-width:768px) {
     .product-carousel-wrapper {
         padding: 0;
     }

     .carousel-control-btn {
         display: none !important;
     }

     .product-carousel-track {
         padding-left: 20px;
         padding-right: 20px;
     }

     #weeklyLooksCarousel>.product-card {
         flex: 0 0 80vw;
         margin: 0 5px;
     }

     #weeklyLooksCarousel>.product-card.is-center {
         transform: scale(1.05);
     }
 }
    .modal-header {
        padding:15px;
    }
    .corpoproduto {
        padding-top: 1rem!important;
    }
    .sticky-top {
        z-index: 2;
    }
    footer {
        position: relative;
        z-index: 1;
    }

   #modal-carousel {
    position: relative;
    width: 100%;
    height: auto;
}

#modal-carousel .carousel-item {
    display: none; /* escondidas por padrão */
    width: 100%;
    text-align: center;
}

#modal-carousel .carousel-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    display: block;
    border-radius: 5px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn:hover {
    background-color: rgba(0,0,0,0.7);
}
#cartModal .modal-dialog { z-index: 201000 !important; }
#cartModal {
    z-index: 321000; /* acima do produto modal (20050) */
}

#cartModal .modal-dialog {
    z-index: 321010;
}

#cartModal .modal-backdrop {
    z-index: 320999 !important;
}
.contato { 
    display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
@media (max-width: 768px) {
    .corpoproduto .card.shadow-sm.border-0.sticky-top {
        position: fixed !important;
        top: 70px !important; /* abaixo da navbar */
        left: 0;
        right: 0;
        width: 100%;
        z-index: 2000;
        border-radius: 0;
        display: none;
    }   

    /* empurra o conteúdo para baixo pra não ficar por baixo do filtro */
    .corpoproduto .col-lg-9 {
        /* margin-top: 155px !important; */
    }
}
/* ==============================
   FILTRO MOBILE NO HEADER
   ============================== */

.mobile-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-filter-overlay.active {
    display: flex;
}

.mobile-filter-box {
    background: #fff;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    border-radius: 12px;
    position: relative;
}

.mobile-filter-box .close-filter {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}
