.font-bold{
    font-family: upgrade!important;
    font-weight: 400!important;
}

.onsale-off{
    display:none!important;
}


/* NAVBAR/HEADER */

.dark-title .site-header {
    background-color:#fff;
    -webkit-box-shadow: -2px 2px 45px -20px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: -2px 2px 45px -20px rgba(0, 0, 0, 0.3);
    box-shadow: -2px 2px 45px -20px rgba(0, 0, 0, 0.3);
    transition-delay: .2s;
}
.home .site-content{
    /* espacio del header*/
    margin-top:90px!important;
}

@media (min-width: 768px) {
    .home .site-content{
        /* espacio del header*/
        margin-top:60px!important;
    }
}


/* category search */
.site-header .wc-category-select {
    display:none;
}

.site-header .woocommerce-product-search .search-button-group.et-loader:after{
    /*right: 20px!important;*/
    left: 22px!important;
}

.site-header .search-button-group {
    border: none!important;
    background: none!important;
    border-bottom: 1px solid #888;
}
.site-header .search-button-group .search-clear:before,
.site-header .search-button-group .search-clear:after {
    background-color: #444444;
}

.site-header .search-button-group input::placeholder {
    color: #444444;
    opacity: 1; /* importante para que se vea igual en todos los navegadores */
}

/* HOME */

.home-category-container {
    transition: transform 0.2s ease;
}

.home-category-container:hover {
    transform: translateY(-10px)!important;
}


.home-values .value-img{
    padding: 0px;
}

.home-values .wpb_column:not(:first-of-type){
    margin-top: 40px;
}
@media (min-width: 768px) {
    .home-values .value-img{
        padding: 0 40px;
    }
    
    .home-values{
        margin-top: 0px;
    }
}


/* Banner con video */
.et-banner.oli-home-video-banner {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

/* Mobile */
@media (max-width: 767px) {
    .et-banner.oli-home-video-banner {
        aspect-ratio: 4 / 5;
    }
}

/* Video */
.et-banner.oli-home-video-banner .oli-home-banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Cuando el video ya está listo */
.et-banner.oli-home-video-banner.is-video-ready .oli-home-banner-video {
    opacity: 1;
}

/* Imágenes fallback */
.et-banner.oli-home-video-banner .et-banner-main-image,
.et-banner.oli-home-video-banner .et-banner-alt-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: opacity 0.3s ease;
}

/* Mostrar la imagen correcta según breakpoint */
.et-banner.oli-home-video-banner .et-banner-main-image {
    display: block;
}

.et-banner.oli-home-video-banner .et-banner-alt-image {
    display: none;
}

@media (max-width: 767px) {
    .et-banner.oli-home-video-banner .et-banner-main-image {
        display: none;
    }

    .et-banner.oli-home-video-banner .et-banner-alt-image {
        display: block;
    }
}

/* Cuando el video carga, ocultar fallback */
.et-banner.oli-home-video-banner.is-video-ready .et-banner-main-image,
.et-banner.oli-home-video-banner.is-video-ready .et-banner-alt-image {
    opacity: 0;
}

/* El contenido debe quedar arriba del video */
.et-banner.oli-home-video-banner .et-banner-content {
    position: relative;
    z-index: 2;
}


.et-banner-title.xxlarge{
    font-size: 4.2rem!important;
}


@media (max-width: 767px) {
    .et-banner-title.xxlarge{
        font-size: 3.2rem!important;
    }
    
    .et-banner .et-banner-paragraph {
        display: block!important;
    }
    .et-banner-text.v_center {
        bottom: 50px!important;
        padding-bottom: 10vh!important;
    }
    .et-banner-text {
        width: 100%!important;
    }
}



/* SINGLE PRODUCTS */

.single-product #tab-description, 
.single-product #tab-additional_information{
    display: none!important;
}


/* MARGINS */

.mb-0 { margin-bottom:0px!important; }
.mb-1 { margin-bottom:2px!important; }
.mb-2 { margin-bottom:4px!important; }
.mb-3 { margin-bottom:6px!important; }
.mb-4 { margin-bottom:10px!important; }
.mb-5 { margin-bottom:16px!important; }

.mt-0 { margin-top:0px!important; }
.mt-1 { margin-top:2px!important; }
.mt-2 { margin-top:4px!important; }
.mt-3 { margin-top:6px!important; }
.mt-4 { margin-top:10px!important; }
.mt-5 { margin-top:16px!important; }

/* SCROLL TO TOP */

#scroll_to_top{
    right: 95px!important;
}
#scroll_to_top.active{
    bottom: 30px!important;
}

/* PRODUCT COLORS */
.product-information .oli-products-colors-info{
    display: none;
}

.product-information .oli-product-color-title {
    margin: 20px 0 10px;
    font-size: 16px;
    line-height: 1.4;
}

