/* ================= RESET ================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',Arial,sans-serif;
    background:#f5f5f5;
    color:#333;
}

a{
    text-decoration:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}


/* ================= HEADER ================= */

.header{
    background:#3D0240;
    position:sticky;
    top:0;
    z-index:1000;
}


.header-row{

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:10px 15px;

}


/* LOGO */

.logo img{

    height:60px;
    object-fit:contain;

}


/* MENU */

.menu{

    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    flex:1;

}


.menu a{

    color:#fff;
    font-weight:500;
    transition:.3s;

}

small{

    color:#fff;
    font-weight:500;
    transition:.3s;

}


.menu a:hover{

    color:#D4AF37;

}


/* CART */

.header-right{

    display:flex;
    align-items:center;
    gap:15px;

}


.cart{

    position:relative;
    cursor:pointer;

}


.cart a{

    color:#fff;

}


.cart-count{

    position:absolute;
    top:-8px;
    right:-12px;

    background:red;
    color:#fff;

    font-size:12px;

    padding:3px 7px;

    border-radius:50%;

}


/* MENU MOBILE */

.menu-toggle{

    display:none;

    background:none;
    border:none;

    color:#fff;

    font-size:28px;

    cursor:pointer;

}



/* ================= MINI CART ================= */


.mini-cart{

    position:absolute;

    right:20px;
    top:70px;

    width:300px;

    background:#fff;

    padding:20px;

    border-radius:12px;

    box-shadow:0 10px 30px rgba(0,0,0,.2);

    display:none;

    color:#333;

}


.mini-cart.active{

    display:block;

}


.mini-item{

    display:flex;

    gap:10px;

    margin-bottom:15px;

}


.mini-item img{

    width:50px;
    height:50px;

    object-fit:cover;

    border-radius:8px;

}


/* ================= BUTTONS ================= */


button,
.btn{

    background:#3D0240;

    color:#fff;

    padding:10px 15px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    transition:.3s;

}


button:hover,
.btn:hover{

    background:#D4AF37;

    color:#000;

}


/* ================= PRODUTOS ================= */


.produtos-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

    margin-top:25px;

}


.produto-card{

    background:#fff;

    padding:15px;

    border-radius:12px;

    box-shadow:
    0 5px 20px rgba(0,0,0,.08);

    display:flex;

    flex-direction:column;

}


.produto-card img{

    width:100%;

    height:220px;

    object-fit:cover;

    border-radius:10px;

}


.produto-card h3{

    margin:15px 0 8px;

    font-size:17px;

}


.produto-card .preco{

    color:#3D0240;

    font-size:18px;

    font-weight:bold;

    margin-bottom:15px;

}


.produto-card .btn{

    margin-top:auto;

    text-align:center;

}

/* ================= HERO ================= */


.hero{

    height:70vh;

  
    background:
        linear-gradient(rgba(61,2,64,.7), rgba(61,2,64,.7)),
        url('../img/hero.jpeg') center center/cover no-repeat;


    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    color:#fff;

    padding:20px;

}


.hero-content h1{

    font-size:52px;

    margin-bottom:15px;

}


.hero-content p{

    font-size:20px;

    margin-bottom:30px;

}


.btn-hero{

    display:inline-block;

    background:#D4AF37;

    color:#000;

    padding:14px 25px;

    border-radius:8px;

    font-weight:bold;

    transition:.3s;

}


.btn-hero:hover{

    background:#fff;

}


/* ================= CATEGORIAS ================= */


.section-title{

    margin:40px 0 20px;

    color:#3D0240;

}


.categories{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(150px,1fr));

    gap:20px;

}


.category-card{

    background:#3D0240;

    color:#fff;

    padding:25px;

    border-radius:12px;

    text-align:center;

    font-weight:bold;

    transition:.3s;

}


.category-card:hover{

    background:#D4AF37;

    color:#000;

}


/* ================= NEWSLETTER ================= */


.newsletter{

    margin-top:60px;

    background:#3D0240;

    color:#fff;

    padding:50px 20px;

    text-align:center;

}


.newsletter h2{

    margin-bottom:15px;

}


.newsletter p{

    margin-bottom:25px;

}


.newsletter form{

    display:flex;

    justify-content:center;

    gap:10px;

    flex-wrap:wrap;

}


.newsletter input{

    width:280px;

    padding:12px;

    border:none;

    border-radius:8px;

}


.newsletter button{

    background:#D4AF37;

    color:#000;

}



/* ================= FOOTER ================= */


