
#product_list{
    position: relative;
    list-style-type: none;
    margin: 10px 0;
}
.grid_view #product_list{
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
/* .quick_bar{ background: #ECECEC; opacity: 0.5; position: absolute; bottom: 46px; border-bottom: 3px solid #D3D0D0; left: 0; height: 35px; width: 100%; display: none; } */

.hidden-el-barr{
    display: none;
    position: absolute;
    bottom: 48px;
    width: 100%;
    left: 0;
    height: 25px;
    padding: 5px 0;
    line-height: 25px
}
.hidden-el-barr .quick-view{margin-right: 8px;}
.hidden-el-barr i{opacity: 0.6}
.hidden-el-barr .red-more{margin-left: 8px;}
#product_list li{
    opacity: 1;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}
#product_list li.fade{
    opacity: 0.85;
}

.displayQuantityDiscountProCustom3{
    margin-top: 10px;
    clear: both;
}
#product_list .manufac_name{
    display: block;
    color: #8a8a8a;
    text-transform: uppercase;
    font-size: 11px;
}

#product_list .stock_man{
    clear: both;
    padding: 0;
}
#product_list .groupincText p, #product_list .txt_quantity_discount_pro p, #product_list .custom_offer_top p{
    float: none;
    padding: 0;
}
#product_list .groupincText p{
    display: inline-block;
    padding-left: 8px;
    padding-right: 8px;
}
.list_view .groupincText{
    text-align: right;
}
#product_list .freetext{
    background: #009499;
    color: #fff;
    padding: 2px 10px;
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(-20deg);
    -o-transform: skew(-20deg);
}
#product_list .freetext span{
    display: inline-block;
    -webkit-transform: skew(20deg);
    -moz-transform: skew(20deg);
    -o-transform: skew(20deg);
}
#product_list .stock_msg{
    display: block;
    line-height: 12px;
    font-size: 11px;
}
#product_list .offer_block{
    padding-bottom: 0;
    position: relative;
}

#product_list .in_stock{
    color: #ffb400;
}
#product_list .offer_block .special_price{
    color: #14b6c3;
    font-size: 16px;
}

#product_list .offer_block .look_for_sign{
    font-size: 11px;
}
#product_list .out_of_stock{
    color: #EE8282;
}
#filters{padding-top: 10px; padding-bottom: 0;}
#filters .label{display: inline-block;margin-bottom: 3px;}
#filters i:hover{cursor: pointer;}
.top_pr_list{padding: 0;}

.top_pr_list .label{
    white-space: normal;    
    margin:0 15px 0 25px;
    padding: 0 4px;
}

#product_list a.product_img_link img.img_1{
    display: none; 		
    position:absolute;
    top: 0px;
    left: 0px;
}
#product_list h3 a{
    font-size: 14px;
}
/* .price/.old_price/.btn rules removed here — superseded by .product-card's own styling in
   product-card.css (same class names, shared via product-price-cta.tpl). */

#product_list li .left_block  p.compare  {
    height: 14px;
    overflow: hidden;
    padding: 0px;
}




/*              LIST VIEW           */
/* .list_view #product_list li .quick_bar, .list_view #product_list li .hidden-el-barr{bottom:0;} */
.list_view #product_list li .content_price.more_info{
    border: 0;background: none
}
.list_view .top_pr_list.yes_extra_text{padding: 0 0 6px 0;}
.list_view .right_block{
    float: right;
}

.list_view #product_list li div.product_desc, .list_view #product_list li div.product_desc a{
    color: #666666; 
}
.list_view #product_list li .center_block {width:560px;}
ul#product_list{
    list-style-type: none;
}
.list_view #product_list li {
    margin-bottom: 10px;
    list-style-type: none;
    position: relative;
}
.list_view #product_list li h3 a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 14px;
}
.list_view #bestkit_views_category_recommends_products li h3 a {
    color: #DC4D62;
}                                                                    
.list_view #product_list li .left_block {
}
.list_view #product_list li .left_block  .compare label {display:none;}

