/*--------------------imports--------------------*/
@import url(../global/global.css);
@import url(../layout/header.css);

/*--------------------banners-section--------------------*/
.banners {
    margin-top: -92px;
}

.small-banner {
    display: flex;
    margin-bottom: 12px;
}

.small-banner img {
    border-radius: 20px;
}

/*--------------------category-section--------------------*/
.category-section {
    margin-bottom: 42px;
}

/*--------------------access-link-section--------------------*/
.access-link-section {
    padding: 18px 0;
    background-color: #F6F6F6;
    border-top: 1px solid #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
    margin-bottom: 40px;
}

.access-link__text {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 0;
}

.access-link {
    background: var(--primary-color);
    padding: 14px 20px;
    border-radius: 15px;
    color: #fff;
    font-weight: 800;
    gap: 10px;
    font-size: 22px;
    box-shadow: 0 5px 20px rgba(242, 205, 106, 0.5);
    transition: 0.3s all;
}

.access-link:hover {
    color: #F7B84E;
}

/*--------------------full-section--------------------*/
.section-title {
    font-weight: 800;
    color: #fff;
    font-size: 30px;
    line-height: 50px;
}

.section-title.gray {
    color: #909090;
    font-size: 40px;
    font-weight: 900;
}

.section-link {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    gap: 3px;
}

/*--------------------product-sliders--------------------*/
.product__img {
    margin-bottom: 12px;
}

.product__img img {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.product__title {
    font-weight: 600;
    line-height: 24px;
}

/*--------------------official-section--------------------*/
.official-section {
    background: linear-gradient(90deg, #FFFFFF 0%, #004A5E 100%);
}

.official-section .section-title {
    font-size: 35px;
}

.section-subtitle {
    font-size: 14px;
    line-height: 24px;
    text-align: justify;
}

.white-btn {
    background-color: #fff;
    border-radius: 50px;
    color: var(--primary-color);
    padding: 14px 30px;
    display: table;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
}

.white-btn:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.white-btn svg {
    vertical-align: middle;
}

.official-section .swiper {
    width: calc(100% - 80px);
}

.official-section .swiper-button-next.official {
    right: 0;
    top: 50%;
}

.official-section .swiper-button-prev.official {
    left: 0;
    top: 50%;
}

/*--------------------overlay-product--------------------*/
.overlay-product {
    border-radius: 20px;
    overflow: hidden;
    min-height: 150px;
    justify-content: center;
}

.overlay-product::before {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: block;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #F7B84E 100%);
}

.overlay-product__title {
    position: absolute;
    bottom: 18px;
    line-height: 24px;
    padding: 0 16px;
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

/*--------------------full-banner--------------------*/
.full-banner img {
    border-radius: 30px;
    box-shadow: 0 2px 90px -30px #2E405E;
    min-height: 150px;
}

/*--------------------order-steps--------------------*/
.order-step {
    border: 2px solid #909090;
    width: 200px;
    border-radius: 30px;
    font-weight: 700;
    color: var(--primary-color);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.order-step img {
    max-width: 150px;
}

.order-step p {
    margin-bottom: 10px;
}

/*--------------------media-queries--------------------*/
@media only screen and (max-width: 1400px) {
    .access-link__text {
        font-size: 26px;
    }
}

@media only screen and (max-width: 1300px) {
    .access-link__text {
        font-size: 22px;
    }

    .official-section .section-title {
        font-size: 27px;
        line-height: 35px;
    }
}

@media only screen and (max-width: 1200px) {
    .banners {
        margin-top: 0 !important;
    }

    .access-link {
        font-size: 14px;
    }

    .order-step {
        width: 170px;
    }

    .order-step img {
        max-width: 120px;
    }
}

@media only screen and (max-width: 992px) {
    .access-link-section .container > .d-flex {
        flex-direction: column;
        gap: 16px;
        line-height: 28px;
        text-align: center;
    }

    .section-header {
        flex-wrap: wrap;
        column-gap: 10px;
    }

    .official-section .section-title {
        font-size: 24px;
    }

    .official-section .col-lg-4 {
        margin-bottom: 16px;
    }

    .orders {
        gap: 16px;
        justify-content: center !important;
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 768px) {
    .banners a {
        margin-bottom: 16px;
    }

    .banners .col-6:nth-child(even) {
        padding-right: 8px !important;
    }

    .banners .col-6:nth-child(odd) {
        padding-left: 8px !important;
    }

    .section-title {
        font-size: 24px;
        line-height: 30px;
    }

    .section-link {
        font-size: 15px;
    }

    .product__title {
        font-size: 14px;
    }

    .order-step {
        width: 140px;
    }

    .order-step img {
        max-width: 95px;
    }
}

@media only screen and (max-width: 576px) {
    .access-link__text {
        font-size: 16px;
    }

    .access-link svg {
        max-width: 24px;
    }

    .access-link {
        padding: 5px 12px;
    }

    .section-title,
    .official-section .section-title {
        font-size: 16px;
        line-height: 26px;
    }

    .section-link {
        font-size: 14px;
    }

    .section-link svg {
        width: 18px;
    }

    .section-header {
        margin-bottom: 16px !important;
    }

    .white-btn {
        padding: 10px 16px;
    }

    .full-banner img {
        border-radius: 20px;
    }

    .order-step p {
        font-size: 14px;
    }

    .section-title.gray {
        font-size: 24px;
    }
}

/*--------------------slider-styles--------------------*/
.category-section [type=radio] {
    display: none;
}

.category-section #slider {
    width: 100%;
    aspect-ratio: 16/7;
    position: relative;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .category-section #slider {
        aspect-ratio: 16/6;
    }
}

.category-section #slider label {
    width: calc(60% - 30px);
    max-width: 900px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.7) translateZ(-100px);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s ease, opacity 0.5s ease, z-index 0.5s ease, box-shadow 0.5s ease;
    filter: brightness(0.5);
}

.category-section #slider label img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.category-section #slider label.active {
    filter: brightness(1);
    transform: translateX(-50%) scale(1) translateZ(0);
    z-index: 3;
}

