:root {
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    --color-page: #f6f2e8;
    --color-page-soft: #fbfaf5;
    --color-surface: #ffffff;
    --color-surface-muted: #f4f7ee;
    --color-surface-green: #edf7e8;
    --color-text: #17251d;
    --color-text-soft: #314137;
    --color-muted: #667467;
    --color-line: #dfe6d8;
    --color-line-strong: #c9d6c3;

    --color-brand: #2f6f3f;
    --color-brand-dark: #174a29;
    --color-brand-soft: #e5f2df;
    --color-olive: #667a3a;
    --color-wheat: #d9b16d;
    --color-sand: #f0e3c7;
    --color-graphite: #23302a;
    --color-blue: #2d96dc;
    --color-danger: #b42318;
    --color-focus: rgba(47, 111, 63, 0.24);

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 40px;
    --space-9: 56px;

    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(28, 49, 35, 0.08);
    --shadow-sm: 0 8px 24px rgba(28, 49, 35, 0.08);
    --shadow-md: 0 18px 50px rgba(28, 49, 35, 0.12);
    --header-height: 88px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--color-text);
    background:
        radial-gradient(circle at top left, rgba(217, 177, 109, 0.26), transparent 28rem),
        radial-gradient(circle at 92% 14%, rgba(92, 142, 75, 0.18), transparent 24rem),
        linear-gradient(180deg, var(--color-page-soft) 0, var(--color-page) 46rem, #f8f6ef 100%);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.is-submit-blocked {
    overflow: hidden;
}

body::selection {
    background: rgba(217, 177, 109, 0.45);
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

img,
svg {
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.wrap {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    transform: translateY(-140%);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--color-brand-dark);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease;
}

.skip-link:focus {
    transform: translateY(-140%);
}

.skip-link:focus-visible {
    transform: translateY(0);
}

@media (hover: none) and (pointer: coarse) {
    .skip-link:focus-visible {
        transform: translateY(-140%);
    }
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-olive);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-wheat);
    box-shadow: 0 0 0 4px rgba(217, 177, 109, 0.18);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(201, 214, 195, 0.72);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 6px 24px rgba(28, 49, 35, 0.06);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto auto;
    align-items: center;
    gap: var(--space-4);
    padding-block: 12px;
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--color-text);
    text-decoration: none;
}

.brand-mark {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background:
        linear-gradient(145deg, var(--color-brand), #6c8a3d),
        var(--color-brand);
    color: #fff;
    box-shadow: 0 12px 30px rgba(47, 111, 63, 0.24);
}

.brand-mark svg {
    width: 34px;
    height: 34px;
}

.brand-copy {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.brand-kicker {
    color: var(--color-olive);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.brand-title {
    color: var(--color-brand-dark);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.05;
}

.brand-title-short {
    display: none;
}

.header-info {
    min-width: 0;
    display: grid;
    grid-template-columns: auto;
    gap: 8px;
    justify-self: end;
}

.header-info__item {
    min-width: 0;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 44px;
    padding: 7px 9px;
    border: 1px solid rgba(201, 214, 195, 0.72);
    border-radius: var(--radius-sm);
    background: rgba(246, 250, 243, 0.76);
    color: var(--color-text-soft);
    text-decoration: none;
    box-shadow: var(--shadow-xs);
}

.header-info__icon-link {
    grid-template-columns: 1fr;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 6px;
    border-radius: 50%;
}

.header-info__item strong,
.header-info__item small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-info__item strong {
    color: var(--color-brand-dark);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
}

.header-info__item small {
    color: var(--color-muted);
    font-size: 11px;
    line-height: 1.2;
}

.header-info__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--color-brand-soft);
    color: var(--color-brand);
}

.header-info__icon-link .header-info__icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.header-info__icon.is-telegram {
    background: rgba(45, 150, 220, 0.11);
    color: var(--color-blue);
}

.header-info__icon svg {
    width: 19px;
    height: 19px;
}

.header-action {
    justify-self: end;
}

/* Buttons */
.button,
button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid rgba(23, 74, 41, 0.1);
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--color-brand), #5d7f36);
    color: #fff;
    box-shadow: 0 10px 22px rgba(47, 111, 63, 0.2);
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover,
button.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(47, 111, 63, 0.24);
    background: linear-gradient(135deg, #255f35, #536f2f);
}

.button:active,
button.button:active {
    transform: translateY(0);
    box-shadow: 0 7px 16px rgba(47, 111, 63, 0.18);
}

.button:disabled,
button.button:disabled {
    cursor: not-allowed;
    opacity: 0.84;
    transform: none;
}

.button.secondary {
    background: #ffffff;
    border-color: rgba(47, 111, 63, 0.24);
    color: var(--color-brand-dark);
    box-shadow: var(--shadow-xs);
}

.button.secondary:hover {
    background: var(--color-brand-soft);
    box-shadow: var(--shadow-sm);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(47, 111, 63, 0.2);
    color: var(--color-brand-dark);
    box-shadow: none;
}

.button.ghost:hover {
    background: #fff;
    box-shadow: var(--shadow-xs);
}

.button.compact {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 14px;
}

.button-icon {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
    font-size: 20px;
    line-height: 1;
}

.button-icon-plus {
    position: relative;
    font-size: 0;
}

.button-icon-plus::before,
.button-icon-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.button-icon-plus::after {
    width: 2px;
    height: 13px;
}

.button-icon-back {
    position: relative;
    font-size: 0;
}

.button-icon-back::before,
.button-icon-back::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: 1px 50%;
}

.button-icon-back::before {
    transform: translate(-45%, -50%) rotate(45deg);
}

.button-icon-back::after {
    transform: translate(-45%, -50%) rotate(-45deg);
}

.button.secondary .button-icon,
.button.ghost .button-icon {
    background: rgba(47, 111, 63, 0.1);
}

/* Forms */
.field-control,
input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid var(--color-line-strong);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-text);
    outline: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