.footer{

    background:#3D0240;

    color:#fff;

    margin-top:50px;

    padding:40px 20px;

}


.footer-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:30px;

}


.footer h3{

    margin-bottom:15px;

}


.footer a{

    color:#fff;

    display:block;

    margin-bottom:8px;

}


.footer a:hover{

    color:#D4AF37;

}


.footer-bottom{

    margin-top:30px;

    padding-top:15px;

    border-top:
    1px solid rgba(255,255,255,.2);

    text-align:center;

}



/* ================= LOGIN / CADASTRO ================= */


.auth-card{

    max-width:500px;

    margin:50px auto;

    background:#fff;

    padding:35px;

    border-radius:15px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.1);

}


.auth-header{

    text-align:center;

    margin-bottom:30px;

}


.auth-header h1{

    color:#3D0240;

    margin-bottom:10px;

}


.auth-header p{

    color:#777;

    line-height:1.5;

}


.auth-form{

    display:flex;

    flex-direction:column;

    gap:18px;

}


.form-group{

    display:flex;

    flex-direction:column;

}


.form-group label{

    margin-bottom:8px;

    font-weight:600;

}


.form-group input,
.form-group select,
.form-group textarea{


    padding:13px;

    border:

    1px solid #ddd;

    border-radius:8px;

    font-size:15px;

    outline:none;

}


.form-group input:focus,
.form-group select:focus{

    border-color:#3D0240;

}


.btn-auth{

    width:100%;

    padding:14px;

    background:#3D0240;

    color:#fff;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-size:16px;

}


.btn-auth:hover{

    background:#D4AF37;

    color:#000;

}


.auth-footer{

    text-align:center;

    margin-top:25px;

}


.auth-footer a{

    color:#3D0240;

    font-weight:bold;

}


.alert{

    padding:15px;

    border-radius:8px;

    margin-bottom:20px;

}


.alert.error{

    background:#ffe1e1;

    color:#b00000;

}




/* ================= RESPONSIVO ================= */


@media(max-width:900px){


    .menu{

        position:absolute;

        top:70px;

        left:0;

        width:100%;

        background:#3D0240;

        display:none;

        flex-direction:column;

        padding:20px;

    }


    .menu.active{

        display:flex;

    }


    .menu-toggle{

        display:block;

    }


    .header-row{

        flex-wrap:nowrap;

    }


    .logo img{

        height:45px;

    }


    .footer-grid{

        grid-template-columns:1fr;

    }


}



@media(max-width:600px){


    .container{

        width:95%;

    }


    .hero{

        height:60vh;

    }


    .hero-content h1{

        font-size:36px;

    }


    .hero-content p{

        font-size:16px;

    }


    .produto-card img{

        height:180px;

    }


    .auth-card{

        margin:25px 10px;

        padding:25px;

    }


    .newsletter input{

        width:100%;

    }


}

/* =========================
   FORMULÁRIO CADASTRO / LOGIN
========================= */

.auth-card .auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-card .form-group {
    display: flex;
    flex-direction: column;
}

.auth-card .form-group label {
    margin-bottom: 6px;
    font-weight: 600;
}

