:root {

    --rojo: #F23041;
    --oscuro: #0D2226;
    --blanco: #F2F2F2;

}

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {

    font-family: 'Montserrat', Arial, sans-serif;

    background-color: var(--blanco);

    color: var(--oscuro);

    min-height: 100vh;
}

.top-banner {

    background: var(--banner-bg);

    color: var(--banner-text);

    text-align: center;

    padding: 10px;

    font-weight: 700;

    font-size: .95rem;
}

.mensaje-envio {

    margin-top: 10px;

    font-size: 1rem;

    opacity: .9;
}

/* ==========================
   HEADER
========================== */

.header {

    background-color: var(--oscuro);

    color: white;

    text-align: center;

    padding: 25px 15px;

    box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.header h1 {

    margin: 0;

    font-size: 2rem;

    font-weight: 700;
}

/* ==========================
   NAVBAR
========================== */

.nav {

    background: white;

    color: var(--oscuro);

    padding: 12px 20px;

    box-shadow: 0 2px 8px rgba(0,0,0,.08);

    position: sticky;

    top: 0;

    z-index: 1000;
}

.nav-container {

    max-width: 1200px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.nav a {

    display: inline-block;

    background-color: var(--rojo);

    color: white;

    text-decoration: none;

    padding: 10px 20px;

    border-radius: 10px;

    font-size: 1rem;

    font-weight: 600;

    transition: .3s;
}

.nav a:hover {

    transform: translateY(-2px);
}

/* ==========================
   BOTON MENU
========================== */

.menu-btn {

    background: var(--oscuro);

    color: white;

    border: none;

    padding: 10px 18px;

    border-radius: 10px;

    cursor: pointer;

    font-weight: 600;
}

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

.cart-link {

    background: var(--rojo);

    color: white;

    text-decoration: none;

    padding: 10px 18px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    gap: 8px;

    font-weight: 600;
}

.cart-badge {

    background: white;

    color: var(--rojo);

    min-width: 22px;

    height: 22px;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: .8rem;

    font-weight: 700;
}
/* ==========================
   OFERTAS
========================== */

.ofertas {

    padding: 30px 20px;
}

.ofertas h2 {

    text-align: center;

    margin-bottom: 25px;

    font-size: 2rem;

    color: var(--oscuro);
}

.contenedor-ofertas {

    display: flex;

    justify-content: center;

    gap: 25px;

    flex-wrap: wrap;
}

.oferta {

    width: 280px;

    min-height: 180px;

    background: white;

    border-radius: 15px;

    box-shadow: 0 4px 15px rgba(0,0,0,.10);

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 20px;

    font-size: 1.2rem;

    font-weight: 600;

    transition: .3s;
}

.oferta:hover {

    transform: translateY(-5px);
}

/* ==========================
   BOTONES
========================== */

.acciones {

    text-align: center;

    margin-top: 35px;
}

.btn-principal {

    display: inline-block;

    background-color: var(--rojo);

    color: white;

    padding: 15px 35px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 1rem;

    font-weight: 600;

    transition: .3s;
}

.btn-principal:hover {

    transform: translateY(-2px);
}

/* ==========================
   CATEGORIAS
========================== */

.categoria-link {

    text-decoration: none;

    color: inherit;
}

/* ==========================
   PRODUCTOS
========================== */

.producto-card {

    width: 280px;

    background: white;

    border-radius: 15px;

    padding: 20px;

    box-shadow: 0 4px 15px rgba(0,0,0,.10);

    text-align: center;

    transition: .3s;
}

.producto-card:hover {

    transform: translateY(-4px);
}

.producto-card h3 {

    margin-bottom: 10px;
}

.producto-card p {

    margin-bottom: 10px;
}

/* ==========================
   STOCK
========================== */

.sin-stock {

    background-color: var(--rojo);

    color: white;

    padding: 10px;

    border-radius: 8px;

    font-weight: bold;
}

/* ==========================
   SELECTOR CANTIDAD
========================== */

.cantidad {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin: 15px 0;
}

.cantidad button {

    width: 40px;

    height: 40px;

    border: none;

    background-color: var(--oscuro);

    color: white;

    border-radius: 8px;

    cursor: pointer;

    font-size: 18px;

    font-weight: bold;
}

.cantidad span {

    min-width: 30px;

    font-weight: 600;

    font-size: 18px;

    text-align: center;
}

/* ==========================
   MODAL
========================== */

.modal {

    display: none;

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0,0,0,.6);

    z-index: 999;
}

.modal-contenido {

    background: white;

    width: 90%;

    max-width: 550px;

    margin: 60px auto;

    padding: 25px;

    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0,0,0,.25);
}

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

@media (max-width: 768px) {

    .header h1 {

        font-size: 1.5rem;
    }

    .ofertas h2 {

        font-size: 1.5rem;
    }

    .oferta {

        width: 100%;
    }

    .producto-card {

        width: 100%;
    }

    .btn-principal {

        width: 100%;
    }

    .modal-contenido {

        width: 95%;
    }
}

/* ==========================
   HERO
========================== */