select {
    appearance: none;
    padding-right: 40px;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--color-muted) 50%),
        linear-gradient(135deg, var(--color-muted) 50%, transparent 50%);
    background-position:
        calc(100% - 19px) 50%,
        calc(100% - 13px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

textarea {
    min-height: 118px;
    resize: vertical;
}

input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):hover,
select:hover,
textarea:hover {
    border-color: #aec49f;
}

input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):focus,
select:focus,
textarea:focus {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 4px var(--color-focus);
}

input[type="radio"],
input[type="checkbox"] {
    accent-color: var(--color-brand);
}

:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 3px;
}

/* Main catalog */
.main-frame {
    padding: var(--space-5) 0 var(--space-8);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    gap: var(--space-6);
    align-items: start;
}

.catalog-layout-no-rail {
    grid-template-columns: 292px minmax(0, 1fr);
}

.panel {
    border: 1px solid rgba(201, 214, 195, 0.82);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.filter-panel {
    position: sticky;
    top: calc(var(--header-height) + 18px);
    display: grid;
    gap: var(--space-5);
    padding: var(--space-5);
}

.search-form {
    display: grid;
    gap: var(--space-2);
}

.search-form__control {
    position: relative;
    display: block;
    min-height: 50px;
    overflow: hidden;
    border: 2px solid rgba(47, 111, 63, 0.42);
    border-radius: 22px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(47, 111, 63, 0.04);
}

.search-form__control input {
    width: 100%;
    min-height: 46px;
    padding: 10px 54px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 650;
    text-align: center;
}

.search-form__control input::placeholder {
    color: var(--color-text-soft);
    opacity: 0.48;
}

.search-form__control input:focus {
    outline: none;
}

.search-form__control:focus-within {
    border-color: rgba(47, 111, 63, 0.72);
    box-shadow: 0 0 0 3px var(--color-focus), inset 0 0 0 1px rgba(47, 111, 63, 0.05);
}

.search-form__submit {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--color-brand);
    box-shadow: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.search-form__submit svg {
    width: 26px;
    height: 26px;
}

.search-form__submit:hover,
.search-form__submit:focus-visible {
    background: var(--color-brand-soft);
    color: var(--color-brand-dark);
    outline: none;
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-brand-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.filter-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--color-line);
}

.tool-grid,
.category-nav {
    display: grid;
    gap: var(--space-3);
}

.tool-tile {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: 64px;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--color-text-soft);
    font-weight: 850;
    text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.tool-tile:hover {
    transform: translateY(-1px);
    border-color: #b6c9ac;
    background: var(--color-surface-muted);
    color: var(--color-brand-dark);
    box-shadow: var(--shadow-sm);
}

.tool-tile.is-active {
    border-color: rgba(47, 111, 63, 0.36);
    background: linear-gradient(135deg, #fff, var(--color-brand-soft));
    color: var(--color-brand-dark);
}

.category-reset-tile {
    justify-content: center;
    text-align: center;
}

.tool-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    color: var(--color-brand);
}

.tool-label {
    font-size: 16px;
}

.category-nav-item {
    display: grid;
    gap: 8px;
}

.category-tile {
    min-height: 58px;
}

.category-marker {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-surface-green);
    color: var(--color-brand-dark);
    font-size: 15px;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(47, 111, 63, 0.12);
}

.tool-tile.is-active .category-marker {
    background: var(--color-brand);
    color: #fff;
}

.subcategory-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-left: 46px;
}

.subcategory-pill {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--color-text-soft);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.subcategory-pill:hover,
.subcategory-pill.is-active {
    border-color: rgba(47, 111, 63, 0.34);
    background: var(--color-brand-soft);
    color: var(--color-brand-dark);
}

.deal-filter-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.deal-filter-tile {
    justify-content: center;
    min-height: 44px;
}

.subcategory-panel {
    display: grid;
    gap: 8px;
    padding-top: 2px;
}

.subcategory-panel__title {
    color: var(--color-text-soft);
    font-size: 12px;
    font-weight: 900;
}

.subcategory-hint {
    padding: 10px 11px;
    border: 1px dashed var(--color-line-strong);
    border-radius: var(--radius-sm);
    background: rgba(244, 247, 238, 0.72);
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
}

.active-filter-bar {
    position: sticky;
    top: calc(var(--header-height) + 8px);
    z-index: 35;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 12px;
    padding: 9px 11px;
    border: 1px solid rgba(201, 214, 195, 0.86);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(28, 49, 35, 0.1);
    backdrop-filter: blur(12px);
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    max-width: 100%;
    padding: 6px 7px 6px 13px;
    border: 1px solid rgba(47, 111, 63, 0.28);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--color-brand-dark);
    box-shadow: var(--shadow-xs);
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
}

.active-filter-chip span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.active-filter-chip__remove {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border: 1px solid rgba(47, 111, 63, 0.22);
    border-radius: 50%;
    background: var(--color-brand-dark);
    color: #fff;
}

.active-filter-chip__remove::before,
.active-filter-chip__remove::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
}

.active-filter-chip__remove::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.active-filter-chip:hover,
.active-filter-chip:focus-visible {
    border-color: rgba(47, 111, 63, 0.44);
    background: var(--color-brand-soft);
}

