@import url('global-vars.css');

/* ============================================
   TABLET
   ============================================ */
   
@media (max-width: 820px) and (min-width: 577px) {
    .imgH2 {
        position: static !important;
        width: fit-content !important;
        align-self: center !important;
    }
}

/* ============================================
   MÓVIL
   ============================================ */
@media (max-width: 576px) {
    .imgH2 {
        position: static !important;
        width: fit-content !important;
        align-self: center !important;    
    }
}

.product-tabs .e-n-tabs-heading {
    border-bottom: 1px solid rgba(160,160,160,.25);
}

.custom-slider .swiper.stsb-swiper-container{
    padding:10px;
}

.product-miniature-name .stsb_mini_product_name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 17px;
  height: 34px;
}

.category-products-per-page .dropdown-menu{
    min-width:unset;
}


.category-product-filters #search_filters > p.text-uppercase.h6.hidden-sm-down {
    display: none;
}

.category-product-filters #search_filters .facet > p.facet-title {
    font-style: default;
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
    color: #333333;
    border-bottom: 1px solid #e3e3e3;
    padding: 0 0 7px;
}

.category-product-filters #search_filters .facet ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}

.category-product-filters #search_filters ul:has(.custom-checkbox) {
    min-height: 30px;
    max-height: 300px;
    overflow: auto;
}

.category-product-filters #search_filters .facet ul:has(span.color) {
    flex-direction: row;
    flex-wrap: wrap;
}

.category-product-filters #search_filters .facet ul:has(span.color) .facet-label a {
    display: none;
}

.category-product-filters #search_filters ul li .facet-label {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.category-product-filters #search_filters .facet ul .facet-label {
    position: relative;
}

.category-product-filters #search_filters ul li .facet-label a {
    font-family: Rubik;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    color: #777;
    margin-top: 0;
    width: auto;
    overflow: unset;
}

.category-product-filters #search_filters .facet li p {
    margin-top: 10px;
    font: 400 14px/21px Rubik;
    color: #777777;
}

.category-product-filters #search_filters ul .custom-checkbox {
    position: relative;
    top: unset !important;
    width: 16px !important;
    height: 16px !important;
}

.category-product-filters #search_filters ul .custom-checkbox input {
    width: 16px;
    height: 16px;
    margin-top: 0;
}

.category-product-filters #search_filters ul .custom-checkbox span {
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid #cfc9c9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .09);
}

.category-product-filters #search_filters ul .custom-checkbox input:checked + span {
    border: 1px solid #8a8888;
}

.category-product-filters #search_filters ul .custom-checkbox .ps-shown-by-js {
    position: absolute;
}

.custom-checkbox input[type=checkbox] + span {
    width: 16px;
    height: 16px;
    margin-right: unset;
    vertical-align: unset;
}

.custom-checkbox input[type=checkbox]:checked + span .checkbox-checked {
    display: block;
    margin: 0;
    font-size: 14px;
    animation: checkbox-bounce .3s cubic-bezier(.7, 0, .3, 1);
}

.category-product-filters #search_filters .facet ul:has(span.color) .custom-checkbox,
.category-product-filters #search_filters .facet ul:has(span.color) .custom-checkbox span,
.category-product-filters #search_filters .facet ul:has(span.color) .custom-checkbox input {
    width: 20px !important;
    height: 20px !important;
}

.category-product-filters #search_filters .ui-slider-horizontal {
    height: 6px;
    border: none;
    background: #F8F4FC;
}

.category-product-filters #search_filters .ui-slider-range.ui-widget-header.ui-corner-all {
    height: 6px;
    background: #a53e83;
}

.category-product-filters #search_filters .facet .ui-slider-handle.ui-state-default.ui-corner-all {
    height: 25px;
    width: 6px;
    border-radius: 3px;
    border: 1px solid rgba(161, 161, 161, .25);
    top: -10px;
}

.category-product-filters #search_filters .facet .ui-slider-handle.ui-state-default.ui-corner-all:focus {
    outline: none;
}
.category-product-filters #search_filters #_desktop_search_filters_clear_all button:focus,
.category-product-filters #search_filters #_desktop_search_filters_clear_all button:focus-visible{
    outline:none !important;
    box-shadow:unset !important;
    
}
@keyframes checkbox-bounce {
    0%, to {
        transform: scale(1);
    }
    50% {
        transform: scale(.8);
    }
}

