﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /* Esta propiedad es la clave para que el verde "tiña" la imagen 

        background: radial-gradient(circle, #2d5a27 0%, #1b3018 40%, #080f07 100%);
    */
    background-blend-mode: multiply;
    background: radial-gradient(circle, #1e4d19 0%, #0d1f0b 100%);
    min-height: 100%;
}

/* Asegura que no se tape el fondo */
#app,
main,
article.content {
    background: transparent !important;
    min-height: 100vh;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
} 

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
 

/* Eliminar el círculo negro de fondo de Blazor */
    .loading-progress circle {
        fill: none;
        stroke: rgba(255, 255, 255, 0.1);
        stroke-width: 8;
    }

        .loading-progress circle:last-child {
            stroke: #ffffff;
            filter: drop-shadow(0 0 8px #fff);
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }
.loading-progress circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1); /* Un rastro muy sutil del camino */
    stroke-width: 0.6rem;
    stroke-linecap: round;
}

.loading-progress circle:last-child {
    stroke: #ffffff;
    /* IMPORTANTE: Usamos un blur más controlado para evitar el efecto pixelado 
       y nos aseguramos de que el contenedor SVG sea suficiente */
    filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 10px rgba(255, 255, 0, 0.5));
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

/* Ocultamos la argolla original */
.loading-progress {
    display: none;
}

/* El Balón con Neón Blanco Potenciado */
.loading-progress-text {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background-image: url('/img/tacataca/ball.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    margin: 0;
    /* NEÓN BLANCO MULTICAPA */
    /* Núcleo sólido -> Resplandor suave -> Aura amplia */
    box-shadow: 0 0 15px #ffffff, 0 0 30px #ffffff, 0 0 50px rgba(255, 255, 255, 0.5), 0 0 80px rgba(255, 255, 255, 0.3);
    animation: rotarLogo 2s linear infinite, pulsoNeonBlanco 1.5s ease-in-out infinite alternate;
}

/* Animación de rotación */
@keyframes rotarLogo {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Animación de pulso para el neón blanco */
@keyframes pulsoNeonBlanco {
    from {
        box-shadow: 0 0 15px #ffffff, 0 0 30px rgba(255, 255, 255, 0.6), 0 0 50px rgba(255, 255, 255, 0.3);
    }

    to {
        box-shadow: 0 0 25px #ffffff, 0 0 60px #ffffff, 0 0 90px rgba(255, 255, 255, 0.7), 0 0 130px rgba(255, 255, 255, 0.4);
    }
}

.loading-progress-text:after {
    display: block;
}

/* Definición de la rotación */
 

code {
    color: #c02d76;
}



.content,
article.content {
    overflow: visible !important;
}




.footer {
    /* Gradiente complejo para simular madera */
    background:
    /* Capa 1: Brillo sutil superior */
    linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, transparent 10%),
    /* Capa 2: Vetas finas de madera (repetitivas) */
    repeating-linear-gradient( 0deg, transparent, transparent 1px, rgba(0, 0, 0, 0.03) 2px, transparent 4px ),
    /* Capa 3: Variaciones de color tipo tablón */
    linear-gradient(90deg, #bc7d44 0%, #a16836 25%, #bc7d44 50%, #d4955b 75%, #bc7d44 100% );
    /* Mantenemos tu sombra neón */
    box-shadow: 0px -10px 20px 2px rgba(255, 255, 0, 0.3);
    /* Aseguramos que el contenido respire */
    position: relative;
    overflow: hidden;
}

    /* Opcional: Un "barniz" para dar profundidad */
    .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.15) 100%);
        pointer-events: none;
    }
@media (max-width: 768px) {
    .footer-logo { /* Agregado el punto aquí */
        width: 80px; /* Ajusta según necesites en móvil */
        height: 80px;
    }
}

.footer-content {
    margin-bottom: var(--spacing-4);
    padding-top: var(--spacing-4);
    color: var(--color-white); /* El centro de la letra será blanco */
    /* Efecto Neón: Núcleo blanco + Resplandor amarillo */
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px rgba(255, 255, 0, 0.8), /* Amarillo vibrante cerca */
    0 0 60px rgba(255, 255, 0, 0.2); /* Aura final */
    font-weight: bold; /* El neón luce mejor con letras un poco gruesas */
    letter-spacing: 2px; /* Un poco de aire ayuda a que no se empaste el brillo */
}

.footer-logo {
    width: 120px; /* Ajustado para ser circular y proporcional */
    height: 120px;
    background-image: url('/img/tacataca/taca-circ.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* 1. Hacer el contenedor circular */
    border-radius: 50%;
    /* 2. Efecto Neón Blanco/Amarillo sutil */
    /* Usamos un borde fino blanco y sombras concéntricas */
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), /* Brillo blanco interno */
    0 0 20px rgba(255, 255, 210, 0.4), /* Resplandor blanco cálido */
    0 0 35px rgba(255, 255, 0, 0.2); /* Aura amarilla muy sutil */
    /* Opcional: Centrarlo si está en un flexbox */
    margin: 0 auto;
}

.footer-list {
    list-style: none; 
    padding-left: 0;
}

    .footer-list li a {
        text-decoration: none;
        color: var(--color-white);
    }

.footer-bottom {
    border-top: 1px solid #dee2e6;
    color: var(--color-white)!important;
}

