:root {
    --black: #18091D;
    --grey: #7F7582;
    --line: #EBE7ED;
    --indigo: #390894;
    --orange: #FD5B03;
    --bg: #F7F7F7;
    --container: 1536px;
    --wide: 1696px;
}

.catalog-hero {
    width: var(--container);
    margin: 64px auto 0;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--line);
}

.catalog-hero h1 {
    margin: 0;
    color: var(--black);
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.05em;
}

.catalog-intro {
    display: grid;
    grid-template-columns: 620px 408px;
    justify-content: space-between;
    gap: 80px;
    margin-top: 64px;
}

.catalog-intro__description {
    min-width: 0;
    color: var(--black);
    font-size: 20px;
    line-height: 1.4;
}

.catalog-intro--section {
    display: block;
}

.catalog-intro--section .catalog-intro__description {
    width: min(100%, 1040px);
}

.catalog-intro__description img {
    max-width: 100%;
    height: auto;
}

.catalog-intro__description p {
    margin: 0;
    color: var(--black);
    line-height: inherit;
}

.catalog-intro__description p + p,
.catalog-intro__description ul + p,
.catalog-intro__description ol + p {
    margin-top: 20px;
}

.catalog-intro__description ul,
.catalog-intro__description ol {
    margin: 16px 0 0;
    padding-left: 28px;
}

.catalog-intro__description li + li {
    margin-top: 10px;
}

.catalog-intro__description li p {
    margin: 0;
}

.catalog-intro > p {
    margin: 0;
    color: var(--black);
    font-size: 16px;
    line-height: 1.4;
}

.catalog-section {
    width: var(--container);
    margin: 64px auto 0;
}

.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 64px;
}

.catalog-filters button {
    min-width: 98px;
    height: 54px;
    padding: 0 32px;
    color: var(--black);
    background: #fff;
    border: 1px solid var(--black);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.catalog-filters button span {
    color: var(--grey);
    transition: color .18s ease;
}

.catalog-filters button:hover {
    color: #fff;
    background: var(--brand-gradient-action-hover);
    border-color: transparent;
    box-shadow: var(--brand-shadow);
    transform: translateY(-1px);
}

.catalog-filters button:hover span,
.catalog-filters button.is-active span {
    color: rgba(255, 255, 255, .7);
}

.catalog-filters button:active {
    transform: translateY(1px);
    box-shadow: none;
}

.catalog-filters button.is-active {
    color: #fff;
    background: var(--brand-gradient-action);
    border-color: transparent;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.catalog-card {
    min-height: 278px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: #fff;
    border: 1px solid #F0ECF2;
    border-radius: 16px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, opacity .2s ease;
}

.catalog-card:hover {
    border-color: rgba(57, 8, 148, .18);
    box-shadow: 0 28px 56px rgba(24, 9, 29, .09);
    transform: translateY(-3px);
}

.catalog-card.is-hidden {
    display: none;
}

.catalog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 56px;
}

.catalog-tags span {
    display: inline-flex;
    align-items: center;
    height: 27px;
    padding: 0 12px;
    color: var(--grey);
    background: rgba(127, 117, 130, .08);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}

.catalog-card h2 {
    margin: 0 0 24px;
    color: var(--black);
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
}

.catalog-card p {
    margin: auto 0 0;
    color: var(--grey);
    font-size: 16px;
    line-height: 1.4;
}

.catalog-hero--section {
    padding-bottom: 56px;
}

.catalog-section--products .catalog-filters {
    margin-bottom: 32px;
}

.catalog-products-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 64px 0 32px;
}

.catalog-products-head h2 {
    margin: 0;
    color: var(--black);
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
}

.catalog-products-head span {
    color: var(--grey);
    font-size: 18px;
    font-weight: 500;
}

.catalog-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.catalog-product-card {
    min-height: 278px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #F0ECF2;
    border-radius: 16px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.catalog-product-card:hover {
    border-color: rgba(57, 8, 148, .18);
    box-shadow: 0 28px 56px rgba(24, 9, 29, .09);
    transform: translateY(-3px);
}

.catalog-product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 118px;
    padding: 16px;
    background: #F7F7F7;
}

.catalog-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalog-product-card__body {
    min-height: 160px;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.catalog-product-card__title {
    color: var(--black);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
}

.catalog-product-card__body p {
    margin: 18px 0 0;
    color: var(--grey);
    font-size: 15px;
    line-height: 1.45;
}

.catalog-product-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 28px;
}

