/* =========================================
   MAGENTO HOMEPAGE SPEED OPTIMIZED CSS
   Core Web Vitals focused (LCP + CLS + TBT)
========================================= */

/* -------------------------
   MOBILE / DESKTOP TOGGLE
-------------------------- */

#banner-slider-mobileview{display:none;}

@media (max-width:767px){
#banner-slider-desktopview{display:none;}
#banner-slider-mobileview{display:block;}
}

/* -------------------------
   PAGE RESET (LIGHTWEIGHT)
-------------------------- */

.cms-index-index .page-main{
max-width:100%!important;
padding:0;
background:#f4f4f4;
}

/* -------------------------
   TYPOGRAPHY CLEAN
-------------------------- */

.banner-container h1,
.banner-container h2,
.banner-container h3{
margin:0;
line-height:1.2;
}

/* -------------------------
   GLOBAL WRAPPERS
-------------------------- */

.banner-container{
position:relative;
z-index:1;
}

.box-categories{
max-width:1440px;
margin:auto;
padding:0 20px;
}

@media (max-width:991px){
.box-categories{
padding:0 15px;
}
}

/* -------------------------
   HERO BANNER OPTIMIZED
-------------------------- */

.porto-u-heading {
    margin-bottom: 17px;
}

.background-desktop-banner{
background:#000;
}

.background-desktop-banner img{
width:100%;
height:auto;
display:block;
opacity:.85;
will-change:transform;
}

/* HERO TEXT POSITION (SIMPLIFIED) */
.porto-ibanner-layer.banner-text{
position:absolute;
left:21%;
top:50%;
transform:translateY(-50%);
color:#fff;
}

@media (max-width:768px){
.porto-ibanner-layer.banner-text{
left:10%;
right:10%;
}
}

/* -------------------------
   HEADINGS OPTIMIZED
-------------------------- */

.porto-u-main-heading-top h2{
font-size:30px;
}

.porto-u-main-heading-middle h1{
font-size:39px;
}

.porto-u-main-heading-bottom h2{
font-size:21px;
}

/* MOBILE TYPOGRAPHY */
@media (max-width:767px){
.porto-u-main-heading-top h2{font-size:20px!important;}
.porto-u-main-heading-middle h1{font-size:26px!important;}
.porto-u-main-heading-bottom h2{font-size:14px!important;}
}

/* -------------------------
   CATEGORY CARDS (LIGHT DOM)
-------------------------- */

.sub-title.thumb-info-inner.title-category{
    color:#21435f!important;
    width: 164px;
    margin-bottom: 15px !important;
    line-height: 18px !important;
    height: 35px;
    text-transform: none;
    font-size: 17px;
    letter-spacing: -.025em !important;
    font-weight: 600 !important;
}

.thumb-info-type.description-category{
    line-height: 1.2 !important;
    width: 150px;
    height: 130px;
    font-size: 13px;
    letter-spacing: -.02em;
    text-transform: none;
    color: #718fa6 !important;
}

ul.products li.product-category .thumb-info-type{
color:#718fa6!important;
}

/* reduce repaint cost */
.product-category .thumb-info-wrapper{
border-radius:0px;
overflow:hidden;
}

.big-products .column-title {
    margin: 0 20px;
}

.big-products ul.products li.product-category .thumb-info .thumb-info-title {
    width: 50%;
    left: 25%;
    background: #d8dde2;
    padding: 1.7em 0;
}
.big-products ul.products li.product-category .thumb-info h3 {
    text-transform: uppercase;
    margin: 0 10px;
    font-size: 15px;
    line-height: 18px;
    color: #21435f !important;
}


ul.products li.product-category .thumb-info-wrapper:after {
    background-color: rgba(27, 27, 23, 0);
}

.box-categories ul.products li.product-category .thumb-info .thumb-info-title {
    top: 100px !important;
    padding: 1.2em 0 !important;
    padding-left: 10px !important;
}

.container.products-home-page{
   padding-left: 25px !important;
   padding-right: 25px !important; 
       margin-top: 50px;
}


.container.brand_homepage{
   padding-left: 25px !important;
   padding-right: 25px !important; 
}

.bg-white {
    background-color: #fff !important;
}

.brand_homepage .brand-carousel.owl-carousel .owl-item img {
    width: 117px;
}
.brand_homepage .owl-item .item {
    height: 130px;
    display: table-cell;
    vertical-align: middle;
    position: relative;
}


.products-home-page .tabs.tabs-simple{
    padding: 30px 32px 27px 32px;
    background-color: #fff !important;
}

/* -------------------------
   OWL CAROUSEL OPTIMIZED
-------------------------- */

.owl-carousel .owl-nav{
display:flex;
justify-content:center;
gap:10px;
}

.owl-carousel .owl-nav button{
width:40px;
height:70px;
background:#fff;
border:1px solid #e9e9e9;
transition:.2s ease;
}

.owl-carousel .owl-nav button:hover{
background:#4dae65;
color:#fff;
}

/* -------------------------
   SALE LABEL (SIMPLIFIED)
-------------------------- */

.sale-wrapper strong{
position:relative;
color:#fff;
font-weight:700;
}

.sale-wrapper strong::before{
content:'';
position:absolute;
left:-6px;
top:8px;
width:42px;
height:18px;
background:#222529;
transform:rotate(-2deg);
z-index:-1;
}

/* -------------------------
   GRID OPTIMIZATION
-------------------------- */

ul.products .product-col{
margin-bottom:20px;
}

.big-products ul.products .product-col {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
}


.filterproducts.products-slider.owl-carousel .owl-nav{
    display: none;
}



.products-home-page .product.data.items > .item.title:hover {
    border-color: #e01933 !important;
    color: #21435f;
    border-width: 2px !important;
}

.products-home-page .product.data.items > .item.title {
    color: #21435f !important;
    border-bottom-width: 1px;
    font-size: .8125rem;
    font-weight: 400;
    letter-spacing: -.025em;
    text-transform: capitalize;
    line-height: 1.5;
    border: solid #e4e9f1 !important;
    border-width: 2px !important;
}

.products-home-page .product.data.items > .item.title.active {
    color: #21435f;
    border-color: #e01933 !important;
    border-width: 2px !important;
}

/* -------------------------
   PERFORMANCE HELPERS
-------------------------- */

img{
max-width:100%;
height:auto;
}

.lazyload,
img[loading="lazy"]{
transition:opacity .3s ease;
}

/* -------------------------
   REMOVE HEAVY EFFECTS
-------------------------- */

/* evita repaint innecesario */
.thumb-info-wrapper:after{
display:none;
}

/* -------------------------
   BRANDING / FOOTER SAFE SPACING
-------------------------- */

.brand-carousel{
padding:25px 0;
}

/* -------------------------
   BREAKPOINTS CLEANED
-------------------------- */

@media (min-width:1440px){
.box-categories{
max-width:1440px;
}
}



@media (min-width: 768px) {
    .products-home-page .product.data.items > .item.content {
        border-top: none;
        margin-top: 2.85rem;
        float: right;
        margin-left: -100%;
    }
    .products-home-page .product.data.items > .item.title {
        float: left;
        display: inline-block;
        text-decoration: none;
        padding: 7px 24px;
        margin: 0 5px;
        border-radius: 7px;
        color: #222529;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: -.02em;
        line-height: 22px;
        border: 1px solid #e9e9e9;
        transition: border-width .3s, border-color .3s;
    }
}

