/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* Bloque newsletter (Artdinamica - Florin) */
#btn-newsletter-enviar:active:hover {
    background-color: transparent;
}

#btn-newsletter-enviar:hover .tdk-icon-newsletter {
    fill: #ee4448;
}

#btn-newsletter-enviar:disabled {
    cursor: not-allowed;
    pointer-events: auto !important;
}

#AlertNewsletter {
    color: #ee4448;
    font-weight: 600;
}

.block_newsletter .conditions-newsletter {
    padding-top: 0;
    font-size: 13px;
}

/* POPOVER CARRITO */
.tdk-cart-item-wrapper .tdk-cart-item-info .product-price .current-price {
    color: #000!important;
}

.tdk-cart-item-wrapper .tdk-cart-item-info .product-discount .regular-price, .product-discount .discount-percentage {
    color: #ee4448 !important;
}

.TdkContainer .TdkHeaderLogo>a>img.logo {
    height: 25px!important;
}

/*Ocultar opciones que no se usan en mi cuenta*/
#my-account #discounts-link, #my-account #psgdpr-link, #my-account #emailsalerts, #my-account #returns-link[target="_blank"] {
    display: none;
}

/*Deberían aparecer de 2 en 2, asi lo hacen todas las marcas*/
@media (max-width: 480px) {
    body#category .ajax_block_product.col-sp-12 {
        padding: 0 1px 0 1px;
        width: 50%!important;
    }

    body#category .group-type-select .tdk-list-attr{
        display: flex;
        overflow-x: scroll;
        width: fit-content;
        margin: auto;
    }

    body#category .group-type-select .tdk-list-attr::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    body#category .thumbnail-container .product-price-and-shipping{
        min-height: 48px;
    }
}
@media(min-width:1400px){
  .thumbnail-container .product-info .product-title {
    margin-top: 16px;
    margin-bottom: 50px;
    float: left;
  }  
  .thumbnail-container .product-info .product-price {
    margin-top: 16px;
    margin-bottom: 50px;
    float: right;
  }  
  .tdk-plist-style4 .thumbnail-container .product-meta {
      bottom: 20px;
    }
}
@media(min-width:992px) and (max-width:1399px){
  .thumbnail-container .product-info{
    text-align: center;
    margin-bottom: 32px;
  }
  .tdk-plist-style4 .thumbnail-container .product-meta {
      bottom: 60px;
    }
}
@media(max-width:991px){
  article.product-miniature.js-product-miniature {
    margin-bottom: 15px;
  }
  .product-info,
  .product-info .product-title,
  .product-info .product-price-and-shipping{
    text-align: center;
  }   
}

/* color negro primer elemento precio no rebajado*/
.tdk-cart-item-wrapper .tdk-cart-item-info .product-price > div:first-child > span {
    color: black!important;
}

.product-prices > .product-price:not(.has-discount) .current-price > span {
    color: black!important;
}
/*.product-price:not(.has-discount) .current-price > span {*/
/*    color: black!important;*/
/*}*/

/*mejorar menu arriba*/
.dropdown-sub > .dropdown-menu-inner {
    max-width: 1300px;
    margin: 0 auto;
}
@media (max-width: 991px) {
  .dropdown-menu-inner .widget-html img {
    display: none !important;
  }
}

/*FIXED HEADER*/
@media(max-width: 992px) {
    header#TdkHeader {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 31;
    }

    #wrapper{
        margin-top: 90px !important;
    }

    .TdkNavBottom .row.headerNavFlex.hidden-md-down.TdkRow {
        display: block !important;
    }



    .col-xl-6.col-lg-6.col-md-6.col-sm-12.col-xs-12.col-sp-12.headerFlexEnd.TdkColumn {
        display: none;
    }

    /*img.logo.img-fluid {*/
    /*    padding-top: 10px;*/
    /*}*/


}

