@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
    --black-clr: #000;
    --white-clr: #FFF;
    --light_grey-clr: #F3F6FB;
    --dark_grey-clr: #71788b;
    --primary-clr: #0A669F;
    --accent-clr: #B2211F;
    --button-br: 10px;
    --block-br: 15px;
    --h1-fz: 26px;
    --h2-fz: 22px;
    --base-fz: 16px;
    --container-width: 1350px;
    --section-padding: 40px 0;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    font-size: var(--base-fz);
    overflow-x: hidden !important;
}
.wrapper {
    overflow-x: hidden !important;
}
h1, h2, h3, p {
    padding: 0;
    margin: 0;
}
a {
    text-decoration: none;
    transition: all 0.3s;
}
a:hover {
    transition: all 0.3s;
}
ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}
.section {
    padding: var(--section-padding);
}
.section-title {
    font-size: var(--h1-fz);
    font-weight: 600;
}
.remove-scroll {
    overflow-y: hidden;
}
.upper-btn {    
    background: var(--primary-clr);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}
.upper-btn img {
    width: 20px;
    transform: rotate(270deg);
}

/* search form */

.dgwt-wcas-search-wrapp {
    max-width: 300px !important;
    margin: unset;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    padding: 0;
}
.dgwt-wcas-search-form {
    width: 300px;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    padding: 13px 24px 13px 48px;
    line-height: 24px;
    font-size: 17px;
    border: 0.5px solid #333;
    border-radius: 30px;
    height: auto;
    font-family: Inter, sans-serif;
    background-color: #fff;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:hover {
    background: #fff;
}
.dgwt-wcas-st-more, .js-dgwt-wcas-suggestion-more {
    display: none;
}
.dgwt-wcas-search-input::placeholder {
    font-size: 14px !important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    left: 14px;
    top: 11px;
}

/* hero section */