.footer-bottom a {
    color: var(--color-red);
}
@media (max-width: 768px) {

    footer-logo {
        width: 160px;
        height: 70px;
        background-size: 135% auto;
    }

    .footer-info-col {
        margin-left: 10px;
        font-size: 10px
    }

    .ffooter-content .empty-col {
        display: none;
    }
 
}
.no-p {
    padding-left: 0;
    padding-right: 0;
}

.no-m {
    margin-left: 0;
    margin-right: 0;
}

.no-mb {
    margin-bottom: 0px !important;
}
 

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-3);
    gap: var(--spacing-3);
}

.header-logo-container {
    margin-right: var(--spacing-4);
    min-width: 140px;
    display: flex;
    align-items: center;
}

/*.header-logo {
    width: 180px;
    height: 62px;
    background-image: url('/img/logo2529x230.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}*/

 

.search-bar-container {
    width: 100%;
    max-width: 420px;
}

/* Acciones (columna 3) */
.header-actions-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--spacing-3);
    margin-left: var(--spacing-4);
    min-width: 340px;
    z-index: 101 !important;
}

.account-link {
    color: var(--color-text-dark);
    text-decoration: none;
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-base);
    transition: color 0.2s ease;
}

    .account-link:hover {
        color: var(--color-primary);
    }

 

.btn-outline-brand {
    background: #fff;
    color: #23428D !important;
    border: 1.5px solid #23428D;
    border-radius: 0.6rem;
    padding: 0.46em 1.15em;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-outline-brand:hover, .logout-btn:hover {
        background: #23428D;
        color: #fff !important;
    }




.logout-btn {
    background: #fff;
    color: #23428D;
    border: 1.3px solid #23428D;
    border-radius: 0.8em;
    padding: 0.33em 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.13s, color 0.13s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-left: 0.7rem;
}

    .logout-btn:hover {
        background: #23428D;
        color: #fff;
    }

.cart-icon {
    font-size: 1.2rem;
}

.cart-badge, .favorite-badge {
    background: #F6BE00;
    color: #23428D;
    font-size: 0.89rem;
    padding: 0.12em 0.7em;
    border-radius: 1.2em;
    margin-left: 0.3em;
    font-weight: 700;
    vertical-align: middle;
}

.user-greeting {
    color: #23428D;
    font-weight: 600;
    font-size: 1.07rem;
    margin-right: 1.1rem;
}
.user-greeting-white {
    color: white;
    font-weight: 600;
    font-size: 1.07rem;
    margin-right: 1.1rem;
}
.btn-delete-desktop {
    display: block !important;
}
.btn-delete-responsive {
    display: none !important;
}
@media (max-width: 991.98px) {
    .header-actions-container {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        min-width: 0;
    }

    .header-content, .header-actions-container {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        margin-left: 0;
        min-width: 0;
    }

    .header-logo-container {
        margin-right: 0;
    }

 
}
 

.user-avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #23428D 70%, #456ae3 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(35,66,141,0.08);
    border: 2.3px solid #fff;
}

.dropdown-container {
    position: relative;
    display: inline-block;
    z-index: 101 !important;
    width:60px;
}

.dropdown-button {
    background-color: #f0f0f0;
    color: #333;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .dropdown-button:hover {
        background-color: #e0e0e0;
    }

.dropdown-menu {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 101 !important;
    display: flex;
    flex-direction: column;
}

.dropdown-item-account {
    background: none;
    color: var(--color-text-dark);
    border: none;
    padding: 10px 15px;
    text-align: left;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s;
}


.header-nav__mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .header-dropdown {
        display: none !important;
    }

    .header-nav__mobile {
        display: block !important;
    }

}

.header-nav__centered {
    display: grid;
    place-items: center; 
    height: 100%;
}
.header-dropdown__btn {
    width: 100%;
    display: flex;
    justify-content: center; 
    align-items: center;  
}
.mobile-btn {
    background-color: #23428D !important;
    color: #fff !important;
}
.drawer-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    color: #23428D;
    font-size: 1.5rem;
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #23428D;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

    .hamburger-icon::before {
        content: '';
        transform: translateY(-8px);
    }

    .hamburger-icon::after {
        content: '';
        transform: translateY(5px);
    }

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    transition: background-color 0.3s ease;
}

.btr-radius {
    border-top-right-radius: 1.1rem;
}

.btl-radius {
    border-top-left-radius: 1.1rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 12px 18px;
    background-color: #f8fafc; /* Gris azulado muy tenue, no transparente */
    border: 1px solid #e2e8f0;
    overflow-x: auto;
    white-space: nowrap;
}