.list_view #product_list li p.compare input {
    vertical-align: text-bottom
}

.list_view #product_list li .center_block {
    float: left;
}
.list_view #product_list a.product_img_link {
    overflow:hidden;
    position:relative;
    float: left;
    display:block;
    margin-right: 20px;
}
.list_view #product_list .stock_man{padding: 0;}

.list_view .sprite-offermini{
    right: -1px;
    top: -10px;
    position: relative;
}
.list_view #product_list .offer_block{
    padding-top: 10px;
}
.list_view #product_list li span.new {
    display: block;
    position: absolute;
    top: 10px;
    right:10px;
    padding: 1px 4px;
    text-align: right;
    text-transform: uppercase;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 2px rgba(50, 50, 50, 0.3);
    -moz-box-shadow:    1px 1px 2px rgba(50, 50, 50, 0.3);
    box-shadow:         1px 1px 2px rgba(50, 50, 50, 0.3);
}
.list_view #product_list li h3 {
    padding: 0;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 4px;
    line-height: 13px;
}
.list_view #product_list li a {
    text-decoration: none;
}
.list_view #product_list li div.product_desc {
    overflow: hidden;
    line-height: 17px;
    padding: 0 10px;
    margin-top: 30px;
    font-size: 13px;
}

.list_view #product_list li div.product_desc,
.list_view #product_list li div.product_desc a {
    color:#666;
}

.list_view #product_list li .discount, .list_view #product_list li .on_sale {
    padding: 1px 4px;
    margin-bottom: 10px;
    color: #fff;
    background: #c20000;
    text-align: right;
    text-transform: uppercase;

}
.list_view #product_list li .online_only {
    margin:0 0 10px 0
}
.list_view #product_list li	.on_sale1{display: none;}
.list_view #product_list li .content_price {
    margin: 15px 0 15px 0;
}
.list_view #product_list li .content_price .inner{

}
.list_view #product_list li .ajax_add_to_cart_button span {
    display: block;
    position: absolute;
    top: -1px;
    left: -12px;
    height: 26px;
    width: 26px;
    background: url(../img/icon/pict_add_cart.png) no-repeat 0 0 transparent
}
/*          GRID VIEW            */
.grid_view .top_pr_list{
    line-height: 20px;
    height: 20px;
}
.grid_view .sprite-offermini{
    top: 3px;
    right: 0;
}
.grid_view #product_list .offer_block{
    height: 26px;
}
.grid_view #product_list .offer_block .special_price{
    padding-top: 10px;
    display: inline-block;
}
.grid_view #product_list li span.exclusive {}

/* .right_block/.content_price/.price height+color rules removed here — they targeted the old
   horizontal card and now just fight .product-card's own styling (same class names, shared via
   product-price-cta.tpl). See themes/dentalcost/css/product-card.css instead. */
.grid_view #product_list li{
    float: left;
    margin: 0 20px 20px 0;
    width: 212px;
    position: relative;
    list-style-type: none;
}

.grid_view #product_list li.last_item_of_line{margin-right: 0px}

.grid_view #product_list li .right_block .on_sale, 
.grid_view #product_list li	.right_block .discount{ display: none; }
.grid_view #product_list .product_img_link {
    display:block;
    position:relative;
    overflow:hidden
}
.grid_view #product_list .product_img_link span.new {
    display: block;
    position: absolute;
    top: 10px;
    right:10px;
    padding: 1px 4px;
    text-align: right;
    text-transform: uppercase;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 2px rgba(50, 50, 50, 0.3);
    -moz-box-shadow:    1px 1px 2px rgba(50, 50, 50, 0.3);
    box-shadow:         1px 1px 2px rgba(50, 50, 50, 0.3);
}