.header-logo {
    width: 200px;
}
.hero__header {
    position: relative;
}
.top__header {
    display: flex;  
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.bottom__header {
    margin-top: 40px;
}
.nav-link {
    margin-right: 40px;
    transition: all 0.3s;
}
.nav-link:last-child {
    margin-right: 0;
}
.nav-link.active,
.nav-link:hover {
    color: #0073aa; 
    transition: all 0.3s;
}
.nav-link.active {
    text-decoration: underline;
    transition: all 0.3s;
}
.header__contacts {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    align-items: flex-end;
}
.nav-link, .header-contacts {
    color: var(--black-clr);
}
.sep__header {
    width: 100vw;
    height: 2px;
    background: var(--light_grey-clr);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.header__ctgs {
    display: flex;
    justify-content: space-between;
}
.header-ctg-link {
    color: var(--dark_grey-clr);
    font-weight: 500;
}

/* burger */

.burger-menu__toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
    transition: opacity 0.3s ease;
}
.burger-menu__toggle:hover {
    opacity: 0.7;
}
.burger-menu__line {
    width: 100%;
    height: 2px;
    background-color: #000000;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}
.burger-menu__line--1 {
    transform: translateY(0) rotate(0deg);
}
.burger-menu__line--2 {
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.burger-menu__line--3 {
    transform: translateY(0) rotate(0deg);
}
.burger-menu__toggle[aria-expanded="true"] {
    opacity: 0;
}
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}
.mobile-menu[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
}
.mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.mobile-menu[aria-hidden="false"] .mobile-menu__overlay {
    opacity: 1;
}
.mobile-menu__content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    padding: 70px 25px 30px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}
.mobile-menu[aria-hidden="false"] .mobile-menu__content {
    transform: translateX(0);
}
.mobile-menu__close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2;
    transition: opacity 0.3s ease;
}
.mobile-menu__close:hover {
    opacity: 0.7;
}
.mobile-menu__close-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}
.mobile-menu__close-line--1 {
    transform: rotate(45deg);
}
.mobile-menu__close-line--2 {
    transform: rotate(-45deg);
}
.mobile-menu__close:hover .mobile-menu__close-line {
    background-color: #0073aa;
}
.mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-menu__list li {
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.mobile-menu[aria-hidden="false"] .mobile-menu__list li {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu__list a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 15px 0;
    transition: all 0.3s ease;
    font-weight: 500;
}
@media (max-width: 1200px) {

    .burger-menu__toggle {
        display: flex;
        order: 4;
    }
    .header__nav {
        display: none !important;
    }
    .top__header {
        justify-content: space-between;
        align-items: center;
    }
    .dgwt-wcas-search-form {
        width: 280px !important;
    }
    .header__contacts {
        order: 3;
    }

}
@media (max-width: 600px) {

    .burger-menu__toggle {
        order: unset;
    }
    .header__contacts {
        order: 2;
    }
    .mobile-menu__list a {
        font-size: 16px;
    }

}
body.mobile-menu-open {
    overflow: hidden;
}
body {
    transition: overflow 0.4s ease;
}

/* ///// */

.hero__featured {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 20px;
}
.hero__featured-swiper {
    width: 80%;
    height: 100%;
    position: relative;
    margin-left: unset !important;
}
.featured-swiper-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    color: var(--white-clr);
    gap: 40px;
    border-radius: var(--block-br);
    min-height: 400px;
    background: url('../img/main-banner-bg-1.jpg');
}
.featured-swiper-slide h2 {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}
.featured-swiper-slide h3 {
    margin-top: 20px;
}
.featured-swiper-slide a {
    font-size: 18px;
    color: var(--white-clr);
    font-weight: 600;
    margin-top: 30px;
    display: inline-block;
}
.featured-swiper-slide img {
    max-width: 320px;
    height: auto;
}
.main-banner-img-1 {
    position: absolute;
    top: -45px;
    right: -45px;
    width: 370px;
    max-width: unset !important;
}
.featured-swiper-buttons {
    display: flex;
    position: absolute;
    right: 40px;
    bottom: 20px;
    z-index: 11;
}
.featured-slider-arrow {
    width: 20px;
    cursor: pointer;
}
.featured-swiper-button-prev {
    margin-right: 20px;
}
.featured-swiper-pagination {
    left: 40px !important;
    right: unset;
    bottom: 25px !important;
    text-align: unset;
}
.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--white-clr);
}
.featured-slide-content {
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    color: var(--white-clr);
    padding: 40px 0;
}
.hero__featured-item {
    width: 18%;
    border-radius: var(--block-br);
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}
.hero__featured-item--blue {
    background: url('../img/main-banner-bg-3.jpg');
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    height: 400px;
    justify-content: space-between;
}
.hero__featured-item--grey {
    justify-content: center;
    min-width: 320px;
    min-height: 180px;
    padding: 20px;
}
.hero__featured-item:nth-child(3) {
    background: url('../img/hero-item-bg-1.jpg');
    background-size: cover;
    background-position: center;
}
.hero__featured-item:nth-child(4) {
    background: url('../img/hero-item-bg-2.jpg');
    background-size: cover;
    background-position: center;
}
.hero__featured-item:nth-child(5) {
    background: url('../img/hero-item-bg-3.jpg');
    background-size: cover;
    background-position: center;
}
.hero__featured-item:nth-child(6) {
    background: url('../img/hero-item-bg-4.jpg');
    background-size: cover;
    background-position: center;
}
.hero__featured-item--blue > .hero__featured-item--name {
    color: var(--white-clr);
}
.hero__featured-item--blue > .hero__featured-item--btn {
    color: var(--white-clr);
}
.hero__featured-item--name {
    font-size: var(--h2-fz);
    font-weight: 600;
    width: 200px;
    color: var(--white-clr);
}
.hero__featured-item--btn {
    color: var(--light_grey-clr);
    font-weight: 600;
}

/* popular section */

.popular__section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.popular-swiper {
    width: 100%;
    padding-top: 20px;
}
.popular-swiper-slide {
    border-radius: var(--block-br);
    width: 220px;
}
.popular-slider-arrows {
    display: flex;
}
.popular-slider--button img {
    width: 20px;
    cursor: pointer;
}
.popular-button-prev {
    margin-right: 20px;
}
.card div {
    min-height: 140px;
}

/* promo section */