.active-filter-clear {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.active-filter-clear:hover,
.active-filter-clear:focus-visible {
    background: var(--color-brand-soft);
    color: var(--color-brand-dark);
    text-decoration: none;
}

.feed-panel {
    overflow: visible;
    background: transparent;
}

.listing-feed {
    display: grid;
    gap: var(--space-4);
    padding: 0;
}

.listing-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
    align-items: start;
    padding: var(--space-5);
    border: 1px solid rgba(201, 214, 195, 0.8);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.listing-card.has-media {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
}

.listing-card:hover {
    transform: translateY(-1px);
    border-color: rgba(47, 111, 63, 0.28);
    box-shadow: var(--shadow-sm);
}

.listing-card__content,
.listing-card__media {
    min-width: 0;
}

.listing-card__media {
    align-self: start;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(47, 111, 63, 0.18);
    border-radius: var(--radius-pill);
    background: var(--color-brand-soft);
    color: var(--color-brand-dark);
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
}

.badge-link {
    text-decoration: none;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.badge-link:hover {
    border-color: rgba(47, 111, 63, 0.36);
    background: #e2f0dd;
    color: var(--color-brand-dark);
    box-shadow: inset 0 0 0 1px rgba(47, 111, 63, 0.08);
}

.badge-link:focus-visible {
    outline: 2px solid rgba(47, 111, 63, 0.42);
    outline-offset: 2px;
}

.badge-pin {
    border-color: rgba(217, 177, 109, 0.5);
    background: #fff6df;
    color: #78531b;
}

.badge-region {
    background: #f4f1e7;
    border-color: #e1d5ba;
    color: #654f2f;
}

.badge-product {
    background: #eef7ff;
    border-color: #cce4f5;
    color: #205979;
}

.listing-title {
    margin: 0 0 10px;
    color: var(--color-text);
    font-size: clamp(19px, 2.2vw, 24px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

.listing-meta {
    display: block;
    margin: 0 0 12px;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 750;
}

.listing-photo,
.listing-video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(201, 214, 195, 0.9);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, rgba(237, 247, 232, 0.85), rgba(255, 255, 255, 0.92));
    box-shadow: var(--shadow-xs);
}

.listing-photo {
    cursor: zoom-in;
}

.listing-video {
    color: var(--color-brand-dark);
    cursor: pointer;
}

.listing-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin: 0;
}

.listing-photo-grid--single {
    grid-template-columns: 1fr;
    width: 100%;
}

.listing-photo-grid .listing-photo,
.listing-photo-grid .listing-video {
    width: 100%;
    margin: 0;
}

.listing-photo::after {
    content: "Открыть фото";
    position: absolute;
    right: 10px;
    bottom: 10px;
    opacity: 0;
    transform: translateY(4px);
    padding: 6px 9px;
    border-radius: var(--radius-pill);
    background: rgba(23, 37, 29, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.listing-video::after {
    content: "Смотреть видео";
    position: absolute;
    z-index: 3;
    right: 10px;
    bottom: 10px;
    opacity: 0;
    transform: translateY(4px);
    padding: 6px 9px;
    border-radius: var(--radius-pill);
    background: rgba(23, 37, 29, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.listing-photo:hover::after,
.listing-photo:focus-visible::after,
.listing-video:hover::after,
.listing-video:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.listing-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.listing-photo:hover img {
    transform: scale(1.025);
}

.listing-video__poster {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.listing-video::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(12, 24, 16, 0.04), rgba(12, 24, 16, 0.28));
    pointer-events: none;
}

.listing-video:hover .listing-video__poster {
    transform: scale(1.025);
}

.listing-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(47, 111, 63, 0.94);
    color: #fff;
    box-shadow: 0 12px 28px rgba(47, 111, 63, 0.22);
    transform: translate(-50%, -50%);
}

.listing-video__play::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid currentColor;
}

.listing-photo-fallback {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    padding: var(--space-5);
    color: var(--color-muted);
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    background: var(--color-surface-muted);
}

.listing-photo.is-broken {
    cursor: default;
}

.listing-photo.is-broken::after,
.listing-photo.is-broken img {
    display: none;
}

.listing-photo.is-broken .listing-photo-fallback {
    display: grid;
}

.listing-video.has-broken-preview .listing-video__poster {
    display: none;
}

.listing-summary {
    max-width: 850px;
    margin: 0 0 12px;
    color: var(--color-muted);
    line-height: 1.62;
}

.listing-summary-short,
.listing-summary-full,
.listing-summary-full-visible {
    white-space: normal;
    overflow-wrap: anywhere;
}

.listing-summary[data-expanded="true"] {
    padding: 14px 16px;
    border: 1px solid rgba(47, 111, 63, 0.14);
    border-left-width: 4px;
    border-radius: var(--radius-md);
    background: var(--color-surface-muted);
    color: var(--color-text-soft);
}

.listing-summary-toggle {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-brand);
    font-size: 14px;
    font-weight: 900;
}

.listing-summary-toggle:hover {
    color: var(--color-brand-dark);
    text-decoration: underline;
}

.listing-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.contact-icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(47, 111, 63, 0.18);
    border-radius: 50%;
    background: var(--color-surface-muted);
    color: var(--color-brand-dark);
    box-shadow: var(--shadow-xs);
    text-decoration: none;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.contact-icon svg {
    width: 19px;
    height: 19px;
}

.contact-icon:hover,
.contact-icon:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(47, 111, 63, 0.36);
    background: var(--color-brand);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.contact-icon--telegram {
    background: #eef7ff;
    color: #1f86c7;
}

.contact-icon--email {
    background: #fff7e8;
    color: #7a5618;
}

.contact-icon--url {
    background: #f4f1e7;
    color: #654f2f;
}

.listing-contacts-empty {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 750;
}

.empty-state {
    display: grid;
    justify-items: start;
    gap: 8px;
    padding: clamp(26px, 5vw, 42px);
    border: 1px dashed var(--color-line-strong);
    border-radius: var(--radius-md);
    background: var(--color-surface-muted);
    color: var(--color-muted);
    line-height: 1.5;
}

.empty-state__icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    font-size: 24px;
    box-shadow: var(--shadow-xs);
}

.empty-state h3 {
    margin: 4px 0 0;
    color: var(--color-brand-dark);
    font-size: 22px;
}

.empty-state p {
    max-width: 520px;
    margin: 0 0 8px;
}

.load-more-sentinel {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 var(--space-5) var(--space-5);
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 850;
}

.load-more-sentinel::before {
    content: "";
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(102, 116, 103, 0.28);
    border-top-color: var(--color-brand);
    border-radius: 50%;
    animation: button-loader-spin 0.72s linear infinite;
}

.load-more-sentinel.is-error {
    color: var(--color-danger);
}

.load-more-sentinel.is-error::before {
    display: none;
}

