:root {
    --bg-primary: #fbf9f5;      /* Crema suave / pergamino */
    --bg-card: #ffffff;
    --text-color: #2b2b2b;      /* Pizarra oscuro */
    --accent-color: #a37233;    /* Dorado / Cobre viejo */
    --accent-dark: #7a5320;
    --bg-dark: #1c1a17;         /* Oscuro rústico */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

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

h1, h2, h3, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

/* Botones general */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

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

/* Modal Age Gate (+18) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(28, 26, 23, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 8px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--accent-color);
}

.modal-content h2 {
    color: var(--accent-color);
    letter-spacing: 2px;
}

.divider {
    border: 0;
    height: 1px;
    background: var(--accent-color);
    margin: 20px 0;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.error-msg {
    color: #c93b2b;
    margin-top: 15px;
    font-size: 0.85rem;
}

/* Header */
.main-header {
    background: rgba(251, 249, 245, 0.95);
    position: sticky;
    top: 0;
    border-bottom: 1px solid #e5dfd5;
    z-index: 100;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: var(--accent-color);
    text-decoration: none;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero */
.hero-section {
    padding: 100px 20px;
    text-align: center;
    background: var(--bg-dark);
    color: #fff;
}

.hero-section h1 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}







/* --- SECCIONES Y GRIDS --- */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f3efe6;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--accent-dark);
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* Grid de cervezas */
.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Tarjeta de Cerveza (Catálogo) */
.beer-card {
    background: var(--bg-card);
    border: 1px solid #e2dacd;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.beer-header {
    position: relative;
    background: #1c1a17;
    padding: 20px;
    text-align: center;
}

.beer-img-container img {
    max-height: 280px;
    object-fit: contain;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 1px;
}

.beer-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.beer-type {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 1px;
}

.beer-body h3 {
    font-size: 1.6rem;
    margin: 5px 0;
}

.tagline {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.description {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Ficha de Cata */
.tasting-box {
    background: #fcfbfa;
    border-left: 3px solid var(--accent-color);
    padding: 12px 15px;
    margin-bottom: 15px;
    font-size: 0.88rem;
}

.tasting-box h4 {
    color: var(--accent-dark);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.tasting-box ul {
    list-style: none;
}

.tasting-box li {
    margin-bottom: 4px;
}

.pairing-box {
    font-size: 0.88rem;
    background: #f3efe6;
    padding: 10px 12px;
    border-radius: 4px;
    color: #4a4338;
}

/* Tarjeta de Tienda */
.store-card {
    background: var(--bg-card);
    border: 1px solid #e2dacd;
    padding: 25px;
    border-radius: 6px;
    text-align: center;
}

.store-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.store-card .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 10px 0 15px;
}

.btn-disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}

/* Bloque B2B Hostelería */
.b2b-box {
    background: var(--bg-dark);
    color: #fff;
    padding: 50px 30px;
    border-radius: 8px;
    text-align: center;
}

.b2b-box h2 {
    color: var(--accent-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.b2b-box p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #ddd;
}

/* Grid de Locales */
.grid-spots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.spot-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e2dacd;
}

.spot-card h3 {
    font-size: 1.2rem;
    color: var(--accent-dark);
}

.spot-type {
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-bottom: 10px;
}







/* --- MODAL / PANEL LATERAL DEL CARRITO --- */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: absolute;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--bg-card);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-drawer-overlay.active .cart-drawer {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #e2dacd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
}

.cart-items-body {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
}

.empty-cart-msg {
    text-align: center;
    color: #888;
    margin-top: 40px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0eae1;
}

.cart-item-details h4 {
    font-size: 0.95rem;
}

.cart-item-details p {
    color: var(--accent-color);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #e2dacd;
    background: #fbf9f5;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.secure-pay-note {
    font-size: 0.75rem;
    color: #777;
    text-align: center;
    margin-top: 10px;
}







/* --- MODO COMING SOON --- */
.coming-soon-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #302710; /* Color de fondo solicitado */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    text-align: center;
    padding: 20px;
}

.coming-soon-content {
    max-width: 600px;
}

/* Estilo para ajustar el tamaño del logo */
.logo-coming-soon {
    max-width: 250px; /* Ajusta este valor si quieres el logo más grande o pequeño */
    height: auto;
    margin-bottom: 15px;
}

.coming-soon-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: #f3efe6;
    margin: 20px 0;
    line-height: 1.4;
}

.coming-soon-sub {
    font-size: 0.95rem;
    color: #aaa;
    letter-spacing: 1px;
}
