
.img-container {
    height: 250px;
}

.zona-impresion-preview-wrapper {
    position: relative;
}

.zona-impresion-overlay {
    position: absolute;
    overflow: hidden;
    pointer-events: none;
}

.zona-impresion-overlay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.custom-fit {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.breadcrumb-products {
    background-image: url(../../img/productos/cardboards.png);
    background-repeat: no-repeat;
}

.subtitle-products {
    color: white;
    font-weight: 600;
    letter-spacing: 3.2px;
}
.boton-filtro {
    font-family: 'Montserrat', serif;
    font-size: 13px;
    font-weight: 500;
    color: #F3F8FF;
    border: 1px solid #F3F8FF;
    border-radius: 25px;
    height: 42px;
    background-color: #2A6A95;
    padding-left: 25px;
    padding-right: 25px;
}

.boton-limpiar {
    font-family: 'Montserrat', serif;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #F3F8FF;
    border-radius: 25px;
    height: 42px;
    padding-left: 25px;
    padding-right: 25px;
    background: #e6e6e6 0% 0% no-repeat padding-box;
    color: #2A6A95 !important;
}

.main-title-products {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    margin-top: 40px;
    line-height: 72px;
}

.group-product {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 272px !important;
    height: 362px !important;
}

.group-product:hover {
    border: 1px solid #E5007E;
}

.group-product>h5 {
    font-size: 22px;
    line-height: 32px;
    font-weight: 500;
    width: 100%;
    margin: 45px 0px;
}

.grid-group-products {
    margin: 112px 0px 84px 0px;
}

.grid-group-products>.row {
    gap: 32px;
    display: flex;
    justify-content: center;
}

.group-product {
    border: 1px solid #E1E4E7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.group-product>img {
    margin-bottom: 35px;
}

.grid-products {
    margin: 0px 20px 84px 0px;
    /* display: grid;
    justify-content: center;
    grid-template-columns: repeat(4, 14.17%);
    grid-template-rows: repeat(1, 368px);
    grid-template-areas: "A B C D";
    gap: 32px; */
}


/* .visit-cards {
    grid-area: A;
}

.binders {
    grid-area: B;
}

.envelopes {
    grid-area: C;
}

.notebooks {
    grid-area: D;
} */

.row>.product {
    padding: 0px;
    margin: 25px 16px;
    width: 200px;
    
}

.product-new {
    position: absolute;
    /* top: 160px; */
    bottom: 32px;
    left: -21px;
    background: #198038;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 15px;
    color: white;
}

.product-outlet {
    position: absolute;
    /* top: 160px; */
    bottom: 32px;
    left: -21px;
    background: #393939;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 15px;
    color: white;
}

.product {
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: right;
    text-align: center;
    padding: 0px !important;
    

    width: max-content;
    /* min-width: 273px; */
}

.product-img:hover + .ver-ficha{
    opacity: 1;
    color: black;
    animation: fadeIn 0.7s;
}

.ver-ficha {
    font-family: 'Montserrat', serif;
    font-size: 14px;
    background-color: white;
    position: relative;
    top: -24px;
    opacity: 0;
}

.product-name {
    /* height: 30%; */
    font-size: 18px;
    font-family: 'Montserrat', serif;
    font-weight: 600;
}

.product-precio {
    /* height: 30%; */
    font-size: 18px;
    font-family: 'Montserrat', serif;
    /* padding-bottom: 5px; */
}

.product-short {
    font-size: 15px;
    color: grey;
    text-align: left;
    line-height: normal;
    padding-bottom: 15px;
    padding-top: 5px;
}

.product-code {
    height: 30%;
    font-size: 16px;
    color: #8B8B8B;
    font-family: 'Montserrat', serif;
    padding-bottom: 5px;
    font-weight: 300;
}

.product-img {
    /* width: 100%; */
    /* min-width: 273px; */
    width: 273px;
    position: relative;
    
}

.product-img>img {
    height: 200px;
    width: 273px;
    border: 1px solid #E1E4E7;
    border-radius: 10%;
}

.inicio:hover , #categoria-volver-catalogo:hover,  #subcategoria-volver-catalogo:hover{
    cursor: pointer;
}