.category-active-filters .active_filters {
    padding:0;
    margin-bottom: 0;
    background: none;
    display:flex;
    flex-direction:row;
    gap:12px;
    flex-wrap:wrap;
    
}
.category-active-filters .active_filters .active-filter-title{
    font-size:14px;
    line-height:24px;
    font-weight:400;
    font-family:rubik;
    color:#777777;
}
.category-active-filters .active_filters ul{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:0;
}
.category-active-filters .active_filters ul .filter-block{
    margin:0;
    padding: .25rem .5rem;
    background: #f8f8f8;
    color: #333;
    border: none 1px #f0f0f0;
    font-size:12px;
    line-height:16px;
    font-weight:400;
    font-family:rubik;
}
.category-active-filters .active_filters ul .filter-block .js-search-link{
    margin-left:5px;
}
.category-active-filters .active_filters ul .filter-block .js-search-link i{
    margin:0;
}
.add-to-cart-disabled:hover {
  cursor: not-allowed;
}

.product-availability .stsb_pm_stock_item{
    font-family:rubik;
    font-size:12px;
    line-height:17px;
    padding:2px 5px;
    color:#fff;
}

.product-gallery__thumbs .swiper .elementor-swiper-button,
.custom-slider .swiper .elementor-swiper-button,
.product-gallery__main .swiper .elementor-swiper-button{
    color: #fff !important;
    background: #333 !important;
    border-radius:unset !important;
    width:32px !important;
    height:64px !important;
    font-size:26px !important;
    transition:0.5s all ease;
    opacity:0 !important;
}
.product-gallery__thumbs .swiper .elementor-swiper-button svg,
.custom-slider .swiper .elementor-swiper-button svg,
.product-gallery__main .swiper .elementor-swiper-button svg{
    fill: #fff !important;
    width: 26px !important;
}

.product-gallery__thumbs .swiper-button-disabled,
.custom-slider .swiper-button-disabled,
.product-gallery__main .swiper-button-disabled{
    display:none !important;
}

.product-gallery__thumbs:hover .swiper .elementor-swiper-button,
.custom-slider:hover .swiper .elementor-swiper-button,
.product-gallery__main:hover .swiper .elementor-swiper-button{
    opacity:1 !important;
}
.product-gallery__thumbs .swiper .elementor-swiper-button:hover,
.custom-slider .swiper .elementor-swiper-button:hover,
.product-gallery__main .swiper .elementor-swiper-button:hover{
    opacity:0.6 !important;
}

@media(max-width:992px){
    .product-gallery__main .swiper-slide .stsb_grid_item{
        text-align:center;
    }
    .product-gallery__main .swiper-slide img.stsb_pro_gallery_item{
        max-width:400px !important;
    }
}

.des-custom-menu{
    display:flex;
    flex-direction:row !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
}
.c-d-item{
    width:fit-content;
    padding:0;
    height:30px;
    z-index:1;
}
.d-c-title{
    width:fit-content;
    font-family:rubik;
    font-size:13px;
    line-height:20px;
    font-weight:600;
    text-transform:uppercase;
    color:#000;
    padding:5px 10px;
    transition:0.5s all ease;
}

.c-d-item:has(.d-c-content:hover) .d-c-title,
.d-c-title:hover{
    background: #f8f8f8;
    color: #ba86a9;
}
.d-c-title a{
    transition:0.5s all ease;
}
.c-d-item:has(.d-c-content:hover) .d-c-title a,
.d-c-title:hover a{
    color: #ba86a9 !important;
}
.d-c-content{
    position:absolute;
    opacity:0;
    width:auto;
    top:30px;
    display:none;
    transition:0.5s all ease;
}
.c-d-item:hover{
    z-index:99;
}
.c-d-item:hover .d-c-content{
    display:block;
    opacity:1;
}

.c-tabs .e-n-tabs-heading{
    width:200px !important;
    max-width:200px !important;
}
.c-tabs .e-n-tabs-content{
    left:200px !important; 
    width:fit-content !important;
}


