﻿
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;
}
 



.footer {
    background-color: #f8f9fa; 
 }

.footer-content {
    border-top: 1px solid #dee2e6;
    margin-bottom: var(--spacing-4);
    padding-top: var(--spacing-4);
}

.footer-logo {
    width: 200px;
    height: 100px;
    background-image: url('/img/logo2529x230.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-list {
    list-style: none; 
    padding-left: 0;
}

    .footer-list li a {
        text-decoration: none; 
        color: #495057; 
    }

.footer-bottom {
    border-top: 1px solid #dee2e6; 
}
@media (max-width: 768px) {

    .footer-logo {
        background-image: url('/img/logo2529x230.png');
        width: 130px;
        height: 100px;
    }
    .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;
}

.header-search-container {
    flex: 1 1 400px;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-bar-container {
    width: 100%;
    max-width: 420px;
}

    .search-input-wrapper, .search-bar-container .input-group {
        display: flex;
        background-color: var(--color-white);
        border: 1px solid var(--color-border);
        border-radius: 50px;
        overflow: hidden;
        box-shadow: 0 2px 4px var(--color-shadow-subtle);
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

        .search-input-wrapper:focus-within, .search-bar-container .input-group:focus-within {
            transform: scale(1.02);
            border-color: var(--color-search-button);
            box-shadow: 0 4px 8px var(--color-shadow-subtle);
        }

    .search-input,
    .search-bar-container .form-control.search-input {
        width: 100%;
        padding: var(--spacing-2) var(--spacing-3);
        border: none;
        outline: none;
        font-size: var(--font-size-base);
        background-color: transparent;
        flex-grow: 1;
        border-radius: 2rem 0 0 2rem;
    }

        .search-input::placeholder {
            color: var(--color-secondary);
            font-style: italic;
        }

    .btn-search-header,
    .search-bar-container .btn {
        background-color: var(--color-search-button);
        width: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 0 2rem 2rem 0;
        cursor: pointer;
        border: none;
        color: #fff !important;
        font-size: 1.2rem;
    }

    .search-bar-container .btn {
        transition: background 0.14s;
    }

        .search-bar-container .btn:hover {
            background-color: #456ae3;
        }

.search-icon {
    color: var(--color-white);
    font-size: 1.2rem;
}

/* 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 {
        height: 60px;
        width: 150px;
        margin:5px;
    }

    .header-search-container {
        width: 100%;
        max-width: none;
    }

    .header-logo-container {
        margin-right: 0;
    }

    .btn-search-header, .search-bar-container .btn {
        width: 40px;
    }

    .search-icon {
        font-size: 0.9rem;
    }

 
}

.header-search-container {
    flex: 1 1 400px;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-input-wrapper {
    display: flex;
    width: 100%;
    background: #fff;
    border: 1.7px solid #e0e3ea;
    border-radius: 2.5rem;
    box-shadow: 0 2px 8px rgba(41,66,141,0.06);
    transition: border-color 0.18s, box-shadow 0.19s;
    align-items: stretch; 
    overflow: hidden;
}

    .search-input-wrapper:focus-within {
        border-color: #23428D;
        box-shadow: 0 4px 12px rgba(41,66,141,0.08);
    }

.search-input {
    border: none;
    outline: none;
    padding: 0.82rem 1.4rem;
    font-size: 1.1rem;
    flex: 1 1 auto;
    background: transparent;
    border-radius: 2.5rem 0 0 2.5rem;
    height: 48px; 
    box-sizing: border-box;
    line-height: 1.2;
    min-width: 0;
}

    .search-input::placeholder {
        color: #7d8db3;
        font-style: italic;
    }

.btn-search-header {
    background: #23428D;
    color: #fff;
    min-width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 0 2.5rem 2.5rem 0;
    cursor: pointer;
    transition: background 0.18s;
    font-size: 1.5rem;
}

    .btn-search-header:hover {
        background: #456ae3;
    }

.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;
}

.drawer-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;  
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);  
    transition: transform 0.3s ease-in-out;
    z-index: 300 !important;
    display: flex;
    flex-direction: column;
}

    .drawer-menu.is-open {
        transform: translateX(0);
        z-index: 303 !important;
        border-top-right-radius: 1.1rem;
        border-bottom-right-radius: 1.1rem;
    }

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    background-color: #23428D !important;
    color: #fff !important;
}
.btr-radius {
    border-top-right-radius: 1.1rem;
}

.btl-radius {
    border-top-left-radius: 1.1rem;
}

.drawer-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}

.drawer-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    height: 100%;
}

.drawer-menu__item {
    border-bottom: 1px solid #f0f0f0;
}

.drawer-menu__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px;
    background: none;
    border: none;
    font-size: 1rem;
    color: #333;
    text-align: left;
    cursor: pointer;
}

    .drawer-menu__link:hover {
        background-color: #f0f0f0;
    }

.drawer-menu__sublist {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f7f7f7;
    border-top: 1px solid #ddd;
    padding-left: 20px;  
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;  
}

.drawer-menu__item.is-active .drawer-menu__sublist {
    max-height: 500px; 
}

.drawer-menu__sublink {
    cursor:pointer;
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
}

    .drawer-menu__sublink:hover {
        background-color: #e9e9e9;
        color: #23428D;
    }

.drawer-menu__message {
    padding: 15px;
    font-size: 0.9rem;
    color: #888;
}


.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);
        }



.product-hover-wrapper.paused {
    opacity: 0.9;
    transition: opacity 0.3s ease;
    border: 2px solid var(--mud-palette-primary);
    box-shadow: 0 0 10px var(--mud-palette-primary);
}








