/* ==========================================================
   SONNE ELEGANCE
   Desenvolvido por Daniel Otávio
   Identidade visual: Maison de Luxo (bordô, preto, dourado, marfim)
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

/* ==========================================================
   RESET
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Jost','Segoe UI',Tahoma,Geneva,Verdana,sans-serif;

    background:#F7F3EC;

    color:#1B1B1B;

    min-height:100vh;

    display:flex;

    flex-direction:column;

    letter-spacing:.2px;

    -webkit-font-smoothing:antialiased;
}

/* ==========================================================
   VARIÁVEIS
========================================================== */

:root{

    --primary:#5C0A18;

    --primary-dark:#3D050F;

    --primary-light:#8A2E3D;

    --neutral:#A39B8B;

    --neutral-light:#D8D2C4;

    --black:#141414;

    --background:#F7F3EC;

    --white:#FFFFFF;

    --text:#1B1B1B;

    --gray:#7A7268;

    --border:#E6DCC9;

    --shadow:0 10px 28px rgba(20,20,20,.12);

    --shadow-glow:0 20px 40px rgba(92,10,24,.30);

    --primary-transparent:rgba(92,10,24,.14);

    --primary-transparent-border:rgba(92,10,24,.4);

    --transition:.35s cubic-bezier(.4,0,.2,1);

    --font-display:'Cormorant Garamond',serif;

    --font-body:'Jost',sans-serif;

}

/* ==========================================================
   TIPOGRAFIA GERAL
========================================================== */

h1,h2,h3,h4,h5,h6{

    font-family:var(--font-display);

    font-weight:600;

    color:var(--black);

    letter-spacing:.5px;

}

/* ==========================================================
   CONTAINER
========================================================== */

.container-custom{

    width:92%;

    max-width:1400px;

    margin:auto;

}

/* ==========================================================
   GRID
========================================================== */



/* ==========================================================
   LINKS
========================================================== */

a{

    text-decoration:none;

    color:inherit;

    transition:color var(--transition);

}

/* ==========================================================
   NAVBAR
========================================================== */

.navbar-custom{

    width:100%;

    background:var(--black);

    position:sticky;

    top:0;

    z-index:999;

    box-shadow:0 2px 0 var(--primary);

}

.navbar-custom .container-custom{

    height:90px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:35px;

}

/* ==========================================================
   LOGO
========================================================== */

.logo{

    display:flex;

    align-items:center;

    height:100%;

    overflow:hidden;

}

.logo img{

    width:auto;

    max-width:170px;

    height:auto;

    max-height:52px;

    object-fit:contain;

    transition:var(--transition);

    filter:brightness(0) invert(1);
}

.logo img:hover{

    transform:scale(1.03);

    filter:brightness(0) invert(1) drop-shadow(0 0 6px rgba(163,155,139,.5));
}

/* ==========================================================
   PESQUISA
========================================================== */

.search-form{

    flex:1;

    max-width:700px;

    display:flex;

    align-items:center;

    background:var(--white);

    border-radius:2px;

    overflow:hidden;

    box-shadow:none;

    border:1px solid var(--primary);
}

.search-form input{

    flex:1;

    border:none;

    outline:none;

    padding:15px 22px;

    font-size:15px;

    font-family:var(--font-body);

    letter-spacing:.3px;

    background:transparent;

}

.search-form input::placeholder{

    color:#A79E8E;

    text-transform:uppercase;

    font-size:12px;

    letter-spacing:1.2px;

}

.search-form button{

    width:64px;

    height:52px;

    border:none;

    background:var(--primary);

    color:var(--neutral-light);

    cursor:pointer;

    transition:var(--transition);

}

.search-form button:hover{

    background:var(--black);

    color:var(--neutral);

}

.search-form button i{

    font-size:18px;

}

/* ==========================================================
   ÍCONES DA NAVBAR
========================================================== */

.navbar-icons{

    display:flex;

    align-items:center;

    gap:22px;

}

.navbar-icons a{

    width:44px;

    height:44px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    color:var(--neutral-light);

    transition:var(--transition);

    border:1px solid transparent;

}

.navbar-icons a:hover{

    background:transparent;

    border-color:var(--primary-light);

    color:var(--white);

}

.navbar-icons i{

    font-size:22px;

}

/* ==========================================================
   MAIN
========================================================== */

.main-content{

    flex:1;

}

/* ==========================================================
   FOOTER
========================================================== */

