/* =========================
   Main Hero
========================= */
.main_hero_section {
    position: relative;
    overflow: hidden;
}

.main_hero_carousel,
.main_hero_carousel .carousel-inner,
.main_hero_carousel .carousel-item {
    height: 400px;
}

.hero_slide {
    position: relative;
    overflow: hidden;
}

.hero_bg_wrap,
.hero_bg_wrap picture,
.hero_bg_wrap img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero_bg_img {
    object-fit: cover;
}

.hero_bg_dim {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero_bg_dim_left {
    background: linear-gradient(
        90deg,
        rgba(7, 12, 18, 0.82) 0%,
        rgba(7, 12, 18, 0.48) 38%,
        rgba(7, 12, 18, 0.16) 66%,
        rgba(7, 12, 18, 0.00) 100%
    );
}

.hero_bg_dim_right {
    background: linear-gradient(
        270deg,
        rgba(7, 12, 18, 0.82) 0%,
        rgba(7, 12, 18, 0.48) 38%,
        rgba(7, 12, 18, 0.16) 66%,
        rgba(7, 12, 18, 0.00) 100%
    );
}

.hero_bg_dim_center {
    background: linear-gradient(
        180deg,
        rgba(7, 12, 18, 0.64) 0%,
        rgba(7, 12, 18, 0.34) 45%,
        rgba(7, 12, 18, 0.24) 100%
    );
}

/* text */
.hero_content {
    position: relative;
    z-index: 3;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero_content_left {
    justify-content: flex-start;
    text-align: left;
}

.hero_content_right {
    justify-content: flex-end;
    text-align: right;
}

.hero_content_center {
    justify-content: center;
    text-align: center;
}

.hero_copy_box {
    max-width: 640px;
}

.hero_kicker {
    margin: 0 0 14px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.hero_title {
    margin: 0 0 18px;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
}

.hero_desc {
    margin: 0;
    font-size: 19px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.86);
}

/* product grid wrapper */
.hero_products_grid_wrap {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: min(40vw, 700px);
    pointer-events: none;
}

.hero_products_grid_wrap.layout_left {
    left: 5.5%;
    transform: translateY(-50%);
}

.hero_products_grid_wrap.layout_right {
    right: 5.5%;
    transform: translateY(-50%);
}

.hero_products_grid_wrap.layout_center {
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero_products_grid {
    display: grid;
    gap: 14px 14px;
    align-items: center;
    justify-items: center;
}

.hero_products_grid.cols_2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero_products_grid.cols_3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero_grid_item {
    width: 100%;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.hero_grid_item img {
    display: block;
    max-width: 100%;
    max-height: 82px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.24));
}

/* size presets */
.hero_grid_item.size_xxl img {
    max-height: 160px;
    filter: drop-shadow(0 18px 36px rgba(0,0,0,0.35));
}

.hero_grid_item.size_xl img {
    max-height: 130px;
}

.hero_grid_item.size_lg img {
    max-height: 104px;
}

.hero_grid_item.size_md img {
    max-height: 82px;
}

.hero_grid_item.size_sm img {
    max-height: 64px;
}

.hero_grid_item.size_xs img {
    max-height: 52px;
}

.hero_grid_item.is_in {
    animation: none;
    opacity: 1;
}

@keyframes heroGridItemIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* carousel ui */
.main_hero_carousel .carousel-indicators {
    bottom: 0px;
    z-index: 5;
	margin-bottom: 0;
}

.main_hero_carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 999px;
}

.main_hero_carousel .carousel-control-prev,
.main_hero_carousel .carousel-control-next {
    z-index: 5;
}

/* tablet */
@media (min-width: 768px) {
    .main_hero_carousel,
    .main_hero_carousel .carousel-inner,
    .main_hero_carousel .carousel-item {
        height: 500px;
    }
}

@media (max-width: 1199px) {
    .hero_products_grid_wrap {
        width: min(38vw, 460px);
    }

    .hero_grid_item img {
        max-height: 72px;
    }

    .hero_grid_item.size_xxl img {
        max-height: 140px;
    }

    .hero_grid_item.size_xl img {
        max-height: 115px;
    }

    .hero_grid_item.size_lg img {
        max-height: 92px;
    }

    .hero_grid_item.size_md img {
        max-height: 72px;
    }

    .hero_grid_item.size_sm img {
        max-height: 58px;
    }

    .hero_grid_item.size_xs img {
        max-height: 46px;
    }
}

@media (max-width: 991px) {
    .hero_kicker {
        font-size: 26px;
    }

    .hero_title {
        font-size: 36px;
    }

    .hero_desc {
        font-size: 17px;
        line-height: 1.65;
    }

    .hero_products_grid_wrap {
        width: min(40vw, 420px);
    }
}

/* mobile */
@media (max-width: 767px) {
    .main_hero_carousel,
    .main_hero_carousel .carousel-inner,
    .main_hero_carousel .carousel-item {
        height: 460px;
    }

    .hero_content {
        display: none !important;
    }

    .hero_bg_img {
        filter: brightness(1.12);
    }

    .hero_bg_dim_left,
    .hero_bg_dim_right,
    .hero_bg_dim_center {
        background:
            linear-gradient(
                180deg,
                rgba(7, 12, 18, 0.18) 0%,
                rgba(7, 12, 18, 0.10) 45%,
                rgba(7, 12, 18, 0.06) 100%
            ),
            radial-gradient(
                circle at 75% 18%,
                rgba(255,255,255,0.10) 0%,
                rgba(255,255,255,0.00) 34%
            );
    }

    .hero_products_grid_wrap {
        display: block !important;
        position: absolute;
        top: 50%;
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        max-width: none !important;
        transform: translateY(-50%) !important;
        z-index: 3;
    }

    .hero_products_grid_wrap.layout_left,
    .hero_products_grid_wrap.layout_right,
    .hero_products_grid_wrap.layout_center,
    .hero_products_grid_wrap.is_grouped {
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        transform: translateY(-50%) !important;
    }

    .hero_mobile_groups {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .hero_mobile_group {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 56px;
        padding: 6px 8px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    }

    .hero_mobile_group_title {
        flex: 0 0 72px;
        position: relative;
        padding-left: 12px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.08em;
        color: #ffffff;
        line-height: 1.2;
    }

    .hero_mobile_group_title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #4ea3ff;
        transform: translateY(-50%);
        box-shadow: 0 0 10px rgba(78, 163, 255, 0.8);
    }

    .hero_mobile_group_items {
        flex: 1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: center;
        justify-items: center;
        gap: 8px;
    }

    .hero_grid_item {
        min-height: 72px;
        opacity: 1;
    }

    .hero_grid_item.size_mobile {
        width: 100%;
    }

    .hero_grid_item.size_mobile img {
        display: block;
        max-width: 100%;
        max-height: 56px;
        width: auto;
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
    }

    .main_hero_carousel .carousel-control-prev,
    .main_hero_carousel .carousel-control-next {
        display: none;
    }
}

#carouselMainVisualSlide {
    margin: 0 auto;
    width: 100%;
    max-width: 1920px;
    height: auto;
    overflow: hidden;
}

.carousel_itm_img {
    width: 100%;
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.carousel-indicators button {
    width: 10px !important;
    height: 7px !important;
    border-radius: 10px !important;
}

.carousel-indicators .active {
    opacity: 1;
    width: 30px !important;
}