﻿
@font-face {
    font-family: IRANSans;
    src: url(../assets/fonts/IRANSans.ttf);
}

.hero-banner {
    background-image: url('../assets/img/index/hero-banner.webp');
    background-color: #87C66D;
    position: relative;
    background-size: cover;
    background-position: bottom center;
    width: 100%;
    height: 580px;
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
    justify-content: center;
    display: flex;
}



.hero-banner-content {
    justify-content: center;
    display: flex;
    position: relative;
    width: 1500px;
    height: 500px;
    overflow: hidden;
    align-items: center;
    user-select: none;
    padding: 50px;
    box-sizing: border-box;
}

.hero-banner-image,
.hero-banner-text {
    justify-content: center;
    width: 400px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
    z-index: 10;
}

    .hero-banner-text h1 {
        font-size: xx-large;
        font-weight: 1000;
        color: white;
        margin: 0;
        text-align: center;
        margin-bottom: 50px;
    }

        .hero-banner-text h1 span {
            font-size: large;
            color: white;
            margin: 0;
            text-align: start;
        }


    .hero-banner-image img {
        -webkit-user-drag: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        width: 100%;
    }

@media (max-width: 992px) {

    .hero-banner-text h1 {
        font-size: x-large;
    }

    .hero-banner-content .hero-banner-image,
    .hero-banner-content .hero-banner-text {
        width: 100%;
    }

        .hero-banner-content .hero-banner-image:nth-child(3) {
            width: 0%;
        }
}

@media (max-width: 576px) {
    .hero-banner-content {
        flex-direction: column; /* چیدمان عمودی */
        height: 600px; /* ارتفاع خودکار برای سازگاری بهتر */
        width: 100%; /* عرض کامل برای نمایش بهتر */
        padding: 20px; /* فاصله کمتر برای موبایل */
    }

    .hero-banner-image,
    .hero-banner-text {
        width: 100%; /* عرض کامل برای هر بخش */
        text-align: center; /* مرکزچین کردن متن */
    }

        .hero-banner-text h1 {
            font-size: x-large; /* کاهش اندازه فونت برای موبایل */
        }

            .hero-banner-text h1 span {
                font-size: medium;
            }

        .hero-banner-image img {
            width: 80%; /* کاهش اندازه تصاویر برای نمایش بهتر */
            margin: 0 auto; /* مرکزچین کردن تصویر */
        }
}


