.ec-sliderRole .main_visual {
    width: 100%;
    height: 100vh;
    max-height: 600px;
    overflow: hidden;
    background-color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
        .ec-sliderRole {
            margin-top: 100px;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    transform: none;
    padding: 0;
    margin-bottom: 0 !important;
    background: transparent !important;
}
.main_visual {
    width: 100vw;
    min-height: 320px;
    max-height: 100vh;
    height: 1080px;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main_visual .item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.main_visual .item.active {
    opacity: 1;
}
.main_visual .item img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Force image to fill container width while maintaining aspect ratio */
.main_visual img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Hero Dots Navigation */

/* Pagination Dots */
.hero-pagination {
    display: flex;
    gap: 0.5vw;
    z-index: 30;
    margin-top: 6.25vw;
    pointer-events: auto;
}

.hero-dots{
    bottom: 32px;
    left: 132px;
    display: flex;
    gap: 8px;
    z-index: 30;
    pointer-events: auto;
}

.hero-dot,
.hero-pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-dot.active,
.hero-pagination-dot.active {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-dot:hover,
.hero-pagination-dot:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 20;
    pointer-events: none;
    display: grid;
    grid-template-columns: 4fr 1fr 2fr;
    padding: 4.5vw;
    height: auto;
    bottom: 1vh;
    align-items: center;
}

.ev-hero-logo {
    width: 591px;
    max-width: 100%;
    margin-bottom: 18px;
}
.ev-hero-tagline {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.ev-hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;
    color: #fff;
    background: transparent;
    border-radius: 32px;
    width: 230px;
    height: 48px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    pointer-events: auto;
    position: relative;
    padding: 0;
}
.ev-hero-btn .ev-hero-btn-chevron {
    font-size: 14px;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
}
.ev-hero-btn span {
    position: relative;
    z-index: 2;
}
.ev-hero-btn:after {
    display: none;
}
.ev-hero-btn:hover, .ev-hero-btn:focus {
    background: #fff;
    color: #b8002f;
}

.hero-scroll-indicator {
    bottom: 2vw;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5vw;
    z-index: 30;
    cursor: pointer;
    pointer-events: auto;
}

.hero-scroll-text {
    color: #fff !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* Hero Product Info */
/* Product Info Box */
.hero-product-info {
    background: transparent;
    border: 0.125vw solid #fff;
    border-radius: 0;
    padding: 0;
    z-index: 30;
    pointer-events: auto;
    display: flex;
    width: 27.5vw;
    height: 7.3125vw;
    min-width: 300px;
    min-height: 80px;
    color: #fff;
}

.hero-product-info-left {
    flex: 2;
    padding: 1vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-product-info-right {
    flex: 1;
    border-left: 0.125vw solid #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1vw;
}
.hero-product-btn, .hero-product-btn:hover {
    color: #fff;
}

.hero-scroll-arrow {
    width: 11px;
    height: 66px;
    animation: bounce 2s ease-in-out infinite;
}
/* end Product Info Box */



/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

/* Hero Section - Desktop and Mobile Image Visibility */
/* Show desktop items above 900px, hide mobile items */
@media (min-width: 901px) {
  .ec-sliderRole .main_visual .item-desktop {
    display: flex !important;
  }
  
  .ec-sliderRole .main_visual .item-mobile {
    display: none !important;
  }
  .ev-hero-overlay-content{
    right: 10px;
  }
}

@media (max-width: 900px) {
    .ec-sliderRole,
    .main_visual,
    .main_visual .item,
    .main_visual .item img {
        height: 450px !important;
        min-height: 0;
        max-height: none;
    }
    .ev-hero-overlay-content {
        left: 0;
        right: 0;
        margin: 0 auto;
        align-items: center;
        padding-right: 0;
    }
    .ev-hero-logo {
        width: 200px;
        height: 20px;
        object-fit: contain;
        margin-bottom: 12px;
        content: url("/html/template/default/assets/img/common/logo-white.svg");
    }
    .ev-hero-tagline {
        text-align: center;
        font-size: 20px;
        margin-bottom: 10px;
    }
    .ev-hero-btn {
        width: 166px;
        height: 40px;
        font-size: 14px;
    }
    .ev-hero-scroll-indicator {
        bottom: 16px;
    }
    
    /* Mobile dots positioning */
    .hero-dots {
        bottom: 16px;
        left: 16px;
    }
    
    .hero-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 600px) {

    .hero-overlay{
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        justify-items: center;
        align-items: center;
        row-gap: 5px;
        column-gap: 30px;
    }
    .hero-product-info{
        grid-column: 1 / 3;
        grid-row: 1;
        transform: scale(0.8);
        transform-origin: center;
        width: 100%;
    }
   

    .hero-scroll-indicator{
        grid-column: 2;
        grid-row: 2;
        justify-self: center;
    }

    .hero-pagination{
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
        align-self: center;
    }
    .hero-scroll-arrow{
        height: 40px;
    }
}

