/* =========================================================
   SECCIÓN 1: VARIABLES GENERALES
========================================================= */

:root {
    --color-principal: #111827;
    --color-secundario: #f59e0b;
    --color-fondo: #f5f6f8;
    --color-texto: #1f2937;
    --color-muted: #6b7280;
    --color-blanco: #ffffff;
    --color-borde: #e5e7eb;
}


/* =========================================================
   SECCIÓN 2: CONFIGURACIÓN BASE
========================================================= */

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* =========================================================
   SECCIÓN 3: NAVBAR
========================================================= */

.navbar-brand {
    letter-spacing: 1px;
}

.navbar .nav-link {
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: var(--color-secundario) !important;
}


/* =========================================================
   SECCIÓN 4: BOTONES
========================================================= */

.btn-thalisan {
    background-color: var(--color-secundario);
    border-color: var(--color-secundario);
    color: #111827;
    font-weight: 700;
}

.btn-thalisan:hover {
    background-color: #d97706;
    border-color: #d97706;
    color: #ffffff;
}


/* =========================================================
   SECCIÓN 5: TARJETAS GENERALES
========================================================= */

.card-thalisan {
    background-color: var(--color-blanco);
    border: 1px solid var(--color-borde);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.card-thalisan:hover {
    transform: translateY(-3px);
    transition: all 0.25s ease;
}


/* =========================================================
   SECCIÓN 6: HERO / BANNER PRINCIPAL
========================================================= */

.hero-thalisan {
    background: linear-gradient(135deg, #111827, #374151);
    color: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
}

.hero-thalisan h1 {
    font-weight: 800;
    font-size: 42px;
}

.hero-thalisan p {
    font-size: 18px;
    color: #e5e7eb;
}


/* =========================================================
   SECCIÓN 7: PRODUCTOS
========================================================= */

.producto-card {
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--color-borde);
    background-color: #ffffff;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.producto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.producto-card .p-3 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.producto-card .btn {
    margin-top: auto;
}

.producto-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background-color: #f9fafb;
    padding: 20px;
}

.producto-nombre {
    font-weight: 700;
    font-size: 16px;
    min-height: 48px;
}

.producto-precio {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-secundario);
}


/* =========================================================
   SECCIÓN 8: FORMULARIOS
========================================================= */

.form-control,
.form-select {
    border-radius: 10px;
    border-color: var(--color-borde);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-secundario);
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.20);
}


/* =========================================================
   SECCIÓN 9: FOOTER
========================================================= */

footer {
    margin-top: auto;
}

footer a:hover {
    color: var(--color-secundario) !important;
}


/* =========================================================
   SECCIÓN 10: MINI CARRITO HOVER
========================================================= */

.carrito-hover {
    position: relative;
}

.carrito-hover:hover .dropdown-menu {
    display: block;
}

.mini-carrito {
    width: 320px;
    padding: 10px 0;
    border-radius: 14px;
    border: 1px solid var(--color-borde);
    margin-top: 0;
}

.mini-carrito-item {
    display: flex;
    gap: 10px;
    padding: 10px 15px;
    align-items: center;
}

.mini-carrito-item:hover {
    background-color: #f9fafb;
}

.mini-carrito-item img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border: 1px solid var(--color-borde);
    border-radius: 10px;
    background: #ffffff;
}

.mini-carrito-info {
    flex: 1;
    font-size: 14px;
}

.mini-carrito-info strong {
    display: block;
    color: #111827;
    line-height: 1.2;
}

.mini-carrito-info small {
    color: #6b7280;
}


/* =========================================================
   SECCIÓN 11: RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .hero-thalisan {
        padding: 40px 24px;
        text-align: center;
    }

    .hero-thalisan h1 {
        font-size: 32px;
    }

    .producto-img {
        height: 180px;
    }

    .mini-carrito {
        width: 100%;
    }

}