/*** Ficha de producto ***/

/* ajuste tamaño imagen categorías */
.catalog-sub-category li .cat-image img {
    object-fit: unset!important;
}


/* Reordenamos para que el precio sin IVA aparezca antes del precio con IVA */
.price-container
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.product-info-main .product-info-price .price-wrapper.price-including-tax
{
    order: 3;
    line-height: inherit;
    flex-basis: 100%;
}

.product-info-main .product-info-price .price-label
{
    order: 1;
    margin-right: 4px;
    align-self: flex-end;
}

.product-info-main .product-info-price .price-wrapper.price-excluding-tax
{
    order: 2;
}

/* Mostramos en grande el precio sin IVA y en pequeño el precio con IVA */
#maincontent .product-info-main .product-info-price .price-wrapper.price-including-tax .price
{
    font-size: 12px;
    line-height: inherit;
}

#maincontent .product-info-price .price-box .price-container .price, .product-info-main .product-info-price .price-wrapper.price-excluding-tax .price
{
    font-size: 21px;
}

/* Ocultamos la etiqueta de "Impuestos NO Incl." */
.product-info-price .price-box .price-container .price, .product-info-main .product-info-price .price-wrapper.price-excluding-tax::before
{
    content: '';
}

/* Añadimos una etiqueta a los precios con IVA */
.product-info-main .product-info-price .price-wrapper.price-including-tax .price::before
{
    font-size: 12px;
    font-weight: normal;
    content: 'con IVA: ';
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/** Listados y destacados **/

/* Reordenamos para que el precio sin IVA aparezca antes del precio con IVA */
#layer-product-list .price-container,
#featured_product .price-container
{
    display: flex;
    flex-direction: column;
}

#layer-product-list .price-wrapper.price-including-tax,
#featured_product .price-wrapper.price-including-tax
{
    order: 2;
    margin-top: 5px;
}

#layer-product-list .price-wrapper.price-excluding-tax,
#featured_product .price-wrapper.price-excluding-tax
{
    order: 1;
}

/* Mostramos en grande el precio sin IVA y en pequeño el precio con IVA */
#layer-product-list .price-wrapper.price-including-tax .price,
#featured_product .price-wrapper.price-including-tax .price
{
    font-size: 12px;
}

#layer-product-list .price-wrapper.price-excluding-tax .price,
#featured_product .price-wrapper.price-excluding-tax .price
{
    font-size: 21px;
}

/* Ocultamos la etiqueta de "Impuestos NO Incl." */
#layer-product-list .price-wrapper.price-excluding-tax::before,
#featured_product .price-wrapper.price-excluding-tax::before
{
    content: '';
}

/* Añadimos una etiqueta a los precios con IVA */
#layer-product-list .price-wrapper.price-including-tax::before,
#featured_product .price-wrapper.price-including-tax::before
{
    font-weight: normal;
    font-size: 12px;
    content: 'con IVA: ';
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Ocultamos en el checkout los campos de "Dirección de Facturación" y "Dirección de Envío" */
.checkout-billing-address div[name$="idovy_customer_address_billing"],
.checkout-shipping-address div[name$="idovy_customer_address_billing"],
#opc-new-billing-address div[name$="idovy_customer_address_billing"],
#opc-new-billing-address div[name$="idovy_customer_address_shipping"]
{
    display: none;
}

.checkout-billing-address div[name$="idovy_customer_address_shipping"],
.checkout-shipping-address div[name$="idovy_customer_address_shipping"],
#opc-new-shipping-address div[name$="idovy_customer_address_billing"],
#opc-new-shipping-address div[name$="idovy_customer_address_shipping"]
{
    display: none;
}

.search-autocomplete
{
    display: none !important;
}

#product-attribute-specs-table tr{
    line-height: inherit;
}

#product-attribute-specs-table th{
    padding: 0px 4.5px 0px 4.5px;
}

#product-attribute-specs-table td{
    padding: 0px 4.5px 0px 4.5px;
}

.catalog-sub-category li .cat-image img{
    max-width: 98%;
    object-fit: none;
    height: 100%;
    }
    
@media (min-width: 768px){
.col-md-2 {
    height: 240px;
        }
}

#totop{
    right: 200px !important;
    }

/*@media screen and (min-width: 0767px){
    .home-side-menu {
         display: none;
    }
}*/

@media screen and (mix-width: 768){ /*991px){*/
    .home-side-menu {
         display: block;
    }
}
.idovy-mobile.phone-banner,
.idovy-midscreen.phone-banner {
    order: 2;
}
.idovy-midscreen.home-side-menu {
    display: block;
}

.data.item.title {
    display: contents;
}
.data.item.title .data.switch {
    margin-top: 30px;
}
.data.item.content {
    display: contents !important;
}

/*.catalog-category-view .page-title-wrapper {
    display: block;
}*/
.catalog-category-view .category-view h1.page-title{
    color: #2b2b2d;
    font-weight: bold;
    font-size: 2.5rem;
    margin: 15px 0;
}
.category-view .category-cms h2.category-header{
    color: #465157;
    font-size: 1.5rem;
}
.category-view .category-cms h2.category-footer{
    color: #465157;
    font-size: 1.5rem;
}
.catalog-sub-category li .info h3{
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.1;
    font-size: 1.3rem;
}
.catalog-sub-category li .info h3 a {
    color: #465157;
}
.product-info-main .page-title-wrapper h1.tiny{
    font-size: 17px;
    font-weight:normal;
    letter-spacing: -0.01em;
    color: #878787;
    margin: 0;
}
.product-info-main .page-title-wrapper h2.page-title{
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #21293c;
    margin: 3px 0 15px;
}

.filter-options-item.active .filter-options-content{
    overflow-y: auto;
    max-height: 400px
}

/*aviso cookies*/
.message.global.cookie {z-index:5 !important;}

/*Ajustes diseño inter: 220227*/
.uf5xuop-s .xi00w2m { height: 0px !important; }
.mgz-product-items .mgz-grid-item .product-item-info {   min-height: 360px !important;}


/*Ajustes inter 225161 Productos relacionados*/
.products-grid.products-related .product-item, .products-grid.products-upsell .product-item {
  padding: 10px;
    margin-left:15px;
  width: 100% !important;
}
.sidebar .product-items .product-item-info .product-item-photo {max-width:75% !important;}
.sidebar .product-items .product-item-details {
  margin-left: calc(10% + 1px) !important;
}