:root
{
    --ink:#24211f;
    --wine: #4f0610;
    --muted:#77716b;
    --paper:#f7f4ef;
    --white:#fffefa;
    --line:#e7e0d7;
    --accent:#9b795e;
    --accent-light:#e9ded2;
    --serif:'Playfair Display',Georgia,serif;
    --sans:'DM Sans',Arial,sans-serif
    }
    
*{box-sizing:border-box}
    
html{
    scroll-behavior:smooth
}
    
body{
    margin:0;
    background:var(--white);
    color:var(--ink);
    font-family:var(--sans);
    -webkit-font-smoothing:antialiased
}

button,input{
    font:inherit
}

button,a{
    -webkit-tap-highlight-color:transparent
}

a{
    color:inherit;
    text-decoration:none
}
        
.announcement{
    background:var(--ink);
    color:#f8f3ed;
    text-align:center;
    padding:9px 16px;
    font-size:10px;
    letter-spacing:.13em;
    text-transform:uppercase
    }
            
.site-header{
    height:88px;
    padding:0 7%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid var(--line);
    background:var(--white)
}
    
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    width: 190px;
    height: 65px;
    object-fit: contain;
    object-position: left center;
    display: block;
}
.main-nav{
    display:flex;
    gap:34px;
    font-size:12px;
    color:#57514b
}

.main-nav a:hover{
    color:var(--accent)
}

.cart-button{
    border:1px solid var(--line);
    background:transparent;
    padding:11px 15px;
    font-size:11px;
    letter-spacing:.04em;
    cursor:pointer
}

.cart-button span{
    display:inline-grid;
    place-items:center;
    margin-left:8px;
    background:var(--ink);
    color:white;
    border-radius:50%;
    width:19px;
    height:19px;
    font-size:10px
}

.hero{
    min-height:535px;
    background:var(--paper);
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    padding:65px 10% 58px;
    overflow:hidden
}

.hero-copy{
    max-width:510px;
    position:relative;
    z-index:1
}

.eyebrow{
    font-size:9px;
    letter-spacing:.2em;
    font-weight:700;
    color:var(--accent);
    margin:0 0 18px
}

.hero h1{
    font-family:var(--serif);
    font-size:clamp(42px,5vw,67px);
    font-weight:500;
    line-height:1.08;
    letter-spacing:-.035em;
    margin:0 0 20px
}

.hero h1 em,
.about h2 em{
    font-weight:500;
    color:var(--accent)
}

.hero-description{
    font-size:13px;
    line-height:1.9;
    color:var(--muted);
    max-width:400px;
    margin:0 0 28px
}

.button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:28px;
    padding:15px 20px;
    border:0;
    cursor:pointer;
    font-size:11px;
    letter-spacing:.04em;
    transition:transform .2s,background .2s
}

.button:hover{
    transform:translateY(-2px)
}

.button-dark {
    background: var(--wine);
    color: var(--white);
}

.button-dark:hover {
    background: #680B18;
}

.hero-note{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:36px;
    color:var(--muted);
    font-size:10px
}

.note-line{
    height:1px;
    width:35px;
    background:var(--accent)
}

.hero-art{
    height:390px;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center
}

.art-circle{
    position:absolute;
    width:335px;
    height:335px;
    border-radius:50%;
    background:#e9dfd4
}

.art-circle:after{
    content:'';
    position:absolute;
    inset:23px;
    border:1px solid rgba(155,121,94,.35);
    border-radius:50%
}

.art-caption{
    position:absolute;
    right:2%;
    top:12%;
    font-size:8px;
    line-height:1.6;
    letter-spacing:.18em;
    color:var(--accent);
    text-align:right
}

.bottle{
    position:absolute;
    bottom:65px;
    width:92px;
    height:175px;
    border:1px solid rgba(90,69,51,.28);
    border-radius:13px 13px 17px 17px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:12px 18px 28px rgba(67,48,32,.12);
    z-index:1
}

.bottle:before
{content:'';
    position:absolute;
    width:35px;
    height:20px;
    top:-20px;
    background:#b9a28a;
    border-radius:4px 4px 0 0
}

.bottle span{
    position:absolute;
    inset:8px;
    background:rgba(255,255,255,.22);
    border-radius:8px
}

.bottle i{
    font-family:var(--serif);
    font-style:normal;
    font-size:11px;
    letter-spacing:.08em;
    text-align:center;
    z-index:1;color:#55463b
}