/* Ítems individuales */
.breadcrumb-item-custom {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

/* El Icono de Casa (Inicio) */
.breadcrumb-icon {
    color: #1b4332; /* Tu Verde Oscuro */
    margin-right: 8px;
    font-size: 1rem;
}

/* Los Enlaces (Páginas anteriores) */
.breadcrumb-item-custom a {
    color: #64748b !important; /* Gris pizarra suave */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .breadcrumb-item-custom a:hover {
        color: #1b4332 !important; /* Cambio a verde oscuro al pasar el mouse */
        text-decoration: underline;
    }

/* El Separador (Chevron) */
.breadcrumb-separator {
    font-size: 0.7rem;
    color: #cbd5e1; /* Gris muy claro */
    margin: 0 12px;
}

/* La Página Actual (Último ítem) */
.breadcrumb-item-custom span {
    color: #1b4332; /* Verde Oscuro */
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Estilo para pantallas pequeñas (Scroll suave) */
.breadcrumb-list::-webkit-scrollbar {
    height: 4px;
}

.breadcrumb-list::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

/* 🔹 Responsive: ocultar breadcrumbs en pantallas menores a 700px */
@media (max-width: 700px) {
    .breadcrumb-list {
        display: none;
    }
}


/*CUSTOM PRODUCT MODAL */


/* Custom Modal Backdrop (fondo invisible para cerrar) */
.modal-backdrop-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Modal Dialog (contenedor principal del modal) */
.modal-dialog-custom {
    position: relative;
    max-width: 750px; /* Aumentar el ancho máximo del modal aquí */
    width: 90%;
    margin: 1.75rem auto;
    pointer-events: none;
    z-index: 1050 !important;
    border: 1px solid black;
    border-radius: 5px;
}

/* Modal Content Card */
.modal-content-custom-product {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    z-index: 2001;
}

/* Modal Headers */
.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-body {
    padding-top: 15px;
}

.custom-options-container,
.color-options-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.custom-option-btn,
.color-option-btn {
    border: 1px solid #ccc;
    background-color: #f8f9fa;
    color: #495057;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
    margin: 5px;
    flex: 0 1 23%;
    box-sizing: border-box;
}

    .custom-option-btn.active,
    .color-option-btn.active {
        background-color: #007bff;
        color: #fff;
        border-color: #007bff;
    }

.serigrafia-colors-container {
    margin-top: 15px;
    border-top: 1px solid #dee2e6;
    padding-top: 15px;
}

@media (max-width: 768px) {
    .modal-dialog-custom {
        max-width: 90%;
    }

    .custom-option-btn,
    .color-option-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .custom-options-container,
    .color-options-row {
        flex-direction: column;
    }
}



/*CUSTOM COLOR SELECTOR*/

.color-buttons-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

button {
    padding: 10px 15px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    cursor: pointer;
    border-radius: 5px;
}

.selected-button {
    border-color: #007bff;
    background-color: #e2f2ff;
    font-weight: bold;
}


.drawer-close-btn {
    background-color: #ff4d4f; /* rojo sutil */
    border: none;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    width: 32px;
    height: 32px;
    border-radius: 50%; /* circular */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: background-color 0.2s, transform 0.2s;
}

    .drawer-close-btn:hover {
        background-color: #d9363e; /* rojo un poco más intenso */
        transform: scale(1.1);
    }

    .drawer-close-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(217, 54, 62, 0.4);
    }



/* Contenedor principal de la tarjeta */
.quote-card-container {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    width: 100%; /* AHORA ES RESPONSIVE AL ANCHO DEL CONTENEDOR PADRE */
    font-family: Arial, sans-serif;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: auto; /* Centra el componente si se usa el max-width */
}

/* Sección de Resumen de Pedido */
.order-summary-section {
    margin-bottom: 25px;

}

.summary-title {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #333;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 1em;
}

.summary-label {
    font-weight: normal;
    flex-basis: 40%;
}

.summary-value {
    font-weight: normal;
    text-align: right;
    flex-basis: 60%;
}

.summary-total-value {
    font-weight: bold;
    text-align: right;
    flex-basis: 60%;
}

.summary-label {
    width: 120px; /* ajusta según necesites */
    display: inline-block;
}

.summary-value {
    display: inline-block;
}


/* Separador */
.customer-data-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

/* Sección de Datos del Cliente */
.customer-data-title {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #333;
}

.form-field {
    margin-bottom: 10px;
}

.form-label-custom {
    display: block;
    font-size: 0.8em;
    margin-bottom: 3px;
    color: #555;
}
.form-control-custom:focus,
.form-control-custom:focus-visible,
.form-input:focus,
.form-input:focus-visible {
    outline: 3px solid #23428D; /* Establece el color azul. Puedes usar el color que prefieras */
}

.form-control-custom {
    width: 100%;
    padding: 6px; /* AUN MAS PEQUEÑO */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.8em; /* AUN MAS PEQUEÑO */
}

/* Mensajes de validación */
.validation-message {
    color: #dc3545;
    font-size: 0.75em;
    margin-top: 5px;
}

/* Estilos para el botón */
.submit-button {
    background-color: #333;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    width: 100%;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    margin-top: 25px;
    transition: background-color 0.3s ease;
}

    .submit-button:hover {
        background-color: #555;
    }



/* Contenedor principal de la tarjeta */
.quote-card-container {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    width: 100%;
    font-family: Arial, sans-serif;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: auto;
}

/* Sección de Resumen de Pedido */
.order-summary-section {
    margin-bottom: 25px;
}

.summary-title {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #333;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 1em;
}

.summary-label {
    font-weight: normal;
    flex-basis: 40%;
}

.summary-value {
    font-weight: normal;
    text-align: right;
    flex-basis: 60%;
}

.summary-total-value {
    font-weight: bold;
    text-align: right;
    flex-basis: 60%;
}

/* Sección de Comentarios */
.customer-data-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.customer-data-title {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #333;
}

.form-field {
    margin-bottom: 10px;
}

.form-control-custom {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.8em;
}

/* Estilos para el botón */
.submit-button {
    background-color: #333;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    width: 100%;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    margin-top: 25px;
    transition: background-color 0.3s ease;
}

    .submit-button:hover {
        background-color: #555;
    }


/* Contenedor general */
.productListOrder-container {
    width: 100%;
}

.productListOrder-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.productListOrder-item {
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.productListOrder-image img {
    display: block;
}

.productListOrder-info p {
    margin-bottom: 0.25rem;
}

.productListOrder-quantity input {
    max-width: 80px;
}

.productListOrder-btnRemove {
    min-width: 90px;
}

/* Desktop > 760px: mantiene alargada */
@media (min-width: 761px) {
    .productListOrder-item {
        flex-direction: row;
    }

    .productListOrder-image {
        width: 300px;
        height: 300px;
        flex-shrink: 0;
    }

    .productListOrder-info {
        flex: 1;
        margin-left: 1rem;
    }
}

/* Mobile 500~760px: 2 columnas */
@media (max-width: 760px) and (min-width: 500px) {
    .productListOrder-item {
        flex-direction: row !important;
        align-items: center;
        justify-content: flex-start;
    }

    .productListOrder-image {
        width: 150px;
        height: 150px;
        flex-shrink: 0;
        margin-right: 0.75rem;
    }

    .productListOrder-info {
        flex: 1;
        font-size: 0.9rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .productListOrder-quantity {
        margin-top: 0.5rem;
    }

    .productListOrder-btnRemove {
        font-size: 0.85rem;
        padding: 0.35rem 0.6rem;
    }
}

/* Ultra Mobile <500px: compacto */
@media (max-width: 499px) {
    .btn-delete-desktop {
        display: none !important;
    }

    .btn-delete-responsive {
        display: block !important;
    }

    .productListOrder-item {
        flex-direction: row !important;
        align-items: center;
        justify-content: flex-start;
    }

    .productListOrder-image {
        width: 150px !important;
        height: 150px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 0.75rem;
    }

    .productListOrder-info {
        flex: 1;
        font-size: 0.85rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .productListOrder-name {
        font-size: 0.95rem;
        font-weight: 600;
    }

    .productListOrder-color,
    .productListOrder-quantity,
    .productListOrder-total,
    .productListOrder-btnRemove {
        font-size: 0.8rem;
    }

        .productListOrder-quantity input {
            max-width: 60px;
        }

    .productListOrder-btnRemove {
        min-width: 70px;
        padding: 0.25rem 0.5rem;
        margin-top: 0.25rem;
        font-size: 0.75rem;
    }

    .productListOrder-total {
        margin-top: 0.25rem;
    }
}




.modern-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding: 10px;
}

/* Contenedor principal */
/* Contenedor principal */
.main-image-container {
    position: relative;
    width: 100%;
    max-width: 600px; /* ancho máximo en desktop */
    height: 400px; /* altura fija */
    overflow: hidden;
    margin: 0 auto;
}

/* Imagen principal */
.main-image-new {
    width: 100%;
    height: 100%;
    object-fit: contain; /* se adapta al contenedor */
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .main-image-container {
        max-width: 100%;
        height: 300px; /* altura más pequeña en mobile */
    }
}

@media (max-width: 480px) {
    .main-image-container {
        height: 200px; /* altura más pequeña en pantallas muy chicas */
    }
}


/* Flechas */
/* Flechas principales (imagen grande) */
.nav-btn-new {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent; /* sin sombra ni fondo */
    color: black; /* negro sólido */
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 84px; /* triple tamaño (28px × 3) */
    z-index: 10;
    transition: transform 0.2s;
}

    /* Hover efecto */
    .nav-btn-new:hover {
        transform: translateY(-50%) scale(1.1);
    }

    /* Posición izquierda y derecha */
    .nav-btn-new.prev {
        left: 10px;
    }

    .nav-btn-new.next {
        right: 10px;
    }


/* Miniaturas */
.thumbnail-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    flex-wrap: nowrap;
}

.thumbnail-new {
    flex-shrink: 0;
    width: 80px; /* ancho fijo */
    height: 80px; /* alto fijo */
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden; /* recorta */
    border-radius: 5px;
}

    .thumbnail-new img {
        width: 100%; /* se adapta al contenedor */
        height: 100%; /* se adapta al contenedor */
        object-fit: contain; /* mantiene proporción sin recortar */
    }

    .thumbnail-new.active-thumb {
        border-color: #007bff;
    }

@media (max-width: 768px) {
    .thumbnail-new {
        width: 60px;
        height: 60px;
    }
}

/* Animaciones */
.fade-out {
    animation: fadeOut 0.2s ease-in forwards;
    opacity: 0;
}

.fade-in {
    animation: fadeIn 0.2s ease-in forwards;
    opacity: 1;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
/* Flechas principales */
.nav-btn-new {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: black; /* negro */
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 100px; /* más grandes */
    z-index: 10;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.2s;
}

    /* Hover efecto */
    .nav-btn-new:hover {
        transform: translateY(-50%) scale(1.2);
    }

    /* Posición izquierda y derecha */
    .nav-btn-new.prev {
        left: 15px; /* espacio desde el borde */
    }

    .nav-btn-new.next {
        right: 15px;
    }


    .thumbnail-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}


.thumbnail-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: black;
    border: none;
    font-size: 28px;
    cursor: pointer;
    z-index: 5;
    padding: 0 5px;
}

.thumbnail-nav-btn.prev { left: 0; }
.thumbnail-nav-btn.next { right: 0; }

.thumbnail-nav-btn:hover { color: #007bff; }
.thumbnail-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.thumbnail-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    flex-wrap: nowrap;
}

.nav-btn-carousel {
    background-color: transparent;
    color: black;
    border: none;
    font-size: 60px; /* más pequeño que en la imagen principal */
    cursor: pointer;
    z-index: 5;
}

    .nav-btn-new.prev {
        left: 0;
    }

    .nav-btn-new.next {
        right: 0;
    }


/* CUSTOM SELECTOR COLOR */

.custom-option-btn.is-selected {
    background: #23428D; /* El color de fondo que quieres */
    color: #FFFFFF; /* Las letras blancas */
}

.custom-option-btn.active, .color-option-btn.active {
    background-color: #23428D;
    color: #fff;
    border-color: #23428D;
}

.blue-btn {
    background-color: #23428D !important;
    color: #fff !important;
    border-color: #23428D !important;
}

.green-btn {
    background: linear-gradient(180deg, #1f4d3a 0%, #163c2d 100%) !important;
    color: #fff !important;
    border-color: #23428D !important;
}

.green-btn-ligth {
    background: linear-gradient(180deg, #2a6a50 0%, #1f533e 100%) !important;
    color: #fff !important;
    border-color: #23428D !important;
}

.color-buttons-container button {
    border: 1px solid #dfe4ee;
    background: #163c2d;
    color: var(--color-white);
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 600;
}

    .color-buttons-container button:hover {
        background: linear-gradient(180deg, #2a6a50 0%, #1f533e 100%) !important;
        color: #fff !important;
        border-color: #23428D !important;
    }

    .color-buttons-container button.active {
        background: linear-gradient(180deg, #2a6a50 0%, #1f533e 100%) !important;
        color: #fff;
        border-color: #23428D;
    }

.p-btn-fav {
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-top: 6px !important;
    padding-bottom: 3px !important;
}

.truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.productListOrder-info {
    min-width: 0;
    flex-grow: 1;
}

.order-summary {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* espacio entre filas */
}

.summary-row {
    display: flex;
    justify-content: space-between; /* separa a los extremos */
    align-items: center;
    width: 100%;
}

.summary-label {
    font-weight: 500;
    white-space: nowrap; /* evita saltos de línea */
}

.summary-value {
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
}


.order-summary-table {
    width: 100%; 
    border-collapse: collapse;
}

    .order-summary-table td {
        padding: 0.5rem 0;
        vertical-align: middle;
    }

    /* columna izquierda */
    .order-summary-table .summary-label {
        text-align: left;
        padding-right: 2rem;
        font-weight: 500;
        white-space: nowrap; /* no permite saltos de línea */
        width: 60%;
    }

    /* columna derecha */
    .order-summary-table .summary-value {
        text-align: right;
        font-weight: 700; 
        white-space: nowrap;  
        width: 40%;
    }

@media (max-width: 576px) {
    .order-summary-table .summary-label {
        width: 55%;
        padding-right: 1rem; /* reducimos separación */
    }

    .order-summary-table .summary-value {
        width: 45%;
    }
}


#blazor-error-ui {
    display: none !important;
    visibility: hidden;
}


/* Asegura que la imagen cubra el contenedor sin distorsión */
.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto es la clave para mantener la consistencia */
    padding: 0.5rem; /* Reemplaza el p-2 de Bootstrap si lo necesitas */
    border-radius: inherit; /* Opcional, si quieres que la imagen siga el borde de la tarjeta */
}

/* Ajuste para el icono de fallback */
.product-card-img-container {
    /* El icono necesita estar centrado dentro de este contenedor de relación de aspecto */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilo del Contenedor Flotante */
.btn-whatsapp-contact {
    /* POSICIONAMIENTO */
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* TAMAÑO (Asegúrate de que la altura y el ancho sean iguales, ej. 70px) */
    width: 70px;
    height: 70px;
    border-radius: 50px;
    /* APARIENCIA */
    background-color: #25d366;
    color: white;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    z-index: 999;
    /* === 🔑 CLAVE: CENTRADO CON FLEXBOX === */
    display: flex; /* Habilita el modo Flexbox */
    justify-content: center; /* Centra el contenido horizontalmente (izquierda/derecha) */
    align-items: center; /* Centra el contenido verticalmente (arriba/abajo) */
}

/* Estilo del ícono */
.whatsapp-icon {
    /* TAMAÑO: Mantén el tamaño que desees (ej: 40px) */
    font-size: 40px;
    /* REMOVIDO: Ya no necesitas line-height, ya que Flexbox se encarga del centrado */
    /* line-height: 70px; <--- ¡Eliminar o comentar! */
}

/* Efecto al pasar el ratón */
.btn-whatsapp-contact:hover {
    background-color: #128c7e;
}

/* Esta técnica oculta el elemento de la vista, pero lo mantiene en el flujo de la página para el SEO y la accesibilidad. */
.visually-hidden {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
}


.dark-bold {
    font-weight: var(--font-weight-bold);
    color: var(--color-white); /* El centro de la letra será blanco */
    /* Efecto Neón: Núcleo blanco + Resplandor amarillo */
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px rgba(255, 255, 0, 0.8), /* Amarillo vibrante cerca */
    0 0 40px rgba(255, 255, 0, 0.4), /* Amarillo sutil lejos */
    0 0 60px rgba(255, 255, 0, 0.2); /* Aura final */
}


.contact-item,
.contact-item a {
    /* Quita la línea de subrayado */
    text-decoration: none;
    /* Opcional: Esto asegura que el texto dentro del enlace mantenga el color oscuro */
    color: inherit;
}

    .contact-item,
    .contact-item a {
        /* Quita la línea de subrayado */
        text-decoration: none;
        /* Opcional: Esto asegura que el texto dentro del enlace mantenga el color oscuro */
        color: inherit;
    }



.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
    color: var(--color-text-dark);
    font-size: var(--font-size-base);
    color: var(--color-yellow);
    padding: var(--spacing-1);
}

    .contact-item span {
        vertical-align: middle;
    }

    .contact-item i,
    .contact-item svg {
        width: 22px;
        height: 22px;
        color: var(--color-dark);
        font-size: 22px;
    }

        .contact-item svg path {
            stroke: var(--color-dark);
        }

.top-background-banner {
    width: 100%;
    height: 736px;
    background: url('/img/tacataca/top-background.png') center center / cover no-repeat;
}

/* Localizamos el contenedor para que nada se escape */
.pagination {
    background-color: transparent !important; /* El contenedor sí puede ser transparente */
    border: none !important;
}

/* Forzamos el fondo blanco sólido a los botones */
.pagination .page-item .page-link {
    background-color: #ffffff !important; /* FONTO BLANCO SÓLIDO */
    color: #444 !important;
    border: 1px solid #e0e0e0 !important;
    margin: 0 3px;
    border-radius: 4px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}

/* Página Activa: Color sólido, no brillante */
.pagination .page-item.active .page-link {
    background-color: var(--color-orange) !important; /* Gris azulado oscuro (Elegante) */
    border-color: #4a5568 !important;
    color: #ffffff !important;
}

/* Hover: Un gris muy suave */
.pagination .page-item .page-link:hover:not(.disabled) {
    background-color: #f7fafc !important;
    border-color: #cbd5e0 !important;
    color: #2d3748 !important;
}

/* Botones deshabilitados */
.pagination .page-item.disabled .page-link {
    background-color: #edf2f7 !important; /* Gris claro sólido */
    color: #a0aec0 !important;
    border-color: #edf2f7 !important;
    opacity: 1 !important; /* Forzamos que se vea el fondo */
}

/* Contenedor del grupo */
.input-group {
    border-radius: 8px;
    overflow: hidden; /* Para que los bordes redondeados se apliquen a los hijos */
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* El prefijo "Ordenar por:" */
.input-group-text {
    background-color: #f3f4f6 !important; /* Gris suave igual al paginador */
    border: 1px solid #e0e0e0 !important;
    color: #4b5563;
    font-size: 0.85rem;
    font-weight: 500;
    padding-left: 15px;
    padding-right: 15px;
}

 
/* El Select (Caja de selección) */
.form-select {
    border: 1px solid #e0e0e0 !important;
    background-color: #ffffff !important;
    color: #1f2937;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    /* Cuando haces click en el select (Focus) */
    .form-select:focus {
        background-color: #ffffff !important;
        border-color: #1b4332 !important; /* VERDE OSCURO */
        box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.15) !important; /* Glow suave verde */
        outline: none;
    }

/* Aplicar el mismo Verde Oscuro al Paginador Activo para que combinen */
.pagination .page-item.active .page-link {
    background-color: var(--color-orange) !important; /* MISMO VERDE OSCURO */
    border-color: #163c2d !important;
    color: #ffffff !important;

}

.brands-infinite-slider {
    padding: 40px 0;
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
}

.slider-title {
    text-align: center;
    margin-bottom: 25px;
}

    .slider-title span {
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 3px;
        color: #94a3b8; /* Gris azulado discreto */
        text-transform: uppercase;
    }

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

/* El truco del movimiento infinito */
.marquee-content {
    display: flex;
    gap: 80px; /* Espacio entre logos */
    animation: scroll-left 30s linear infinite;
}

.brand-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .brand-logo-item img {
        height: 45px; /* Altura uniforme para todos los logos */
        width: auto;
        filter: grayscale(100%); /* Logos en gris para mantener el look industrial */
        opacity: 0.6;
        transition: all 0.3s ease;
    }

    .brand-logo-item:hover img {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.05);
    }

/* Animación CSS */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pausar al pasar el mouse */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Degradados laterales para suavizar la entrada y salida de logos */
.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

@media (max-width: 768px) {
    .marquee-content {
        gap: 50px;
    }

    .brand-logo-item img {
        height: 35px;
    }
}


/* Contenedor padre para limitar el área de las flechas */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Estilo base de las flechas laterales */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    color: #0f172a;
    border-radius: 50%; /* O 4px para un look más sharp */
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .nav-arrow:hover {
        background: var(--color-orange);
        color: #fff;
        border-color: var(--color-orange);
        box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    }

    /* Ubicación específica */
    .nav-arrow.prev {
        left: 0px;
    }

    .nav-arrow.next {
        right: 0px;
    }

/* Ocultar flechas en móviles para no estorbar el touch */
@media (max-width: 768px) {
    .nav-arrow {
        display: none;
    }

        .nav-arrow.prev {
            left: 5px;
        }
        /* Si decides dejarlas, muévelas adentro */
        .nav-arrow.next {
            right: 5px;
        }
}

/* El riel debe tener padding para que las flechas no tapen el contenido */
.catalog-product-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0; /* Espacio para sombras de las cards */
    width: 100%;
    scrollbar-width: none;
}

/* Estilo para el botón de cargar más al final del riel */
.btn-load-inline {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    color: #64748b;
    width: 100%;
    height: 100%;
    min-height: 250px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .btn-load-inline:hover {
        border-color: #0f172a;
        color: #0f172a;
        background: #fff;
    }


/* Altura fija y responsiva para el slider */
.home-slider .carousel-item {
    height: clamp(220px, 28vw, 380px); /* min 220px, escala con el ancho, máx 380px */
    min-height: 220px;
}

    .home-slider .carousel-item img {
        height: 100%;
        width: 100%;
        object-fit: cover; /* recorta sin distorsionar */
    }


.home-features-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
}

/* Base de las Cards */
.feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-white);
    border-radius: var(--radius-sharp);
    padding: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    }