/* Lightbox */
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    background: rgba(15, 22, 18, 0.84);
    backdrop-filter: blur(6px);
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox__img,
.image-lightbox__video {
    max-width: min(1120px, 94vw);
    max-height: 88vh;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.image-lightbox__img {
    object-fit: contain;
}

.image-lightbox__video {
    width: min(1120px, 94vw);
    background: #000;
}

.image-lightbox__close {
    position: fixed;
    top: 18px;
    right: 22px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: #ffffff;
    color: var(--color-brand-dark);
    font-size: 0;
    line-height: 0;
    box-shadow: var(--shadow-sm);
}

.image-lightbox__close::before,
.image-lightbox__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: var(--radius-pill);
    background: currentColor;
}

.image-lightbox__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.image-lightbox__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Submit page */
.submit-shell {
    padding: var(--space-5) 0 var(--space-7);
}

.submit-panel {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid rgba(201, 214, 195, 0.82);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

.submit-header {
    max-width: 720px;
    margin: 0 auto var(--space-5);
    text-align: center;
}

.submit-title {
    margin: 0 0 8px;
    color: var(--color-brand-dark);
    font-size: 36px;
    font-weight: 920;
    letter-spacing: 0;
    line-height: 1;
}

.submit-subtitle {
    margin: 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.45;
}

.submit-form {
    display: grid;
    gap: var(--space-3);
}

.form-section {
    display: grid;
    gap: var(--space-3);
    padding: 14px var(--space-4);
    border: 1px solid rgba(201, 214, 195, 0.86);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-xs);
}

.form-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: var(--space-3);
}

.form-step {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: var(--color-brand-soft);
    color: var(--color-brand-dark);
    font-size: 13px;
    font-weight: 900;
}

.form-section-title {
    margin: 0;
    color: var(--color-brand-dark);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.form-help {
    margin: 3px 0 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.36;
}

.optional-label {
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 750;
}

.rules-section {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.rules-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(47, 111, 63, 0.18);
    border-radius: var(--radius-md);
    background: var(--color-brand-soft);
    color: var(--color-text-soft);
}

.rules-card__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: var(--color-brand);
    box-shadow: var(--shadow-xs);
}

.rules-card__icon svg {
    width: 22px;
    height: 22px;
}

.rules-card strong,
.rules-card small {
    display: block;
}

.rules-card strong {
    color: var(--color-brand-dark);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
}

.rules-card small {
    margin-top: 2px;
    color: var(--color-text-soft);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
}

.rules-card__link {
    color: var(--color-brand-dark);
    font-weight: 900;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.rules-card__link:hover,
.rules-card__link:focus-visible {
    color: var(--color-brand);
}

.field-row {
    display: grid;
    gap: 6px;
}

.field-label {
    color: var(--color-text-soft);
    font-size: 14px;
    font-weight: 850;
}

.form-grid-two,
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

.tariff-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tariff-card {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-height: 98px;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-xs);
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tariff-card:hover {
    border-color: rgba(47, 111, 63, 0.28);
    box-shadow: var(--shadow-sm);
}

.tariff-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.tariff-card-check {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 1.5px solid var(--color-line-strong);
    border-radius: 50%;
    background: #fff;
}

.tariff-card-check::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-brand);
    transform: scale(0);
    transition: transform 0.16s ease;
}

.tariff-card-main {
    display: grid;
    gap: 6px;
}

.tariff-card-topline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
}

.tariff-card-title {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.22;
}

.tariff-card-price {
    flex: 0 0 auto;
    color: var(--color-brand-dark);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
}

.tariff-description {
    display: block;
    color: var(--color-text-soft);
    font-size: 13px;
    line-height: 1.35;
}

.tariff-card.is-selected,
.tariff-card:has(input:checked) {
    border-color: rgba(47, 111, 63, 0.52);
    background: #f3faef;
    box-shadow: inset 0 0 0 1px rgba(47, 111, 63, 0.08), 0 0 0 3px rgba(47, 111, 63, 0.12);
}

.tariff-card.is-selected .tariff-card-check,
.tariff-card:has(input:checked) .tariff-card-check {
    border-color: var(--color-brand);
}

.tariff-card.is-selected .tariff-card-check::after,
.tariff-card:has(input:checked) .tariff-card-check::after {
    transform: scale(1);
}

.tariff-card:focus-within {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
}

.choice-group {
    display: grid;
    gap: 8px;
}

.choice-group-label {
    color: var(--color-text-soft);
    font-size: 13px;
    font-weight: 850;
}

.choice-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.choice-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--color-text-soft);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.choice-chip input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.choice-chip span {
    position: relative;
    z-index: 1;
}

.choice-chip:hover {
    border-color: rgba(47, 111, 63, 0.34);
    background: var(--color-surface-muted);
}

.choice-chip:has(input:checked) {
    border-color: rgba(47, 111, 63, 0.58);
    background: var(--color-brand-dark);
    color: #fff;
    box-shadow: 0 6px 16px rgba(28, 74, 41, 0.14);
}

.choice-chip:focus-within {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
}

.choice-chip-list-deal .choice-chip {
    min-width: 142px;
    justify-content: center;
}

.upload-grid-clean {
    display: grid;
    gap: var(--space-3);
}

.upload-zone {
    position: relative;
    min-height: 118px;
    display: grid;
    place-items: center;
    gap: 10px;
    padding: var(--space-4);
    border: 1.5px dashed #b7caa7;
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 50% 0, rgba(217, 177, 109, 0.18), transparent 14rem),
        var(--color-surface-muted);
    color: var(--color-text-soft);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.upload-zone:hover {
    border-color: var(--color-brand);
    background: var(--color-brand-soft);
    box-shadow: inset 0 0 0 1px rgba(47, 111, 63, 0.1);
}

.upload-zone input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.upload-zone__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: var(--color-brand);
    font-size: 24px;
    font-weight: 500;
    box-shadow: var(--shadow-xs);
}

.upload-zone__text {
    display: grid;
    gap: 4px;
    font-weight: 850;
}

.upload-zone__text small {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 600;
}

.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-3);
}

.photo-preview {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: var(--color-surface-muted);
    box-shadow: var(--shadow-xs);
}