.product-container {
    padding-top: 30px;
    column-gap: 32px;
    background-color: #F5F5F5;
}

.product-container * {
    font-family: 'Montserrat', serif;
}

.product-title {
    margin: 97.28px 0px 0px 0px;
    width: 1179px;
    font-size: 16px;
    font-weight: 600;
    color: black;
    letter-spacing: 3.2px;
}

.mostrando-prod {
    align-content: center; 
    padding-right: 25px; 
    font-weight: 500;
}

.miga-pan {
    padding: 30px;
    padding-top: 0px;
    font-family: 'Montserrat', serif !important;
    font-weight: 500;
}

.miga-pan .inicio {
    color: #2A6A95;
}

.group-product-title {
    color: #2A6A95;
    margin: 0px 0px 38px 0px;
    font-size: 29px;
    font-weight: bolder;
    font-family: 'Montserrat', serif;
    line-height: 75px;
    padding-top: 20px;
    padding-left: 0px !important;
}

.product-content {
    /* margin-top: 30px; */
    max-width: 95%;
} 

.product-content img {
    margin-bottom: 10px;
    max-width: 550px;
    width: 100%;
    border-radius: 25px;
    border: 1px solid #E1E4E7;
}

.product-content>h1 {
    color: black;
    font-size: 56px;
    line-height: 72px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 45px;
}

.product-form {
    /* width: 576px; */
    margin-top: 30px;
}

.texto-enlace {
    color: #8B8B8B;
    font-size: 16px;
    font-weight: 300;
}

.descripcion-producto {
    font-size: 14px;
}

.subtitulo-color {
    font-size: 20px;
    margin-top: 30px !important;
    margin-bottom: 5px;
    font-weight: 600;
}

.imagen-variante {
    width: 140px !important;
    border: none !important;
}

.imagen-variante:hover {
    cursor: pointer;
    border: 1px solid #2A6A95 !important;
}

.group-product {
    border: 1px solid #E1E4E7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.group-product>img {
    margin-bottom: 35px;
}

.volver-text {
    color: #2A6A95;
    font-size: 16px;
}

.volver-text:hover {
    cursor: pointer;
}

.miga-desc-text {
    color: #2A6A95;
    font-size: 16px;
}

.miga-desc-text:hover {
    cursor: pointer;
}

.grid-type-products {
    margin: 0px 60px 84px 60px;
    /* display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 19.4%);
    grid-template-rows: repeat(1, 368px);
    grid-template-areas: "A B C";
    gap: 32px; */
}


/* .standard {
    grid-area: A;
}

.deluxe {
    grid-area: B;
}

.custom {
    grid-area: C;
} */

.campo {
    height: 55px !important;
    margin-bottom: 26px !important;
    border: 1px solid #E1E4E7 !important;
    padding: 0px 18px !important;
    color: #717171 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    border-radius: 0px !important;
}

.campo-area {
    height: 197px;
    border: 1px solid #E1E4E7;
    padding: 17px 18px;
    resize: none;
    margin-bottom: 26px;
    color: #717171;
    font-size: 18px;
    font-weight: 400;
}

.title-file {
    border: 1px solid #E1E4E7;
    height: 55px;
    margin-bottom: 26px;
    padding: 17px 10px 17px 18px;
}

.title-file>p {
    margin: 0px;
}

.shop-product__description-tab {
    border-top: none !important;
}

.tab-product-navigation {
    margin-bottom: 42.5px;
}

.tab-product-navigation .nav-tabs {
    border: none;
    padding-bottom: 15px;
}

.text-accordion {
    font-size: 18px;
    border-bottom: 1px solid #D2D1D1;
}

.shop-product__description-tab .tab-product-navigation--product-desc .nav-tabs a {
    color: #717171 !important;
    font-size: 14px !important;
    letter-spacing: 2.8px !important;
    line-height: 16px !important;
    font-weight: 600 !important;
    padding: 0px 0px 21.5px 0px !important;
    margin-right: 32px !important;
}

