*,
*::before,
*::after {
    box-sizing: border-box;
}

::-webkit-scrollbar {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
p,
div,
span,
img {
    margin: 0;
    padding: 0;
}

.basis {
    margin: 0 auto;
    max-width: 1400px;
    background: linear-gradient(155.93deg, rgba(255, 253, 248, 0.6) 0%, rgba(251, 245, 230, 0.6) 100%);
}

@media screen and (max-width: 1900px) {
    .basis {
        max-width: 1800px;
    }
}

@media screen and (max-width: 1800px) {
    .basis {
        max-width: 1700px;
    }
}

@media screen and (max-width: 1700px) {
    .basis {
        max-width: 1600px;
    }
}

@media screen and (max-width: 1600px) {
    .basis {
        max-width: 1500px;
    }
}

@media screen and (max-width: 1500px) {
    .basis {
        max-width: 1400px;
    }
}

@media screen and (max-width: 1400px) {
    .basis {
        max-width: 1300px;
    }
}

@media screen and (max-width: 1300px) {
    .basis {
        max-width: 1200px;
    }
}

@media screen and (max-width: 1200px) {
    .basis {
        max-width: 1100px;
    }
}

@media screen and (max-width: 1100px) {
    .basis {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1000px) {
    .basis {
        max-width: 900px;
    }
}

@media screen and (max-width: 900px) {
    .basis {
        max-width: 800px;
    }
}

@media screen and (max-width: 800px) {
    .basis {
        max-width: 700px;
    }
}

@media screen and (max-width: 700px) {
    .basis {
        max-width: 600px;
    }
}

@media screen and (max-width: 600px) {
    .basis {
        max-width: 500px;
    }
}

@media screen and (max-width: 500px) {
    .basis {
        max-width: 400px;
    }
}

@media screen and (max-width: 400px) {
    .basis {
        max-width: 320px;
    }
}

@media screen and (max-width: 300px) {
    .basis {
        max-width: 220px;
    }
}

/* Header */

header {
    width: 100%;
    height: 72px;
    background: linear-gradient(90deg, rgba(251, 250, 247, 0.02) 0%, rgba(251, 245, 230, 0.012) 100%);
    box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.02);
    padding: 16px 30px;
    display: flex;
}

.logo {
    width: 135px;
}

.icons_header {
    display: flex;
    align-items: center;
}

.number_one {
    width: 30px;
    margin-right: 10px;
}

.number_two {
    width: 40px;
}

header a {
    text-decoration: none;
}

.together_items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.links_head_one,
.links_head_two,
.links_head_three {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #333333;
}

.links_head_one,
.links_head_two {
    margin-right: 18px;
}

/* One block */

.two_block {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.main_img {
    width: 300px;
    height: 300px;
    box-shadow: inset 0px 0px 30px #FBF9F5;
    border-radius: 30px;
    margin-right: 40px;
}

.one_title {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 37px;
    text-align: center;
    color: #333333;
    margin-bottom: 30px;
}

.specs_question {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #333333;
    margin-right: 10px;
}

.specs_answer {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #333333;
}

.specs {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.together_specs {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.title_compatibility {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #333333;
    margin-bottom: 10px;
}

.compatibility_list {
    margin: 0;
}

.compatibility_list li {
    margin: 0 0 10px 0;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #333333;
}

/* Three block */

.three_block {
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.info_3 {
    width: 49%;
    background: #FFFFFF;
    box-shadow: 2px 2px 16px rgba(51, 51, 51, 0.05);
    border-radius: 20px;
    padding: 30px;
}

.info_title_3 {
    width: 100%;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #333333;
    margin-bottom: 15px;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.info_txt_3 {
    width: 100%;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #333333;
}

/* Four block */

.four_block {
    margin: 40px 0;
    padding: 30px;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 2px 2px 16px rgba(51, 51, 51, 0.05);
}

.info_title_4 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #333333;
    margin-bottom: 15px;
}

.info_txt_4 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #333333;
}

.info_nots_4 {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #333333;
}

#info_txt_1 {
    margin-bottom: 10px;
}

#info_txt_2 {
    margin-bottom: 15px;
}

/* Five block */

.five_block {
    margin: 40px 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Разделяет пространство равномерно */
}

.five_block_slider {
    margin: 0 30px;
    flex: 0 0 120px;
    /* Фиксированная ширина блока с изображением */
}

.five_block_slider img {
    width: 120px;
}

.together_text_5,
.three_part_5block {
    flex: 1;
    /* Гибкая ширина для боковых блоков */
}

.info_title_5 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #333333;
    margin-bottom: 15px;
}

.info_txt_5 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #333333;
}