/* LPS: quitar todas las clases que sobran */
@media (min-width: 320px) and (max-width: 992px)  {    
    /* .col-xl-2-4.col-lg-2.col-md-12.col-sm-12.col-xs-12.col-sp-12.headerFlexStart.bloque_logo.TdkColumn { */
    .headerFlexStart.bloque_logo.TdkColumn {
        position: absolute !important;
        left: 40px;
    }
}

@media (min-width: 320px) and (max-width: 340px){
    img.logo.img-fluid {
        width: 101px!important;
        padding-top: 10px;
    }
}
@media (min-width: 992px) {
    .mobile-only {
        display: none!important;
    }
}


/*la capa del buscador que no ocupe todo el alto de la pagina*/
.TdkFormSearch.TdkShowForm {
    height: 0;
}

/*Móvil, Ficha de Producto, TABS*/
#product #usizy {
  display: none;
}
@media(max-width: 686px) {
    .product-tabs.tabs .nav-tabs .nav-link {
        letter-spacing: inherit !important;
    }
}

@media(min-width: 414px) and (max-width: 514px){
    .product-tabs.tabs .nav-tabs .nav-link {
        font-size: 13px !important;
    }
}

@media (max-width: 414px) {
    .product-tabs.tabs .nav-tabs .nav-link{
        font-size: 11px !important;
    }
    .product-tabs.tabs .nav-tabs .nav-link{
        margin: 0px 2px;
    }
}


/*Móvil, Ficha de Producto, Completa tu look*/
.product-tabs.tabs{
  display:none;
}
#product .card-header, #product .card-block {
  padding: 1.25rem 0;
}
#product .tdk-list-attr .tdk-select-attr.disable{
  cursor: default;
}
.tdk-pro-attr-section.type-3 .tdk-list-attr > a.tdk-select-attr.disable {
  border-color: #CCC;
  color: #ccc;
}
.tdk-select-attr.disable:hover,
.tdk-select-attr.disable:focus{
  text-decoration: none;
}
@media(max-width: 992px) {
    .slick-arrows .slick-arrow.slick-prev {
        left: 5px !important;
    }
    .slick-arrows .slick-arrow.slick-next {
        right: 5px !important;
    }

    .slick-arrows .slick-arrow:hover {
        background: #1d1d1b !important;
        color: #FFFFFF !important;
    }
}



/*filtrado categorias*/

body#category #js-product-list-top {
    display: block!important;
}
.products-selection .display {
    display: flex !important;
    flex-direction: row-reverse;
}
.products-selection .total-products {
    display: flex;
    flex-direction: row-reverse;
}

/*#js-product-list-top > .row {*/
/*  display: flex;*/
/*  flex-direction: row-reverse;*/
/*}*/

.products-selection .sort-by {
    display: none !important;
}

.products-selection .sort-by, .products-sort-order {
    width: auto !important;
}

.products-sort-order .select-title {
    border: none !important;
}

.products-selection .products-counter {
    margin-right: 30px ;
}

.products-sort-order .select-title > .material-icons {
    position: relative;
    top: inherit;
    right: inherit;
}

#left-column {
    width: 320px!important;
}

.active_filters {
    padding-left: 0px!important;
}

.products-selection .display > div {
    width: 10px;
}

div#grid {
    margin-left: 3px;
}

.label_ver {
    margin-right: 10px;
    font-weight: 400;
    font-size: 12px;
    line-height: 30px;
}

.filter_row, .filter_one, .filter_two {
    display: flex;
}

.filter_row {
    justify-content: space-between;
}

.btn-filtro {
    margin-bottom: 0!important;
    height: 35px;
    line-height: 27px;
    font-size: 0.8125rem;
    text-transform: uppercase;
}

.filter_two .products-counter, .filter_two > .display {
    height: 35px;
    line-height: 27px;
    font-size: 0.8125rem;
}

.product_list.tdk-plist-style4.list2 {
    width: 65%!important;
    margin: 0 auto;
}