.catalog-product-card__bottom strong {
    color: var(--black);
    font-size: 18px;
    font-weight: 600;
}

.catalog-price-period {
    display: inline-block;
    margin-left: 5px;
    color: var(--grey);
    font-size: .62em;
    font-weight: 600;
    letter-spacing: -.015em;
    white-space: nowrap;
}

.catalog-billing-notice {
    position: relative;
    isolation: isolate;
    margin-top: 34px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 24px 28px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 8%, rgba(253, 91, 3, .46), transparent 34%),
        var(--brand-gradient-panel);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    box-shadow: 0 20px 48px rgba(57, 8, 148, .18);
    overflow: hidden;
}

.catalog-billing-notice__period {
    min-width: 104px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #fff;
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.catalog-billing-notice strong {
    display: block;
    color: #fff;
    font-size: 21px;
    font-weight: 750;
}

.catalog-billing-notice p {
    max-width: 940px;
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    line-height: 1.4;
}

.catalog-services-promo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 56px;
    align-items: center;
    padding: 44px 40px;
    background: #fff;
    border: 1px solid #F0ECF2;
    border-radius: 16px;
}

.catalog-services-promo__content h2 {
    margin: 0;
    color: var(--black);
    font-size: 38px;
    font-weight: 500;
    line-height: 1.08;
}

.catalog-services-promo__content p {
    max-width: 900px;
    margin: 20px 0 0;
    color: #665E69;
    font-size: 18px;
    line-height: 1.6;
}

.catalog-services-promo__actions {
    display: grid;
    border-top: 1px solid #E9E5EB;
}

.catalog-services-promo__actions a {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 2px;
    color: var(--black);
    background: transparent;
    border-bottom: 1px solid #E9E5EB;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    transition:
        color .18s ease,
        border-color .18s ease;
}

.catalog-services-promo__actions a:last-child {
    border-bottom: 0;
}

.catalog-services-promo__actions a > span:last-child {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    color: var(--indigo);
    background: #F7F7F7;
    border: 1px solid #ECE8EF;
    border-radius: 50%;
    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.catalog-services-promo__actions a:hover {
    color: var(--indigo);
}

.catalog-services-promo__actions a:hover > span:last-child {
    color: #fff;
    background: var(--indigo);
    border-color: var(--indigo);
    transform: translateX(2px);
}

.catalog-services-promo__actions a:focus-visible {
    outline: 3px solid rgba(57, 8, 148, .18);
    outline-offset: 4px;
    border-radius: 6px;
}

.catalog-section--products .catalog-grid + .catalog-services-promo {
    margin-top: 48px;
}

.catalog-services-promo + .catalog-products-head {
    margin-top: 52px;
}

.catalog-services-promo--detail {
    width: var(--container);
    margin: 72px auto 0;
}

.catalog-services-promo--detail + .product-details {
    margin-top: 72px;
}

@media (max-width: 640px) {
    .catalog-billing-notice {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 26px;
        padding: 20px;
        border-radius: 18px;
    }

    .catalog-billing-notice__period {
        width: fit-content;
        min-width: 0;
        min-height: 42px;
    }

    .catalog-billing-notice strong {
        font-size: 19px;
    }

    .catalog-billing-notice p {
        font-size: 13px;
    }
}

.catalog-product-card__bottom a,
.catalog-product-detail__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    color: #fff;
    background: var(--brand-gradient-action);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: background .18s ease, transform .18s ease;
}

.product-hero,
.product-details,
.product-offers,
.popular-products {
    width: var(--container);
    margin: 0 auto;
}

.product-hero {
    padding-top: 64px;
}

.product-layout {
    display: grid;
    grid-template-columns: 80px 560px 1fr;
    gap: 32px;
    align-items: start;
}