/* Six block */

.slider-container {
    width: 80%;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
}

.reviews {
    display: flex;
    transition: transform 0.5s ease;
    width: 600%;
}

.review {
    flex: 1;
    padding: 0;
    box-sizing: border-box;
    min-width: 16.67%;

}

.together_info_6 {
    background: #FBF5E6;
    box-shadow: 2px 2px 16px rgba(51, 51, 51, 0.05);
    border-radius: 20px;
    margin: 20px;
    padding: 20px 30px 30px 30px;
    display: flex;
    align-items: flex-start;
}

.together_info_6 img {
    width: 50px;
    margin-right: 15px;
}

.info_title_6 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #333333;
    margin-bottom: 15px;
}

.info_txt_5 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #333333;
}

.nav-dots {
    text-align: center;
}

.nav-dots label {
    display: inline-block;
    background: rgba(255, 165, 0, 0.19);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    cursor: pointer;
}

.nav-dots label.active {
    background: #FFA500;
}

input[type="radio"] {
    display: none;
}

#slide1:checked~.reviews {
    transform: translateX(0);
}

#slide2:checked~.reviews {
    transform: translateX(-16.67%);
}

#slide3:checked~.reviews {
    transform: translateX(-33.33%);
}

#slide4:checked~.reviews {
    transform: translateX(-50%);
}

#slide5:checked~.reviews {
    transform: translateX(-66.67%);
}

#slide6:checked~.reviews {
    transform: translateX(-83.33%);
}

#slide1:checked~.nav-dots label[for="slide1"],
#slide2:checked~.nav-dots label[for="slide2"],
#slide3:checked~.nav-dots label[for="slide3"],
#slide4:checked~.nav-dots label[for="slide4"],
#slide5:checked~.nav-dots label[for="slide5"],
#slide6:checked~.nav-dots label[for="slide6"] {
    background: #FFA500;
}

/* Seven block */

.seven_block {
    margin: 40px 30px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
}

.description {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 2px 2px 16px rgba(51, 51, 51, 0.05);
    border-radius: 10px;
}

.btn {
    position: absolute;
    opacity: 0;
}

.btn-label {
    background: #FFFFFF;
    box-shadow: 5px 5px 5px rgba(51, 51, 51, 0.02);
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    width: 24.7%;
    transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.namebutton {
    margin: 15px 20px;
    display: flex;
    justify-content: center;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    text-transform: capitalize;
}

@media screen and (max-width: 420px) {
    .namebutton {
        text-align: center;
    }
}

.btn1:checked~#content1,
.btn2:checked~#content2,
.btn3:checked~#content3,
.btn4:checked~#content4 {
    display: block;
    padding: 20px;
}

.content {
    display: none;
}

.btn:hover+.btn-label {
    background: #FFA500;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.21);
    border-radius: 10px;
    color: #FFFFFF;
}

.btn:checked+.btn-label {
    background: #FFA500;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.21);
    border-radius: 10px;
    color: #FFFFFF;
}

@media screen and (max-width: 1300px) {
    .seven_block {
        justify-content: space-between;
        flex-direction: column;
        align-items: flex-start;
    }

    .description {
        max-width: 100%;
    }
}

.info_title_seven {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #333333;
    margin-bottom: 15px;
}

.txt_title_seven {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #333333;
    margin-right: 10px;
}

.txt_seven {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #333333;
}