.category-section #slider label.prev,
.category-section #slider label.next {
    filter: brightness(0.5);
    transform: translateX(calc(-50% + var(--dir))) scale(0.85) translateZ(-50px);
    z-index: 2;
}

.category-section #slider label.prev {
    --dir: -35%;
}

.category-section #slider label.next {
    --dir: 35%;
}

.category-section .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    background-color: transparent;
}

.category-section #prev {
    left: 0;
}

.category-section #next {
    right: 0;
}

/*--------------------new-products-sections-start--------------------*/
.new-products-section {
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.new-products-section .section-link {
    transition: 0.3s all;
}

.new-products-section .section-link:hover {
    color: #F7B84E !important;
}

.new-products-section .section-link:hover svg path {
    fill: #F7B84E;
}

.new-products-section .product-card {
    border-radius: 20px;
    transition: 0.3s all;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.new-products-section .product-card img {
    border-radius: 15px;
    width: 100%;
    transition: 0.2s all ease-in-out;
}

.new-products-section .product-card .title-box {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    transition: 0.3s all;
}

.new-products-section .product-card:hover .title-box {
    color: #F7B84E !important;
}

.new-products-section .swiper {
    width: calc(100% - 50px);
}

.new-products-section .swiper-button-next {
    right: 0;
    top: calc(50% - 22px);
}

.new-products-section .swiper-button-prev {
    left: 0;
    top: calc(50% - 22px);
}

/*--------------------new-products-sections-light--------------------*/
.new-products-section.light {
    background-color: #F2F2F2;
}

.new-products-section.light .section-title,
.new-products-section.light .section-link {
    color: var(--primary-color);
}

.new-products-section.light .product-card .title-box {
    color: var(--primary-color);
}

/*--------------------brands-section--------------------*/
.brands .section-title {
    color: #909090;
}

.brands .brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.2s;
    width: 100%;
    height: 100%;
}

.brands .brand-card img {
    width: 100%;
    height: 100%;
    max-height: 110px;
    border-radius: 0;
}

.brands .swiperBrands {
    width: calc(100% - 80px);
}

.brands .swiper-pagination {
    bottom: -35px;
}
