@charset "UTF-8";
/**
  Нормализация блочной модели
 */
*,
::before,
::after {
    box-sizing: border-box;
}

/**
  Убираем внутренние отступы слева тегам списков,
  у которых есть атрибут class
 */
:where(ul, ol):where([class]) {
    padding-left: 0;
}

/**
  Убираем внешние отступы body и двум другим тегам,
  у которых есть атрибут class
 */
body,
:where(blockquote, figure, fieldset):where([class]) {
    margin: 0;
}

/**
  Убираем внешние отступы вертикали нужным тегам,
  у которых есть атрибут class
 */
:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl):where([class]) {
    margin-block: 0;
}

:where(dd[class]) {
    margin-left: 0;
}

:where(fieldset[class]) {
    padding: 0;
    border: none;
}

/**
  Убираем стандартный маркер маркированному списку,
  у которого есть атрибут class
 */
:where(ul[class]) {
    list-style: none;
}

:where(address[class]) {
    font-style: normal;
}

/**
  Обнуляем вертикальные внешние отступы параграфа,
  объявляем локальную переменную для внешнего отступа вниз,
  чтобы избежать взаимодействие с более сложным селектором
 */
p {
    --paragraphMarginBottom: 24px;
    margin-block: 0;
}

/**
  Внешний отступ вниз для параграфа без атрибута class,
  который расположен не последним среди своих соседних элементов
 */
p:where(:not([class]):not(:last-child)) {
    margin-bottom: var(--paragraphMarginBottom);
}

/**
  Упрощаем работу с изображениями и видео
 */
img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

/**
  Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
    font: inherit;
}

html {
    /**
   Пригодится в большинстве ситуаций
   (когда, например, нужно будет "прижать" футер к низу сайта)
  */
    height: 100%;
    /**
   Убираем скачок интерфейса по горизонтали
   при появлении / исчезновении скроллбара
  */
    scrollbar-gutter: stable;
}

/**
  Плавный скролл
 */
html {
    scroll-behavior: smooth;
}

body {
    /**
   Пригодится в большинстве ситуаций
   (когда, например, нужно будет "прижать" футер к низу сайта)
  */
    min-height: 100%;
    /**
   Унифицированный интерлиньяж
  */
    line-height: 1.5;
}

/**
  Нормализация высоты элемента ссылки при его инспектировании в DevTools
 */
a:where([class]) {
    display: inline-flex;
}

/**
  Курсор-рука при наведении на элемент
 */
button,
label {
    cursor: pointer;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут fill со значением 'none' или начинается с 'url')
 */
:where([fill]:not([fill="none"], [fill^="url"])) {
    fill: currentColor;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут stroke со значением 'none')
 */
:where([stroke]:not([stroke="none"], [stroke^="url"])) {
    stroke: currentColor;
}

/**
  Чиним баг задержки смены цвета при взаимодействии с svg-элементами
 */
svg * {
    transition-property: fill, stroke;
}

/**
  Приведение рамок таблиц в классический 'collapse' вид
 */
:where(table) {
    border-collapse: collapse;
    border-color: currentColor;
}