/* Card Principal (Ocupa 2 columnas y 1 fila) */
.card-main {
    grid-column: span 2;
    background: var(--color-orange);
    color: var(--color-white);
}

    .card-main h2 {
        font-size: 2rem;
        font-weight: 800;
        margin: 10px 0;
    }

.card-tag {
    background: var(--accent-blue);
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 2px;
}

/* Card Inferior (Ocupa las 4 columnas) */
.card-action {
    background-color: var(--color-white) !important;
    grid-column: span 4;
    background: var(--gray-bg);
    border: 2px dashed var(--color-dark);
}

.card-content-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Botones con Efecto de Relleno (Identidad de la página) */
.btn-feature-fill {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: var(--radius-sharp);
    cursor: pointer;
    transition: all 0.4s ease-out;
    /* Efecto Relleno solicitado anteriormente */
    background: #25d366;
    background-size: 200% 100%;
    background-position: right bottom;
    color: var(--color-white);
    border: none;
}

.card-main .btn-feature-fill:hover {
    background-position: left bottom;
}

    .card-main .btn-feature-fill:hover a {
        color: var(--color-white) !important;
    }

.btn-feature-outline {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    border-radius: var(--radius-sharp);
    transition: all 0.4s ease-out;
    /* Efecto Relleno de Gris a Navy */
    background-size: 200% 100%;
    background-position: right bottom;
    color: var(--navy-main);
    border: 1px solid var(--navy-main);
}

    .btn-feature-outline:hover {
        background-position: left bottom;
        background-color: var(--color-orange);
        color: var(--color-white);
        border: 1px solid var(--color-orange);
    }