.together_text_seven {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

.info_bot_seven {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #333333;
    margin-top: 5px;
}

.info_texts_seven {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #333333;
}

/* footer */

footer {
    margin: 40px 0 0 0;
    padding: 30px;
    background: #333333;
    display: flex;
    align-items: center;
}

.logo_footer {
    width: 135px;
}

.icons_footer {
    display: flex;
    align-items: center;
}

.number_one_footer {
    width: 30px;
    margin-right: 10px;
}

.number_two_footer {
    width: 40px;
}

.text_footer {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 20px;
    width: 75%;
}

.notes_footer {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-transform: capitalize;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.together_text_footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* slider one */

.carousel-wrapper {
    --width: 120px;
    --gap: 0;
    --num-items: 4;
    --ani-offset: calc(var(--width) * var(--num-items) * -1);
    --ani-speed: 10s;

    width: 120px;
    overflow: hidden;
    position: relative;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    width: 20%;
    height: 100%;
    z-index: 1;
    top: 0;
}

.carousel-wrapper::before {
    left: 0;
    background-image: linear-gradient(to right, var(--bg-clr) 0%, transparent 50%);
}

.carousel-wrapper::after {
    right: 0;
    background-image: linear-gradient(to left, var(--bg-clr) 0%, transparent 50%);
}

.carousel {
    display: flex;
    align-items: center;
    animation: slide-one var(--ani-speed) linear infinite;
}

.item {
    flex: 1 0 var(--width);
    text-align: center;
    padding: 1rem;
}

.item>img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@keyframes slide-one {
    100% {
        transform: translateX(var(--ani-offset));
    }
}

/* slider two */

.gallery {
    display: grid;
    width: 300px;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.gallery>img {
    grid-area: 1/1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: inset 0px 0px 30px #FBF9F5;
    border-radius: 30px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.gallery>img:nth-child(1) {
    animation: fade 15s infinite;
}

.gallery>img:nth-child(2) {
    animation: fade 15s infinite;
    animation-delay: -5s;
}

.gallery>img:nth-child(3) {
    animation: fade 15s infinite;
    animation-delay: -10s;
}

@keyframes fade {
    0% {
        opacity: 0;
        z-index: 1;
    }

    10% {
        opacity: 1;
        z-index: 2;
    }

    30% {
        opacity: 1;
        z-index: 2;
    }

    50% {
        opacity: 0;
        z-index: 1;
    }

    100% {
        opacity: 0;
        z-index: 1;
    }
}

/* Line links */

.links_head_one {
    position: relative;
    text-decoration: none;
    color: #333333;
}

.links_head_one::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #FFA500;
    transition: width 0.3s ease;
}

.links_head_one:hover::before {
    width: 100%;
}

.links_head_two {
    position: relative;
    text-decoration: none;
    color: #333333;
}

.links_head_two::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #FFA500;
    transition: width 0.3s ease;
}

.links_head_two:hover::before {
    width: 100%;
}

.links_head_three {
    position: relative;
    text-decoration: none;
    color: #333333;
}

.links_head_three::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #FFA500;
    transition: width 0.3s ease;
}

.links_head_three:hover::before {
    width: 100%;
}

/* Icons links */

.icon-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.icon-link:hover {
    transform: scale(1.1);
}

.icon-link img {
    display: block;
}

/* Media screen */

@media screen and (max-width: 1100px) {
    .btn-label {
        width: 24.5%;
    }
    .specs {
        display: flex;
        align-items: flex-start;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 900px) {
    .two_block {
        padding: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .main_img {
        margin-right: 0;
    }
}

@media screen and (max-width: 700px) {
    .btn-label {
        width: 100%;
        margin-bottom: 10px;
    }
    .three_block {
        padding: 0 30px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column;
    }
    .info_3 {
        width: 100%;
        background: #FFFFFF;
        box-shadow: 2px 2px 16px rgba(51, 51, 51, 0.05);
        border-radius: 20px;
        padding: 30px;
    }
    #info_three {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 600px) {
    .hed_links {
        display: none;
    }
    .together_specs {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }
    .compatibility_block {
        margin-top: 20px;
    }
    .five_block {
        margin: 40px 30px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
    }
    .carousel-wrapper {
        --width: 150px;
    }
    footer {
        margin: 40px 0 0 0;
        padding: 30px;
        background: #333333;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .icons_footer {
        display: none;
    }
    .logo_footer {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 400px) {
    .together_info_6 {
        background: #FBF5E6;
        box-shadow: 2px 2px 16px rgba(51, 51, 51, 0.05);
        border-radius: 20px;
        margin: 20px;
        padding: 20px 30px 30px 30px;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }
    .together_info_6 img {
        width: 50px;
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 300px) {
    header {
        padding: 15px 15px;
    }
    .gallery {
        width: 250px;
        height: 250px;
    }
    .main_img {
        width: 250px;
        height: 250px;
        box-shadow: inset 0px 0px 30px #FBF9F5;
        border-radius: 30px;
    }
    .two_block {
        padding: 10px;
    }
    .specs {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        justify-content: center;
        flex-direction: column;
    }
    .title_compatibility, .compatibility_list {
        text-align: center;
    }
    .three_block {
        padding: 0 10px;
    }
    .together_info_6 {
        overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    }
    .together_info_6 {
        margin: 0;
        padding: 10px;
    }
    .seven_block {
        margin: 40px 0;
    }
    footer {
        padding: 10px;
    }
}