.photo-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-status {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.upload-status.is-error {
    color: var(--color-danger);
}

.payment-card,
.payment-sbp-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-3);
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(47, 111, 63, 0.3);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #fff, var(--color-brand-soft));
    cursor: pointer;
    box-shadow: var(--shadow-xs);
}

.payment-card input,
.payment-sbp-card input {
    width: 18px;
    height: 18px;
}

.sbp-logo {
    display: block;
    overflow: hidden;
    width: 92px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(28, 49, 35, 0.09);
}

.sbp-logo svg {
    display: block;
    width: 100%;
    height: auto;
}

.payment-card strong,
.payment-sbp-card strong {
    display: block;
    color: var(--color-brand-dark);
    font-size: 18px;
    line-height: 1.1;
}

.payment-card small,
.payment-sbp-card small {
    display: block;
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 13px;
}

.captcha-row,
.captcha-row-clean {
    display: grid;
    gap: var(--space-3);
}

.captcha-input-wrap {
    display: grid;
    gap: 8px;
}

.captcha-input-wrap img {
    display: inline-block;
    max-width: 220px;
    height: auto;
    margin: 3px 0;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    background: #fff;
}

.agreement-section {
    padding: var(--space-4) var(--space-5);
    background: #fff;
}

.agreement-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
    color: var(--color-text-soft);
    font-size: 14px;
    line-height: 1.45;
}

.agreement-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.agreement-copy {
    display: grid;
    gap: 5px;
}

.agreement-copy label {
    cursor: pointer;
}

.agreement-inline-link {
    color: var(--color-brand-dark);
    font-weight: 900;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.agreement-inline-link:hover,
.agreement-inline-link:focus-visible {
    color: var(--color-brand);
}

.submit-action,
.submit-action-clean {
    width: min(380px, 100%);
    justify-self: center;
}

.button-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: button-loader-spin 0.72s linear infinite;
}

.submit-action.is-loading {
    cursor: progress;
}

.submit-action.is-loading .submit-action__icon {
    display: none;
}

.submit-action.is-loading .button-loader {
    display: inline-block;
}

@keyframes button-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.errorlist {
    margin: 6px 0 0;
    padding-left: 18px;
    color: var(--color-danger);
    font-size: 13px;
    line-height: 1.45;
}

.submit-messages {
    display: grid;
    gap: var(--space-3);
    margin: 0 0 var(--space-4);
}

.message {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-3);
    align-items: center;
    margin: 0;
    padding: var(--space-4);
    border: 1px solid rgba(47, 111, 63, 0.22);
    border-radius: var(--radius-md);
    background: var(--color-brand-soft);
    color: var(--color-brand-dark);
    font-weight: 750;
}

.message:focus {
    outline: 3px solid var(--color-focus);
    outline-offset: 3px;
}

.message__icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-brand);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.message.success {
    border-color: rgba(47, 111, 63, 0.36);
    background: linear-gradient(135deg, #fff, var(--color-brand-soft));
    box-shadow: 0 0 0 4px rgba(47, 111, 63, 0.08);
}

.submit-blocker {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: var(--space-5);
    background: rgba(23, 37, 29, 0.64);
    color: var(--color-text);
    backdrop-filter: blur(8px);
}

.submit-blocker__panel {
    width: min(360px, 100%);
    display: grid;
    justify-items: center;
    gap: var(--space-3);
    padding: var(--space-6);
    border: 1px solid rgba(201, 214, 195, 0.82);
    border-radius: var(--radius-md);
    background: #fff;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.submit-blocker__spinner {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(47, 111, 63, 0.16);
    border-top-color: var(--color-brand);
    border-radius: 50%;
    animation: button-loader-spin 0.72s linear infinite;
}

.submit-blocker__title {
    color: var(--color-brand-dark);
    font-size: 20px;
    line-height: 1.2;
}

.submit-blocker__text {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.45;
}

/* Compatibility for classes that may still exist in older templates */
.form-layout,
.form-fields {
    display: grid;
    gap: var(--space-4);
}

.form-labels {
    color: var(--color-text-soft);
    font-weight: 800;
}

.field-inline {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: center;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
}

.payment-options label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-2);
    align-items: center;
    padding: var(--space-3);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    background: #fff;
}

/* Terms page */
.terms-shell {
    padding: var(--space-6) 0 var(--space-8);
}

.terms-panel {
    width: min(940px, calc(100% - 40px));
    margin: 0 auto;
}

.terms-header {
    max-width: 760px;
    padding-bottom: var(--space-5);
}

