/* Lovelo — mesma família tipográfica usada no Canva para a identidade MONTÊ. */
@font-face {
    font-family: "Lovelo";
    src: url("https://raw.githubusercontent.com/lorenz/lovelo-fontface/master/fonts/lovelo_black-webfont.woff2") format("woff2"),
         url("https://raw.githubusercontent.com/lorenz/lovelo-fontface/master/fonts/lovelo_black-webfont.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "DM Sans", sans-serif;
    color: #111111;
    background: #ffffff;
}


button,
input {
    font-family: inherit;
}


button {
    cursor: pointer;
}


a {
    text-decoration: none;
    color: inherit;
}


/* =====================================================
   CORES MONTÊ
===================================================== */

:root {

    --black: #0d0d0d;

    --white: #ffffff;

    --wine: #651f2b;

    --wine-dark: #46131c;

    --gray: #f5f5f3;

    --border: #ddddda;

}


/* =====================================================
   BARRA DE FRETE
===================================================== */

.shipping-bar {

    height: 36px;

    background: var(--black);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    font-size: 12px;

    letter-spacing: 1.7px;

    font-weight: 500;

}


.shipping-separator {
    opacity: .6;
}


/* =====================================================
   HEADER
===================================================== */

.header {

    height: 82px;

    padding: 0 5%;

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    border-bottom: 1px solid var(--border);

    background: white;

    position: sticky;

    top: 0;

    z-index: 100;

}


.logo {

    font-family: "Lovelo", sans-serif;

    font-size: 27px;

    font-weight: 900;

    letter-spacing: 5px;

    line-height: 1;

    justify-self: center;

}


.main-navigation {

    display: flex;

    gap: 35px;

}


.main-navigation a {

    font-size: 11px;

    letter-spacing: 1.5px;

    position: relative;

}


.main-navigation a::after {

    content: "";

    position: absolute;

    bottom: -7px;

    left: 0;

    width: 0;

    height: 1px;

    background: var(--wine);

    transition: .3s;

}


.main-navigation a:hover::after {

    width: 100%;

}


.header-actions {

    justify-self: end;

    display: flex;

    gap: 18px;

}


.header-actions button {

    border: none;

    background: none;

    position: relative;

}


.icon {

    font-size: 24px;

}


.cart-icon {

    width: 24px;

    height: 24px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

}


.cart-icon svg {

    width: 22px;

    height: 22px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.cart-count {

    position: absolute;

    top: -8px;

    right: -8px;

    width: 17px;

    height: 17px;

    border-radius: 50%;

    background: var(--wine);

    color: white;

    font-size: 9px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.mobile-menu {

    display: none;

    background: none;

    border: none;

    font-size: 23px;

}


/* =====================================================
   SEARCH
===================================================== */

.search-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.55);

    z-index: 500;

    display: none;

    align-items: flex-start;

    justify-content: center;

    padding-top: 120px;

}


.search-overlay.active {

    display: flex;

}


.search-box {

    background: white;

    width: min(700px, 90%);

    padding: 30px;

    position: relative;

}


.search-box input {

    width: 100%;

    border: none;

    border-bottom: 1px solid #111;

    padding: 15px 5px;

    outline: none;

    font-size: 20px;

}


.close-search {

    position: absolute;

    right: 20px;

    top: 10px;

    border: none;

    background: none;

    font-size: 30px;

}


/* =====================================================
   HERO
===================================================== */

.hero {

    width: 100%;

    height: calc(100vh - 118px);

    min-height: 600px;

    background: #8a1f2c;

}


.carousel {

    height: 100%;

    width: 100%;

    position: relative;

    overflow: hidden;

    background: #8a1f2c;

}


.slide {

    position: absolute;

    inset: 0;

    opacity: 0;

    transition: opacity 1s ease;

}


.slide.active {

    opacity: 1;

}


.slide img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.slide::after {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0,0,0,.45),
        rgba(0,0,0,.05)
    );

}


.slide-content {

    position: absolute;

    z-index: 2;

    left: 8%;

    top: 50%;

    transform: translateY(-50%);

    color: white;

}


.slide-content p {

    font-size: 11px;

    letter-spacing: 5px;

    margin-bottom: 20px;

}


.slide-content h1 {

    font-family: "Playfair Display", serif;

    font-size: clamp(50px, 7vw, 100px);

    font-weight: 400;

    line-height: .95;

    margin-bottom: 35px;

}


.hero-button {

    display: inline-block;

    background: white;

    color: #111;

    padding: 16px 28px;

    font-size: 10px;

    letter-spacing: 2px;

}


.carousel-prev,
.carousel-next {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 5;

    width: 45px;

    height: 45px;

    border: 1px solid rgba(255,255,255,.7);

    background: rgba(0,0,0,.15);

    color: white;

    font-size: 28px;

}


.carousel-prev {
    left: 25px;
}


.carousel-next {
    right: 25px;
}


.carousel-dots {

    position: absolute;

    bottom: 25px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;

    z-index: 5;

}


.carousel-dot {

    width: 35px;

    height: 2px;

    border: none;

    background: rgba(255,255,255,.45);

}


.carousel-dot.active {

    background: white;

}


/* =====================================================
   SEÇÕES
===================================================== */

.product-section {

    padding: 100px 5%;

}


.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 45px;

}


.section-label {

    font-size: 9px;

    letter-spacing: 4px;

    color: var(--wine);

    margin-bottom: 10px;

}


.section-heading h2 {

    font-family: "Playfair Display", serif;

    font-size: 44px;

    font-weight: 400;

}


#novidades {

    /* Bordô do banner MONTÊ — ajuste isolado para não alterar o restante do site. */
    background: #6D2234;

    color: white;

}


#novidades .section-label,
#novidades .section-heading h2,
#novidades .section-heading > a,
#novidades .product-card,
#novidades .product-name,
#novidades .product-price {

    color: white;

}


#novidades .section-heading > a {

    border-color: white;

}



.section-heading > a {

    font-size: 10px;

    letter-spacing: 1.5px;

    border-bottom: 1px solid;

    padding-bottom: 5px;

}


/* =====================================================
   PRODUTOS
===================================================== */

.products-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;

}


.collection-products-carousel {

    display: grid;

    grid-template-columns: 42px minmax(0, 1fr) 42px;

    gap: 18px;

    align-items: center;

}


.collection-products-viewport {

    min-width: 0;

    overflow: hidden;

}


.collection-products-grid {

    grid-template-columns: repeat(5, minmax(0, 1fr));

}


.collection-carousel-arrow {

    width: 42px;

    height: 42px;

    border: 1px solid #222;

    background: #fff;

    color: #111;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;

    transition: opacity .2s ease, background .2s ease, color .2s ease;

}


.collection-carousel-arrow:hover:not(:disabled) {

    background: #111;

    color: #fff;

}


.collection-carousel-arrow:disabled {

    opacity: .35;

    cursor: default;

}


.product-card {

    cursor: pointer;

    position: relative;

}


.product-image {

    width: 100%;

    aspect-ratio: 1 / 1;

    background: #f3f3f1;

    overflow: hidden;

    position: relative;

}


.product-image img {

    width: 100%;

    height: 100%;

    max-width: 100%;

    max-height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

    transition: transform .6s ease;

}


.product-card:hover .product-image img {

    transform: scale(1.04);

}


.product-badge {

    position: absolute;

    top: 14px;

    left: 14px;

    background: #8a1f2c;

    color: white;

    padding: 7px 10px;

    font-size: 8px;

    letter-spacing: 1px;

    z-index: 2;

}


.product-info {

    padding-top: 15px;

}


.product-name {

    font-size: 12px;

    letter-spacing: .7px;

    margin-bottom: 8px;

}


.product-price {

    font-size: 12px;

}


.old-price {

    text-decoration: line-through;

    opacity: .45;

    margin-right: 7px;

}


.sale-price {

    color: var(--wine);

}


/* =====================================================
   COLEÇÃO
===================================================== */

.collection-section {

    background: #ffffff;

}


.collection-toolbar {

    display: flex;

    gap: 10px;

    margin-bottom: 35px;

    flex-wrap: wrap;

}


.filter-button {

    border: 1px solid #bbb;

    background: transparent;

    padding: 10px 18px;

    font-size: 9px;

    letter-spacing: 1.5px;

}


.filter-button.active {

    background: var(--black);

    color: white;

    border-color: var(--black);

}


/* =====================================================
   SALE
===================================================== */

.sale-section {

    padding: 110px 5%;

    background: var(--black);

    color: white;

}


.sale-heading {

    text-align: center;

    margin-bottom: 50px;

}


.sale-heading p {

    font-size: 9px;

    letter-spacing: 4px;

    margin-bottom: 15px;

}