/**
  Удаляем все анимации и переходы для людей,
  которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
@font-face {
    font-family: "Montserrat", sans-serif;
    src: url(../fonts/Montserrat-Regular.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Montserrat", sans-serif;
    src: url(../fonts/Montserrat-Medium.woff2) format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Spectral", serif;
    src: url(../fonts/Spectral-SemiBold.woff2) format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Spectral", serif;
    src: url(../fonts/Spectral-Bold.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Spectral", serif;
    src: url(../fonts/Spectral-ExtraBold.woff2) format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
body {
    font-size: clamp(14px, 1.25vw, 18px);
    font-family: var(--font-family-base);
    color: var(--color-dark);
    background-color: var(--color-light);
    overflow-x: hidden;
}

a,
button,
input,
textarea,
svg * {
    transition-duration: var(--transition-duration);
}

a {
    text-decoration: none;
    color: inherit;
}

h1 {
    font-size: clamp(36px, 4.4444444444vw, 64px);
    font-family: var(--font-family-accent);
    font-weight: 800;
}

h2 {
    font-size: clamp(24px, 2.2222222222vw, 32px);
    font-family: var(--font-family-accent);
    font-weight: 700;
}

h3 {
    font-size: clamp(20px, 2.0833333333vw, 30px);
    font-family: var(--font-family-accent);
    font-weight: 600;
}

h4,
h5,
h6 {
    font-size: clamp(16px, 1.3888888889vw, 20px);
}

.container {
    max-width: calc(var(--container-width) + var(--container-padding-x) * 2);
    margin-inline: auto;
    padding-inline: var(--container-padding-x);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    border: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    clip-path: inset(100%) !important;
    clip: rect(0 0 0 0) !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .visible-mobile {
        display: none !important;
    }
}

:root {
    --color-accent: #104d8c;
    --color-dark: #000000;
    --color-light: #ffffff;
    --color-hover: #fefcc0;
    --gradient: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(225deg, #1a5877, #31a4dd) border-box;
    --shadow: 0 0 10px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 40px;
    --row-gap: 100px;
    --font-family-accent: "Spectral", serif;
    --font-family-base: "Montserrat", sans-serif;
    --container-width: 1440px;
    --container-padding-x: 15px;
    --transition-duration: 0.2s;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 580px) {
    .header__inner {
        flex-direction: column;
    }
}
.header__soc1als {
    padding-block: 25px;
    display: flex;
    flex-direction: column;
    row-gap: 25px;
    align-items: start;
    font-family: var(--font-family-base);
    font-weight: 400;
}
@media (max-width: 580px) {
    .header__soc1als {
        flex-direction: row;
        -moz-column-gap: 50px;
        column-gap: 50px;
    }
}
@media (max-width: 480px) {
    .header__soc1als {
        flex-direction: column;
        align-items: center;
    }
}
.header__wrapper {
    max-width: 100%;
    background-color: var(--color-accent);
    position: relative;
}
.header__nav {
    padding-block: 17px;
}
@media (max-width: 480px) {
    .header__nav {
        padding-block: 10px;
    }
}
.header__nav-list {
    display: inline-flex;
    color: var(--color-light);
    -moz-column-gap: 80px;
    column-gap: 80px;
    padding-left: 5px;
}
@media (max-width: 480px) {
    .header__nav-list {
        display: flex;
        flex-direction: column;
        row-gap: 15px;
        align-items: center;
        justify-content: center;
        padding-left: 0;
    }
}
.header__nav-link {
    position: relative;
    display: flex;
    -moz-column-gap: 5px;
    column-gap: 5px;
}
.header__nav-link:hover {
    color: var(--color-hover);
}
@media (hover: hover) {
    .header__nav-link:hover::after {
        width: 100%;
    }
}
@media (hover: none) {
    .header__nav-link:active::after {
        width: 100%;
    }
}
.header__nav-link::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    translate: -50%;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition-duration: inherit;
}

.phone {
    position: relative;
}

.phone::before {
    content: "";
    position: absolute;
    background: url(../../media/icons/phone.svg);
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    width: 25px;
    aspect-ratio: 1;
}
@media (max-width: 767px) {
    .phone::before {
        width: 20px;
    }
}

.mail {
    position: relative;
}

.mail::before {
    content: "";
    position: absolute;
    background: url(../../media/icons/mail.svg);
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    width: 25px;
    aspect-ratio: 1;
}
@media (max-width: 767px) {
    .mail::before {
        width: 20px;
    }
}

.popup {
    visibility: hidden;
    position: absolute;
    background-color: var(--color-accent);
    display: flex;
    top: 30px;
    left: -5px;
    width: 500px;
    height: auto;
    opacity: 0;
    transition: all 0.2s;
    padding: 10px;
    z-index: 5;
    border: 1px solid var(--color-hover);
}
@media (max-width: 480px) {
    .popup {
        width: 300px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
}
.popup-container {
    position: relative;
}
.popup-container:hover .popup {
    visibility: visible;
    opacity: 1;
}
.popup-link {
    position: relative;
    padding-left: 27px;
}
@media (max-width: 480px) {
    .popup-link {
        padding-left: 0;
    }
}
.popup-link::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 2px;
    border-radius: var(--border-radius);
    background-color: var(--color-light);
    box-shadow: 0 -8px, 0 8px;
}
@media (max-width: 480px) {
    .popup-link::before {
        display: none;
    }
}
.popup-link:hover::before {
    background-color: var(--color-hover);
}
.popup__nav-list {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}
@media (max-width: 480px) {
    .popup__nav-list {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
        justify-content: center;
        align-items: center;
    }
}
.popup__nav-link {
    position: relative;
}
@media (hover: hover) {
    .popup__nav-link:hover::after {
        width: 100%;
    }
}
@media (hover: none) {
    .popup__nav-link:active::after {
        width: 100%;
    }
}
.popup__nav-link::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    translate: -50%;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition-duration: inherit;
}
.popup__nav-link:hover {
    color: var(--color-hover);
}

.main-screen {
    background-image: url(../../media/img/bg/svarchik-first-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: multiply;
    width: 100%;
    height: 940px;
    display: flex;
    flex-direction: column;
    text-align: center;
    row-gap: 50px;
    padding-top: 215px;
    padding-inline: 15px;
}
@media (max-width: 480px) {
    .main-screen {
        height: 500px;
        padding-top: 100px;
    }
}
.main-screen__title,
.main-screen__desc {
    color: var(--color-light);
}

.products {
    margin-block: 100px;
    display: flex;
    flex-direction: column;
    row-gap: var(--row-gap);
    align-items: center;
    justify-content: center;
    text-align: center;
}
.products__nav-list {
    display: flex;
    justify-content: space-evenly;
    gap: 215px;
    flex-wrap: wrap;
}
@media (max-width: 1023px) {
    .products__nav-list {
        gap: 100px;
    }
}
@media (max-width: 480px) {
    .products__nav-list {
        gap: 60px;
    }
}
.products__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 25px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    border: 5px solid transparent;
    box-shadow: var(--shadow);
    width: 325px;
    aspect-ratio: 1;
    text-align: center;
    transition-duration: 0.4s;
}
.products__card-title {
    font-weight: 400;
}
@media (max-width: 767px) {
    .products__card-img {
        width: 150px;
        aspect-ratio: 1;
    }
}
@media (hover: hover) {
    .products__card:hover {
        transform: translateY(-30px);
    }
}
@media (hover: none) {
    .products__card:active {
        transform: translateY(-30px);
    }
}
@media (max-width: 767px) {
    .products__card {
        width: 280px;
    }
}
@media (max-width: 1023px) {
    .products {
        margin-block: 60px;
    }
}
@media (max-width: 480px) {
    .products {
        margin-block: 30px;
    }
}
@media (max-width: 767px) {
    .products {
        --row-gap: 50px;
    }
}

.benefits {
    background-color: var(--color-accent);
}
.benefits-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: var(--row-gap);
    padding-block: 50px;
}
@media (max-width: 767px) {
    .benefits-inner {
        --row-gap: 50px;
    }
}
.benefits-inner__title {
    color: var(--color-light);
}
.benefits-inner__list {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: space-around;
}
.benefits-card {
    display: flex;
    flex-direction: column;
    row-gap: 50px;
    width: 300px;
    aspect-ratio: 1;
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-dark);
    box-shadow: var(--shadow);
}
.benefits-card svg path {
    fill: var(--color-accent);
}
@media (max-width: 767px) {
    .benefits-card {
        width: 250px;
        row-gap: 30px;
    }
    .benefits-card svg {
        width: 100px;
        height: 100px;
    }
}
@media (max-width: 480px) {
    .benefits-card {
        width: 200px;
        padding-inline: 5px;
        text-align: center;
    }
}

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: var(--row-gap);
    color: var(--color-light);
    text-align: center;
    background: url(../../media/img/bg/svarchik-second-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    width: 100%;
    height: 750px;
    padding-inline: 15px;
}
.about__desc {
    max-width: 600px;
    line-height: 1.6;
}

.certificate {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-block: 100px;
    row-gap: var(--row-gap);
    text-align: center;
}
.certificate__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    -moz-column-gap: 330px;
    column-gap: 330px;
    row-gap: 20px;
}
.certificate__wrapper-img {
    max-width: 330px;
}
@media (max-width: 767px) {
    .certificate__wrapper-img {
        width: 250px;
    }
}
@media (max-width: 480px) {
    .certificate__wrapper-img {
        width: 150px;
    }
}
@media (max-width: 767px) {
    .certificate {
        margin-block: 60px;
        --row-gap: 50px;
    }
}
@media (max-width: 480px) {
    .certificate {
        margin-block: 30px;
        --row-gap: 30px;
    }
}

.footer {
    background-color: var(--color-accent);
}
.footer-wrapper {
    display: flex;
    align-items: start;
    justify-content: space-between;
    -moz-column-gap: 20px;
    column-gap: 20px;
    padding-block: 80px;
}
.footer-wrapper__logo {
    width: 235px;
    height: 130px;
    border-radius: var(--border-radius);
}
@media (max-width: 1023px) {
    .footer-wrapper {
        align-items: center;
        flex-direction: column;
        row-gap: 30px;
    }
}
.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    -moz-column-gap: 150px;
    column-gap: 150px;
    text-align: center;
}
.footer-inner__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 20px;
    max-width: 320px;
    text-align: center;
    color: var(--color-light);
}
.footer-inner__info-phone {
    position: relative;
    padding-left: 20px;
}
.footer-inner__info-phone::before {
    content: "";
    position: absolute;
    background: url(../../media/icons/phone.svg);
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 15px;
    aspect-ratio: 1;
    filter: brightness(0) invert(100%);
}
.footer-inner__info-mail {
    position: relative;
    padding-left: 20px;
}
.footer-inner__info-mail::before {
    content: "";
    position: absolute;
    background: url(../../media/icons/mail.svg);
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 15px;
    aspect-ratio: 1;
    filter: brightness(0) invert(100%);
}
.footer-inner__info svg path {
    fill: var(--color-light);
}
@media (max-width: 767px) {
    .footer-inner__info {
        border-bottom: 1px solid var(--color-light);
    }
}
@media (max-width: 767px) {
    .footer-inner {
        flex-direction: column;
        row-gap: 50px;
        align-items: center;
    }
}

.filter__nav {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    padding-block: 5px;
}
@media (max-width: 767px) {
    .filter__nav {
        display: flex;
    }
}
.filter__nav-list {
    display: flex;
    flex-direction: column;
    align-items: start;
    row-gap: 20px;
}
@media (max-width: 1023px) {
    .filter__nav-list {
        display: grid;
        justify-items: start;
        align-items: center;
        -moz-column-gap: 20px;
        column-gap: 20px;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        row-gap: 15px;
    }
}
@media (max-width: 480px) {
    .filter__nav-list {
        grid-template-columns: repeat(1, 1fr);
    }
}
.filter__nav-item {
    display: inline-block;
    position: relative;
    transition-duration: var(--transition-duration);
}
@media (hover: hover) {
    .filter__nav-item:hover::after {
        width: 100%;
    }
}
@media (hover: none) {
    .filter__nav-item:active::after {
        width: 100%;
    }
}
.filter__nav-item::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    translate: -50%;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition-duration: inherit;
}
.filter__nav-label {
    display: flex;
    align-items: center;
    justify-content: center;
    -moz-column-gap: 5px;
    column-gap: 5px;
}
.filter__nav-input:not(:checked) + .filter__nav-checkbox::after {
    opacity: 0;
}
.filter__nav-checkbox {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 14px;
    aspect-ratio: 1;
    border: 1px solid var(--color-accent);
    position: relative;
}
.filter__nav-checkbox::after {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 50%;
    aspect-ratio: 1;
    content: "";
    background-color: var(--color-accent);
    border-radius: inherit;
    transition-duration: var(--transition-duration);
}

.filter__reset-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background-color: transparent;
    border: 2px solid var(--color-accent);
    border-radius: var(--border-radius);
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media (hover: hover) {
    .filter__reset-btn:hover {
        background: linear-gradient(225deg, #1a5877, #31a4dd);
        color: var(--color-light);
    }
}
@media (hover: none) {
    .filter__reset-btn:active {
        background: linear-gradient(225deg, #1a5877, #31a4dd);
        color: var(--color-light);
    }
}
.products-list {
    display: flex;
    align-items: flex-start;
    padding-block: 60px;
    -moz-column-gap: 30px;
    column-gap: 30px;
}
.products-list__filter {
    position: sticky;
    top: 20px;
    width: 350px;
    padding: 5px;
    border: 1px solid var(--color-accent);
    border-radius: 5px;
}
@media (max-width: 1023px) {
    .products-list__filter {
        position: static;
        width: 100%;
    }
}
.products-list__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 45px;
    margin-inline: auto;
}
@media (max-width: 1280px) {
    .products-list__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .products-list__wrapper {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1023px) {
    .products-list {
        flex-direction: column;
        padding-block: 30px;
        row-gap: 20px;
    }
}
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    row-gap: 15px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    border: 5px solid transparent;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 10px;
    max-width: 300px;
    width: 100%;
    height: 400px;
}
@media (max-width: 767px) {
    .card {
        justify-content: center;
        max-width: 250px;
        height: 330px;
    }
}
.card__title {
    font-weight: 400;
}
.card__img {
    transition: transform 0.2s ease;
}
.card__img-zoomed {
    transform: scale(1.15);
}
.card__button {
    background-color: transparent;
    border: 1px solid var(--color-accent);
    border-radius: var(--border-radius);
    padding: 5px 10px;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media (hover: hover) {
    .card__button:hover {
        background: linear-gradient(225deg, #1a5877, #31a4dd);
        color: var(--color-light);
    }
}
@media (hover: none) {
    .card__button:active {
        background: linear-gradient(225deg, #1a5877, #31a4dd);
        color: var(--color-light);
    }
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10;
    overflow-y: auto;
}
.modal__body {
    position: relative;
    margin: 10px auto;
    min-height: -moz-min-content;
    min-height: min-content;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
    max-width: 1200px;
    border-radius: 8px;
    background-color: var(--color-light);
}
.modal__body-close {
    position: absolute;
    top: -3px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: var(--color-dark);
    z-index: 10;
}
.modal__body-close:hover {
    color: #ff0000;
    transition-duration: var(--transition-duration);
}
@media (max-width: 767px) {
    .modal__body {
        grid-template-columns: 1fr;
    }
}
.modal__gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    row-gap: 20px;
}
.modal__gallery-main-image {
    width: 100%;
    max-height: 400px;
    -o-object-fit: contain;
    object-fit: contain;
    border-radius: 4px;
}
.modal__gallery-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    -moz-column-gap: 15px;
    column-gap: 15px;
}
.modal__gallery-button {
    background-color: var(--color-light);
    border: 1px solid var(--color-dark);
    border-radius: 5px;
}
.modal__gallery-button:hover {
    color: var(--color-light);
    background-color: var(--color-accent);
}
.modal__gallery-thumbnails {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.modal__gallery-thumbnail {
    width: 40px;
    aspect-ratio: 1;
    -o-object-fit: contain;
    object-fit: contain;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
}
.modal__gallery-thumbnail.active {
    border-color: var(--color-accent);
    transition-duration: var(--transition-duration);
}
.modal__info {
    display: flex;
    align-items: start;
    flex-direction: column;
    row-gap: 20px;
}
.modal__info-list {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}
@media (max-width: 480px) {
    .modal__info {
        row-gap: 10px;
    }
}
