/* ==========================================================================
   catalog.css — استایل عمومی کاتالوگ محصولات (کتاب قابل ورق زدن)
   --------------------------------------------------------------------------
   چیدمان mobile-first است؛ همه‌ی اندازه‌ها داخل صفحه‌های کتاب با واحد cqw
   نوشته شده‌اند تا با هر اندازه‌ای که StPageFlip به صفحه بدهد، متناسب بمانند.
   ========================================================================== */

/* ---------- پوسته صفحه عمومی کاتالوگ ---------- */
.catalog-shell {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 14px;
}

/* نوار بالای صفحه کاتالوگ (این صفحه هدر و فوتر سایت را ندارد) */
.catalog-hero {
    padding-block: 16px;
    background:
        radial-gradient(120% 90% at 88% 0%, rgba(233, 196, 106, 0.22) 0%, rgba(233, 196, 106, 0) 55%),
        linear-gradient(150deg, var(--mm-primary-deep, #1c3739) 0%, var(--mm-primary, #2c4b4d) 60%, var(--mm-primary-soft, #3a5f61) 100%);
    color: #fff;
}

.catalog-hero__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.catalog-hero__brand {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2px;
}

.catalog-hero h1 {
    color: #fff;
    font-weight: 800;
    line-height: 1.5;
    font-size: 1.15rem;
    margin: 0;
}

.catalog-hero__sub {
    color: rgba(255, 255, 255, 0.82);
    margin: 4px 0 0;
    font-size: 0.78rem;
}

.catalog-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.catalog-hero__back:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

/* در موبایل نوار بالای صفحه (و دکمه بازگشت به سایت) نمایش داده نمی‌شود */
@media (max-width: 767px) {
    .catalog-hero {
        display: none;
    }
}

/* ---------- بخش کتاب ---------- */
.catalog-section {
    background: var(--mm-surface-alt, #f6f9f9);
    padding-block: 24px 56px;
}

/* موبایل: دکمه‌های قبل/بعد در یک سطر (ابتدا و انتهای سطر) و شماره صفحه زیر آن‌ها */
.catalog-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 10px 12px;
    margin-bottom: 18px;
}

.catalog-toolbar [data-cat-prev] {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}

.catalog-toolbar [data-cat-next] {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.cat-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--mm-primary-line, rgba(44, 75, 77, 0.14));
    background: var(--mm-surface, #fff);
    color: var(--mm-primary, #2c4b4d);
    border-radius: var(--mm-radius-pill, 999px);
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cat-nav-btn:hover:not(:disabled) {
    background: var(--mm-primary, #2c4b4d);
    color: #fff;
    box-shadow: var(--mm-shadow-sm, 0 6px 18px -8px rgba(20, 38, 43, 0.18));
}

.cat-nav-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.catalog-status {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}

.catalog-status__counter {
    font-weight: 700;
    color: var(--mm-ink, #14262b);
    font-size: 0.9rem;
}

.catalog-stage {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 4px 0 8px;
}

.catalog-book {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

/* ---------- جهت فارسی: کتاب از سمت راست باز می‌شود ---------- */
.catalog-book.is-ready {
    transform: scaleX(-1);
}

.catalog-book.is-ready .catalog-page > * {
    transform: scaleX(-1);
}

/* ---------- صفحه‌های کتاب ---------- */
.catalog-book .catalog-page {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--mm-surface, #fff);
    color: var(--mm-text, #3a4d50);
    direction: rtl;
}

/* کتابخانه روی خود صفحه display:block و position:absolute ست می‌کند؛ بنابراین
   چیدمان داخلی به عناصر پوششی سپرده شده است. */
.cat-cover__content,
.cat-back__content,
.cat-sheet__inner {
    width: 100%;
    height: 100%;
    container-type: inline-size;
}

.cat-page__center {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* پیش از راه‌اندازی جاوااسکریپت، صفحه‌ها به صورت عمودی و خوانا نمایش داده می‌شوند */
.catalog-book:not(.is-ready) .catalog-page {
    height: auto;
    min-height: 70vh;
    max-width: 540px;
    margin: 0 auto 16px;
    border-radius: 6px;
    box-shadow: var(--mm-shadow-sm, 0 6px 18px -8px rgba(20, 38, 43, 0.18));
}

.catalog-book.is-ready .catalog-page {
    border-radius: 3px;
}

/* ---------- صفحه اول (جلد) ---------- */
.catalog-book .catalog-page.cat-cover {
    height: 100%;
    background:
        radial-gradient(120% 90% at 85% 8%, rgba(233, 196, 106, 0.28) 0%, rgba(233, 196, 106, 0) 55%),
        linear-gradient(160deg, var(--mm-primary-deep, #1c3739) 0%, var(--mm-primary, #2c4b4d) 55%, var(--mm-primary-soft, #3a5f61) 100%);
    color: #fff;
}

.cat-cover__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4cqw;
    padding: 9% 8%;
}

.cat-cover__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3cqw;
}

.cat-cover__brand {
    font-size: 11px;
    font-size: 2.6cqw;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.9);
}

.cat-cover__badge {
    font-size: 9px;
    font-size: 2.1cqw;
    padding: 1.2cqw 2.6cqw;
    border: 1px solid rgba(233, 196, 106, 0.6);
    border-radius: 999px;
    color: var(--mm-accent, #e9c46a);
    white-space: nowrap;
}

.cat-cover__body {
    display: flex;
    flex-direction: column;
    gap: 2.4cqw;
}

.cat-cover__figure {
    margin: 0 0 1cqw;
}

.cat-cover__figure img {
    width: 100%;
    max-height: 46cqw;
    object-fit: cover;
    border-radius: 3cqw;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.cat-cover__title {
    font-size: 26px;
    font-size: 10.4cqw;
    line-height: 1.35;
    font-weight: 800;
    margin: 0;
    color: #fff;
}

.cat-cover__tagline {
    font-size: 11px;
    font-size: 3.6cqw;
    line-height: 1.8;
    margin: 0;
    color: var(--mm-accent, #e9c46a);
    font-weight: 600;
}

.cat-cover__desc {
    font-size: 10px;
    font-size: 2.9cqw;
    line-height: 2;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.cat-cover__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3cqw;
    padding-top: 3cqw;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 8.5px;
    font-size: 2.2cqw;
    color: rgba(255, 255, 255, 0.66);
}

/* ---------- صفحه محصولات ---------- */
.cat-sheet__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 7% 6% 4%;
    gap: 3cqw;
}

.cat-head {
    display: flex;
    gap: 3.2cqw;
    align-items: stretch;
    min-height: 40cqw;
    background: var(--mm-primary-tint, #edf3f3);
    border-radius: 3cqw;
    padding: 3.2cqw;
    overflow: hidden;
}

/* محل تصویر نسبت به توضیحات (در RTL، row از راست شروع می‌شود) */
.cat-head--img-right { flex-direction: row; }
.cat-head--img-left { flex-direction: row-reverse; }
.cat-head--img-top { flex-direction: column; }
.cat-head--img-bottom { flex-direction: column-reverse; }

.cat-head__media {
    flex: 0 0 40%;
    min-width: 0;
    min-height: 28cqw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 2.2cqw;
    overflow: hidden;
}

.cat-head__media img {
    width: 100%;
    height: 100%;
    max-height: 40cqw;
    object-fit: contain;
    padding: 2cqw;
}

.cat-head--img-top .cat-head__media,
.cat-head--img-bottom .cat-head__media {
    flex: 0 0 auto;
    width: 100%;
    height: 32cqw;
}

.cat-head--img-top .cat-head__media img,
.cat-head--img-bottom .cat-head__media img {
    max-height: 28cqw;
}

.cat-head__placeholder,
.cat-item__placeholder {
    color: var(--mm-muted, #6d8285);
    font-size: 26px;
    font-size: 7cqw;
    opacity: 0.5;
}

.cat-head__text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.4cqw;
    justify-content: center;
}

/* محل توضیحات در هدر */
.cat-head--desc-top .cat-head__text { justify-content: flex-start; }
.cat-head--desc-middle .cat-head__text { justify-content: center; }
.cat-head--desc-bottom .cat-head__text { justify-content: flex-end; }

/* تصویر پس‌زمینه یا توضیحات روی تصویر */
.cat-head--img-background,
.cat-head--desc-overlay {
    position: relative;
    min-height: 52cqw;
    padding: 0;
}

.cat-head--img-background .cat-head__media,
.cat-head--desc-overlay .cat-head__media {
    position: absolute;
    inset: 0;
    flex: none;
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 3cqw;
}

.cat-head--img-background .cat-head__media img,
.cat-head--desc-overlay .cat-head__media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    padding: 0;
}

.cat-head--img-background .cat-head__media::after,
.cat-head--desc-overlay .cat-head__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(20, 38, 43, 0.35) 0%, rgba(20, 38, 43, 0.82) 100%);
}

.cat-head--img-background .cat-head__text,
.cat-head--desc-overlay .cat-head__text {
    position: relative;
    z-index: 2;
    margin: auto 0;
    padding: 4cqw;
    color: #fff;
}

.cat-head--img-background .cat-head__title,
.cat-head--desc-overlay .cat-head__title,
.cat-head--img-background .cat-head__product,
.cat-head--desc-overlay .cat-head__product {
    color: #fff;
}

.cat-head--img-background .cat-head__sub,
.cat-head--desc-overlay .cat-head__sub,
.cat-head--img-background .cat-head__desc,
.cat-head--desc-overlay .cat-head__desc {
    color: rgba(255, 255, 255, 0.82);
}

.cat-head--img-background .cat-eyebrow,
.cat-head--desc-overlay .cat-eyebrow {
    color: var(--mm-accent, #e9c46a);
}

.cat-eyebrow {
    font-size: 8px;
    font-size: 1.9cqw;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mm-muted, #6d8285);
    font-weight: 600;
}

.cat-eyebrow--light {
    color: var(--mm-accent, #e9c46a);
    font-size: 2.2cqw;
}

.cat-head__title {
    font-size: 18px;
    font-size: 4.9cqw;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    color: var(--mm-primary, #2c4b4d);
}

.cat-head__sub {
    font-size: 10px;
    font-size: 2.5cqw;
    line-height: 1.8;
    margin: 0;
    color: var(--mm-muted, #6d8285);
}

.cat-head__product {
    font-size: 12px;
    font-size: 3.2cqw;
    font-weight: 700;
    margin: 1cqw 0 0;
    color: var(--mm-ink, #14262b);
}

.cat-head__desc {
    font-size: 10px;
    font-size: 2.6cqw;
    line-height: 2;
    margin: 0;
    color: var(--mm-text, #3a4d50);
    overflow-wrap: anywhere;
}

/* هدر بدون تصویر: بدون پوشش تیره روی پس‌زمینه روشن */
.cat-head--no-image {
    background: var(--mm-primary-tint, #edf3f3);
}

.cat-head--no-image .cat-head__media::after {
    display: none;
}

.cat-head--no-image .cat-head__text {
    color: var(--mm-text, #3a4d50);
}

.cat-head--no-image .cat-head__title {
    color: var(--mm-primary, #2c4b4d);
}

.cat-head--no-image .cat-head__sub,
.cat-head--no-image .cat-head__desc {
    color: var(--mm-muted, #6d8285);
}

.cat-head--no-image .cat-eyebrow {
    color: var(--mm-muted, #6d8285);
}

.cat-price {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 1cqw 2.4cqw;
    border-radius: 999px;
    background: var(--mm-accent-tint, #fbf3df);
    color: var(--mm-accent-strong, #d3a94f);
    font-weight: 700;
    font-size: 9px;
    font-size: 2.2cqw;
}

.cat-price--sm {
    font-size: 2cqw;
    padding: 0.6cqw 2cqw;
}

/* ---------- محصولات دیگر همان صفحه ---------- */
.cat-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.2cqw;
}

@container (min-width: 380px) {
    .cat-items {
        grid-template-columns: 1fr 1fr;
    }
}

.cat-item {
    display: flex;
    gap: 2cqw;
    padding: 2cqw;
    border: 1px solid var(--mm-line-soft, #eff3f3);
    border-radius: 2.2cqw;
    background: var(--mm-surface, #fff);
    min-width: 0;
}

.cat-item__media {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mm-surface-alt, #f6f9f9);
    border-radius: 1.6cqw;
    overflow: hidden;
}

.cat-item__media img {
    width: 100%;
    height: 100%;
    max-height: 18cqw;
    object-fit: contain;
    padding: 1cqw;
}

.cat-item__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8cqw;
}

.cat-item__title {
    font-size: 10px;
    font-size: 2.6cqw;
    font-weight: 700;
    margin: 0;
    color: var(--mm-ink, #14262b);
    line-height: 1.5;
}

.cat-item__desc {
    font-size: 9px;
    font-size: 2.2cqw;
    line-height: 1.9;
    margin: 0;
    color: var(--mm-muted, #6d8285);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* ---------- مشخصات، مشخصات فنی و لیست‌های توضیحات ---------- */
.cat-sheet__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4cqw;
    align-content: start;
}

@container (min-width: 430px) {
    .cat-sheet__body {
        grid-template-columns: 1fr 1fr;
    }
}

.cat-block {
    min-width: 0;
    padding: 2.6cqw 3cqw;
    border: 1px solid var(--mm-line-soft, #eff3f3);
    border-radius: 2.2cqw;
    background: var(--mm-surface, #fff);
}

.cat-block__title {
    display: flex;
    align-items: center;
    gap: 1.4cqw;
    margin: 0 0 1.6cqw;
    padding-bottom: 1.2cqw;
    border-bottom: 1px dashed var(--mm-line, #e4ebeb);
    font-size: 9px;
    font-size: 2.4cqw;
    font-weight: 800;
    color: var(--mm-primary, #2c4b4d);
}

.cat-block__title i {
    color: var(--mm-accent-strong, #d3a94f);
    font-size: 2.8cqw;
}

.cat-spec-list {
    margin: 0;
    display: grid;
    gap: 0;
}

.cat-spec-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 2cqw;
    padding: 0.9cqw 0;
    border-bottom: 1px solid var(--mm-line-soft, #eff3f3);
    font-size: 9px;
    font-size: 2.25cqw;
    line-height: 1.75;
}

.cat-spec-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cat-spec-row dt {
    flex: 0 1 auto;
    color: var(--mm-muted, #6d8285);
    font-weight: 500;
}

.cat-spec-row dd {
    flex: 0 1 auto;
    margin: 0;
    color: var(--mm-ink, #14262b);
    font-weight: 700;
    text-align: left;
}

.cat-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.9cqw;
}

.cat-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.4cqw;
    font-size: 9px;
    font-size: 2.25cqw;
    line-height: 1.85;
    color: var(--mm-text, #3a4d50);
}

.cat-list li i {
    color: var(--mm-primary, #2c4b4d);
    font-size: 2.5cqw;
    line-height: 1.6;
}

.cat-list__dot {
    flex: 0 0 auto;
    width: 1.1cqw;
    height: 1.1cqw;
    margin-top: 1.3cqw;
    border-radius: 50%;
    background: var(--mm-accent, #e9c46a);
}

/* ---------- پاورقی صفحه ---------- */
.cat-sheet__foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2cqw;
    padding-top: 2.4cqw;
    border-top: 1px solid var(--mm-line-soft, #eff3f3);
    font-size: 7.5px;
    font-size: 1.9cqw;
    color: var(--mm-muted, #6d8285);
}

.cat-sheet__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.4cqw;
    height: 5.4cqw;
    border-radius: 999px;
    background: var(--mm-primary-tint, #edf3f3);
    color: var(--mm-primary, #2c4b4d);
    font-weight: 700;
}

/* ---------- صفحه آخر ---------- */
.catalog-book .catalog-page.cat-back {
    height: 100%;
    background:
        radial-gradient(110% 80% at 10% 100%, rgba(233, 196, 106, 0.22) 0%, rgba(233, 196, 106, 0) 60%),
        linear-gradient(200deg, var(--mm-primary, #2c4b4d) 0%, var(--mm-primary-deep, #1c3739) 100%);
    color: #fff;
}

.cat-back__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4cqw;
    padding: 8% 7% 6%;
}

.cat-back__inner {
    display: flex;
    flex-direction: column;
    gap: 2cqw;
}

.cat-back__title {
    font-size: 20px;
    font-size: 5.4cqw;
    font-weight: 800;
    margin: 0.6cqw 0 0;
    color: #fff;
}

.cat-back__subtitle {
    font-size: 14px;
    font-size: 3.6cqw;
    font-weight: 700;
    margin: 0;
    color: var(--mm-accent, #e9c46a);
}

.cat-back__text {
    font-size: 9px;
    font-size: 2.3cqw;
    line-height: 2;
    color: rgba(255, 255, 255, 0.82);
}

.cat-back__text p {
    margin: 0 0 1.2cqw;
}

.cat-back__text p:last-child {
    margin-bottom: 0;
}

.cat-back__text ul,
.cat-back__text ol {
    margin: 0 0 1.2cqw;
    padding-inline-start: 4cqw;
}

.cat-back__text a {
    color: var(--mm-accent, #e9c46a);
}

.cat-back__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    margin: 2.4cqw 0 1.4cqw;
}

.cat-contact {
    list-style: none;
    padding: 0;
    margin: 1.4cqw 0 0;
    display: flex;
    flex-direction: column;
    gap: 1.2cqw;
}

.cat-contact li {
    display: flex;
    align-items: center;
    gap: 2cqw;
    font-size: 8.5px;
    font-size: 2.2cqw;
    color: rgba(255, 255, 255, 0.9);
}

.cat-contact i {
    color: var(--mm-accent, #e9c46a);
    font-size: 2.6cqw;
    flex: 0 0 auto;
}

.cat-back__brand {
    padding-top: 3cqw;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 8px;
    font-size: 2.1cqw;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- صفحه خالی ---------- */
.catalog-book .catalog-page.catalog-page--blank {
    background: var(--mm-primary-deep, #1c3739);
}

.cat-blank__brand {
    font-size: 9px;
    font-size: 2.2cqw;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
}

/* ---------- دکمه دانلود PDF ---------- */
.catalog-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    text-align: center;
}

.cat-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    background: var(--mm-primary, #2c4b4d);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 12px 26px -14px rgba(20, 38, 43, 0.6);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cat-download-btn:hover {
    background: var(--mm-primary-soft, #3a5f61);
    color: #fff;
    transform: translateY(-2px);
}

.cat-download-btn i {
    font-size: 1.15rem;
}

.catalog-download small {
    color: var(--mm-muted, #6d8285);
    font-size: 0.74rem;
}

/* ---------- حالت خالی ---------- */
.catalog-empty {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 24px;
    text-align: center;
    background: var(--mm-surface, #fff);
    border-radius: var(--mm-radius-lg, 24px);
    box-shadow: var(--mm-shadow-sm, 0 6px 18px -8px rgba(20, 38, 43, 0.18));
}

.catalog-empty i {
    font-size: 3rem;
    color: var(--mm-muted, #6d8285);
    display: block;
    margin-bottom: 16px;
}

.catalog-empty h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--mm-primary, #2c4b4d);
    margin-bottom: 10px;
}

.catalog-empty p {
    color: var(--mm-muted, #6d8285);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* ---------- ارتقاها برای صفحه‌های بزرگ‌تر ---------- */
@media (min-width: 768px) {
    .catalog-hero {
        padding-block: 24px;
    }

    .catalog-hero h1 {
        font-size: 1.5rem;
    }

    .catalog-hero__sub {
        font-size: 0.88rem;
    }

    .cat-download-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }

    /* دسکتاپ: قبل، شماره صفحه و بعد در یک سطر */
    .catalog-toolbar {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }

    .catalog-toolbar [data-cat-prev],
    .catalog-toolbar [data-cat-next],
    .catalog-status {
        grid-column: auto;
        grid-row: auto;
        justify-self: auto;
    }

    .catalog-status__counter {
        font-size: 1rem;
    }

    .cat-nav-btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }
}

@media (min-width: 1200px) {
    .catalog-section {
        padding-block: 32px 72px;
    }
}
