:root {
    --bg-primary: #FAFAFA;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    
    --gold-primary: #C5A059;
    --gold-light: #E3CD94;
    --gold-dark: #9E7D3F;
    
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --border-color: #EBEBEB;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.italic { font-style: italic; }
.text-gold { color: var(--gold-primary); }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    border-radius: 2px;
    transition: var(--transition);
    text-align: center;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-gold {
    background-color: var(--gold-primary);
    color: #FFFFFF;
}
.btn-gold:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.25);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
}
.btn-outline:hover {
    background-color: var(--text-primary);
    color: #FFFFFF;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.brand-sub {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--gold-primary);
    display: block;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.nav-links a:hover {
    color: var(--gold-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.action-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.action-btn:hover {
    color: var(--gold-primary);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--text-primary);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
}

/* SPA Area */
#app {
    min-height: calc(100vh - 200px);
    padding-top: var(--header-height);
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1615397323133-727b1341c2c4?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(250,250,250,1));
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    color: #1A1A1A;
}
.hero-badge {
    display: inline-block;
    padding: 6px 15px;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(26,26,26,0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

/* Grids */
.page-section {
    padding: 5rem 0;
}
.section-header {
    margin-bottom: 3rem;
    text-align: center;
}
.section-icon {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background-color: var(--bg-card);
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.03);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transform: translateY(-8px);
}
.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #FAFAFA;
}
.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: var(--transition);
}
.product-card:hover .product-image {
    opacity: 1;
    transform: scale(1.05);
}
.badges-container {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.badge-gold {
    background-color: var(--gold-primary);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    text-transform: uppercase;
}
.product-info {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-brand {
    font-size: 0.8rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.product-name {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.prices-table {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
}
.price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.price-ml {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.price-val {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Filters Component */
.filters-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 20px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

/* Product Detail Page */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.pd-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border: 1px solid var(--border-color);
}
.pd-brand {
    color: var(--gold-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.pd-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.pd-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.pd-notes {
    margin-bottom: 2rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}
.pd-notes h4 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
}
.pd-notes ul {
    list-style: inside square;
    color: var(--text-secondary);
}
.pd-sizes {
    margin-bottom: 2rem;
}
.size-selector {
    display: flex;
    gap: 10px;
}
.size-btn {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}
.size-btn.active, .size-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}
.pd-price {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    display: block;
}
.pd-actions {
    display: flex;
    gap: 1rem;
}

/* Cart Side Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    backdrop-filter: blur(3px);
}
.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-color);
}
.cart-drawer.active {
    right: 0;
}
.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h2 {
    margin: 0;
    font-size: 1.5rem;
}
.close-cart {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
}
.close-cart:hover { color: var(--text-primary); }
.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}
.empty-cart-msg {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 50px;
}
.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}
.cart-item-info {
    flex-grow: 1;
}
.cart-item-title {
    font-weight: 500;
    margin-bottom: 5px;
}
.cart-item-ml {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 5px;
}
.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.qty-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.cart-item-remove {
    background: transparent;
    border: none;
    color: #ff4a4a;
    cursor: pointer;
    font-size: 1.2rem;
}
.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Toast */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: var(--text-primary);
    color: #FFFFFF;
    padding: 15px 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    border-left: 4px solid var(--gold-primary);
    animation: slideIn 0.3s forwards, fadeOut 0.3s forwards 2.7s;
    font-weight: 500;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

/* Formulários */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
}
.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
}
.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}
.checkout-panel {
    background: var(--bg-card);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

/* Dashboard */
.order-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.order-status {
    padding: 5px 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}
.status-preparando { background: #3a2e0a; color: var(--gold-primary); }
.status-enviado { background: #0a2e3a; color: #4ac1ff; }
.status-concluido { background: #0b3a1a; color: #4aff80; }

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    .nav-links.active {
        left: 0;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .pd-actions {
        flex-direction: column;
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    text-align: center;
    background: var(--bg-card);
}
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
}
