/* Bloquea interacciÃ³n y desenfoca el contenido de fondo */
.blurred {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}

/* Capa oscura + blur global */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 2000;
    /* por encima de la pÃ¡gina */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Evita scrollear el body cuando estÃ¡ el overlay */
body.no-scroll {
    overflow: hidden;
}

.card {
    background-color: #fff;
}

/* From Uiverse.io by 3bdel3ziz-T */
.select {
    width: 80px;
    cursor: pointer;
    position: relative;
    transition: 300ms;
    color: white;
    /**overflow: hidden;**/
    margin-top: 5px;
    margin-bottom: -70px;
}

.selected {
    background-color: white;
    padding: 5px;
    margin-bottom: 3px;
    border-radius: 5px;
    position: relative;
    z-index: 100000;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: black;
}

.arrow {
    position: relative;
    right: 0px;
    height: 10px;
    transform: rotate(-90deg);
    width: 25px;
    fill: white;
    z-index: 100000;
    transition: 300ms;
}

.options {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    padding: 5px;
    background-color: #fff;
    position: relative;
    top: -100px;
    opacity: 0;
    transition: 300ms;
}

.select:hover>.options {
    opacity: 1;
    top: 0;
}

.select:hover>.selected .arrow {
    transform: rotate(0deg);
}

.option {
    border-radius: 5px;
    padding: 5px;
    transition: 300ms;
    background-color: #fff;
    width: 150px;
    color: #2a2f3b;
    font-size: 15px;
}

.option:hover {
    background-color: #323741;
    color: #fff;
}

.options input[type="radio"] {
    display: none;
}

.options label {
    display: inline-block;
}

.options label::before {
    content: attr(data-txt);
}

.options input[type="radio"]:checked+label {
    display: none;
}

.options input[type="radio"]#all:checked+label {
    display: none;
}

.select:has(.options input[type="radio"]#all:checked) .selected::before {
    content: attr(data-default);
}

.select:has(.options input[type="radio"]#option-1:checked) .selected::before {
    content: attr(data-one);
}

.select:has(.options input[type="radio"]#option-2:checked) .selected::before {
    content: attr(data-two);
}

.select:has(.options input[type="radio"]#option-3:checked) .selected::before {
    content: attr(data-three);
}

#app {
    width: 100%;
}

.form-label,
.nice-select,
.nice-select.open .list,
.nice-select .option {
    width: 100%;
}

.option {
    background-color: #fff;
}

.categoria-item {
    padding: 30px;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 40vh;
    color: #fff;
    z-index: 10;
    border-radius: 5px;
}

.categoria-item::after {
    content: " ";
    background-color: rgba(0, 0, 0, .5);
    padding: 5%;
    width: 100%;
    height: 40vh;
    position: absolute;
    z-index: -1;
    border-radius: 5px;
}

.product-gallery {
    --thumb-size: 70px;
    display: flex;
    gap: 12px;
    align-items: stretch;
    position: relative;
}

.product-gallery .main-swiper {
    width: 100%;
    flex: 1;
    min-width: 0;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f7f7f7;
    position: relative;
}

.product-gallery .thumbs-swiper {
    width: var(--thumb-size);
    height: 100%;
}

.product-gallery .thumbs-swiper .swiper-wrapper {
    height: 100%;
}

.product-gallery .thumbs-swiper .swiper-slide {
    width: var(--thumb-size);
    height: var(--thumb-size);
    opacity: .6;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
}

.product-gallery .thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    outline: 2px solid #fff;
}

@media (max-width: 768px) {
    .product-gallery {
        flex-direction: column;
    }

    .product-gallery .thumbs-swiper {
        width: 100%;
        height: auto;
    }

    .product-gallery .thumbs-swiper .swiper-wrapper {
        flex-direction: row;
    }
}

.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery .zoom-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
}

.product-gallery .zoom-pane {
    position: absolute;
    top: 0;
    left: calc(100% + 12px);
    width: 0;
    max-width: 0;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-size: 180%;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 0.15s ease, width 0.2s ease, max-width 0.2s ease;
    z-index: 10000;
}

.product-gallery .zoom-pane.is-active {
    width: 55%;
    max-width: 560px;
    opacity: 1;
}

@media (max-width: 1024px) {
    .product-gallery .zoom-pane {
        display: none;
    }
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev,
.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
    height: 30px !important;
}

.product-size span {
    width: 100%;
}

.agregar-carrito {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
    flex-direction: row;
}

.caracteristicas-informacion {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.filters-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 8px;
    box-shadow: none;
}

.filters-header {
    padding: 6px 8px 10px;
    border-bottom: 1px dashed #e2e8f0;
    margin-bottom: 12px;
}

.filters-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.filters-subtitle {
    margin: 4px 0 0;
    font-size: 12px;
    color: #64748b;
}

.filter-title {
    font-weight: 600;
    color: #0f172a;
    padding: 0;
}

.filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.filter-summary::marker {
    content: "";
}

.filter-summary::-webkit-details-marker {
    display: none;
}

.filter-summary i {
    transition: transform 0.2s ease;
    transform-origin: center;
}

details[open] .filter-summary i {
    transform: rotate(180deg) scale(1.1);
}

.filters-panel details .filter-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease;
}

.filters-panel details[open] .filter-content {
    max-height: 600px;
    opacity: 1;
}

.filter-content {
    margin-top: 8px;
    padding: 0;
}

.filter-section {
    margin: 12px 0;
}

.filters-body .form-control,
.filters-body .form-select,
.filters-body select {
    width: 100%;
}

.filters-body .form-check {
    margin-bottom: 6px;
}

.filters-actions {
    margin-top: 16px;
}

.btn-filtro {
    width: 100%;
    padding: 5px;
    color: #fff;
    border: none;
    margin-top: 8px;
}

.btn-borrar-filtros{
    padding: 5px 10px;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.filters-panel label,
.filters-panel .filter-title {
    margin-top: 8px;
    display: inline-block;
}
.wrap-login-page .login-box{
    height: 100vh;
    overflow-y: scroll;
}
