@font-face {
    font-family: laNonnaFont;
    src: url("milasian/MilasianBoldPERSONAL.ttf");
}

@font-face {
    font-family: open-sans;
    src: url("open sans/OpenSans-VariableFont_wdth\,wght.ttf");
}

:root {
    --red-primary: #86121b;
    --red-hover: #a01520;
    --red-light: #fef2f2;
    --red-50: #fff5f5;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", open-sans, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #fff;
    color: var(--gray-900);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================
   NAVBAR - INDEX & CARRITO
   ========================================== */

.cabeceraContainer {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow 0.3s;
}

header {
    width: 90vw;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.navegador {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

h3.logo {
    font-family: laNonnaFont;
    font-size: 2rem;
    color: var(--red-primary);
    float: left;
    letter-spacing: -0.5px;
}

.opciones {
    display: flex;
    justify-content: center;
    align-items: center;
}

.opciones li {
    list-style-type: none;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.opciones li:hover {
    color: var(--red-primary);
}

.opciones ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.telefono {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.telefono i {
    margin-right: 8px;
    color: var(--red-primary);
    font-size: 0.85rem;
}

.telefono h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}

.btnContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.btn {
    border-radius: 50px;
    background: var(--red-primary);
    cursor: pointer;
    color: white;
    padding: 8px 20px;
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn:hover {
    background: var(--red-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

/* ==========================================
   NAVBAR - TIENDA
   ========================================== */

.navbarTienda {
    background: #fff;
    border-bottom: 1px solid var(--gray-100);
}

.cabecera-menu {
    display: grid;
    width: 90%;
    max-width: 1100px;
    place-content: center;
    margin: 0 auto;
}

.cabecera-menu img {
    width: 120px;
    height: 150px;
    margin-top: 16px;
    object-fit: contain;
}

.horario {
    max-width: 1100px;
    margin: 0 auto;
    color: var(--red-primary);
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 12px;
}

.horario i {
    margin-right: 8px;
    color: var(--red-primary);
}

.horario p {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Popup horarios */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 32px;
    border: none;
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    border-radius: var(--radius-lg);
    text-align: center;
    min-width: 300px;
}

.popup button {
    background-color: var(--red-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 32px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.popup button:hover {
    background-color: var(--red-hover);
}

.popup h2 {
    color: var(--red-primary);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.popup p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
}

.reloj-carrito button {
    background-color: transparent;
    color: var(--gray-600);
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.reloj-carrito button:hover {
    color: var(--red-primary);
}

.reloj-carrito {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.reloj-carrito a {
    color: var(--gray-600);
    font-size: 1.1rem;
    transition: color 0.2s;
}

.reloj-carrito a:hover {
    color: var(--red-primary);
}

#contCarr {
    background-color: var(--red-primary);
    border-radius: 100%;
    display: inline-block;
    width: 16px;
    line-height: 16px;
    aspect-ratio: 1;
    text-align: center;
    color: white;
    position: absolute;
    font-size: 0.6rem;
    font-weight: 700;
    top: -4px;
    right: -6px;
}

/* ==========================================
   HERO - INDEX
   ========================================== */

.inicio {
    position: relative;
    height: 100vh;
    background-image: url("img/banner\ 001.jpg");
    background-size: cover;
    background-position: center;
    color: white;
}

.inicio::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 40%, transparent 70%);
}

.inicio .content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 1200px;
    padding-bottom: 8%;
    z-index: 1;
}

.inicio h1 {
    margin: 0;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    max-width: 550px;
    letter-spacing: -0.5px;
}

.inicio .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--red-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 16px;
    font-weight: 700;
    padding: 12px 32px;
    font-size: 0.9rem;
    width: auto;
    height: auto;
    letter-spacing: 0.5px;
}

.inicio .btn:hover {
    background-color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   PROMOCIONES
   ========================================== */

.promociones h1 {
    margin-top: 60px;
    margin-bottom: 40px;
    color: var(--red-primary);
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.productosPromo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 24px;
    justify-items: center;
}

.producto {
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.producto:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.oculto {
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    display: none;
}

.mostrar {
    display: block;
}

.verPromos {
    border-radius: 50px;
    background: var(--red-primary);
    cursor: pointer;
    color: white;
    padding: 14px 40px;
    border: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.2s;
}

.verPromos:hover {
    background: var(--red-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.vermas {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 60px;
}

.info {
    background: linear-gradient(135deg, rgba(134, 18, 27, 0.92), rgba(134, 18, 27, 0.85));
    backdrop-filter: blur(8px);
    padding: 16px 14px;
    border-radius: var(--radius);
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.info h2 {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
}

.info p {
    color: #fff;
    font-weight: 800;
    font-size: 1.6em;
    margin-top: 4px;
}

.producto img {
    border-radius: var(--radius-lg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.producto:hover img {
    transform: translate(-50%, -50%) scale(1.05);
}

/* Linea Refrescos */
.lineaRefrescos {
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto 80px;
    width: 85%;
    transition: all 0.3s ease;
}

.lineaRefrescos:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.lineaRefrescos h1 {
    color: var(--red-primary);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.lineaRefrescos img {
    width: 55%;
    margin-top: auto;
}

/* Cerveza Artesanal */
.infoCerveza {
    text-align: center;
    margin-bottom: 80px;
}

.infoCerveza h1 {
    color: var(--red-primary);
    font-size: 2rem;
    font-weight: 800;
}

.infoCerveza img {
    display: block;
    margin: 24px auto 0;
    max-width: 65%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.whatsapp-btn img {
    width: 56px;
    height: auto;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s;
}

.whatsapp-btn img:hover {
    transform: scale(1.1);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 48px 5% 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer img {
    width: 200px;
    height: 240px;
    object-fit: contain;
    margin-left: 20px;
}

.footLogo {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.footInfo h2 {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.footInfo p {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 6px;
    line-height: 1.5;
}

.footContacto {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.footContacto p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.ctc {
    margin-top: 12px;
    border-radius: 50px;
    background: var(--gray-900);
    color: white;
    padding: 10px 28px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.ctc:hover {
    background-color: var(--gray-700);
    transform: translateY(-1px);
}

footer {
    border-top: 1px solid var(--gray-200);
}

.copyright {
    padding: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
    border-top: 1px solid var(--gray-100);
}

/* ==========================================
   TIENDA - CATEGORIES
   ========================================== */

.imgProducto {
    width: 100%;
    min-height: 160px;
    height: 30vh;
    max-height: 220px;
    border-radius: var(--radius);
    object-fit: cover;
}

.heroContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    margin-bottom: 40px;
}

.agregarCarrito {
    background-color: var(--red-primary);
    color: white;
    border: none;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
}

.agregarCarrito:hover {
    background-color: var(--red-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.novedadesContainer {
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 1100px;
    justify-content: center;
}

.imgCont {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-image: url("/img/banner\ 001.jpg");
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    margin-top: 16px;
}

.scroll-container {
    overflow-x: auto;
    white-space: nowrap;
}

.scroll-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.scroll-arrow:hover {
    border-color: var(--red-primary);
    color: var(--red-primary);
    box-shadow: var(--shadow-sm);
}

.scroll-arrow.disabled {
    color: var(--gray-300);
    pointer-events: none;
}

.cerrarPedido {
    width: 100%;
    text-align: right;
}

.fa-xmark {
    font-size: 1.3rem;
    color: var(--gray-400);
    cursor: pointer;
    transition: color 0.2s;
}

.fa-xmark:hover {
    color: var(--red-primary);
}

.categoriesContainer {
    width: 90%;
    max-width: 1120px;
    padding: 12px 0 32px 0;
    overflow-x: auto;
    overscroll-behavior-x: auto;
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    grid-auto-rows: minmax(auto, 1fr);
    gap: 8px;
}

.categories {
    display: flex;
    max-width: 200px;
    min-width: 100px;
    background-color: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    position: relative;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.2s;
    cursor: pointer;
    padding: 8px 4px;
    overflow: hidden;
}

.categories:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow);
}

.categories:active {
    transform: scale(0.97);
}

.outline {
    border-color: var(--red-primary);
    background-color: #fff;
    box-shadow: 0 0 0 1px var(--red-primary);
}

.categoriesImg {
    width: 55%;
    height: auto;
    border-radius: 8px;
    background-color: #fff;
}

.categoriesContainer::-webkit-scrollbar {
    display: none;
}

.categoriesHeading {
    font-weight: 700;
    font-size: 0.7rem;
    margin: 4px 0;
    color: var(--gray-700);
    letter-spacing: 0.3px;
}

.categoriesList {
    width: 90%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.categoriesList h1 {
    width: 100%;
    text-align: left;
}

.productosHeader {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-800);
    letter-spacing: -0.3px;
}

.categoriesControl {
    width: 90%;
    max-width: 1100px;
    margin-top: 12px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* ==========================================
   TIENDA - PRODUCT CARDS
   ========================================== */

.productosContainer {
    width: 100%;
    display: grid;
    padding: 16px 0 40px 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.productosContainer h2 {
    font-size: 1.3em;
    margin-bottom: 8px;
    padding-top: 20px;
}

.productosTienda {
    border: 1px solid var(--gray-200);
    padding: 14px;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    align-items: stretch;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: #fff;
}

.productosTiendaContainer {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 4px;
}

.productosTienda:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
    transform: translateY(-2px);
}

.productoDescripcion {
    margin: 0;
    padding: 12px 0 8px;
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1 1 auto;
}

.productoDescripcion h3 {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: left;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    color: var(--gray-900);
}

.productoBoton {
    width: 100%;
}

.descripcionProducto {
    font-size: 0.8rem;
    text-align: left;
    color: var(--gray-500);
    margin: 4px 0;
    line-height: 1.4;
}

/* ==========================================
   TIENDA - PRODUCT MODAL
   ========================================== */

.modalBackground {
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

#productoDetalle {
    max-width: 500px;
    transform: none;
    transition: transform 0.3s ease-out;
    min-height: calc(100% - 3.5rem);
}

#detalleProducto {
    background-color: #fff;
    border-radius: var(--radius-xl);
    padding: 24px;
    margin: 0.5rem;
    box-shadow: var(--shadow-xl);
}

#detalleProducto img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
}

.btnCantidad {
    background-color: var(--red-primary);
    color: white;
    border-radius: 50px;
    padding: 6px 14px;
    margin: 10px 0;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btnCantidad:hover {
    background-color: var(--red-hover);
}

.cantidadProducto {
    border: none;
    width: 20%;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.gustosSection {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gustosSection input[type="checkbox"] {
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 2px solid var(--gray-300);
    cursor: pointer;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.15s;
}

.gustosSection input[type="checkbox"]:checked {
    background-color: var(--red-primary);
    border-color: var(--red-primary);
}

.gustosSection input:checked[type="checkbox"] {
    background-image: url(/assets/icons/checkmark.svg);
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.detalleDescripcion {
    font-size: 0.9rem;
    text-align: left;
    color: var(--gray-500);
    margin: 10px 0;
    line-height: 1.5;
}

/* ==========================================
   CARRITO
   ========================================== */

.carritoContainer {
    width: 90%;
    max-width: 700px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    padding-top: 90px;
}

.carritoContainer section,
.detalleContainer,
.formContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.pedidoResumen {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.pedidoResumen h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    padding-top: 20px;
    color: var(--gray-900);
    letter-spacing: -0.3px;
}

.pedidoResumen hr,
#separadorCarrito {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 8px 0;
}

#carrito ul {
    list-style: none;
    color: var(--gray-700);
    font-size: 0.95rem;
}

#carrito ul li {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}

#carrito ul li:last-child {
    border-bottom: none;
}

#carrito .productoContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#carrito .productoContainer h1 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

#carrito h3 {
    text-align: right;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-900);
}

#carrito button {
    background-color: transparent;
    color: var(--red-primary);
    border-radius: 50px;
    padding: 6px 16px;
    margin: 8px 0;
    border: 1px solid var(--red-primary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

#carrito button:hover {
    background-color: var(--red-primary);
    color: white;
}

#totalContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.gustos .productoContainer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: black;
}

.gustosContainer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    padding: 4px 0 8px 0;
}

.gustosContainer a {
    color: var(--red-primary);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.gustosContainer a:hover {
    opacity: 0.8;
}

.detallePedido {
    font-size: 1rem;
    font-weight: 600;
}

.detalleProducto {
    font-size: 1rem;
    font-weight: 600;
}

.detallePrecio {
    font-size: 1rem;
    font-weight: 600;
}

/* ==========================================
   FORM - CARRITO
   ========================================== */

.formContainer {
    margin-top: 24px;
}

.formContainer h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.formContainer article {
    margin-top: 16px;
}

.datosContainer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.datosContainer label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 14px;
    font-weight: 500;
}

.datosContainer input {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    font-size: 0.95rem;
    transition: all 0.2s;
    outline: none;
    background: var(--gray-50);
}

.datosContainer input:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px rgba(134, 18, 27, 0.1);
    background: #fff;
}

.Ingreso {
    border-radius: var(--radius);
    width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
    border: 1px solid var(--gray-200);
    outline: none;
    background: var(--gray-50);
    transition: all 0.2s;
}

.Ingreso:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px rgba(134, 18, 27, 0.1);
    background: #fff;
}

.formSectionTitle {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.radioGroup {
    display: flex;
    gap: 20px;
    margin: 8px 0;
}

.radioOption {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.radioOption input[type="radio"] {
    accent-color: var(--red-primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.tarjetasContainer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 16px 0 24px 0;
    align-items: center;
    gap: 10px;
}

.tarjetasContainer img {
    width: 42px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.tarjetasContainer img:hover {
    opacity: 1;
}

.medioPagoArticle {
    margin-top: 24px;
}

#txtAclaracion {
    width: 100%;
    min-height: 100px;
    padding: 12px 14px;
    margin: 8px 0;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    font-family: "Open Sans", open-sans, sans-serif;
    font-size: 0.95rem;
    outline: none;
    resize: vertical;
    background: var(--gray-50);
    transition: all 0.2s;
}

#txtAclaracion:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px rgba(134, 18, 27, 0.1);
    background: #fff;
}

.aclaracionesContainer {
    margin: 20px 0;
}

.formNote {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 6px;
    line-height: 1.4;
}

#aclaracionProducto {
    width: 100%;
    min-height: 70px;
    border-radius: var(--radius);
    padding: 12px;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    outline: none;
    transition: all 0.2s;
}

#aclaracionProducto:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px rgba(134, 18, 27, 0.1);
    background: #fff;
}

.btnRealizarPedido {
    font-family: "Open Sans", open-sans, sans-serif;
    background-color: var(--red-primary);
    color: white;
    border: none;
    padding: 16px 40px;
    text-align: center;
    transition: all 0.2s;
    margin-top: 28px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50px;
    width: 100%;
    letter-spacing: 0.3px;
}

.btnRealizarPedido:hover {
    background-color: var(--red-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.MensajeError {
    background-color: #dc3545;
    color: white;
    width: 100%;
    text-align: center;
    border-radius: var(--radius);
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.MensajeError:empty {
    display: none;
}

/* ==========================================
   VERIFICACION & COMPRA EXITOSA
   ========================================== */

#verificacionNumero {
    max-width: 500px;
    transform: none;
    transition: transform 0.3s ease-out;
    min-height: calc(100% - 3.5rem);
}

#verificacionNumeroContainer {
    text-align: center;
    background-color: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    margin: 0.5rem;
    box-shadow: var(--shadow-xl);
}

#verificacionNumeroContainer button {
    font-family: "Open Sans", open-sans, sans-serif;
    background-color: var(--red-primary);
    color: white;
    border: none;
    text-align: center;
    transition: all 0.2s;
    margin-top: 20px;
    padding: 14px 0;
    width: 100%;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50px;
}

#verificacionNumeroContainer button:hover {
    background-color: var(--red-hover);
}

#verificacionNumeroContainer h2 {
    font-size: 1.5rem;
    font-weight: 800;
    padding: 16px 0 8px 0;
    color: var(--gray-900);
}

#verificacionCodigo {
    display: none;
    max-width: 500px;
    transform: none;
    transition: transform 0.3s ease-out;
    min-height: calc(100% - 3.5rem);
}

#verificacionCodigoContainer {
    text-align: center;
    background-color: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    margin: 0.5rem;
    box-shadow: var(--shadow-xl);
}

#verificacionCodigoContainer button:nth-of-type(1) {
    font-family: "Open Sans", open-sans, sans-serif;
    background-color: transparent;
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.2s;
    margin-top: 20px;
    padding: 14px 0;
    width: 100%;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 600;
}

#verificacionCodigoContainer button:nth-of-type(1):hover {
    border-color: var(--gray-400);
    color: var(--gray-700);
}

#verificacionCodigoContainer button:nth-of-type(2) {
    font-family: "Open Sans", open-sans, sans-serif;
    background-color: var(--red-primary);
    color: white;
    border: none;
    text-align: center;
    transition: all 0.2s;
    margin-top: 10px;
    padding: 14px 0;
    width: 100%;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50px;
}

#verificacionCodigoContainer button:nth-of-type(2):hover {
    background-color: var(--red-hover);
}

#verificacionCodigoContainer h2 {
    font-size: 1.5rem;
    font-weight: 800;
    padding: 16px 0 8px 0;
    color: var(--gray-900);
}

.celularContainer {
    padding: 20px 0;
}

.celularContainer p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.celularContainer input {
    width: 80%;
    padding: 12px 14px;
    margin: 8px 0;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    font-size: 0.95rem;
    outline: none;
    background: var(--gray-50);
    transition: all 0.2s;
}

.celularContainer input:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px rgba(134, 18, 27, 0.1);
    background: #fff;
}

.divcompraExitosa {
    max-width: 500px;
    width: 90%;
    margin: 100px auto 0;
    padding: 40px 24px;
    border-radius: var(--radius-xl);
    text-align: center;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: var(--shadow-lg);
}

.divcompraExitosa h2 {
    font-size: 1.5rem;
    font-weight: 800;
}

.divcompraExitosa p {
    margin-top: 8px;
    font-size: 1rem;
    opacity: 0.9;
}

.btnCompraExitosa {
    font-family: "Open Sans", open-sans, sans-serif;
    background-color: white;
    color: #16a34a;
    border: none;
    padding: 14px 36px;
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.2s;
}

.btnCompraExitosa:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.confirmacionPedido {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 24px;
}

.confirmacionPedido h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--red-primary);
}

.confirmacionPedido div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.confirmacionPedido button:first-child {
    background-color: var(--red-primary);
    color: white;
    border-radius: 50px;
    padding: 12px 28px;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.confirmacionPedido button:first-child:hover {
    background-color: var(--red-hover);
}

.confirmacionPedido button:nth-child(2) {
    background-color: #fff;
    color: var(--red-primary);
    border-radius: 50px;
    border: 1px solid var(--red-primary);
    padding: 12px 28px;
    margin-top: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.confirmacionPedido button:nth-child(2):hover {
    background-color: var(--red-50);
}

.Mipedido {
    display: grid;
    grid-template-columns: minmax(100px, 2fr);
    grid-template-rows: minmax(100px, 1fr);
}

.contenedor {
    max-width: 1024px;
    width: 90%;
    text-align: left;
}

/* ==========================================
   SKELETON LOADING
   ========================================== */

.skeleton-product {
    display: flex;
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
    padding: 80px 24px;
    border: 1px solid var(--gray-200);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-product-image {
    width: 100px;
    height: 100px;
    background-color: var(--gray-100);
    border-radius: var(--radius);
    margin-right: 20px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-product-details {
    flex: 1;
}

.skeleton-product-name {
    width: 70%;
    height: 20px;
    background-color: var(--gray-100);
    border-radius: 8px;
    margin-bottom: 10px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-product-price {
    width: 50%;
    height: 20px;
    background-color: var(--gray-100);
    border-radius: 8px;
    margin-bottom: 10px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-product-button {
    width: 100px;
    height: 30px;
    background-color: var(--gray-100);
    border-radius: 8px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Product animations */
.product-enter {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-enter-active {
    transition: all 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.product-exit {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-exit-active {
    opacity: 0;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media screen and (max-width: 1200px) {
    .productosPromo {
        grid-template-columns: repeat(2, 1fr);
        place-items: center;
        gap: 20px;
    }

    .inicio h1 {
        font-size: 2rem;
    }

    .promociones h1 {
        margin-bottom: 28px;
        font-size: 2rem;
    }
}

@media only screen and (min-width: 481px) and (max-width: 800px) {
    .inicio .btn {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .productosPromo {
        grid-template-columns: 1fr;
        place-items: center;
        max-width: 400px;
    }

    .promociones h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 1075px) {
    .categoriesControl {
        display: flex;
    }

    .categories {
        min-width: 110px;
    }
}

@media (max-width: 750px) {
    .productosContainer {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .productosPromo {
        grid-template-columns: 1fr;
        place-items: center;
    }

    .inicio h1 {
        font-size: 1.6rem;
    }

    .inicio .btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .promociones h1 {
        font-size: 1.6rem;
    }

    .lineaRefrescos h1 {
        font-size: 1.3rem;
    }

    .lineaRefrescos img {
        width: 80%;
    }

    .infoCerveza h1 {
        font-size: 1.5rem;
    }

    .infoCerveza img {
        max-width: 90%;
    }
}

@media (max-width: 450px) {
    .productosContainer {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Navbar responsive */
@media (max-width: 768px) {
    h3.logo {
        font-size: 1.5rem;
    }

    .telefono h3 {
        font-size: 0.85rem;
    }

    .opciones {
        font-size: 0.85rem;
    }

    .footer {
        grid-template-columns: 1fr;
        place-items: center;
        text-align: center;
        gap: 32px;
        padding: 40px 5% 24px;
    }

    .footer img {
        margin: 0;
    }

    .footInfo {
        margin-top: 0;
    }

    .footInfo h2 {
        margin-bottom: 12px;
    }

    .footContacto {
        margin-top: 0;
    }

    .ctc {
        padding: 10px 32px;
    }
}

@media (max-width: 598px) {
    .opciones {
        display: none;
    }
}

@media (max-width: 415px) {
    h3.logo {
        font-size: 1.3rem;
    }

    .telefono h3 {
        font-size: 0.8rem;
    }
}

@media (max-width: 385px) {
    h3.logo {
        font-size: 1.1rem;
    }

    .telefono h3 {
        font-size: 0.75rem;
    }
}

@media (max-width: 650px) {
    .tarjetasContainer {
        gap: 8px;
    }

    .tarjetasContainer img {
        width: 36px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 960px) {
    .footInfo {
        padding-left: 20px;
    }
}

@media (min-width: 769px) {
    .verPromos {
        padding: 14px 48px;
    }
}