.sale-heading h2 {

    font-family: "Playfair Display", serif;

    font-size: 65px;

    font-weight: 400;

}


.sale-heading span {

    font-size: 10px;

    letter-spacing: 2px;

}


.sale-section .product-card {

    color: white;

}


.sale-section .product-image {

    background: white;

}


.new-products-carousel {

    display: grid;

    grid-template-columns: 42px minmax(0, 1fr) 42px;

    gap: 18px;

    align-items: center;

}


.new-products-viewport {

    min-width: 0;

    overflow: hidden;

}


.new-products-grid {

    grid-template-columns: repeat(5, minmax(0, 1fr));

}


.new-carousel-arrow {

    width: 42px;

    height: 42px;

    border: 1px solid rgba(255,255,255,.7);

    background: transparent;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;

    transition: opacity .2s ease, background .2s ease, color .2s ease;

}


.new-carousel-arrow:hover:not(:disabled) {

    background: white;

    color: var(--wine);

}


.new-carousel-arrow:disabled {

    opacity: .35;

    cursor: default;

}


.sale-products-carousel {

    display: grid;

    grid-template-columns: 42px minmax(0, 1fr) 42px;

    gap: 18px;

    align-items: center;

}


.sale-products-viewport {

    min-width: 0;

    overflow: hidden;

}


.sale-products-grid {

    grid-template-columns: repeat(5, minmax(0, 1fr));

}


.sale-carousel-arrow {

    width: 42px;

    height: 42px;

    border: 1px solid rgba(255,255,255,.7);

    background: transparent;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;

    transition: opacity .2s ease, background .2s ease, color .2s ease;

}


.sale-carousel-arrow:hover:not(:disabled) {

    background: white;

    color: var(--black);

}


.sale-carousel-arrow:disabled {

    opacity: .35;

    cursor: default;

}


/* =====================================================
   NEWSLETTER
===================================================== */

.newsletter {

    padding: 100px 5%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;

}


.newsletter h2 {

    font-family: "Playfair Display", serif;

    font-weight: 400;

    font-size: 38px;

    margin-bottom: 15px;

}


.newsletter p {

    font-size: 13px;

    line-height: 1.7;

}


.newsletter form {

    display: flex;

    border-bottom: 1px solid #111;

}


.newsletter input {

    border: none;

    outline: none;

    padding: 16px 0;

    flex: 1;

}


.newsletter button {

    background: none;

    border: none;

    font-size: 9px;

    letter-spacing: 1.5px;

}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    background: var(--black);

    color: white;

    font-family: "DM Sans", sans-serif;

    padding: 42px 5% 18px;

    display: grid;

    grid-template-columns: 2fr repeat(3, 1fr);

    gap: 40px;

}


.footer-logo {

    font-family: "Lovelo", sans-serif;

    font-weight: 900;

    font-size: 24px;

    letter-spacing: 4px;

}


.footer-brand p {

    color: #aaa;

    margin-top: 9px;

    font-size: 10px;

}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 9px;

}


.footer-column h3 {

    font-size: 8px;

    letter-spacing: 1.7px;

    color: #aaa;

    margin-bottom: 5px;

}


.footer-column a {

    font-size: 10px;

}


.footer-bottom {

    grid-column: 1 / -1;

    border-top: 1px solid #333;

    padding-top: 16px;

    margin-top: 20px;

    color: #777;

    font-size: 9px;

}


/* =====================================================
   MODAL
===================================================== */

.modal {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.65);

    z-index: 300;

    display: none;

    overflow-y: auto;

    padding: 40px;

}


.modal.active {

    display: flex;

    align-items: center;

    justify-content: center;

}


.modal-content {

    background: white;

    width: min(1100px, 100%);

    position: relative;

    padding: 35px;

}


.modal-close {

    position: absolute;

    top: 15px;

    right: 20px;

    border: none;

    background: none;

    font-size: 30px;

    z-index: 5;

}


.product-detail {

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 50px;

}


.gallery-main {

    aspect-ratio: 1 / 1.15;

    background: #f4f4f2;

    overflow: hidden;

}


.gallery-main img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

    display: block;

}


.gallery-thumbnails {

    display: flex;

    gap: 8px;

    margin-top: 10px;

    overflow-x: auto;

}


.gallery-thumbnail {

    width: 75px;

    height: 90px;

    object-fit: contain;

    object-position: center;

    background: #f4f4f2;

    cursor: pointer;

    opacity: .6;

}


.gallery-thumbnail.active {

    opacity: 1;

    outline: 1px solid var(--wine);

}


.product-information {

    padding: 50px 20px 20px 0;

}


.product-category {

    color: var(--wine);

    font-size: 9px;

    letter-spacing: 2px;

    margin-bottom: 15px;

}


.product-information h2 {

    font-family: "Playfair Display", serif;

    font-size: 40px;

    font-weight: 400;

    margin-bottom: 18px;

}


.modal-price {

    font-size: 14px;

    margin-bottom: 30px;

}


.modal-description {

    font-size: 12px;

    line-height: 1.8;

    color: #555;

}


.product-divider {

    height: 1px;

    background: #ddd;

    margin: 30px 0;

}


.quantity-title {

    font-size: 9px;

    letter-spacing: 1.5px;

    margin-bottom: 10px;

}


.quantity-selector {

    display: flex;

    align-items: center;

    border: 1px solid #ccc;

    width: fit-content;

    margin-bottom: 20px;

}


.quantity-selector button {

    width: 40px;

    height: 40px;

    background: white;

    border: none;

    font-size: 18px;

}


.quantity-selector span {

    width: 40px;

    text-align: center;

    font-size: 12px;

}


.add-cart-large {

    width: 100%;

    background: var(--wine);

    color: white;

    border: none;

    padding: 18px;

    font-size: 10px;

    letter-spacing: 2px;

}


.add-cart-large:hover {

    background: var(--wine-dark);

}


.product-shipping {

    margin-top: 30px;

    font-size: 10px;

    line-height: 1.7;

}


.product-shipping strong {

    display: block;

    margin-bottom: 7px;

    letter-spacing: 1px;

}


/* =====================================================
   CARRINHO
===================================================== */

.cart-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.55);

    z-index: 400;

    visibility: hidden;

    opacity: 0;

    transition: .3s;

}


.cart-overlay.active {

    visibility: visible;

    opacity: 1;

}


.cart {

    background: white;

    position: absolute;

    right: 0;

    top: 0;

    height: 100%;

    width: min(450px, 100%);

    display: flex;

    flex-direction: column;

}