.promo__section-banner {
    background: url(../img/main-promo-banner.jpg);
    height: 484px;
    border-radius: var(--block-br);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.promo__section-txt {
    font-size: 55px;
    color: var(--white-clr);
    font-weight: 600;
}

/* toprated section */

.toprated__section-products {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 20px;
    padding-top: 20px;
}

/* logos section */

.logos__section-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logos-section-sep {
    height: 100px;
    width: 1px;
    background: var(--dark_grey-clr);
    opacity: 0.5;
}

/* doublepromo section */

.doublepromo__section-container {
    display: flex;
    justify-content: space-between;
}
.doublepromo__section-body {
    width: 49%;
    border-radius: var(--block-br);
    min-height: 250px;
}
.doublepromo__section-body:nth-child(1) {
    background: var(--light_grey-clr);
}
.doublepromo__section-body:nth-child(2) {
    background: var(--primary-clr);
}

/* showcase section */

.showcase__section-container {
    display: flex;
    justify-content: space-between;
}
.showcase__section-products {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    margin-top: 20px;
}

/* footer section */

.footer__section {
    background: #1A1A1A;
}
.footer__section-container {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}
.footer__top {
    display: flex;
    justify-content: space-between;
}
.footer__about {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    margin-top: 20px;
}
.footer__about p {
    color: var(--white-clr);
    font-weight: 400;
}
.footer__about p:last-child {
    max-width: 420px;
    line-height: 1.4;
}
.footer__top-right {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    align-items: flex-end;
}
.footer-logo {
    width: 200px;
}
.footer__mid {
    display: flex; 
    justify-content: space-between;
    align-items: center;
}
.footer-contacts {
    font-size: 22px;
    font-weight: 600;
    color: var(--white-clr);
}
.footer-disc {
    text-align: left;
    margin-bottom: 30px;
    color: var(--white-clr);
    line-height: 1.4;
}
.footer-rights {
    text-align: center;
    color: var(--white-clr);
    font-size: 12px;
}

@media (max-width: 1350px) {
    
    :root {
        --container-width: 1200px;
    }

    /* main section */
    .nav-link {
        margin-right: 25px;
    }
    .hero__featured-item--grey {
        min-width: 285px;
    }

    /* promo section */

    .promo__section-txt {
        font-size: 45px;
    }

    /* toprated section */

    .toprated__section-products {
        justify-content: flex-start;
        gap: 43px;
    }
    
}

@media (max-width: 1200px) {
    
    :root {
        --container-width: 1000px;
        --section-padding: 30px 0;
        --h1-fz: 24px;
        --h2-fz: 20px;
    }

    /* main section */

    .hero__featured {
        row-gap: 10px;
    }
    .hero__featured-swiper {
        width: 77%;
    }
    .hero__featured-item {
        width: 22%;
    }
    .featured-slide-content h2 {
        font-size: 40px;
    }
    .hero__featured-item--grey {
        min-width: 240px !important;
        min-width: 150px;
    }
    .hero__featured-item--btn {
        font-size: 15px;
    }

    /* promo section */

    .promo__section-banner {
        height: 400px;
    }
    .promo__section-txt {
        font-size: 35px;
    }

    /* toprated section */

    .toprated__section-products {
        justify-content: flex-start;
        gap: 60px;
        row-gap: 20px;
    }
    
}

@media (max-width: 1000px) {
    
    :root {
        --container-width: 800px;
    }

    /* header */

    .header-logo {
        width: 160px;
    }

    /* main section */

    .hero__featured-swiper {
        width: 570px;
        height: 333px;
    }
    .featured-swiper-slide {
        min-height: unset;
    }
    .hero__featured-item--grey {
        min-width: 395px !important;
    }
    .hero__featured-item--blue {
        height: unset;
        width: 210px;
    }
    .featured-slide-content h2 {
        font-size: 28px;
    }
    .featured-swiper-slide h3 {
        font-size: 18px;
    }

    /* promo section */

    .promo__section-banner {
        height: 300px;
    }
    .promo__section-txt {
        font-size: 30px;
    }

    /* toprated section */

    .toprated__section-products {
        justify-content: space-between;
        gap: 20px;
    }

    /* doublepromo section */

    .doublepromo__section-body {
        min-height: 200px;
    }

    /* showcase section */

    .showcase__section-container {
        flex-wrap: wrap;
        row-gap: 30px;
    }

    /* footer */

    .footer-logo {
        width: 160px;
    }
    .footer-contacts {
        font-size: 21px;
    }
    .footer-btn {
        padding: 12px 30px;
    }
    
}

@media (max-width: 800px) {
    
    :root {
        --container-width: 600px;
        --h1-fz: 22px;
        --h2-fz: 18px;
    }

    /* header */

    .top__header {
        flex-wrap: wrap;
        row-gap: 20px;
    }
    .header__logo {
        order: 1;
    }
    .header__nav {
        order: 3;
        margin: auto;
    }
    .header__contacts {
        order: 2;
    }
    .nav-link {
        margin-right: 65px;
    }
    .header__ctgs {
        overflow-x: scroll;
        overflow-y: hidden;
        scrollbar-width: none; 
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    .header__ctgs a {
        margin-right: 30px;
        flex: 0 0 auto;
    }
    .header__ctgs a:last-child {
        margin-right: 0;
    }
    .categories::-webkit-scrollbar {
        display: none;
    }

    /* main section */

    .hero__featured-swiper {
        width: 420px;
    }
    .hero__featured-item--blue {
        width: 170px;
    }
    .hero__featured-item--name {
        font-size: 15px;
        width: unset;
    }
    .hero__featured-item--grey {
        min-width: 295px !important;
        min-height: 150px;
    }
    .featured-slide-content h2 {
        font-size: 20px;
    }
    .featured-swiper-slide h3 {
        font-size: 15px;
    }
    .hero__featured-item--btn {
        font-size: 14px;
    }

    /* promo section */

    .promo__section-txt {
        font-size: 24px;
    }

    /* logos section */

    .logos__section {
        display: none;
    }

    /* doublepromo section */

    .doublepromo__section-body {
        min-height: 150px;
    }

    /* footer */

    .footer__nav > .nav-link {
        margin-right: 30px;
    }
    .footer__nav > .nav-link:last-child {
        margin-right: 0px;
    }
    .footer__about p:last-child {
        max-width: 290px;
    }
    .footer-contacts {
        font-size: var(--base-fz);
    }

}

@media (max-width: 600px) {
    
    :root {
        --container-width: 330px;
        --h1-fz: 18px;
        --h2-fz: 16px;
        --section-padding: 20px 0;
    }

    /* header */

    .header-logo {
        width: 140px;
    }
    .header__nav {
        display: flex;
        justify-content: space-between;
        width: var(--container-width);
    }
    .nav-link {
        margin-right: 0;
    }

    /* main section */

    .hero__featured-swiper {
        width: var(--container-width);
        height: 270px;
    }
    .featured-swiper-slide {
        padding: 20px;
        background-position: center;
    }
    .featured-slide-content h2 {
        font-size: 17px;
    }
    .featured-swiper-slide h3 {
        font-size: 14px;
    }
    .hero__featured-item {
        width: var(--container-width);
    }
    .hero__featured-item--blue {
        background-size: cover;
        background-position: center;
        height: 300px;
    }

    /* promo section */

    .promo__section-txt {
        text-align: center;
        font-size: 19px;
        line-height: 1.3;
    }

    /* doublepromo section */

    .doublepromo__section-container {
        flex-direction: column;
        row-gap: 20px;
    }
    .doublepromo__section-body {
        width: var(--container-width);
    }

    /* footer */

    .footer__section-container {
        row-gap: 20px;
    }
    .footer__top {
        flex-direction: column;
        row-gap: 20px;
        align-items: center;
    }
    .footer__top-right {
        align-items: flex-start;
    }
    .footer__nav {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        row-gap: 10px;
        width: var(--container-width);
    }
    .footer__nav > .nav-link {
        margin-right: 0px;
    }
    .footer-nav-link {
        margin-right: 0;
    }
    .footer__about p:last-child {
        max-width: var(--container-width);
    }
    .footer__mid {
        flex-direction: column;
        row-gap: 20px;
    }
    .footer-contacts {
        font-size: 18px;
    }
    .footer-logo {
        width: 180px;
    }


}
