.catalog-page,
.learn-page {
    background: #f8f6f1;
    color: #1d1b18;
}

.catalog-hero {
    padding: 72px clamp(18px, 5vw, 72px) 48px;
    background: linear-gradient(135deg, #fbfaf7 0%, #ede6db 100%);
    border-bottom: 1px solid rgba(75, 61, 45, 0.14);
}

.catalog-hero p,
.catalog-section__header p,
.learn-hero__copy p,
.learn-section__header p,
.learn-process > div p,
.learn-cta p {
    margin: 0 0 12px;
    color: #846d4c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.catalog-hero h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 500;
    line-height: 0.96;
}

.catalog-hero span {
    color: #625a50;
    font-size: 16px;
}

.catalog-toolbar {
    position: sticky;
    top: 86px;
    z-index: 8;
    display: flex;
    gap: 10px;
    padding: 14px clamp(18px, 5vw, 72px);
    overflow-x: auto;
    background: rgba(248, 246, 241, 0.94);
    border-bottom: 1px solid rgba(75, 61, 45, 0.12);
    backdrop-filter: blur(12px);
}

.catalog-toolbar a,
.catalog-section__header > a {
    flex: 0 0 auto;
    padding: 11px 16px;
    border: 1px solid rgba(75, 61, 45, 0.22);
    border-radius: 999px;
    color: #2c261f;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #fffdf8;
}

.catalog-toolbar a:hover,
.catalog-section__header > a:hover {
    background: #24211d;
    color: #fff;
}

.catalog-section {
    padding: 54px clamp(18px, 5vw, 72px);
}

.catalog-section--compact {
    padding-top: 18px;
}

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

.catalog-section__header h2,
.learn-section__header h2,
.learn-process h2,
.learn-cta h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    line-height: 1;
}

.catalog-section__header > span {
    color: #6e665d;
    font-size: 14px;
}

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

.catalog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(75, 61, 45, 0.14);
    background: #fff;
}

.catalog-card .product-card__media {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eee8dd;
}

.catalog-card .product-card__media img,
.catalog-strip__item img,
.learn-standard-card img,
.learn-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.catalog-card .product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
}

.catalog-card .product-card__body h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
}

.catalog-card .product-card__body h3 a {
    color: inherit;
    text-decoration: none;
}

.catalog-card .product-card__body p {
    flex: 1;
    margin: 0;
    color: #6b6258;
    font-size: 14px;
    line-height: 1.55;
}

.catalog-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.catalog-card__meta strong {
    font-size: 16px;
}

.catalog-card__meta a {
    color: #6f5838;
    font-size: 13px;
    font-weight: 700;
}

.catalog-card .add-to-cart-btn {
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
}

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

.catalog-strip__item {
    min-width: 0;
    padding: 10px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(75, 61, 45, 0.12);
}

.catalog-strip__item img {
    aspect-ratio: 1 / 1;
    margin-bottom: 10px;
}

.catalog-strip__item span {
    display: block;
    overflow: hidden;
    color: #24211d;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-strip__item strong {
    display: block;
    margin-top: 5px;
    color: #7a6545;
    font-size: 13px;
}

.learn-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
    padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px);
    background: #f3efe7;
}

.learn-hero__copy h1 {
    max-width: 780px;
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(42px, 6vw, 78px);
    font-weight: 500;
    line-height: 0.96;
}

.learn-hero__copy span {
    display: block;
    max-width: 560px;
    color: #61584e;
    font-size: 18px;
    line-height: 1.6;
}

.learn-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.learn-hero__actions a,
.learn-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    color: #fff;
    background: #221f1b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.learn-hero__actions a + a {
    color: #221f1b;
    background: transparent;
    border: 1px solid rgba(34, 31, 27, 0.3);
}

.learn-hero__media {
    aspect-ratio: 4 / 5;
    min-height: 360px;
    overflow: hidden;
}

.learn-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 0 clamp(18px, 5vw, 72px);
    background: rgba(75, 61, 45, 0.14);
}

.learn-stats article {
    padding: 28px;
    background: #fffdf8;
}

.learn-stats strong {
    display: block;
    margin-bottom: 6px;
    font-family: "Cormorant Garamond", serif;
    font-size: 38px;
    font-weight: 500;
}

.learn-stats span {
    color: #655c52;
}

.learn-section,
.learn-process,
.learn-cta {
    padding: clamp(46px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.learn-section__header {
    max-width: 760px;
    margin-bottom: 28px;
}

.learn-standard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.learn-standard-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(75, 61, 45, 0.12);
}

.learn-standard-card img {
    aspect-ratio: 4 / 3;
}

.learn-standard-card div {
    padding: 22px;
}

.learn-standard-card h3 {
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    font-weight: 500;
}

.learn-standard-card p,
.learn-process li span {
    margin: 0;
    color: #625a50;
    line-height: 1.65;
}

.learn-process {
    display: grid;
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 70px);
    background: #fffdf8;
}

.learn-process ol {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: learn-step;
}

.learn-process li {
    position: relative;
    min-height: 92px;
    padding: 24px 24px 24px 82px;
    border: 1px solid rgba(75, 61, 45, 0.14);
    background: #f8f6f1;
    counter-increment: learn-step;
}

.learn-process li::before {
    content: counter(learn-step, decimal-leading-zero);
    position: absolute;
    top: 24px;
    left: 24px;
    color: #876f4c;
    font-weight: 700;
}

.learn-process li strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.learn-cta {
    text-align: center;
    background: #27231f;
    color: #fff;
}

.learn-cta p {
    color: #c9b894;
}

.learn-cta h2 {
    max-width: 720px;
    margin: 0 auto 24px;
}

.learn-cta a {
    background: #fff;
    color: #221f1b;
}

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

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

    .learn-hero,
    .learn-process {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .catalog-hero {
        padding: 44px 18px 32px;
    }

    .catalog-toolbar {
        top: 74px;
        padding: 12px 18px;
    }

    .catalog-section {
        padding: 38px 18px;
    }

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

    .catalog-grid,
    .learn-standard-grid,
    .learn-stats {
        grid-template-columns: 1fr;
    }

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

    .learn-hero {
        padding: 42px 18px;
    }

    .learn-hero__media {
        min-height: 280px;
        aspect-ratio: 16 / 11;
    }

    .learn-hero__actions a {
        width: 100%;
    }

    .learn-section,
    .learn-process,
    .learn-cta {
        padding: 42px 18px;
    }

    .learn-process li {
        padding: 22px 18px 22px 64px;
    }

    .learn-process li::before {
        left: 18px;
    }
}

@media (max-width: 480px) {
    .catalog-grid,
    .catalog-strip {
        grid-template-columns: 1fr;
    }
}
