
/* Large / 4K desktop — hero slider proportions
   Avoid CSS min() — Smart TV browsers often drop the whole declaration. */
@media (min-width: 1600px) {
  .header-slider {
    width: 100%;
  }

  .header-slider__content {
    max-width: 920px;
  }

  .header-slider__title {
    font-size: 60px;
    line-height: 1;
    margin-bottom: 22px;
  }

  .header-slider__text {
    max-width: 500px;
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 40px;
  }

  .header-slider__button {
    min-width: 230px;
    min-height: 58px;
    font-size: 18px;
  }

  .header-slider__arrow {
    width: 56px;
    height: 56px;
  }

  .header-slider__pagination {
    bottom: 64px;
  }

  .header-slider__media {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .header-slider__video,
  .header-slider__image {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

/* MacBook 16" / ~3456×2234 (логічна ширина ~1728px) */
@media (min-width: 1728px) {
  .header-slider__content {
    max-width: 960px;
  }

  .header-slider__title {
    font-size: 62px;
    line-height: 0.98;
    margin-bottom: 24px;
  }

  .header-slider__text {
    max-width: 540px;
    font-size: 25px;
    line-height: 1.3;
    margin-bottom: 38px;
  }

  .header-slider__buttons {
    gap: 17px;
  }
}

@media (min-width: 1920px) {
  .header-slider,
  .header-slider__track {
    width: 100%;
    height: 100vh;
    max-height: 1080px;
    min-height: 900px;
  }

  .header-slider__slide {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .header-slider__container {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    padding-top: 102px;
    padding-bottom: 120px;
  }

  .header-slider__content {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }

  .header-slider__title {
    font-size: 64px;
    line-height: 0.98;
  }

  .header-slider__text {
    max-width: 560px;
    font-size: 26px;
    line-height: 1.3;
  }

  .header-slider__buttons {
    gap: 18px;
  }

  .header-slider__button {
    min-width: 240px;
    min-height: 60px;
    padding: 18px 32px;
    font-size: 19px;
  }

  .header-slider__pagination {
    bottom: 72px;
    gap: 14px;
  }

  .header-slider__dot {
    width: 12px;
    height: 12px;
  }
}

@media (min-width: 2560px) {
  .header-slider,
  .header-slider__track {
    height: 100vh;
    max-height: 1200px;
    min-height: 1000px;
  }

  .header-slider__container {
    padding-bottom: 132px;
  }

  .header-slider__content {
    max-width: 1100px;
  }

  .header-slider__title {
    font-size: 72px;
    margin-bottom: 28px;
  }

  .header-slider__text {
    max-width: 620px;
    font-size: 30px;
    line-height: 1.28;
    margin-bottom: 44px;
  }

  .header-slider__button {
    min-width: 260px;
    min-height: 64px;
    font-size: 20px;
  }

  .header-slider__arrow {
    width: 64px;
    height: 64px;
  }

  .header-slider__arrow--prev {
    left: 48px;
  }

  .header-slider__arrow--next {
    right: 48px;
  }

  .header-slider__pagination {
    bottom: 80px;
  }
}

/* 4K / native ~3456px+ width */
@media (min-width: 3440px) {
  .header-slider,
  .header-slider__track {
    max-height: 1320px;
    min-height: 1080px;
  }

  .header-slider__content {
    max-width: 1200px;
  }

  .header-slider__title {
    font-size: 78px;
    margin-bottom: 30px;
  }

  .header-slider__text {
    max-width: 680px;
    font-size: 32px;
    line-height: 1.28;
    margin-bottom: 48px;
  }

  .header-slider__button {
    min-width: 280px;
    min-height: 68px;
    font-size: 21px;
  }
}

@media (max-width: 767px) {
  .header__test-banner-text {
    font-size: 11px;
    padding: 0 8px;
  }
}

@media (max-width: 1365px) {
  .header__menu {
    gap: 36px;
  }

  .header__topbar-left,
  .header__topbar-right {
    gap: 14px;
  }
}

@media (max-width: 1199px) {
  .header__topbar-container {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .header__topbar-left,
  .header__topbar-right {
    justify-content: center;
    flex-wrap: wrap;
  }

  .header__topbar {
    min-height: auto;
  }

  .header__menu {
    gap: 28px;
  }

  .header__menu-link {
    font-size: 14px;
    padding: 10px 18px;
  }

  .header-slider__video {
    object-position: center top;
  }
}

@media (max-width: 1100px) {
  .header__topbar-label,  .header__topbar-text,
  .header__topbar-link:nth-child(2),
  .header__topbar-link:nth-child(3),
  .header__topbar-button {
    display: none;
  }
}

@media (max-width: 799px) {
  .header__menu {
    display: none;
  }

  .header__burger {
    display: inline-block;
  }
}

@media (max-width: 991px) {
  .header__action--desktop {
    display: none;
  }

  .header__nav {
    min-height: 68px;
  }

  .header__nav-container {
    min-height: 68px;
  }

  .header-slider__container {
    padding-top: 68px;
    padding-bottom: 96px;
  }

  .header-slider__arrow {
    display: none;
  }

  .header-slider__video,
  .header-slider__image {
    object-position: 56% center;
  }

  .header__brands-container {
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .header__brands {
    min-height: auto;
  }
  
  .header__menu {
    display: none;
  }
  .header__burger {
    display: inline-block;
  }
}

@media (max-width: 767px) {
  :root {
    --container-padding: 16px;
  }

  .header__topbar-container {
    gap: 8px;
  }

  .header__topbar-left,
  .header__topbar-right {
    gap: 8px 12px;
  }

  .header__topbar-link,
  .header__topbar-label,
  .header__topbar-text {
    font-size: 15px;
    white-space: normal;
    text-align: center;
  }

  .header__logo {
    font-size: 20px;
  }

  .header-slider {
    min-height: 760px;
  }

  .header-slider__track {
    min-height: 760px;
  }

  .header-slider__container {
    min-height: calc(760px - var(--brands-height));
    padding-top: 118px;
    padding-bottom: 110px;
  }

  .header-slider__content {
    max-width: 420px;
  }

  .header-slider__text {
    max-width: 340px;
    margin-bottom: 28px;
  }

  .header-slider__buttons {
    flex-direction: column;
    gap: 12px;
  }

  .header-slider__button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    font-size: 16px;
  }

  .header-slider__pagination {
    bottom: 76px;
  }

  .header-slider__video,
  .header-slider__image {
    object-position: 60% center;
  }

  .header__brands-text,
  .header__brands-link {
    font-size: 16px;
    line-height: 20px;
  }
}

@media (max-width: 575px) {

  .header__topbar-top {
    font-size: 18px;
    flex-direction: column;
  }

  .header-slider {
    min-height: 680px;
  }

  .header-slider__track {
    min-height: 680px;
  }

  .header-slider__container {
    min-height: calc(680px - var(--brands-height));
    padding-top: 106px;
    padding-bottom: 104px;
  }

  .header-slider__title {
    line-height: 1.04;
  }

  .header-slider__video,
  .header-slider__image {
    object-position: 62% center;
  }

  .mobile-menu__link-text {
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .header__logo {
    font-size: 18px;
  }

  .header-slider__content {
    max-width: 300px;
  }

  .header-slider__video,
  .header-slider__image {
    object-position: 64% center;
  }

  .mobile-menu__panel {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (min-width: 992px) {
  .header-slider__title {
    font-family: "Inter", sans-serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 55px;
    letter-spacing: -0.02em;
  }

  .header-slider__text {
    font-size: 24px;
    line-height: 29.76px;
  }

  .header__brands-text,
  .header__brands-link {
    font-size: 20px;
    line-height: 24px;
  }
}

/* Header section end */


/* Second section start */
@media (max-width: 1024px) {
  .slider-controls__progress.swiper-pagination-progressbar { max-width: 70%; }
}

@media (max-width: 768px) {
  .tabs { gap: 20px; }
  .tabs__btn { font-size: 18px; }

  .products {
    padding: 32px 0 40px;
  }

  .page-home .products .tabs__btn {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .slider-controls__progress.swiper-pagination-progressbar { max-width: 60%; }
}
/* Second section end */


/* Third section start */
@media (min-width: 992px) {
    .about-section {
        padding: 100px 0;
    }

    .about-section__header {
        flex-direction: row;
        align-items: baseline;
    }

    .about-section__label-wrapper {
        flex: 0 0 30%; 
    }

    .about-section__title-wrapper {
        flex: 0 0 50%;
    }

    .about-section__title {
        font-size: 32px;
        max-width: 800px;
    }

    .about-section__media:not(.about-section__media--video) {
        height: 550px;
    }

    .about-section__play-button {
        width: 80px;
        height: 80px;
    }

    .about-section__footer {
        flex-direction: row;
        align-items: flex-start;
    }

    .about-section__button-wrapper {
        flex: 0 0 30%;
    }

    .about-section__content-wrapper {
        flex: 0 0 70%;
        display: flex;
        gap: 30px;
    }

    .about-section__text-column {
        flex: 1;
    }

    .about-section__btn {
        width: auto;
        padding: 12px 60px;
        margin-top: 0;
        order: 0;
    }
    
    .about-section__text {
        margin-bottom: 0;
    }
}

@media (max-width: 991px) {
    .about-section__header {
        margin-bottom: 24px;
    }

    .about-section__media:not(.about-section__media--video) {
        height: auto;
        margin-bottom: 20px;
    }

    .about-section__media:not(.about-section__media--video) {
        height: 280px;
    }

    .about-section__footer {
        padding-top: 0;
        padding-bottom: 30px;
    }
}
/* Third section end */


/* Fourth section start */
@media (max-width: 768px) {
    .catalog-board__tabs {
        justify-content: flex-start;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        padding-bottom: 10px;
        padding-inline: 2px;
        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .catalog-board__tabs::-webkit-scrollbar {
        display: none;
    }

    .catalog-board__tab {
        flex-shrink: 0;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    .catalog-board__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-board__controls {
        flex-direction: column;
        max-width: 100%;
        gap: 20px;
    }

    .catalog-board__nav {
        width: 100%;
        justify-content: space-between;
    }
    
    .catalog-board__arrow {
        width: 48% !important;
        padding: 10px;
        border: 1px solid var(--cb-border);
        border-radius: 30px;
    }
}
/* Fourth section end */


/* Fiveth section start */
@media (min-width: 992px) {
    .seminars__header {
        margin-bottom: 60px;
    }

    .seminars__title {
        max-width: 528px;
    }

    .seminars__intro--mobile {
        display: none !important;
    }

    .seminars__intro--desktop {
        display: block;
        width: 100%;
        max-width: 749px;
        margin: 0;
        font-family: "Museo Cyrl", serif;
        font-size: 24px;
        font-weight: 300;
        line-height: 1.45;
        font-style: italic;
        color: #1d1e2b;
    }

    .seminars__slider {
        margin-bottom: 60px;
    }

    .seminars__slider.swiper,
    .seminars__slider .swiper-wrapper {
        align-items: stretch !important;
    }

    .seminars__slider .swiper-wrapper {
        align-items: stretch;
    }

    .seminars__slider .swiper-slide,
    .seminars__slider .seminar-card-slide {
        align-self: stretch !important;
        height: 630px !important;
        min-height: 630px !important;
        justify-content: flex-start !important;
    }

    .seminars__slider .seminar-card-slide--template-1 {
        width: 528px !important;
    }

    .seminars__slider .seminar-card-slide--template-1 .seminar-card {
        width: 528px;
        height: 630px;
        max-width: 100%;
        margin-top: auto;
    }

    .seminars__slider .seminar-card-slide--template-2 {
        width: 749px !important;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .seminars__slider .seminar-card-slide--template-2 .seminars__intro--desktop {
        flex: 0 0 auto;
        margin-bottom: 0;
    }

    .seminars__slider .seminar-card-slide--template-2 .seminar-card {
        width: 749px;
        height: 453px;
        max-width: 100%;
        margin-top: auto;
    }

    .seminars__footer {
        display: flex;
        align-items: center;
        gap: 24px;
        width: 100%;
        max-width: calc(528px + 32px + 749px);
    }

    .seminars__btn {
        flex: 0 0 auto;
        justify-self: auto;
        grid-column: auto;
    }

    .seminars__controls {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        gap: 32px;
        min-width: 0;
        max-width: none;
        width: auto;
        grid-column: auto;
    }

    .swiper-pagination.seminars__pagination.swiper-pagination-progressbar {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        width: auto;
    }
}

@media (max-width: 991px) {
    .seminars {
        padding: 36px 16px 44px;
        overflow: visible;
    }

    .seminars__container {
        padding-left: 0;
        padding-right: 0;
    }

    .seminars__header {
        display: block;
        text-align: center;
        margin-bottom: 24px;
    }

    .seminars__title {
        font-size: 28px;
        line-height: 1.2;
        text-align: center;
        margin: 0 auto;
        max-width: 302px;
    }

    .seminars__intro--mobile {
        display: block;
    }

    .seminars__intro--desktop {
        display: none !important;
    }

    .seminars__intro {
        display: block;
        margin-top: 16px;
        font-family: "Museo Cyrl", serif;
        font-size: 17px;
        font-weight: 300;
        line-height: 1.45;
        font-style: italic;
        text-align: center;
        color: #1d1e2b;
    }

    .seminars__slider {
        overflow: visible;
        margin-bottom: 28px;
    }

    .seminars__slider.seminars__slider--list .swiper-wrapper,
    .seminars__slider.swiper-initialized .swiper-wrapper {
        transform: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
        align-items: stretch;
    }

    .seminars--list-mode .seminars__controls {
        display: none !important;
    }

    .seminars--list-mode .seminars__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .seminars__slider .swiper-slide,
    .seminars__slider .seminar-card-slide {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }

    .seminar-card-slide--template-2 {
        width: 100%;
    }

    .seminar-card-slide--template-1 .seminar-card,
    .seminar-card-slide--template-2 .seminar-card {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
    }

    .seminar-card-slide--template-1 .seminar-card,
    .seminar-card--planned {
        height: 480px;
    }

    .seminar-card-slide--template-2 .seminar-card,
    .seminar-card--completed {
        height: 430px;
    }

    .seminar-card {
        border-radius: 32px;
        padding: 16px;
    }

    .seminar-card__content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 24px;
        margin-top: auto;
        padding: 20px;
        gap: 12px;
        min-height: 0;
        justify-content: flex-start;
    }

    .seminar-card__name {
        color: #1d1e2b;
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 28.8px;
        letter-spacing: 0;
        display: block;
        width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .seminar-card__tags,
    .seminar-card-slide--template-1 .seminar-card__tags,
    .seminar-card-slide--template-2 .seminar-card__tags {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
    }

    .seminar-card-slide--template-2 .seminar-card__tags {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .seminar-card-slide--template-1 .seminar-card__tag--outline,
    .seminar-card-slide--template-2 .seminar-card__tag--outline,
    .seminar-card__tag--outline {
        order: 1;
        background: transparent;
        border: 1px solid #1e1e2b;
        color: #1e1e2b;
        padding: 6px 14px;
        border-radius: 999px;
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 13px;
        font-weight: 400;
        margin-left: 0;
        white-space: normal;
        max-width: 100%;
        align-self: flex-start;
    }

    .seminar-card-slide--template-2 .seminar-card__tag--outline {
        order: 2;
        margin-left: auto;
        align-self: center;
        white-space: nowrap;
    }

    .seminar-card-slide--template-1 .seminar-card__tag--fill,
    .seminar-card-slide--template-2 .seminar-card__tag--fill,
    .seminar-card__tag--fill {
        order: 2;
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        background: transparent;
        color: #9195ad;
        padding: 0;
        border-radius: 0;
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.45;
        white-space: normal;
    }

    .seminar-card-slide--template-2 .seminar-card__tag--fill {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
    }

    .seminar-card__badge {
        background: #fff;
        color: #111;
        font-size: 13px;
        font-weight: 500;
        padding: 8px 16px;
        border-radius: 30px;
    }

    .seminar-card__btn-go {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .seminar-card--planned .seminar-card__btn-go {
        border: 1px solid #1e1e2b;
        background: #fff;
        color: #1e1e2b;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .seminar-card--completed .seminar-card__btn-go {
        border: 1px solid rgba(255, 255, 255, 0.92);
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .seminar-card--completed .seminar-card__btn-go img {
        filter: brightness(0) invert(1);
    }

    .seminars__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin-top: 4px;
    }

    .seminars__btn {
        width: 100%;
        min-height: 48px;
        padding: 14px 24px;
        border-radius: 999px;
        font-size: 15px;
    }

    .seminars__controls {
        flex-direction: column;
        max-width: 100%;
        gap: 16px;
        width: 100%;
    }

    .swiper-pagination.seminars__pagination.swiper-pagination-progressbar {
        width: 100%;
        height: 2px;
    }

    .seminars__nav {
        display: flex;
        gap: 12px;
        width: 100%;
    }

    .seminars__arrow {
        flex: 1;
        min-height: 50px;
        border: 1px solid #e0e0e0;
        border-radius: 40px;
        color: #111;
    }

    .seminars__arrow img {
        width: 22px;
        height: auto;
    }
}

@media (max-width: 991px) {
    .seminars-page__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Fiveth section end */



/* Sixth section start */
@media (max-width: 767px) {
    .access-section__title {
        font-size: 28px;
    }

    .access-section__subtitle {
        font-size: 24px;
    }

    .access-section__item {
        font-size: 18px;
    }

    .access-section__button {
        width: 100%;
        min-height: 52px;
        font-size: 18px;
        padding: 10px 24px;
    }
}

@media (max-width: 991px) {
    .access-section--home,
    .access-section--catalog {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .access-section--home > .container,
    .access-section--catalog > .container,
    .access-section--home .access-section__container,
    .access-section--catalog .access-section__container {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .access-section--catalog > .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .access-section__image-wrapper {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border: 0;
    }

    .access-section--home .access-section__container,
    .access-section--catalog .access-section__container {
        flex-direction: column;
        border-radius: 0;
        overflow: hidden;
    }

    .access-section--home .access-section__content,
    .access-section--catalog .access-section__content {
        padding: 40px 20px;
        order: 1;
    }

    .access-section--home .access-section__image-wrapper {
        width: 100%;
        order: 2;
        height: 420px;
        min-height: 420px;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        line-height: 0;
        position: relative;
        overflow: hidden;
    }

    .access-section--catalog .access-section__image-wrapper {
        width: 100vw;
        order: 2;
        height: 420px;
        min-height: 420px;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-bottom: 0;
        line-height: 0;
        position: relative;
        overflow: hidden;
        border-radius: 24px;
    }

    .access-section--home .access-section__image,
    .access-section--catalog .access-section__image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center bottom;
        border-radius: 24px;
    }

    .access-section--home .access-section__button,
    .access-section--catalog .access-section__button {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .access-section--home + .footer,
    .access-section--catalog + .footer,
    .page-template-page-catalog .site-main + .footer {
        margin-top: 0 !important;
    }

    .page-template-page-catalog .site-main {
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .access-section:not(.access-section--home) > .container {
        padding-right: 0;
    }
}

@media (min-width: 992px) {
    .access-section__container {
        flex-direction: row; 
        align-items: stretch;
    }

    .access-section__content {
        width: 55%;
        padding: 50px 40px 50px 0px;
    }

    .access-section__image-wrapper {
        width: 45%;
        height: auto; 
    }

    .access-section__title {
        font-size: clamp(40px, 4vw, 48px);
    }

    .access-section--home .access-section__container {
        flex-direction: row;
    }

    .access-section--home .access-section__content {
        width: auto;
        padding: 60px;
    }

    .access-section--home .access-section__image-wrapper {
        width: auto;
        flex: 1;
        min-height: 654px;
        align-self: stretch;
    }

    .access-section__button,
    .access-section--home .access-section__button,
    .access-section--catalog .access-section__button {
        width: auto;
        min-width: 320px;
        max-width: 370px;
        padding: 10px 75px;
    }
}

@media (min-width: 1200px) {
    .access-section--home > .container {
        max-width: 1400px;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .access-section--home .access-section__container {
        width: 100%;
    }
}
/* Sixth section end */


/* Seventh section start */
@media (max-width: 768px) {
  .reviews__header {
      flex-direction: column;
      gap: 16px;
      margin-bottom: 30px;
  }
  
  .reviews__title {
      font-size: 26px;
  }

  .review-card {
      padding: 24px;
  }

  .review-card__video-el--local {
      max-height: 220px;
  }

  .reviews__slider .swiper-wrapper {
      align-items: flex-start;
  }

  .reviews__slide {
      height: auto !important;
      align-self: flex-start;
  }

  .reviews__footer {
      flex-direction: column;
      gap: 30px;
      align-items: stretch; 
  }

  .reviews__progress-wrapper {
      max-width: 100%;
  }

  .reviews__nav {
      justify-content: space-between;
      gap: 16px;
  }

  .reviews__arrow {
      flex: 1; 
      border: 1px solid #E0E0E0; 
      border-radius: 40px;
      height: 50px;
  }
}
/* Seventh section end */

/* Eighth section start */
@media (max-width: 768px) {
  .brand-life__header {
    flex-direction: column;
    gap: 16px;
  }

  .brand-life__subtitle {
    text-align: left;
    max-width: 100%;
  }
  
  .brand-life__group {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .brand-life__item:nth-child(1) {
    grid-column: 1 / 2;
  }
  .brand-life__item:nth-child(2) {
    grid-column: 2 / 3;
    margin-top: 40px; 
  }

  .brand-life__item:nth-child(3) {
    grid-column: 1 / 2;
    margin-top: 8px; 
  }

  .brand-life__item:nth-child(3) .brand-life__image-wrap {
    aspect-ratio: 3 / 5.5;
  }

  .brand-life__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 24px;
  }

  .brand-life__progress-wrapper {
    order: 1;
    max-width: 100%;
    margin-bottom: 0;
  }

  .brand-life__nav {
    order: 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .brand-life__pagination {
    justify-self: center;
    font-size: 20px;
  }

  .brand-life__arrow--prev {
    justify-self: start;
  }

  .brand-life__arrow--next {
    justify-self: end;
  }

  .brand-life__socials {
    order: 3;
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 4px;
  }

  .brand-life__btn {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 14px 16px;
    font-size: 13px;
  }

  .brand-life__arrow {
    width: 100%;
    border: 1px solid #E0E0E0;
    border-radius: 40px;
  }
}
/* Eighth section end */

/* Nineth section start  */
@media (max-width: 767px) {
    .blog {
        padding: 36px 16px 44px;
    }

    .blog > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .blog__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 28px;
    }

    .blog__title {
        font-size: 28px;
        font-weight: 500;
        line-height: 1.15;
        margin: 0;
    }

    .blog__desc {
        font-family: "Museo Cyrl", serif;
        font-size: 17px;
        font-weight: 300;
        font-style: italic;
        line-height: 1.45;
        text-align: left;
        margin: 0;
        max-width: 100%;
        color: #1d1e2b;
    }

    .blog__grid {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }
    .blog__batches {
        gap: 28px;
    }


    .blog__column {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .blog__column--right {
        height: auto;
    }

    .blog-card,
    .blog-card--small,
    .blog-card--large {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
        min-height: 0;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        overflow: visible;
        gap: 0;
    }

    .blog-card__image,
    .blog-card__top {
        grid-column: 1;
        grid-row: 1;
    }

    .blog-card__image {
        position: relative;
        width: 100%;
        height: 220px;
        border-radius: 20px;
        object-fit: cover;
        z-index: 0;
    }

    .blog-card--large .blog-card__image {
        height: 360px;
        object-position: center bottom;
    }

    .blog-card__top {
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        min-height: 220px;
        padding: 14px;
        box-sizing: border-box;
        pointer-events: none;
    }

    .blog-card--large .blog-card__top {
        min-height: 360px;
    }

    .blog-card__tag {
        pointer-events: auto;
        background: #fff;
        border: 1px solid #1a1a1a;
        border-radius: 999px;
        font-size: 13px;
        padding: 6px 14px;
        color: #1a1a1a;
    }

    .blog-card__actions {
        pointer-events: auto;
        margin-top: auto;
    }

    .blog-card__btn {
        width: 40px;
        height: 40px;
        border: 1px solid #1a1a1a;
        background: transparent;
        color: #1a1a1a;
    }

    .blog-card__bottom {
        grid-column: 1;
        grid-row: 2;
        margin-top: 12px;
        padding: 0;
        max-width: 100%;
        background: transparent;
        border-radius: 0;
        align-self: stretch;
    }

    .blog-card__title,
    .blog-card__title--large {
        font-size: 18px;
        line-height: 1.3;
        color: #1a1a1a;
        max-width: 100%;
    }

    .blog-card__title-main {
        display: block;
        font-weight: 700;
    }

    .blog-card__title-sub {
        display: block;
        margin-top: 4px;
        font-weight: 400;
    }

    .blog__footer {
        margin-top: 28px;
    }

    .blog__read-more {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 14px 24px;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 500;
        background: #fff;
        box-sizing: border-box;
    }
}

@media (min-width: 768px) {
    .blog__column--right {
        height: calc(365px + 20px + 365px);
    }

    .blog-card--large {
        flex: 1;
        height: 100%;
        min-height: 0;
        box-sizing: border-box;
    }

    .blog-card--large .blog-card__image {
        flex: 1 1 0;
        min-height: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .blog__desc {
        flex-basis: 48%;
    }
}
/* Nineth section end  */


/* Tenth section start */
@media (max-width: 992px) {
  .find-specialist__container {
    flex-direction: column;
    border-radius: 0; 
  }

  .find-specialist__content {
    padding: 40px 20px;
    order: 1;
  }

  .find-specialist__image-wrapper {
    order: 2;
    min-height: 400px;
  }

  .find-specialist__image {
    border-radius: 0; 
  }

  .find-specialist__title {
    font-size: 32px;
  }

  .find-specialist__button {
    width: 100%; 
    text-align: center;
  }
}

@media (max-width: 480px) {
  .find-specialist {
    padding: 0;
  }
  
  .find-specialist__title {
    font-size: 28px;
  }
}
/* Tenth section end */

/* Specialist modal start */
@media (max-width: 768px) {
  .specialist-modal {
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
  }

  .specialist-modal__overlay {
    background: rgba(31, 34, 48, 0.72);
  }

  .specialist-modal__card {
    width: 100%;
    max-width: 100%;
    padding: 40px 28px 36px;
    border-radius: 0;
  }

  .specialist-modal__close {
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
  }

  .specialist-modal__title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    text-align: left;
  }

  .specialist-modal__subtitle {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: #1f2230;
    text-align: left;
  }

  .specialist-modal__form {
    margin-top: 28px;
  }

  .specialist-modal__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .specialist-modal__field {
    width: 100%;
  }

  .specialist-modal__field--full {
    margin-top: 24px;
  }

  .specialist-modal__input {
    font-size: 14px;
    padding: 8px 0;
    border-bottom-width: 1px;
  }

  .specialist-modal__input::placeholder {
    color: #a0a6ba;
  }

  .specialist-modal__phone-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #d1d5db;
  }

  .specialist-modal__phone-prefix {
    display: inline-block;
    flex-shrink: 0;
    font-size: 14px;
    color: #1f2230;
    padding: 8px 4px 8px 0;
  }

  .specialist-modal__input--phone {
    flex: 1;
    min-width: 0;
    border: none;
    padding-left: 0;
  }

  .specialist-modal__actions {
    margin-top: 40px;
    justify-content: stretch;
    width: 100%;
  }

  .specialist-modal__submit {
    width: 100%;
    min-width: 0;
    height: 48px;
    border-radius: 999px;
    background: #66e0e5;
    color: #1f2230;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .specialist-modal__card--thanks {
    width: 100%;
    max-width: 100%;
    min-height: 520px;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .specialist-modal__thanks-grid {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100%;
  }

  .specialist-modal__thanks-text {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 52px 28px 28px;
  }

  .specialist-modal__thanks-text .specialist-modal__title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .specialist-modal__thanks-text .specialist-modal__subtitle {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.45;
    color: #1f2230;
  }

  .specialist-modal__thanks-image {
    flex: 1 1 50%;
    min-height: 250px;
    height: auto;
    width: 100%;
  }

  .specialist-modal__thanks-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}
/* Specialist modal end */

/* Eleventh section start */
@media (max-width: 768px) {
  .faq {
    padding: 60px 16px;
  }

  .faq__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .faq__title {
    font-size: 32px;
    line-height: 1.4;
  }

  .faq__subtitle {
    font-size: 18px;
    line-height: 1.4;
    text-align: left;
    max-width: none;
  }

  .faq__question {
    font-size: 20px;
    line-height: 1.25;
  }

  .faq__answer {
    font-size: 16px;
  }
}
/* Eleventh section end */


/* Twelfth section start */
@media (max-width: 768px) {
  .contacts {
    padding: 60px 0 80px;
  }

  .contacts__title {
    font-size: 32px;
    margin-bottom: 48px;
  }

  .contacts__phones {
    margin-bottom: 32px;
  }

  .contacts__phones .contacts__link {
    font-size: 32px;
    line-height: 39px;
  }

  .contacts__details {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .contacts__link--email {
    font-size: 24px;
    line-height: 28.8px;
  }

  .contacts__address {
    margin-left: 0;
    font-size: 20px;
    line-height: 24px;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .contacts__phones .contacts__link {
    font-size: 28px;
    line-height: 34px;
  }
}

@media (min-width: 992px) {
  .contacts {
    padding: 120px 0 132px;
  }

  .contacts__title {
    margin-bottom: 131px;
  }

  .contacts__phones {
    gap: 10px;
    margin-bottom: 46px;
  }

  .contacts__phones .contacts__link {
    font-size: 40px;
    line-height: 47px;
    white-space: nowrap;
  }

  .contacts__details {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
  }

  .contacts__link--email {
    white-space: nowrap;
  }

  .contacts__address {
    flex-shrink: 0;
    margin-left: auto;
    padding-top: 0;
    text-align: right;
  }
}

/* Twelfth section end */


/*--------- Home page styles end-------------- */

/*--------- Catalog page styles start -------- */


@media (max-width: 991px) {
    .catalog-page__filter-topbar-wrap {
        display: block;
    }

    .catalog-page__filter-topbar-wrap .container {
        max-width: 100%;
        padding: 0 16px;
    }

    body.catalog-filter-open {
        overflow: hidden;
    }

    .catalog-page__filter-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 14px 0;
    }

    .catalog-page__filter-top-label {
        display: none;
    }

    .catalog-page__filter-top-item--clear {
        display: none;
    }

    .catalog-page__filter-top-item--sort {
        display: inline-flex;
        align-self: center;
        align-items: center;
        margin-left: auto;
        margin-right: 8px;
    }

    .catalog-page__sort-dropdown {
        align-items: flex-end;
    }

    .catalog-page__sort-trigger-label {
        display: inline-block;
        max-width: min(42vw, 160px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 16px;
    }

    .catalog-page__sort-menu {
        left: auto;
        right: 0;
        min-width: min(260px, calc(100vw - 32px));
        max-width: calc(100vw - 32px);
        width: max-content;
        box-sizing: border-box;
    }

    .catalog-page__sort-option {
        white-space: nowrap;
    }

    .catalog-page__filter-topbar-wrap.is-sort-open {
        overflow: visible;
    }

    .catalog-page__filter-topbar-wrap.is-sort-open .container {
        overflow: visible;
    }

    .catalog-page__container {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .catalog-page__sidebar {
        display: none;
    }

    .catalog-page__filter-toggle {
        display: inline-flex;
        align-items: center;
        border: 0;
        padding: 0;
        background: transparent;
        border-radius: 0;
        justify-self: start;
        cursor: pointer;
    }

    .catalog-page__sidebar.catalog-page__sidebar--open {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        max-height: calc(100vh - 56px);
        border-radius: 24px 24px 0 0;
        z-index: 130;
        overflow: hidden;
        padding: 18px 20px 24px;
        box-shadow: 0 -8px 32px rgba(31, 34, 55, 0.18);
        background: #fff;
        pointer-events: auto;
    }

    .catalog-page__sidebar.catalog-page__sidebar--open .catalog-filters {
        flex: 1;
        min-height: 0;
        overflow: auto;
        background: #fff;
        border-radius: 0;
        padding: 0 0 12px;
    }

    .catalog-page__sidebar.catalog-page__sidebar--open .catalog-mobile-filter {
        display: flex;
        flex: 1;
        min-height: 0;
        flex-direction: column;
    }

    .catalog-page__sidebar.catalog-page__sidebar--open .catalog-mobile-filter__list {
        flex: 1;
        min-height: 0;
        overflow: auto;
    }

    .catalog-page__sidebar.catalog-page__sidebar--open .catalog-mobile-filter__actions {
        margin-top: auto;
        padding-top: 28px;
        flex-shrink: 0;
    }

    .catalog-page__sidebar-head {
        justify-content: space-between;
        margin-bottom: 6px;
        align-items: center;
    }

    .catalog-page__mobile-back {
        display: none;
        align-items: center;
        justify-content: center;
    }

    .catalog-page__mobile-title {
        display: block;
        margin: 0;
        font-family: "Golos Text", sans-serif;
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 0.04em;
        color: var(--catalog-text, #1e1e2b);
        text-transform: uppercase;
    }

    .catalog-page__filter-close {
        display: inline-flex;
        width: 28px;
        height: 28px;
        border: 1px solid var(--catalog-border-strong, #9ea7be);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        color: var(--catalog-text-muted, #68708a);
        font-size: 14px;
        flex-shrink: 0;
        cursor: pointer;
        background: #fff;
    }

    .catalog-page__sidebar.catalog-page__sidebar--open .catalog-filter__title {
        font-size: 20px;
    }

    .catalog-page__sidebar.catalog-page__sidebar--open .catalog-filter__option {
        margin-bottom: 12px;
    }

    .catalog-mobile-filter {
        display: block;
    }

    .catalog-mobile-filter__row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 0;
        border: 0;
        border-bottom: 1px solid #e3e6ef;
        background: transparent;
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
        color: var(--catalog-text, #1e1e2b);
        cursor: pointer;
        text-align: left;
    }

    .catalog-mobile-filter__arrow {
        color: #8a8fa5;
        font-size: 20px;
        line-height: 1;
    }

    .catalog-mobile-filter__apply,
    .catalog-mobile-filter__reset {
        width: 100%;
        min-height: 48px;
        border-radius: 999px;
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
    }

    .catalog-mobile-filter__apply {
        border: 0;
        background: var(--catalog-text, #1e1e2b);
        color: #fff;
    }

    .catalog-mobile-filter__reset {
        border: 1px solid #d3d8e5;
        background: #fff;
        color: var(--catalog-text, #1e1e2b);
    }

    .catalog-page__filter-overlay[hidden] {
        display: none !important;
        pointer-events: none !important;
    }

    .catalog-page__filter-overlay.catalog-page__filter-overlay--visible {
        display: block;
        pointer-events: auto;
    }

    .catalog-page__sidebar .catalog-filter,
    .catalog-page__sidebar .catalog-filter__reset {
        display: none;
    }

    .catalog-page__sidebar.catalog-page__sidebar--mobile-details .catalog-mobile-filter {
        display: none;
    }

    .catalog-page__sidebar.catalog-page__sidebar--mobile-details .catalog-page__mobile-back {
        display: inline-flex;
    }

    .catalog-page__sidebar.catalog-page__sidebar--mobile-details .catalog-filter--mobile-active {
        display: block;
    }

    .catalog-page__sidebar.catalog-page__sidebar--mobile-details .catalog-filter__reset {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        margin-top: 14px;
    }
}

@media (max-width: 900px) {
    .catalog-page__filter-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0;
        padding: 12px 0;
        border-radius: 0;
    }

    .catalog-page__filter-topbar-wrap .container {
        padding: 0 12px;
    }

    .catalog-page__filter-top-item {
        justify-content: flex-start;
    }

    .catalog-page__filter-top-item--sort {
        margin-left: auto;
        margin-right: 10px;
        align-items: center;
    }

    .catalog-page__sort-trigger-label {
        max-width: min(42vw, 150px);
        font-size: 14px;
    }

    .catalog-page__sort-menu {
        left: auto;
        right: 0;
        min-width: min(240px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
    }

    .catalog-page__sort-trigger-icon {
        width: 20px;
        height: 20px;
    }

    .catalog-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row dense;
        grid-auto-rows: auto;
        align-items: start;
        justify-items: stretch;
        column-gap: 12px;
        row-gap: 16px;
    }

    .catalog-page__grid > .product-card {
        grid-column: auto !important;
        grid-row: auto !important;
        min-width: 0;
        width: 100%;
        height: auto;
    }

    .catalog-page__grid .product-card--large-right,
    .catalog-page__grid .product-card--large-left {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        height: auto;
        min-height: 0;
    }

    .catalog-page__grid .product-card--large-right .product-card__inner,
    .catalog-page__grid .product-card--large-left .product-card__inner {
        aspect-ratio: 4 / 5;
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
    }

    .catalog-page__toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-page__sort-label {
        justify-self: end;
        align-self: center;
    }


    .catalog-page__footer {
        flex-wrap: wrap;
    }

    .catalog-page__pagination {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .catalog-page {
        padding-bottom: 60px;
    }

    .catalog-page__container {
        padding: 0 16px;
    }

    .catalog-page__toolbar {
        grid-template-columns: 1fr;
    }

    .catalog-page__sort-label {
        justify-self: start;
    }
}


@media (max-width: 1024px) {
    .product {
        grid-template-columns: 48% 52%;
        gap: 30px;
        max-width: 900px;
        width: 100%;
    }

    .product__title {
        font-size: 26px;
    }

    .product-page__container,
    .similar-products__container,
    .recently-viewed__container,
    .breadcrumbs__container {
        max-width: 960px;
        padding: 0 16px;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

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

@media (max-width: 768px) {
    .product-page {
        overflow-x: clip;
    }

    .product {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100%;
        width: 100%;
        margin-bottom: 48px;
    }

    .product__gallery {
        order: 1;
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
        min-width: 0;
    }

    .product__slider {
        width: 100%;
        max-width: 320px;
        height: 270px;
        min-height: 270px;
        margin: 0 auto;
        border-radius: 20px;
        background: #fff;
    }

    .product__slider .swiper-wrapper {
        height: 100%;
    }

    .product__info {
        order: 2;
        min-width: 0;
        width: 100%;
    }

    .product__slide {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 18px;
        box-sizing: border-box;
        height: 100%;
        min-height: 0;
    }

    .product__thumbs {
        display: block;
        margin-top: 0;
    }

    .product__thumb {
        width: calc((100% - 24px) / 3);
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 6px;
        border-radius: 14px;
    }

    .product__image {
        margin: auto;
        max-height: 220px;
    }

    .product__title {
        font-size: 24px;
    }

    .product__wishlist {
        top: 0;
    }

    .product-tabs__header {
        gap: 20px;
        flex-wrap: wrap;
    }

    .product-tabs__tab {
        font-size: 13px;
    }

    .product__btn {
        max-width: 100%;
    }

    .product-page__container,
    .similar-products__container,
    .recently-viewed__container,
    .breadcrumbs__container {
        max-width: 100%;
        padding: 0 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .product,
    .product__info,
    .product-tabs,
    .product-tabs__content,
    .similar-products,
    .recently-viewed {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .similar-products__slider,
    .recently-viewed__slider {
        overflow: hidden;
    }

    .product__title,
    .product__description,
    .product-tabs__title,
    .product-tabs__item,
    .similar-products__title,
    .recently-viewed__title,
    .product-card__meta,
    .product-card__title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .similar-products__header,
    .recently-viewed__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .recently-viewed__nav {
        width: 100%;
        justify-content: center;
    }

    .similar-products__controls .similar-products__nav {
        width: 100%;
        justify-content: center;
    }

    .similar-products__title {
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 1.25;
        letter-spacing: -0.011em;
        color: #000000;
        text-transform: none;
    }

    .recently-viewed__title {
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 36px;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: -0.011em;
        color: #000000;
        text-transform: none;
    }

    .breadcrumbs {
        padding: 12px 0;
    }
}

@media (max-width: 580px) {
    .product-page {
        padding: 20px 0 40px;
        overflow-x: hidden;
    }

    .product__title {
        font-size: 22px;
    }

    .product__description {
        font-size: 14px;
    }

    .product-tabs__header {
        gap: 16px;
        justify-content: space-between;
    }

    .product-tabs__tab {
        padding-bottom: 12px;
        font-size: 12px;
    }

    .product-page__container,
    .similar-products__container,
    .recently-viewed__container,
    .breadcrumbs__container {
        padding: 0 8px;
        width: 100%;
        overflow-x: hidden;
    }

    .product__info,
    .product__gallery {
        max-width: 100%;
        min-width: 0;
    }

    .product__description,
    .product__title {
        max-width: 100%;
        word-break: break-word;
    }

    .recently-viewed {
        margin-top: 40px;
        margin-bottom: 40px;
        width: 100%;
    }

    .similar-products {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        width: 100%;
    }

    .similar-products__title {
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 1.25;
        letter-spacing: -0.011em;
        color: #000000;
        text-transform: none;
    }

    .recently-viewed__title {
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 36px;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: -0.011em;
        color: #000000;
        text-transform: none;
    }

    .recently-viewed__pagination {
        font-size: 20px;
    }

    .product-page .similar-products__controls .similar-products__btn,
    .product-page .recently-viewed__controls .recently-viewed__btn {
        width: auto;
        height: 52px;
    }

    .similar-products__btn svg,
    .recently-viewed__btn svg {
        width: 14px;
        height: 14px;
    }

    .product__slider {
        max-width: 290px;
        height: 240px;
        min-height: 240px;
        border-radius: 20px;
    }

    .product__slider .swiper-wrapper {
        height: 100%;
    }

    .product__slide {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px;
        box-sizing: border-box;
        height: 100%;
        min-height: 0;
    }

    .product__gallery {
        max-width: 290px;
    }

    .product__image {
        margin: auto;
        max-height: 210px;
    }

    .product__thumb {
        padding: 5px;
        border-radius: 12px;
    }

    .product__quantity-btn {
        width: 36px;
        height: 36px;
    }

    .product__quantity-input {
        width: 40px;
        height: 36px;
        font-size: 14px;
    }

    .product__btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .breadcrumbs {
        padding: 8px 0;
    }

    .breadcrumbs__link,
    .breadcrumbs__current {
        font-size: 12px;
    }

    .cart-drawer {
        justify-content: flex-end;
    }

    .cart-drawer__panel {
        width: 100%;
        max-width: 100%;
        padding: 20px 18px 24px;
        box-shadow: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cart-drawer__header {
        margin-bottom: 18px;
    }

    .cart-drawer__title {
        display: none;
    }

    .cart-drawer__count {
        display: none;
    }

    .cart-drawer__tabs {
        gap: 20px;
        margin-bottom: 22px;
        padding-right: 28px;
    }

    .cart-drawer__tab {
        font-size: 14px;
        line-height: 1.2;
    }

    .cart-drawer__message {
        display: none;
    }

    .cart-drawer__item {
        grid-template-columns: 98px minmax(0, 1fr);
        gap: 14px;
        padding: 14px 0 20px;
        border-top: 0;
    }

    .cart-drawer__item-media {
        width: 98px;
        height: 98px;
        border: 1px solid #e2e5ee;
        border-radius: 18px;
    }

    .cart-drawer__item-top,
    .cart-drawer__item-bottom {
        display: block;
    }

    .cart-drawer__item-title {
        font-size: 16px;
        line-height: 1.4;
    }

    .cart-drawer__item-code {
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .cart-drawer__item-price {
        font-size: 16px;
        font-weight: 700;
    }

    .cart-drawer__item-bottom {
        margin-top: 18px;
    }

    .cart-drawer__quantity {
        margin-bottom: 16px;
    }

    .cart-drawer__quantity-btn {
        width: 40px;
        height: 40px;
    }

    .cart-drawer__quantity-input {
        width: 44px;
        height: 40px;
        font-size: 16px;
    }

    .cart-drawer__remove {
        display: inline-block;
        font-size: 14px;
        font-weight: 700;
        color: #d33131;
    }

    .cart-drawer__footer {
        margin-top: 24px;
        padding-top: 18px;
        border-top: 1px solid #e7e9f0;
    }

    .cart-drawer__summary {
        margin-bottom: 24px;
    }

    .cart-drawer__summary-label,
    .cart-drawer__summary-value {
        font-size: 15px;
        font-weight: 500;
    }

    .cart-drawer__note {
        display: block;
        font-size: 13px;
        line-height: 1.45;
        color: #6a7084;
        margin-bottom: 14px;
    }

    .cart-drawer__agreement {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 18px;
    }

    .cart-drawer__agreement-box {
        width: 18px;
        height: 18px;
    }

    .cart-drawer__agreement-text {
        display: block;
        font-size: 13px;
        line-height: 1.4;
    }

    .cart-drawer__secondary-btn,
    .cart-drawer__primary-btn {
        min-height: 48px;
        font-size: 14px;
    }

    .cart-drawer__saved-card {
        gap: 14px;
        padding: 14px 0 20px;
        border-top: 0;
    }

    .cart-page-template .product-page {
        padding: 12px 0 36px;
    }

    .cart-page-section {
        margin-bottom: 36px;
        padding: 0 12px;
    }

    .cart-page-section__header {
        margin-bottom: 20px;
    }

    .cart-page-section__title-wrap {
        gap: 12px;
        margin-bottom: 14px;
    }

    .cart-page-section__title {
        font-size: 30px;
        line-height: 0.95;
    }

    .cart-page-section__count {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .cart-page-section__message {
        display: block;
        max-width: 280px;
        font-size: 14px;
        line-height: 1.45;
    }

    .cart-page-section__layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .cart-page-item {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
        padding: 0 0 18px;
        align-items: start;
    }

    .cart-page-item__media {
        width: 112px;
        height: 112px;
        border-radius: 18px;
        padding: 14px;
    }

    .cart-page-item__main {
        min-width: 0;
    }

    .cart-page-item__top,
    .cart-page-item__bottom {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .cart-page-item__top {
        margin-bottom: 16px;
    }

    .cart-page-item__title {
        font-size: 17px;
        line-height: 1.25;
        margin-bottom: 10px;
        max-width: none;
    }

    .cart-page-item__description {
        display: none;
    }

    .cart-page-item__code {
        font-size: 14px;
        margin-bottom: 0;
    }

    .cart-page-item__remove {
        font-size: 14px;
        color: #9aa1bf;
        margin-left: 0;
        display: inline-flex;
        text-align: left;
        margin-top: 0;
        align-self: flex-start;
    }

    .cart-page-item__quantity {
        min-height: 48px;
        border-radius: 24px;
        margin-bottom: 0;
        align-self: flex-start;
    }

    .cart-page-item__quantity-btn {
        width: 44px;
        height: 48px;
    }

    .cart-page-item__quantity-input {
        width: 42px;
        height: 48px;
        font-size: 16px;
    }

    .cart-page-item__price {
        font-size: 16px;
        text-decoration: none;
        margin-top: 0;
        line-height: 1.2;
    }

    .cart-page-summary {
        gap: 16px;
    }

    .cart-page-summary__card {
        border: 1px solid #dfe3ec;
        border-radius: 20px;
        padding: 18px 16px;
        background: #fff;
    }

    .cart-page-summary__row--top {
        margin-bottom: 16px;
        padding-top: 0;
        border-top: 0;
    }

    .cart-page-summary__row--total {
        margin-bottom: 18px;
        padding-top: 16px;
        border-top: 1px solid #dfe3ec;
    }

    .cart-page-summary__label,
    .cart-page-summary__value {
        font-size: 15px;
    }

    .cart-page-summary__label--strong,
    .cart-page-summary__value--strong {
        font-weight: 700;
    }

    .cart-page-summary__label--total,
    .cart-page-summary__value--total {
        font-size: 18px;
        font-weight: 700;
    }

    .cart-page-summary__note {
        padding-bottom: 16px;
        margin-bottom: 16px;
        font-size: 13px;
        line-height: 1.45;
    }

    .cart-page-summary__promo {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 20px;
        padding-top: 0;
        border-top: 0;
    }

    .cart-page-summary__promo-input,
    .cart-page-summary__promo-btn,
    .cart-page-summary__checkout,
    .cart-page-summary__continue {
        min-height: 48px;
        border-radius: 14px;
        font-size: 14px;
    }

    .cart-page-summary__checkout,
    .cart-page-summary__continue {
        border-radius: 28px;
        width: 100%;
    }

    .cart-page-summary__promo-input {
        padding: 0 16px;
    }

    .cart-page-summary__continue {
        min-height: 52px;
    }

    .product-reviews {
        margin-top: 32px;
        margin-bottom: 32px;
    }

    .product-reviews__container {
        padding: 0 8px;
    }

    .product-reviews__header {
        flex-direction: column;
        gap: 22px;
        margin-bottom: 20px;
    }

    .product-reviews__title,
    .product-reviews__gallery-title {
        font-size: 28px;
    }

    .product-reviews__actions {
        width: 100%;
        flex-direction: column;
        gap: 16px;
    }

    .product-reviews__action-btn {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        font-size: 14px;
    }

    .product-reviews__layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px;
        align-items: stretch;
    }

    .product-reviews__sidebar {
        position: static;
        order: 1 !important;
        width: 100%;
    }

    .product-reviews__list {
        order: 2 !important;
        display: flex !important;
        flex-direction: column;
        width: 100%;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 1px;
    }

    .product-reviews__list .product-review-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .product-reviews__rating-box {
        margin-bottom: 16px;
    }

    .product-reviews__rating-head {
        gap: 10px;
        margin-bottom: 14px;
    }

    .product-reviews__rating-star {
        font-size: 24px;
    }

    .product-reviews__rating-value {
        font-size: 28px;
    }

    .product-reviews__rating-row {
        grid-template-columns: 12px minmax(0, 1fr);
        gap: 8px;
    }

    .product-reviews__rating-label {
        font-size: 16px;
    }

    .product-reviews__rating-track {
        height: 18px;
    }

    .product-reviews__gallery-title {
        margin-bottom: 10px;
    }

    .product-reviews__gallery {
        display: none;
    }

    .product-reviews__sidebar,
    .product-reviews__gallery,
    .review-photo-block {
        max-width: 100%;
    }

    .review-photo-block {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .review-photo-block__nav {
        width: 32px;
        height: 32px;
    }

    .review-photo-block__nav img {
        width: 14px;
        height: 14px;
    }

    .review-photo-block__nav--prev {
        left: 8px;
    }

    .review-photo-block__nav--next {
        right: 8px;
    }

    .review-photo-viewer__nav {
        width: 40px;
        height: 40px;
    }

    .review-photo-viewer__nav--prev {
        left: 12px;
    }

    .review-photo-viewer__nav--next {
        right: 12px;
    }

    .review-photo-block__main {
        max-width: none;
        height: 176px;
        border-radius: 14px;
    }

    .review-photo-block__thumbs {
        width: 100%;
        flex-direction: row;
        gap: 6px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .review-photo-block__thumb {
        width: 64px;
        min-width: 64px;
        height: 56px;
        border-radius: 12px;
        padding: 6px;
    }

    .review-photo-block__main-image {
        max-width: 136px;
        max-height: 152px;
    }

    .review-photo-block__thumb-image {
        max-width: 36px;
        max-height: 40px;
    }

    .review-photo-viewer__image-button {
        width: calc(100vw - 32px);
        height: calc(100vh - 120px);
        min-height: 0;
    }

    .review-photo-viewer__close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }

    .review-photo-viewer__image {
        max-height: calc(100vh - 140px);
    }

    .product-review-card {
        padding: 14px 0 16px;
    }

    .product-review-card__top {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
    }

    .product-review-card__avatar {
        width: 34px;
        height: 34px;
        border-radius: 50%;
    }

    .product-review-card__head {
        align-items: flex-start;
        margin-bottom: 8px;
    }

    .product-review-card__stars {
        gap: 5px;
        font-size: 16px;
    }

    .product-review-card__date {
        font-size: 12px;
    }

    .product-review-card__name {
        font-size: 16px;
        margin-bottom: 12px;
        max-width: 150px;
    }

    .product-review-card__text {
        font-size: 14px;
        line-height: 1.45;
        margin-bottom: 12px;
        -webkit-line-clamp: 5;
        line-clamp: 5;
    }

    .product-reviews__top {
        gap: 24px;
    }

    .product-review-card__toggle {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .product-review-card__tags {
        justify-content: space-between;
        gap: 10px;
    }

    .product-review-card__tag {
        font-size: 12px;
        min-height: 32px;
        padding: 7px 12px;
    }
}

@media (max-width: 420px) {
    .review-photo-block__main {
        height: 164px;
        border-radius: 12px;
    }

    .review-photo-block__thumb {
        width: 58px;
        min-width: 58px;
        height: 50px;
        border-radius: 10px;
        padding: 5px;
    }

    .review-photo-block__main-image {
        max-width: 124px;
        max-height: 138px;
    }

    .review-photo-block__thumb-image {
        max-width: 30px;
        max-height: 34px;
    }

    .review-photo-viewer__image-button {
        width: calc(100vw - 20px);
        height: calc(100vh - 96px);
    }

    .review-photo-viewer__close {
        top: 12px;
        right: 12px;
    }

    .product-reviews__layout {
        gap: 14px;
    }
}

@media (min-width: 992px) {
    .page-template-page-catalog .access-section--catalog > .container {
        max-width: calc(var(--container-width) + (var(--container-padding) * 2));
        padding: 0 var(--container-padding);
    }

    .page-template-page-catalog .access-section--catalog .access-section__container {
        flex-direction: row;
        align-items: stretch;
        border-radius: 60px;
        overflow: hidden;
        background: #fff;
    }

    .page-template-page-catalog .access-section--catalog .access-section__content {
        flex: 1;
        width: auto;
        padding: 60px;
    }

    .page-template-page-catalog .access-section--catalog .access-section__image-wrapper {
        width: 45%;
        min-height: 654px;
        height: auto;
        flex: 1;
        border-radius: 60px;
        overflow: hidden;
    }

    .page-template-page-catalog .access-section--catalog .access-section__image {
        object-fit: cover;
        object-position: center;
        border-radius: 60px;
    }

    .page-template-page-catalog .access-section--catalog .access-section__button {
        width: auto;
        min-width: 320px;
        max-width: 360px;
        padding: 12px 48px;
    }

    .page-template-page-catalog .recently-viewed__title {
        font-size: 36px;
    }
}


/*--------- Catalog page styles end -------- */


/* Footer section start */
@media (max-width: 768px) {
  .footer { 
    padding: 40px 0 30px; 
  }
  
  .footer-brand {
    margin-left: 0%;
  }

  .footer-top { flex-direction: column; 
    align-items: center; 
    text-align: center; 
    gap: 40px; 
  
  }
  .social-icons { 
    justify-content: space-evenly; 
  }

  .footer-newsletter p { 
    text-align: center; 
    margin-bottom: 20px; 
  
  }
  .newsletter-form { 
    flex-direction: column; 
    width: 100%; 
    gap: 10px; 
  }
  .newsletter-form input, .newsletter-form button { 
    width: 100%; 
    box-sizing: border-box; 
  } 
  
  .footer-links { 
    display: block; 
    margin-bottom: 40px; 
  }
  .link-column { border-bottom: 1px solid #3c3e4c; }
  
  .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .link-column h4 { 
    margin: 0; 
    font-size: 15px; 
  }
  
  .chevron { 
    display: block; 
    color: #838592; 
    transition: transform 0.3s ease; 
  }
  
  .accordion-content { 
    display: none; 
    padding-bottom: 20px; 
  }
  
  .link-column.active .accordion-content { 
    display: block; 
  }
  .link-column.active .chevron { 
    transform: rotate(180deg); 
  }

  .footer-bottom { 
    margin: 0 auto;
    border-top: 0px solid #3c3e4c;
  }
  
  .footer-deco-icon { 
    display: flex; 
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
    height: 150px; 
  }

  .footer__logo-img--mobile {
    max-height: 150px;
    width: auto;
  }
}
/* Footer section end */

/* Checkout section start */
@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 40px;
    }

    .checkout-title {
        font-size: 36px;
    }

    .checkout-summary {
        padding: 24px;
    }
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .checkout-summary {
        order: -1;
        max-width: 500px;
    }

    .checkout-content {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .checkout-section {
        padding: 24px 16px 40px;
    }

    .checkout-steps {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 24px;
    }

    .checkout-step__badge {
        padding: 8px 16px;
        font-size: 12px;
    }

    .checkout-step__divider {
        width: 30px;
    }

    .checkout-title {
        font-size: 28px;
    }

    .checkout-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }

    .checkout-form__row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }

    .checkout-form__input {
        height: 44px;
        font-size: 14px;
    }

    .checkout-form__actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 32px;
    }

    .checkout-form__btn {
        width: 100%;
        padding: 14px 24px;
    }

    .checkout-summary {
        padding: 20px;
    }

    .checkout-summary__title {
        font-size: 16px;
    }

    .checkout-summary__items {
        max-height: 280px;
    }

    .checkout-summary__item {
        grid-template-columns: 50px 1fr;
        gap: 12px;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .checkout-summary__item-media {
        width: 50px;
        height: 50px;
    }

    .checkout-summary__item-controls {
        grid-column: 2;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        gap: 8px;
    }

    .checkout-summary__quantity {
        min-height: 36px;
    }

    .checkout-summary__quantity-btn {
        width: 32px;
        height: 36px;
    }

    .checkout-summary__quantity-input {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .checkout-summary__promo {
        flex-direction: column;
    }

    .checkout-summary__promo-btn {
        width: 100%;
    }
	
	.account-registration__back {
        left: 15px;
    }
}

@media (max-width: 480px) {
    .checkout-title {
        font-size: 24px;
    }

    .checkout-step__badge {
        padding: 6px 12px;
        font-size: 11px;
    }

    .checkout-step__divider {
        width: 16px;
    }

    .checkout-login__btn {
        padding: 6px 16px;
        font-size: 13px;
    }

    .checkout-form__label {
        font-size: 13px;
    }

    .checkout-form__phone-prefix {
        font-size: 13px;
        padding: 0 8px;
    }

    .checkout-summary__item-title {
        font-size: 13px;
    }

    .checkout-summary__item-price {
        font-size: 14px;
    }

    .checkout-summary__label--total,
    .checkout-summary__value--total {
        font-size: 14px;
    }
}
/* Checkout section end */

/* Account registration page start */
@media (max-width: 991px) {
    [data-register-step1-page] .account-registration {
        display: grid;
        grid-template-columns: 1fr;
        min-height: auto;
        height: auto;
        overflow: visible;
    }

    [data-register-step1-page] .account-registration__content {
        order: 1;
        min-height: auto;
        height: auto;
        width: 100%;
        max-width: 100%;
        padding: 36px 20px 32px;
        align-items: center;
        justify-content: flex-start;
        overflow: visible;
    }

    [data-register-step1-page] .account-registration__visual {
        order: 2;
        min-height: 52vh;
        height: auto;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 0;
        background-position: center 20%;
        background-size: cover;
    }

    [data-register-step1-page] .account-registration__content-inner {
        min-height: auto;
        max-width: 480px;
        width: 100%;
    }

    [data-register-step1-page] .account-registration__title {
        font-size: 32px;
        font-weight: 500;
        text-align: center;
        width: 100%;
    }

    [data-register-step1-page] .account-registration__subtitle {
        margin: 12px 0 0;
        font-size: 18px;
        line-height: 1.35;
        color: #1a1a1a;
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-style: normal;
        text-align: center;
    }

    [data-register-step1-page] .account-registration__symbol-wrap {
        margin-top: 28px;
        padding: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        align-self: stretch;
    }

    [data-register-step1-page] .account-registration__symbol {
        width: min(100%, 190px);
        height: auto;
        margin: 0;
        display: block;
    }

    [data-register-step1-page] .account-registration__question {
        margin-top: 28px;
        font-weight: 400;
        font-size: 20px;
        line-height: 1.35;
        text-align: center;
        max-width: 100%;
    }

    [data-register-step1-page] .account-registration__question br {
        display: inline;
    }

    [data-register-step1-page] .account-registration__actions {
        width: 100%;
        max-width: 100%;
        margin-top: 28px;
        gap: 16px;
        grid-template-columns: 1fr;
    }

    [data-register-step1-page] .account-registration__btn,
    [data-register-step1-page] .account-registration__btn--secondary {
        width: 100%;
        height: 50px;
        border: 1.5px solid var(--reg-accent);
        border-radius: 10px;
        background: #fff;
        color: #23273a;
        font-size: 18px;
        font-weight: 500;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    [data-register-step1-page] .account-registration__login-link--bottom {
        margin-top: 32px;
        padding-top: 0;
        font-size: 14px;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 1300px) {
    .account-registration__visual {
        padding: 30px 32px 64px 20px;
    }

    .account-registration__login-link--top {
        top: 30px;
        left: 20px;
    }

    .account-registration__logo {
        font-size: 42px;
    }

    .account-registration__bottom-logo {
        margin-left: -32px;
    }

    .account-registration__brand-text {
        margin-top: -30px;
        font-size: 16px;
        line-height: 1.35;
        font-weight: 400;
        color: #1c1d39;
    }
}

@media (max-width: 991px) {
    .account-registration-page {
        background: #fff;
        --reg-form-gap: 22px;
        --reg-field-gap: 8px;
        --reg-form-offset: 24px;
    }

    .register-doctor-page {
        --reg-content-padding-top: 28px;
        --reg-content-padding-x: 20px;
        --reg-content-padding-bottom: 32px;
    }

    .register-buyer-page {
        --reg-content-padding-top: 28px;
        --reg-content-padding-x: 20px;
        --reg-content-padding-bottom: 32px;
    }

    .register-doctor-page .account-registration__content,
    .register-buyer-page .account-registration__content {
        flex-direction: column;
        padding: var(--reg-content-padding-top) var(--reg-content-padding-x) var(--reg-content-padding-bottom);
    }

    .register-doctor-page .account-registration__page-head,
    .register-buyer-page .account-registration__page-head {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        max-width: 480px;
        align-self: center;
        padding: 0;
    }

    .register-doctor-page .account-registration__page-head > .account-registration__title,
    .register-buyer-page .account-registration__page-head > .account-registration__title,
    .register-doctor-page .account-registration__page-head > .account-registration__subtitle,
    .register-buyer-page .account-registration__page-head > .account-registration__subtitle {
        align-self: stretch;
        text-align: center;
    }

    .register-doctor-page .account-registration__page-head > .account-registration__back,
    .register-buyer-page .account-registration__page-head > .account-registration__back {
        margin: 0 0 16px;
    }

    .account-registration {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .account-registration__visual {
        order: 2;
        min-height: 56vh;
        padding: 0;
        background-position: center 18%;
        background-size: cover;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .account-registration__login-link--top {
        display: none;
    }

    .account-registration__brand,
    .account-registration__top-logo,
    .register-doctor-page .account-registration__top-logo {
        display: none;
    }

    .account-registration__content {
        min-height: auto;
        order: 1;
        align-items: center;
        justify-content: flex-start;
        padding: 28px 20px 32px;
        background: #fff;
        overflow: visible;
        height: auto;
    }

    .account-registration__content-inner {
        width: 100%;
        max-width: 480px;
        align-items: center;
    }

    .account-registration__back {
        position: static;
        top: auto;
        left: auto;
        align-self: flex-start;
        margin: 0 0 16px;
    }

    .account-registration__title {
        font-size: 32px;
        font-weight: 500;
        text-align: center;
        width: 100%;
    }

    .account-registration__subtitle {
        margin-top: 12px;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        text-align: center;
        width: 100%;
        color: #1a1a1a;
        font-family: "Golos Text VF", "Golos Text", sans-serif;
    }

    .account-registration__form {
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        text-align: left;
    }

    .account-registration__error + .account-registration__form {
        margin-top: 16px;
    }

    .account-registration__symbol {
        width: min(100%, 120px);
        margin-top: 24px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    [data-register-step1-page] .account-registration__symbol {
        width: min(100%, 190px);
        margin-top: 0;
    }

    .account-registration__question {
        margin-top: 24px;
        font-size: 20px;
        line-height: 1.35;
        text-align: center;
    }

    .account-registration__question br {
        display: inline;
    }

    .account-registration__actions {
        margin-top: 28px;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100%;
    }

    .account-registration__btn {
        height: 50px;
        border-width: 1.5px;
        font-size: 18px;
        width: 100%;
    }

    .account-registration__input,
    .account-registration__upload-wrap,
    .account-registration__phone-wrap {
        height: 44px;
        border: 1.4px solid #c8ccd8;
        border-radius: 10px;
        background: #fff;
    }

    .account-registration__input {
        padding: 0 16px;
    }

    .account-registration__input--phone {
        padding-left: 12px;
        border: none;
        border-radius: 0;
        background: transparent;
    }

    .account-registration__phone-wrap {
        overflow: hidden;
    }

    .account-registration__phone-prefix {
        min-width: 72px;
        padding: 0 12px;
        background: #f5f6f8;
        border-right: 1px solid #c8ccd8;
        color: #2a2f44;
    }

    .account-registration__upload-wrap {
        padding: 0 14px;
    }

    .account-registration__upload-text {
        font-size: 14px;
        padding-left: 0;
    }

    .account-registration__password-wrap {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        height: auto;
        border: none;
        border-radius: 0;
        background: transparent;
    }

    .account-registration__input--password {
        border: 1.4px solid #c8ccd8;
        border-radius: 10px;
        background: #fff;
        padding-left: 16px;
        padding-right: 44px;
    }

    .account-registration__eye {
        right: 12px;
    }

    .account-registration__forgot-row {
        margin: -6px 0 0;
        width: 100%;
    }

    .account-registration__forgot {
        font-size: 13px;
    }

    .account-registration__agree-text {
        font-size: 13px;
        line-height: 1.4;
    }

    .account-registration__submit {
        height: 50px;
        font-size: 16px;
        letter-spacing: 0.04em;
    }

    .account-registration__login-link--bottom {
        margin-top: 24px;
        font-size: 14px;
        display: block;
        text-align: center;
        width: 100%;
    }

    .account-registration__status {
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.45;
        width: 100%;
    }

    .account-registration__home-link {
        margin-top: 18px;
        font-size: 14px;
        width: 100%;
    }

    .account-registration-page .footer {
        border-radius: 30px 30px 0 0;
        margin-top: -28px;
        position: relative;
        z-index: 2;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .account-registration__field--error .account-registration__phone-wrap,
    .account-registration__field--error .account-registration__upload-wrap,
    .account-registration__field--error .account-registration__input--password {
        border-color: #e74c3c;
    }

    .account-registration__phone-wrap:focus-within {
        border-color: var(--reg-accent);
    }
}

@media (max-width: 400px) {
    .account-registration__title {
        font-size: 28px;
    }

    .account-registration__subtitle {
        font-size: 16px;
    }

    .account-registration__question {
        font-size: 18px;
    }

    [data-register-step1-page] .account-registration__question {
        font-size: 18px;
    }

    .account-registration__visual {
        min-height: 48vh;
    }

    .account-registration-page {
        --reg-form-gap: 20px;
        --reg-form-offset: 20px;
    }
}
/* Account registration page end */

/* Doctor registration page start */
@media (min-width: 1500px) {
    .doctor-registration__inner {
        width: min(100%, 520px);
    }

    .doctor-registration__submit {
        height: 54px;
        font-size: 20px;
    }
}

@media (max-width: 1360px) {
    .doctor-registration__title {
        font-size: 34px;
    }

    .doctor-registration__subtitle {
        font-size: 16px;
    }

    .doctor-registration__form {
        margin-top: 34px;
    }

    .doctor-registration__submit {
        margin-top: 44px;
    }

    .doctor-registration__logo {
        font-size: 42px;
    }

    .doctor-registration__brand-text {
        font-size: 26px;
    }
}

@media (max-width: 991px) {
    .doctor-registration-page .footer {
        display: block;
    }

    .doctor-registration {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
    }

    .doctor-registration__content {
        min-height: auto;
        height: auto;
        order: 1;
        align-items: flex-start;
        padding: 12px 24px 20px;
    }

    .doctor-registration__inner {
        width: 100%;
        max-width: 100%;
    }

    .doctor-registration__back {
        position: static;
        min-height: 26px;
        padding: 0 14px;
        font-size: 11px;
        border-color: #8b8fa3;
    }

    .doctor-registration__back svg {
        width: 12px;
        height: 12px;
    }

    .doctor-registration__title {
        margin-top: 10px;
        font-size: 32px;
        text-align: center;
    }

    .doctor-registration__subtitle {
        margin-top: 6px;
        font-size: 14px;
        font-style: italic;
        text-align: center;
    }

    .doctor-registration__form {
        margin-top: 16px;
    }

    .doctor-registration__field + .doctor-registration__field {
        margin-top: 8px;
    }

    .doctor-registration__label {
        margin-bottom: 4px;
        font-size: 13px;
        font-weight: 500;
    }

    .doctor-registration__label small {
        font-size: 10px;
    }

    .doctor-registration__input,
    .doctor-registration__upload-wrap {
        height: 38px;
        border: none;
        border-bottom: 1px solid var(--doctor-line);
        border-radius: 0;
        background: transparent;
    }

    .doctor-registration__phone-wrap {
        height: 38px;
        border: none;
        border-bottom: 1px solid var(--doctor-line);
        border-radius: 0;
        overflow: visible;
    }

    .doctor-registration__input {
        padding: 0 0 4px 0;
        font-size: 14px;
    }

    .doctor-registration__input--phone {
        padding-left: 8px;
        padding-bottom: 4px;
    }

    .doctor-registration__phone-prefix {
        min-width: auto;
        padding: 0 6px 4px 0;
        background: transparent;
        border-right: none;
        font-size: 14px;
        font-weight: 500;
        color: #2a2f44;
    }

    .doctor-registration__upload-wrap {
        padding: 0 0 4px 0;
    }

    .doctor-registration__upload-text {
        font-size: 14px;
    }

    .doctor-registration__upload-icon {
        width: 16px;
        height: 16px;
    }

    .doctor-registration__submit {
        display: block;
        margin-top: 24px;
        width: 72%;
        margin-left: 0;
        margin-right: auto;
        height: 44px;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.04em;
    }

    .doctor-registration__login {
        margin-top: 18px;
        font-size: 11px;
    }

    .doctor-registration__visual {
        order: 2;
        min-height: 56vh;
        padding: 0;
        background-position: center 18%;
        background-size: cover;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .doctor-registration__top-logo,
    .doctor-registration__brand {
        display: none;
    }

    .doctor-registration-page .footer {
        border-radius: 30px 30px 0 0;
        margin-top: -28px;
        position: relative;
        z-index: 2;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .doctor-registration__field--error .doctor-registration__input,
    .doctor-registration__field--error .doctor-registration__phone-wrap,
    .doctor-registration__field--error .doctor-registration__upload-wrap {
        border-bottom-color: #e74c3c;
    }
}

@media (max-width: 400px) {
    .doctor-registration__title {
        font-size: 28px;
    }

    .doctor-registration__subtitle {
        font-size: 13px;
    }

    .doctor-registration__submit {
        width: 78%;
        height: 42px;
        font-size: 15px;
    }

    .doctor-registration__visual {
        min-height: 50vh;
    }
}
/* Doctor registration page end */

/* Login page start */
@media (min-width: 1500px) {
    .login__inner {
        width: min(100%, 520px);
    }

    .login__submit {
        height: 54px;
        font-size: 20px;
    }
}

@media (max-width: 1300px) {
    .login__visual {
        padding: 30px 32px 60px;
    }

    .login__top-logo {
        top: 30px;
        left: 20px;
    }

    .login__logo {
        font-size: 42px;
    }

    .login__brand-text {
        font-size: 26px;
    }
}

@media (max-width: 991px) {
    .login-page .footer {
        display: block;
    }

    .login {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .login__visual {
        order: 2;
        min-height: 56vh;
        padding: 0;
        background-position: center 18%;
        background-size: cover;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .login__top-logo,
    .login__brand {
        display: none;
    }

    .login__content {
        min-height: auto;
        order: 1;
        align-items: flex-start;
        padding: 12px 24px 20px;
    }

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

    .login__title {
        font-size: 28px;
        text-align: left;
    }

    .login__subtitle {
        margin-top: 6px;
        font-size: 13px;
        font-style: italic;
        text-align: left;
    }

    .login__form {
        margin-top: 16px;
    }

    .login__field + .login__field {
        margin-top: 8px;
    }

    .login__label {
        margin-bottom: 4px;
        font-size: 13px;
        font-weight: 500;
    }

    .login__input {
        height: 38px;
        border: none;
        border-bottom: 1px solid var(--login-line);
        border-radius: 0;
        background: transparent;
        padding: 0 0 4px 0;
        font-size: 14px;
    }

    .login__input--password {
        padding-right: 38px;
    }

    .login__eye {
        width: 38px;
    }

    .login__eye-icon {
        width: 18px;
        height: 18px;
    }

    .login__forgot-row {
        margin-top: 6px;
    }

    .login__forgot {
        font-size: 11px;
    }

    .login__agree {
        margin-top: 18px;
        gap: 8px;
    }

    .login__checkbox-custom {
        width: 20px;
        height: 20px;
    }

    .login__agree-text {
        font-size: 12px;
    }

    .login__submit {
        display: block;
        margin-top: 20px;
        width: 72%;
        margin-left: 0;
        margin-right: auto;
        height: 44px;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.04em;
    }

    .login__register {
        margin-top: 18px;
        font-size: 11px;
    }

    .login-page .footer {
        border-radius: 30px 30px 0 0;
        margin-top: -28px;
        position: relative;
        z-index: 2;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .login__field--error .login__input {
        border-bottom-color: #e74c3c;
    }
}

@media (max-width: 400px) {
    .login__title {
        font-size: 24px;
    }

    .login__subtitle {
        font-size: 12px;
    }

    .login__submit {
        width: 78%;
        height: 42px;
        font-size: 15px;
    }

    .login__visual {
        min-height: 50vh;
    }
}
/* Login page end */


/* Signup page start */
@media (min-width: 1500px) {
    .signup__inner {
        width: min(100%, 520px);
    }

    .signup__submit {
        height: 54px;
        font-size: 20px;
    }
}

@media (max-width: 1300px) {
    .signup__visual {
        padding: 30px 32px 60px;
    }

    .signup__top-logo {
        top: 30px;
        left: 20px;
    }

    .signup__logo {
        font-size: 42px;
    }

    .signup__brand-text {
        font-size: 26px;
    }
}

@media (max-width: 991px) {
    .signup-page .footer {
        display: block;
    }

    .signup {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .signup__visual {
        order: 2;
        min-height: 56vh;
        padding: 0;
        background-position: center 18%;
        background-size: cover;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .signup__top-logo,
    .signup__brand {
        display: none;
    }

    .signup__content {
        min-height: auto;
        order: 1;
        align-items: flex-start;
        padding: 12px 24px 20px;
    }

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

    .signup__back {
        position: static;
        min-height: 26px;
        padding: 0 14px;
        font-size: 11px;
        border-color: #8b8fa3;
    }

    .signup__back svg {
        width: 12px;
        height: 12px;
    }

    .signup__title {
        margin-top: 10px;
        font-size: 28px;
        text-align: left;
    }

    .signup__subtitle {
        margin-top: 6px;
        font-size: 13px;
        font-style: italic;
        text-align: left;
    }

    .signup__form {
        margin-top: 14px;
    }

    .signup__field + .signup__field {
        margin-top: 8px;
    }

    .signup__label {
        margin-bottom: 4px;
        font-size: 13px;
        font-weight: 500;
    }

    .signup__input {
        height: 38px;
        border: none;
        border-bottom: 1px solid var(--signup-line);
        border-radius: 0;
        background: transparent;
        padding: 0 0 4px 0;
        font-size: 14px;
    }

    .signup__phone-wrap {
        height: 38px;
        border: none;
        border-bottom: 1px solid var(--signup-line);
        border-radius: 0;
        overflow: visible;
    }

    .signup__phone-prefix {
        min-width: auto;
        padding: 0 6px 4px 0;
        background: transparent;
        border-right: none;
        font-size: 14px;
        font-weight: 500;
        color: #2a2f44;
    }

    .signup__input--phone {
        padding-left: 8px;
        padding-bottom: 4px;
    }

    .signup__input--password {
        padding-right: 38px;
    }

    .signup__eye {
        width: 38px;
    }

    .signup__eye-icon {
        width: 18px;
        height: 18px;
    }

    .signup__forgot-row {
        margin-top: 6px;
    }

    .signup__forgot {
        font-size: 11px;
    }

    .signup__agree {
        margin-top: 16px;
        gap: 8px;
    }

    .signup__checkbox-custom {
        width: 20px;
        height: 20px;
    }

    .signup__agree-text {
        font-size: 12px;
    }

    .signup__submit {
        display: block;
        margin-top: 18px;
        width: 72%;
        margin-left: 0;
        margin-right: auto;
        height: 44px;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.04em;
    }

    .signup__login-link {
        margin-top: 16px;
        font-size: 11px;
    }

    .signup-page .footer {
        border-radius: 30px 30px 0 0;
        margin-top: -28px;
        position: relative;
        z-index: 2;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .signup__field--error .signup__input,
    .signup__field--error .signup__phone-wrap {
        border-bottom-color: #e74c3c;
    }
}

@media (max-width: 400px) {
    .signup__title {
        font-size: 24px;
    }

    .signup__subtitle {
        font-size: 12px;
    }

    .signup__submit {
        width: 78%;
        height: 42px;
        font-size: 15px;
    }

    .signup__visual {
        min-height: 50vh;
    }
}
/* Signup page end */


/* Cabinet page start */
@media (min-width: 992px) and (max-width: 1280px) {
    .cabinet__layout {
        grid-template-columns: 220px 1fr;
        gap: 32px;
    }

    .cabinet__title {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 28px;
    }

    .cabinet__nav-link {
        font-size: 14px;
        padding: 11px 14px;
    }

    .cabinet-order__item {
        grid-template-columns: 64px minmax(0, 1fr) auto auto auto;
        column-gap: 14px;
    }

    .cabinet-order__img {
        width: 64px;
        height: 64px;
    }

    .cabinet-order__name {
        font-size: 14px;
    }

    .cabinet-order__desc {
        font-size: 11px;
    }

    .cabinet-order__price {
        font-size: 14px;
        min-width: 88px;
    }

    .cabinet-order__qty-wrap {
        min-width: 82px;
        height: 34px;
    }

    .cabinet-order__qty-btn {
        width: 30px;
        font-size: 16px;
    }

    .cabinet-order__qty {
        min-width: 20px;
        font-size: 13px;
    }

    .cabinet-order__repeat {
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .cabinet {
        padding: 16px 0 60px;
    }

    .cabinet__layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cabinet__content {
        overflow: hidden;
    }

    .cabinet__sidebar {
        display: none;
    }

    .cabinet__mobile-title {
        display: block;
        font-size: 28px;
        font-weight: 800;
        color: #1a1e2e;
        text-transform: none;
        margin: 16px 0 20px;
        letter-spacing: -0.01em;
    }

    .cabinet__mobile-tabs {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        margin-bottom: 24px;
        padding: 0 0 2px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        scroll-snap-type: x proximity;
        scroll-behavior: smooth;
        scrollbar-width: none;
        border-bottom: 1px solid #e0e2ea;
        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
    }

    .cabinet__mobile-tabs.cabinet__mobile-tabs--dragging {
        cursor: grabbing;
        scroll-snap-type: none;
        scroll-behavior: auto;
    }

    .cabinet__mobile-tabs.cabinet__mobile-tabs--dragging .cabinet__mobile-tab {
        pointer-events: none;
    }

    .cabinet__mobile-tabs::-webkit-scrollbar {
        display: none;
    }

    .cabinet__mobile-tab {
        display: inline-flex;
        align-items: center;
        padding: 10px 16px;
        font-size: 12px;
        font-weight: 700;
        color: #9ba1b6;
        text-decoration: none;
        white-space: nowrap;
        border-bottom: 2px solid transparent;
        margin-bottom: -1px;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        transition: color 0.2s, border-color 0.2s;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .cabinet__mobile-tab:last-child {
        padding-right: 20px;
    }

    .cabinet__mobile-tab--active {
        color: #1a1e2e;
        border-bottom-color: #50d6e3;
        font-weight: 700;
    }

    .cabinet__mobile-tab--logout {
        color: #5c6078;
    }

    .cabinet__mobile-tab--logout:active,
    .cabinet__mobile-tab--logout:hover {
        color: #1a1e2e;
    }

    .cabinet-order {
        padding: 22px 0 6px;
    }

    .cabinet-order__header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px 12px;
        margin-bottom: 14px;
    }

    .cabinet-order__date {
        font-size: 12px;
        width: auto;
        color: #7a7a7a;
        order: 1;
    }

    .cabinet-order__status {
        font-size: 11px;
        min-height: 28px;
        padding: 0 12px;
        order: 2;
        margin-left: auto;
    }

    .cabinet-order__repeat {
        order: 3;
        width: 100%;
        margin-left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 44px;
        padding: 0 16px;
        border: 1px solid #d4d4d4;
        border-radius: 10px;
        background: #fff;
        color: #1a1e2e;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
    }

    .cabinet-order__repeat:hover {
        background: #fafafa;
        opacity: 1;
    }

    .cabinet-order__items {
        gap: 0;
    }

    .cabinet-order__item {
        display: grid;
        grid-template-columns: 56px 1fr auto;
        grid-template-rows: auto auto;
        align-items: start;
        column-gap: 12px;
        row-gap: 12px;
        padding: 16px 0;
        border-bottom: 1px solid #efefef;
    }

    .cabinet-order__item:last-child {
        border-bottom: none;
    }

    .cabinet-order__media-link {
        grid-row: 1 / 3;
        grid-column: 1;
        align-self: start;
    }

    .cabinet-order__img {
        width: 56px;
        height: 56px;
    }

    .cabinet-order__info {
        grid-row: 1;
        grid-column: 2 / 4;
        align-self: start;
    }

    .cabinet-order__name {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .cabinet-order__desc {
        font-size: 11px;
        color: #7a7a7a;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        line-clamp: 2;
        overflow: hidden;
        white-space: normal;
    }

    .cabinet-order__qty-wrap {
        grid-row: 2;
        grid-column: 2;
        justify-self: start;
        align-self: center;
        min-width: 82px;
        height: 32px;
    }

    .cabinet-order__qty-btn {
        width: 28px;
        height: 100%;
        font-size: 16px;
    }

    .cabinet-order__qty {
        min-width: 20px;
        font-size: 13px;
    }

    .cabinet-order__price {
        grid-row: 2;
        grid-column: 3;
        justify-self: end;
        align-self: center;
        font-size: 14px;
        min-width: 0;
        text-align: right;
    }

    .cabinet-order__delete {
        display: none;
    }

@media (max-width: 480px) {
    .cabinet-order__repeat {
        font-size: 13px;
        height: 42px;
    }

    .cabinet-order__img {
        width: 52px;
        height: 52px;
    }

    .cabinet-order__name {
        font-size: 13px;
    }

    .cabinet-order__price {
        font-size: 13px;
    }
}
}
/* Cabinet page end */

/* ============================================================
   Certificates page — mobile
   ============================================================ */
@media (max-width: 991px) {
    .certificates-header {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 20px;
    }

    .certificates-add-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }

    .certificate-card {
        padding: 14px;
        gap: 14px;
    }

    .certificate-card__thumb {
        width: 64px;
        height: 82px;
    }

    .certificate-card__title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .certificate-card__dates p {
        font-size: 12px;
    }

    .certificate-card__menu-btn {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .certificate-card {
        gap: 10px;
        padding: 12px;
    }

    .certificate-card__thumb {
        width: 54px;
        height: 70px;
    }

    .certificate-card__title {
        font-size: 13px;
    }
}
/* Certificate modals mobile */
@media (max-width: 600px) {
    .cert-modal__box {
        flex-direction: column;
        width: 100%;
        margin: 0;
        border-radius: 16px 16px 0 0;
        align-self: flex-end;
        max-height: 92vh;
    }

    .cert-modal {
        align-items: flex-end;
    }

    .cert-modal__preview {
        flex: 0 0 200px;
        min-height: 200px;
    }

    .cert-modal__side {
        padding: 24px 20px 28px;
    }

    .cert-modal__confirm-btns {
        flex-direction: column;
    }
}
/* Certificates page end */

/* ============================================================
   Profile page — mobile
   ============================================================ */
@media (max-width: 991px) {
    .profile__field {
        flex-wrap: wrap;
        gap: 10px;
    }

    .profile__field-btn {
        font-size: 13px;
    }

    .profile__newsletter-title {
        font-size: 14px;
    }

    .profile__checkbox-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .profile-modal__box {
        padding: 24px 20px;
    }

    .profile__field {
        align-items: flex-start;
    }

    .profile__field-btn {
        align-self: flex-end;
    }
}
/* Profile page end */

/* ============================================================
   Discounts page mobile
   ============================================================ */
@media (max-width: 768px) {
  .discounts__card {
    flex-direction: column;
    gap: 20px;
    padding: 18px 16px;
  }

  .discounts__card-right {
    align-items: flex-start;
    min-width: unset;
    width: 100%;
  }

  .discounts__turnover,
  .discounts__status {
    text-align: left;
  }

  .discounts__progress-wrap {
    width: 100%;
  }
}
/* Discounts page mobile end */

/* ============================================================
   Saved page mobile
   ============================================================ */
@media (max-width: 1024px) {
  .saved__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .saved__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .saved-card__image img {
    max-height: 130px;
  }
}
/* Saved page mobile end */

/* Search Modal — mobile */
@media (max-width: 768px) {
  .search-modal__content {
    padding: 30px 20px;
    width: 95%;
  }
  
  .search-modal__form .search-form {
    flex-direction: column;
  }
  
  .search-modal__form .search-submit {
    width: 100%;
  }
}

/* Header menu — desktop */

/*@media (min-width: 800px) {*/
/*  .header__menu {*/
/*    display: flex !important;*/
/*    align-items: center !important;*/
/*    gap: 35px !important;*/
/*    margin: 0 !important;*/
/*    padding: 0 !important;*/
/*    list-style: none !important;*/
/*  }*/

@media (min-width: 992px) {
  .header__menu {
    display: flex !important;
    align-items: center !important;
    gap: 35px !important;
  }
  .header__menu li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    list-style: none !important;
  }

  .header__menu .header__menu-link {
    padding: 10px 24px !important;
    margin: 0 !important;
  }
}

/* Side Cart — mobile */
@media (max-width: 480px) {
  .side-cart {
    width: 100%;
    right: -100%;
  }

  .side-cart__header,
  .side-cart__content,
  .side-cart__footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Privacy Policy — mobile/tablet */
@media (max-width: 991px) {
    section.privacy-policy {
        padding-bottom: 0;
    }

    .privacy-policy > .container {
        position: relative;
    }

    .privacy-policy__container {
        display: block;
        position: relative;
        padding-top: 24px;
        min-height: 220px;
    }

    .privacy-policy .breadcrumbs {
        position: relative;
        z-index: 1;
    }

    .privacy-policy__content {
        max-width: 100%;
        position: relative;
        z-index: 1;
    }

    .privacy-policy__text {
        padding-bottom: 0;
    }

    .privacy-policy__text h1,
    .privacy-policy__text h1 strong,
    .privacy-policy__text h2,
    .privacy-policy__text h2 strong {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 24px;
    }

    .privacy-policy__text h3,
    .privacy-policy__text h3 strong {
        font-size: 18px;
        line-height: 1.35;
        margin-top: 24px;
    }

    .privacy-policy__image {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 0;
        pointer-events: none;
        width: min(92vw, 420px);
        max-width: calc(100% - 16px);
        opacity: 1;
    }

    .privacy-policy__img {
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }
}

/* Delivery & Ordering Info — mobile/tablet */
@media (max-width: 991px) {
    section.delivery-ordering {
        padding-bottom: 48px;
        background-position: center top 8px;
        background-size: min(120vw, 520px) auto;
    }

    .delivery-ordering__container {
        padding-top: 24px;
        max-width: 100%;
    }

    .delivery-ordering__content {
        max-width: 100%;
    }

    .delivery-ordering__header {
        margin-bottom: 32px;
    }

    .delivery-ordering__title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .delivery-ordering__intro {
        font-size: 16px;
        line-height: 1.5;
        max-width: none;
    }

    .delivery-ordering .faq__question {
        font-size: 18px;
        line-height: 1.3;
    }

    .delivery-ordering__answer {
        font-size: 16px;
        line-height: 1.5;
        padding-bottom: 20px;
    }

    .delivery-ordering .faq__item--active .faq__content {
        width: 100%;
        max-width: none;
    }
}

/* Catalog cards — mobile/tablet: flat card layout is defined below (max-width: 991px) */
@media (max-width: 991px) {
    .catalog-page__grid > .product-card {
        height: auto;
    }
}

/* Product card price row */
@media (max-width: 768px) {
  .product-card__meta { gap: 6px 10px; padding: 10px 2px; }
  .product-card__meta .product-card__title { font-size: 14px; }
  .product-card__price { font-size: 14px; max-width: 44%; }

  .products .product-card__inner,
  .catalog-board .product-card__inner {
    border-radius: 20px;
  }

  .products .swiper-slide,
  .catalog-board .swiper-slide {
    width: min(304px, calc(100vw - 48px));
  }

  .products .product-card,
  .catalog-board .product-card {
    width: 100%;
  }

  .products .product-card__inner,
  .catalog-board .product-card__inner {
        width: 100%;
    height: auto;
    aspect-ratio: 304 / 362;
  }

  .products .product-card__image,
  .catalog-board .product-card__image {
    padding: 18px;
  }

  .products .product-card__image img,
  .products .product-card__img,
  .catalog-board .product-card__image img,
  .catalog-board .product-card__img {
    max-width: 62%;
    max-height: 62%;
  }

  .products .product-card__overlay,
  .catalog-board .product-card__overlay {
    padding: 16px;
  }

  .products .product-card__desc,
  .catalog-board .product-card__desc {
    font-size: 12px;
    padding-right: 28px;
  }

  .products .product-card__cart-btn,
  .products .product-card__btn,
  .catalog-board .product-card__cart-btn,
  .catalog-board .product-card__btn {
    min-height: 44px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .product-card__meta .product-card__title { font-size: 13px; }
  .product-card__price { font-size: 13px; max-width: 46%; white-space: normal; word-break: break-word; }
}


@media (max-width: 1200px) {
    .checkout-section--order-ui .checkout-layout,
    .checkout-section--delivery .checkout-layout,
    .checkout-section--success-page .checkout-layout {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 48px;
    }

    .checkout-section--order-ui .checkout-title,
    .checkout-section--delivery .checkout-title,
    .checkout-section--success-page .checkout-title {
        font-size: 46px;
    }

    .checkout-section--order-ui .checkout-summary__item-price,
    .checkout-section--order-ui .checkout-summary__item-price,
    .checkout-section--delivery .checkout-summary__item-price,
    .checkout-section--success-page .checkout-summary__item-price {
        font-size: 28px;
    }
}

@media (max-width: 900px) {
    .checkout-section--order-ui .checkout-layout,
    .checkout-section--delivery .checkout-layout,
    .checkout-section--success-page .checkout-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .checkout-section--order-ui .checkout-summary,
    .checkout-section--delivery .checkout-summary,
    .checkout-section--success-page .checkout-summary {
        order: 2;
        border-left: none;
        border-top: 1px solid #d8dde8;
        padding: 28px 0 0;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .checkout-section--order-ui .checkout-steps,
    .checkout-section--delivery .checkout-steps,
    .checkout-section--success-page .checkout-steps {
        gap: 12px;
        margin-bottom: 28px;
    }

    .checkout-section--order-ui .checkout-step__badge,
    .checkout-section--delivery .checkout-step__badge,
    .checkout-section--success-page .checkout-step__badge {
        font-size: 12px;
    }

    .checkout-section--order-ui .checkout-step.checkout-step--active .checkout-step__badge,
    .checkout-section--delivery .checkout-step.checkout-step--active .checkout-step__badge,
    .checkout-section--success-page .checkout-step.checkout-step--active .checkout-step__badge {
        padding: 8px 16px;
    }

    .checkout-section--order-ui .checkout-title,
    .checkout-section--delivery .checkout-title,
    .checkout-section--success-page .checkout-title,
    .checkout-section--success-page .order-success__title {
        font-size: 34px;
    }

    .checkout-section--success-page .order-success__lead {
        font-size: 24px;
    }

    .checkout-section--order-ui .checkout-summary__item,
    .checkout-section--delivery .checkout-summary__item,
    .checkout-section--success-page .checkout-summary__item {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 12px 16px;
    }

    .checkout-section--order-ui .checkout-summary__item-media,
    .checkout-section--delivery .checkout-summary__item-media,
    .checkout-section--success-page .checkout-summary__item-media {
        width: 60px;
        height: 60px;
    }

    .checkout-section--order-ui .checkout-summary__item-title,
    .checkout-section--delivery .checkout-summary__item-title,
    .checkout-section--success-page .checkout-summary__item-title {
        font-size: 16px;
    }

    .checkout-section--order-ui .checkout-summary__item-remove,
    .checkout-section--delivery .checkout-summary__item-remove,
    .checkout-section--success-page .checkout-summary__item-remove {
        font-size: 12px;
    }

    .checkout-section--order-ui .checkout-summary__item-controls,
    .checkout-section--delivery .checkout-summary__item-controls,
    .checkout-section--success-page .checkout-summary__item-controls {
        gap: 12px;
    }

    .checkout-section--order-ui .checkout-summary__item-price,
    .checkout-section--order-ui .checkout-summary__item-price,
    .checkout-section--delivery .checkout-summary__item-price,
    .checkout-section--success-page .checkout-summary__item-price {
        font-size: 22px;
    }

    .checkout-section--order-ui .checkout-summary__promo,
    .checkout-section--delivery .checkout-summary__promo,
    .checkout-section--success-page .checkout-summary__promo {
        flex-direction: column;
        gap: 12px;
    }

    .checkout-section--order-ui .checkout-summary__promo-btn,
    .checkout-section--delivery .checkout-summary__promo-btn,
    .checkout-section--success-page .checkout-summary__promo-btn,
    .checkout-section--delivery .checkout-form__btn--submit,
    .checkout-section--success-page .checkout-form__btn--back,
    .checkout-section--delivery .checkout-form__btn--back {
        min-width: 0;
        width: 100%;
    }
}


@media (max-width: 1200px) {
    .checkout-section--delivery .delivery-methods__btn:first-child,
    .checkout-section--delivery .delivery-methods__btn:nth-child(2),
    .checkout-section--delivery .delivery-methods__btn:nth-child(3) {
        min-width: 0;
    }

    .checkout-section--delivery .checkout-summary {
        padding-left: 40px;
    }
}

@media (max-width: 768px) {
    .checkout-section--delivery .delivery-methods,
    .checkout-section--delivery .delivery-payments {
        flex-direction: column;
    }

    .checkout-section--delivery .delivery-methods__btn,
    .checkout-section--delivery .delivery-payments__btn {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        padding: 14px 18px;
        font-size: 14px;
    }

    .checkout-section--delivery .delivery-hint {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .checkout-section--delivery .checkout-form__label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .checkout-section--delivery .checkout-form__input,
    .checkout-section--delivery .checkout-form__select select {
        height: 50px;
        font-size: 15px;
    }

    .checkout-section--delivery .checkout-form__actions {
        margin-top: 36px;
    }

    .checkout-section--delivery .checkout-form__btn {
        min-height: 54px;
        width: 100%;
    }

    .checkout-section--delivery .checkout-summary {
        padding-left: 0;
    }

    .checkout-section--delivery .checkout-summary__promo {
        flex-direction: column;
    }

    .checkout-section--delivery .checkout-summary__promo-input,
    .checkout-section--delivery .checkout-summary__promo-btn {
        width: 100%;
        min-width: 0;
        flex-basis: auto;
    }
}


@media (max-width: 900px) {
    .cart-page-section__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cart-page-summary {
        max-width: 420px;
    }
}

@media (max-width: 768px) {
    .cart-page-section__title {
        font-size: 34px;
    }

    .cart-page-section__count {
        width: 26px;
        height: 26px;
        font-size: 14px;
        transform: translateY(-4px);
    }

    .cart-page-item {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 14px;
        padding: 18px 0;
    }

    .cart-page-item__media {
        width: 96px;
        height: 96px;
        border-radius: 16px;
        padding: 12px;
    }

    .cart-page-item__title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .cart-page-item__code {
        font-size: 13px;
    }

    .cart-page-item__remove {
        font-size: 13px;
    }

    .cart-page-item__price {
        font-size: 16px;
    }

    .cart-page-summary {
        max-width: none;
    }

    .cart-page-summary__label,
    .cart-page-summary__value {
        font-size: 15px;
    }

    .cart-page-summary__label--total,
    .cart-page-summary__value--total {
        font-size: 16px;
    }
}


@media (max-width: 1200px) {
    .checkout-section--personal .checkout-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 42px;
    }

    .checkout-section--personal .checkout-summary {
        padding-left: 36px;
    }

    .checkout-section--personal .checkout-form__actions {
        margin-top: 120px;
    }

    .checkout-section--personal .checkout-summary__item-price {
        font-size: 24px;
    }
}

@media (max-width: 900px) {
    .checkout-section--personal .checkout-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .checkout-section--personal .checkout-content {
        max-width: 650px;
    }

    .checkout-section--personal .checkout-summary {
        border-left: none;
        border-top: 1px solid #d8dde8;
        padding: 28px 0 0;
    }

    .checkout-section--personal .checkout-form__actions {
        margin-top: 48px;
    }
}

@media (max-width: 768px) {
    .checkout-section--personal .checkout-steps {
        margin-bottom: 32px;
    }

    .checkout-section--personal .checkout-title {
        font-size: 32px;
    }

    .checkout-section--personal .checkout-header {
        margin-bottom: 28px;
    }

    .checkout-section--personal .checkout-form__row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .checkout-section--personal .checkout-form__actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 36px;
    }

    .checkout-section--personal .checkout-form__btn,
    .checkout-section--personal .checkout-form__btn--back,
    .checkout-section--personal .checkout-form__btn--submit {
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .checkout-section--personal .checkout-summary__title {
        margin-bottom: 28px;
    }

    .checkout-section--personal .checkout-summary__item {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .checkout-section--personal .checkout-summary__item-media {
        width: 56px;
        height: 56px;
    }

    .checkout-section--personal .checkout-summary__item-title {
        font-size: 15px;
    }

    .checkout-section--personal .checkout-summary__item-price {
        font-size: 20px;
    }

    .checkout-section--personal .checkout-summary__promo {
        flex-direction: column;
    }

    .checkout-section--personal .checkout-summary__promo-btn {
        flex-basis: auto;
        width: 100%;
        min-width: 0;
    }
}


@media (max-width: 768px) {
    .checkout-section--order-ui .checkout-summary__item-media,
    .checkout-section--delivery .checkout-summary__item-media,
    .checkout-section--success-page .checkout-summary__item-media,
    .checkout-section--personal .checkout-summary__item-media {
        width: 60px;
        height: 70px;
    }

    .checkout-section--order-ui .checkout-summary__item-thumb-img,
    .checkout-section--order-ui .checkout-summary__item-media img,
    .checkout-section--delivery .checkout-summary__item-thumb-img,
    .checkout-section--delivery .checkout-summary__item-media img,
    .checkout-section--success-page .checkout-summary__item-thumb-img,
    .checkout-section--success-page .checkout-summary__item-media img,
    .checkout-section--personal .checkout-summary__item-thumb-img,
    .checkout-section--personal .checkout-summary__item-media img {
        max-width: 48px;
        max-height: 64px;
    }

    .checkout-section--personal .checkout-summary__item,
    .checkout-section--delivery .checkout-summary__item,
    .checkout-section--success-page .checkout-summary__item {
        grid-template-columns: 60px minmax(0, 1fr);
    }
}


@media (max-width: 768px) {
    .checkout-section--order-ui .checkout-summary__item,
    .checkout-section--delivery .checkout-summary__item,
    .checkout-section--success-page .checkout-summary__item,
    .checkout-section--personal .checkout-summary__item {
        grid-template-columns: 50px minmax(0, 1fr) auto;
        column-gap: 14px;
    }

    .checkout-section--order-ui .checkout-summary__item-media,
    .checkout-section--delivery .checkout-summary__item-media,
    .checkout-section--success-page .checkout-summary__item-media,
    .checkout-section--personal .checkout-summary__item-media {
        width: 50px;
        height: 54px;
    }

    .checkout-section--order-ui .checkout-summary__item-thumb-img,
    .checkout-section--order-ui .checkout-summary__item-media img,
    .checkout-section--delivery .checkout-summary__item-thumb-img,
    .checkout-section--delivery .checkout-summary__item-media img,
    .checkout-section--success-page .checkout-summary__item-thumb-img,
    .checkout-section--success-page .checkout-summary__item-media img,
    .checkout-section--personal .checkout-summary__item-thumb-img,
    .checkout-section--personal .checkout-summary__item-media img {
        max-width: 36px;
        max-height: 48px;
    }

    .checkout-section--order-ui .checkout-summary__item-title,
    .checkout-section--delivery .checkout-summary__item-title,
    .checkout-section--success-page .checkout-summary__item-title,
    .checkout-section--personal .checkout-summary__item-title,
    .checkout-section--order-ui .checkout-summary__item-price,
    .checkout-section--delivery .checkout-summary__item-price,
    .checkout-section--success-page .checkout-summary__item-price,
    .checkout-section--personal .checkout-summary__item-price {
        font-size: 13px;
    }
}


@media (max-width: 1200px) {
    .checkout-section--delivery .checkout-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 42px;
    }

    .checkout-section--delivery .checkout-content--delivery {
        max-width: 590px;
    }

    .checkout-section--delivery .checkout-summary {
        padding-left: 36px;
    }

    .checkout-section--delivery .delivery-methods {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .checkout-section--delivery .delivery-payments__btn,
    .checkout-section--delivery .delivery-payments__btn:first-child,
    .checkout-section--delivery .delivery-payments__btn:nth-child(2) {
        min-width: 0;
    }
}

@media (max-width: 900px) {
    .checkout-section--delivery .checkout-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .checkout-section--delivery .checkout-summary {
        border-left: none;
        border-top: 1px solid #d8dde8;
        padding: 28px 0 0;
    }
}

@media (max-width: 768px) {
    .checkout-section--delivery .checkout-steps {
        margin-bottom: 32px;
    }

    .checkout-section--delivery .checkout-title {
        font-size: 32px;
    }

    .checkout-section--delivery .delivery-methods,
    .checkout-section--delivery .delivery-payments {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .checkout-section--delivery .checkout-form__field,
    .checkout-section--delivery .checkout-form__row {
        max-width: none;
    }

    .checkout-section--delivery .checkout-form__actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 36px;
    }

    .checkout-section--delivery .checkout-form__btn,
    .checkout-section--delivery .checkout-form__btn--back,
    .checkout-section--delivery .checkout-form__btn--submit {
        width: 100%;
        min-width: 0;
    }
}


@media (max-width: 1200px) {
    .checkout-section--success-page .checkout-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 42px;
    }

    .checkout-section--success-page .checkout-summary {
        padding-left: 36px;
    }
}

@media (max-width: 900px) {
    .checkout-section--success-page .checkout-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .checkout-section--success-page .checkout-summary {
        border-left: none;
        border-top: 1px solid #d8dde8;
        padding: 28px 0 0;
    }
}

@media (max-width: 768px) {
    .checkout-section--success-page .checkout-steps {
        margin-bottom: 32px;
    }

    .checkout-section--success-page .checkout-title {
        font-size: 32px;
    }

    .checkout-section--success-page .checkout-header--success {
        margin-bottom: 42px;
    }

    .checkout-section--success-page .order-success {
        margin-bottom: 42px;
    }

    .checkout-section--success-page .order-success__title {
        font-size: 24px;
    }

    .checkout-section--success-page .checkout-form__btn,
    .checkout-section--success-page .checkout-form__btn--back {
        width: 100%;
        min-width: 0;
    }
}


/* Product page card — mobile mockup */
@media (max-width: 768px) {
    .product-page {
        padding: 16px 0 40px;
    }

    .product-page .product-page__container {
        padding: 0 16px;
    }

    .product-page .product {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 20px 0 36px;
        max-width: 100%;
    }

    .product-page .product__info {
        display: contents;
    }

    .product-page .product__title {
        order: 1;
        width: 100%;
        margin: 0 0 18px;
        font-size: 24px;
        line-height: 1.15;
        letter-spacing: -0.01em;
        text-transform: uppercase;
        color: #202235;
    }

    .product-page .product__gallery {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin: 0 0 18px;
        gap: 12px;
    }

    .product-page .product__slider {
        width: 100%;
        max-width: 100%;
        height: 300px;
        min-height: 300px;
        margin: 0;
        border-radius: 20px;
        border-color: #e0e2ea;
    }

    .product-page .product__slide {
        min-height: 0;
        height: 100%;
        padding: 24px 28px;
    }

    .product-page .product__image {
        max-height: 220px;
        max-width: 72%;
    }

    .product-page .product__badge {
        top: 16px;
        left: 16px;
    }

    .product-page .product__thumbs {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .product-page .product__thumb {
        height: 112px;
        padding: 14px;
        border-radius: 16px;
        border-color: #e0e2ea;
    }

    .product-page .product__thumb-img {
        max-width: 64px;
    }

    .product-page .product__gallery-progress {
        display: block;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: 3px !important;
        min-height: 0 !important;
        max-height: 3px !important;
        margin-top: 4px;
        flex-shrink: 0;
        background: #eceef3 !important;
        border-radius: 999px;
        overflow: hidden;
    }

    .product-page .product__gallery-progress.product__gallery-progress--hidden,
    .product-page .product__gallery-progress[hidden] {
        display: none !important;
    }

    .product-page .product__gallery-progress.swiper-pagination-progressbar {
        height: 3px !important;
        background: #eceef3 !important;
    }

    .product-page .product__gallery-progress .swiper-pagination-progressbar-fill {
        background: #b7bcc9 !important;
        border-radius: 999px;
        height: 100% !important;
    }

    .product-page .product__meta-head {
        order: 3;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        margin: 0 0 18px;
        position: static;
    }

    .product-page .product__meta-head .product__rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin: 0;
        width: auto;
        flex: 1 1 auto;
    }

    .product-page .product__meta-head .product__stars {
        gap: 6px;
    }

    .product-page .product__meta-head .product__star {
        width: 20px;
        height: 20px;
    }

    .product-page .product__meta-head .product__rating-text {
        font-size: 14px;
        line-height: 1.3;
        color: #a3a7b7;
    }

    .product-page .product__meta-head .product__wishlist {
        position: static;
        margin: 2px 0 0;
        padding: 4px;
        flex: 0 0 auto;
    }

    .product-page .product__description {
        order: 4;
        width: 100%;
        max-width: none;
        margin: 0 0 16px;
        font-size: 14px;
        line-height: 1.55;
        color: #303344;
    }

    .product-page .product__availability {
        order: 5;
        width: 100%;
        margin: 0 0 18px;
        font-size: 14px;
        color: #b5b8c7;
    }

    .product-page .product__doctor-block,
    .product-page .product__buyer-block {
        order: 6;
        width: 100%;
    }

    .product-page .product__price,
    .product-page .product__price-note {
        width: 100%;
        margin: 0 0 18px;
        font-size: 13px;
        line-height: 1.35;
        letter-spacing: 0;
        text-transform: uppercase;
        color: #202235;
    }

    .product-page .product__price {
        font-size: 24px;
        text-transform: none;
    }

    .product-page .product__doctor-block .product__form.cart,
    .product-page .product__buyer-block {
        width: 100%;
    }

    .product-page .product__quantity {
        width: 100%;
        max-width: none;
        height: 48px;
        margin: 0 0 14px;
        justify-content: space-between;
    }

    .product-page .product__quantity-btn {
        width: 56px;
        height: 48px;
    }

    .product-page .product__quantity-input {
        flex: 1 1 auto;
        width: auto;
        height: 48px;
        font-size: 16px;
    }

    .product-page .product__btn {
        width: 100%;
        max-width: none;
        min-height: 54px;
        margin: 0 0 28px;
        padding: 15px 24px;
        font-size: 16px;
    }

    .product-page .product-tabs {
        order: 7;
        width: 100%;
        max-width: none;
        margin-top: 0;
    }

    .product-page .product-tabs__header {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-bottom: 0;
        border-bottom: 0;
    }

    .product-page .product-tabs__tab {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 18px 0;
        border: 0;
        border-bottom: 1px solid #e0e2ea;
        font-size: 14px;
        font-weight: 400;
        color: #a0a4b3;
        text-align: left;
    }

    .product-page .product-tabs__tab--active {
        color: #202235;
        font-weight: 700;
    }

    .product-page .product-tabs__icon {
        display: inline-block;
        flex-shrink: 0;
    }

    .product-page .product-tabs__icon--plus {
        font-size: 22px;
        line-height: 1;
        color: inherit;
    }

    .product-page .product-tabs__header .product-tabs__panel {
        width: 100%;
        padding: 0 0 12px;
        border-bottom: 1px solid #e0e2ea;
    }

    .product-page .product-tabs__content:empty {
        display: none;
    }

    .product-page .product-tabs__tab--active .product-tabs__icon--plus {
        transform: rotate(0deg);
    }

    .product-page .product-tabs__content {
        width: 100%;
        max-width: none;
        padding-top: 0;
    }

    .product-page .product-tabs__panel {
        padding: 16px 0 8px;
        font-size: 14px;
        line-height: 1.5;
    }

    .product-page .product-tabs__panel:not(.product-tabs__panel--active) {
        display: none;
    }
}

@media (max-width: 420px) {
    .product-page .product__title {
        font-size: 22px;
    }

    .product-page .product__slider {
        height: 270px;
        min-height: 270px;
    }

    .product-page .product__thumb {
        height: 96px;
        padding: 10px;
    }
}

/* Similar products — mobile mockup */
@media (max-width: 768px) {
    .similar-products {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 20px 0 24px;
        background: #fff;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        box-sizing: border-box;
    }

    .similar-products__container {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .similar-products__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-bottom: 18px;
    }

    .similar-products__title {
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 1.25;
        letter-spacing: -0.011em;
        color: #000000;
        text-transform: none;
    }

    .similar-products__slider,
    .similar-products__slider.swiper,
    .similar-products .swiper {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        overflow: hidden;
        width: 100%;
    }

    .similar-products__slider .swiper-wrapper {
        align-items: stretch;
    }

    .similar-products__slider .swiper-slide {
        padding-bottom: 0;
        height: auto !important;
        min-height: 166px;
        align-self: stretch;
        box-sizing: border-box;
        display: flex;
    }

    .similar-products__slider .swiper-slide > .product-card {
        flex: 1 1 auto;
        width: 100%;
        height: 166px;
        min-height: 166px;
        max-height: 166px;
    }

    .similar-products__controls {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 18px;
        width: 100%;
    }

    .similar-products__progress-wrapper {
        display: block;
        position: relative;
        width: 100%;
        height: 2px;
        background: #e3e6ef;
        border-radius: 2px;
        overflow: hidden;
    }

    .similar-products__progress.swiper-pagination-progressbar {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: #e3e6ef !important;
        border-radius: 2px !important;
    }

    .similar-products__progress .swiper-pagination-progressbar-fill {
        background: #2a2e46 !important;
        border-radius: 2px !important;
    }

    .similar-products__nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .similar-products__pagination {
        justify-self: center;
        display: inline-block;
        min-width: 52px;
    }

    .similar-products__btn {
        width: 100% !important;
        min-width: 0;
        height: 52px !important;
        border: 1px solid #d8dbe6;
        border-radius: 999px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .similar-products__btn--prev {
        justify-self: start;
    }

    .similar-products__btn--next {
        justify-self: end;
    }

    .similar-products__btn img {
        width: 22px;
        height: auto;
        display: block;
    }

    .similar-products .product-card {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 126px 28px;
        grid-template-areas:
            "frame"
            "title";
        gap: 6px;
        width: 100%;
        height: 166px;
        min-height: 166px;
        max-height: 166px;
        background: transparent;
        border: 0;
        border-radius: 0;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    .similar-products .product-card__face-slot {
        display: none !important;
    }

    .similar-products .product-card__inner {
        display: contents !important;
    }

    .similar-products .product-card__badge {
        grid-area: frame;
        align-self: start;
        justify-self: start;
        position: relative;
        top: auto;
        left: auto;
        margin: 12px 0 0 12px;
        z-index: 4;
        background: #fff;
        border: 1px solid #1a1a1a;
        border-radius: 999px;
        padding: 4px 12px;
        font-family: "Golos Text", sans-serif;
        font-size: 11px;
        font-weight: 400;
        line-height: 1.2;
        color: #1a1a1a;
        opacity: 1;
    }

    .similar-products .product-card__wishlist {
        grid-area: frame;
        align-self: start;
        justify-self: end;
        position: relative;
        top: auto;
        right: auto;
        margin: 6px 6px 0 0;
        z-index: 4;
        width: 32px;
        height: 32px;
        border: 1px solid #d7dce7;
        border-radius: 10px;
        background: #fff;
        color: #8a8fa5;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .similar-products .product-card__wishlist svg {
        width: 16px;
        height: 16px;
    }

    .similar-products .product-card__wishlist--active {
        color: #9195AD !important;
    }

    .similar-products .product-card__wishlist--active svg {
        fill: #9195AD !important;
        stroke: #9195AD !important;
    }

    .similar-products .product-card__image {
        grid-area: frame;
        position: relative;
        flex: none;
        width: 100%;
        height: 126px;
        min-height: 126px;
        max-height: 126px;
        margin: 0;
        padding: 10px 8px;
        border: 1px solid #d7dce7;
        border-radius: 16px;
        background: #fff;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .similar-products .product-card__image img,
    .similar-products .product-card__img {
        max-width: 88%;
        max-height: 88%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .similar-products .product-card__overlay,
    .similar-products .product-card__actions {
        display: none !important;
    }

    .similar-products .product-card__meta {
        grid-area: title;
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0 2px;
        margin: 0;
        height: 28px;
        min-height: 28px;
        max-height: 28px;
        overflow: hidden;
    }

    .similar-products .product-card__meta .product-card__title {
        margin: 0;
        padding: 0;
        font-size: 10px !important;
        font-weight: 700;
        line-height: 1.3;
        color: #1f2230;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        min-height: calc(10px * 1.3 * 2);
        max-height: calc(10px * 1.3 * 2);
    }

    .similar-products .product-card__price,
    .similar-products .product-card__overlay-price {
        display: none !important;
    }
}

/* Recently viewed — mobile mockup */
@media (max-width: 768px) {
    .recently-viewed {
        margin-top: 48px;
        margin-bottom: 48px;
    }

    .recently-viewed__container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .recently-viewed__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-bottom: 18px;
    }

    .recently-viewed__title {
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 36px;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: -0.011em;
        color: #000000;
        text-transform: none;
    }

    .recently-viewed__slider,
    .recently-viewed__slider.swiper {
        padding-bottom: 0;
        margin-bottom: 0;
        overflow: hidden;
        width: 100%;
    }

    .recently-viewed__slider .swiper-wrapper {
        align-items: stretch;
    }

    .recently-viewed__slider .swiper-slide {
        padding-bottom: 0;
        height: auto;
        box-sizing: border-box;
    }

    .recently-viewed__controls {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 18px;
        width: 100%;
    }

    .recently-viewed__progress-wrapper {
        display: block;
        position: relative;
        width: 100%;
        height: 2px;
        background: #e3e6ef;
        border-radius: 2px;
        overflow: hidden;
    }

    .recently-viewed__progress.swiper-pagination-progressbar {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: #e3e6ef !important;
        border-radius: 2px !important;
    }

    .recently-viewed__progress .swiper-pagination-progressbar-fill {
        background: #2a2e46 !important;
        border-radius: 2px !important;
    }

    .recently-viewed__nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .recently-viewed__pagination {
        justify-self: center;
        display: inline-block;
        min-width: 52px;
    }

    .recently-viewed__btn {
        width: 100% !important;
        min-width: 0;
        height: 52px !important;
        border: 1px solid #d8dbe6;
        border-radius: 999px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .recently-viewed__btn--prev {
        justify-self: start;
    }

    .recently-viewed__btn--next {
        justify-self: end;
    }

    .recently-viewed__btn img {
        width: 22px;
        height: auto;
        display: block;
    }

    .recently-viewed .product-card {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 7px;
        width: 100%;
        height: auto;
        background: transparent;
        border: 0;
        border-radius: 0;
        padding: 0;
        overflow: visible;
    }

    .recently-viewed .product-card__inner {
        display: contents !important;
    }

    .recently-viewed .product-card__badge {
        grid-row: 1;
        grid-column: 1;
        align-self: start;
        justify-self: start;
        position: relative;
        top: auto;
        left: auto;
        margin: 12px 0 0 12px;
        z-index: 4;
        background: #fff;
        border: 1px solid #1a1a1a;
        border-radius: 999px;
        padding: 4px 12px;
        font-family: "Golos Text", sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.2;
        color: #1a1a1a;
        opacity: 1;
    }

    .recently-viewed .product-card__wishlist {
        grid-row: 1;
        grid-column: 1;
        align-self: start;
        justify-self: end;
        position: relative;
        top: auto;
        right: auto;
        margin: 6px 6px 0 0;
        z-index: 4;
        width: 32px;
        height: 32px;
        border: 1px solid #d7dce7;
        border-radius: 10px;
        background: #fff;
        color: #8a8fa5;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .recently-viewed .product-card__wishlist svg {
        width: 16px;
        height: 16px;
    }

    .recently-viewed .product-card__wishlist--active {
        color: #9195AD !important;
    }

    .recently-viewed .product-card__wishlist--active svg {
        fill: #9195AD !important;
        stroke: #9195AD !important;
    }

    .recently-viewed .product-card__image {
        grid-row: 1;
        grid-column: 1;
        position: relative;
        flex: none;
        width: 100%;
        height: 140px;
        min-height: 140px;
        margin: 0;
        padding: 12px 10px;
        border: 1px solid #d7dce7;
        border-radius: 16px;
        background: #fff;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .recently-viewed .product-card__image img,
    .recently-viewed .product-card__img {
        max-width: 88%;
        max-height: 88%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .recently-viewed .product-card__overlay,
    .recently-viewed .product-card__actions {
        display: none !important;
    }

    .recently-viewed .product-card__meta {
        grid-row: 2;
        grid-column: 1;
        display: block !important;
        padding: 0 2px;
        margin: 0;
    }

    .recently-viewed .product-card__meta .product-card__title {
        margin: 0;
        padding: 0;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.25;
        color: #1f2230;
        min-height: 0;
    }

    .recently-viewed .product-card__price,
    .recently-viewed .product-card__overlay-price {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .error-404-page {
        min-height: calc(100vh - var(--topbar-height) - var(--nav-height));
        padding: 95px 20px 365px;
    }

    .error-404-page__icon {
        margin-bottom: 28px;
    }

    .error-404-page__icon-img {
        width: 127px;
        height: 127px;
    }

    .error-404-page__title {
        max-width: 100%;
        font-size: 54px;
        line-height: 1.15;
    }

    .error-404-page__text {
        margin-top: 16px;
        max-width: 400px;
        font-size: 26px;
        line-height: 1.45;
    }

    .error-404-page__btn {
        width: 100%;
        max-width: 320px;
        min-width: 0;
        height: 50px;
        margin-top: 32px;
        font-size: 25px;
    }
}

/* Unified product-card look on mobile/tablet (recently viewed only) */
@media (max-width: 768px) {
    .recently-viewed .product-card__inner {
        border-radius: 20px;
        width: 100%;
        height: auto;
        aspect-ratio: 304 / 362;
    }

    .recently-viewed .product-card__overlay {
        padding: 16px;
    }

    .recently-viewed .product-card__desc {
        font-size: 12px;
        padding-right: 28px;
    }

    .recently-viewed .product-card__image {
        padding: 18px;
    }

    .recently-viewed .product-card__image img,
    .recently-viewed .product-card__img {
        max-width: 62%;
        max-height: 62%;
    }

    .recently-viewed .product-card__cart-btn,
    .recently-viewed .product-card__btn {
        min-height: 44px;
        font-size: 14px;
    }

    .recently-viewed .product-card__meta .product-card__title {
        font-size: 14px;
    }

    .recently-viewed .product-card__price,
    .recently-viewed .product-card__overlay-price {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__meta .product-card__title,
    .recently-viewed .product-card__meta .product-card__title {
        font-size: 13px;
    }

    .catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__price,
    .recently-viewed .product-card__price {
        font-size: 13px;
        max-width: 46%;
        white-space: normal;
        word-break: break-word;
    }
}

/* Catalog: mobile access section — photo flush to footer (same as home mockup) */
@media (max-width: 991px) {
    .page-template-page-catalog .access-section--catalog {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        overflow: hidden;
    }

    .page-template-page-catalog .access-section--catalog > .container,
    .page-template-page-catalog .access-section--catalog .access-section__container {
        max-width: 100%;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .page-template-page-catalog .access-section--catalog > .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-template-page-catalog .access-section--catalog .access-section__container {
        flex-direction: column !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }

    .page-template-page-catalog .access-section--catalog .access-section__content {
        order: 1;
        padding: 40px 20px !important;
    }

    .page-template-page-catalog .access-section--catalog .access-section__image-wrapper {
        order: 2;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 420px !important;
        min-height: 420px !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        margin-bottom: 0 !important;
        line-height: 0 !important;
        position: relative !important;
        overflow: hidden !important;
        border-radius: 24px !important;
    }

    .page-template-page-catalog .access-section--catalog .access-section__image {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center bottom !important;
        display: block !important;
        border-radius: 24px !important;
    }

    .page-template-page-catalog .access-section--catalog .access-section__button {
        width: auto;
        min-width: 320px;
        max-width: 360px;
        padding: 12px 48px;
        text-align: center;
    }

    .page-template-page-catalog .site-main {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

}


/* Catalog grid — mobile/tablet (Figma 1921:4389): frame, title, button */
@media (max-width: 991px) {
    .catalog-page__grid > .product-card {
        display: grid !important;
        grid-template-areas:
            "frame"
            "title"
            "cta";
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 10px;
        width: 100%;
        height: auto;
        background: transparent;
        border: 0;
        border-radius: 0;
        padding: 0;
        overflow: visible;
    }

    .catalog-page__grid > .product-card[data-product-url]:not([data-product-url=""]) {
        cursor: pointer !important;
    }

    .catalog-page__grid > .product-card .product-card__face-slot {
        display: none !important;
    }

    .catalog-page__grid > .product-card .product-card__inner {
        display: contents !important;
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        border: 0 !important;
        background: transparent !important;
    }

    .catalog-page__grid > .product-card .product-card__overlay {
        display: contents !important;
        position: static !important;
        inset: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: none !important;
        background: transparent !important;
    }

    .catalog-page__grid > .product-card .product-card__inner:hover .product-card__overlay,
    .catalog-page__grid > .product-card.product-card--active .product-card__overlay {
        background: transparent !important;
        pointer-events: none !important;
    }

    .catalog-page__grid > .product-card .product-card__overlay-top,
    .catalog-page__grid > .product-card .product-card__info,
    .catalog-page__grid > .product-card .product-card__stars,
    .catalog-page__grid > .product-card .product-card__tags,
    .catalog-page__grid > .product-card .product-card__overlay-price {
        display: none !important;
    }

    .catalog-page__grid > .product-card .product-card__image {
        grid-area: frame;
        position: relative;
        inset: auto;
        flex: none;
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 14px 12px;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        background: #fff;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1 !important;
        pointer-events: none;
    }

    .catalog-page__grid > .product-card.product-card--large-left .product-card__image,
    .catalog-page__grid > .product-card.product-card--large-right .product-card__image {
        aspect-ratio: auto;
        height: 200px;
        min-height: 200px;
        padding: 18px 16px;
        border-radius: 20px;
    }

    .catalog-page__grid > .product-card .product-card__image img,
    .catalog-page__grid > .product-card .product-card__img {
        max-width: 82% !important;
        max-height: 82% !important;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .catalog-page__grid > .product-card.product-card--large-left .product-card__image img,
    .catalog-page__grid > .product-card.product-card--large-right .product-card__image img,
    .catalog-page__grid > .product-card.product-card--large-left .product-card__img,
    .catalog-page__grid > .product-card.product-card--large-right .product-card__img {
        max-width: 88% !important;
        max-height: 88% !important;
    }

    .catalog-page__grid > .product-card .product-card__badge {
        grid-area: frame;
        align-self: start;
        justify-self: start;
        position: relative;
        top: auto;
        left: auto;
        margin: 10px 0 0 10px;
        z-index: 4;
        background: #fff;
        border: 1px solid #1e1e2b;
        border-radius: 999px;
        padding: 4px 10px;
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 11px;
        font-weight: 400;
        line-height: 1.2;
        color: #1e1e2b;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .catalog-page__grid > .product-card.product-card--large-left .product-card__badge,
    .catalog-page__grid > .product-card.product-card--large-right .product-card__badge {
        display: none !important;
    }

    .catalog-page__grid > .product-card .product-card__inner:hover .product-card__badge,
    .catalog-page__grid > .product-card.product-card--active .product-card__badge {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .catalog-page__grid > .product-card .product-card__wishlist {
        grid-area: frame;
        align-self: start;
        justify-self: end;
        position: relative;
        top: auto;
        right: auto;
        margin: 8px 8px 0 0;
        z-index: 4;
        width: 30px;
        height: 30px;
        border: 1px solid #d7dce7;
        border-radius: 50%;
        background: #fff;
        color: #8a8fa5 !important;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
    }

    .catalog-page__grid > .product-card .product-card__wishlist svg {
        width: 15px;
        height: 15px;
    }

    .catalog-page__grid > .product-card .product-card__wishlist--active {
        color: #9195AD !important;
    }

    .catalog-page__grid > .product-card .product-card__wishlist--active svg {
        fill: #9195AD !important;
        stroke: #9195AD !important;
    }

    .catalog-page__grid > .product-card .product-card__meta {
        grid-area: title;
        display: block !important;
        padding: 0 2px;
        margin: 0;
        min-height: 0;
    }

    .catalog-page__grid > .product-card.product-card--large-left .product-card__meta,
    .catalog-page__grid > .product-card.product-card--large-right .product-card__meta {
        display: none !important;
    }

    .catalog-page__grid > .product-card .product-card__meta .product-card__title {
        margin: 0;
        padding: 0;
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.35;
        letter-spacing: -0.01em;
        color: #1e1e2b;
        min-height: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .catalog-page__grid > .product-card .product-card__price {
        display: none !important;
    }

    .catalog-page__grid > .product-card .product-card__actions {
        grid-area: cta;
        display: block !important;
        margin: 0;
        padding: 0;
        gap: 0;
        pointer-events: auto;
    }

    .catalog-page__grid > .product-card .product-card__cart-btn,
    .catalog-page__grid > .product-card .product-card__btn {
        width: 100%;
        min-height: 44px;
        margin: 0;
        padding: 12px 16px;
        border: 0;
        border-radius: 999px;
        background: #1e1e2b !important;
        color: #fff !important;
        font-family: "Golos Text VF", "Golos Text", sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.2;
        text-align: center;
        cursor: pointer;
        pointer-events: auto;
    }

    .catalog-page__grid > .product-card.product-card--large-left .product-card__cart-btn,
    .catalog-page__grid > .product-card.product-card--large-left .product-card__btn,
    .catalog-page__grid > .product-card.product-card--large-right .product-card__cart-btn,
    .catalog-page__grid > .product-card.product-card--large-right .product-card__btn {
        min-height: 48px;
        font-size: 14px;
        padding: 14px 20px;
    }

    .catalog-page__grid > .product-card .product-card__cart-btn:hover,
    .catalog-page__grid > .product-card .product-card__btn:hover {
        background: #2a2d3d !important;
        color: #fff !important;
    }

    .catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner:hover .product-card__overlay,
    .catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right).product-card--active .product-card__overlay,
    .catalog-page__grid > .product-card.product-card--large-left .product-card__inner:hover .product-card__overlay,
    .catalog-page__grid > .product-card.product-card--large-left.product-card--active .product-card__overlay,
    .catalog-page__grid > .product-card.product-card--large-right .product-card__inner:hover .product-card__overlay,
    .catalog-page__grid > .product-card.product-card--large-right.product-card--active .product-card__overlay {
        background: transparent !important;
        background-color: transparent !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner:hover .product-card__image,
    .catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right).product-card--active .product-card__image,
    .catalog-page__grid > .product-card.product-card--large-left .product-card__inner:hover .product-card__image,
    .catalog-page__grid > .product-card.product-card--large-left.product-card--active .product-card__image,
    .catalog-page__grid > .product-card.product-card--large-right .product-card__inner:hover .product-card__image,
    .catalog-page__grid > .product-card.product-card--large-right.product-card--active .product-card__image {
        opacity: 1 !important;
    }

    .catalog-page__footer {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 24px;
    }

    .catalog-page__load-more {
        width: 100%;
        max-width: 300px;
        min-width: 0;
        min-height: 48px;
        padding: 12px 24px;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
        border-radius: 999px;
    }

    .catalog-page__pagination {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .catalog-page__page-btn,
    .catalog-page__page-number {
        font-size: 16px;
    }

    .page-template-page-catalog .catalog-page__grid > .product-card .product-card__meta .product-card__title,
    .page-template-page-catalog .catalog-page__grid > .product-card .product-card__title {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.35;
    }
}

/* Similar products — mobile final overrides (equal card height + compact type) */
@media (max-width: 768px) {
    .similar-products__title {
        font-size: 24px !important;
        line-height: 1.25 !important;
    }

    .similar-products .product-card__inner {
        display: contents !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        aspect-ratio: auto !important;
        height: auto !important;
    }

    .similar-products .product-card__image {
        padding: 10px 8px !important;
    }

    .similar-products .product-card__image img,
    .similar-products .product-card__img {
        max-width: 88% !important;
        max-height: 88% !important;
    }

    .similar-products .product-card__meta .product-card__title {
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }
}

.recently-viewed__empty {
    margin: 0;
    padding: 8px 2px 0;
    font-family: "Golos Text", sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #8a8fa5;
}

.recently-viewed--empty .recently-viewed__header {
    margin-bottom: 12px;
}

/* Similar + Recently: keep ПРОДУКТИ card structure on mobile (override compact mockups) */
@media (max-width: 768px) {
    .similar-products .product-card,
    .recently-viewed .product-card {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        grid-template-areas: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        gap: 10px !important;
        overflow: visible !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }

    .similar-products .product-card__inner,
    .recently-viewed .product-card__inner {
        display: flex !important;
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 304 / 362 !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 20px !important;
        background: #fff !important;
        overflow: hidden !important;
    }

    .similar-products .product-card__image,
    .recently-viewed .product-card__image {
        position: absolute !important;
        inset: 0 !important;
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 18px !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        grid-area: unset !important;
    }

    .similar-products .product-card__overlay,
    .similar-products .product-card__actions,
    .recently-viewed .product-card__overlay,
    .recently-viewed .product-card__actions {
        display: flex !important;
    }

    .similar-products .product-card__price,
    .similar-products .product-card__overlay-price,
    .recently-viewed .product-card__price,
    .recently-viewed .product-card__overlay-price {
        display: block !important;
    }

    .similar-products__slider .swiper-slide > .product-card,
    .recently-viewed__slider .swiper-slide > .product-card {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .similar-products .product-card__meta .product-card__title,
    .recently-viewed .product-card__meta .product-card__title {
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1.35 !important;
    }
}