.bottle small{
    font-family:var(--sans);
    font-size:5px;
    letter-spacing:.12em
}

.bottle-one{
    left:16%;
    height:158px;
    background:linear-gradient(110deg,#c9a783,#e8d3b8 55%,#b68c66);
    transform:rotate(-8deg)
}

.bottle-two{
    left:39%;
    height:205px;
    width:105px;
    background:linear-gradient(110deg,#b8a28a,#eee1d0 55%,#c4a98b);
    z-index:2
}

.bottle-two:before{
    background:#8e755e
}

.bottle-three{
    right:10%;
    height:145px;
    width:85px;
    background:linear-gradient(110deg,#d7b9a7,#f1dfd4 55%,#c99f8c);
    transform:rotate(8deg)
}

.bottle-three:before{
    background:#d0b4a3
}

.benefits{
    display:flex;
    justify-content:center;
    gap:8%;
    padding:23px 5%;
    border-bottom:1px solid var(--line);
    font-size:10px;color:#655d56
}

.benefits span{
    color:var(--accent);
    margin-right:7px
}

.section-wrap{
    padding:88px 9%
}

.section-heading{
    display:flex;
    align-items:end;
    justify-content:space-between;
    margin-bottom:35px
}

.section-heading h2,.about h2{
    font-family:var(--serif);
    font-weight:500;
    font-size:42px;
    letter-spacing:-.025em;
    margin:0
}

.section-heading>p{
    max-width:285px;
    color:var(--muted);
    font-size:11px;
    line-height:1.8;
    margin:0 0 5px
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px 17px;
    align-items:start;
    overflow:visible;
}


.filters{
    display:flex;
    gap:7px;
    flex-wrap:wrap
}

.filter-chip{
    border:1px solid var(--line);
    background:transparent;
    padding:9px 13px;
    font-size:10px;
    color:#6b625a;
    cursor:pointer
}

.filter-chip.active,.filter-chip:hover{
    background:var(--ink);
    border-color:var(--ink);
    color:white
}

.search-box{
    display:flex;
    align-items:center;
    gap:8px;
    border-bottom:1px solid var(--line);
    padding:7px 2px;
    min-width:205px;
    color:var(--accent)
}

.search-box input{
    border:0;
    outline:0;
    background:transparent;
    width:100%;
    font-size:10px;
    color:var(--ink)
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px 17px
}

.product-card{
    height: auto;
    min-width: 0;
    overflow: visible;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover{
    transform:translateY(-5px);
    box-shadow:0 8px 20px rgba(0, 0, 0, 0.185);
    border: 1px solid rgba(79,6,16,.25);
}

.product-image{
    height: 245px;
    background: var(--paper);
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.product-image img {
    width: 80%;
    height: 65%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    padding: 0;
    justify-self: center;
    align-self: center;
}

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../assets/MATIZ LOGO.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65%;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}


.product-placeholder{
    width:90px;
    height:150px;
    border:1px solid rgba(94,74,58,.25);
    border-radius:10px 10px 15px 15px;
    background:linear-gradient(100deg,#c9b49d,#f0e7dc 55%,#bca28a);
    position:relative;
    display:grid;
    place-items:center;
    box-shadow:12px 14px 20px rgba(60,45,30,.13)
}

.product-placeholder:before{
    content:'';
    position:absolute;
    top:-18px;
    width:34px;
    height:18px;
    background:#927b65;border-radius:3px 3px 0 0
}

.product-placeholder:after{
    content:'MATIZ';
    font-family:var(--serif);
    font-size:12px;
    letter-spacing:.12em;
    color:#5c4b3d
}

.product-tag{
    position:absolute;
    top:12px;
    left:12px;
    background:rgba(255,254,250,.88);
    padding:6px 8px;
    font-size:8px;
    letter-spacing:.08em;
    text-transform:uppercase
}

.stock-status {
    position:static;
    display:inline-block;
    font-size:9px;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.stock-status.low-stock {
    color: #ff2a00; /* Cor vermelha para estoque baixo */
}   

.product-info{
    padding:14px 1px 0
}

.product-category{
    font-size:8px;
    text-transform:uppercase;
    letter-spacing:.13em;
    color:var(--accent);
    margin-bottom:7px
}

.product-name{
    font-family:var(--serif);
    font-size:17px;
    font-weight:500;
    margin:0 0 5px
}

.product-volume{
    font-size:9px;
    color:var(--muted);
    margin:0 0 12px
}

.product-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:8px
}

.product-price{
    font-family: 'DM Sans', serif;
    font-size:20px;
    font-weight:700;
    color:var(--wine);
    margin-bottom: 12px;
}

.add-button{
    width:31px;
    height:31px;
    border:1px solid var(--line);
    background:transparent;
    font-size:18px;
    cursor:pointer;
    transition: all .25s ease;
}

.add-button:hover{
    background:var(--wine);
    color:var(--cream);
    border-color:var(--wine);
    transform: scale(1.08);
}

.add-button:active{
    transform: scale(0.94);
}

.add-button:disabled{
    opacity:.35;
    cursor:not-allowed
}

.stock-label{
    font-size:9px;
    color:#66806a;
    margin-top:9px
}

.stock-label.out{
    color:#a16b60
}

.empty-state{
    text-align:center;
    padding:45px 10px;
    color:var(--muted);
    font-size:12px
}

.hidden{
    display:none!important
}

.about{
    background:var(--paper);
    display:grid;
    grid-template-columns:220px 1fr;
    gap:45px;
    align-items:center
}

.about-mark{
    height:190px;
    width:190px;
    border:1px solid #d7c7b7;
    border-radius:50%;
    display:grid;
    place-items:center;
    font-family:var(--serif);
    font-size:75px;
    color:var(--accent)
}

.about h2{
    font-size:36px;
    line-height:1.2;
    margin-bottom:17px
}

.about p:last-child{
    max-width:550px;
    font-size:12px;
    line-height:1.9;
    color:var(--muted)
}

.site-footer{
    padding:38px 9%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px
}

.brand-footer

.brand-name{
    font-size:23px
}

.site-footer>p,.site-footer>span{
    font-size:9px;
    color:var(--muted)
}

.cart-overlay{
    position:fixed;
    inset:0;
    background:rgba(25,22,20,.4);
    z-index:10
}

.cart-drawer{
    position:fixed;
    z-index:11;
    right:0;
    top:0;
    height:100dvh;
    width:min(420px,100%);
    background:var(--white);
    padding:27px;display:flex;
    flex-direction:column;
    transform:translateX(105%);
    transition:transform .25s ease;
    overflow:hidden;
    min-height: 0;
}

.cart-drawer.open{
    transform:translateX(0)
}

.cart-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid var(--line);
    padding-bottom:20px
}

.cart-header .eyebrow{
    margin-bottom:5px
}

.cart-header h2{
    font-family:var(--serif);
    font-weight:500;
    font-size:30px;
    margin:0
}

.icon-button{
    border:0;
    background:transparent;
    font-size:28px;
    cursor:pointer;
    color:var(--muted)
}

.cart-items{
    overflow-y:auto;
    overflow-x:hidden;
    flex:1;
    min-height: 80px;
    max-height: none;
    padding: 12px 5px 12px 0;
}

.cart-empty{
    font-size:12px;
    color:var(--muted);
    text-align:center;
    padding:45px 10px
}

.cart-row{
    display:grid;
    grid-template-columns:1fr auto;
    gap:10px;padding:15px 0;
    border-bottom:1px solid var(--line)
}

.cart-row strong{
    display:block;
    font-family:var(--serif);
    font-size:15px;
    font-weight:500
}

.cart-row small{
    display:block;
    color:var(--muted);
    font-size:10px;
    margin-top:5px
}

.quantity-control{
    display:flex;
    align-items:center;
    gap:9px
}

.quantity-control button{
    width:25px;
    height:25px;
    border:1px solid var(--line);
    background:transparent;
    cursor:pointer
}

.cart-footer{
    border-top:1px solid var(--line);
    padding-top:18px
}

.cart-total{
    display:flex;
    justify-content:space-between;
    align-items:center
}

.cart-total span,.cart-footer p{
    font-size:10px;
    color:var(--muted)
}

.cart-total strong{
    font-size:19px
}

.cart-footer p{
    line-height:1.6
}

.button-full {
    width: 100%;
    min-height: 48px;
}

.catalog{
    height:auto;
    min-height:0;
    overflow:visible;
}

.toast{
    position:fixed;
    bottom:22px;
    left:50%;
    transform:translate(-50%,20px);
    opacity:0;
    pointer-events:none;
    background:var(--ink);
    color:white;
    padding:12px 18px;
    font-size:11px;
    z-index:20;
    transition:.2s
}

.toast.show{
    opacity:1;
    transform:translate(-50%,0)
}

@media(max-width:850px){
    
.site-header{padding:0 5%}
.hero{
    padding:55px 7%;
    grid-template-columns:1fr 1fr
}

.hero-art{
    transform:scale(.85)
}

.section-wrap{
    padding:70px 6%
}

.product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))
}

.main-nav{gap:17px}

.benefits{gap:4%}
}

@media(max-width:620px)
{
    .announcement{font-size:8px}
    .site-header{height:73px}
    .brand-name{font-size:24px}  
    .main-nav{display:none} 
    .hero{display:block; padding:55px 7% 20px}
    .hero h1{font-size:48px}
    .hero-art{
        height:300px;
        margin-top:5px;
        transform:scale(.82);
        transform-origin:top center;
        margin-bottom:-35px}
        
    .art-circle{
        width:290px;
        height:290px}
        
    .benefits{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:13px;padding:18px 7%;
        font-size:9px}
    
    .benefits div:last-child{grid-column:1/-1}
    .section-wrap{padding:60px 6%}
    .section-heading{display:block}
    .section-heading h2{font-size:36px}
    .section-heading>p{margin-top:12px}
    .catalog-tools{display:block}
    .filters{
        flex-wrap:nowrap;
        overflow:auto;
        padding-bottom:12px
    }
    
    .filter-chip{
        white-space:nowrap
    }

    .search-box{
        margin:12px 0 22px
    }

    .product-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:23px 12px
    }
       
    .product-placeholder{transform:scale(.85)}
    .product-name{font-size:15px}
    .about{grid-template-columns:1fr;gap:25px}
    .about-mark{width:120px;height:120px;font-size:52px}
    .about h2{font-size:30px}
    .site-footer{padding:30px 6%;flex-wrap:wrap}
    .site-footer>p{display:none}
    .site-footer>span{width:100%}

    /* SACOLA NO CELULAR */

.cart-drawer {
    padding: 20px 16px;
}

.cart-header h2 {
    font-size: 25px;
}

.cart-footer .button {
    width: 100%;
    min-height: 50px;
    font-size: 12px;
}

.checkout-form input,
.checkout-form select {
    font-size: 16px;
    height: 48px;
}
}
    
 @media(max-width:360px){
     .hero h1{font-size:41px}
    
}