.auth-card .form-group input {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.auth-card .form-group input:focus {
    border-color: #3D0240;
    outline: none;
}

.auth-card .btn-auth {
    width: 100%;
    padding: 14px;
    background: #3D0240;
    color: #fff;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.auth-card .btn-auth:hover {
    background: #D4AF37;
    color: #000;
}

.cliente-info{

    color:#fff;
    margin-right:15px;
    white-space:nowrap;

}


.cliente-info small{

    font-size:13px;

}


.cart a{

    color:#fff;
    text-decoration:none;
    font-size:22px;

}

/* =========================
   HEADER MOBILE
========================= */

@media(max-width:768px){


    .header-row{

        display:flex;
        align-items:center;
        justify-content:space-between;
        padding:10px 15px;
        gap:10px;

    }



    .header-left{

        flex:1;

    }



    .header-left .logo img{

        height:45px;

    }





    .header-right{

        display:flex;
        align-items:center;
        gap:12px;

    }





    .cliente-info{

        display:none;

    }





    .cart{

        position:relative;

    }



    .cart a{

        font-size:22px;

    }





    .menu-toggle{

        display:flex;

        align-items:center;

        justify-content:center;

        width:42px;

        height:42px;

        background:#3D0240;

        color:#fff;

        border:none;

        border-radius:8px;

        font-size:26px;

        cursor:pointer;

    }





    .menu{

        display:none;

        position:absolute;

        top:100%;

        left:0;

        right:0;

        width:100%;

        background:#3D0240;

        flex-direction:column;

        padding:15px;

        z-index:9999;

    }



    .menu.active{

        display:flex;

    }



    .menu a{

        color:#fff;

        padding:12px;

        border-bottom:1px solid rgba(255,255,255,.15);

    }


}

/* ==========================
   CONTACTO MODERNO
========================== */


.contacto-page{
    background:#f7f7f7;
}



/* HERO */

.contacto-hero{

    height:320px;

    
    background:
        linear-gradient(rgba(61,2,64,.75), rgba(61,2,64,.75)),
        url('../img/contacto.jpeg') center center/cover no-repeat;


    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    color:#fff;

    padding:30px;

}


.contacto-hero h1{

    font-size:42px;

    margin-bottom:15px;

}



.contacto-hero p{

    max-width:600px;

    line-height:1.7;

}






/* GRID */


.contacto-grid{

    display:grid;

    grid-template-columns:380px 1fr;

    gap:35px;

    margin-top:-60px;

    position:relative;

}







/* CARD INFORMAÇÃO */


.contacto-info-card,
.contacto-form-card{


    background:#fff;

    border-radius:20px;

    padding:35px;

    box-shadow:
    0 15px 35px rgba(0,0,0,.10);

}





.contacto-logo{

    text-align:center;

}



.contacto-logo img{

    width:200px;

}






.contacto-info-card h2,
.contacto-form-card h2{

    color:#3D0240;

    margin:20px 0 10px;

}




.contacto-item{

    display:flex;

    gap:15px;

    margin-top:25px;

    align-items:center;

}


.contacto-item span{

    font-size:28px;

}




.contacto-item strong{

    color:#3D0240;

}





.contacto-item p{

    margin-top:5px;

    color:#666;

}






.contacto-social{

    display:flex;

    gap:10px;

    margin-top:30px;

}



.contacto-social a{

    background:#3D0240;

    color:#fff;

    padding:8px 12px;

    border-radius:20px;

    text-decoration:none;

    font-size:13px;

}






/* FORM */


.input-contacto{

    margin-bottom:18px;

}



.input-contacto label{

    display:block;

    margin-bottom:6px;

    font-weight:600;

}



.input-contacto input,
.input-contacto textarea{


    width:100%;

    padding:14px;

    border:1px solid #ddd;

    border-radius:10px;

    outline:none;

}



.input-contacto input:focus,
.input-contacto textarea:focus{

    border-color:#3D0240;

}





.btn-contacto{


    width:100%;

    padding:15px;

    border:none;

    border-radius:12px;

    background:#3D0240;

    color:white;

    font-size:16px;

    cursor:pointer;

    transition:.3s;

}



.btn-contacto:hover{

    background:#D4AF37;

    color:#000;

}





@media(max-width:768px){


.contacto-hero h1{

    font-size:30px;

}



.contacto-grid{

    grid-template-columns:1fr;

    margin-top:30px;

}



.contacto-info-card,
.contacto-form-card{

    padding:25px;

}


}

/* =========================
   CHECKOUT
========================= */


.checkout-container{

    margin-top:40px;
    margin-bottom:50px;

}



.checkout-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;

}



.checkout-card{

    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);

}



.checkout-card h1,
.checkout-card h2{

    color:#3D0240;

}




.checkout-item{

    display:flex;
    gap:15px;
    margin-bottom:15px;
    align-items:center;

}



.checkout-item img{

    width:70px;
    height:70px;
    object-fit:cover;
    border-radius:10px;

}



.payment-option{

    display:block;
    padding:15px;
    background:#f5f5f5;
    border-radius:10px;
    margin-bottom:12px;
    cursor:pointer;

}



.pagamento-info{

    margin:25px 0;
    padding:15px;
    background:#f8f1f8;
    border-radius:10px;

}




@media(max-width:768px){

.checkout-grid{

    grid-template-columns:1fr;

}

}

/* =========================
   PEDIDO SUCESSO
========================= */


.sucesso-container{

    margin:50px auto;

}



.sucesso-card{

    max-width:700px;

    margin:auto;

    background:#fff;

    padding:40px;

    border-radius:20px;

    text-align:center;

    box-shadow:
    0 10px 30px rgba(0,0,0,.10);

}



.sucesso-icon{

    width:80px;

    height:80px;

    margin:auto;

    border-radius:50%;

    background:#3D0240;

    color:#fff;

    font-size:45px;

    display:flex;

    align-items:center;

    justify-content:center;

}



.sucesso-card h1{

    color:#3D0240;

    margin:25px 0 10px;

}



