:root {
    --bg-dark: #0f1a14;
    --card-bg: #15261d;
    --gold: #d4af37;
    --text-light: #f4f6f4;
    --text-muted: #b8c5bc;
    --accent-green: #2d5a3f;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    padding: 20px;
    padding-bottom: 100px; /* Espacio extra al final para el carrito */
}

.hero-header {
    text-align: center;
    padding: 30px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 30px;
}

.site-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--gold);
    margin-bottom: 15px;
    background: #fff;
    padding: 5px;
}

.logo-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--gold);
    letter-spacing: 2px;
}

.logo-container p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.tagline h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
}

.tagline p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.category-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.category-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 8px;
}

.category-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

/* Estilo base para todos los productos */
.product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(45, 90, 63, 0.2);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

/* Estilo para productos CON imagen */
.product-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    flex-shrink: 0;
}

/* Estilo para productos SIN imagen (se ajusta el texto) */
.product-item.no-img .product-info {
    padding-left: 10px;
}

.product-info h3 {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 3px;
}

.product-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.btn-add {
    background-color: var(--gold);
    color: #000;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-add:hover {
    opacity: 0.85;
}

/* Estilos del Carrito */
.cart-section {
    background: #112219;
    border: 2px dashed var(--gold);
    padding: 20px;
    border-radius: 12px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.cart-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

#cart-items {
    list-style: none;
    margin-bottom: 15px;
    max-height: 200px;
    overflow-y: auto;
}

#cart-items li {
    background: rgba(255,255,255,0.05);
    padding: 8px 12px;
    margin-bottom: 6px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cart-items li span {
    word-break: break-word;
    padding-right: 10px;
}

.empty-cart {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

.btn-whatsapp-cart {
    width: 100%;
    background-color: #25d366;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: opacity 0.2s;
    display: none; /* Se oculta si está vacío */
}

.btn-whatsapp-cart:hover {
    opacity: 0.9;
}

.contact-section {
    text-align: center;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin-bottom: 20px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.btn {
    display: block;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.btn.tiktok {
    background-color: #000;
    color: #fff;
    border: 1px solid #333;
}

.btn.whatsapp {
    background-color: #25d366;
    color: #fff;
}

.btn:hover {
    opacity: 0.9;
}

.location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

footer {
    text-align: center;
    padding: 30px 0;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 1px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 50px;
}