.hero {

    background: linear-gradient(
        rgba(13,34,38,.85),
        rgba(13,34,38,.85)
    ),
    url('https://images.unsplash.com/photo-1607623814075-e51df1bdc82f?auto=format&fit=crop&w=1200&q=60');

    background-size: cover;

    background-position: center;

    color: white;

    padding: 80px 20px;

    text-align: center;
}

.hero-content {

    max-width: 800px;

    margin: auto;
}

.hero h1 {

    font-size: 2.5rem;

    margin-bottom: 15px;
}

.hero h2 {

    font-size: 1.6rem;

    font-weight: 500;

    margin-bottom: 20px;

    color: #F2F2F2;

}

.hero p {

    font-size: 1.2rem;

    margin-bottom: 25px;

    opacity: .9;
}

/* ==========================
   BENEFICIOS HERO
========================== */

.hero-beneficios {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 40px;

    flex-wrap: wrap;

    padding: 25px 20px;

    background: white;

    border-bottom: 1px solid #eee;

}

.beneficio {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 1rem;

    font-weight: 600;

    color: var(--oscuro);

}

.page-header {

    text-align: center;

    padding: 30px 20px;
}

.page-header h2 {

    font-size: 2rem;

    margin-bottom: 10px;

    color: var(--oscuro);
}

.page-header p {

    color: #555;
}

/* ==========================
   GRID CATEGORÍAS
========================== */

.grid-categorias {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

    gap: 20px;

    padding: 20px;
}

.categoria-card {

    background: white;

    border-radius: 15px;

    padding: 25px 15px;

    text-align: center;

    text-decoration: none;

    color: var(--oscuro);

    box-shadow: 0 4px 15px rgba(0,0,0,.10);

    transition: .3s;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}

.categoria-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.categoria-img {

    width: 100%;

    height: 180px;

    object-fit: cover;

    display: block;
}

.categoria-card {

    background: white;

    border-radius: 15px;

    text-align: center;

    text-decoration: none;

    color: var(--oscuro);

    box-shadow: 0 4px 15px rgba(0,0,0,.10);

    transition: .3s;

    overflow: hidden;

    display: flex;

    flex-direction: column;
}

.categoria-name {

    font-weight: 700;

    font-size: 1.1rem;

    margin-top: 15px;

    padding: 0 10px;
}

.categoria-total {

    margin-top: 8px;

    margin-bottom: 15px;

    font-size: .9rem;

    opacity: .75;
}
/* ==========================
   GRID PRODUCTOS
========================== */

.grid-productos {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;

    padding: 20px 15px;
}

/* ==========================
   PRODUCTO CARD
========================== */

.producto-card {

    background: white;

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 4px 15px rgba(0,0,0,.10);

    transition: .3s;
}

.producto-card:hover {

    transform: translateY(-5px);
}

.producto-img {

    width: 100%;

    height: 220px;

    object-fit: cover;
}

.producto-info {

    padding: 15px;
}

.producto-title {

    font-size: 1.2rem;

    font-weight: 700;

    margin-bottom: 8px;
}

.producto-descripcion {

    min-height: 45px;

    color: #666;

    font-size: .9rem;

    margin-bottom: 10px;
}

.producto-precio {

    font-size: 1.4rem;

    font-weight: 700;

    color: var(--rojo);

    margin-bottom: 5px;
}

.producto-unidad {

    font-size: .85rem;

    color: #777;

    margin-bottom: 15px;
}

/* ==========================
   BOTONES CANTIDAD
========================== */

.btn-cantidad {

    width: 40px;

    height: 40px;

    border: none;

    background-color: var(--oscuro);

    color: white;

    border-radius: 10px;

    font-size: 18px;

    font-weight: bold;

    cursor: pointer;

    transition: .2s;
}

.btn-cantidad:hover {

    background-color: var(--rojo);
}

.cantidad-num {

    font-size: 18px;

    font-weight: 600;
}

.cantidad {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;
}

/* ==========================
   PRODUCTO DESTACADO
========================== */
.producto-badge {

    position: absolute;

    top: 10px;

    left: 10px;

    background: var(--rojo);

    color: white;

    padding: 5px 10px;

    border-radius: 20px;

    font-size: .8rem;

    font-weight: 600;
}

.producto-imagen-container {

    position: relative;
}

/* ==========================
   ZOOM IMAGEN PRODUCTO
========================== */

.zoom-btn {

    position:absolute;

    top:10px;

    right:10px;

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:rgba(0,0,0,.55);

    color:white;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    transition:.25s;

    backdrop-filter:blur(4px);

}

.zoom-btn:hover {

    background:rgba(0,0,0,.75);

    transform:scale(1.08);

}

.producto-imagen-container:hover .zoom-btn {

    opacity:1;

}

.producto-img {

    cursor:zoom-in;

    transition:.3s;

}

.producto-imagen-container:hover .producto-img {

    transform:scale(1.05);

}

.modal-imagen {

    display:none;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.9);

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.modal-imagen img {

    max-width:90%;

    max-height:90%;

    border-radius:10px;

}

.cerrar-modal {

    position:absolute;

    top:20px;

    right:30px;

    color:white;

    font-size:2rem;

    cursor:pointer;

}

@media(max-width:768px){

    .grid-productos {

        grid-template-columns: 1fr;

        gap: 20px;

    }

}

/* ==========================
   STOCK
========================== */

