:root {
    --bg-gradient: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    --gold-gradient: linear-gradient(90deg, #ffd700, #ffcc00, #fff1a8, #ffcc00, #b8860b);
    --card-bg: #1e1e1e;
    --accent-orange: #ff8800;
    --border-color: #333;
}

body {
    background: var(--bg-gradient) !important;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    min-height: 100vh;
}

h1 {
    font-size: clamp(24px, 5vw, 42px);
    font-weight: 900;
    text-align: center;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin: 20px 0;
}

.main-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    padding: 20px;
}

/* Sidebar y Centrado de Logo */
.sidebar {
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid var(--border-color);
    padding: 20px;
}

.logo-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.logo-placeholder {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

.sidebar h3 {
    font-size: 0.9rem;
    color: #ffb074;
    text-transform: uppercase;
    margin-top: 20px;
}

.sidebar select {
    width: 100%;
    padding: 10px;
    background: #2a2a2a;
    color: white;
    border: 1px solid #ffd700;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Carrito Items */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.05);
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 8px;
}

.btn-remove {
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 4px;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-weight: bold;
}

#total {
    font-weight: 800;
    font-size: 1.1rem;
    margin: 15px 0;
    color: #ffd700;
}

.btn-whatsapp {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}

.btn-vaciar {
    width: 100%;
    background: transparent;
    color: #888;
    border: 1px solid #444;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}

/* Grid de Productos */
#productos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
}

.precio-tag {
    color: var(--accent-orange);
    font-weight: 800;
    font-size: 1.2rem;
    display: block;
    margin: 10px 0;
}

.btn-add {
    width: 100%;
    background: var(--gold-gradient);
    border: none;
    padding: 8px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.search-container input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #1e1e1e;
    border: 1px solid #b87333;
    color: #ffb074;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .main-layout { grid-template-columns: 1fr; }
    #productos { grid-template-columns: 1fr 1fr; }
}