.store-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--store-border);
    background:
        linear-gradient(110deg, #ffffff 0%, #ffffff 56%, #f4f4f4 100%);
}

.store-hero::after {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 340px;
    height: 340px;
    border: 54px solid var(--store-yellow);
    border-radius: 50%;
    opacity: 0.42;
    content: "";
    pointer-events: none;
}

.store-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 360px;
    align-items: center;
    padding-block: 54px;
}

.store-hero__content {
    max-width: 720px;
}

.store-hero__eyebrow,
.store-section__eyebrow {
    margin: 0 0 7px;
    color: var(--store-red-action);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.store-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--store-dark);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.store-hero p:not(.store-hero__eyebrow) {
    max-width: 670px;
    margin: 22px 0 28px;
    color: var(--store-muted);
    font-size: 18px;
    line-height: 1.5;
}

.store-section {
    padding-block: 52px;
}

.store-section--surface {
    border-block: 1px solid var(--store-border);
    background: var(--store-surface);
}

.store-section__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.store-section__heading h2 {
    margin: 0;
    color: var(--store-dark);
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.05;
}

.store-section__heading > a {
    color: var(--store-red-action);
    font-weight: 750;
    text-decoration: none;
}

.store-section__heading > a:hover {
    text-decoration: underline;
}

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

.catalog-category-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-category-card {
    position: relative;
    display: flex;
    min-height: 110px;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    color: var(--store-dark);
    background: var(--store-white);
    box-shadow: 0 4px 18px rgba(33, 42, 49, 0.035);
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.catalog-category-card::after {
    position: absolute;
    right: -24px;
    bottom: -34px;
    width: 92px;
    height: 92px;
    border: 19px solid var(--store-yellow);
    border-radius: 50%;
    opacity: 0.65;
    content: "";
}

.catalog-category-card:hover {
    border-color: #c8c8c8;
    box-shadow: var(--store-shadow);
    transform: translateY(-2px);
}

.catalog-category-card strong,
.catalog-category-card span {
    position: relative;
    z-index: 1;
}

.catalog-category-card strong {
    max-width: 82%;
    font-size: 18px;
    line-height: 1.15;
}

.catalog-category-card span {
    color: var(--store-muted);
    font-size: 13px;
}

.catalog-page {
    padding-block: 24px 24px;
}

.catalog-breadcrumbs {
    margin-bottom: 18px;
    font-size: 13px;
}

.catalog-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.catalog-breadcrumbs li {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    color: var(--store-muted);
}

.catalog-breadcrumbs li + li::before {
    color: #a5a5a5;
    content: "—";
}

.catalog-breadcrumbs a {
    color: var(--store-dark);
    font-weight: 700;
    text-decoration: none;
}

.catalog-breadcrumbs a:hover {
    color: var(--store-red-action);
}

.catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.catalog-heading h1 {
    margin: 0;
    color: var(--store-dark);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1;
}

.catalog-heading p {
    margin: 9px 0 0;
    color: var(--store-muted);
}

.catalog-subcategories {
    padding-bottom: 32px;
}

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

.catalog-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    background: var(--store-white);
    box-shadow: 0 5px 22px rgba(33, 42, 49, 0.045);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.catalog-product-card:hover {
    border-color: #c9c9c9;
    box-shadow: var(--store-shadow);
    transform: translateY(-2px);
}

.catalog-product-card__image-link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 1px solid var(--store-border);
    background: var(--store-white);
}

.catalog-product-card__image {
    position: absolute;
    inset: 16px;
    display: block;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
    object-fit: contain;
    object-position: center;
}

.catalog-product-card__image--placeholder {
    inset: 0;
    width: 100%;
    height: 100%;
}

.catalog-product-card__body {
    display: flex;
    min-height: 250px;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 16px;
}

.catalog-product-card__meta {
    display: flex;
    min-height: 20px;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 9px;
    margin-bottom: 8px;
    color: var(--store-muted);
    font-size: 12px;
    line-height: 1.25;
}

.catalog-product-card__meta strong {
    color: var(--store-dark);
    font-size: 13px;
}

.catalog-product-card__title {
    margin: 0;
    color: var(--store-dark);
    font-size: 17px;
    font-weight: 760;
    line-height: 1.25;
}

.catalog-product-card__title a {
    text-decoration: none;
}

.catalog-product-card__title a:hover {
    color: var(--store-red-action);
}

.catalog-product-card__availability {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--store-muted);
    font-size: 12px;
}

.catalog-stock {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1;
}

.catalog-stock--in {
    color: var(--green-dark);
    background: var(--green-light);
}

.catalog-stock--order {
    color: var(--yellow-dark);
    background: var(--yellow-light);
}

.catalog-stock--out {
    color: var(--store-muted);
    background: var(--store-surface);
}

.catalog-product-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
}

.catalog-product-card__price {
    color: var(--store-dark);
    font-size: 23px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.catalog-product-card__price span {
    color: var(--store-muted);
    font-size: 14px;
    font-weight: 700;
    white-space: normal;
}

.catalog-product-card__more {
    color: var(--store-red-action);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.catalog-product-card__more:hover {
    text-decoration: underline;
}

.catalog-empty {
    padding: 34px;
    border: 1px dashed #cfcfcf;
    border-radius: var(--store-radius);
    color: var(--store-muted);
    background: var(--store-surface);
    text-align: center;
}

.catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding-top: 34px;
}

.catalog-pagination a,
.catalog-pagination span {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius-small);
    background: var(--store-white);
    text-decoration: none;
}

.catalog-pagination a:hover {
    border-color: var(--store-yellow);
    background: var(--store-yellow-light);
}

.catalog-pagination .is-current {
    border-color: var(--store-dark);
    color: var(--store-white);
    background: var(--store-dark);
    font-weight: 800;
}

@media (max-width: 1040px) {
    .catalog-product-grid,
    .catalog-category-grid,
    .catalog-category-grid--compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .store-hero__inner {
        min-height: 310px;
        padding-block: 42px;
    }

    .store-hero::after {
        right: -170px;
        opacity: 0.28;
    }

    .store-section {
        padding-block: 38px;
    }

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

    .catalog-product-card__body {
        min-height: 230px;
    }
}

@media (max-width: 520px) {
    .store-hero h1 {
        font-size: 38px;
    }

    .store-hero p:not(.store-hero__eyebrow) {
        font-size: 16px;
    }

    .store-section__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .catalog-product-grid {
        gap: 10px;
    }

    .catalog-category-grid,
    .catalog-category-grid--compact {
        grid-template-columns: 1fr;
    }

    .catalog-category-card {
        min-height: 92px;
    }

    .catalog-product-card__body {
        min-height: 220px;
        padding: 12px;
    }

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

    .catalog-product-card__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

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