.sin-stock {

    background-color: var(--rojo);

    color: white;

    padding: 10px;

    border-radius: 10px;

    font-weight: bold;

    text-align: center;

    margin-top: 10px;
}

/* ==========================
   PAGINACIÓN
========================== */

.paginacion {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin: 30px 0;
}

.btn-pagina {

    padding: 10px 15px;

    border-radius: 10px;

    text-decoration: none;

    background: white;

    color: var(--oscuro);

    box-shadow: 0 2px 8px rgba(0,0,0,.10);

    font-weight: 600;

    transition: .3s;
}

.btn-pagina:hover {

    background: var(--rojo);

    color: white;
}

.btn-pagina.activa {

    background: var(--rojo);

    color: white;
}

/* ==========================
   BOTÓN VOLVER A CATEGORÍAS
========================== */

.volver-categorias {

    display: inline-block;

    margin: 0 0 20px 20px;
    padding: 7px 13px;

    color: var(--rojo);
    background: white;

    border: 1px solid var(--rojo);
    border-radius: 6px;

    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;

    transition: all .2s ease;
}

.volver-categorias:hover {
    
    background: var(--rojo);
    color: white;
}

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

.carrito-container {

    display: flex;

    flex-direction: column;

    gap: 15px;

    padding: 20px;
}

/* ITEM */
.carrito-item {

    background: white;

    border-radius: 15px;

    padding: 15px;

    box-shadow: 0 4px 15px rgba(0,0,0,.10);

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;
}

.carrito-info {

    flex: 1;
}

.carrito-nombre {

    font-size: 1.1rem;

    font-weight: 700;

    margin-bottom: 5px;
}

.carrito-precio {

    color: var(--rojo);

    font-weight: 600;

    margin-bottom: 5px;
}

.carrito-subtotal {

    font-size: 0.95rem;
}

/* CONTROLES */
.carrito-controles {

    display: flex;

    align-items: center;

    gap: 10px;
}

/* ELIMINAR */
.carrito-eliminar a {

    color: var(--rojo);

    text-decoration: none;

    font-weight: 600;
}

/* TOTAL */
.carrito-total {

    text-align: center;

    margin-top: 20px;

}

.carrito-total h3 {

    font-size: 1.8rem;

    color: var(--oscuro);
}

/* ACCIONES */
.carrito-acciones {

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

    margin: 20px;
}

.btn-secundario {

    background-color: var(--oscuro);

    color: white;

    padding: 12px 20px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;
}

.btn-secundario:hover {

    opacity: .9;
}

/* ==========================
   CHECKOUT
========================== */

.checkout-form {

    max-width: 800px;

    margin: auto;

    padding: 20px;
}

/* BLOQUES */
.checkout-box {

    background: white;

    padding: 20px;

    border-radius: 15px;

    box-shadow: 0 4px 15px rgba(0,0,0,.08);

    margin-bottom: 20px;
}

.checkout-box h3 {

    margin-bottom: 15px;

    color: var(--oscuro);
}

/* INPUTS */
.checkout-box input,
.checkout-box select,
.checkout-box textarea {

    width: 100%;

    padding: 12px;

    margin-top: 5px;

    margin-bottom: 15px;

    border: 1px solid #ddd;

    border-radius: 10px;

    font-size: 1rem;
}

/* RADIO */
.radio-box {

    display: block;

    margin-bottom: 10px;

    font-weight: 600;
}

/* DELIVERY BOX */
.delivery-box {

    margin-top: 15px;

    padding-top: 10px;

    border-top: 1px solid #eee;
}

/* RESUMEN */
.checkout-resumen {

    background: white;

    padding: 20px;

    border-radius: 15px;

    box-shadow: 0 4px 15px rgba(0,0,0,.08);

    margin-bottom: 20px;

    font-size: 1.1rem;
}

.total-final {

    font-size: 1.5rem;

    font-weight: 700;

    color: var(--rojo);

    margin-top: 10px;
}

/* BOTÓN FINAL */
.btn-checkout {

    width: 100%;

    background-color: var(--rojo);

    color: white;

    border: none;

    padding: 15px;

    font-size: 1.2rem;

    font-weight: 700;

    border-radius: 12px;

    cursor: pointer;

    transition: .3s;
}

.btn-checkout:hover {

    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .checkout-form {

        padding: 10px;
    }
}

/* ==========================
   PAGO
========================== */

.payment-form {

    max-width: 700px;

    margin: auto;

    padding: 20px;
}

.payment-box {

    background: white;

    padding: 20px;

    border-radius: 15px;

    box-shadow: 0 4px 15px rgba(0,0,0,.08);

    display: flex;

    flex-direction: column;

    gap: 15px;
}

/* OPCIÓN DE PAGO */
.payment-option {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px;

    border: 2px solid #eee;

    border-radius: 12px;

    cursor: pointer;

    transition: .2s;
}

.payment-option:hover {

    border-color: var(--rojo);
}

.payment-option input {

    transform: scale(1.2);
}

.payment-option div {

    display: flex;

    flex-direction: column;

    font-weight: 600;
}

.payment-option span {

    font-size: 0.9rem;

    font-weight: 400;

    color: #666;

    margin-top: 3px;
}