/* Iconos de fondo decorativos */
.card-icon-bg {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 8rem;
    opacity: 0.05;
    color: var(--white);
    transform: rotate(-15deg);
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-action {
        grid-column: span 2;
    }

    .card-content-inline {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .card-main, .card-action {
        grid-column: span 1;
    }
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-header {
    margin-bottom: 50px;
}

.contact-title {
    font-weight: 800;
    color: #2d3436;
    font-size: 2.5rem;
}

.contact-subtitle {
    color: #636e72;
    font-size: 1.1rem;
}

/* Grid principal corregido */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: stretch;
}

.contact-info-card, .contact-form-card {
    background: #ffffff;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-section-title {
    font-weight: 700;
    margin-bottom: 30px;
    color: #2d3436;
    border-bottom: 2px solid var(--color-orange);
    display: inline-block;
    padding-bottom: 5px;
}

/* Items de Información */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    background-color: var(--color-orange);
    color: #0d6efd;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text label {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    color: #0d6efd;
    margin-bottom: 2px;
}

.contact-text p {
    margin: 0;
    color: #2d3436;
}

.contact-map-container {
    margin-top: auto;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

/* Estilos del Formulario */
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #4b4b4b;
    font-size: 0.9rem;
}

.contact-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #f1f3f5;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .contact-input:focus {
        border-color: #0d6efd;
        background-color: #fff;
        outline: none;
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.1);
    }