/* FORMULÁRIO MATIZ */
.checkout-form {
    overflow: visible;
    flex: 0 0 auto;
    min-height: auto;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.checkout-form h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--wine);
    margin-bottom: 20px;
}

.checkout-form label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 7px;
}

.checkout-form input,
.checkout-form select {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 13px;
    margin-bottom: 17px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 13px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.checkout-form input:focus,
.checkout-form select:focus {
    border-color: var(--wine);
    box-shadow: 0 0 0 3px rgba(79, 6, 16, .07);
}

.checkout-form input::placeholder {
    color: #A9A09A;
}

.checkout-form #address-field input {
    margin-bottom: 0;
}

.cart-footer {
    flex-shrink: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

/* ========================================
   MODAL DE DETALHES DO PRODUTO
======================================== */

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 20px;
}

.product-modal.hidden {
    display: none;
}

.product-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(25, 20, 18, .72);
    backdrop-filter: blur(4px);
}

.product-modal-content {
    position: relative;
    z-index: 1;
    width: min(850px, 94vw);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    padding: 34px;
    border-radius: 8px;
}

.product-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 3;
    width: 35px;
    height: 35px;
    border: 0;
    background: transparent;
    color: var(--wine);
    font-size: 30px;
    cursor: pointer;
}

#product-modal-details {
    width: 100%;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
}