/* TOTAL */
.payment-total {

    text-align: center;

    margin: 25px 0;

    font-size: 1.2rem;
}

.payment-amount {

    font-size: 2rem;

    font-weight: 700;

    color: var(--rojo);

    margin-top: 5px;
}

/* ==========================
   CONFIRMACIÓN
========================== */

.confirm-item {

    display: flex;

    justify-content: space-between;

    padding: 10px 0;

    border-bottom: 1px solid #eee;

    font-size: 1rem;
}

/* EVITA QUE TODO PAREZCA TEXTO PLANO */
.checkout-box p {

    margin: 5px 0;

    color: #333;
}

/* ==========================
   COMPROBANTE
========================== */


.comprobante-container {

    display: flex;

    justify-content: center;

    padding: 20px;
}

.comprobante {

    width: 100%;

    max-width: 650px;

    background: white;

    border-radius: 15px;

    padding: 25px;

    box-shadow: 0 4px 20px rgba(0,0,0,.12);
}

.comprobante h2 {

    text-align: center;

    margin-bottom: 20px;

    color: var(--oscuro);
}

/* HEADER */
.comprobante-header p {

    margin: 5px 0;

    font-size: 1rem;
}

/* SECCIONES */
.comprobante-section h3 {

    margin-bottom: 10px;

    color: var(--oscuro);
}

/* ITEMS */
.comp-item {

    display: flex;

    justify-content: space-between;

    padding: 8px 0;

    border-bottom: 1px solid #eee;
}

/* RESUMEN */
.comprobante-resumen {

    margin-top: 10px;

    font-size: 1rem;
}

.comprobante-resumen h3 {

    color: var(--rojo);

    font-size: 1.5rem;

    margin-top: 10px;
}

.alerta-pago{

    padding:15px;
    margin:20px 0;
    border-radius:8px;
    font-size:16px;

}

.alerta-aprobado{

    background:#d4edda;
    color:#155724;
    border:1px solid #c3e6cb;

}

.alerta-rechazado{

    background:#f8d7da;
    color:#721c24;
    border:1px solid #f5c6cb;

}

.alerta-pendiente{

    background:#fff3cd;
    color:#856404;
    border:1px solid #ffeeba;

}

/* ACCIONES */
.comprobante-actions {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 20px;
}

/* WHATSAPP */
.btn-whatsapp {

    display: block;

    text-align: center;

    background-color: #25D366;

    color: white;

    padding: 15px;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 700;

    transition: .3s;
}

.btn-whatsapp:hover {

    opacity: .9;
}

/* ==========================
   ADMIN LOGIN
========================== */

.admin-login-container {

    display: flex;

    justify-content: center;

    align-items: center;

    min-height: 80vh;

    padding: 20px;
}

.admin-login-box {

    background: white;

    padding: 30px;

    border-radius: 15px;

    box-shadow: 0 6px 25px rgba(0,0,0,.15);

    width: 100%;

    max-width: 400px;

    text-align: center;
}

.admin-login-box h2 {

    margin-bottom: 20px;

    color: var(--oscuro);
}

.admin-login-box label {

    display: block;

    text-align: left;

    margin: 10px 0 5px;

    font-weight: 600;
}

.admin-login-box input {

    width: 100%;

    padding: 12px;

    border-radius: 10px;

    border: 1px solid #ddd;

    margin-bottom: 10px;

    font-size: 1rem;
}

/* ERROR */
.admin-error {

    background: #ffe5e5;

    color: #b22222;

    padding: 10px;

    border-radius: 10px;

    margin-bottom: 15px;

    font-weight: 600;
}

/* BOTÓN LOGIN */
.btn-admin-login {

    width: 100%;

    background-color: var(--oscuro);

    color: white;

    border: none;

    padding: 12px;

    border-radius: 10px;

    font-size: 1rem;

    font-weight: 700;

    cursor: pointer;

    transition: .3s;
}

.btn-admin-login:hover {

    background-color: var(--rojo);
}

/* ==========================
   ADMIN DASHBOARD
========================== */

.admin-header {

    background-color: var(--oscuro);

    color: white;

    padding: 20px;

    text-align: center;

    border-radius: 15px;

    margin: 20px;
}

/* GRID KPI */
.admin-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 20px;

    padding: 20px;
}

/* ACCIONES */
.admin-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 10px;
}

/* BOTONES ADMIN (refuerzo visual) */
.btn-admin {

    display: inline-block;

    background-color: var(--oscuro);

    color: white;

    padding: 10px 15px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;
}

.btn-admin:hover {

    background-color: var(--rojo);
    transform: translateY(-2px);
}

/* ==========================
   TABLA ADMIN MEJORADA
========================== */

.admin-table {

    width: 100%;

    border-collapse: collapse;

    background: white;

    border-radius: 15px;

    overflow: hidden;
}

.admin-table th {

    background-color: var(--oscuro);

    color: white;

    padding: 12px;

    text-align: left;
}

.admin-table td {

    padding: 12px;

    border-bottom: 1px solid #eee;
}

.admin-table tr:hover {

    background-color: #f9f9f9;
}

/* ==========================
   DETALLE PEDIDO ADMIN
========================== */