.tab-product-navigation .nav-tabs .nav-link.active {
    color: #000000 !important;
    /* border-bottom: 3px solid #E5007E !important; */
    font-size: 36px !important;
    letter-spacing: 0px !important;
}

.shop-product__long-desc p {
    max-width: 100% !important;
}

.price>h1 {
    margin-bottom: 12px;
}

.price-section>p {
    margin-bottom: 26.5px !important;
}

.shop-product__small-image-gallery-wrapper {
    margin-top: 95px;
    margin-bottom: 142px;
}

.row>.type-product {
    padding: 0px;
    margin: 20px 16px;
    width: 373px;
}

.info {
    border-top: 1px solid #E1E4E7;
    padding: 38px 16px;
    height: 300px;
}

.info>h5 {
    color: #E5007E;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
}

.info>p {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    color: black;
}

.products-card {
    border: 1px solid #E1E4E7;
}
.products-card-details {
    border: 2px solid #F3F3F3;
    border-radius: 38px;
}

.products-card>h5 {
    text-align: center;
    margin: 45px 0px;
    font-size: 22px;
    font-weight: 500;
    line-height: 32px;
}

.indice {
    padding-bottom: 30px;
}

.indice-derecha {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    padding-bottom: 20px;
    align-content: center;
    flex-wrap: wrap;
}

.indice-izquierda {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mostrando {
    color: #8F97AC;
    font-size: 11px;
    font-weight: bold;
    margin: 0;
}

.opcion-paginacion {
    border-radius: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.opcion-paginacion-disabled {
    background: #F4F4F4 0% 0% no-repeat padding-box;
    cursor: default;
}

.opcion-paginacion-avaliable {
    background: #e6e6e6 0% 0% no-repeat padding-box;
    color: #2A6A95 !important;
}

.opcion-paginacion-selected {
    background: #2A6A95 0% 0% no-repeat padding-box;
    color: white !important;
}

.opcion-paginacion-selected-2 {
    background: #2A6A95 0% 0% no-repeat padding-box;
    color: white !important;
}

.select-paginacion {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #D9E1ED;
    border-radius: 8px;
    width: 76px;
    height: 46px;
    padding-left: 7%;
}

.categoria {
    padding-left: 5px;
    padding-right: 5px;
    font-weight: 600;
}

.categoria:hover {
    color: #2A6A95;
    cursor: pointer;
}

.categoria-selected {
    color: #2A6A95;
    font-weight: 700;
    /* border: 1px solid #2A6A95;
    border-radius: 25px; */
}

.product-stock-no {
    color: #c8102e;
    font-size: 12px
}

.product-stock-si {
    color: #24a148;
    font-size: 12px
}

.subcategoria:hover {
    color: #2A6A95;
    cursor: pointer;
}

.subcategoria {
    padding-left: 5px;
    padding-right: 5px;
}

.sub-categoria-selected {
    color: #2A6A95;
    font-weight: 500;
}

.subsubcategoria:hover {
    color: #2A6A95;
    cursor: pointer;
}

.sub-sub-categoria-selected {
    color: #2A6A95;
    font-weight: 500;
}

.color-selected {
    color: #2A6A95;
    font-weight: 700;
}

.titulo {
    font-weight: 700 !important;
}

.subtitulo {
    color: #2A6A95;
    font-size: 20px;
    font-family: 'Montserrat', serif;
    padding-top: 22px;
    padding-bottom: 20px;
    font-weight: 600;
}

.filtro-titulo {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 21px;
    border-bottom: 1px solid black;
    font-family: 'Montserrat', serif;
}

.seccion-filtro {
    border-bottom: 1px solid rgb(175, 175, 175);
}

.color-select:hover{
    cursor: pointer;
}

.color-select>.dot {
    height: 25px;
    width: 25px !important;
    background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    border-radius: 50%;
    
    /* display: inline-block; */
    margin-left: auto !important;
    margin-right: auto !important;
}

.dot {
    height: 18px;
    width: 18px !important;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin-left: 1px !important;
    margin-right: 1px !important;
}

p {
    font-family: 'Montserrat';
}

.normal-text {
    font-family: 'Montserrat', serif;
}

.text-color {
    padding-bottom: 15px;
    text-align: center;
}

.products-align {
    justify-content: space-evenly !important;
}

.slider-content {
    position: relative;
  }

.slider-content .slide-button {
    position: absolute;
    top: 50%;
    outline: none;
    border: none;
    height: 50px;
    width: 50px;
    z-index: 5;
    color: #fff;
    display: flex;
    cursor: pointer;
    font-size: 2.2rem;
    background: #2A6A95;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translateY(-50%);
}

.slider-content .slide-button:hover {
    background: #404040;
}

.slider-content .slide-button#prev-slide {
    left: -35px;
    top: 72px;
    display: none;
}
  
.slider-content .slide-button#next-slide {
    right: -55px;
    top: 72px;
}