.product-detail-image {
    min-width: 0;
    min-height: 340px;
    background: var(--paper);
    border-radius: 5px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.product-modal-image {
    display: block;
    width: 100%;
    height: 380px;
    padding: 20px;
    object-fit: contain;
}

.product-modal-no-image {
    width: 100%;
    min-height: 340px;
    display: grid;
    place-items: center;
}

.product-detail-info {
    padding: 15px 0;
}

.product-detail-category {
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-detail-name {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 8px;
}

.product-detail-brand {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.product-detail-volume {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 20px;
}

.product-detail-price {
    color: var(--wine);
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-detail-stock {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 22px;
}

.product-detail-stock.available {
    color: #557b50;
}

.product-detail-stock.unavailable {
    color: #a34d4d;
}

.product-detail-inspiration {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-bottom: 18px;
}

.product-detail-inspiration span {
    color: var(--accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
}

.product-detail-inspiration p {
    color: var(--ink);
    font-size: 13px;
    margin-top: 6px;
}

.product-detail-description {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-bottom: 22px;
}

.product-detail-description h3 {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-detail-description p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.product-detail-add {
    width: 100%;
    min-height: 46px;
}

.product-detail-add:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* ========================================
   BOTÃO VER DETALHES DO PRODUTO
======================================== */

.product-details-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin-top: 10px;
    padding: 8px 16px;

    border: 1px solid #4F0610;
    border-radius: 50px;

    background: #4F0610;
    color: #FCF5EA;

    font-family: inherit;
    font-size: 12px;
    font-weight: 500;

    cursor: pointer;
    transition: all 0.25s ease;
}

.product-details-button:hover {
    background: transparent;
    color: #4F0610;
    transform: translateY(-2px);
}

.product-details-button .details-arrow {
    font-size: 13px;
    transition: transform 0.25s ease;
}

.product-details-button:hover .details-arrow {
    transform: translate(2px, -2px);
}

.product-details-button:focus-visible {
    outline: 2px solid #4F0610;
    outline-offset: 3px;
}


/* RESPONSIVIDADE DO MODAL */

@media (max-width: 620px) {

    .product-modal {
        padding: 12px;
    }

    .product-modal-content {
        width: 100%;
        max-height: 92vh;
        padding: 22px 18px;
    }

    .product-modal-close {
        top: 8px;
        right: 10px;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-detail-image {
        min-height: 220px;
        max-height: 270px;
    }

    .product-modal-image {
        height: 250px;
        padding: 15px;
    }

    .product-modal-no-image {
        min-height: 220px;
    }

    .product-detail-info {
        padding: 0 2px 5px;
    }

    .product-detail-name {
        font-size: 23px;
    }

    .product-detail-price {
        font-size: 24px;
    }
}

/* ========================================
   MATIZ — REFINAMENTO DOS CARDS DE PRODUTOS
======================================== */

/* Estrutura do card */

.product-card {
    height: 100%;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 6, 16, .25);
    box-shadow: 0 10px 25px rgba(36, 33, 31, .09);
}

/* Área da imagem */

.product-image {
    height: 260px;
    background: var(--paper);
    border-radius: 5px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.product-image img {
    width: 85%;
    height: 85%;
    padding: 5px;
    object-fit: contain;
    transition: transform .4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

/* Marca d'água */

.product-image::after {
    background-size: 60%;
    opacity: .055;
}

/* Etiqueta do produto */

.product-tag {
    position: absolute;
    top: 11px;
    left: 11px;
    z-index: 2;
    padding: 7px 9px;
    background: var(--wine);
    color: var(--white);
    border-radius: 2px;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .09em;
}

/* Informações */

.product-info {
    padding: 16px 3px 7px;
}

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

.product-name {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--ink);
}

.product-volume {
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 13px;
}

/* Preço */

.product-price {
    font-family: var(--sans);
    font-size: 21px;
    font-weight: 700;
    color: var(--wine);
    margin-bottom: 13px;
}

/* Estoque e botão */

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-top: 11px;
    border-top: 1px solid var(--line);
}

.stock-status {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .07em;
    color: #66806a;
}

.stock-status.low-stock {
    color: #b66a31;
}

.add-button {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px solid var(--wine);
    border-radius: 3px;
    background: var(--wine);
    color: var(--white);
    font-size: 20px;
    transition:
        background .2s ease,
        transform .2s ease;
}

.add-button:hover {
    background: #680B18;
    border-color: #680B18;
    color: var(--white);
    transform: scale(1.05);
}

.add-button:disabled {
    background: #e5dfd9;
    border-color: #e5dfd9;
    color: #99918a;
    opacity: 1;
    cursor: not-allowed;
    transform: none;
}

/* Quantidade disponível */

.stock-label {
    margin-top: 10px;
    font-size: 9px;
    color: #66806a;
}

.stock-label.out {
    color: #a16b60;
}

/* ========================================
   RESPONSIVIDADE DOS CARDS
======================================== */

@media (max-width: 850px) {

    .product-image {
        height: 230px;
    }

}

@media (max-width: 620px) {

    .product-grid {
        gap: 20px 11px;
    }

    .product-card {
        padding: 7px;
        border-radius: 6px;
    }

    .product-image {
        height: 195px;
    }

    .product-image img {
        width: 88%;
        height: 82%;
    }

    .product-info {
        padding: 13px 2px 6px;
    }

    .product-name {
        font-size: 15px;
        line-height: 1.3;
    }

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

    .product-bottom {
        gap: 5px;
    }

    .stock-status {
        font-size: 7px;
    }

    .add-button {
        width: 31px;
        height: 31px;
    }

}

@media (max-width: 360px) {

    .product-image {
        height: 165px;
    }

    .product-name {
        font-size: 14px;
    }

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

}

/* AJUSTES DE CENTRALIZAÇÃO E ETIQUETAS */

.product-image {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Centraliza o frasco e reserva espaço para a etiqueta */
.product-image img {
    position: absolute;
    left: 50%;
    top: calc(50% + 17px);
    width: 86%;
    height: calc(100% - 48px);
    max-width: 86%;
    object-fit: contain;
    object-position: center;
    padding: 0;
    margin: 0;
    transform: translate(-50%, -50%);
}

/* Mantém a centralização durante o efeito de hover */
.product-card:hover .product-image img {
    transform: translate(-50%, -50%) scale(1.04);
}

/* Etiqueta com espaço e tamanho controlados */
.product-tag {
    top: 9px;
    left: 9px;
    z-index: 3;
    max-width: calc(100% - 18px);
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.3;
    max-height: 32px;
    overflow: hidden;
}

/* Ajustes para telas pequenas */
@media (max-width: 620px) {
    .product-image img {
        width: 88%;
        max-width: 88%;
        height: calc(100% - 44px);
        top: calc(50% + 15px);
    }

    .product-tag {
        top: 7px;
        left: 7px;
        max-width: calc(100% - 14px);
        max-height: 29px;
        padding: 6px 7px;
        font-size: 7px;
    }
}


/* ========================================
   MATIZ — SACOLA FLUTUANTE
======================================== */

.cart-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 13px 19px;

    background: var(--wine);
    color: var(--white);

    border: 1px solid var(--wine);
    border-radius: 30px;

    font-size: 12px;
    font-weight: 600;

    box-shadow: 0 5px 18px rgba(36, 33, 31, .20);

    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cart-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(36, 33, 31, .25);
}

.cart-button span {
    display: inline-grid;
    place-items: center;

    width: 21px;
    height: 21px;

    margin-left: 2px;

    background: var(--white);
    color: var(--wine);

    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
}

/* Ajustes para celular */

@media (max-width: 620px) {

    .cart-button {
        right: 16px;
        bottom: 18px;
        padding: 13px 17px;
        font-size: 11px;
    }

}


/* ========================================
   MATIZ — CARROSSEL DE BANNERS
======================================== */

.hero.hero-carousel {
    position: relative;
    display: block;
    min-height: 535px;
    padding: 0;
    overflow: hidden;
    background: var(--paper);
    isolation: isolate;
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s ease;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.banner-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.banner-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(28, 20, 19, .78) 0%,
        rgba(28, 20, 19, .55) 43%,
        rgba(28, 20, 19, .08) 100%
    );
    z-index: -1;
}

.banner-slide-content {
    width: 100%;
    max-width: 750px;
    min-height: 535px;
    padding: 65px 10%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #fffefa;
}

.banner-slide-subtitle {
    margin: 0 0 18px;
    color: #e9c9ad;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.banner-slide-content h1 {
    max-width: 650px;
    margin: 0 0 20px;
    color: #fffefa;
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 65px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.banner-slide-description {
    max-width: 440px;
    margin: 0 0 28px;
    color: rgba(255, 254, 250, .85);
    font-size: 13px;
    line-height: 1.9;
}

.banner-slide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 48px;
    padding: 14px 22px;
    background: #fffefa;
    color: var(--wine);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: background .2s ease, transform .2s ease;
}

.banner-slide-button:hover {
    background: #e9ded2;
    transform: translateY(-2px);
}

.banner-carousel-controls {
    position: absolute;
    right: 10%;
    bottom: 28px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.banner-arrow {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 254, 250, .65);
    border-radius: 50%;
    background: transparent;
    color: #fffefa;
    font-size: 19px;
    cursor: pointer;
    transition: background .2s ease;
}

.banner-arrow:hover {
    background: rgba(255, 254, 250, .2);
}

.banner-dots {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 5px;
}

.banner-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 254, 250, .5);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.banner-dot.active {
    width: 23px;
    border-radius: 10px;
    background: #fffefa;
}

/* RESPONSIVIDADE DO CARROSSEL */

@media (max-width: 850px) {

    .banner-slide-content {
        padding-left: 7%;
        padding-right: 7%;
    }

    .banner-carousel-controls {
        right: 7%;
    }

}

@media (max-width: 620px) {

    .hero.hero-carousel {
        min-height: 540px;
        padding: 0;
    }

    .banner-slide {
        align-items: flex-end;
    }

    .banner-slide::after {
        background: linear-gradient(
            0deg,
            rgba(28, 20, 19, .88) 0%,
            rgba(28, 20, 19, .60) 48%,
            rgba(28, 20, 19, .08) 100%
        );
    }

    .banner-slide-image {
        object-position: center;
    }

    .banner-slide-content {
        min-height: 540px;
        padding: 50px 7% 100px;
        justify-content: flex-end;
    }

    .banner-slide-subtitle {
        font-size: 8px;
        line-height: 1.6;
        margin-bottom: 13px;
    }

    .banner-slide-content h1 {
        font-size: 39px;
        line-height: 1.12;
        margin-bottom: 15px;
    }

    .banner-slide-description {
        font-size: 12px;
        line-height: 1.7;
        margin-bottom: 22px;
    }

    .banner-slide-button {
        min-height: 45px;
        padding: 13px 18px;
        font-size: 10px;
    }

    .banner-carousel-controls {
        right: 7%;
        bottom: 20px;
        gap: 7px;
    }

    .banner-arrow {
        width: 31px;
        height: 31px;
    }

    .banner-dot {
        width: 7px;
        height: 7px;
    }

    .banner-dot.active {
        width: 19px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .banner-slide {
        transition: none;
    }

}


/* ========================================
   MATIZ — NOVA SEÇÃO SOBRE
======================================== */

.about {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: center;
    gap: 55px;
    padding: 95px 10%;
    background: var(--paper);
    overflow: hidden;
}

.about::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -150px;
    top: -160px;
    border: 1px solid rgba(155, 121, 94, .15);
    border-radius: 50%;
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.about .eyebrow {
    margin-bottom: 18px;
}

.about h2 {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 45px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.035em;
    color: var(--ink);
    margin: 0 0 22px;
}

.about h2 em {
    color: var(--accent);
    font-weight: 500;
}

.about-description {
    max-width: 570px;
    font-size: 13px;
    line-height: 2;
    color: var(--muted);
    margin: 0;
}

.about-signature {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(155, 121, 94, .45);
    border-radius: 50%;
    color: var(--wine);
    font-family: var(--serif);
    font-size: 36px;
    letter-spacing: .12em;
}

.about-signature::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(155, 121, 94, .25);
    border-radius: 50%;
}

.signature-line {
    width: 35px;
    height: 1px;
    background: var(--accent);
    margin-bottom: 13px;
}

.about-signature > span:not(.signature-line) {
    position: relative;
    z-index: 1;
}

.about-signature small {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    font-family: var(--sans);
    font-size: 7px;
    letter-spacing: .2em;
    color: var(--accent);
}

/* ========================================
   MATIZ — NOVO RODAPÉ
======================================== */

.site-footer {
    display: block;
    padding: 0 10%;
    background: #24211f;
    color: var(--white);
}

.footer-main {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 40px 0;
}

.brand-footer {
    display: inline-flex;
    align-items: center;
}

.brand-footer img {
    display: block;
    width: 170px;
    height: 65px;
    object-fit: contain;
    object-position: left center;
}

.footer-message {
    color: rgba(255, 254, 250, .7);
    font-family: var(--serif);
    font-size: 19px;
    margin: 0;
}

.footer-back-top {
    color: #d0b49b;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .13em;
    transition: color .2s ease;
}

.footer-back-top:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 65px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: rgba(255, 254, 250, .48);
    font-size: 9px;
    letter-spacing: .04em;
}

/* ========================================
   CORREÇÕES DE CORES ANTIGAS
======================================== */

.add-button:hover {
    color: var(--white);
}

.checkout-form input,
.checkout-form select {
    background: var(--white);
}

/* ========================================
   AJUSTES DE LARGURA E CATÁLOGO
======================================== */

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

.catalog-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.product-grid {
    width: 100%;
    align-items: stretch;
}

.product-card {
    min-width: 0;
}

/* ========================================
   RESPONSIVIDADE — TABLETS
======================================== */

@media (max-width: 850px) {

    .about {
        grid-template-columns: minmax(0, 1fr) 180px;
        gap: 30px;
        padding: 75px 7%;
    }

    .about-signature {
        width: 170px;
        height: 170px;
        font-size: 29px;
    }

    .site-footer {
        padding: 0 7%;
    }

    .footer-main {
        gap: 20px;
    }

    .brand-footer img {
        width: 145px;
    }

    .footer-message {
        font-size: 16px;
    }

}

/* ========================================
   RESPONSIVIDADE — CELULARES
======================================== */

@media (max-width: 620px) {

    /* SOBRE */

    .about {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 30px;
        padding: 65px 7%;
        text-align: center;
    }

    .about-content {
        width: 100%;
    }

    .about h2 {
        font-size: 31px;
        line-height: 1.25;
    }

    .about-description {
        font-size: 12px;
        line-height: 1.9;
        margin: 0 auto;
    }

    .about-signature {
        width: 145px;
        height: 145px;
        font-size: 27px;
    }

    .about-signature::before {
        inset: 8px;
    }

    .about-signature small {
        font-size: 6px;
    }

    /* RODAPÉ */

    .site-footer {
        padding: 0 7%;
    }

    .footer-main {
        min-height: auto;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 17px;
        padding: 38px 0;
    }

    .brand-footer {
        justify-content: center;
    }

    .brand-footer img {
        width: 155px;
        object-position: center;
    }

    .footer-message {
        font-size: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        gap: 9px;
        padding: 20px 0;
        text-align: center;
        line-height: 1.5;
    }

    /* FERRAMENTAS DO CATÁLOGO */

    .catalog-tools {
        display: block;
    }

    .search-box {
        width: 100%;
        min-width: 0;
    }

    /* SACOLA */

    .cart-button {
        right: 16px;
        bottom: 18px;
    }

}

/* ========================================
   TELAS MUITO PEQUENAS
======================================== */

@media (max-width: 360px) {

    .about {
        padding: 55px 6%;
    }

    .about h2 {
        font-size: 28px;
    }

    .footer-message {
        font-size: 14px;
    }

}

/* ========================================
   LOGO RODAPÉ
======================================== */

.about-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.about-signature img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.about-signature::before,
.about-signature::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 768px) {
    .about-signature {
        max-width: 170px;
    }
}

/* ========================================
   CARREGAMENTO INICIAL DOS BANNERS
======================================== */

.hero.hero-loading {
    background: var(--paper);
}

.hero.hero-loading > * {
    visibility: hidden;
}

.hero.hero-carousel {
    background: var(--paper);
}


/* ========================================
   BOTÕES DE CONTATO DO RODAPÉ
======================================== */

.footer-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 22px 0;
    flex-wrap: wrap;
}

