:root {
    --lilac: #957DAD;
    --dark: #2e1f4a;
    --light-bg: #faf8ff;
    --white: #ffffff;
}

/* --- CONFIGURAÇÕES GLOBAIS --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    margin: 0;
    color: var(--dark);
    overflow-x: hidden;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* --- HEADER (Carrinho | Logo | Menu) --- */
.main-header {
    background: var(--white);
    padding: 10px 0;
    position: fixed;
    top: 0; 
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-layout-custom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-left { display: flex; justify-content: flex-start; }
.nav-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.nav-right { display: flex; justify-content: flex-end; }

/* Logo */
.logo a { 
    text-decoration: none; 
    color: var(--dark); 
    font-family: 'Playfair Display'; 
    font-size: 1.6rem; 
    font-weight: bold; 
}
.lilac { color: var(--lilac); }

/* Links Sociais no Header */
.quick-links { display: flex; gap: 15px; margin-top: 5px; }
.quick-links a {
    font-size: 18px;
    text-decoration: none;
    color: var(--lilac);
    transition: 0.3s;
    display: flex;
    align-items: center;
}
.quick-links a:hover {
    color: var(--dark);
    transform: translateY(-3px);
}

/* --- BOTÕES E ÍCONES DO HEADER --- */
.cart-box { transition: 0.3s; cursor: pointer; position: relative; }
.cart-box:hover { transform: scale(1.1); }
.cart-count {
    background: var(--lilac);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -10px;
}

.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    transition: 0.3s;
}
.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}
.hamburger-menu:hover span { background-color: var(--lilac); }
.hamburger-menu:hover span:nth-child(2) { width: 15px; }

/* --- MENU LATERAL --- */
.side-panel-right {
    position: fixed;
    top: 0;
    right: -300px; 
    width: 280px;
    height: 100%;
    background: white;
    z-index: 2000;
    transition: 0.4s;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}
.side-panel-right.active { right: 0 !important; }
.close-panel {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

/* --- BANNER --- */
.banner-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin-top: 110px;
}
.banner-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.banner-img.active { opacity: 1; z-index: 1; }
.banner-content {
    position: absolute;
    z-index: 2;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- PRODUTOS --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.4s;
    border: 1px solid #eee;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.product-img { width: 100%; height: 350px; object-fit: cover; }

.btn-fav {
    position: absolute;
    top: 15px; right: 15px;
    background: white;
    border: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    color: var(--lilac);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.btn-fav:hover { background: var(--lilac); color: white; transform: rotate(15deg) scale(1.1); }

/* Pagamentos (Tamanho Ajustado) */
.payment-icons-img {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}
.payment-icons-img img {
    width: 32px; /* Ícones pequenos e elegantes */
    height: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: 0.3s;
}
.payment-icons-img img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.2); }

/* Botão de Compra */
.btn-buy {
    background: var(--lilac);
    color: white;
    border: none;
    padding: 12px;
    width: 90%;
    margin: 10px 5% 20px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-buy:hover {
    background: #7a6391;
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(149, 125, 173, 0.4);
}
.btn-buy:active { transform: scale(0.95); }