.header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  animation: deslizarAbajo 0.3s ease-out both;
  
  .menu-mobile {
	  color: #BA86A9;
  }
  
  /* Evita parpadeo en iOS */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

@keyframes deslizarAbajo {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


@media(min-width:993px){
    .header.sticky{
        background:#ba86a9 !important;
    }
    .header.sticky .header__topbar,
    .header.sticky .header__logo,
    .header.sticky .header__search-bar,
    .header.sticky .header__tools .tool-account{
        display:none;
    }
    .header.sticky .header__tools{
        position:absolute;
        right:15px;
    }
    .header.sticky .header__main>.e-con-inner{
        justify-content:center;
    }
    .header.sticky .center-content{
        width:calc(100% - 100px );
    }
    .header.sticky .tool-cart .stsb_bubble{
        background:#fff !important;
        color:#ba86a9;
    } 
    
}
@media(max-width:992px){
    .header.sticky{
        background:#fff !important;
        box-shadow: 0px 0px 5px #000;
    }
    .header.sticky .header__topbar,
    .header.sticky .center-content{
        display:none;
    }
    .custom-slider .swiper .elementor-swiper-button{
        opacity:1 !important;
    }
    .custom-slider:hover .swiper  .swiper-button-disabled,
    .custom-slider .swiper  .swiper-button-disabled{
        display:flex !important;
        opacity:0.6 !important;
    }
}
.cart-voucher .stsb-promo-code-button{
    display:none;
}
.cart-voucher #promo-code-614a85d{
    display:block !important;
}
.cart-voucher .stsb_voucher_list{
    flex-direction:column;
    margin-bottom:10px;
}
.cart-voucher .stsb_voucher_list .stsb_list_v{
    padding-left:5px;
}
.cart-voucher .promo-input:focus,
.cart-voucher .promo-input:focus-visible,
.cart-voucher .stsb-promo-code-submit:focus-visible,
.cart-voucher .stsb-promo-code-submit:focus{
    outline:none;
    box-shadow:unset;
    border:1px solid #ba86a9 !important;
}


.stsb_pm_old_price {
  text-decoration: line-through !important;
  color: #999999 !important;
  opacity: 0.8;
}

/*sliders home*/
.elementor-element-30360e9 > .elementor-widget-container > .swiper,
.elementor-element-c5c4547 > .elementor-widget-container > .swiper,
.elementor-element-9324a17 > .elementor-widget-container > .swiper {
    overflow: visible !important;
    overflow-clip-margin: unset !important;
    padding: 10px !important;
    margin: -10px !important;
    width: calc(100% + 20px) !important;
}

.elementor-element-30360e9,
.elementor-element-c5c4547,
.elementor-element-9324a17 {
    overflow: hidden !important;
}

.stsb_pm_discount {
    white-space: nowrap;
}

/*blog*/
.btn.btn-primary {
    background-color: #BA86A9;
}
img.photo {
    height: 300px;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}
a.disabled {
    color: #BA86A9 !important;
}
#module-ph_simpleblog-list .page-heading .h1 {
    padding-top: 30px;
}

/*borde azul chrome*/
a:focus {
    outline: none;
}