/* Estilo geral dos botões */

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 145px;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

/* Botão do WhatsApp */

.footer-whatsapp {
    background: #4F0610;
    color: #FCF5EA;
    border: 1px solid #4F0610;
}

.footer-whatsapp:hover {
    background: #6B111D;
    transform: translateY(-2px);
}

/* Botão do Instagram */

.footer-instagram {
    background: transparent;
    color: #FCF5EA;
    border: 1px solid #FCF5EA;
}

.footer-instagram:hover {
    background: #4F0610;
    color: #FCF5EA;
    transform: translateY(-2px);
}

/* Ícones dos botões */

.footer-social-link span {
    font-size: 16px;
    line-height: 1;
}

/* Ajustes para celulares */

@media (max-width: 600px) {

    .footer-social-links {
        width: 100%;
        gap: 10px;
    }

    .footer-social-link {
        flex: 1;
        min-width: 130px;
        padding: 12px 14px;
    }

}

/* ========================================
   ALINHAMENTO DOS CARDS DE PRODUTOS
======================================== */

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

/* Imagens com dimensões uniformes */

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    overflow: hidden;
}

.product-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

/* Área de informações */

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Nome dos produtos */

.product-name {
    min-height: 2.6em;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Volume */

.product-volume {
    min-height: 1.4em;
    margin-bottom: 0;
}

/* Botão de detalhes */

.product-details-button {
    align-self: flex-start;
    min-height: 38px;
    margin-top: 12px;
    margin-bottom: 0;
    padding: 8px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Preço */

.product-price {
    margin-top: auto;
    padding-top: 12px;
}

/* Estoque e botão de adicionar */

.product-bottom {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Informação de estoque */

.stock-label {
    margin-top: 10px;
}