.search-container {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.search {
    display: flex;
    background-color: white;
    border-radius: 50px;
    font-size: 1.3rem;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 5px;
}



    .search input {
        border: none;
        outline: none;
        padding: 10px;
        width: 80%;
        font-size: 1.2rem;
    }

        .search input::placeholder {
            opacity: 0.7;
            transition: opacity 0.5s ease;
        }

        .search input:focus::placeholder {
            opacity: 0.3;
        }


    .search button {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #ffc107;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 10px 20px;
        width: 20%;
    }

        .search button:hover {
            background-color: #f0ad4e;
        }

            .search button:hover img {
                transform: scale(1.1);
            }


        .search button img {
            transition: transform 0.3s ease;
            -webkit-user-drag: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }





@media (max-width: 992px) {

    .search {
        font-size: medium;
        margin: 0px;
        min-width: 80%;
    }
}



@media (max-width: 576px) {

    .hero-banner {
        height: 600px;
    }

    .search-container {
        margin-top: 10px;
    }

    .search {
        font-size: 1rem;
        width: 70%;
    }
}

.haft-sin-container {
    position: relative;
    justify-content: center;
    width: 100%;
    z-index: 2;
    margin: 0;
    padding: 0;
    top: 18px;
}

    .haft-sin-container img {
        position: relative;
        width: 100%;
    }

    .haft-sin-container div {
        position: relative;
        width: 100%;
        text-align: center;
        color: white;
        top: 10px;
        left: 30px;
        text-shadow: -1px -1px 2px #E5AB00, /* سایه نزدیک زرد طلایی */
                     1px -1px 2px #E5AB00, -1px 1px 2px #E5AB00, 1px 1px 2px #E5AB00, 0px 0px 5px #E5AB00, /* درخشش نرم */
                     0px 0px 1px #E5AB00;/* درخشش قوی‌تر */
    }


@media (max-width: 578px) {

    .haft-sin-container img {
        width: 70%;
    }
}

.custom-title {
    justify-content: center;
    color: #8C8C8C;
    text-align: center;
    font-size: x-large;
    font-weight: bold;
    margin: 50px;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media (max-width: 992px) {
    .custom-title {
        font-size: large;
    }
}

@media (max-width: 480px) {
    .custom-title {
        font-size: medium;
    }
}




.banner-container {
    position: relative;
    margin: 8% 0;
}


.banner {
    position: relative;
    height: 320px;
    overflow: hidden;
    transition: transform 1s, opacity 1s;
    margin: 10px 0;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


    .banner > div {
        transition: transform 0.5s ease, opacity 0.5s ease;
        display: none;
    }


        .banner > div[data-position="0"] {
            transform: scale(1) translateX(0);
            z-index: 5;
            opacity: 1;
        }

        .banner > div[data-position="-1"],
        .banner > div[data-position="1"] {
            transform: scale(0.8) translateX(-100%);
            z-index: 4;
            opacity: 0.8;
        }

        .banner > div[data-position="-2"],
        .banner > div[data-position="2"] {
            transform: scale(0.6) translateX(-200%);
            z-index: 3;
            opacity: 0.6;
        }

    .banner div {
        position: absolute;
        transition: transform 1s, left 1s, opacity 1s, z-index 0s;
        opacity: 1;
    }

        .banner div img {
            width: 600px;
            height: 100%;
            object-fit: contain;
            transition: width 1s;
            border-radius: 50px;
            -webkit-user-drag: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        .banner div a {
            -webkit-user-drag: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        .banner div.selected {
            z-index: 10;
            left: 50%;
            transform: translateY(0px) translateX(-50%);
            display: block;
        }



        .banner div.prev,
        .banner div.next {
            z-index: 5;
            transform: translateY(10%) translateX(-50%);
            opacity: 1;
            filter: brightness(0.8);
            display: block;
        }

        .banner div.prev {
            left: 40%;
        }

        .banner div.next {
            left: 60%;
        }

            .banner div.prev img,
            .banner div.next img {
                width: 480px;
                filter: grayscale(1%);
            }



        .banner div.nextRightSecond,
        .banner div.prevLeftSecond {
            transform: translateY(40%) translateX(-50%);
            opacity: 0.8;
            z-index: 4;
            filter: brightness(0.5);
            display: block;
        }

        .banner div.prevLeftSecond {
            left: 32%;
        }

        .banner div.nextRightSecond {
            left: 68%;
        }



            .banner div.prevLeftSecond img,
            .banner div.nextRightSecond img {
                width: 320px;
                filter: grayscale(5%);
            }



@media (max-width: 768px) {
    .banner {
        height: 280px;
    }

        .banner div img,
        .banner div.prev img,
        .banner div.next img {
            width: 500px;
        }


        .banner div.prev {
            transform: translateY(0%) translateX(-140%);
        }

        .banner div.next {
            transform: translateY(0%) translateX(40%);
        }


        .banner div.prevLeftSecond,
        .banner div.nextRightSecond {
            display: none;
        }
}


@media (max-width: 480px) {
    .banner {
        height: 190px;
    }

        .banner div.selected {
            filter: none;
        }

        .banner div img,
        .banner div.prev img,
        .banner div.next img {
            width: 350px;
            filter: grayscale(0%);
        }

        .banner div.next {
            transform: translateY(0%) translateX(42%);
            filter: brightness(1);
        }

        .banner div.prev {
            transform: translateY(0%) translateX(-142%);
            filter: brightness(1);
        }
}

.banner-buttons {
    display: flex;
    justify-content: center;
}

    .banner-buttons a {
        cursor: pointer;
        margin: 10px;
    }

        .banner-buttons a img {
            width: 30px;
            opacity: 0.5;
            -webkit-user-drag: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }










.product-slider {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
    min-height: 220px;
    align-items: center;
}

    .product-slider * {
        -webkit-user-drag: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

.product-list {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
}

.product-item {
    flex: 0 0 auto;
    width: calc((100% / 6) - 20px);
    text-align: center;
    height: auto;
    margin: 10px;
    border: solid #b8e4e4 4px;
    border-radius: 20%;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}


    .product-item:hover {
        border-color: #f0ad4e;
    }

    .product-item img {
        border-radius: inherit;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


@media (max-width: 992px) {
    .product-slider {
        width: 100%;
    }

    .product-item {
        width: calc((100% / 3) - 20px);
    }
}

@media (max-width: 576px) {
    .product-slider {
        width: 100%;
    }

    .product-item {
        width: calc((100% / 2) - 20px);
    }
}


.carousel {
    width: 100%;
    position: relative;
    align-items: center;
    overflow: hidden;
}

.products-container {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.products-title {
    display: flex;
    margin: 30px 0;
}

.products-buttons {
    width: 100%;
    display: flex;
    cursor: pointer;
    border: none;
    padding: 0;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    pointer-events: none;
}





    .products-buttons a {
        width: 50px;
        background: none;
        border: none;
        cursor: pointer;
        outline: none;
        -webkit-tap-highlight-color: transparent;
        pointer-events: auto;
    }

    .products-buttons button:focus {
        outline: none;
    }

    .products-buttons a img {
        opacity: 0.2;
        width: 100%;
        -webkit-user-drag: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }






.road-container {
    position: relative;
    margin: 8% 0;
    background-image: url('../assets/img/index/road.webp');
    height: 300px;
    width: 100%;
    background-repeat: no-repeat;
    overflow: hidden;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.4));
}



    .road-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


.age-rate-container {
    margin: 10% 3%;
    background-color: #F9F9F9;
    padding: 20px 0;
    border: #87c66d dashed 5px;
    border-radius: 20px;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.age-rate-title {
    display: flex;
}





.age-rates {
    display: flex;
    flex-wrap: wrap;
    margin: 50px auto;
    max-width: 1300px;
    gap: 120px;
    justify-content: center;
    padding: 10px;
}

.age-rate {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    padding: 2px 15px;
    box-sizing: border-box;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
    cursor: pointer;
    margin: 10px;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .age-rate:hover {
        animation: moveAndShake 0.6s ease forwards;
    }

    .age-rate:not(:hover) {
        animation: shakeOnExit 0.1s ease forwards;
    }


.age-rate1 {
    background-image: url('../assets/img/index/age1.webp')
}

.age-rate2 {
    background-image: url('../assets/img/index/age2.webp')
}

.age-rate3 {
    background-image: url('../assets/img/index/age3.webp')
}

.age-rate-name {
    top: 5px;
    right: 0;
    position: absolute;
    padding: 0 6px;
    width: 140px;
    justify-content: center;
    text-align: center;
}

    .age-rate-name span {
        font-size: x-large;
        font-weight: bolder;
        color: #504c4c;
    }

    .age-rate-name small {
        color: white;
        font-weight: bolder;
    }

@keyframes moveAndShake {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-40px);
    }

    50% {
        transform: translateY(-30px);
    }

    70% {
        transform: translateY(-35px);
    }

    100% {
        transform: translateY(-30px);
    }
}


@keyframes shakeOnExit {
    0% {
        transform: translateY(-30px);
    }

    15% {
        transform: translateY(-25px);
    }

    30% {
        transform: translateY(-20px);
    }

    40% {
        transform: translateY(-15px);
    }

    50% {
        transform: translateY(-10px);
    }

    75% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}






.explore-item,
.explore-banner-vertical2,
.explore-banner-vertical,
.explore-banner-horizontal,
.explore-banner-horizontal2 {
    border: #ccc 1px solid;
    box-sizing: border-box;
}

    .explore-item-container img,
    .explore-banner-vertical2 img,
    .explore-banner-vertical img,
    .explore-banner-horizontal img,
    .explore-banner-horizontal2 img {
        transition: filter 0.3s ease, transform 0.5s ease;
        box-sizing: border-box;
    }

        .explore-item-container img:hover,
        .explore-banner-vertical2 img:hover,
        .explore-banner-vertical img:hover,
        .explore-banner-horizontal img:hover,
        .explore-banner-horizontal2 img:hover {
            transform: scale(1.1);
        }



.explore-container {
    display: flex;
    flex-direction: column;
    margin: 8% 2%;
    background-color: #F9F9F9;
    border: #9158ca dashed 5px;
    border-radius: 20px;
    justify-content: center;
    position: relative;
    padding: 20px 0;
}

.explores {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    flex-direction: row;
    justify-content: center;
}

.explore {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
    text-align: center;
    max-width: 600px;
}



.explore-banner-horizontal,
.explore-banner-horizontal2 {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 210px;
    border-radius: 20px;
    margin: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    background-color: white;
}

    .explore-banner-horizontal img,
    .explore-banner-horizontal2 img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain; /* برای پر کردن کانتینر */
    }






.explore-banner-vertical2,
.explore-banner-vertical {
    width: calc(50% - 20px);
    height: 373px;
    border-radius: 20px;
    margin: 10px;
    position: relative;
    overflow: hidden;
    padding: 0px;
    display: flex;
    justify-content: center; /* مرکز افقی */
    align-items: center; /* مرکز عمودی */
    box-sizing: border-box;
    background-color: white;
}

    .explore-banner-vertical2 img,
    .explore-banner-vertical img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain; /* برای پر کردن کانتینر */
    }






.explore-item-container {
    width: calc(50% - 20px);
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    margin: 10px;
    height: 373px;
}


.explore-item {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    margin: 5px;
    width: 130px;
    height: auto;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    padding: 0 10px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: white;
}


    .explore-item img,
    .explore-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }




@media (max-width: 567px) {
    .explore-item {
        width: calc(100% - 10px);
    }

    .explore-item-container {
        width: calc(100% - 20px);
        height: 573px;
    }


    .explore-banner-vertical2,
    .explore-banner-vertical {
        width: calc(100% - 20px);
    }


    .explore-banner-horizontal,
    .explore-banner-horizontal2 {
        height: 150px;
        height: 173px;
    }

    .explore::before {
        top: 10%;
        height: 70px;
    }

    .explore:hover::before {
        top: -15%;
    }
}









.games-container {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    margin: 200px 0;
    user-select: none;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.games {
    background-image: url('../assets/img/index/game_desktop.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 1200px;
    height: 100%;
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    color: #504c4c;
    display: flex;
    flex-direction: column; /* برای چیدمان به صورت ستونی */
    justify-content: flex-end; /* انتقال محتوا به پایین */
    align-items: center;
}


.games-title {
    font-family: IRANSans !important;
    font-size: x-large;
    font-weight: 700;
    text-align: start;
    width: 390px;
    left: 65px;
    position: relative;
    bottom: 20px;
    height: 100px;
    margin: 0;
    display: flex;
    align-items: center;
}





@media (max-width: 1200px) {
    .games-container {
        height: 920px;
    }


    .games {
        background-image: url('../assets/img/index/game_tablet.webp');
        width: 640px;
        position: absolute;
        padding: 20px 40px;
        overflow: hidden;
    }


    .games-title {
        font-size: large;
        font-weight: 700;
        width: 280px;
        left: 45px;
        bottom: 0px;
    }
}









@media (max-width: 768px) {




    .games-container {
        height: 820px;
    }

    .games {
        background-image: url('../assets/img/index/game_mobile.webp');
        width: 380px;
    }


    .games-title {
        bottom: -10px;
        left: 38px;
        width: 200px;
        font-size: medium;
    }
}










.tsma-club-container {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    margin: 200px 0;
    user-select: none;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.tsma-club {
    background-image: url('../assets/img/index/custom_desktop-ltr.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 1200px;
    height: 100%;
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 150px 70px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    color: #504c4c;
}

.tsma-club-title {
}

    .tsma-club-title h5 {
        position: relative;
        font-family: IRANSans !important;
        font-size: xx-large;
        font-weight: 700;
        margin: 4px auto;
    }

    .tsma-club-title p {
        margin: 4px auto;
    }

.tsma-club-send {
    margin-top: 80px;
    width: 60%;
    display: flex;
    gap: 20px;
}

    .tsma-club-send button {
        border-radius: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        text-decoration: none;
        background: #ffc40c;
        width: 25%;
        transition: transform 0.3s ease;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
        border: none;
        color: white;
        font-size: large;
        font-weight: bold;
        box-sizing: border-box;
        padding: 8px;
    }

        .tsma-club-send button:hover {
            transform: scale(1.1);
        }





    .tsma-club-send input {
        width: 75%;
        border: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
        padding: 8px;
        border-radius: 50px;
        font-size: 1.2rem;
        outline: none;
        box-sizing: border-box;
        text-align: left;
    }

    .tsma-club-send button:hover {
        background-color: #f0ad4e;
    }

    .tsma-club-send input::placeholder {
        opacity: 1;
        transition: opacity 0.5s ease;
    }

    .tsma-club-send input:focus::placeholder {
        opacity: 0.5;
    }



@media (max-width: 1200px) {
    .tsma-club-container {
        height: 920px;
    }


    .tsma-club {
        background-image: url('../assets/img/index/custom_tablet.webp') !important;
        width: 640px;
        position: absolute;
        padding: 110px 40px;
        overflow: hidden;
    }

    .tsma-club-title {
        padding: 10px;
    }



        .tsma-club-title p {
            margin: 20px auto;
        }

        .tsma-club-title h5 {
            font-family: IRANSans !important;
            font-size: x-large;
            font-weight: bolder;
            margin: 4px auto;
        }

    .tsma-club-send {
        width: 100%;
        margin-top: 420px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .tsma-club-send input {
            width: 90%;
        }

        .tsma-club-send button {
            margin-top: 5px;
            width: 25%;
        }
}


@media (max-width: 768px) {

    .tsma-club-container {
        height: 820px;
    }



    .tsma-club {
        background-image: url('../assets/img/index/custom_mobile.webp') !important;
        width: 380px;
        position: absolute;
        padding: 110px 40px;
        overflow: hidden;
    }

    .tsma-club-send {
        margin-top: 280px;
    }

        .tsma-club-send input {
            font-size: medium;
        }
}







.brand-container {
    max-width: 100%;
    margin: 40px auto;
    padding: 0 35px;
    overflow: hidden;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

.brand-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    font-size: 2rem;
    margin: 20px 0;
}

    .brand-box img {
        font-size: 2.5rem;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

@media (max-width: 1700px) {
    .brand-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0px;
    }
}

@media (max-width: 992px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 530px) {
    .brand-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .brand-box image {
        font-size: 1rem;
    }
}





.ability-title {
    width: 100%;
    margin-bottom: 100px;
    height: 0px;
}

.product-ability-container {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin: 0% 3%;
    background-color: #F9F9F9;
    border: #ffc414 dashed 5px;
    border-radius: 20px;
    padding: 50px 0;
}

    .product-ability-container .product-ability {
        width: 990px;
        height: auto;
        display: grid;
        grid-template-rows: 200px 200px 100px 100px;
        grid-auto-rows: 200px;
        padding: 10px;
    }



.ability-item {
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    margin: 10px;
}


    .ability-item img {
        position: absolute;
        width: 60%;
        left: 0;
    }

    .ability-item h4 {
        position: absolute;
        width: 40%;
        right: 0;
        color: #707c8c;
        padding: 0 15px 0 10px;
        box-sizing: border-box;
    }

    .ability-item div {
        color: black;
        font-weight: 900;
        font-size: 20px;
        box-sizing: border-box;
        display: block;
    }


    .ability-item:nth-child(6) div, .ability-item:nth-child(9) div, .ability-item:first-child div {
        display: inline;
    }





    .ability-item:hover img {
        transform: scale(1.2);
        transition: transform 0.3s ease;
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
        z-index: 2;
    }

    .ability-item:not(:hover) img {
        filter: none;
        transform: scale(1);
        transition: transform 0.3s ease;
    }

    .ability-item:first-child {
        grid-row-start: 1;
        grid-row-end: 3;
    }

        .ability-item:first-child div {
            font-size: 30px;
        }

        .ability-item:first-child img {
            position: absolute;
            top: -25%;
            left: -0%;
            width: 100%
        }

        .ability-item:first-child h4 {
            width: 100%;
            position: absolute;
            bottom: 20px;
            padding: 0 25px;
            font-size: 30px;
        }


    .ability-item:nth-child(even) {
        background: repeating-linear-gradient( 45deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01) 15px, transparent 4px, transparent 70px ), repeating-linear-gradient( -45deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01) 15px, transparent 4px, transparent 70px ), linear-gradient(to top left, rgba(223, 233, 209, 1), rgba(136, 188, 68, 1));
    }

    .ability-item:nth-child(odd) {
        background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01) 15px, transparent 4px, transparent 70px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01) 15px, transparent 4px, transparent 70px), linear-gradient(to top left, rgba(207, 228, 233,1), rgba(100, 212, 236,1));
    }

    .ability-item:nth-child(3n) {
        background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01) 15px, transparent 4px, transparent 60px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01) 15px, transparent 4px, transparent 60px), linear-gradient(to bottom left, rgba(249, 233, 181, 1), rgba(255, 196, 20, 1));
    }

    .ability-item:nth-child(6n) {
        background: repeating-linear-gradient( 45deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01) 15px, transparent 4px, transparent 70px ), repeating-linear-gradient( -45deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01) 15px, transparent 4px, transparent 70px ), linear-gradient(to top left, rgba(223, 233, 209, 1), rgba(136, 188, 68, 1));
    }


    .ability-item:nth-child(5n) {
        background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01) 15px, transparent 4px, transparent 70px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01) 15px, transparent 4px, transparent 70px), linear-gradient(to top left, rgba(207, 228, 233,1), rgba(100, 212, 236,1));
    }

    .ability-item:nth-child(4n) {
        background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01) 15px, transparent 4px, transparent 60px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01) 15px, transparent 4px, transparent 60px), linear-gradient(to bottom left, rgba(249, 233, 181, 1), rgba(255, 196, 20, 1));
    }

    .ability-item:nth-child(6) img, .ability-item:nth-child(9) img {
        width: 40%;
    }

    .ability-item:nth-child(6) h4, .ability-item:nth-child(9) h4 {
        width: 60%;
    }

    .ability-item:nth-child(6) {
        margin-bottom: 5px;
    }

    .ability-item:nth-child(9) {
        margin-top: 5px;
    }


    .ability-item:nth-child(7),
    .ability-item:nth-child(8) {
        grid-row-start: 3;
        grid-row-end: 5;
    }

    .ability-item:nth-child(7) {
        grid-column-start: 2;
        grid-column-end: 3;
    }

    .ability-item:nth-child(8) {
        grid-column-start: 3;
        grid-column-end: 4;
    }