.product-thumbs-nav {
    width: 80px;
    height: 420px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-thumbs-arrow {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--indigo);
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(57, 8, 148, .16);
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(24, 9, 29, .08);
    cursor: pointer;
    touch-action: manipulation;
    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.product-thumbs-arrow[hidden] {
    display: none;
}

.product-thumbs-arrow svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-thumbs-arrow:focus-visible {
    color: #fff;
    background: var(--indigo);
    border-color: var(--indigo);
    box-shadow: 0 10px 22px rgba(57, 8, 148, .2);
    transform: translateY(-1px);
    outline: 2px solid rgba(253, 91, 3, .72);
    outline-offset: 3px;
}

@media (hover: hover) {
    .product-thumbs-arrow:hover {
        color: #fff;
        background: var(--indigo);
        border-color: var(--indigo);
        box-shadow: 0 10px 22px rgba(57, 8, 148, .2);
        transform: translateY(-1px);
    }
}

.product-thumbs-arrow:active {
    transform: translateY(0) scale(.96);
}

.product-thumbs {
    width: 72px;
    display: grid;
    gap: 12px;
    align-content: center;
    justify-items: center;
    touch-action: pan-y;
}

.product-thumbs button {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    padding: 6px;
    overflow: hidden;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(24, 9, 29, .04);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.product-thumbs button:nth-child(n+5) {
    display: none;
}

.product-thumbs.is-rolling-down button,
.product-thumbs.is-rolling-up button {
    animation: productThumbRoll .28s ease both;
}

.product-thumbs.is-rolling-down button {
    --thumb-roll-start: 18px;
}

.product-thumbs.is-rolling-up button {
    --thumb-roll-start: -18px;
}

@keyframes productThumbRoll {
    from {
        opacity: .35;
        transform: translateY(var(--thumb-roll-start, 16px)) scale(.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-thumbs button:hover,
.product-thumbs button.is-active {
    border-color: rgba(57, 8, 148, .28);
    box-shadow: 0 18px 36px rgba(24, 9, 29, .1);
    transform: translateY(-1px);
}

.product-thumbs img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-preview {
    height: 420px;
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 40px;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    touch-action: pan-y;
}

.product-box {
    width: 100%;
    height: 100%;
    max-width: 360px;
    max-height: 320px;
    display: grid;
    place-items: center;
    padding: 20px;
    overflow: visible;
    background: #fff;
    border-radius: 4px;
}

.product-box img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-info {
    padding-left: 86px;
}

.product-info h1 {
    max-width: 560px;
    margin: 0 0 20px;
    color: var(--black);
    font-size: 36px;
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.product-meta-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 28px;
}

.product-availability,
.catalog-pill {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: var(--grey);
    background: rgba(127, 117, 130, .08);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.catalog-pill {
    flex: 0 0 auto;
}

.product-price {
    margin: 30px 0 18px;
}

.product-price strong {
    color: var(--black);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.product-price strong.is-individual {
    max-width: 360px;
    font-size: 20px;
    line-height: 1.25;
}

.product-cart {
    width: 400px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    background: var(--orange);
    border: 0;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.product-cart img {
    width: 18px;
    height: 18px;
}

.product-cart:hover {
    background: #ff6b16;
    box-shadow: 0 18px 36px rgba(245, 99, 21, 0.24);
    transform: translateY(-1px);
}

.product-cart.is-loading,
.offer-card__bottom button.is-loading {
    opacity: .72;
    cursor: wait;
}

.product-cart.is-added,
.offer-card__bottom button.is-added {
    background: var(--indigo);
}

.basket-fly-image {
    position: fixed;
    z-index: 10000;
    width: 22px;
    height: 22px;
    pointer-events: none;
    animation: basketFly .72s cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes basketFly {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }

    75% {
        opacity: .92;
        transform: translate(var(--basket-fly-x), var(--basket-fly-y)) scale(.75);
    }

    100% {
        opacity: 0;
        transform: translate(var(--basket-fly-x), var(--basket-fly-y)) scale(.35);
    }
}

.product-hint {
    margin: 12px 0 0;
    color: var(--grey);
    font-size: 12px;
}

.product-details {
    margin-top: 112px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.product-tabs {
    display: flex;
    gap: 28px;
    margin-bottom: 42px;
}

.product-tabs a {
    position: relative;
    color: var(--grey);
    font-size: 16px;
    font-weight: 500;
    transition: color .18s ease;
}

.product-tabs a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 1px;
    background: transparent;
}

.product-tabs a:hover,
.product-tabs a.is-active {
    color: var(--black);
}

.product-tabs a.is-active::after {
    background: var(--brand-gradient-line);
}

.product-panel {
    display: none;
}

.product-panel.is-active {
    display: grid;
}

.details-grid {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 220px;
    margin-bottom: 80px;
}

.details-grid.product-panel:not(.is-active) {
    display: none;
}

.details-heading h2,
.details-grid > h2,
.product-offers h2,
.popular-products h2 {
    margin: 0;
    color: var(--black);
    font-size: 34px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.05em;
}

.details-heading p {
    margin: 330px 0 0;
    color: var(--black);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.details-copy {
    max-width: 764px;
}

.details-copy p,
.details-copy li,
.features-table p,
.features-table span,
.features-intro p,
.feature-section li {
    color: var(--black);
    font-size: 17px;
    line-height: 1.45;
}

.details-copy p {
    margin: 0 0 18px;
}

.details-copy ul {
    margin: 0 0 18px;
}

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

.details-grid--features.product-panel.is-active {
    display: block;
}

.details-grid--features > h2 {
    margin-bottom: 64px;
}

.features-intro {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 80px;
    margin-bottom: 48px;
}

.features-intro h3,
.feature-section h3 {
    margin: 0;
    color: var(--black);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.15;
}

.features-intro p {
    max-width: 620px;
    margin: 0;
}

.feature-section {
    margin-bottom: 48px;
}

.feature-section h3 {
    margin-bottom: 24px;
}

.features-table div {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    padding: 20px;
    border-bottom: 1px solid var(--line);
}

.features-table div > p {
    padding-left: 48px;
    border-left: 1px solid var(--line);
}

.features-table__head span,
.features-table__head p {
    color: var(--black);
    font-size: 22px;
    font-weight: 500;
}

.features-table span {
    color: var(--grey);
}

.features-table p {
    margin: 0;
}

.feature-section--html {
    color: var(--black);
    font-size: 17px;
    line-height: 1.45;
}

.feature-section--html table {
    width: 100%;
    border-collapse: collapse;
}

.feature-section--html th,
.feature-section--html td {
    padding: 20px;
    border-bottom: 1px solid var(--line);
    color: var(--black);
    font-size: 17px;
    line-height: 1.45;
    text-align: left;
    vertical-align: top;
}

.feature-section--html th {
    color: var(--black);
    font-size: 22px;
    font-weight: 500;
}

.feature-section--html td:first-child,
.feature-section--html th:first-child {
    width: 260px;
    padding-right: 20px;
    color: var(--grey);
}

.feature-section--html td + td,
.feature-section--html th + th {
    padding-left: 20px;
    border-left: 1px solid var(--line);
}

.feature-section--html p {
    margin: 0 0 18px;
}

.feature-section--html ul,
.feature-section--html ol {
    margin: 0 0 18px;
    padding-left: 18px;
}

.feature-section--html li + li {
    margin-top: 7px;
}

.product-offers {
    margin-top: 72px;
}

.product-offers h2 {
    margin-bottom: 32px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.offer-card {
    min-height: 228px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #fff;
    border: 1px solid #F0ECF2;
    border-radius: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.offer-card:hover {
    border-color: rgba(57, 8, 148, .18);
    box-shadow: 0 26px 52px rgba(24, 9, 29, .1);
    transform: translateY(-3px);
}

.offer-card > span {
    align-self: flex-start;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    color: var(--grey);
    background: rgba(127, 117, 130, .08);
    border-radius: 9px;
    font-size: 11px;
}

.offer-card h3 {
    margin: 28px 0 auto;
    color: var(--black);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.16;
}

.offer-card__bottom {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.offer-card__bottom strong {
    color: var(--black);
    font-size: 18px;
    font-weight: 700;
}

.offer-card__bottom strong.is-individual {
    line-height: 1.3;
}

.offer-card__bottom button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: var(--orange);
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.offer-card__bottom button img {
    width: 16px;
    height: 16px;
}

.offer-card__bottom button:hover {
    background: #ff6b16;
    box-shadow: 0 16px 30px rgba(253, 91, 3, .22);
    transform: translateY(-1px);
}

.popular-products {
    margin-top: 88px;
    padding-top: 72px;
    border-top: 1px solid var(--line);
}

.popular-products h2 {
    margin-bottom: 32px;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.popular-card {
    min-height: 264px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #fff;
    border: 1px solid #F0ECF2;
    border-radius: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.popular-card:hover {
    border-color: rgba(57, 8, 148, .18);
    box-shadow: 0 26px 52px rgba(24, 9, 29, .1);
    transform: translateY(-3px);
}

.popular-card > span {
    align-self: flex-start;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    color: var(--grey);
    background: rgba(127, 117, 130, .08);
    border-radius: 9px;
    font-size: 11px;
}

.popular-card > img {
    max-height: 132px;
    object-fit: contain;
    margin: 20px auto;
}

.popular-card h3 {
    margin: auto 0 10px;
    color: var(--black);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.1;
}


.catalog-product-card__bottom a:hover,
.catalog-product-detail__button:hover {
    background: var(--brand-gradient-action-hover);
    transform: translateY(-1px);
}

.catalog-empty {
    padding: 48px;
    background: #fff;
    border: 1px solid #F0ECF2;
    border-radius: 16px;
}

.catalog-empty h2 {
    margin: 0 0 16px;
    font-size: 32px;
    font-weight: 500;
}

.catalog-empty p {
    max-width: 640px;
    margin: 0;
    color: var(--grey);
    font-size: 16px;
    line-height: 1.45;
}

.catalog-pager {
    margin-top: 48px;
}

.catalog-product-detail {
    width: var(--container);
    display: grid;
    grid-template-columns: minmax(0, 580px) minmax(0, 1fr);
    gap: 64px;
    margin: 32px auto 0;
    padding-bottom: 96px;
}

.catalog-product-detail__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    padding: 48px;
    background: #fff;
    border: 1px solid #F0ECF2;
    border-radius: 16px;
}

.catalog-product-detail__image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.catalog-product-detail__content {
    align-self: center;
}

.catalog-product-detail__content h1 {
    margin: 0 0 32px;
    color: var(--black);
    font-size: 56px;
    font-weight: 500;
    line-height: 1;
}

.catalog-product-detail__text {
    color: var(--grey);
    font-size: 18px;
    line-height: 1.5;
}

.catalog-product-detail__price {
    margin: 36px 0 24px;
    color: var(--black);
    font-size: 28px;
    font-weight: 600;
}

.catalog-product-detail__button {
    min-height: 54px;
    padding: 0 32px;
    font-size: 16px;
}


@media (max-width: 1500px) {
    :root {
        --container: min(1200px, calc(100vw - 64px));
        --wide: min(1280px, calc(100vw - 64px));
    }

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

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

    .product-layout {
        grid-template-columns: 72px 430px 1fr;
    }

    .offers-grid,
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 900px) {
    :root {
        --container: calc(100vw - 32px);
        --wide: calc(100vw - 32px);
    }

    .catalog-intro,
    .catalog-grid,
    .catalog-products-grid,
    .catalog-product-detail {
        grid-template-columns: 1fr;
    }

    .catalog-hero h1 {
        font-size: 42px;
    }

    .catalog-filters button {
        width: 100%;
    }

    .catalog-product-detail {
        gap: 28px;
        padding-bottom: 56px;
    }

    .catalog-product-detail__content h1 {
        font-size: 40px;
    }

    .catalog-services-promo {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px;
    }

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

    .details-grid,
    .features-intro,
    .features-table div {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-layout {
        grid-template-columns: 72px minmax(0, 1fr);
        column-gap: 24px;
        row-gap: 28px;
    }

    .product-thumbs-nav {
        grid-column: 1;
        grid-row: 1;
        width: 72px;
        height: 420px;
    }

    .product-preview {
        grid-column: 2;
        grid-row: 1;
    }

    .product-info {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-left: 0;
    }

    .product-info h1,
    .details-heading h2,
    .details-grid > h2,
    .product-offers h2,
    .popular-products h2 {
        font-size: 34px;
    }

    .details-heading p {
        margin-top: 32px;
    }

    .features-table div > p {
        padding-left: 0;
        border-left: 0;
    }

    .feature-section--html td:first-child,
    .feature-section--html th:first-child {
        width: auto;
        padding-right: 20px;
    }

    .feature-section--html td + td,
    .feature-section--html th + th {
        padding-left: 20px;
        border-left: 0;
    }

    .product-cart {
        width: 100%;
    }

    .offers-grid,
    .popular-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --container: calc(100vw - 24px);
        --wide: calc(100vw - 24px);
    }

    body {
        overflow-x: hidden;
    }

    .catalog-hero {
        margin-top: 40px;
        padding-bottom: 36px;
    }

    .catalog-hero h1 {
        font-size: 36px;
        line-height: 1.04;
    }

    .catalog-intro {
        gap: 20px;
        margin-top: 36px;
    }

    .catalog-intro__description,
    .catalog-intro > p {
        font-size: 16px;
    }

    .catalog-section {
        margin-top: 36px;
    }

    .catalog-filters {
        gap: 8px;
        margin-bottom: 28px;
    }

    .catalog-filters button {
        width: 100%;
        height: 48px;
        padding: 0 18px;
        border-radius: 12px;
        font-size: 14px;
    }

    .catalog-grid {
        gap: 12px;
    }

    .catalog-card {
        min-height: 210px;
        padding: 22px;
        border-radius: 14px;
    }

    .catalog-tags {
        margin-bottom: 36px;
    }

    .catalog-card h2 {
        font-size: 24px;
    }

    .catalog-card p {
        font-size: 14px;
    }

    .catalog-products-head {
        align-items: flex-start;
        flex-direction: column;
        margin: 36px 0 20px;
    }

    .catalog-products-head h2,
    .catalog-empty h2 {
        font-size: 28px;
    }

    .catalog-product-card__body {
        min-height: 142px;
        padding: 20px;
    }

    .catalog-product-card__title {
        font-size: 20px;
    }

    .catalog-product-card__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-empty {
        padding: 28px;
    }

    .catalog-product-detail__image {
        min-height: 280px;
        padding: 28px;
    }

    .catalog-product-detail__content h1 {
        font-size: 34px;
    }

    .catalog-services-promo {
        gap: 24px;
        padding: 24px;
        border-radius: 14px;
    }

    .catalog-services-promo__content h2 {
        font-size: 30px;
    }

    .catalog-services-promo__content p {
        margin-top: 14px;
        font-size: 16px;
        line-height: 1.55;
    }

    .catalog-services-promo--detail {
        margin-top: 52px;
    }

    .product-hero {
        padding-top: 40px;
    }

    .product-layout {
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 10px;
        row-gap: 24px;
    }

    .product-preview {
        height: 320px;
        min-height: 320px;
        padding: 24px;
        border-radius: 18px;
    }

    .product-thumbs-nav {
        width: 56px;
        height: 320px;
        gap: 6px;
    }

    .product-thumbs-arrow {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        border-radius: 9px;
    }

    .product-box {
        width: 100%;
        height: 100%;
        min-height: 0;
        max-width: 250px;
        max-height: 272px;
        padding: 12px;
    }

    .product-thumbs {
        width: 52px;
        gap: 6px;
    }

    .product-thumbs button {
        width: 52px;
        height: 52px;
        padding: 5px;
        border-radius: 10px;
    }

    .product-info h1 {
        max-width: none;
        font-size: 32px;
        line-height: 1.05;
    }

    .product-availability,
    .catalog-pill {
        min-height: 26px;
        padding: 0 10px;
        font-size: 11px;
    }

    .product-price strong {
        font-size: 34px;
    }

    .product-cart {
        height: 58px;
        border-radius: 14px;
    }

    .product-details {
        margin-top: 64px;
        padding-top: 24px;
    }

    .product-tabs {
        gap: 20px;
        margin-bottom: 34px;
    }

    .details-grid {
        gap: 28px;
        margin-bottom: 56px;
    }

    .details-heading p {
        margin-top: 28px;
        font-size: 22px;
    }

    .details-copy p,
    .details-copy li,
    .features-table p,
    .features-table span,
    .features-intro p,
    .feature-section li {
        font-size: 14px;
    }

    .details-grid--features > h2 {
        margin-bottom: 34px;
    }

    .features-intro {
        gap: 18px;
        margin-bottom: 34px;
    }

    .features-intro h3,
    .feature-section h3 {
        font-size: 22px;
    }

    .features-table div {
        gap: 8px;
        padding: 18px 0;
    }

    .product-offers {
        margin-top: 44px;
    }

    .popular-products {
        margin-top: 36px;
        padding-top: 36px;
    }

    .offers-grid,
    .popular-grid {
        gap: 12px;
    }

    .offer-card,
    .popular-card {
        min-height: 0;
        padding: 18px;
        border-radius: 14px;
    }

    .popular-card > img {
        max-height: 150px;
        object-fit: contain;
        margin: 12px auto;
    }

    .feature-section--html,
    .feature-section--html th,
    .feature-section--html td {
        font-size: 14px;
    }

    .feature-section--html th {
        font-size: 18px;
    }

}
