﻿
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}



.content,
article.content {
    overflow: visible !important;
}
 
.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;
    flex-wrap: nowrap;
    list-style: none;
    padding: 15px;
    margin: 0;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-color: #f7f7f7;
}

.breadcrumb-item-custom {
    display: flex;
    align-items: center;
    padding: 0 5px;
    min-width: fit-content; /* evita que se comprima demasiado */
}

    .breadcrumb-item-custom a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
        font-size: 1.2rem;
        padding: 0 5px;
        max-width: 150px; /* ancho máximo del link */
        overflow: hidden; /* oculta lo que sobra */
        text-overflow: ellipsis; /* añade "..." */
        white-space: nowrap; /* evita que baje de línea */
        display: inline-block; /* asegura el corte */
    }

.breadcrumb-icon {
    font-size: 1.2rem;
    color: #333;
    margin-right: 5px;
}

.breadcrumb-separator {
    color: #333;
    font-size: 0.8rem;
    margin: 0 5px;
}

.breadcrumb-item-custom:last-child .breadcrumb-separator {
    display: none;
}

/* 🔹 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;
}



.color-buttons-container button {
    border: 1px solid #dfe4ee;
    background: #f5f8ff;
    color: #23428D;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 600;
}

    .color-buttons-container button:hover {
        background-color: #23428D !important;
        color: #fff !important;
        border-color: #23428D !important;
    }

    .color-buttons-container button.active {
        background-color: #23428D;
        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 {
    color: var(--color-text-dark);
    font-weight: var(--font-weight-bold);
}


.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-text-dark);
    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);
        }
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding-top: 40px;
    width: 100%;
}

/* Logo alineado a la izquierda y grande */
.footer-logo {
    width: 280px;
    height: 100px;
    background-image: url('/img/ComercialMane/logo_principal.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center;
    margin-bottom: 10px;
}

.logo-description {
    font-size: 0.82rem;
    color: #6c757d;
    max-width: 250px;
    line-height: 1.2;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #212529;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Listas compactas y alineadas a la izquierda */
.footer-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    text-align: left; /* Asegura alineación a la izquierda */
}

    .footer-list li {
        margin-bottom: 3px;
        line-height: 1.1;
    }

        .footer-list li a, .footer-list li span {
            text-decoration: none;
            color: #6c757d;
            font-size: 0.82rem;
            display: block; /* Para que el área de click ocupe la línea */
        }

            .footer-list li a:hover {
                color: #000;
            }

.footer-bottom {
    border-top: 1px solid #e9ecef;
}

.copyright-text {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* Responsivo para móviles */
@media (max-width: 767px) {
    .footer-col {
        margin-bottom: 25px;
        padding-left: 15px; /* Mantiene alineación izq en móvil */
    }

    .footer-logo {
        width: 220px;
    }
}

.custom-footer-bottom {
    position: relative;
    background-color: #ffffff; /* O el color de fondo de tu footer */
    border-top: 1px solid #eee;
    overflow: hidden;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.copyright-text {
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 0.5px;
}

.brand-name {
    font-weight: 700;
    color: #333;
}

/* --- EFECTO REVEAL (ESQUINA) --- */
.dev-reveal-link {
    position: absolute;
    right: -120px; /* Escondido inicialmente */
    top: 50%;
    transform: translateY(-50%);
    background: #000; /* Color minimalista negro */
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 30px 0 0 30px;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    align-items: center;
}

/* Activación al pasar el mouse por el footer o la zona derecha */
.custom-footer-bottom:hover .dev-reveal-link {
    right: 0;
}

.reveal-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reveal-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

.custom-footer-bottom:hover .reveal-text {
    opacity: 1;
}

.reveal-logo {
    height: 25px;
    filter: brightness(0) invert(1); /* Hace el logo blanco si es oscuro */
    transition: transform 0.3s ease;
}

.dev-reveal-link:hover .reveal-logo {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive */
@media (max-width: 768px) {
    .dev-reveal-link {
        position: relative;
        right: 0;
        transform: none;
        margin-top: 15px;
        border-radius: 10px;
        display: inline-flex;
    }

    .footer-container {
        flex-direction: column;
    }

    .reveal-text {
        opacity: 1;
    }
}

.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;
    }
}

/* Estilos Custom con Nomenclatura Específica */
.contact-page-wrapper {
    background-color: #f8f9fa;
    padding: 60px 0;
    min-height: 80vh;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.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;
    border-radius: 15px;
    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 #0d6efd;
    display: inline-block;
    padding-bottom: 5px;
}

/* Items de Información */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    background: #e7f1ff;
    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;
    text-uppercase;
    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(--navy-banner);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .contact-submit-btn:hover {
        background-color: var(--navy-banner);
    }

/* 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(--navy-banner) 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(--navy-light) 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 */
    }

:root {
    --navy-main: #0f172a;
    --navy-light: #1e293b;
    --accent-blue: #3b82f6;
    --white: #ffffff;
    --gray-bg: #f8fafc;
    --radius-sharp: 4px; /* Consistente con el resto de la web */
}

.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(--white);
    border: 1px solid   ;
    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(--navy-banner);
    color: var(--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 {
    grid-column: span 4;
    background: var(--gray-bg);
    border: 2px dashed #cbd5e1;
}

.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(--navy-banner);
        color: var(--color-white);
        border: 1px solid var(--navy-banner);
    }

/* 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;
    }
}




.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(--navy-banner);
        color: #fff;
        border-color: var(--navy-banner);
        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 */
    }