/*One Page Checkout*/
#checkout #wrapper #opc_main 
#opc_step_payment #opc_step_payment_content 
#payment-confirmation button.btn-primary {
    background-color: #ba86a9;
    border-color: transparent;
}
#checkout #wrapper #opc_main 
#opc_step_payment #opc_step_payment_content 
#payment-confirmation button.btn-primary:hover {
    background-color: #a06e91;
    border-color: transparent;
}
#checkout #wrapper #opc_main .opc-step-header h5 {
    color: #ba86a9;
}
#checkout #wrapper #opc_main .opc-step-header .line-title {
    background-color: #ba86a9;
}
#checkout #wrapper #opc_main .btn-outline-primary {
    color: #ba86a9;
    border-color: #ba86a9;
    background-color: transparent;
}
#checkout #wrapper #opc_main .btn-outline-primary:hover {
    color: #fff;
    background-color: #ba86a9;
    border-color: #ba86a9;
}
#checkout #wrapper #opc_main #opc_step_addresses 
#opc_step_addresses_content .address-selector 
.address-item.selected {
    border: solid 2px #ba86a9;
}
#checkout #wrapper #opc_main #opc_cart #cart_body 
#opc_cart_title #opc_cart_title_text {
    color: #ba86a9;
}
#checkout #wrapper #opc_main #opc_cart #cart_body 
#opc_cart_title #opc_cart_total_products {
    background-color: #ba86a9;
    color: #fff;
}
#checkout #wrapper #opc_main #opc_cart #cart_body .cart-summary-products #cart-summary-product-list .media-list .media .media-body .media-body-right .product-total-price,
#checkout #wrapper #opc_main #opc_cart #cart_body .cart-summary-products #cart-summary-product-list .media-list .media .media-body .media-body-left .product-price {
    color: #ba86a9;
}
#checkout #wrapper #opc_main #opc_content #promo-code form button {
    background-color: #ba86a9;
    border-color: transparent;
}
#checkout #wrapper #opc_main #opc_content #promo-code form button:hover {
    background-color: #a06e91;
    border-color: transparent;
}
.alert-info {
    background-color: #FFF2FA;
    border-color: #ba86a9;
    color: black;
}
#checkout #wrapper #opc_main #cart_remaining_free_shipping .progress-bar {
    background-color: #ba86a9;
}
#checkout #wrapper #opc_main #opc_step_addresses 
#opc_step_addresses_content .address-selector 
.address-item.selected .address-title .material-icons {
    color: #ba86a9;
}
#checkout #wrapper #opc_main #opc_mobile_cart_trigger {
    background-color: #ba86a9;
    border-color: transparent;
}
#checkout #wrapper #opc_main #btn-opc_login,
#checkout #wrapper #opc_main #btn-register {
    background-color: #ba86a9;
    border-color: transparent;
}
#checkout #wrapper #opc_main #btn-opc_login:hover,
#checkout #wrapper #opc_main #btn-register:hover {
    background-color: #a06e91;
    border-color: transparent;
}
#checkout #wrapper #opc_main #opc_content #opc_steps 
#expressCheckoutButtonList #expressCheckoutButtonListTitle {
    color: #ba86a9;
}
#checkout .opc-step .card .opc-step-footer .save {
    background-color: #ba86a9;
    border-color: transparent;
}
#checkout .opc-step .card .opc-step-footer .save:hover {
    background-color: #a06e91;
    border-color: transparent;
}
/* Fuera de stock */
.elementor-widget-pm-product-action-button .stsb_pm_action_button_wrapper:not(:has(a)):not(:has(button))::after {
  content: "Fuera de stock";
  display: block;
  background-color: #cccccc;
  color: #555555;
  border-radius: 6px;
  height: 31px;
  line-height: 31px;
  font-weight: bold;
  text-align: center;
  font-size: 14px;
  width: 140px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  #content-wrapper {
    padding: 0 !important;
  }
}
/*Mi Cuenta*/
.page-customer-account button.btn-primary[data-link-action="save-customer"],
.page-customer-account button.btn-primary.form-control-submit {
    background-color: #ba86a9;
    border-color: transparent;
}
.page-customer-account button.btn-primary[data-link-action="save-customer"]:hover,
.page-customer-account button.btn-primary.form-control-submit:hover {
    background-color: #a06e91;
    border-color: transparent;
}
.page-customer-account #exportDataToPdf,
.page-customer-account #exportDataToCsv {
    background-color: #ba86a9;
    border-color: transparent;
}
.page-customer-account #exportDataToPdf:hover,
.page-customer-account #exportDataToCsv:hover {
    background-color: #a06e91;
    border-color: transparent;
}
/* --- Links y título en la lista de deseos --- */
.wishlist-footer-links > a.text-primary,
a.wishlist-add-to-new.text-primary {
    color: #ba86a9 !important;
}

/* --- Hover --- */
.wishlist-footer-links > a.text-primary:hover,
a.wishlist-add-to-new.text-primary:hover,
a.wishlist-list-item-link:hover,
a.wishlist-list-item-link:hover .wishlist-list-item-title {
    color: #ba86a9 !important;
}