@media (max-width: 992px) {
    .product-ability-container .product-ability {
        grid-template-columns: auto auto;
    }

    .ability-item {
        justify-content: center;
    }

        .ability-item h4 {
            z-index: 3;
            font-size: 25px;
            width: 55%;
        }

        .ability-item div {
            z-index: 3;
            font-size: 25px;
        }


        .ability-item img {
            width: 45%;
        }


        .ability-item:first-child h4 {
            bottom: 10px;
            text-align: center;
        }

        .ability-item:nth-child(7) {
            grid-column-start: unset;
            grid-column-end: unset;
        }

        .ability-item:nth-child(8) {
            grid-column-start: unset;
            grid-column-end: unset;
        }

        .ability-item:nth-child(6) {
            margin: 10px;
        }

        .ability-item:nth-child(9) {
            margin: 10px;
        }


            .ability-item:nth-child(6) img, .ability-item:nth-child(9) img {
                width: 50%;
            }

            .ability-item:nth-child(6) h4, .ability-item:nth-child(9) h4 {
                width: 50%;
            }
}


@media (max-width: 576px) {


    .ability-item {
        justify-content: center;
        overflow: hidden;
    }

        .ability-item h4 {
            text-align: center;
            z-index: 3;
            justify-content: center;
            width: 100%;
            font-size: 20px;
        }

        .ability-item div {
            z-index: 3;
            font-size: 20px;
        }


        .ability-item img {
            margin: 0 auto;
            width: 100%;
            justify-content: center;
            opacity: 0.15;
        }

        .ability-item:first-child img {
            top: 20%;
        }

        .ability-item:first-child h4 {
            bottom: 20%;
        }

        .ability-item:first-child div {
            bottom: 20%;
        }

        .ability-item:nth-child(7) {
            grid-column-start: unset;
            grid-column-end: unset;
        }

        .ability-item:nth-child(8) {
            grid-column-start: unset;
            grid-column-end: unset;
        }

        .ability-item:nth-child(6) {
            margin: 10px;
        }

        .ability-item:nth-child(9) {
            margin: 10px;
        }


            .ability-item:nth-child(6) img, .ability-item:nth-child(9) img {
                margin: 0 auto;
                width: 100%;
                justify-content: center;
                opacity: 0.15;
            }

            .ability-item:nth-child(6) h4, .ability-item:nth-child(9) h4 {
                text-align: center;
                z-index: 3;
                justify-content: center;
                width: 100%;
            }
}
