@charset "UTF-8";
/*!
* Start Bootstrap - Shop Homepage v5.0.6 (https://startbootstrap.com/template/shop-homepage)
* Copyright 2013-2023 Start Bootstrap
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-shop-homepage/blob/master/LICENSE)
*/
/*!
 * Bootstrap  v5.2.3 (https://getbootstrap.com/)
 * Copyright 2011-2022 The Bootstrap Authors
 * Copyright 2011-2022 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */
body {
    margin: 0;
    font-family: Arial;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
}

/* HEADER */
.header {
    background: #0d0d0d;
    padding: 10px 0;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.logo img {
    height: 45px; /* 🔥 tamaño controlado */
    width: auto;
    display: block;
}

.search {
    flex: 1;
    display: flex;
    justify-content: center;
}

    .search input {
        width: 60%;
        max-width: 400px;
        padding: 8px 12px;
        border-radius: 20px;
        border: none;
        outline: none;
    }

.cart {
    position: relative;
    font-size: 20px; /* tamaño del carrito */
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px; /* 🔥 más chico */
    font-weight: bold;
}

/* MENU */
.menu {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    position: relative;
    z-index: 1000;
    overflow: visible;
}

.menu-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-left,
.menu-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    font-weight: bold;
    color: #333;
}

.menu a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    padding: 12px 0;
    position: relative;
    transition: all 0.2s ease;
}

    .menu a::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 5px;
        left: 0;
        background: #d4af37;
        transition: 0.3s;
    }

    .menu a:hover {
        color: white;
    }

        .menu a:hover::after {
            width: 100%;
        }
/* BANNER */
.banner {
    width: 100%;
    margin-top: 15px;
}

    .banner img {
        width: 100%;
        height: auto; /* 🔥 clave */
        display: block;
        border-radius: 10px;
    }
/* PRODUCTOS */
.producto {
    display: block;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 10px;
    text-decoration: none;
    color: black;
}

.producto-img {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .producto-img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.producto-info {
    text-align: center;
}

.producto h4 {
    font-size: 13px;
    margin: 8px 0;
    height: 32px; /* 🔥 evita que crezca */
    overflow: hidden;
}

.precio {
    color: green;
    font-weight: bold;
    font-size: 14px;
}

@media (max-width: 600px) {
    .grid-productos {
        grid-template-columns: repeat(2, 1fr); /* 🔥 clave */
    }
}

/*//////////////////////////*/
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-content: center;
    gap: 25px;
}

.products-wrapper {
    margin-top: 20px;
    padding: 20px;
    background: #eeeeee;
    border-radius: 15px;
}

.card {
    width: 200px;
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    overflow: hidden;
}

    .card:hover {
        transform: scale(1.03);
    }

    .card img {
        width: 100%;
        height: 140px;
        object-fit: contain; /* 🔥 importante en tu caso */
    }

    .card h3 {
        font-size: 16px;
    }

.price {
    color: green;
    font-weight: bold;
}

.btn {
    background: black;
    color: white;
    padding: 8px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
}

/* FOOTER */
.footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.paginacion {
    text-align: center;
    margin-top: 20px;
}

.pagina {
    display: inline-block;
    padding: 8px 12px;
    margin: 5px;
    background: #ddd;
    text-decoration: none;
    color: black;
    border-radius: 5px;
}

    .pagina.actual {
        background: black;
        color: white;
    }

/* 📱 MOBILE */
@media (max-width: 600px) {
    .logo img {
        height: 30px;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        width: 100%; /* 🔥 importante */
        padding: 10px;
    }

        .card img {
            height: 120px;
        }
}

/* CONTENEDOR */
.dropdown {
    position: relative;
    display: inline-block;
}

/* BOTON */
.dropdown-toggle {
    display: inline-block;
    padding: 12px 0;
    cursor: pointer;
}

/* MENÚ */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(10px);
    transition: 0.25s;
    pointer-events: none;
    z-index: 9999;
}

    /* ITEMS */
    .dropdown-menu a {
        display: block;
        padding: 12px 16px;
        color: #ddd;
        text-decoration: none;
        font-size: 14px;
        transition: 0.2s;
    }

        /* HOVER ITEMS */
        .dropdown-menu a:hover {
            background: #d4af37;
            color: white;
            padding-left: 20px;
        }