.footer{

    background:var(--black);

    color:var(--white);

    margin-top:90px;

    padding:55px 0 25px;

}

.footer-container{

    width:92%;

    max-width:1400px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:30px;

}

.footer-brand h3{

    font-family:var(--font-display);

    font-size:32px;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:10px;

    color:var(--white);

}

.footer-brand p{

    color:#C9C2B4;

    font-size:14px;

    letter-spacing:.4px;

}

.footer-social{

    display:flex;

    gap:18px;

}

.footer-social a{

    width:46px;

    height:46px;

    border-radius:50%;

    background:transparent;

    border:1px solid rgba(163,155,139,.4);

    display:flex;

    justify-content:center;

    align-items:center;

    transition:var(--transition);

    color:var(--neutral-light);

}

.footer-social a:hover{

    background:var(--primary);

    border-color:var(--primary);

    color:var(--white);

}

.footer-social i{

    font-size:20px;

}

.footer hr{

    width:92%;

    max-width:1400px;

    margin:35px auto 20px;

    border:none;

    height:1px;

    background:rgba(163,155,139,.25);

}

.copyright{

    text-align:center;

    color:#9C9486;

    font-size:13px;

    letter-spacing:.6px;

    text-transform:uppercase;

}
/* ==========================================================
   ANIMAÇÕES
========================================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero-banner{
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    display: block;
    border-radius: 2px;
}

.hero-banner img{
    width: 100%;
    height: auto;
    display: block;
}

.section-header{

    flex:0 0 200px;

    background:var(--white);

    border-radius:2px;

    overflow:hidden;

    box-shadow:var(--shadow);

    border:1px solid var(--border);

    padding:30px 20px;

    text-align:center;

}

.section-header-queridinhos{
    
    margin-top: 100px;

    flex:0 0 200px;

    background:var(--white);

    border-radius:2px;

    overflow:hidden;

    box-shadow:var(--shadow);

    border:1px solid var(--border);

    padding:30px 20px;

    text-align:center;
}
.product-card{

    position:relative;

    background:var(--white);

    border-radius:2px;

    overflow:hidden;

    box-shadow:var(--shadow);

    border:1px solid var(--border);

    flex:0 0 220px;

    aspect-ratio:2 / 3;

    min-height:330px;

    display:flex;

    flex-direction:column;

    cursor:pointer;

    transition:transform .4s cubic-bezier(.175,.885,.32,1.275),

               box-shadow var(--transition),

               border-color var(--transition);

}

.product-card::after{

    content:'';

    position:absolute;

    top:0; left:0; width:100%; height:100%;

    background:linear-gradient(to top, rgba(20,20,20,.90) 0%, rgba(20,20,20,.35) 45%, transparent 72%);

    pointer-events:none;

    z-index:1;

}

.product-card:hover{

    transform:translateY(-8px) scale(1.02);

    box-shadow:var(--shadow-glow);

    border-color:var(--primary-light);

}

.product-card:hover .product-image img{

    transform:scale(1.06);

}

.section-header h2{

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:28px;

    text-align:center;

}

.section-header p{

    color:var(--gray);

    font-family:var(--font-body);

    letter-spacing:.3px;

    text-align:center;

}

.product-image{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100%;

    overflow:hidden;

    background-color:var(--neutral-light);

    z-index:0;

}

.product-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:top center;

    display:block;

    transition:transform .5s ease;

}

.product-info{

    position:absolute;

    bottom:0;

    left:0;

    width:100%;

    z-index:2;

    padding:1.25rem;

    text-align:left;

}

.badge-category{

    position:absolute;

    top:14px;

    left:14px;

    z-index:3;

    background:rgba(20,20,20,.55);

    color:var(--neutral-light);

    font-family:var(--font-body);

    font-weight:600;

    font-size:.65rem;

    padding:.35rem .75rem;

    border-radius:2px;

    letter-spacing:.08em;

    text-transform:uppercase;

    border:1px solid rgba(255,255,255,.2);

    backdrop-filter:blur(2px);

}

.badge-featured{

    position:absolute;

    top:14px;

    right:14px;

    z-index:3;

    background:var(--primary-transparent);

    color:var(--neutral-light);

    font-family:var(--font-body);

    font-weight:700;

    font-size:.6rem;

    padding:.3rem .6rem;

    border-radius:2px;

    letter-spacing:.08em;

    text-transform:uppercase;

    border:1px solid var(--primary-transparent-border);

    box-shadow:0 0 12px rgba(92,10,24,.35);

    backdrop-filter:blur(2px);

}

.product-carousel{
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;

    gap:25px;

    overflow-x:auto;
    overflow-y:hidden;

    padding:10px;

    width:100%;
}

/* ==========================================================
   SELEÇÃO DE TEXTO
========================================================== */