.admin-card h3 {

    margin-bottom: 10px;
}

.admin-form label {

    display: block;

    margin-top: 10px;

    font-weight: 600;
}

.admin-form select {

    width: 100%;

    padding: 10px;

    border-radius: 10px;

    border: 1px solid #ddd;

    margin-bottom: 10px;
}

/* ==========================
   VENTA WHATSAPP ADMIN
========================== */

.btn-whatsapp-eliminar{
    background:none;
    border:none;
    cursor:pointer;
    color:#d32f2f;
    font-size:14px;
}

.btn-whatsapp-eliminar:hover{
    text-decoration:underline;
}

#sugerencias-productos{
    position:absolute;
    background:white;
    border:1px solid #ddd;
    width:300px;
    z-index:1000;
}

.item-sugerencia{
    padding:10px;
    cursor:pointer;
}

.item-sugerencia:hover{
    background:#f5f5f5;
}

/* ==========================
   PRODUCTOS ADMIN
========================== */

.admin-card a {

    text-decoration: none;
}

.text-red {

    color: var(--rojo);

    font-weight: 600;
}

/* ==========================
   FORM ADMIN PRODUCTO
========================== */

.admin-form {

    max-width: 700px;

    margin: 0 auto;
}

.admin-form label {

    display: block;

    margin-top: 12px;

    font-weight: 600;
}

.admin-form input,
.admin-form select,
.admin-form textarea {

    width: 100%;

    padding: 10px;

    margin-top: 5px;

    border-radius: 10px;

    border: 1px solid #ddd;

    font-size: 1rem;
}

.admin-form textarea {

    min-height: 100px;

    resize: vertical;
}

/* mejora visual mínima */
.admin-header h2 {

    margin: 0;
}

/* reutiliza admin-table y btn-admin */

.admin-table td {

    vertical-align: middle;
}

.footer {

    background: #0D2226;

    color: #F2F2F2;

    text-align: center;

    padding: 15px;

    margin-top: 40px;

    font-size: 14px;
}

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

.promociones {
    padding: 30px 0;
    width: 100%;
    box-sizing: border-box;
}

.slider-promociones {

    max-width: 1200px;

    margin: auto;
}

.promo-slide {

    width: 100%;
}

.promo-slide img {

    width: 100%;

    border-radius: 15px;

    box-shadow: 0 4px 15px rgba(0,0,0,.15);

    display: block;
}

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

.slider-container {
    position: relative;

    width: 100%;
    max-width: none;
    margin: 0;

    overflow: hidden;
    border-radius: 0;
}

.slider-promociones {
    display: flex;
    width: 100%;

    transition: transform .5s ease;
}