/* ACTIVACIÓN */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* 🔥 PUENTE INVISIBLE (NO rompe alineación) */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #cc8744; /* dorado */
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 9999;
}

    .toast.show {
        opacity: 1;
        transform: translateY(0);
    }

.img-container {
    position: relative;
    overflow: hidden; /* 🔥 ESTO ES LO QUE FALTA */
}

.badge-oferta {
    position: absolute;
    top: 20px;
    left: -60px;
    width: 200px; /* 🔥 ancho fijo */
    background: #e60023;
    color: white;
    padding: 6px 0;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(-45deg);
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

.carrito-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
}

.carrito-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.carrito-info {
    flex: 1;
}

    .carrito-info h4 {
        margin: 0 0 5px 0;
    }

.carrito-cantidad {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

.btn-cantidad {
    padding: 5px 10px;
    background: #eee;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
}

    .btn-cantidad:hover {
        background: #ddd;
    }

.carrito-total {
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}

.carrito-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carrito-aviso {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

.envio-opciones {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .envio-opciones label {
        background: #f5f5f5;
        padding: 10px;
        border-radius: 8px;
        cursor: pointer;
    }

.btn-eliminar {
    color: red;
    text-decoration: none;
    font-size: 18px;
}

    .btn-eliminar:hover {
        color: darkred;
    }

.admin-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.filtros {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.tabla {
    width: 100%;
    border-collapse: collapse;
}

    .tabla th {
        background: #222;
        color: white;
        padding: 10px;
    }

    .tabla td {
        padding: 8px;
        border-bottom: 1px solid #ddd;
    }

    .tabla tr:hover {
        background: #f5f5f5;
    }

.btn-nuevo {
    margin-left: auto;
    background: #28a745;
    color: white;
    padding: 6px 10px;
    text-decoration: none;
    border-radius: 4px;
}

.admin-container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.input {
    width: 100%;
    padding: 6px;
    margin-top: 5px;
}

.label-value {
    display: block;
    padding: 6px;
    background: #eee;
    margin-top: 5px;
}

.imagen-box {
    text-align: center;
}

.img-preview {
    width: 100%;
    max-width: 200px;
    border: 1px solid #ccc;
    padding: 5px;
    margin-bottom: 10px;
}

.acciones-form {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.btn-primary {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
}

.btn-secondary {
    padding: 8px 15px;
    background: #ccc;
    text-decoration: none;
}

.login-container {
    display: flex;
    justify-content: center;
    padding: 40px 20px; /* 🔥 espacio arriba */
    background: white;
}

.login-card {
    width: 320px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    background: white;
}

    .login-card h2 {
        text-align: center;
        margin-bottom: 20px;
    }

.form-group {
    margin-bottom: 15px;
}

.input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-login {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
}

.error {
    color: red;
    display: block;
    margin-bottom: 10px;
}

.cuenta-container {
    padding: 20px;
}

/*.venta {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}*/

.cuenta-container {
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

.cuenta-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    font-size: 40px;
    background: #eee;
    padding: 15px;
    border-radius: 50%;
}

.cuenta-resumen {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.card {
    flex: 1;
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

    .card span {
        font-size: 20px;
        font-weight: bold;
    }

.historial {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.venta {
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.datos-envio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

    .datos-envio label {
        grid-column: span 2;
        font-weight: bold;
    }

    .datos-envio .input {
        grid-column: span 2;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

.direccion-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-primary {
    margin-top: 10px;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}

.checkout-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

.checkout-box {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
}

.checkout-total {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-checkout {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

    .btn-checkout:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    }

.btn-checkout {
    background: #009ee3;
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
}

.modal-overlay {
    display: none; /* 🔥 solo este */
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-box {
    background: white;
    border-radius: 16px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

    .modal-box h3 {
        margin-bottom: 10px;
    }

    .modal-box p {
        color: #555;
        margin-bottom: 20px;
    }

.modal-buttons {
    display: flex;
    gap: 10px;
}

    .modal-buttons button {
        flex: 1;
        padding: 12px;
        border-radius: 10px;
        border: none;
        font-size: 16px;
        cursor: pointer;
    }

.btn-cancel {
    background: #eee;
}

.btn-confirm {
    background: #28a745;
    color: white;
}

    .btn-confirm:active {
        transform: scale(0.97);
    }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 600px) {

    .modal-box {
        width: 90%;
        border-radius: 16px; /* 🔥 uniforme */
    }
}

.titulo-admin {
    margin-bottom: 20px;
}

.filtros {
    margin-bottom: 20px;
}

    .filtros a {
        margin-right: 10px;
        text-decoration: none;
        font-weight: bold;
        color: #007bff;
    }

.venta-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.venta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.venta-id {
    font-size: 18px;
    font-weight: bold;
}

.estado {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
}

    .estado.pendiente {
        background: #dc3545;
    }

    .estado.pagado {
        background: #28a745;
    }

    .estado.entregado {
        background: #007bff;
    }

.venta-body {
    margin-bottom: 10px;
}

.total {
    font-size: 18px;
    font-weight: bold;
    margin-top: 5px;
}

.venta-actions {
    display: flex;
    gap: 10px;
}


.admin-btn {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-size: 13px;
}

.admin-btn-entregado {
    background: #28a745;
}

.admin-btn-detalle {
    background: #007bff;
}

/* 📱 MOBILE */
@media (max-width: 600px) {
    .venta-actions {
        flex-direction: column;
    }
}

.admin-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.detalle-box {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detalle-productos {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
}

.detalle-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.detalle-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.detalle-total {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    text-align: right;
}

/* PRODUCTOS */
.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.producto {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

    .producto img {
        width: 100%;
        height: 140px;
        object-fit: contain;
    }

.btn-prod {
    display: inline-block;
    background: black;
    color: white;
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
}

/* PROMO */
.promo {
    margin-top: 30px;
    background: #28a745;
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
}

/* MOBILE */
@media (max-width: 600px) {
    .beneficios {
        flex-direction: column;
    }
}

/*DETALLE DEL PRODUCTO*/
.detalle-container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.detalle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.detalle-img img {
    width: 100%;
    border-radius: 10px;
}

.precio-detalle {
    font-size: 24px;
    font-weight: bold;
    color: green;
}

@media (max-width: 600px) {
    .detalle-grid {
        grid-template-columns: 1fr;
    }
}

.producto img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    cursor: pointer;
    transition: 0.2s;
}

    .producto img:hover {
        transform: scale(1.05);
    }
/* BUSCAR PRODUCTOS */

.hero-search {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 20px;
}

    /* INPUT */
    .hero-search input {
        padding: 8px 10px;
        width: 100%;
        max-width: 320px; /* 🔥 controlado */
        border-radius: 10px 0 0 10px;
        border: 1px solid #d4af37;
        border-right: none; /* 🔥 se une al botón */
        outline: none;
        background: #eee;
        color: #222; /* 🔥 mejor contraste */
        font-size: 13px;
    }

        /* PLACEHOLDER */
        .hero-search input::placeholder {
            color: #999;
        }

        /* FOCUS */
        .hero-search input:focus {
            box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
        }

    /* BOTÓN */
    .hero-search button {
        padding: 8px 10px;
        font-size: 13px;
        border-left: none; /* 🔥 se une al input */
        background: linear-gradient(135deg, #d4af37, #b8962e);
        color: black;
        border-radius: 0 10px 10px 0;
        cursor: pointer;
        transition: 0.2s;
    }

        /* HOVER */
        .hero-search button:hover {
            background: linear-gradient(135deg, #e6c65c, #c9a63a);
        }

/* 📱 MOBILE */
@media (max-width: 768px) {

    .hero-search button {
        border-left: 1px solid #d4af37; /* 🔥 recuperar borde */
        border-radius: 8px; /* 🔥 botón independiente */
        width: auto;
        padding: 8px 14px;
    }

    .hero-search input {
        border-radius: 8px; /* 🔥 también independiente */
        border-right: 1px solid #d4af37;
    }
}

/* 🔥 FIX AUTOFILL CHROME */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #eee inset !important; /* fondo */
    -webkit-text-fill-color: #aaa !important; /* texto */
    transition: background-color 5000s ease-in-out 0s;
}

/*REGISTRO*/
.confirm-container {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.confirm-box {
    background: #111;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    color: white;
    width: 350px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.icono {
    font-size: 50px;
    margin-bottom: 15px;
}

.mensaje {
    display: block;
    margin-bottom: 20px;
    color: #ccc;
}

.btn-login {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

/* /////////////////////////// CONTACTO ////////////////////////77*/

.contacto-container {
    max-width: 1000px;
    margin: auto;
    padding: 30px 20px;
}

    .contacto-container h1 {
        text-align: center;
        margin-bottom: 10px;
    }

.sub {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* FORM */
.contacto-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
}

    .contacto-form .input {
        width: 100%;
        margin-bottom: 10px;
        padding: 10px;
        box-sizing: border-box; /* 🔥 ESTA ES LA CLAVE */
    }

.area {
    height: 120px;
}
/*///////////////////////CONTACTO////////////////////////////////*/
.btn-contacto {
    width: 100%;
    padding: 12px;
    background: #25D366; /* WhatsApp */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* INFO */
.contacto-info {
    background: #111;
    color: white;
    padding: 20px;
    border-radius: 10px;
}

    .contacto-info h3 {
        margin-bottom: 15px;
    }

.horarios {
    margin-top: 20px;
}

/* MENSAJES */
.ok {
    color: green;
    display: block;
    margin-top: 10px;
}

.error {
    color: red;
    display: block;
    margin-top: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }
}
/*////////////////////////////////////////////////////////////////*/

/*////// HOME ////////////////////////////////////////////////////*/
/* HERO IMPACTO */
.hero-impacto {
    position: relative;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    margin-top: 20px;
}

/* IMAGEN + OVERLAY */
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('/img/banner_gemini_1.png') center/cover no-repeat;
    filter: brightness(0.5);
}

/* CAPA OSCURA GRADIENTE */
.hero-impacto::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8), transparent);
}

/* CONTENIDO */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    max-width: 600px;
    color: white;
}

    /* TITULO */
    .hero-content h1 {
        font-size: 42px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

        .hero-content h1 span {
            color: #d4af37;
        }

    /* TEXTO */
    .hero-content p {
        font-size: 16px;
        color: #ddd;
        margin-bottom: 25px;
    }

/* BOTONES */
.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-main {
    background: #d4af37;
    color: black;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

    .btn-main:hover {
        transform: translateY(-2px);
    }

/* BOTON CON GLOW */
.btn-glow {
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.2s;
}

    .btn-glow:hover {
        box-shadow: 0 0 12px #d4af37;
    }

/* MOBILE */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }

    .hero-impacto {
        position: relative;
        width: 100vw;
        height: 70vh; /* 🔥 CLAVE */
        border-radius: 0; /* 🔥 sacar efecto tarjeta */
        overflow: hidden;
        height: 55vh; /* 🔥 bajar altura */
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 25px;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 100%;
        padding: 0 20px;
        margin: auto;
        text-align: center;
    }

        .hero-content h1 {
            font-size: 26px;
            line-height: 1.2;
        }

        .hero-content p {
            font-size: 14px;
        }

    .hero-bg {
        position: absolute;
        inset: 0;
        background-image: url('/img/banner_gemini_cel_1.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/*////////////////////////////////////////////////////////////////*/
/* SECCION HOME */
.home-secciones {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

/* CARD */
.home-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    margin-bottom: 50px;
}

    /* IMAGEN */
    .home-card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

    /* ZOOM HOVER */
    .home-card:hover img {
        transform: scale(1.05);
    }

    /* OVERLAY */
    .home-card .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
        display: flex;
        align-items: flex-end;
        padding: 20px;
    }

    /* TEXTO */
    .home-card h3 {
        color: white;
        font-size: 22px;
        margin: 0;
    }

@media (max-width: 768px) {

    .home-secciones {
        display: flex;
        flex-direction: column;
        align-items: center; /* 🔥 centra todo */
        gap: 20px;
        padding: 0px;
    }

    .home-card {
        margin-bottom: 20px;
        border-radius: 12px;
        max-width: 100%; /* mobile full */
    }

        .home-card img {
            width: 100%;
            object-fit: cover;
        }

        .home-card .overlay {
            padding: 15px;
        }

        .home-card h3 {
            font-size: 18px;
        }
}
/* 🔥 PANEL DESPLEGABLE */
.card-actions {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    padding: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    transition: 0.4s;
}

/* 🔥 CUANDO ESTA ACTIVA */
.home-card.active .card-actions {
    bottom: 0;
}

/* BOTONES */
.btn-card {
    background: #d4af37;
    color: black;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

.btn-card-outline {
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

/*//QUIENES SOMOS Y TRAYECTORIA/////////////////////////////////////////////////////*/
/* CONTENEDOR GENERAL */
.info-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
}

/* TITULOS */
.titulo {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #555555;
}

/* TARJETAS */
.info-card {
    background: #cccccc;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* LISTAS */
.lista {
    list-style: none;
    padding: 0;
}

    .lista li {
        margin-bottom: 10px;
        font-size: 16px;
    }
/* PROMOCIONES */
.promo-box {
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: black;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    transition: 0.2s;
}

    .promo-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

.hero-servicios {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: auto; /* 🔥 NO se recorta */
    display: block;
}
/* OSCURECER IMAGEN */
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.85), transparent);
    display: flex;
    align-items: center;
}

/* CONTENIDO */
.hero-content {
    padding: 60px;
    max-width: 600px;
    color: white;
}

    /* TITULO */
    .hero-content h1 {
        font-size: 42px;
        margin-bottom: 10px;
    }

        .hero-content h1 span {
            color: #d4af37;
        }

    /* TEXTO */
    .hero-content p {
        color: #ddd;
        margin-bottom: 20px;
    }

/* ICONOS */
.hero-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

    .hero-features div {
        background: rgba(212,175,55,0.15);
        border: 1px solid #d4af37;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 13px;
    }

    /*PAGO EXITOSO*/
.pago-ok-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.pago-ok-card {
    background: #111;
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.check {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 15px;
}

.pago-ok-card h1 {
    margin-bottom: 10px;
}

.pago-ok-card p {
    color: #ccc;
    margin-bottom: 15px;
}

.redir {
    font-size: 14px;
}

.btn-volver {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: black;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
}

/*ERROR DE PAGO*/
.pago-error-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.pago-error-card {
    background: #111;
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 420px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.icono-error {
    font-size: 60px;
    color: #dc3545;
    margin-bottom: 15px;
}

.pago-error-card h1 {
    margin-bottom: 10px;
}

.pago-error-card p {
    color: #ccc;
    margin-bottom: 15px;
}

.redir {
    font-size: 14px;
}

.acciones {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-reintentar {
    padding: 12px 20px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: black;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
}

.btn-soporte {
    padding: 12px 20px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 10px;
}

/*USUARIOS*/
.admin-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.grid {
    width: 100%;
    border-collapse: collapse;
}

    .grid th {
        background: #111;
        color: white;
        padding: 10px;
    }

    .grid td {
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

.btn-edit {
    background: #3498db;
    color: white;
    padding: 5px 10px;
}

.btn-delete {
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
}

@media (max-width: 768px) {
    .search-bar {
        flex-direction: column;
    }
}

/*EDITAR USUARIO*/
.form-box {
    max-width: 500px;
    margin: auto;
    background: white;
    padding: 25px;
    border-radius: 12px;
}

.readonly {
    display: block;
    padding: 10px;
    background: #eee;
    margin-bottom: 10px;
}

.input {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px;
}

/*ELIMINAR PRODUCTO*/
.btn-danger {
    background: #dc3545;
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    border: none;
}

    .btn-danger:hover {
        background: #c82333;
    }