::selection{

    background:var(--neutral);

    color:var(--black);

}

/* ==========================================================
   INPUT FOCUS
========================================================== */

input:focus{

    outline:none;

}

.search-form{

    transition:box-shadow var(--transition),border-color var(--transition);

}

.search-form:focus-within{

    border-color:var(--primary);

    box-shadow:0 0 0 3px rgba(92,10,24,.10);

}

/* ==========================================================
   IMAGENS
========================================================== */

img{

    user-select:none;

    -webkit-user-drag:none;

}

/* ==========================================================
   BOTÕES
========================================================== */

button{

    font-family:var(--font-body);

}

button,
.btn-card,
.btn-see-more{

    cursor:pointer;

}

.btn-see-more{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:fit-content;

    background:transparent;

    border:1px solid var(--primary);

    color:var(--primary);

    text-transform:uppercase;

    letter-spacing:1.5px;

    font-size:13px;

    padding:12px 20px;

    transition:var(--transition);

    margin:35px auto 0;

}

.btn-card{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:fit-content;

    background:transparent;

    border:1px solid rgba(255,255,255,.5);

    color:var(--white);

    text-transform:uppercase;

    letter-spacing:1.5px;

    font-size:11px;

    padding:8px 16px;

    transition:var(--transition);

    margin-top:2px;

}

.featured-section{

    text-align:center;

}

.btn-see-more:hover{

    background:var(--primary);

    color:var(--neutral-light);

    border-color:var(--primary);

}

.btn-card:hover{

    background:var(--primary);

    color:var(--white);

    border-color:var(--primary);

}

/* ==========================================================
   PRODUTO — DETALHES
========================================================== */

.product-info h3{

    font-family:var(--font-display);

    font-weight:700;

    font-size:1.2rem;

    letter-spacing:.3px;

    color:var(--white);

    text-shadow:0 2px 6px rgba(0,0,0,.6);

    margin-bottom:.3rem;

}

.price{

    display:block;

    color:var(--neutral);

    font-family:var(--font-body);

    font-weight:700;

    font-size:1.05rem;

    margin-bottom:.6rem;

}

.product-description{

    color:var(--neutral-light);

    font-family:var(--font-body);

    font-size:.8rem;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

    opacity:0;

    transform:translateY(10px);

    transition:all .3s ease;

    margin-bottom:.6rem;

}

.product-card:hover .product-description{

    opacity:.85;

    transform:translateY(0);

}

/* ==========================================================
   RESPONSIVIDADE
========================================================== */

@media(max-width:1200px){

    .search-form{

        max-width:550px;

    }

}

/* ========================================================== */

@media(max-width:992px){

    .navbar-custom .container-custom{

        flex-wrap:wrap;

        justify-content:center;

        height:auto;

        padding:18px 0;

    }

    .logo{

        width:100%;

        justify-content:center;

    }

    .search-form{

        width:100%;

        max-width:100%;

        order:3;

    }

    .navbar-icons{

        order:2;

    }

    .section-header h2{

        font-size:26px;

    }

}

/* ========================================================== */

@media(max-width:768px){

    .hero-banner{

        width:95%;

        margin:25px auto 40px;

    }

    .hero-banner img{

        border-radius:2px;

    }

.featured-section{

    width:92%;

    max-width:1400px;

    margin:50px auto;

}
    .section-header{

        margin-bottom:30px;

    }

    .section-header h2{

        font-size:22px;

    }

    .section-header p{

        font-size:14px;

    }

    .product-card{

        min-width:220px;

        max-width:220px;

    }

    .product-info{

        padding:18px;

    }

    .product-info h3{

        font-size:17px;

        min-height:auto;

    }

    .price{

        font-size:20px;

    }

    .btn-card{

        padding:12px;

    }

    .btn-see-more{

        width:100%;

        justify-content:center;

        text-align:center;

    }

    .footer-container{

        flex-direction:column;

        text-align:center;

    }

}

/* ========================================================== */