.slider-content .imagenes-carrusel {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    gap: 18px;
    font-size: 0;
    list-style: none;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  
  .slider-content .imagenes-carrusel::-webkit-scrollbar {
    display: none;
  }
  
  /* .slider-wrapper .imagenes-carrusel .image-item {
    width: 325px;
    height: 400px;
    object-fit: cover;
  } */

.slider .slider-scrollbar {
    height: 24px;
    width: 100%;
    display: flex;
    align-items: center;
}

.slider-scrollbar .scrollbar-track {
    background: #ccc;
    width: 100%;
    height: 2px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    position: relative;
}

.slider-scrollbar:hover .scrollbar-track {
    height: 4px;
}

.slider-scrollbar .scrollbar-thumb {
    position: absolute;
    background: #000;
    top: 0;
    bottom: 0;
    width: 25%;
    height: 100%;
    cursor: grab;
    border-radius: inherit;
}

.slider-scrollbar .scrollbar-thumb:active {
    cursor: grabbing;
    height: 8px;
    top: -2px;
  }
  
.slider-scrollbar .scrollbar-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;
}

.slider {
    max-width: 500px;
    width: 100%;
}

select {
    height: 45px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #D9E1ED;
    border-radius: 29px;
    padding: 7px 15px;
    width: 282px;
    font-size: 16px !important;
}

.zona-impresion-overlay img {
    border: none !important;
}

.style-input {
    height: 45px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #D9E1ED;
    border-radius: 29px;
    padding: 7px 15px;
    width: 282px;
    font-size: 16px !important;
}

.all-section {
    border: 1px solid gray;
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
    background-color: #f5f5f5;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.product-config-step-next {
    background-color: black !important;
    border: none !important;
    width: 100% !important;
}

.product-config-step-next:hover {
    background-color: #2A6A95 !important;
}

.desde-unidades {
    background-color: #2A6A95;
    border-radius: 25px;
    padding: 5px 15px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

.desde-texto {
    font-size: 11px;
    color: var(--ink-faint);
    line-height: 1.4;
}

.config {
    border: 1px solid #d9d9d9;;
    /* padding: 20px; */
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    background-color: #FFFFFF;
}

.product-gallery-column .subtitulo-color {
    margin-top: 12px !important;
}

.product-gallery-column .slider,
.product-gallery-slider {
    max-width: 100%;
}

.product-gallery-column .slider-content .slide-button#prev-slide {
    left: 4px;
}

.product-gallery-column .slider-content .slide-button#next-slide {
    right: 4px;
}

