/**
* Home Page V2 Override Styles
* Since the template now uses original class names (not v2- prefixed),
* this file should be empty or contain only specific overrides you want
* for the new homepage. The original style.css handles all the styling.
* 
* IMPORTANT: The original style.css is loaded automatically and contains
* all the styles needed for the homepage to work.
*/

/* ============================================
YOUR CUSTOM OVERRIDES FOR HOME V2
============================================ */

/* 
* Add any custom styles here that should ONLY apply to Home Page V2
* Since both pages use the same class names, use the body class
* to target only the V2 template if needed:
* 
* Example:
* .page-template-tmp-home-v2 .top-index {
*     background: #f5f5f5;
* }
*/


.top-index .grid.desktop {
display: none;
}

.slider-home .swiper-slide .cover {
display: none;
}

section.top-index .categories-menu .boxes .box {
text-align: center;
padding: 0;
width: 50%;
cursor: pointer;
transition: 0.5s;
font-size: 0;
position: relative;
overflow: hidden;
border-left: 2px solid #fff;
border-right: 2px solid #fff;
height: 166px;
border: 0px;
border-bottom: 2px solid white;
}

section.top-index .categories-menu .boxes .box:nth-child(2) {
width: 50%;
}


section.top-index .categories-menu {position: absolute;bottom: 96px;z-index: 3;right: 10%;left: 10%;border: 4px solid #fff;border-right: none;border-left: none;background: rgba(0, 0, 0, 0.3);height: auto;}

section.top-index .categories-menu .boxes .box:first-child .icon {
/* transform: translateY(60px); */
height: 100%;
}

section.top-index .categories-menu .boxes .box .icon img {
width: 100%;
position: relative;
height: 100%;
}

section.top-index .categories-menu .boxes .box .icon video {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 100%;
visibility: hidden;
opacity: 0;
transition: 0.5s;
object-fit: fill;
}


/* WhatsApp Icon Styles for Home Page V2 */
header .part-more .part-bottom .whatsapp-icon {
display: inline-block;
width: 30px;
height: 30px;
line-height: 30px;
text-align: center;
background: #25D366;
border-radius: 50%;
margin: 0 5px;
transition: all 0.3s ease;
}

header .part-more .part-bottom .whatsapp-icon i {
color: #ffffff;
font-size: 18px;
line-height: 22px;
}

header .part-more .part-bottom .whatsapp-icon:hover {
background: #128C7E;
transform: scale(1.1);
}

section.top-index .categories-menu .boxes .box .icon {
    width: 100%;
    height: 100%;
}

section.top-index .categories-menu .boxes .box {text-align: center;padding: 0;width: 51%;cursor: pointer;transition: 0.5s;font-size: 0;position: relative;overflow: hidden;border-left: 2px solid #fff;border-right: 2px solid #fff;height: 238px;}


section.top-index .categories-menu .boxes .box .icon img {
    transform: translateY(1px);
}

section.top-index .categories-menu .boxes .box:nth-child(2) .icon img {
    transform: translateY(2px);
}

section.top-index .categories-menu .boxes .box:nth-child(2) .icon video {
     transform: translateY(-1px);
}

section.top-index {
    height: 840px;
    padding: 0;
}

.page-template-tmp-home-v2 footer {
    padding-top: 50px;
}

@media only screen and (max-width: 950px) {


.slider-home .swiper-slide {
    height: 337px;
    position: relative;
    }

    section.top-index .content .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    }


section.top-index .categories-menu {
    position: static;
    width: 100%;
    border: none;
    background: url(../images/index/bg-mobile-menu.jpg);
    background-size: 100% auto;
    border-top: 2px solid #fff;
}

section.top-index .categories-menu .boxes .box {
    height: 166px;
    border-right: 0px;
    border-left: 0px;
}

}