.cart-header {

    padding: 25px;

    border-bottom: 1px solid #ddd;

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.cart-header h2 {

    font-family: "Playfair Display", serif;

    font-weight: 400;

    font-size: 25px;

}


.cart-header button {

    border: none;

    background: none;

    font-size: 27px;

}


.cart-items {

    flex: 1;

    overflow-y: auto;

    padding: 20px;

}


.empty-cart {

    text-align: center;

    padding: 60px 20px;

    color: #777;

    font-size: 12px;

}


.cart-item {

    display: grid;

    grid-template-columns: 80px 1fr auto;

    gap: 15px;

    margin-bottom: 25px;

}


.cart-item img {

    width: 80px;

    height: 100px;

    object-fit: contain;

    object-position: center;

    display: block;

}


.cart-item-name {

    font-size: 12px;

    margin-bottom: 7px;

}


.cart-item-price {

    font-size: 11px;

}


.cart-item-remove {

    background: none;

    border: none;

    color: #888;

    font-size: 11px;

}


.cart-quantity {

    display: flex;

    align-items: center;

    margin-top: 12px;

}


.cart-quantity button {

    width: 25px;

    height: 25px;

    border: 1px solid #ddd;

    background: white;

}


.cart-quantity span {

    width: 30px;

    text-align: center;

    font-size: 10px;

}


.cart-footer {

    border-top: 1px solid #ddd;

    padding: 25px;

}


.subtotal {

    display: flex;

    justify-content: space-between;

    margin-bottom: 15px;

    font-size: 11px;

    letter-spacing: 1px;

}


.cart-shipping-info {

    font-size: 10px;

    color: #777;

    line-height: 1.6;

    margin-bottom: 20px;

}


.checkout-button {

    width: 100%;

    border: none;

    background: var(--wine);

    color: white;

    padding: 18px;

    font-size: 10px;

    letter-spacing: 2px;

}


.continue-shopping {

    width: 100%;

    border: none;

    background: none;

    padding: 15px;

    font-size: 9px;

    letter-spacing: 1px;

}


/* =====================================================
   TOAST
===================================================== */

.toast {

    position: fixed;

    bottom: 25px;

    left: 50%;

    transform: translate(-50%, 20px);

    background: var(--black);

    color: white;

    padding: 14px 22px;

    font-size: 11px;

    opacity: 0;

    pointer-events: none;

    transition: .3s;

    z-index: 1000;

}


.toast.show {

    opacity: 1;

    transform: translate(-50%, 0);

}


/* =====================================================
   RESPONSIVO
===================================================== */

@media (max-width: 900px) {

    .products-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .collection-products-carousel {

        grid-template-columns: 34px minmax(0, 1fr) 34px;

        gap: 10px;

    }


    .collection-products-grid {

        grid-template-columns: repeat(3, minmax(0, 1fr));

    }


    .collection-carousel-arrow {

        width: 34px;

        height: 34px;

        font-size: 22px;

    }


    .product-detail {

        grid-template-columns: 1fr;

    }


    .product-information {

        padding: 10px;

    }


    .newsletter {

        grid-template-columns: 1fr;

    }


    .footer {

        grid-template-columns: 1fr 1fr;

    }

}


@media (max-width: 650px) {

    .collection-products-carousel {

        grid-template-columns: 30px minmax(0, 1fr) 30px;

        gap: 6px;

    }


    .collection-products-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }


    .collection-carousel-arrow {

        width: 30px;

        height: 30px;

        font-size: 20px;

    }


    .shipping-bar {

        font-size: 8px;

        letter-spacing: .8px;

        gap: 6px;

        padding: 0 5px;

        text-align: center;

    }


    .header {

        height: 65px;

        grid-template-columns: 40px 1fr 60px;

        padding: 0 18px;

    }


    .mobile-menu {

        display: block;

    }


    .logo {

        font-size: 21px;

        letter-spacing: 4px;

    }


    .main-navigation {

        position: absolute;

        top: 65px;

        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        gap: 0;

        display: none;

        border-bottom: 1px solid #ddd;

    }


    .main-navigation.active {

        display: flex;

    }


    .main-navigation a {

        padding: 18px 20px;

        border-bottom: 1px solid #eee;

    }


    .header-actions {

        gap: 8px;

    }


    .icon {

        font-size: 20px;

    }


    .hero {

        height: 70vh;

        min-height: 500px;

    }


    .slide-content {

        left: 7%;

    }


    .slide-content h1 {

        font-size: 55px;

    }


    .carousel-prev,
    .carousel-next {

        display: none;

    }


    .product-section {

        padding: 70px 18px;

    }


    .section-heading h2 {

        font-size: 34px;

    }


    .section-heading > a {

        display: none;

    }


    .products-grid {

        gap: 18px 10px;

    }


    .product-name,
    .product-price {

        font-size: 10px;

    }


    .sale-section {

        padding: 80px 18px;

    }


    .new-products-carousel {

        grid-template-columns: 30px minmax(0, 1fr) 30px;

        gap: 6px;

    }


    .new-products-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }


    .new-carousel-arrow {

        width: 30px;

        height: 30px;

        font-size: 20px;

    }


    .sale-products-carousel {

        grid-template-columns: 30px minmax(0, 1fr) 30px;

        gap: 6px;

    }


    .sale-products-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }


    .sale-carousel-arrow {

        width: 30px;

        height: 30px;

        font-size: 20px;

    }


    .sale-heading h2 {

        font-size: 50px;

    }


    .newsletter {

        padding: 70px 18px;

        gap: 40px;

    }


    .newsletter h2 {

        font-size: 30px;

    }


    .footer {

        grid-template-columns: 1fr 1fr;

        padding: 60px 18px 25px;

    }


    .footer-brand {

        grid-column: 1 / -1;

        margin-bottom: 20px;

    }


    .modal {

        padding: 0;

    }


    .modal-content {

        min-height: 100%;

        padding: 20px;

    }


    /* Galeria mobile: tamanho controlado, sem distorcer ou cortar a foto */
    .product-gallery {

        width: 100%;

        min-width: 0;

        display: flex;

        flex-direction: column;

        align-items: center;

    }


    .gallery-main {

        width: min(100%, 520px);

        aspect-ratio: 4 / 3;

        max-height: 500px;

        margin: 0 auto;

    }


    .gallery-main img {

        width: 100%;

        height: 100%;

        max-width: 100%;

        max-height: 100%;

        object-fit: contain;

        object-position: center;

    }


    .gallery-thumbnails {

        width: min(100%, 520px);

        max-width: 100%;

        justify-content: flex-start;

    }


    .gallery-thumbnail {

        flex: 0 0 68px;

        width: 68px;

        height: 82px;

    }


    .product-information h2 {

        font-size: 32px;

    }

}
/* =====================================================
   FORMULÁRIO DE CHECKOUT
===================================================== */

.checkout-form {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.checkout-form h3 {
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 500;
    margin: 0 0 15px;
}

.checkout-form input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    background: white;
    padding: 13px 12px;
    margin-bottom: 10px;
    font-family: inherit;
    font-size: 11px;
    outline: none;
}

.checkout-form input:focus {
    border-color: #222;
}

.checkout-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
}

.shipping-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 15px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    font-size: 10px;
    letter-spacing: 1px;
}

.shipping-result strong {
    font-weight: 500;
}
.shipping-result-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}
.shipping-options{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:10px;
    letter-spacing:0;
}
.shipping-option{
    display:grid;
    grid-template-columns:18px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    width:100%;
    box-sizing:border-box;
    padding:11px 10px;
    border:1px solid #ddd;
    background:#fff;
    cursor:pointer;
}
.shipping-option.selected{
    border-color:#222;
    background:#fafafa;
}
.shipping-option input{
    width:16px;
    height:16px;
    margin:0;
    accent-color:#222;
}
.shipping-option-info{
    display:flex;
    flex-direction:column;
    gap:3px;
    min-width:0;
}
.shipping-option-info strong{
    font-size:11px;
    font-weight:600;
    letter-spacing:.3px;
    white-space:normal;
}
.shipping-option-info small{
    color:#666;
    font-size:9px;
    line-height:1.35;
}
.shipping-option-price{
    font-size:11px;
    white-space:nowrap;
}
.shipping-loading,.shipping-error{
    padding:8px 0;
    color:#666;
    font-size:10px;
    letter-spacing:.3px;
}
.shipping-error{
    color:#8a3030;
}
@media (max-width:600px){
    .shipping-option{
        grid-template-columns:18px minmax(0,1fr) auto;
        padding:11px 8px;
    }
    .shipping-option-price{
        font-size:11px;
    }
}
/* =========================================
   CORREÇÃO DO CARRINHO — MONTÊ
   ========================================= */

/* Fundo do carrinho */
.cart-overlay,
.cart-modal,
.cart-drawer,
#cartDrawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

/* Painel lateral do carrinho */
.cart-content,
.cart-panel,
.cart-drawer-content,
#cartDrawer .cart-content,
#cartDrawer .cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(520px, 100%);
    height: 100dvh;
    max-height: 100dvh;
    background: #fff;

    display: flex;
    flex-direction: column;

    overflow: hidden;
    box-sizing: border-box;
}

/* Área interna que contém produtos + formulário */
.cart-body,
.cart-items,
.cart-scroll,
.cart-drawer-body,
#cartDrawer .cart-body,
#cartDrawer .cart-items {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    box-sizing: border-box;
}

/* Impede o conteúdo de ficar escondido atrás do rodapé */
.cart-footer,
.cart-actions,
.checkout-section {
    flex-shrink: 0;
}

/* Produto dentro do carrinho */
.cart-item {
    flex-shrink: 0;
}

/* Barra de rolagem */
.cart-body::-webkit-scrollbar,
.cart-items::-webkit-scrollbar,
.cart-scroll::-webkit-scrollbar,
.cart-drawer-body::-webkit-scrollbar {
    width: 6px;
}

.cart-body::-webkit-scrollbar-thumb,
.cart-items::-webkit-scrollbar-thumb,
.cart-scroll::-webkit-scrollbar-thumb,
.cart-drawer-body::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}

/* =========================================
   CELULAR / TELAS PEQUENAS
   ========================================= */

@media (max-width: 600px) {

    .cart-content,
    .cart-panel,
    .cart-drawer-content,
    #cartDrawer .cart-content,
    #cartDrawer .cart-panel {
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
    }

    .cart-body,
    .cart-items,
    .cart-scroll,
    .cart-drawer-body {
        overflow-y: auto;
        max-height: none;
    }
}

/* =========================================
   EVITA O SITE PRINCIPAL DE ROLAR POR BAIXO
   DO CARRINHO
   ========================================= */

body.cart-open,
body.modal-open {
    overflow: hidden;
}
/* ==========================================
   CORREÇÃO DEFINITIVA DO CARRINHO MONTÊ
   ========================================== */