.product-config-wizard {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-config-step {
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    border-radius: 0;
    background: #fff;
    overflow: hidden;
    margin-top: -1px;
}

.product-config-step:first-child {
    border-radius: 8px 8px 0 0;
    margin-top: 0;
}

.product-config-wizard > .product-config-step:last-child {
    border-radius: 0 0 8px 8px;
}

.product-config-wizard > .product-config-step:first-child:last-child {
    border-radius: 8px;
}

.product-config-step--locked {
    opacity: 0.55;
    pointer-events: none;
}

.product-config-step--active {
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
}

.product-config-step--completed {
    opacity: 1;
    pointer-events: auto;
}

.product-config-step-header {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 16px;
    text-align: left;
    background: #fff;
    border: none;
    border-bottom: 1px solid #e8e8e8;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    cursor: default;
}

.product-config-step--active .product-config-step-header {
    background: #e8f1fc;
}

.product-config-step--completed .product-config-step-header {
    cursor: pointer;
    background: #fafafa;
}

.product-config-step--completed .product-config-step-header:hover {
    background: #f0f4f8;
}

.product-config-step-badge {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #e8eaed;
    color: #5f6368;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.product-config-step--active:not(.product-config-step--completed) .product-config-step-badge {
    background: #2563eb;
    color: #fff;
}

.product-config-step--completed .product-config-step-badge {
    background: #16a34a;
    color: #fff;
}

.product-config-step-check {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.product-config-step--completed .product-config-step-num {
    display: none;
}

.product-config-step--completed .product-config-step-check {
    display: flex;
}

.product-config-step-header-main {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
}

.product-config-step-title {
    flex: 0 1 auto;
    min-width: 0;
}

.product-config-step-header-aside {
    margin-left: auto;
    flex: 0 1 auto;
    min-width: 0;
    text-align: right;
    font-size: 14px;
    font-weight: 500;
}

.product-config-step-state--pending {
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
}

.product-config-step-summary {
    font-size: 14px;
    font-weight: 500;
    color: #2A6A95;
    word-break: break-word;
}

.product-config-step-body {
    padding: 16px;
}

.product-config-step-body[hidden] {
    display: none !important;
}

/* Zona de subida de diseño (drag & drop) */
.product-config-design-dropzone {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 168px;
    padding: 24px 20px 20px;
    text-align: center;
    cursor: pointer;
    background: #f7f7f7;
    border: 1px dashed #c5c5c5;
    border-radius: 10px;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-config-design-dropzone:hover,
.product-config-design-dropzone:focus {
    outline: none;
    background: #f0f0f0;
    border-color: #a8a8a8;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.product-config-design-dropzone--drag {
    background: #eef4ff;
    border-color: #2a6a95;
    box-shadow: 0 0 0 2px rgba(42, 106, 149, 0.2);
}

.product-config-design-dropzone__input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.product-config-design-dropzone__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.product-config-design-dropzone__icon {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.product-config-design-dropzone__icon-fa {
    color: #e8a317;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.08));
}

.product-config-design-dropzone__title {
    display: block;
    font-size: 1.05rem;
    font-weight: 500;
    color: #4a4a4a;
    max-width: 100%;
    padding: 0 4px;
}

.product-config-design-dropzone__formats {
    font-size: 0.88rem;
    color: #7a7a7a;
}

.product-config-design-dropzone__selected {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
    max-width: 100%;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a9b8a;
}

.product-config-design-dropzone__check {
    flex-shrink: 0;
    font-size: 1.1em;
}

.product-config-design-dropzone__filename {
    word-break: break-word;
    text-align: center;
    max-width: 100%;
}

/* Paso unificado Color y cantidad */
.product-config-swatch-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.product-config-color-swatch {
    position: relative;
    flex-shrink: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-config-color-swatch:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.product-config-color-swatch:focus:not(:focus-visible) {
    box-shadow: none;
}

.product-config-color-swatch--selected {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.product-config-color-swatch__check {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}

.product-config-color-swatch--selected .product-config-color-swatch__check {
    display: flex;
}

.product-config-qty-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-config-qty-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
}

.product-config-qty-row__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.product-config-qty-row__swatch {
    width: 28px !important;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.product-config-qty-row__label {
    flex: 1 1 120px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #111;
}

.product-config-qty-row__qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.product-config-qty-row__input {
    max-width: 100px;
    min-width: 72px;
}

.product-config-qty-row__suffix {
    font-size: 0.875rem;
    color: #6b7280;
    white-space: nowrap;
}

.product-config-qty-row__min {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0;
    padding-left: 38px;
}

.product-config-units-total-bar {
    padding: 12px 16px;
    border-radius: 8px;
    background: #e8f1fc;
    border: 1px solid #cfe2f7;
}

.product-config-units-total-value {
    font-size: 1.05rem;
    color: #1e3a5f;
}

/* Tramos de cantidad / precio unitario (paso Cantidad) */
.product-config-quantity-tiers {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
}

.product-config-tier-head {
    background: #eceff1;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #5f6368;
    padding: 10px 14px;
    border-bottom: 1px solid #e0e0e0;
}

.product-config-tier-col {
    flex: 1 1 0;
}

.product-config-tier-col--qty {
    max-width: 40%;
}

.product-config-tier-col--price {
    text-align: left;
}

.product-config-tier-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 12px 14px;
    margin: 0;
    border-bottom: 1px solid #eceff1;
    background: #fff;
    cursor: pointer;
    transition: background 0.15s ease;
}

.product-config-tier-row:last-child {
    border-bottom: none;
}

.product-config-tier-row:hover {
    background: #f6f9ff;
}

.product-config-tier-row:has(input:checked) {
    background: #e8f1fc;
}

.product-config-tier-radio {
    flex: 0 0 auto;
}

.product-config-tier-qty {
    flex: 1 1 5rem;
    min-width: 4rem;
}

.product-config-tier-unit {
    flex: 1 1 6rem;
    text-align: left;
    font-weight: 600;
    color: #222;
}

.product-config-tier-savings {
    flex: 1 1 100%;
    text-align: right;
    margin-left: 2rem;
    min-width: 88px;
}

@media (min-width: 480px) {
    .product-config-tier-savings {
        flex: 0 0 auto;
        margin-left: auto;
        text-align: right;
    }
}

.product-config-tiers-loading {
    padding: 12px 14px;
}

.product-config-cantidad-custom-input {
    max-width: 8rem;
}

.product-config-tier-foot {
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 12px 14px;
    margin: 0;
}

.product-config-tier-foot-inner {
    max-width: 100%;
}

.product-config-tier-foot .product-config-cantidad-custom-input {
    flex: 0 0 auto;
    max-width: 10rem;
}

/* Tarjetas de selección de zona de impresión (sustituyen el select) */
.product-config-posicion-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
}

.product-config-posicion-card {
    flex: 1 1 148px;
    max-width: 220px;
    min-width: 136px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.product-config-posicion-card:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.product-config-posicion-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.product-config-posicion-card:focus:not(:focus-visible) {
    box-shadow: none;
}

.product-config-posicion-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.product-config-posicion-card--selected {
    border: 3px solid #2563eb;
    padding: 11px;
    background: #e8f1fc;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.15);
}

.product-config-posicion-card__title {
    font-weight: 700;
    font-size: 0.9375rem;
    color: #111;
    line-height: 1.3;
    margin-bottom: 4px;
}

.product-config-posicion-card__dims {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-config-posicion-card__figure {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 128px;
    background: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
}

.product-config-posicion-card__img {
    width: 100%;
    height: auto;
    max-height: 168px;
    object-fit: contain;
    display: block;
}

.product-config-posicion-card__placeholder {
    font-size: 0.75rem;
    color: #9ca3af;
    padding: 1rem;
    text-align: center;
    line-height: 1.35;
}

.product-config-posicion-foot__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: #6b7280;
    text-decoration: none;
}

.product-config-posicion-foot__link:hover {
    color: #2563eb;
}

.product-config-posicion-foot__link .fa {
    font-size: 1rem;
    opacity: 0.85;
}

@media (max-width: 576px) {
    .product-config-posicion-card {
        max-width: none;
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }
}

.product-detail-column .product-form .campo,
.product-detail-column .product-form select {
    max-width: 100%;
}

/* Resumen final configuración (añadir al carrito) */
.product-config-checkout {
    font-family: 'Work Sans', system-ui, sans-serif;
    background: #fff;
    /* border: 1px solid #e1e4e7; */
    border-radius: 12px;
    padding: 1.25rem 1.35rem 1.1rem;
}

.product-config-checkout__summary {
    margin-bottom: 1.1rem;
}

.product-config-checkout__label {
    font-size: 0.8125rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.01em;
}

.product-config-checkout__total-value {
    font-size: 1.65rem;
    font-weight: 700;
    color: #111;
    line-height: 1.15;
}

.product-config-checkout__unit-block {
    line-height: 1.35;
}

.product-config-checkout__print-note {
    opacity: 0.95;
}

.product-config-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0.65rem 1.25rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 11px;
    background: #2563eb;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.product-config-add-btn:hover:not(:disabled) {
    background: #1d4ed8;
    color: #fff;
}

.product-config-add-btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.product-config-add-btn.is-success {
    background: #15803d;
}

.product-config-add-btn__inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.product-config-add-btn__icon {
    font-size: 1.1rem;
}

.product-config-add-btn.is-processing .product-config-add-btn__icon,
.product-config-add-btn.is-success .product-config-add-btn__icon {
    display: none;
}

.product-config-checkout__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    line-height: 1.4;
}

.product-config-checkout__trust-icon {
    font-size: 0.95rem;
    opacity: 0.75;
}

/* Avisos del asistente de configuración (sustituyen alert nativo) */
.product-wizard-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 14px 16px 16px;
    margin: 16px;
    color: #991b1b;
    font-family: 'Work Sans', system-ui, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.45;
}

.product-wizard-alert--fixed {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10050;
    max-width: min(520px, calc(100vw - 2rem));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-wizard-alert__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #7f1d1d;
}

.product-wizard-alert__icon {
    color: #ea580c;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.product-wizard-alert__title-text {
    flex: 1;
    min-width: 0;
}

.product-wizard-alert__list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 4px;
}

.product-wizard-alert__list li {
    position: relative;
    padding-left: 1.15em;
    margin-bottom: 6px;
    font-weight: 400;
    color: #991b1b;
}

.product-wizard-alert__list li:last-child {
    margin-bottom: 0;
}

.product-wizard-alert__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    font-weight: 600;
    color: #b91c1c;
}