.promo-slide {
    position: relative;
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.promo-slide img {
    display: block;

    width: 100%;
    height: 400px;

    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.admin-info-box {
    background: #fff8e1;
    border-left: 4px solid #f2b705;

    padding: 12px;
    margin: 10px 0 20px;

    border-radius: 8px;
    font-size: .95rem;
}

/* FLECHAS */

.slider-btn {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    background: rgba(0,0,0,.5);
    color: white;

    border: none;
    width: 45px;
    height: 45px;

    border-radius: 50%;
    cursor: pointer;

    font-size: 1.4rem;
    z-index: 10;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* DOTS */

.slider-dots {
    position: absolute;

    bottom: 15px;
    width: 100%;

    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;

    border-radius: 50%;
    background: rgba(255,255,255,.5);

    cursor: pointer;
}

.dot.active {
    background: white;
}


.promo-slide {

    position: relative;

    min-width: 100%;
}

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

.promo-header {
    width: 100%;
    margin: 0 auto 15px;
    box-sizing: border-box;

    background: var(--rojo);
    color: white;
    text-align: center;

    padding: 14px;
    border-radius: 0;

    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .5px;

    box-shadow: 0 3px 10px rgba(0,0,0,.15);
}

/* ==========================
   TITULO DEL CARRUSEL
========================== */

.promo-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 20px;

    background: linear-gradient(
        transparent,
        rgba(0,0,0,.75)
    );

    color: white;
}

.promo-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* ==========================
   MENU LATERAL
========================== */

.menu-lateral {

    position: fixed;

    top: 0;

    left: -300px;

    width: 280px;

    height: 100%;

    background: #000;

    box-shadow: 2px 0 10px rgba(0,0,0,.2);

    z-index: 2000;

    transition: .3s;

    padding-top: 60px;

    display: flex;

    flex-direction: column;
}

.menu-lateral.abierto {

    left: 0;
}

.menu-lateral a {

    padding: 15px 25px;

    text-decoration: none;

    color: var(--oscuro);

    font-weight: 600;

    border-bottom: 1px solid #eee;
}

.menu-lateral a:hover {

    background: #f5f5f5;
}

.cerrar-menu {

    position: absolute;

    top: 15px;

    right: 15px;

    border: none;

    background: none;

    font-size: 1.5rem;

    cursor: pointer;
}

/* FONDO OSCURO */

.overlay-menu {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0,0,0,.4);

    display: none;

    z-index: 1500;
}

.overlay-menu.abierto {

    display: block;
}

/* ==========================
   PAGINAS INFORMATIVAS
========================== */

.info-page {

    padding: 40px 20px;

    display: flex;

    justify-content: center;
}

.info-card {

    background: white;

    max-width: 800px;

    width: 100%;

    padding: 30px;

    border-radius: 15px;

    box-shadow: 0 4px 15px rgba(0,0,0,.10);
}

.info-card h2 {

    margin-bottom: 20px;

    color: var(--oscuro);
}

.info-card p {

    margin-bottom: 15px;

    line-height: 1.6;
}

.info-card ul {

    margin-left: 25px;

    margin-bottom: 20px;
}

.info-card li {

    margin-bottom: 8px;
}

/* ==========================
   WHATSAPP FLOTANTE
========================== */
.whatsapp-float {

    position: fixed;

    right: 20px;

    bottom: 20px;

    background: #25D366;

    color: white;

    padding: 14px 20px;

    border-radius: 40px;

    text-decoration: none;

    font-weight: 700;

    box-shadow: 0 4px 15px rgba(0,0,0,.25);

    z-index: 9999;
}

/* ==========================
   LOGO EMPRESA
========================== */

.logo-container{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:15px;
}

.logo-img {

    max-height: 90px;

    width: auto;

    object-fit: contain;
}

.logo{

    margin:0;

}

/* ==========================
   SLOGAN EMPRESA
========================== */

.empresa-info{

    display:flex;

    flex-direction:column;

    align-items:flex-start;

}

.empresa-slogan{

    margin:3px 0 0;

    font-size:0.9rem;

    color:#D9D9D9;

}

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

.footer {

    background: var(--oscuro);

    color: white;

    margin-top: 50px;

    padding: 30px 20px 15px;
}

.footer-content {

    max-width: 1200px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    gap: 40px;

    flex-wrap: wrap;
}

.footer-content h3 {

    margin-bottom: 12px;

    color: var(--rojo);
}

.footer-content p {

    margin-bottom: 8px;

    opacity: .9;
}

.footer-bottom {

    border-top: 1px solid rgba(255,255,255,.15);

    margin-top: 20px;

    padding-top: 15px;

    text-align: center;

    font-size: .9rem;

    opacity: .8;
}

.footer-logo {

    max-height: 70px;

    margin-bottom: 15px;
}

/* ==========================
   PAGINAS INFORMATIVAS
========================== */

.pagina-info {

    text-align: center;

    margin-bottom: 30px;
}

.pagina-info h2 {

    margin-bottom: 10px;
}

.pagina-info-texto {

    opacity: .8;
}

/* ==========================
   ZONAS DE ENVIO
========================== */

.zona-card {

    background: white;

    border-radius: 18px;

    overflow: hidden;

    margin-bottom: 25px;

    box-shadow: 0 4px 15px rgba(0,0,0,.08);

    transition: .3s;
}

.zona-card:hover {

    transform: translateY(-3px);
}

.zona-header {

    background: var(--rojo);

    color: white;

    padding: 15px 20px;
}

.zona-header h3 {

    margin: 0;

    font-size: 1.2rem;
}

.zona-body {

    padding: 20px;
}

.zona-barrios {

    margin-top: 8px;

    margin-bottom: 18px;

    line-height: 1.6;
}

.zona-info {

    display: inline-block;

    background: rgba(242,48,65,.1);

    color: var(--rojo);

    padding: 8px 14px;

    border-radius: 30px;

    font-weight: 600;

    margin-bottom: 15px;
}

.zona-precio {

    font-size: 1.1rem;

    font-weight: 700;

    color: var(--oscuro);
}

/* ==========================
   CONTACTO
========================== */

.contacto-container {

    max-width: 1000px;

    margin: auto;

}

.contacto-acciones {

    display: flex;

    gap: 15px;

    justify-content: center;

    flex-wrap: wrap;

    margin: 25px 0;

}

.contacto-acciones .btn-principal {

    min-width: 200px;

    text-align: center;

}

.contacto-container .info-card {

    margin-bottom: 20px;

}

.contacto-container h2,
.contacto-container h3 {

    margin-bottom: 15px;

}

.contacto-container p {

    margin-bottom: 10px;

    line-height: 1.6;

}

.contacto-container hr {

    margin: 20px 0;

    border: none;

    border-top: 1px solid rgba(0,0,0,.15);

}

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

@media (max-width: 768px) {

    .contacto-acciones {

        flex-direction: column;

        align-items: stretch;

    }

    .contacto-acciones .btn-principal {

        width: 100%;

    }

}

/* ==========================
   MEDIOS DE PAGO
========================== */

.medio-pago-card {

    flex: 1;

    min-width: 220px;

    text-align: center;

}

.medio-pago-card h3 {

    font-size: 3rem;

    margin-bottom: 10px;

}

.medio-pago-card h4 {

    margin-bottom: 10px;

}

/* ==========================
   ADMIN PRODUCTOS
========================== */

.admin-producto-img {

    width: 60px;

    height: 60px;

    object-fit: cover;

    border-radius: 10px;

    border: 1px solid #ddd;
}

.admin-producto-preview {

    width: 180px;

    max-width: 100%;

    border-radius: 12px;

    margin-top: 10px;

    border: 1px solid #ddd;
}

/* ==========================
   FILTROS PRODUCTOS ADMIN
========================== */

.admin-filtros {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    align-items: center;
}

.admin-filtros input,
.admin-filtros select {

    padding: 10px;

    border: 1px solid #ddd;

    border-radius: 8px;

    min-width: 220px;
}

/* ==========================
   PAGINACION ADMIN
========================== */

.admin-paginacion {

    margin-top: 20px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 20px;
}

/* ==========================
   LOGO Y ENLACE FACEBOOK
========================== */

.facebook-header{

    color:#F2F2F2;

    text-decoration:none;

    font-size:.9rem;

    display:block;

    margin-top:15px;

    align-self:flex-end;

}

.facebook-header:hover{

    text-decoration:underline;

}

.facebook-footer{

    color:inherit;

    text-decoration:none;

}

.facebook-footer:hover{

    text-decoration:underline;

}

/* ==========================
   NOSOTROS
========================== */

.nosotros-container {

    max-width: 1200px;

    margin: auto;

    padding: 30px 20px;

}

.nosotros-item {

    display:flex;

    align-items:center;

    gap:40px;

    margin-bottom:60px;

}

.nosotros-item img {

    width:45%;

    border-radius:15px;

    box-shadow:0 4px 15px rgba(0,0,0,.15);

}

.nosotros-texto {

    flex:1;

}

.nosotros-texto h3 {

    font-size:1.8rem;

    margin-bottom:15px;

    color:var(--oscuro);

}

.nosotros-texto p {

    font-size:1.1rem;

    line-height:1.7;

    color:#555;

}

.invertido {

    flex-direction:row-reverse;

}

@media (max-width:768px){

    .nosotros-item,
    .reverse{

        flex-direction:column;

    }

    .nosotros-item img{

        width:100%;

    }

}

/* ==========================
   CONFIANZA NOSOTROS
========================== */

.confianza-nosotros {

    margin-top:80px;

    padding:50px 20px;

    background:#f5f5f5;

    text-align:center;

    border-radius:15px;

}


.confianza-nosotros h2 {

    font-size:2rem;

    margin-bottom:40px;

    color:var(--oscuro);

}


.confianza-grid {

    max-width:1100px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}


.confianza-item {

    background:white;

    padding:25px;

    border-radius:15px;

    box-shadow:0 4px 12px rgba(0,0,0,.10);

}


.confianza-icono {

    font-size:2.5rem;

    margin-bottom:15px;

}


.confianza-item h3 {

    font-size:1.1rem;

    margin-bottom:10px;

    color:var(--oscuro);

}


.confianza-item p {

    color:#666;

    line-height:1.5;

}


/* RESPONSIVE */

@media(max-width:768px){

    .confianza-grid {

        grid-template-columns:1fr;

    }

}

/* ======================================
   ADMIN NOSOTROS
====================================== */

.admin-header {

    margin-bottom: 25px;

}

.admin-header h2 {

    font-size: 28px;

    font-weight: 700;

    color: var(--blanco);

}


/* BOTONES ADMIN */

.admin-actions {

    margin-bottom: 25px;

}

.btn-admin {

    display: inline-block;

    padding: 12px 20px;

    background: var(--rojo);

    color: var(--blanco);

    text-decoration: none;

    border-radius: 8px;

    font-weight: 600;

    border: none;

    cursor: pointer;

    transition: .3s;

}

.btn-admin:hover {

    transform: translateY(-2px);

    filter: brightness(.9);

}


/* TARJETAS DE CADA BLOQUE */

.admin-card {

    background: white;

    border-radius: 15px;

    padding: 25px;

    margin-bottom: 30px;

    box-shadow:
        0 4px 15px rgba(0,0,0,.08);

}


/* LABELS */

.admin-card label {

    display: block;

    margin-top: 15px;

    margin-bottom: 8px;

    font-weight: 600;

    color: var(--oscuro);

}


/* INPUTS */

.admin-card input[type="text"],
.admin-card input[type="number"],
.admin-card textarea,
.admin-card select {

    width: 100%;

    padding: 12px;

    border-radius: 8px;

    border: 1px solid rgba(13,34,38,.15);

    font-size: 15px;

    box-sizing: border-box;

    transition: .3s;

}

.admin-card textarea {

    resize: vertical;

    min-height: 120px;

}

.admin-card input:focus,
.admin-card textarea:focus,
.admin-card select:focus {

    outline: none;

    border-color: var(--rojo);

    box-shadow:
        0 0 5px rgba(242,48,65,.35);

}


/* SELECT ESTADO */

.admin-card select {

    background: var(--blanco);

    cursor: pointer;

}


/* IMAGEN ACTUAL */

.imagen-actual {

    margin-top: 25px;

    padding: 15px;

    background: rgba(13,34,38,.04);

    border-radius: 10px;

}

.imagen-actual p {

    margin-top: 0;

}

.imagen-actual img {

    width: 250px;

    max-width: 100%;

    border-radius: 12px;

    display: block;

}


/* INPUT ARCHIVO */

.admin-card input[type="file"] {

    margin-top: 10px;

    padding: 10px;

    background: var(--blanco);

    border-radius: 8px;

    width: 100%;

}


/* BOTON GUARDAR */

.admin-card button {

    margin-top: 25px;

    width: 100%;

    padding: 14px;

    font-size: 16px;

}


/* RESPONSIVE */

@media(max-width:768px){

    .admin-card {

        padding: 20px;

    }

    .admin-header h2 {

        font-size: 22px;

    }

    .imagen-actual img {

        width: 100%;

    }

}

/* ===================================
   NOTIFICACION DE TRANSFERENCIA
====================================== */

.notificacion {

    position: fixed;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    background: #0D2226;

    color: #F2F2F2;

    padding: 14px 24px;

    border-left: 5px solid #F23041;

    border-radius: 10px;

    font-size: 15px;

    font-weight: 600;

    box-shadow: 0 4px 15px rgba(0,0,0,0.25);

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s ease;

    z-index: 9999;

}

.notificacion.mostrar {

    opacity: 1;

    visibility: visible;

    bottom: 45px;

}

/* ===================================
   BOTON DE WHATSAPP TRANFERENCIA
====================================== */

.btn-transferencia {

    display: inline-block;

    padding: 12px 20px;

    text-decoration: none;

    border-radius: 8px;

    font-weight: 600;

    margin-top: 10px;

}

/* ==========================
   RULETA DE LA PRIMAVERA
========================== */

.ruleta-page {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
}

.ruleta-header {
    text-align: center;
    margin-bottom: 30px;
}

.ruleta-header h2 {
    color: #F23041;
    font-size: 2rem;
    margin-bottom: 10px;
}

.ruleta-header p {
    color: #555;
    font-size: 1rem;
}

.ruleta-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.10);
    margin-bottom: 30px;
}