.product-information .oli-product-color-title strong{
   font-weight: 400;
   color: #282828;
}


.product-information .oli-products-colors {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    flex-wrap: wrap;
    padding-bottom: 10px;
}

.product-information .oli-products-colors a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 0;
}
.product-information .oli-products-colors a:after {
    display: none!important;
}

.product-information .oli-products-colors a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    box-sizing: border-box;
}

.product-information .oli-products-colors a span svg {
    display: block;
    width: 100%;
    height: 100%;
}

.product-information .oli-products-colors a span svg path {
    stroke-width: 2px;
}

/* Activo */
.product-information .oli-products-colors a span {
    position: relative;
}

/* puntito */
.product-information .oli-products-colors .active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    
    width: 7px;
    height: 7px;
    border-radius: 999px;

    background-color: #ffdce7;
}

/* Blanco */
.product-information .oli-products-colors .oli-color-blanco svg path { fill: #ffffff; stroke: #d6d6d6;}
.product-information .oli-products-colors .oli-color-chocolate svg path { fill: #6b4a3a; stroke: #6b4a3a;}
.product-information .oli-products-colors .oli-color-verde svg path { fill: #1f5b3a; stroke: #1f5b3a; }
.product-information .oli-products-colors .oli-color-marron svg path { fill: #8b5a2b; stroke: #8b5a2b; }
.product-information .oli-products-colors .oli-color-verde-intenso svg path { fill: #9dbb6f; stroke: #9dbb6f; } 
.product-information .oli-products-colors .oli-color-gris svg path { fill: #808080; stroke: #808080; }
.product-information .oli-products-colors .oli-color-bordo svg path { fill: #6a1f2b; stroke: #6a1f2b; }
.product-information .oli-products-colors .oli-color-beige svg path { fill: #e8d8b5; stroke: #e8d8b5; }
.product-information .oli-products-colors .oli-color-negro svg path { fill: #000000; stroke: #000000; }
.product-information .oli-products-colors .oli-color-azul svg path { fill: #2c3e73; stroke: #2c3e73; } 
.product-information .oli-products-colors .oli-color-tierra svg path { fill: #a36b3f; stroke: #a36b3f; }
.product-information .oli-products-colors .oli-color-alba svg path { fill: #f7f7f2; stroke: #d6d6d6; } 
.product-information .oli-products-colors .oli-color-bruma svg path { fill: #f2eadf; stroke: #f2eadf; }
.product-information .oli-products-colors .oli-color-savia svg path { fill: #f2eadf; stroke: #f2eadf; }



/* CART */
#billing_company_field {
    display: none !important;
}

#side-cart .progress-bar-rail{
    display: none !important;
}



/* PRE ORDER MENSAJE */
.oli-pre-order {
    background: linear-gradient(135deg, #ffdce7 0%, #ffdce7 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 4px solid #66033c;
    border-radius: 14px;
    padding: 18px 20px;
    margin: 20px 0;
    color: #f3f4f6;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.oli-pre-order h5 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #66033c;
}

.oli-pre-order p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #66033c;
}


/* POPUP */
.oli-off-popup figure {
  margin-bottom:0px!important;
}
.oli-off-popup > .wp-block-column:nth-child(2) {
  padding:20px!important;
}

.oli-off-popup .nf-form-fields-required,
.oli-off-popup .nf-after-field {
    display: none!important;
}

@media (max-width: 768px) {

  .oli-off-popup figure {
    margin-bottom: 0 !important;
    max-height: 30vh!important;
    overflow: hidden!important;
  }

  .oli-off-popup figure img {
    width: 100%!important;
    height: 100%!important;
    object-fit: cover!important;
    object-position: top center!important;
    display: block!important;
  }
  
  .oli-off-popup > .wp-block-column{
      margin: 0!important;
  }

    .oli-off-popup > .wp-block-column:nth-child(2) {
      padding-top:0px!important;
    }
}


/* Imágenes COTTON MOHAIR LANA en tienda */
.product_thumbnail .oli-composition-badges{
    position : absolute;
    width: 50px;
    height: 50px;
    bottom: 10px;
    right: 10px;
    z-index: 1;
}
.product-gallery-inner .oli-composition-badges{
    position : absolute;
    width: 60px;
    height: 60px;
    top: 10px;
    right: 30px;
    z-index: 1;
}

@media (max-width: 768px) {
    .product_thumbnail .oli-composition-badges{
        position : absolute;
        width: 35px;
        height: 35px;
    }
    .product-gallery-inner .oli-composition-badges{
        width: 50px;
        height: 50px;
        top: 10px;
        right: 10px;
    }
}

.et-switcher-container{
    display:none!important;
}

.woocommerce-product-details__short-description p{
    margin-bottom: 15px!important;
}