/* O painel inteiro do carrinho será rolável */
#cartOverlay .cart {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;

    box-sizing: border-box !important;

    display: block !important;

    -webkit-overflow-scrolling: touch;
}

/* Remove qualquer altura/posição que esteja prendendo
   o formulário dentro do carrinho */
#cartOverlay .cart-footer {
    position: static !important;
    height: auto !important;
    max-height: none !important;

    overflow: visible !important;

    box-sizing: border-box !important;
}

/* Área dos produtos */
#cartOverlay #cartItems {
    position: static !important;

    height: auto !important;
    max-height: none !important;

    overflow: visible !important;

    box-sizing: border-box !important;
}

/* Formulário */
#cartOverlay .checkout-form {
    position: static !important;

    height: auto !important;
    max-height: none !important;

    overflow: visible !important;

    box-sizing: border-box !important;

    padding-bottom: 40px;
}

/* Mantém o cabeçalho no topo enquanto o carrinho rola */
#cartOverlay .cart-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
}

/* Barra de rolagem do carrinho */
#cartOverlay .cart::-webkit-scrollbar {
    width: 7px;
}

#cartOverlay .cart::-webkit-scrollbar-thumb {
    background: #b8b8b8;
    border-radius: 10px;
}

#cartOverlay .cart::-webkit-scrollbar-track {
    background: transparent;
}


/* ==========================================
   CELULAR
   ========================================== */

@media (max-width: 600px) {

    #cartOverlay .cart {
        width: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;

        overflow-y: auto !important;
    }

    #cartOverlay .cart-footer {
        padding-bottom: 50px;
    }
}

/* VARIANTES / CORES */
.variant-selector { margin: 20px 0; }
.variant-options { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.variant-option { background:#fff; border:1px solid var(--border); padding:10px 16px; font-size:12px; letter-spacing:.5px; }
.variant-option.active { border-color:var(--black); background:var(--black); color:#fff; }

/* =====================================================
   FORMAS DE PAGAMENTO
===================================================== */
.payment-methods{margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}
.payment-methods h3{margin-bottom:10px}
.payment-option{
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
    display:grid;
    grid-template-columns:22px minmax(0,1fr) auto;
    align-items:center;
    column-gap:10px;
    padding:14px 12px;
    margin-bottom:8px;
    border:1px solid var(--border);
    background:#fff;
    cursor:pointer;
    transition:border-color .2s ease,background .2s ease;
    overflow:hidden;
}
.payment-option.selected{border-color:var(--black);background:#fafafa}
.payment-option input{
    grid-column:1;
    grid-row:1;
    accent-color:var(--black);
    width:18px;
    height:18px;
    margin:0;
    justify-self:start;
}
.payment-option-content{
    grid-column:2;
    grid-row:1;
    min-width:0;
    max-width:100%;
    display:flex;
    flex-direction:column;
    gap:3px;
    overflow:hidden;
}
.payment-option-content strong{
    display:block;
    max-width:100%;
    font-size:12px;
    letter-spacing:.5px;
    line-height:1.25;
    white-space:normal;
    overflow-wrap:anywhere;
}
.payment-option-content small{
    display:block;
    max-width:100%;
    font-size:10px;
    color:#666;
    line-height:1.4;
    white-space:normal;
    overflow-wrap:anywhere;
}
.payment-option-price{
    grid-column:3;
    grid-row:1;
    min-width:0;
    max-width:100%;
    font-size:12px;
    font-weight:600;
    white-space:nowrap;
    text-align:right;
    margin:0;
}
.checkout-total{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid var(--border);
    font-size:12px;
    letter-spacing:.7px
}
.checkout-total strong{font-size:16px;white-space:nowrap}

@media (max-width: 600px) {
    #cartOverlay .payment-methods{
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }

    #cartOverlay .payment-option{
        width:100% !important;
        max-width:100% !important;
        box-sizing:border-box !important;
        grid-template-columns:22px minmax(0,1fr) !important;
        grid-template-rows:auto auto !important;
        column-gap:10px;
        row-gap:2px;
        padding:13px 12px;
        overflow:hidden !important;
    }

    #cartOverlay .payment-option input{
        grid-column:1 !important;
        grid-row:1 / span 2 !important;
        align-self:center;
    }

    #cartOverlay .payment-option-content{
        grid-column:2 !important;
        grid-row:1 !important;
        min-width:0 !important;
        max-width:100% !important;
        overflow:hidden !important;
    }

    #cartOverlay .payment-option-price{
        grid-column:2 !important;
        grid-row:2 !important;
        justify-self:start;
        align-self:start;
        margin-top:2px;
        font-size:11px;
        line-height:1.3;
        white-space:nowrap;
    }

    #cartOverlay .payment-option-content strong{font-size:11px}
    #cartOverlay .payment-option-content small{font-size:9px}
}


/* =====================================================
   PÁGINAS INSTITUCIONAIS
===================================================== */

.institutional-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 90px 24px 110px;
    line-height: 1.75;
}

.institutional-page h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 400;
    margin-bottom: 35px;
}

.institutional-page h2 {
    font-size: 18px;
    margin: 38px 0 10px;
}

.institutional-page p {
    font-size: 14px;
    color: #333;
}

.institutional-note {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    font-size: 12px !important;
    color: #777 !important;
}

.institutional-back {
    display: inline-block;
    margin-top: 45px;
    font-size: 11px;
    letter-spacing: 1.5px;
    border-bottom: 1px solid #111;
    padding-bottom: 5px;
}

.product-badge-stock {
    top: auto;
    bottom: 14px;
    background: #111;
}

.variant-option.unavailable {
    opacity: .45;
    text-decoration: line-through;
    cursor: not-allowed;
}

.variant-option:disabled {
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .institutional-page {
        padding: 55px 20px 80px;
    }

    .institutional-page h2 {
        margin-top: 30px;
    }
}


.header-purchases-link {
    font-size: 9px;
    letter-spacing: 1.4px;
    white-space: nowrap;
}

.whatsapp-optin {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: -3px 0 18px;
    font-size: 11px;
    line-height: 1.45;
    color: #555;
}

.whatsapp-optin input {
    width: auto;
    margin-top: 2px;
    flex: 0 0 auto;
}

.purchases-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 85px 24px 110px;
}

.purchases-intro {
    text-align: center;
    margin-bottom: 45px;
}

.purchases-intro h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 7vw, 70px);
    font-weight: 400;
    margin-bottom: 12px;
}

.purchases-intro > p:last-child {
    color: #666;
    font-size: 13px;
}

.purchase-lookup {
    max-width: 620px;
    margin: 0 auto 55px;
    padding: 28px;
    border: 1px solid var(--border);
    display: grid;
    gap: 16px;
}

.purchase-lookup label {
    display: grid;
    gap: 7px;
    font-size: 9px;
    letter-spacing: 1.3px;
}

.purchase-lookup input {
    width: 100%;
    border: 1px solid #ccc;
    padding: 13px 14px;
    outline: none;
    font-size: 13px;
}

.purchase-lookup input:focus {
    border-color: #111;
}

.purchase-lookup button,
.tracking-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #111;
    color: #fff;
    padding: 14px 18px;
    font-size: 9px;
    letter-spacing: 1.6px;
    cursor: pointer;
}

.purchase-error {
    min-height: 17px;
    color: #8a1f2c;
    font-size: 11px;
}

.purchase-result {
    border-top: 1px solid var(--border);
    padding-top: 45px;
}

.purchase-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 35px;
}

.purchase-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 400;
}

.purchase-header p:not(.section-label) {
    color: #777;
    font-size: 11px;
    margin-top: 7px;
}

.purchase-status {
    padding: 9px 12px;
    background: #f4f4f2;
    font-size: 9px;
    letter-spacing: 1px;
}

.purchase-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0 0 38px;
    border-top: 1px solid #ddd;
}

.purchase-timeline > div {
    position: relative;
    padding-top: 16px;
    color: #aaa;
    text-align: center;
}

.purchase-timeline > div::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--wine);
    transition: width .2s ease;
}

.purchase-timeline > div.done {
    color: #111;
}

.purchase-timeline > div.done::before {
    width: 100%;
}

.purchase-timeline span {
    display: inline-flex;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #eee;
    font-size: 9px;
}

.purchase-timeline .done span {
    background: var(--wine);
    color: #fff;
}

.purchase-timeline small {
    display: block;
    margin-top: 7px;
    font-size: 9px;
    letter-spacing: .8px;
}

.purchase-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.purchase-panel,
.tracking-card {
    border: 1px solid var(--border);
    padding: 25px;
}