.grid_view #product_list .product_img_link span.on_sale1{
    display: block;
    position: absolute;
    top: 10px;
    right:10px;
    padding: 1px 4px;
    color: #fff;
    text-align: right;
    text-transform: uppercase;
    background-color: #C20000;
    -webkit-box-shadow: 1px 1px 2px rgba(50, 50, 50, 0.3);
    -moz-box-shadow:    1px 1px 2px rgba(50, 50, 50, 0.3);
    box-shadow:         1px 1px 2px rgba(50, 50, 50, 0.3);
}
.grid_view #product_list .product_img_link span.on_sale2{
    top: 26px !important;
}

.grid_view #product_list .price_container {
    margin: 5px 0px;
    padding:0;
}
.grid_view #product_list .old_price {
    text-decoration:line-through;
}
.grid_view #product_list  .product_desc{ display: none;}


/* A hard height (not just min-height) so every card's name block is the
   same height regardless of how many lines its own title wraps to — a
   min-height alone stretches a *short* title up to it, but doesn't stop a
   *longer* one from growing past it and misaligning the image/price/button
   below against the next card over. This used to go unnoticed at the wider
   card widths the old fixed-pixel #center_column produced; narrower cards
   (e.g. after #column_wrapp's 25%/75% split, or the mobile 2-column grid)
   wrap more titles to one extra line than 45px (~3 lines at this
   line-height) was ever designed to allow for. 3 lines exactly = 42px. */
.grid_view #product_list li h3 {
    left: -8px;
    padding: 5px 0 0 8px;
    position: relative;
    line-height: 14px;
    height: 60px;
    overflow: hidden;
}
.grid_view #product_list li h3 a {
    font-size: 14px;
    text-decoration: none;
    color: #2e2e2e;
}
.grid_view #product_list li .left_block  .compare label {display:none;}

.grid_view #product_list li p.compare input {
    vertical-align: text-bottom
}
#orderandsort{
    margin-top: 10px;
    margin-bottom: 5px;
}
/* "Ver como / Ordenar por" bar redesign — shared by both the native category
   page (category.tpl > sort-order.tpl) and every pm_advancedsearch4 results
   view, since both include the same theme product-sort.tpl. Neutralizes its
   old Bootstrap .row/.col-sm-4.col-xs-6 float grid in favor of flex, and
   replaces the plain grid_view.gif/list_view.gif <img> toggle with a
   pill-button pair matching the rest of the redesigned filter UI. */
.content_sortPagiBar .sortPagiBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 0;
}
/* .sortPagiBar also carries Bootstrap's .clearfix class, whose :before/:after
   (content:" "; display:table；see bootstrap.css) are harmless as long as
   this is a normal block — but once it's display:flex, those two generated
   pseudo-elements become actual (zero-width) flex items themselves, sitting
   at the very start/end of the flex line. With justify-content:space-between
   that turns 2 real children into 4 items total, splitting the free space
   into three equal gaps instead of pushing "Ver como"/"Ordenar por" to the
   true edges — exactly the "centered" look this was meant to avoid. Flex
   containers never need float-clearing in the first place, so just drop
   clearfix's pseudo-elements here. */
.content_sortPagiBar .sortPagiBar.clearfix:before,
.content_sortPagiBar .sortPagiBar.clearfix:after {
    content: none;
    display: none;
}
.content_sortPagiBar .sortPagiBar > div {
    float: none;
    width: auto;
}
.sortPagiBar .psort {
    display: flex;
    align-items: center;
    gap: 10px;
}
/* .psort also carries the generic .hideMobile utility class (global.css,
   display:none below 768px) from back when this whole bar was hidden on
   mobile anyway — needs to be defeated explicitly now that it isn't. */
