@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;
}
.upper-btn img {
    width: 20px;
    transform: rotate(270deg);
}

/* hero section */

.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;
}
.nav-link:last-child {
    margin-right: 0;
}
.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;
}
.hero__section-body {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
}
.hero__section-body-top {
  display: flex;
  gap: 30px;
}
.hero__section-body-content {
    margin-left: 70px;
}
.product__gallery {
    width: 500px;
}
.product-slider {
    width: 100%;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--light_grey-clr);
}
.product-slider > .swiper-wrapper > .swiper-slide {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-slider img {
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: contain;
    max-width: 300px;
    margin: 0 auto;
    padding: 10px 0;
}
.thumbs-slider {
    width: 100%;
    margin: 10px auto;
}
.thumbs-slider .swiper-slide {
    width: 80px;
    height: 80px;
    opacity: 0.5;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid var(--light_grey-clr);
}
.thumbs-slider .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--primary-clr);
}
.thumbs-slider > .swiper-wrapper > .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumbs-slider img {
    object-fit: cover;
    max-width: 70px;
    height: auto;
}
.swiper-button-next, .swiper-button-prev {
    color: var(--primary-clr) !important;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 27px !important;
    font-weight: 900 !important;
}
.product-title {
    font-size: 37px;
}
.product__subtitle {
    margin-top: 30px;
}
.product-subtitle {
    font-size: 15px;
    color: #676770;
    font-weight: 400;
    line-height: 1.3;
}
.product__price {
    margin-top: 20px;
}
.product__chars {
    margin-top: 30px;
}
.price {
    font-size: 22px;
    font-weight: 600;
}
.product-chars-title {
    font-size: 16px;
}
.pdoduct__chars-items {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    margin-top: 20px;
}
.pdoduct__chars-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid var(--light_grey-clr);
}
.product-char {
    color: #676770;
    line-height: 1.4;
    font-size: 14px;
}
.product-char:last-child {
    text-align: right;
    width: 400px;
}

/* related products */

.related__products {
    margin-top: 40px;
}
.related__products-items {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    margin-top: 40px;
}
.related-title {
    font-size: var(--h1-fz);
    font-weight: 600;
}
.related-swiper {
    margin-top: 20px;
}


/* footer section */

.footer__section {
    background: #1A1A1A;
}
.footer__section-container {
    display: flex;
    flex-direction: column;
    row-gap: 80px;
}
.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-nav-link {
    margin-right: 40px;
    color: var(--white-clr);
}
.footer-nav-link:last-child {
    margin-right: 0;
}
.footer-btn {
    border-radius: var(--button-br);
    padding: 15px 40px;
    color: var(--white-clr);
    background: var(--primary-clr);
}
.footer-logo {
    width: 200px;
}
.footer__mid {
    display: flex; 
    justify-content: space-between;
    align-items: center;
}
.footer-contacts {
    font-size: 25px;
    font-weight: 600;
    color: var(--white-clr);
}
.footer-rights {
    text-align: center;
    color: var(--white-clr);
    font-size: 12px;
}

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

    /* main section */

    .hero__section-body-content {
        margin-left: 30px;
    }
    .product__gallery {
        width: 400px;
    }
    .product-title {
        font-size: 33px;
    }
}

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

    /* main section */

    .product__gallery {
        width: 350px;
    }
    .product-title {
        font-size: 33px;
    }
    .product-subtitle {
        width: unset;
    }
    .pdoduct__chars-item {
        width: unset;
    }
    .product-char:last-child {
        text-align: right;
        width: unset;
    }
    .product-char {
        line-height: 1.4;
        font-size: 14px;
    }

}

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

    /* main section */

    .hero__section-body {
        row-gap: 30px;
    }
    .hero__section-body-top {
        flex-direction: column;
    }
    .product__gallery {
        width: var(--container-width);
    }
    .product-title {
        font-size: 25px;
    }
    .hero__section-body-content {
        margin-left: 0;
    }
    .product-slider > .swiper-wrapper > .swiper-slide {
        min-height: 342px;
    }
    .product-slider img {
        max-width: 200px;
    }
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 20px !important;
    }
    .product-title {
        font-size: 21px;
    }
    .product-char {  
        font-size: 14px;
    }
    .product-char:last-child {
        width: 200px;
    }

}