.product_list.tdk-plist-style4.list2 .thumbnail.product-thumbnail img {
    width: 100%;
}

.list2 .ajax_block_product {
    width: 50% !important;
}

@media (max-width: 1023px) and (min-width: 320px){
    button.btn-filtro {
        display: inherit !important;
        width: inherit!important;
        padding: inherit!important;
        border: inherit!important;
        font-size: inherit!important;
        margin-top: inherit!important;
    }

    #left-column {
        height: 100vh !important;
        top: 0!important;
        position: fixed !important;
        z-index: 99 !important;
    }

    .products-sort-order .select-title, .products-sort-order .select-title > .material-icons {
        line-height: 15px;
    }
}

@media (max-width: 766px) and (min-width: 320px) {
    .cierra-filtro {
        position: absolute !important;
        right: 15px !important;
        top: 10px !important;
        display: block !important;
        width: 17px;
        height: 17px;
    }
}

@media (max-width: 766px) {
 .sort-by-row, .filter_two {
     display: none!important;
 }
}


#TdkBackTop {
    display: none !important;
}


.grecaptcha-badge {
    visibility: hidden !important;
}

.tdk-dropdown-cart-content .tdk-dropdown-list-item.active-scrollbar {
    overflow: auto;
    max-height: 305px !important;
}

.thumbnail-container .product-price-and-shipping .discount-percentage {
    display: none;
}

@media (max-width: 992px) {
    #TdkFooter > div.TdkFooterCenter > div > div > div > div {
        display: flex;
        flex-wrap: wrap;
    }
    #TdkFooter > div.TdkFooterCenter > div > div > div > div > :nth-child(1) {
        order: 2;
        width: 100%;
        float: left;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 100%;
    }
    #TdkFooter > div.TdkFooterCenter > div > div > div > div > :nth-child(2) {
        order: 3;
        width: 50%;
        float: left;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 50%;
    }
    #TdkFooter > div.TdkFooterCenter > div > div > div > div > :nth-child(3) {
        order: 4;
        width: 50%;
        float: left;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 50%;
    }
    #TdkFooter > div.TdkFooterCenter > div > div > div > div > :nth-child(4) {
        order: 5;
        width: 100%;
        float: left;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 100%;
    }
    #TdkFooter > div.TdkFooterCenter > div > div > div > div > :nth-child(5) {
        order: 1;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 100%;
    }

    .TdkFooterContainer li {
        margin-bottom: 0;
    }
    .TdkFooterContainer .TdkColumn .block {
        margin-bottom: 5px;
    }
}

.row-custom-grid .product-flags .product-flag.discount{
    display: none;
}

/*customgrid mobile*/
@media(max-width: 768px){
    .custom-grid-1 {
        margin-left: inherit !important;
        margin-right: inherit !important;
        flex: 0 1 100%!important;
    }

    .custom-grid-2 {
        margin-left: inherit !important;
        margin-right: inherit !important;
        flex: 0 1 50% !important;
    }
    .custom-grid-3 {
        margin-left: inherit !important;
        margin-right: inherit !important;
        flex: 0 1 50% !important;
    }
}

/*videos*/
.pro_gallery_thumb_box video {
    width: 100%;
    height: auto;
    /*max-height: 713px;*/
    margin: 0 auto;
    text-align: center;
}
.pro_gallery_thumb_box.general_border {
    border:none;
}


.video-container {
    height: 100px;
    position: relative;
}

.video-container video {
    width: calc(100% - 10px);
    height: 100%;
    position: absolute;
    object-fit: cover;
    z-index: 0;
    top:0;
    left:0;
    padding: 8px 3px 8px 17px;
}

#category .video-container video{
    padding: 6px 0px 6px 0px;
}

@media (max-width: 991px) {
    #category .video-container video {
        padding: 2px;
    }
}

.st_popup_video_wrap {
    right: 18px;
}