@media only screen and (max-width: 768px) {
    .sortPagiBar .psort.hideMobile {
        display: flex !important;
    }
}
.sortPagiBar .psort label {
    margin: 0;
    font-weight: 700;
    font-size: 13px;
    color: #3f4247;
}
.sortPagiBar .view_change_button {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    background: none;
    opacity: 1;
    margin-left: 0;
}
.sortPagiBar .view_change_button img {
    display: none;
}
/* Centering this via the parent's flex (align/justify-content:center) centers
   the glyph's *line box*, not its visible ink — icon fonts' line boxes are
   often much taller than the glyph and not symmetrically padded around it,
   which left the ink looking consistently shifted up-left. Absolutely
   centering the pseudo-element itself on the circle sidesteps that; its own
   box is sized tightly to the glyph at this font-size instead. */
.sortPagiBar .view_change_button:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "FontAwesome", "FontAwesomeAS4";
    font-size: 15px;
    line-height: 1;
    color: #9ca3af;
}
.sortPagiBar #turn_grid_view:before {
    content: "\f00a";
}
.sortPagiBar #turn_list_view:before {
    content: "\f00b";
}
/* Active: a pale tint circle with the icon itself in the accent color,
   rather than a solid accent circle with a white icon — a lighter touch. */
.sortPagiBar .view_change_button.active {
    background: #e8f4fc;
}
.sortPagiBar .view_change_button.active:before {
    color: rgb(28, 146, 219);
}
.sortPagiBar #productsSortForm {
    float: none;
}
.sortPagiBar #productsSortForm .select {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.sortPagiBar #productsSortForm label {
    margin: 0;
    font-weight: 700;
    font-size: 13px;
    color: #3f4247;
    white-space: nowrap;
}
.sortPagiBar select#selectPrductSort {
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #3f4247;
    background: #fff;
}
/* Without this, focusing the dropdown (click, or tabbing to it) falls back
   to the browser's own default focus ring — a thick, square-cornered blue
   outline that clashes with this rounded/bordered style instead of looking
   like a state of it. */
.sortPagiBar select#selectPrductSort:focus {
    outline: none;
    border-color: rgb(28, 146, 219);
    box-shadow: 0 0 0 3px rgba(28, 146, 219, .15);
}
.btn#filterajax{
    display: none;    
}
@media only screen and (min-width: 1320px) {
    .list_view #product_list li .center_block {width:800px;}
}
@media only screen and (max-width: 1000px) {
    .grid_view #product_list li{ margin-left: 25px; margin-right: 25px;}
    .btn#filterajax{display: block;}
    /* The "Ver como / Ordenar por" bar used to be hidden here entirely,
       with #orderandsort as the only way to reveal it (toggled via JS in
       global.js) — now that it's visible by default on mobile too (see the
       redesigned .sortPagiBar rules below), that toggle button has nothing
       left to show/hide. */
    #orderandsort {
        display: none;
    }
    /* With both "View as"/"Sort by" labels now sr-only (the select's own
       default option reads "Ordenar por" instead — see product-sort.tpl),
       there's no longer a reason to stack these on separate rows on mobile:
       they fit on one line like on desktop. flex-wrap:nowrap forces the
       dropdown's column to actually shrink to the remaining width instead
       of wrapping to its own line the moment it doesn't fit at its natural
       (widest-option-text) size. */
    .content_sortPagiBar .sortPagiBar {
        flex-wrap: nowrap;
    }
    .sortPagiBar .psort {
        flex-shrink: 0;
    }
    .sortPagiBar > div:nth-child(2) {
        min-width: 0;
        flex: 1 1 auto;
    }
    .sortPagiBar select#selectPrductSort {
        width: 100%;
    }
}
@media only screen and (min-width: 767px) and (max-width: 1000px) {
    .grid_view #product_list li {margin-left: 0px; margin-right: 20px;}
}
@media only screen and (min-width: 1000px) {
    #orderandsort{display: none;}
    /*.ajax_block_product:hover .quick_bar, .ajax_block_product:hover .hidden-el-barr{display: block; }*/
}
/* A partir de tablet (>=768px, 3 columnas) y desktop (4 columnas desde
   1241px, ver global.css): columnas fluidas (1fr) en vez de un ancho de
   tarjeta fijo en px, así cada tarjeta ocupa siempre su cuota exacta del
   ancho disponible (fijo o fluido) con un gap fijo de 20px, sin hueco
   muerto ni separación rara en ningún ancho de pantalla. */