.purchase-panel h3 {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.purchase-panel > p {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #eee;
}

.purchase-total {
    font-size: 14px !important;
    border-bottom: none !important;
    padding-top: 18px !important;
}

.purchase-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #eee;
    font-size: 12px;
}

.purchase-item span {
    display: block;
    color: #777;
    font-size: 10px;
    margin-top: 5px;
}

.tracking-card {
    background: #faf8f7;
}

.tracking-card h2 {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 27px;
    margin-bottom: 7px;
}

.tracking-card > p:not(.section-label) {
    font-size: 11px;
    color: #666;
    margin-bottom: 17px;
}

.tracking-code {
    font-family: monospace;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.tracking-button {
    text-decoration: none;
}

.tracking-pending {
    background: #fff;
}

@media (max-width: 800px) {
    .header-purchases-link {
        display: none;
    }

    .purchase-columns {
        grid-template-columns: 1fr;
    }

    .purchase-header {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .purchases-page {
        padding: 55px 18px 80px;
    }

    .purchase-lookup {
        padding: 20px;
    }

    .purchase-timeline small {
        font-size: 8px;
    }

    .purchase-timeline span {
        width: 22px;
        height: 22px;
    }
}

/* =====================================================
   MOBILE REFINADO — MONTÊ
   Último override para telas pequenas
===================================================== */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

@media (max-width: 650px) {

    .shipping-bar {
        height: 32px;
        min-height: 32px;
        font-size: 7.5px;
        letter-spacing: .65px;
        gap: 5px;
        white-space: nowrap;
    }

    .header {
        height: 64px;
        min-height: 64px;
        padding: 0 14px;
        grid-template-columns: 38px minmax(0, 1fr) 58px;
    }

    .logo {
        font-size: 19px;
        letter-spacing: 3.5px;
    }

    .header-actions {
        gap: 7px;
        min-width: 0;
    }

    .header-actions button {
        padding: 0;
    }

    .cart-icon {
        width: 22px;
        height: 22px;
    }

    .cart-icon svg {
        width: 20px;
        height: 20px;
    }

    .mobile-menu {
        width: 32px;
        height: 32px;
        font-size: 21px;
        padding: 0;
    }

    .hero {
        height: 62svh;
        min-height: 360px;
        max-height: 620px;
    }

    .slide img {
        object-fit: cover;
    }

    .slide-content {
        left: 22px;
        right: 22px;
        max-width: calc(100% - 44px);
    }

    .slide-content p {
        font-size: 8px;
        letter-spacing: 3px;
        margin-bottom: 12px;
    }

    .slide-content h1 {
        font-size: clamp(38px, 12vw, 58px);
        line-height: .98;
        margin-bottom: 22px;
    }

    .hero-button {
        padding: 13px 20px;
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .carousel-dots {
        bottom: 17px;
        gap: 5px;
    }

    .carousel-dot {
        width: 25px;
    }

    .product-section,
    .sale-section {
        padding: 52px 16px;
    }

    .section-heading {
        margin-bottom: 28px;
        align-items: flex-end;
    }

    .section-label {
        font-size: 8px;
        letter-spacing: 3px;
        margin-bottom: 7px;
    }

    .section-heading h2 {
        font-size: clamp(29px, 9vw, 36px);
        line-height: 1;
    }

    .products-grid {
        gap: 20px 9px;
    }

    .product-image {
        aspect-ratio: 3 / 4;
    }

    .product-card:hover .product-image img {
        transform: none;
    }

    .product-info {
        padding-top: 10px;
    }

    .product-name {
        font-size: 10px;
        line-height: 1.35;
        margin-bottom: 5px;
    }

    .product-price {
        font-size: 10px;
    }

    .product-badge {
        top: 8px;
        left: 8px;
        padding: 5px 7px;
        font-size: 7px;
    }

    .collection-toolbar {
        gap: 7px;
        margin-bottom: 25px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 3px;
        scrollbar-width: none;
    }

    .collection-toolbar::-webkit-scrollbar {
        display: none;
    }

    .filter-button {
        flex: 0 0 auto;
        padding: 9px 13px;
        font-size: 8px;
    }

    .collection-products-carousel,
    .new-products-carousel,
    .sale-products-carousel {
        grid-template-columns: 26px minmax(0, 1fr) 26px;
        gap: 5px;
    }

    .collection-carousel-arrow,
    .new-carousel-arrow,
    .sale-carousel-arrow {
        width: 26px;
        height: 26px;
        font-size: 18px;
    }

    .collection-products-grid,
    .new-products-grid,
    .sale-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sale-heading {
        margin-bottom: 32px;
    }

    .sale-heading h2 {
        font-size: clamp(45px, 15vw, 58px);
        line-height: 1;
    }

    .sale-heading span {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .newsletter {
        padding: 55px 16px;
        gap: 30px;
    }

    .newsletter h2 {
        font-size: 28px;
        line-height: 1.1;
    }

    .newsletter p {
        font-size: 12px;
    }

    .newsletter form {
        width: 100%;
    }

    .newsletter input {
        min-width: 0;
        font-size: 12px;
    }

    .footer {
        padding: 50px 16px 22px;
        gap: 28px 20px;
    }

    .footer-column {
        gap: 10px;
    }

    .footer-column a {
        font-size: 10px;
    }

    /* Produto aberto no celular */
    .modal {
        padding: 0;
        align-items: stretch;
    }

    .modal-content {
        width: 100%;
        min-height: 100%;
        padding: 14px 16px 35px;
        overflow-x: hidden;
    }

    .modal-close {
        top: 8px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 27px;
        background: rgba(255,255,255,.92);
    }

    .product-detail {
        display: block;
        width: 100%;
    }

    .product-gallery {
        width: 100%;
        max-width: 100%;
    }

    .gallery-main {
        width: 100%;
        height: clamp(300px, 82vw, 390px);
        aspect-ratio: auto;
        max-height: none;
        margin: 0 auto;
        background: #f4f4f2;
    }

    .gallery-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .gallery-thumbnails {
        width: 100%;
        max-width: 100%;
        gap: 6px;
        margin-top: 8px;
        padding-bottom: 2px;
    }

    .gallery-thumbnail {
        flex: 0 0 58px;
        width: 58px;
        height: 70px;
    }

    .product-information {
        width: 100%;
        padding: 32px 2px 10px;
    }

    .product-category {
        font-size: 8px;
        letter-spacing: 1.8px;
        margin-bottom: 11px;
    }

    .product-information h2 {
        font-size: clamp(29px, 9vw, 36px);
        line-height: 1.05;
        margin-bottom: 12px;
    }

    .modal-price {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .modal-description {
        font-size: 11px;
        line-height: 1.65;
    }

    .product-divider {
        margin: 22px 0;
    }

    .add-cart-large {
        padding: 16px 12px;
    }

    .product-shipping {
        margin-top: 22px;
    }

    /* Carrinho */
    .cart {
        width: 100%;
        max-width: 100%;
    }

    .cart-header {
        padding: 18px 16px;
    }

    .cart-items {
        padding: 16px;
    }

    .cart-item {
        grid-template-columns: 62px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .cart-item img {
        width: 62px;
        height: 78px;
    }

    .cart-footer {
        padding: 18px 16px;
    }

    .checkout-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkout-form input {
        font-size: 12px;
        padding: 12px;
    }

    .shipping-result-head {
        flex-wrap: wrap;
    }

    .payment-option {
        min-width: 0;
    }
}

@media (max-width: 380px) {

    .shipping-bar {
        font-size: 7px;
        letter-spacing: .4px;
    }

    .header {
        padding: 0 10px;
        grid-template-columns: 34px minmax(0, 1fr) 52px;
    }

    .logo {
        font-size: 17px;
        letter-spacing: 3px;
    }

    .product-section,
    .sale-section {
        padding-left: 13px;
        padding-right: 13px;
    }

    .collection-products-carousel,
    .new-products-carousel,
    .sale-products-carousel {
        grid-template-columns: 23px minmax(0, 1fr) 23px;
        gap: 4px;
    }

    .collection-carousel-arrow,
    .new-carousel-arrow,
    .sale-carousel-arrow {
        width: 23px;
        height: 23px;
        font-size: 16px;
    }

    .gallery-main {
        height: 300px;
    }
}


/* =====================================================
   MOBILE — GALERIA DE PRODUTO REFINADA
===================================================== */

@media (max-width: 650px) {

    .modal-content {
        padding: 8px 20px 32px;
    }

    .product-gallery {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .gallery-main {
        width: 100%;
        height: 440px;
        aspect-ratio: auto;
        max-height: 440px;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .gallery-main img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 440px;
        object-fit: contain;
        object-position: center;
        display: block;
    }

    .gallery-thumbnails {
        width: 100%;
        margin-top: 12px;
        padding: 0 0 3px;
        gap: 7px;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .gallery-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .gallery-thumbnail {
        flex: 0 0 62px;
        width: 62px;
        height: 76px;
        background: #f4f4f2;
    }

    .product-information {
        padding: 28px 8px 10px;
    }

    .product-information h2 {
        font-size: clamp(30px, 8.5vw, 35px);
        line-height: 1.05;
        margin-bottom: 10px;
    }

    .modal-price {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .modal-description {
        font-size: 11px;
        line-height: 1.65;
        max-width: 520px;
    }

    .product-divider {
        margin: 20px 0;
    }

    .variant-selector,
    .quantity-selector,
    .add-cart-large,
    .product-shipping {
        margin-left: 0;
        margin-right: 0;
    }

    .quantity-selector {
        margin-bottom: 18px;
    }

    .add-cart-large {
        width: 100%;
        min-height: 54px;
        padding: 15px 12px;
    }
}

@media (max-width: 380px) {

    .modal-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .gallery-main {
        height: 390px;
        max-height: 390px;
    }

    .gallery-main img {
        max-height: 390px;
    }

    .gallery-thumbnail {
        flex-basis: 58px;
        width: 58px;
        height: 70px;
    }

    .product-information {
        padding-left: 4px;
        padding-right: 4px;
    }
}


/* =====================================================
   GALERIA MOBILE — SCROLL INTERNO + FOTOS NATURAIS
===================================================== */

.modal {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

@media (max-width: 650px) {

    .modal {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        overflow-y: auto;
        overflow-x: hidden;
        display: none;
        align-items: flex-start;
        justify-content: center;
        padding: 0;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .modal.active {
        display: block;
    }

    .modal-content {
        width: 100%;
        min-height: auto;
        height: auto;
        padding: 8px 20px 45px;
        overflow: visible;
    }

    /* A imagem acompanha a proporção original.
       Sem caixa fixa, sem barras laterais e sem corte. */
    .gallery-main {
        width: 100%;
        height: auto;
        max-height: none;
        aspect-ratio: auto;
        background: transparent;
        overflow: visible;
        display: block;
    }

    .gallery-main img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;
        object-fit: initial;
        object-position: center;
        display: block;
    }

    .gallery-thumbnails {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    /* Cards de produto: imagem natural, sem moldura lateral.
       O navegador reduz apenas visualmente quando necessário,
       mantendo a resolução/arquivo original. */
    .product-image {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        background: transparent;
        overflow: hidden;
    }

    .product-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;
        object-fit: initial;
        object-position: center;
        display: block;
        transform: none;
    }

    .product-card:hover .product-image img {
        transform: none;
    }
}

@media (max-width: 380px) {
    .modal-content {
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* =====================================================
   MONTÊ — MOBILE FINAL / LAYOUT REFINADO
   Apenas telas <= 650px
===================================================== */

@media (max-width: 650px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        font-size: 14px;
        -webkit-text-size-adjust: 100%;
    }

    /* ---------- TOPO ---------- */

    .shipping-bar {
        height: 31px;
        min-height: 31px;
        padding: 0 10px;
        gap: 5px;
        font-size: 7px;
        letter-spacing: .55px;
        white-space: nowrap;
        overflow: hidden;
    }

    .header {
        height: 62px;
        min-height: 62px;
        padding: 0 15px;
        grid-template-columns: 38px minmax(0, 1fr) 58px;
        box-shadow: 0 1px 0 rgba(0,0,0,.05);
    }

    .logo {
        font-size: 19px;
        letter-spacing: 3.2px;
    }

    .mobile-menu {
        width: 34px;
        height: 34px;
        padding: 0;
        font-size: 20px;
        line-height: 1;
    }

    .header-actions {
        gap: 6px;
    }

    .header-actions button {
        width: 26px;
        height: 32px;
        padding: 0;
    }

    .header-actions .icon {
        font-size: 19px;
    }

    .cart-icon,
    .cart-icon svg {
        width: 21px;
        height: 21px;
    }

    .cart-count {
        top: -4px;
        right: -5px;
        width: 15px;
        height: 15px;
        font-size: 8px;
    }

    .main-navigation {
        top: 62px;
        box-shadow: 0 10px 24px rgba(0,0,0,.08);
    }

    .main-navigation a {
        padding: 17px 20px;
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    /* ---------- HERO ---------- */

    .hero {
        height: 61svh;
        min-height: 350px;
        max-height: 600px;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .slide-content {
        left: 20px;
        right: 20px;
        top: auto;
        bottom: 58px;
        transform: none;
        max-width: calc(100% - 40px);
    }

    .slide-content p {
        margin-bottom: 9px;
        font-size: 7px;
        letter-spacing: 2.8px;
    }

    .slide-content h1 {
        font-size: clamp(37px, 11vw, 55px);
        line-height: .96;
        margin-bottom: 17px;
    }

    .hero-button {
        padding: 12px 18px;
        font-size: 8px;
        letter-spacing: 1.4px;
    }

    .carousel-dots {
        bottom: 18px;
        gap: 5px;
    }

    .carousel-dot {
        width: 24px;
        height: 2px;
    }

    /* ---------- SEÇÕES ---------- */

    .product-section,
    .sale-section {
        padding: 52px 16px 58px;
    }

    .section-heading {
        margin-bottom: 25px;
    }

    .section-label {
        margin-bottom: 7px;
        font-size: 7px;
        letter-spacing: 2.8px;
    }

    .section-heading h2 {
        font-size: 31px;
        line-height: 1;
    }

    /* ---------- FILTROS ---------- */

    .collection-toolbar {
        margin-bottom: 22px;
        gap: 7px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .collection-toolbar::-webkit-scrollbar {
        display: none;
    }

    .filter-button {
        flex: 0 0 auto;
        padding: 9px 14px;
        font-size: 8px;
        letter-spacing: 1.1px;
    }

    /* ---------- PRODUTOS ---------- */

    .products-grid,
    .collection-products-grid,
    .new-products-grid,
    .sale-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 10px;
    }

    /*
       As imagens usam a proporção do arquivo.
       Não existe moldura artificial nem object-fit: cover.
    */
    .product-image {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        background: transparent;
        overflow: hidden;
    }

    .product-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
        object-fit: initial;
        object-position: center;
        transform: none !important;
    }

    .product-info {
        padding-top: 9px;
    }

    .product-name {
        font-size: 10px;
        line-height: 1.3;
        margin-bottom: 4px;
        letter-spacing: .45px;
    }

    .product-price {
        font-size: 10px;
    }

    .product-badge {
        top: 7px;
        left: 7px;
        padding: 5px 7px;
        font-size: 6.5px;
    }

    /* ---------- CARROSSÉIS ----------
       Setas ficam sobre a área da foto para não roubar
       largura dos produtos.
    */

    .collection-products-carousel,
    .new-products-carousel,
    .sale-products-carousel {
        display: block;
        position: relative;
        width: 100%;
    }

    .collection-products-viewport,
    .new-products-viewport,
    .sale-products-viewport {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .collection-carousel-arrow,
    .new-carousel-arrow,
    .sale-carousel-arrow {
        position: absolute;
        top: 42%;
        z-index: 5;
        width: 30px;
        height: 30px;
        padding: 0;
        border: 1px solid rgba(255,255,255,.85);
        background: rgba(0,0,0,.42);
        color: #fff;
        font-size: 19px;
        line-height: 1;
        box-shadow: 0 2px 8px rgba(0,0,0,.12);
    }

    .collection-prev,
    .new-prev,
    .sale-prev {
        left: 6px;
    }

    .collection-next,
    .new-next,
    .sale-next {
        right: 6px;
    }

    .collection-carousel-arrow:hover:not(:disabled),
    .new-carousel-arrow:hover:not(:disabled),
    .sale-carousel-arrow:hover:not(:disabled) {
        background: rgba(0,0,0,.58);
        color: #fff;
    }

    /* ---------- SALE ---------- */

    .sale-section {
        padding-top: 58px;
        padding-bottom: 62px;
    }

    .sale-heading {
        margin-bottom: 29px;
    }

    .sale-heading p {
        font-size: 7px;
        letter-spacing: 3px;
        margin-bottom: 10px;
    }

    .sale-heading h2 {
        font-size: 51px;
        line-height: .95;
    }

    .sale-heading span {
        font-size: 8px;
        letter-spacing: 1.4px;
    }

    /* ---------- NEWSLETTER ---------- */

    .newsletter {
        display: block;
        padding: 58px 16px 62px;
    }

    .newsletter h2 {
        font-size: 28px;
        line-height: 1.08;
        margin-bottom: 13px;
    }

    .newsletter p {
        font-size: 12px;
        line-height: 1.65;
    }

    .newsletter form {
        margin-top: 30px;
        width: 100%;
    }

    .newsletter input {
        min-width: 0;
        padding: 13px 0;
        font-size: 12px;
    }

    .newsletter button {
        font-size: 8px;
        letter-spacing: 1.2px;
        padding-left: 10px;
    }

    /* ---------- RODAPÉ ---------- */

    .footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 28px 18px;
        padding: 48px 16px 22px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 4px;
    }

    .footer-logo {
        font-size: 26px;
        letter-spacing: 5px;
    }

    .footer-brand p {
        font-size: 10px;
        margin-top: 10px;
    }

    .footer-column {
        gap: 10px;
    }

    .footer-column h3 {
        font-size: 8px;
        margin-bottom: 5px;
    }

    .footer-column a {
        font-size: 10px;
    }

    .footer-bottom {
        margin-top: 8px;
        padding-top: 18px;
        font-size: 8px;
        line-height: 1.5;
    }

    /* ---------- PRODUTO ABERTO ---------- */

    .modal {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        padding: 0;
        display: none;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .modal.active {
        display: block;
    }

    .modal-content {
        width: 100%;
        min-height: 100%;
        padding: 8px 16px 42px;
        overflow: visible;
    }

    .modal-close {
        top: 9px;
        right: 11px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,.92);
        box-shadow: 0 2px 10px rgba(0,0,0,.08);
        font-size: 25px;
    }

    .product-detail {
        display: block;
        width: 100%;
    }

    .product-gallery {
        width: 100%;
        min-width: 0;
    }

    /*
       A foto não recebe altura fixa.
       O navegador reduz proporcionalmente a imagem,
       sem compressão, corte ou barras laterais criadas pelo CSS.
    */
    .gallery-main {
        width: 100%;
        height: auto;
        max-height: 62svh;
        aspect-ratio: auto;
        background: transparent;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gallery-main img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 62svh;
        object-fit: initial;
        object-position: center;
        display: block;
    }

    .gallery-thumbnails {
        width: 100%;
        margin-top: 10px;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .gallery-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .gallery-thumbnail {
        flex: 0 0 58px;
        width: 58px;
        height: 70px;
        background: #f4f4f2;
        object-fit: contain;
    }

    .product-information {
        width: 100%;
        padding: 27px 5px 5px;
    }

    .product-category {
        font-size: 7px;
        letter-spacing: 2.2px;
        margin-bottom: 10px;
    }

    .product-information h2 {
        font-size: 32px;
        line-height: 1.02;
        margin-bottom: 10px;
    }

    .modal-price {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .modal-description {
        max-width: 540px;
        font-size: 11px;
        line-height: 1.65;
    }

    .product-divider {
        margin: 21px 0;
    }

    .quantity-title {
        font-size: 8px;
        letter-spacing: 1.7px;
        margin-bottom: 9px;
    }

    .quantity-selector {
        margin-bottom: 18px;
    }

    .add-cart-large {
        min-height: 52px;
        padding: 15px 12px;
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .product-shipping {
        margin-top: 20px;
        font-size: 9px;
    }

    /* ---------- CARRINHO / CHECKOUT ---------- */

    .cart {
        width: 100%;
        max-width: 100%;
    }

    .cart-header {
        padding: 18px 16px;
    }

    .cart-items {
        padding: 16px;
    }

    .cart-item {
        grid-template-columns: 62px minmax(0, 1fr) auto;
        gap: 10px;
        margin-bottom: 20px;
    }

    .cart-item img {
        width: 62px;
        height: auto;
        max-height: 78px;
    }

    .cart-footer {
        padding: 18px 16px;
    }

    .checkout-form {
        margin-top: 20px;
        padding-top: 18px;
    }

    .checkout-form input {
        padding: 12px;
        font-size: 12px;
        margin-bottom: 9px;
    }

    .checkout-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .shipping-result {
        display: block;
        padding: 13px 0;
    }

    .shipping-result-head {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    .payment-option {
        min-width: 0;
    }

    .checkout-button {
        min-height: 52px;
    }
}

@media (max-width: 380px) {

    .shipping-bar {
        font-size: 6.7px;
    }

    .header {
        padding-left: 11px;
        padding-right: 11px;
        grid-template-columns: 34px minmax(0,1fr) 52px;
    }

    .logo {
        font-size: 17px;
        letter-spacing: 2.8px;
    }

    .product-section,
    .sale-section {
        padding-left: 13px;
        padding-right: 13px;
    }

    .products-grid,
    .collection-products-grid,
    .new-products-grid,
    .sale-products-grid {
        gap: 22px 8px;
    }

    .gallery-main {
        max-height: 57svh;
    }

    .gallery-main img {
        max-height: 57svh;
    }

    .product-information h2 {
        font-size: 29px;
    }
}


/* =====================================================
   CARROSSÉIS MOBILE — 4 PRODUTOS POR VEZ
===================================================== */

@media (max-width: 650px) {

    .collection-products-grid,
    .new-products-grid,
    .sale-products-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
        width: 100%;
    }

    .collection-products-carousel,
    .new-products-carousel,
    .sale-products-carousel {
        display: block;
        position: relative;
        width: 100%;
    }

    .collection-products-viewport,
    .new-products-viewport,
    .sale-products-viewport {
        width: 100%;
        overflow: hidden;
    }

    .collection-carousel-arrow,
    .new-carousel-arrow,
    .sale-carousel-arrow {
        display: flex !important;
        position: absolute;
        top: 38%;
        width: 27px;
        height: 27px;
        z-index: 10;
        padding: 0;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        border: 1px solid rgba(255,255,255,.9);
        background: rgba(0,0,0,.48);
        color: #fff;
        box-shadow: 0 2px 7px rgba(0,0,0,.14);
    }

    .collection-prev,
    .new-prev,
    .sale-prev {
        left: 4px;
    }

    .collection-next,
    .new-next,
    .sale-next {
        right: 4px;
    }

    .collection-carousel-arrow:disabled,
    .new-carousel-arrow:disabled,
    .sale-carousel-arrow:disabled {
        opacity: .3;
    }

    .collection-products-grid .product-image,
    .new-products-grid .product-image,
    .sale-products-grid .product-image {
        width: 100%;
    }

    .collection-products-grid .product-info,
    .new-products-grid .product-info,
    .sale-products-grid .product-info {
        padding-top: 6px;
    }

    .collection-products-grid .product-name,
    .new-products-grid .product-name,
    .sale-products-grid .product-name {
        font-size: 8px;
        line-height: 1.2;
        letter-spacing: .2px;
        margin-bottom: 3px;
    }

    .collection-products-grid .product-price,
    .new-products-grid .product-price,
    .sale-products-grid .product-price {
        font-size: 8px;
    }

    .collection-products-grid .product-badge,
    .new-products-grid .product-badge,
    .sale-products-grid .product-badge {
        top: 4px;
        left: 4px;
        padding: 3px 4px;
        font-size: 5px;
    }
}

@media (max-width: 380px) {

    .collection-products-grid,
    .new-products-grid,
    .sale-products-grid {
        gap: 5px;
    }

    .collection-carousel-arrow,
    .new-carousel-arrow,
    .sale-carousel-arrow {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }
}


/* =====================================================
   MOBILE — CARDS UNIFORMES + TAG ESGOTADO
===================================================== */

@media (max-width: 650px) {

    .products-grid .product-image,
    .collection-products-grid .product-image,
    .new-products-grid .product-image,
    .sale-products-grid .product-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        background: transparent;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .products-grid .product-image img,
    .collection-products-grid .product-image img,
    .new-products-grid .product-image img,
    .sale-products-grid .product-image img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
    }

    /* ESGOTADO usa exatamente a mesma posição,
       tamanho e acabamento das demais tags.
       A cor preta é preservada. */
    .product-badge-stock {
        top: 7px !important;
        bottom: auto !important;
        left: 7px !important;
        right: auto;
        padding: 5px 7px !important;
        background: #111 !important;
        color: #fff !important;
        font-size: 6.5px !important;
        line-height: 1 !important;
        letter-spacing: 1px !important;
        z-index: 3;
    }
}

@media (max-width: 380px) {

    .products-grid .product-image,
    .collection-products-grid .product-image,
    .new-products-grid .product-image,
    .sale-products-grid .product-image {
        aspect-ratio: 1 / 1;
    }

    .product-badge-stock {
        top: 5px !important;
        left: 5px !important;
        padding: 4px 6px !important;
        font-size: 6px !important;
    }
}


/* =====================================================
   PADRÃO DEFINITIVO — FOTOS DOS CARDS
   Todos os cards usam exatamente o mesmo frame quadrado.
===================================================== */
.product-card .product-image,
.products-grid .product-image,
.collection-products-grid .product-image,
.new-products-grid .product-image,
.sale-products-grid .product-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
}

.product-card .product-image img,
.products-grid .product-image img,
.collection-products-grid .product-image img,
.new-products-grid .product-image img,
.sale-products-grid .product-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
}



/* =====================================================
   PADRÃO DEFINITIVO — CARDS RETANGULARES
   MONTÊ: frame vertical 3:4 em todos os cards.
===================================================== */
.product-card .product-image,
.products-grid .product-image,
.collection-products-grid .product-image,
.new-products-grid .product-image,
.sale-products-grid .product-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
}

.product-card .product-image img,
.products-grid .product-image img,
.collection-products-grid .product-image img,
.new-products-grid .product-image img,
.sale-products-grid .product-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center center !important;
}



/* =====================================================
   PREENCHIMENTO INTELIGENTE DOS FRAMES
   A foto original permanece inteira. O espaço restante
   usa uma cópia ampliada/desfocada do próprio fundo.
===================================================== */
.product-card .product-image,
.products-grid .product-image,
.collection-products-grid .product-image,
.new-products-grid .product-image,
.sale-products-grid .product-image {
    background: transparent !important;
    isolation: isolate;
}

.product-card .product-image::before,
.products-grid .product-image::before,
.collection-products-grid .product-image::before,
.new-products-grid .product-image::before,
.sale-products-grid .product-image::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: 0;
    background-image: var(--product-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(18px);
    transform: scale(1.06);
    opacity: 1;
}

.product-card .product-image img,
.products-grid .product-image img,
.collection-products-grid .product-image img,
.new-products-grid .product-image img,
.sale-products-grid .product-image img {
    position: relative;
    z-index: 1;
}

.product-card .product-badge,
.products-grid .product-badge,
.collection-products-grid .product-badge,
.new-products-grid .product-badge,
.sale-products-grid .product-badge {
    z-index: 3;
}



/* =====================================================
   CARDS — PREENCHIMENTO LIMPO EM BRANCO
   A foto original permanece inteira, sem bordas artificiais,
   desfoque ou cópia da imagem no fundo.
===================================================== */
.product-card .product-image,
.products-grid .product-image,
.collection-products-grid .product-image,
.new-products-grid .product-image,
.sale-products-grid .product-image {
    background: #ffffff !important;
    isolation: auto !important;
}

.product-card .product-image::before,
.products-grid .product-image::before,
.collection-products-grid .product-image::before,
.new-products-grid .product-image::before,
.sale-products-grid .product-image::before {
    display: none !important;
    content: none !important;
}

.product-card .product-image img,
.products-grid .product-image img,
.collection-products-grid .product-image img,
.new-products-grid .product-image img,
.sale-products-grid .product-image img {
    position: relative !important;
    z-index: 1 !important;
    object-fit: contain !important;
    object-position: center center !important;
}


/* =====================================================
   CARDS MAIORES — MELHOR VISUALIZAÇÃO DOS PRODUTOS
   Mantém o frame vertical 3:4, aumentando a área visual
   das bolsas sem alterar a qualidade das imagens.
===================================================== */
@media (min-width: 651px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 28px !important;
    }

    .collection-products-grid,
    .new-products-grid,
    .sale-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 650px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px 12px !important;
    }

    .collection-products-grid,
    .new-products-grid,
    .sale-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
}

@media (max-width: 380px) {
    .products-grid {
        gap: 24px 10px !important;
    }

    .collection-products-grid,
    .new-products-grid,
    .sale-products-grid {
        gap: 6px !important;
    }
}


/* =====================================================
   SEÇÕES — 4 PRODUTOS POR VEZ
   Coleção, Novidades e Sale exibem 4 cards em cada avanço.
===================================================== */
.collection-products-grid,
.new-products-grid,
.sale-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 650px) {
    .collection-products-grid,
    .new-products-grid,
    .sale-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }
}

@media (max-width: 380px) {
    .collection-products-grid,
    .new-products-grid,
    .sale-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }
}


/* =====================================================
   INSTAGRAM — ANTES DO RODAPÉ
===================================================== */

.instagram-section {
    padding: 90px 5% 70px;
    background: #fff;
    text-align: center;
}

.instagram-heading {
    margin-bottom: 32px;
}

.instagram-heading .section-label {
    margin-bottom: 9px;
}

.instagram-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 9px;
}

.instagram-heading a {
    font-size: 11px;
    letter-spacing: 1.2px;
    color: var(--wine);
}

.instagram-carousel {
    position: relative;
    width: min(100%, 1200px);
    height: 420px;
    margin: 0 auto;
    overflow: hidden;
    background: #f5f5f3;
}

.instagram-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
    display: block;
}

.instagram-slide.active {
    opacity: 1;
}

.instagram-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.instagram-prev,
.instagram-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.8);
    background: rgba(0,0,0,.25);
    color: #fff;
    font-size: 27px;
    line-height: 1;
}

.instagram-prev { left: 20px; }
.instagram-next { right: 20px; }

.instagram-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 5;
}