@media (max-width: 1601px) {
    .row>.product {
        width: 200px;
    }
}

@media (max-width: 1335px) {
    .row>.product {
        width: 170px;
    }

    .boton-filtro {
        padding-left: 20px;
        padding-right: 20px;
    }

    .boton-limpiar {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1199px) {
    .empty-container {
        display: none;
    }
    .lezada-single-slider__content,
    .group-product-title,
    .product-title {
        text-align: center;
    }

    /* .color-select {
        margin-bottom: 20px;
    } */

    .row>.product {
        width: 120px;
    }
}

/* Styles for mobile and tablets */
@media only screen and (max-width: 800px) {
    .slider-content .slide-button {
      display: none !important;
    }
  
    .slider-content .imagenes-carrusel {
      gap: 10px;
      margin-bottom: 15px;
      scroll-snap-type: x mandatory;
    }
  
    .slider-content .imagenes-carrusel .imagen-variante {
      width: 100px !important;
    }
  
    /* .slider-scrollbar .scrollbar-thumb {
      width: 25%;
    } */
  }

@media (max-width: 900px) {
    .row>.product {
        width: 100px;
    }

    .boton-filtro {
        padding-left: 25px;
        padding-right: 25px;
    }

    .boton-limpiar {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (max-width: 770px) {
    .row>.product {
        width: 80px;
    }
}

/* @media (max-width: 992px) {
    #imagen-principal {
        max-width: 300px;
    }
} */

@media (max-width: 992px) {
    .products-align {
        justify-content: center !important;
    }
    .product-new {
        bottom: 6px;
        left: -24px;
        padding: 1px 8px;
        font-size: 11px;
    }
    
    .product-outlet {
        bottom: 6px;
        left: -24px;
        padding: 1px 8px;
        font-size: 11px;
    }
}


@media (max-width: 576px) {
    .main-title-products {
        font-size: 44px;
        line-height: 60px;
    }

    .group-product-title {
        font-size: 44px;
    }

    .form-input {
        flex-direction: column;
        align-content: center;
    }

    .imagenes-carrusel {
        justify-content: center;
    }
}