@media(max-width:480px){

    .logo img{

        max-width:140px;

    }

    .search-form input{
        
        display: none;

        font-size:14px;

        padding:14px 16px;

    }

    .search-form{
        display: none;
    }

    .search-form button{

        width:60px;

    }

    .navbar-icons{

        gap:12px;

    }

    .navbar-icons a{

        width:42px;

        height:42px;

    }

    .navbar-icons i{

        font-size:22px;

    }

    .product-card{

        min-width:180px;

        max-width:180px;

    }

    .product-info{

        padding:15px;

    }

    .product-info h3{

        font-size:15px;

    }

    .price{

        font-size:18px;

    }

    .footer-brand h3{

        font-size:22px;

    }

}

/* ==========================================
   NAVBAR - USUÁRIO
========================================== */

.user-name{

    display:flex;

    align-items:center;

    gap:8px;

    color:var(--neutral-light);

    font-weight:500;

    letter-spacing:.4px;

    white-space:nowrap;

}

.admin-link{

    color:var(--neutral-light);

}

.admin-link:hover{

    color:var(--primary-light);

}

.logout-button{

    border:1px solid var(--neutral);

    background:transparent;

    color:var(--neutral-light);

    padding:8px 16px;

    border-radius:2px;

    font-weight:500;

    letter-spacing:.6px;

    text-transform:uppercase;

    font-size:12px;

    cursor:pointer;

    transition:var(--transition);

}

.logout-button:hover{

    background:var(--primary);

    border-color:var(--primary);

    color:var(--white);

}

.register-button{


    color:var(--neutral-light);

    padding:9px 18px;

    border-radius:2px;

    border:1px solid var(--neutral);

    font-weight:500;

    letter-spacing:.6px;

    text-transform:uppercase;

    font-size:12px;

    transition:var(--transition);

}

.register-button:hover{

    background:var(--primary);

    border-color:var(--primary);

    color:var(--white);

}

/* ==========================================================
   PÁGINA DE PRODUTOS — CARD COM HOVER (EXCLUSIVO)
   Uso:
   <div class="shop-product-card">
     <img src="..." alt="...">
     <div class="shop-product-overlay">
       <div class="shop-product-info">
         <h3>Nome do produto</h3>
         <span class="shop-product-price">R$ 000,00</span>
         <p>Descrição curta do produto.</p>
       </div>
     </div>
   </div>
========================================================== */

.shop-product-card{

    position:relative;

    overflow:hidden;

    border-radius:2px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    aspect-ratio:2 / 3;

    min-height:330px;

    cursor:pointer;

    background:var(--neutral-light);

    transition:box-shadow var(--transition), border-color var(--transition);

}

.shop-product-card:hover{

    box-shadow:var(--shadow-glow);

    border-color:var(--primary-light);

}

.shop-product-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:top center;

    display:block;

    transition:transform .5s ease;

}

.shop-product-card:hover img{

    transform:scale(1.06);

}

.shop-product-overlay{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100%;

    display:flex;

    align-items:flex-end;

    background:linear-gradient(to top, rgba(20,20,20,.92) 0%, rgba(20,20,20,.55) 45%, rgba(20,20,20,0) 80%);

    opacity:0;

    transition:opacity .4s ease;

    z-index:1;

}

.shop-product-card:hover .shop-product-overlay{

    opacity:1;

}

.shop-product-info{

    position:relative;

    z-index:2;

    width:100%;

    padding:1.25rem;

    text-align:left;

    opacity:0;

    transform:translateY(12px);

    transition:opacity .35s ease .05s, transform .35s ease .05s;

}

.shop-product-card:hover .shop-product-info{

    opacity:1;

    transform:translateY(0);

}

.shop-product-info h3{

    font-family:var(--font-display);

    font-weight:700;

    font-size:1.1rem;

    color:var(--neutral-light);

    margin-bottom:.3rem;

}

.shop-product-price{

    display:block;

    font-family:var(--font-body);

    font-weight:700;

    font-size:1rem;

    color:var(--neutral);

    margin-bottom:.4rem;

}

.shop-product-info p{

    font-family:var(--font-body);

    font-size:.8rem;

    color:var(--neutral-light);

    opacity:.85;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

    margin:0;

}

.shop-product-info h5 {
    color: var(--neutral-light);
}

.shop-product-info a {
    color: var(--neutral-light);
}

/*========================================================
 FORMULARIO DE LOGIN/REGISTRO
=========================================================*/

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container .row {
    width: 100%;
    justify-content: center;
}


/* ==========================================================
   FIM DO ARQUIVO
========================================================== */