.instagram-dot {
    width: 28px;
    height: 2px;
    border: none;
    background: rgba(255,255,255,.5);
    padding: 0;
}

.instagram-dot.active {
    background: #fff;
}

@media (max-width: 650px) {
    .instagram-section {
        padding: 60px 16px 48px;
    }

    .instagram-heading {
        margin-bottom: 24px;
    }

    .instagram-heading h2 {
        font-size: 31px;
    }

    .instagram-carousel {
        height: 62vw;
        min-height: 240px;
        max-height: 420px;
    }

    .instagram-prev,
    .instagram-next {
        width: 34px;
        height: 34px;
        font-size: 23px;
    }

    .instagram-prev { left: 10px; }
    .instagram-next { right: 10px; }
}

/* Instagram real feed refinements */
.instagram-slides{position:absolute;inset:0;}
.instagram-loading,.instagram-error{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:12px;letter-spacing:1px;color:#777;background:#f5f5f3;}
.instagram-slide img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;}


/* SALE — preços e nomes em cinza */
.sale-section .product-name {
    color: #777;
}

.sale-section .old-price,
.sale-section .sale-price {
    color: #777;
}

.sale-section .old-price {
    opacity: .65;
}


/* SALE — nomes e preços em branco */
.sale-section .product-name,
.sale-section .old-price,
.sale-section .sale-price {
    color: #fff;
}