@media only screen and (min-width: 768px) {
    .grid_view #product_list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    /* #product_list usa el clearfix clásico (::before{content:" ";
       display:table}) para los floats de antes; en grid ese pseudo-
       elemento pasa a ocupar la primera celda él solo, empujando todos
       los productos una columna a la derecha. Se quita solo aquí. */
    .grid_view #product_list::before,
    .grid_view #product_list::after {
        content: none;
    }
    .grid_view #product_list li,
    .grid_view #product_list li.last_item_of_line,
    .grid_view #product_list li.last_item_of_line_big {
        margin: 0;
        float: none;
        width: auto;
        box-sizing: border-box;
    }
    /* La imagen no estira más allá de su tamaño nativo (productlist preset);
       si la tarjeta queda más ancha que la imagen, se centra en vez de
       quedarse pegada a la izquierda. */
    .grid_view #product_list .product_img_link img {
        margin: 0 auto;
    }
}
/* #center_column pasa a 4 columnas a partir de aquí (ver global.css). */
@media only screen and (min-width: 1241px) {
    .grid_view #product_list {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media only screen and (max-width: 767px) {
    /* Below 768px grid_view had no column system of its own: the base
       (mobile-first) rule gives each card a fixed 212px width floated left
       inside display:flex + flex-wrap, which only fits one per row on a
       phone once the 25px/25px side margins (max-width:1000px rule above)
       are added in — wasting most of the available width as unused side
       margin instead of showing a second column. Switching to the same
       CSS Grid approach already used at the >=768px breakpoint below fixes
       that: fixed column count instead of a fixed card width, so two cards
       always fit using up all the real width that's there. */
    .grid_view #product_list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .grid_view #product_list::before,
    .grid_view #product_list::after {
        content: none;
    }
    .grid_view #product_list li,
    .grid_view #product_list li.last_item_of_line,
    .grid_view #product_list li.last_item_of_line_big {
        margin: 0;
        float: none;
        width: auto;
        box-sizing: border-box;
    }
    .grid_view #product_list .product_img_link img {
        margin: 0 auto;
    }
    /* The fixed 42px height (line-clamp turned out unreliable here — see
       the base .grid_view #product_list li h3 rule above, which now
       applies this at every width, not just mobile) already covers this
       breakpoint too. */
    .list_view #product_list li div.product_desc {display:none;}
    #product_list .offer_block .look_for_sign{display:none;}
    .sprite-offermini{display: none;}
    .list_view #product_list .offer_block{
        position: relative;
        right: 0;
        top: 0;
        padding-top: 0px;
    }
    .list_view #product_list a.product_img_link img, 
    .list_view #product_list a.product_img_link img.b-lazy:not(.b-loaded){
        width: 75px !important;
        height: 75px !important;
    }
    #product_list .offer_block{
        height: auto;
    }

    .list_view #product_list .manufac_name {
        top: 0;
        position: relative;
        float: none;
        font-size: 11px;
    }
    .list_view #product_list .stock_msg {
        top: 0;
        right: 0;
        position: relative;
        float: right;        
        padding: 0;
        display: inline-block;
    }

    .list_view #product_list li .right_block {
        position: relative;
        float: right;
        width: 40%;
        text-align: right;
    }
    .list_view #product_list li .center_block {
        width: 60%;
        padding: 0;
    }
    #product_list .offer_block .special_price{
        font-size: 12px;
    }
    .new-product{position: relative;}
    .list_view #product_list .freetext{
        color: #fff;
        margin-left: 0;
        line-height: 16px;
        padding-top: 0;   
    }
}
.product360list{
    position: relative;
    z-index: 999;
    top: 50px;
    font-size: 22px;
    color: #000;
    display: block;
    height: 30px;
    margin-top: -30px;
}