.terms-kicker {
    margin: 0 0 8px;
    color: var(--color-olive);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.terms-title {
    margin: 0;
    color: var(--color-brand-dark);
    font-size: 42px;
    font-weight: 920;
    letter-spacing: 0;
    line-height: 1.05;
}

.terms-sites {
    margin: 12px 0 0;
    color: var(--color-muted);
    font-size: 16px;
    font-weight: 750;
}

.terms-content {
    display: grid;
    border-top: 1px solid rgba(201, 214, 195, 0.92);
}

.terms-section {
    display: grid;
    gap: 10px;
    padding: var(--space-5) 0;
    border-bottom: 1px solid rgba(201, 214, 195, 0.72);
}

.terms-section h2 {
    margin: 0;
    color: var(--color-brand-dark);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.25;
}

.terms-section p {
    max-width: 820px;
    margin: 0;
    color: var(--color-text-soft);
    font-size: 16px;
    line-height: 1.68;
}

/* Responsive */
@media (max-width: 1080px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .header-info {
        grid-column: auto;
        grid-row: auto;
    }

    .catalog-layout,
    .catalog-layout-no-rail {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: var(--space-5);
    }

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

@media (max-width: 900px) {
    :root {
        --header-height: 84px;
    }

    .catalog-layout,
    .catalog-layout-no-rail {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        position: static;
    }

    .listing-card.has-media {
        grid-template-columns: 1fr;
    }

    .listing-card__media {
        max-width: 560px;
    }

    .tool-grid,
    .category-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tool-tile {
        justify-content: center;
        text-align: center;
    }

}

@media (max-width: 720px) {
    .wrap {
        width: min(100% - 24px, 1200px);
    }

    .site-header {
        position: static;
    }

    .header-inner {
        grid-template-columns: 1fr;
        gap: var(--space-3);
        padding-block: 8px;
    }

    .brand {
        align-items: center;
        gap: var(--space-3);
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .brand-mark svg {
        width: 27px;
        height: 27px;
    }

    .header-info {
        display: grid;
        grid-template-columns: auto;
    }

    .header-action,
    .header-action .button {
        width: 100%;
    }

    .main-frame,
    .submit-shell {
        padding-top: var(--space-5);
    }

    .panel,
    .submit-panel {
        border-radius: var(--radius-md);
    }

    .filter-panel,
    .listing-feed {
        padding: var(--space-4);
    }

    .tool-grid,
    .category-nav {
        grid-template-columns: 1fr;
    }

    .tool-tile {
        justify-content: flex-start;
        text-align: left;
    }

    .listing-card {
        grid-template-columns: 1fr;
        gap: var(--space-3);
        padding: var(--space-4);
    }

    .listing-photo {
        width: 100%;
    }

    .submit-panel {
        width: min(100% - 24px, 920px);
        padding: var(--space-4);
    }

    .terms-shell {
        padding: var(--space-5) 0 var(--space-7);
    }

    .terms-panel {
        width: min(100% - 24px, 940px);
    }

    .terms-title {
        font-size: 34px;
    }

    .terms-section {
        padding: var(--space-4) 0;
    }

    .terms-section h2 {
        font-size: 20px;
    }

    .terms-section p {
        font-size: 15px;
        line-height: 1.62;
    }

    .form-section {
        padding: var(--space-4);
    }

    .form-section-head {
        grid-template-columns: 1fr;
    }

    .form-step {
        width: auto;
        min-width: 38px;
        justify-self: start;
        padding: 0 12px;
        border-radius: var(--radius-pill);
    }

    .form-grid-two,
    .contacts-grid,
    .tariff-cards {
        grid-template-columns: 1fr;
    }

    .tariff-card {
        min-height: auto;
    }

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

    .payment-card,
    .payment-sbp-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .sbp-logo {
        grid-column: 1 / -1;
        width: 96px;
    }

    .field-inline,
    .payment-options {
        grid-template-columns: 1fr;
    }
}

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

    .brand-kicker {
        font-size: 10px;
    }

    .button,
    button.button {
        min-height: 44px;
        padding-inline: 15px;
    }

    .search-form .button,
    .submit-action-clean {
        width: 100%;
    }

    .listing-title {
        font-size: 20px;
    }

    .submit-title {
        font-size: 30px;
    }

    .terms-title {
        font-size: 30px;
    }

    .terms-sites {
        font-size: 14px;
    }

    .rules-card {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .agreement-section {
        padding: var(--space-4);
    }

    .message {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .submit-blocker {
        padding: var(--space-4);
    }

    .submit-blocker__panel {
        width: 100%;
        padding: var(--space-5) var(--space-4);
    }

    .tariff-description {
        grid-column: 1 / -1;
    }

    .photo-preview-grid {
        grid-template-columns: 1fr;
    }

    .photo-preview {
        aspect-ratio: 4 / 3;
    }

    .image-lightbox {
        padding: var(--space-3);
    }

    .image-lightbox__img {
        max-width: 96vw;
        max-height: 82vh;
        border-radius: var(--radius-sm);
    }

    .image-lightbox__close {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Final catalog refinements: compact categories, clean feed header, full mobile header + sticky quick actions */
.feed-panel > .listing-feed:first-child {
    padding-top: 0;
}

.filter-panel {
    max-height: calc(100vh - var(--header-height) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    gap: 10px;
    padding: 12px;
}

.filter-panel::-webkit-scrollbar {
    width: 8px;
}

.filter-panel::-webkit-scrollbar-track {
    background: rgba(237, 247, 232, 0.72);
    border-radius: var(--radius-pill);
}

.filter-panel::-webkit-scrollbar-thumb {
    background: rgba(102, 122, 58, 0.42);
    border-radius: var(--radius-pill);
}

.filter-panel .search-form {
    gap: 0;
}

.filter-panel .search-form__control {
    min-height: 46px;
    border-color: rgba(47, 111, 63, 0.48);
    border-radius: 20px;
}

.filter-panel .search-form__control input {
    min-height: 42px;
    padding: 9px 48px;
}

.filter-panel .search-form__submit {
    right: 4px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
}

.filter-panel input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.filter-panel select {
    min-height: 36px;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 13px;
}

.filter-panel .search-form .search-form__control input[type="search"] {
    min-height: 42px;
    padding: 9px 48px;
    border: 0;
    box-shadow: none;
    font-size: 16px;
    font-weight: 650;
    text-align: center;
}

.filter-panel .search-form__submit {
    min-height: 36px;
}

.filter-panel .button.compact {
    min-height: 34px;
    font-size: 13px;
}

.filter-panel .filter-title {
    margin: 0;
    font-size: 11px;
    line-height: 1.1;
    letter-spacing: 0.1em;
}

.category-nav {
    gap: 5px;
}

.filter-panel .tool-tile {
    min-height: 34px;
    gap: 0;
    padding: 7px 10px;
    border-radius: 11px;
    box-shadow: none;
}

.filter-panel .category-reset-tile {
    justify-content: center;
    text-align: center;
}

.filter-panel .tool-tile:hover {
    transform: none;
    box-shadow: var(--shadow-xs);
}

.filter-panel .tool-icon,
.category-marker {
    display: none !important;
}

.filter-panel .tool-label {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.15;
}

.deal-filter-group {
    gap: 6px;
}

.filter-panel .deal-filter-tile {
    justify-content: center;
}

.subcategory-panel {
    gap: 7px;
    padding-top: 2px;
}

.subcategory-panel__title {
    font-size: 12px;
    line-height: 1.2;
}

.subcategory-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding-left: 0;
}

.subcategory-pill {
    min-height: 28px;
    padding-inline: 8px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.1;
}

.subcategory-hint {
    padding: 9px 10px;
    border-radius: 11px;
}

.catalog-is-filtering .feed-panel {
    cursor: progress;
}

.catalog-is-filtering .listing-feed {
    opacity: 0.58;
    pointer-events: none;
    transition: opacity 0.16s ease;
}

.desktop-scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 58;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid rgba(47, 111, 63, 0.24);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-brand);
    box-shadow: 0 14px 34px rgba(28, 49, 35, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    backdrop-filter: blur(12px);
}

.desktop-scroll-top svg {
    width: 24px;
    height: 24px;
}

.has-scrolled .desktop-scroll-top {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.desktop-scroll-top:hover,
.desktop-scroll-top:focus-visible {
    background: var(--color-brand-soft);
    color: var(--color-brand-dark);
    box-shadow: 0 18px 38px rgba(28, 49, 35, 0.2);
    outline: none;
}

.mobile-tool-button,
.mobile-filter-close {
    font: inherit;
}

.button-text-short,
.mobile-header-tools,
.mobile-scroll-search,
.mobile-filter-head,
.mobile-filter-backdrop {
    display: none;
}

@media (max-width: 1080px) and (min-width: 901px) {
    .filter-panel .tool-label {
        font-size: 12.5px;
    }

    .subcategory-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) and (min-width: 721px) {
    .filter-panel {
        max-height: none;
        overflow: visible;
    }

    .category-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .filter-panel .tool-tile {
        min-height: 36px;
    }

    .subcategory-row {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    :root {
        --header-height: 96px;
        --mobile-tools-height: 72px;
    }

    html {
        scroll-padding-bottom: calc(var(--mobile-tools-height) + 18px);
    }

    body.catalog-page {
        padding-bottom: calc(var(--mobile-tools-height) + 18px + env(safe-area-inset-bottom));
    }

    .desktop-scroll-top {
        display: none;
    }

    .wrap {
        width: min(100% - 24px, 1200px);
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 55;
        isolation: isolate;
        border-bottom-color: rgba(201, 214, 195, 0.7);
        background: rgba(255, 255, 255, 0.96);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        transition: box-shadow 0.18s ease, background 0.18s ease;
    }

    .site-header::before {
        content: "";
        position: absolute;
        right: 0;
        bottom: 100%;
        left: 0;
        z-index: -1;
        height: calc(220px + env(safe-area-inset-top));
        background: rgba(255, 255, 255, 0.96);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        pointer-events: none;
    }

    .header-inner {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        padding-block: 14px;
        transition: padding 0.18s ease;
    }

    .brand {
        width: 100%;
        align-items: flex-start;
        gap: 12px;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .brand-mark svg {
        width: 29px;
        height: 29px;
    }

    .brand-copy {
        min-width: 0;
        gap: 3px;
    }

    .brand-kicker {
        display: block;
        font-size: 10px;
    }

    .brand-title {
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        font-size: 23px;
        line-height: 1.08;
    }

    .header-info {
        display: grid;
        grid-template-columns: auto;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
    }

    .catalog-page .header-info {
        display: grid;
    }

    .header-info__icon-link {
        width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 5px;
        border-color: rgba(45, 150, 220, 0.22);
        background: rgba(255, 255, 255, 0.92);
    }

    .has-scrolled .site-header {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 26px rgba(28, 49, 35, 0.12);
    }

    .has-scrolled .site-header::before {
        background: rgba(255, 255, 255, 0.98);
    }

    .has-scrolled .header-inner {
        padding-block: 8px;
    }

    .has-scrolled .brand {
        align-items: center;
    }

    .has-scrolled .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .has-scrolled .brand-mark svg {
        width: 24px;
        height: 24px;
    }

    .has-scrolled .brand-kicker,
    .has-scrolled .brand-title-full {
        display: none;
    }

    .has-scrolled .brand-title-short {
        display: inline;
    }

    .has-scrolled .brand-title {
        font-size: 22px;
        line-height: 1;
        white-space: nowrap;
    }

    .has-scrolled .header-info__icon-link {
        width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .header-action {
        grid-column: 1 / -1;
        width: 100%;
        justify-self: stretch;
    }

    .header-action .button {
        width: 100%;
        min-height: 42px;
        padding-inline: 14px;
        font-size: 14px;
    }

    .catalog-page .header-action {
        display: none;
    }

    .button-text-full {
        display: inline;
    }

    .button-text-short {
        display: none;
    }

    .mobile-header-tools {
        position: fixed;
        bottom: calc(8px + env(safe-area-inset-bottom));
        left: 50%;
        z-index: 60;
        width: min(100% - 24px, 560px);
        min-height: 0;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding: 8px;
        border: 1px solid rgba(201, 214, 195, 0.82);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 16px 40px rgba(28, 49, 35, 0.2);
        transform: translateX(-50%);
        backdrop-filter: blur(16px);
    }

    html.js .mobile-scroll-search {
        position: fixed;
        top: auto;
        bottom: calc(var(--mobile-tools-height) + 4px + env(safe-area-inset-bottom));
        left: 50%;
        z-index: 59;
        width: min(100% - 24px, 560px);
        min-height: 50px;
        display: block;
        overflow: hidden;
        padding: 0;
        border: 2px solid rgba(47, 111, 63, 0.48);
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 14px 34px rgba(28, 49, 35, 0.16);
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, 12px);
        visibility: hidden;
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
        backdrop-filter: blur(14px);
    }

    html.js .is-mobile-scroll-search-visible .mobile-scroll-search {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
        visibility: visible;
    }

    .mobile-scroll-search__input {
        width: 100%;
        min-height: 46px;
        padding: 10px 54px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        font-size: 16px;
        font-weight: 650;
        text-align: center;
    }

    .mobile-scroll-search__input::placeholder {
        color: var(--color-text-soft);
        opacity: 0.48;
    }

    .mobile-scroll-search__submit {
        position: absolute;
        top: 50%;
        right: 5px;
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
        display: grid;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: var(--color-brand);
        box-shadow: none;
        line-height: 1;
        transform: translateY(-50%);
    }

    .mobile-scroll-search__submit:hover,
    .mobile-scroll-search__submit:focus-visible {
        background: var(--color-brand-soft);
        color: var(--color-brand-dark);
        outline: none;
    }

    .mobile-scroll-search__submit svg {
        width: 26px;
        height: 26px;
    }

    .search-form__control input,
    .filter-panel input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
    .filter-panel .search-form .search-form__control input[type="search"],
    .mobile-scroll-search__input {
        font-size: 16px;
    }

    .has-scrolled .mobile-header-tools {
        box-shadow: 0 18px 44px rgba(28, 49, 35, 0.24);
    }

    .mobile-tool-button {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid rgba(47, 111, 63, 0.2);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.96);
        color: var(--color-brand-dark);
        box-shadow: 0 8px 22px rgba(28, 49, 35, 0.14);
        font-size: 0;
        font-weight: 850;
        line-height: 1;
        text-decoration: none;
        white-space: nowrap;
        touch-action: manipulation;
        backdrop-filter: blur(12px);
    }

    .mobile-tool-button:hover,
    .mobile-tool-button:focus-visible {
        background: var(--color-brand-soft);
        border-color: rgba(47, 111, 63, 0.34);
    }

    .mobile-tool-primary {
        width: 100%;
        height: 48px;
        min-width: 0;
        min-height: 48px;
        padding: 0 12px;
        border-color: rgba(23, 74, 41, 0.1);
        border-radius: 14px;
        background: linear-gradient(135deg, var(--color-brand), #5d7f36);
        color: #fff;
        font-size: 14px;
        font-weight: 900;
    }

    .mobile-tool-primary:hover,
    .mobile-tool-primary:focus-visible {
        background: linear-gradient(135deg, #255f35, #536f2f);
        color: #fff;
    }

    .mobile-tool-label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-tool-icon {
        display: grid;
        place-items: center;
        width: 22px;
        height: 22px;
        flex: 0 0 auto;
        font-size: 17px;
        line-height: 1;
    }

    .mobile-tool-icon-menu {
        position: relative;
        width: 21px;
        height: 15px;
    }

    .mobile-tool-icon-menu::before {
        content: "";
        position: absolute;
        top: 1px;
        left: 0;
        width: 21px;
        height: 2px;
        border-radius: var(--radius-pill);
        background: currentColor;
        box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
    }

    .mobile-tool-icon-plus {
        position: relative;
        width: 19px;
        height: 19px;
        font-size: 0;
    }

    .mobile-tool-icon-plus::before,
    .mobile-tool-icon-plus::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 15px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transform: translate(-50%, -50%);
    }

    .mobile-tool-icon-plus::after {
        width: 2px;
        height: 15px;
    }

    .mobile-tool-icon-arrow-up svg {
        width: 22px;
        height: 22px;
    }

    .mobile-tool-scroll-top {
        color: var(--color-brand-dark);
    }

    .main-frame {
        padding-top: 12px;
    }

    .panel,
    .submit-panel {
        border-radius: var(--radius-md);
    }

    .feed-panel > .listing-feed:first-child,
    .listing-feed {
        padding: 0;
    }

    html.js .mobile-filter-backdrop {
        position: fixed;
        inset: 0;
        z-index: 70;
        background: rgba(13, 24, 17, 0.44);
        backdrop-filter: blur(2px);
    }

    html.js body.is-filter-open .mobile-filter-backdrop:not([hidden]) {
        display: block;
    }

    html.js .filter-panel {
        position: fixed;
        inset: auto 0 0;
        z-index: 80;
        width: 100%;
        max-height: min(86dvh, 720px);
        margin: 0;
        padding: 12px;
        overflow-y: auto;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -22px 60px rgba(28, 49, 35, 0.24);
        transform: translateY(calc(100% + 20px));
        transition: transform 0.22s ease;
    }

    html.js body.is-filter-open .filter-panel {
        transform: translateY(0);
    }

    html.js .mobile-filter-head {
        position: sticky;
        top: -12px;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: -12px -12px 8px;
        padding: 12px;
        border-bottom: 1px solid rgba(201, 214, 195, 0.8);
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
    }

    .mobile-filter-head strong {
        display: block;
        color: var(--color-brand-dark);
        font-size: 17px;
        line-height: 1.15;
    }

    .mobile-filter-kicker {
        display: none;
    }

    .mobile-filter-close {
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(47, 111, 63, 0.16);
        border-radius: 50%;
        background: var(--color-brand-soft);
        color: var(--color-brand-dark);
        font-size: 28px;
        line-height: 1;
        box-shadow: var(--shadow-xs);
    }

    html.js body.is-filter-open {
        overflow: hidden;
    }

    .filter-panel .button.compact {
        width: 100%;
    }

    .category-nav {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .deal-filter-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-panel .tool-tile {
        min-height: 38px;
        justify-content: flex-start;
        padding: 8px 10px;
        text-align: left;
    }

    .filter-panel .category-reset-tile {
        justify-content: center;
        text-align: center;
    }

    .subcategory-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-left: 0;
    }

    .listing-card {
        grid-template-columns: 1fr;
        gap: var(--space-3);
        padding: var(--space-4);
        border-radius: 16px;
    }

    .listing-photo {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .brand-title {
        font-size: 21px;
    }

    .mobile-header-tools {
        left: 50%;
        width: min(100% - 16px, 560px);
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 7px;
        padding: 7px;
    }

    html.js .mobile-scroll-search {
        width: min(100% - 18px, 560px);
    }

    .mobile-scroll-search__input {
        min-height: 46px;
        padding-inline: 50px;
        font-size: 16px;
    }

    .mobile-scroll-search__submit {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
    }

    .mobile-tool-button {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        padding-inline: 0;
        font-size: 0;
    }

    .mobile-tool-primary {
        width: 100%;
        height: 44px;
        min-width: 0;
        min-height: 44px;
        padding-inline: 10px;
        font-size: 13px;
    }

    .subcategory-row {
        grid-template-columns: 1fr;
    }
}