/* =====================================================
   CARROSSEL PRINCIPAL — FOTO INTEIRA, SEM BORDAS
   O frame acompanha a proporção da própria imagem,
   como a galeria de produtos. Não usa cover nem altura fixa.
===================================================== */

.hero {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

.carousel {
    width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    position: relative;
    overflow: hidden;
    background: #8a1f2c;
}

#carouselSlides {
    position: relative;
    width: 100%;
    height: auto;
}

#carouselSlides .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    display: block;
}

#carouselSlides .slide.active {
    position: relative;
    opacity: 1;
}

#carouselSlides .slide img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    display: block;
    object-fit: initial !important;
    object-position: center center;
}


/* =====================================================
   BENEFÍCIOS DA LOJA
===================================================== */

.store-benefits {
    width: 100%;
    padding: 58px 5%;
    background: #faf9f7;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.store-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: left;
}

.store-benefit-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #222;
}

.store-benefit-icon svg {
    width: 27px;
    height: 27px;
}

.store-benefit div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.store-benefit strong {
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: 1.2px;
    font-weight: 500;
}

.store-benefit span:not(.store-benefit-icon) {
    color: #888;
    font-size: 10px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .store-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 22px;
        padding: 45px 6%;
    }
}

@media (max-width: 560px) {
    .store-benefits {
        grid-template-columns: 1fr 1fr;
        gap: 28px 14px;
        padding: 38px 18px;
    }

    .store-benefit {
        justify-content: flex-start;
        align-items: flex-start;
        gap: 9px;
    }

    .store-benefit-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    .store-benefit-icon svg {
        width: 23px;
        height: 23px;
    }

    .store-benefit strong {
        font-size: 8px;
        letter-spacing: .8px;
    }

    .store-benefit span:not(.store-benefit-icon) {
        font-size: 9px;
    }
}


/* Seção CINTOS & ACESSÓRIOS — fundo off-white da referência */
#cintos-acessorios {
    background: #f5f3ef;
}


/* MONTÊ — aplicação explícita da Lovelo nas duas logos da marca */
.logo,
.footer-logo {
    font-family: "Lovelo", sans-serif !important;
    font-weight: 900 !important;
    font-style: normal;
    font-synthesis: none;
}