.contact-submit-btn {
    width: 100%;
    background-color: var(--color-orange);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Footer de la tarjeta */
.contact-social-footer {
    margin-top: auto;
    padding-top: 30px;
    text-align: center;
}

.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    color: #adb5bd;
    font-size: 1.5rem;
    transition: color 0.3s;
}

    .social-link:hover {
        color: #0d6efd;
    }

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }
}


:root {
    --navy-main: #0f172a; /* Azul medianoche (Padres) */
    --navy-sub: #334155; /* Azul acero medio (Hijos) */
    --white-bg: rgba(255, 255, 255, 0.96);
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --radius-panel: 28px;
    --radius-btn: 16px;
}

/* Fondo con desenfoque */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(8px);
    z-index: 300;
}

/* Panel Flotante */
.drawer-menu {
    position: fixed;
    top: 20px;
    bottom: 20px;
    left: 20px;
    width: 340px;
    background: var(--white-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-panel);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
    transform: translateX(-120%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 303 !important;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

@media (max-width: 480px) {
    .drawer-menu {
        top: 0;
        left: 0;
        bottom: 0;
        width: 88%;
        border-radius: 0 var(--radius-panel) var(--radius-panel) 0;
        margin: 0;
    }
}

.drawer-menu.is-open {
    transform: translateX(0);
}

/* Header Centrado */
.drawer-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 20px 25px;
    gap: 15px;
    background-color: var(--navy-banner); /* Color branding azul */
}

    .drawer-header h3 {
        font-size: 1rem;
        font-weight: 800;
        color: var(--color-white);
        text-transform: uppercase;
        letter-spacing: 3px;
        margin: 0;
    }

.drawer-close-btn {
    background: #f1f5f9;
    border: none;
    color: var(--navy-main);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .drawer-close-btn:hover {
        background: var(--navy-main);
        color: white;
    }

/* Lista */
.drawer-menu__list {
    padding: 10px;
    list-style: none;
    margin: 0;
    overflow-y: auto;
}

/* BOTÓN PADRE: Relleno Azul Oscuro */
.drawer-menu__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 22px;
    margin-bottom: 3px;
    background: linear-gradient(to right, var(--color-green) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.4s ease-out;
    border: none;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0px !important;
}

    .drawer-menu__link:hover,
    .drawer-menu__item.is-active > .drawer-menu__link {
        background-position: left bottom;
        color: white;
    }

/* Icono flecha */
.drawer-menu__arrow {
    transition: transform 0.4s ease;
    font-weight: 400;
}

.is-active .drawer-menu__arrow {
    transform: rotate(90deg);
}

/* Acordeón */
.drawer-menu__sublist {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 5px;
}

.is-active .drawer-menu__sublist {
    max-height: 800px;
    opacity: 1;
    margin: 5px 0 15px;
}

/* BOTÓN HIJO: Relleno Azul Más Claro/Sutil */
.drawer-menu__sublink {
    display: block;
    padding: 14px 22px 14px 40px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    /* Gradiente con el azul más claro */
    background: linear-gradient(to right, var(--color-green-hover) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.3s ease-out;
    border: none;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0px !important;
}

    .drawer-menu__sublink:hover {
        background-position: left bottom;
        color: white;
        padding-left: 45px; /* Sutil desplazamiento */
    }



.loader-container {
    --size: 96px;
    --accent: #151515;
    --shadow: rgba(18, 14, 10, 0.28);
    position: relative;
    width: var(--size);
    height: var(--size);
    display: grid;
    place-items: center;
    margin: auto; /* Para centrarlo en su contenedor padre */
}

.loader {
    width: var(--size);
    height: var(--size);
    position: relative;
    display: grid;
    place-items: center;
}

.ball-wrap {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    animation: breathe 1.8s ease-in-out infinite;
    z-index: 2;
}

.ball {
    width: 100%;
    height: 100%;
    animation: spin 1.05s linear infinite;
    filter: drop-shadow(0 8px 10px var(--shadow));
}

.shadow-custom {
    position: absolute;
    bottom: -12%;
    width: 78%;
    height: 16%;
    background: radial-gradient(closest-side, var(--shadow), rgba(0,0,0,0));
    border-radius: 999px;
    animation: shadow 1.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.ground {
    position: absolute;
    left: 50%;
    bottom: -42%;
    width: 220%;
    height: 70%;
    transform: translateX(-50%) perspective(240px) rotateX(70deg);
    border-radius: 50%;
    background: radial-gradient(closest-side at 50% 35%, rgba(148, 184, 120, 0.55), rgba(120, 160, 95, 0.2) 55%, rgba(120, 160, 95, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

    .ground::before {
        content: "";
        position: absolute;
        inset: 8% 10%;
        border-radius: 50%;
        background: radial-gradient(closest-side, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
        opacity: 0.6;
    }

    .ground::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: repeating-linear-gradient(90deg, rgba(70, 110, 70, 0.35) 0 8px, rgba(70, 110, 70, 0.04) 8px 20px), radial-gradient(closest-side at 50% 40%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
        opacity: 0.55;
        animation: ground-move 1.2s linear infinite;
    }

.ring {
    position: absolute;
    inset: -16%;
    width: 132%;
    height: 132%;
    display: none;
    transform: rotate(-90deg);
    opacity: 0.85;
    pointer-events: none;
}

.loader--ring .ring {
    display: block;
}

.ring circle {
    fill: none;
    stroke-width: 6;
}

.ring-track {
    stroke: rgba(0, 0, 0, 0.12);
}

.ring-progress {
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    animation: progress 1.3s ease-in-out infinite;
}

.ball .shell {
    fill: url(#ball-grad);
    stroke: rgba(0, 0, 0, 0.08);
    stroke-width: 4;
}

.ball .panel {
    stroke: none;
}

.ball .panel-white {
    fill: url(#panel-light);
}

.ball .panel-black {
    fill: url(#panel-dark);
}

.ball .seams {
    fill: none;
    stroke: rgba(0, 0, 0, 0.28);
    stroke-width: 1.6;
    stroke-linejoin: round;
}

.ball .vignette {
    fill: url(#ball-vignette);
}

.ball .highlight {
    fill: url(#ball-highlight);
    opacity: 0.85;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

@keyframes shadow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.55;
    }

    50% {
        transform: scale(0.84);
        opacity: 0.35;
    }
}

@keyframes progress {
    0% {
        stroke-dashoffset: 565;
    }

    50% {
        stroke-dashoffset: 220;
    }

    100% {
        stroke-dashoffset: 565;
    }
}

@keyframes ground-move {
    to {
        background-position: 140px 0, 0 0;
    }
}

.footer-line-wrapper {
    width: 100%;
    padding: 15px 0;
    background-color: #ffffff;
    border-top: 1px solid #f5f5f5;
}

.footer-line-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-line-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Permite bajar a la siguiente línea solo si es necesario */
    gap: 0;
    margin: 0;
    font-size: 11px;
    color: #999;
    letter-spacing: 0.4px;
    text-transform: none;
}

.line-separator {
    margin: 0 12px;
    color: #ddd;
    font-size: 14px;
    line-height: 1;
}

.dev-by {
    color: #aaa;
}

.dev-link {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    padding-bottom: 1px;
    border-bottom: 1px solid transparent;
}

    .dev-link:hover {
        color: #000;
        border-bottom: 1px solid #000;
    }

/* Responsivo: Mantiene la línea lo más posible */
@media (max-width: 576px) {
    .footer-line-text {
        font-size: 10px;
        line-height: 1.6;
    }

    .line-separator {
        margin: 0 8px;
    }
}