.sucesso-texto{

    color:#666;

}




.pedido-info{

    margin-top:30px;

    padding:25px;

    background:#f8f5f8;

    border-radius:15px;

    text-align:left;

}



.pedido-info h2{

    color:#3D0240;

    margin-bottom:20px;

}





.status-pendente{

    background:#fff0c2;

    padding:5px 12px;

    border-radius:20px;

}




.pagamento-aviso{

    margin-top:25px;

    padding:25px;

    background:#f9f9f9;

    border-radius:15px;

}





.pagamento-aviso h3{

    color:#3D0240;

}





.sucesso-buttons{

    display:flex;

    gap:15px;

    justify-content:center;

    margin-top:30px;

}

.btn-success{

    background:#0daf36;

    color:#333;

    padding:14px 20px;

    border-radius:8px;

    text-decoration:none;

}

.btn-secondary{

    background:#ddd;

    color:#333;

    padding:14px 20px;

    border-radius:8px;

    text-decoration:none;

}





@media(max-width:600px){


.sucesso-card{

    padding:25px;

}



.sucesso-buttons{

    flex-direction:column;

}


}

/* ===========================
   PEDIDO VER
=========================== */

.page-title{
    font-size:28px;
    color:#3D0240;
    margin-bottom:25px;
    font-weight:700;
}

.card{
    background:#fff;
    border-radius:14px;
    padding:25px;
    margin-bottom:25px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.card h3{
    color:#3D0240;
    margin-bottom:18px;
    font-size:20px;
}

.info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:15px;
}

.info-item{
    background:#fafafa;
    border:1px solid #eee;
    border-radius:10px;
    padding:15px;
}

.info-item strong{
    display:block;
    color:#3D0240;
    margin-bottom:5px;
}

.table-responsive{
    overflow-x:auto;
}

.table{
    width:100%;
    border-collapse:collapse;
    margin-top:10px;
}

.table th{
    background:#3D0240;
    color:#fff;
    padding:14px;
    text-align:left;
}

.table td{
    padding:14px;
    border-bottom:1px solid #eee;
}

.table tr:hover{
    background:#fafafa;
}

.text-right{
    text-align:right;
}

.total-box{
    margin-top:20px;
    display:flex;
    justify-content:flex-end;
}

.total-card{
    background:#3D0240;
    color:#fff;
    padding:18px 25px;
    border-radius:12px;
    min-width:260px;
    text-align:right;
}

.total-card h2{
    margin-top:8px;
    font-size:30px;
    color:#D4AF37;
}

.badge{
    display:inline-block;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.badge-pendente{
    background:#FFF4D6;
    color:#A66A00;
}

.badge-pago{
    background:#DDF8E3;
    color:#0B7A2A;
}

.badge-processando{
    background:#D9ECFF;
    color:#0A58CA;
}

.badge-enviado{
    background:#E8E3FF;
    color:#5B3EC8;
}

.badge-entregue{
    background:#D7F9F3;
    color:#007A68;
}

.badge-cancelado{
    background:#FFE0E0;
    color:#C62828;
}

.btn-voltar{
    display:inline-block;
    padding:12px 22px;
    background:#3D0240;
    color:#fff;
    text-decoration:none;
    border-radius:8px;
    transition:.3s;
}

.btn-voltar:hover{
    background:#D4AF37;
    color:#3D0240;
}

/* ===========================
   RESPONSIVO
=========================== */

@media(max-width:768px){

    .page-title{
        font-size:24px;
    }

    .card{
        padding:18px;
    }

    .table th,
    .table td{
        padding:10px;
        font-size:14px;
    }

    .total-card{
        width:100%;
    }

    .info-grid{
        grid-template-columns:1fr;
    }

}

.category-card{
    text-decoration:none;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* =========================
   FILTROS LOJA
========================= */

.filtros{

    display:flex;
    align-items:center;
    gap:15px;
    flex-wrap:nowrap;
    margin:30px 0;

}


.filtros input{

    flex:1;
    min-width:100x;
    height:42px;
    padding:0 15px;
    border:1px solid #ddd;
    border-radius:8px;
    outline:none;
    font-size:14px;

}


.filtros select{

    height:42px;
    min-width:180px;
    padding:0 12px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    cursor:pointer;
    font-size:14px;

}


.filtros .btn{

    height:42px;
    padding:0 25px;
    display:flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
}

.whatsapp{

    background:#25D366;
    color:#fff;

}


.whatsapp:hover{

    background:#128C7E;
    color:#fff;

}