.ruleta-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #0D2226;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #F23041;
}

.btn-girar {
    background: #F23041;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-girar:hover {
    background: #d81d33;
    transform: translateY(-2px);
}

.premios-preview {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.10);
    margin-bottom: 30px;
}

.premios-preview h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #0D2226;
}

.premios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.premios-grid div {
    background: #f7f7f7;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.ruleta-footer {
    text-align: center;
}

.btn-tienda {
    display: inline-block;
    background: #0D2226;
    color: white;
    text-decoration: none;
    padding: 14px 25px;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-tienda:hover {
    background: #071215;
}

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

@media (max-width: 768px) {

    .ruleta-header h2 {
        font-size: 1.6rem;
    }

    .premios-grid {
        grid-template-columns: 1fr;
    }

}

/* ==========================================
   RULETA VISUAL
========================================== */

.ruleta-container {
    text-align: center;
    margin: 40px 0;
}

.flecha-ruleta {
    font-size: 2rem;
    color: #F23041;
    margin-bottom: 10px;
}

.ruleta-demo {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 50%;
    border: 10px solid #F23041;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {

    .ruleta-demo {
        width: 260px;
        height: 260px;
    }

}

.ruleta-svg-container {
    width: 100%;
    margin: 0 auto;
}

.ruleta-svg {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 5s ease-out;
}


@media (max-width: 768px) {

    .ruleta-svg-container {
        width: 280px;
    }

}

.ruleta-wrapper {
    position: relative;
    width: 320px;
    margin: 0 auto;
}

.ruleta-centro {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 80px;
    height: 80px;

    border-radius: 50%;

    background: #F23041;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: bold;

    border: 4px solid white;

    z-index: 10;
}

.mensaje-ruleta {

    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;

}

.mensaje-error {

    background: #ffe5e5;
    border: 2px solid #F23041;
    color: #a00000;

}

.mensaje-premio {

    background: #e8fff0;
    border: 2px solid #28a745;
    color: #155724;

}

.mensaje-participacion {

    background: #fff8e1;
    border: 2px solid #ffc107;
    color: #856404;

}

/* ==========================
   MODAL RULETA
========================== */

.modal-ruleta{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.7);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modal-contenido{
    background:#fff;
    padding:30px;
    border-radius:12px;
    max-width:450px;
    width:90%;
    text-align:center;
    position:relative;
}

.modal-contenido h2 {
    color: #F23041;
    margin-bottom: 15px;
}

.modal-contenido h3 {
    font-size: 28px;
    margin: 15px 0;
}

.btn-modal {
    margin-top: 20px;
    background: #F23041;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.cerrar-modal-x{
    position:absolute;
    top:10px;
    right:10px;
    border:none;
    background:none;
    font-size:24px;
    cursor:pointer;
    font-weight:bold;
}

.modal-contenido{
    position:relative;
}

/* ==========================
   RASPADITA DIA DE LA MADRE
========================== */

.raspadita-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.raspadita-card {
    position: relative;
    width: 350px;
    height: 220px;
    margin: 0 auto;
}

.premio-oculto {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    z-index: 1;
}

#canvas-raspadita {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 2;

    cursor: pointer;
}

.cumple-box {

    margin-top: 10px;

    padding: 18px;

    background: #fff8f8;

    border: 1px solid #f4d5d8;

    border-radius: 10px;

}

.cumple-box h4 {

    margin: 0 0 15px 0;

    color: #F23041;

    font-size: 1.1rem;

}

.checkbox-label {

    display: flex;

    align-items: center;

    gap: 10px;

    cursor: pointer;

}

.checkbox-label input {

    width: auto;

}