.react-ui,
.react-ui * {
    box-sizing: border-box;
}

@font-face {
    font-family: "Marmelad";
    src: url("/static/vendor/fonts/marmelad-cyrillic-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F;
}

@font-face {
    font-family: "Marmelad";
    src: url("/static/vendor/fonts/marmelad-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC;
}

.react-ui {
    margin: 0;
    font-family: 'Marmelad', 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    overflow-x: hidden;
    --color-bg: #f7faef;
    --color-surface: #ffffff;
    --color-surface-soft: #f4f8ec;
    --color-text: #1e241b;
    --color-muted: rgba(30, 36, 27, 0.64);
    --color-line: rgba(30, 36, 27, 0.1);
    --color-brand: #b2e659;
    --color-brand-dark: #4d8d2b;
    --color-brand-soft: #eef7de;
    --radius-control: 14px;
    --radius-card: 22px;
    --radius-panel: 24px;
    --shadow-card: 0 14px 34px rgba(30, 36, 27, 0.07);
    --shadow-card-hover: 0 22px 46px rgba(30, 36, 27, 0.12);
}

.react-ui a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;
}

.react-ui {
    background:
        radial-gradient(circle at 14% 0%, rgba(178, 230, 89, 0.14), transparent 28%),
        var(--color-bg);
    color: var(--color-text);
}

.react-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.react-main {
    flex: 1;
    width: 100%;
}

.react-topbar {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 10px 30px rgba(30, 36, 27, 0.04);
}

.react-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 14px;
}

.react-logo {
    display: grid;
    gap: 2px;
    color: #1e241b;
}

.react-logo strong {
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0;
}

.react-logo span {
    font-size: 13px;
    opacity: 0.72;
}

.react-nav {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 2vw, 28px);
    flex-wrap: nowrap;
    min-width: 0;
}

.react-nav a,
.react-admin-nav a {
    color: #1e241b;
    font-size: 18px;
    white-space: nowrap;
}

.react-nav a:hover,
.react-admin-nav a:hover {
    color: var(--color-brand-dark);
}

.react-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.react-header .react-actions {
    flex: 0 0 auto;
    padding: 5px;
    background: var(--color-surface-soft);
    border: 1px solid rgba(30, 36, 27, 0.08);
    border-radius: 18px;
}

.react-search {
    display: grid;
    grid-template-columns: auto minmax(160px, 1fr) auto;
    gap: 12px;
    padding: 14px 30px 22px;
}

.react-search-box {
    position: relative;
}

.react-search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    gap: 4px;
    padding: 8px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-control);
    box-shadow: var(--shadow-card);
}

.react-search-suggestion {
    display: block;
    padding: 8px 10px;
    border-radius: 12px;
}

.react-search-suggestion:hover {
    background: var(--color-brand-soft);
}

.react-search input,
.react-input,
.react-select,
.react-textarea {
    width: 100%;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    border-radius: var(--radius-control);
    min-height: 46px;
    padding: 10px 14px;
    font: inherit;
    color: #1e241b;
}

.react-password-field {
    position: relative;
    width: 100%;
}

.react-password-input {
    padding-right: 48px;
}

.react-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #5f6f57;
    transform: translateY(-50%);
    cursor: pointer;
    flex-shrink: 0;
}

.react-password-toggle:hover {
    background: var(--color-brand-soft);
    filter: none;
    color: var(--color-text);
}

.react-password-toggle:focus-visible {
    outline: 3px solid rgba(77, 141, 43, 0.26);
    outline-offset: 2px;
}

.react-password-toggle svg {
    width: 20px;
    height: 20px;
}

.react-textarea {
    min-height: 108px;
    resize: vertical;
}

.react-btn,
.react-icon-btn {
    border: 0;
    background: var(--color-brand);
    color: var(--color-text);
    min-height: 46px;
    border-radius: var(--radius-control);
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    cursor: pointer;
}

.react-btn:hover,
.react-icon-btn:hover {
    filter: brightness(0.96);
    color: var(--color-text);
}

.react-catalog-direct-link {
    white-space: nowrap;
}

.react-inline-form {
    display: inline-flex;
    margin: 0;
}

.react-btn:disabled,
.react-icon-btn:disabled {
    cursor: progress;
    opacity: 0.62;
    transform: none;
}

.react-btn:focus-visible,
.react-icon-btn:focus-visible,
.react-input:focus-visible,
.react-select:focus-visible,
.react-textarea:focus-visible,
.react-chip-button:focus-visible,
.react-catalog-side-link:focus-visible,
.react-segment:focus-visible,
.react-toggle-pill:focus-visible {
    outline: 3px solid rgba(77, 141, 43, 0.26);
    outline-offset: 2px;
}

.react-icon-btn.active {
    background: #f04c3a;
    color: #ffffff;
}

.react-btn.secondary {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    color: var(--color-text);
}

.react-btn.danger {
    background: #f48b74;
    color: #ffffff;
}

.react-icon-btn {
    width: 46px;
    padding: 0;
}

.react-header .react-icon-btn {
    width: auto;
    min-width: 46px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #1e241b;
    white-space: nowrap;
}

.react-header .react-icon-btn-badge {
    background: rgba(178, 230, 89, 0.62);
}

.react-header .react-icon-btn:hover {
    background: #ffffff;
    border-color: rgba(30, 36, 27, 0.1);
    filter: none;
}

.react-header .react-icon-btn[title="\412\44b\439\442\438"] {
    color: rgba(30, 36, 27, 0.66);
}

.react-header .react-icon-btn[title="\412\44b\439\442\438"]:hover {
    color: #8a1f17;
    border-color: rgba(214, 64, 69, 0.24);
}

.react-header .react-icon-btn[title="\418\437\431\440\430\43d\43d\43e\435"],
.react-header .react-icon-btn[title="\41f\440\43e\444\438\43b\44c"] {
    background: #ffffff;
}

.react-icon-btn svg,
.react-icon-btn i {
    width: 21px;
    height: 21px;
    display: block;
}

a.react-icon-btn {
    text-decoration: none;
    color: #1e241b;
}

.react-icon-btn-label {
    display: none;
    font-size: 14px;
    line-height: 1;
}

.react-icon-btn-badge {
    position: relative;
}

.react-counter-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #d64045;
    color: #ffffff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    font-weight: 700;
}

.react-footer-inner a {
    display: block;
    margin-top: 6px;
}

.react-ui .alert {
    border-radius: var(--radius-control);
    padding: 12px 14px;
    margin: 0 0 14px;
}

.react-ui .alert-danger {
    background: #fde8e4;
    color: #8a2f1f;
}

.react-ui .alert-success {
    background: #e7f6df;
    color: #245a22;
}

.react-ui .alert-warning {
    background: #fff4d6;
    color: #7a5a00;
}

.react-table .react-actions {
    flex-wrap: wrap;
}

.react-tab-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.react-simple-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(30, 36, 27, 0.08);
}

.react-simple-row:last-child {
    border-bottom: 0;
}

.react-panel-less {
    display: block;
}

.react-page {
    padding-top: 26px;
    padding-bottom: 42px;
}

.react-hero-banners,
.react-stat-grid,
.react-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}

.react-banner,
.react-card,
.react-panel,
.react-product-card {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.react-banner {
    min-height: 142px;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    overflow: hidden;
    color: #1e241b;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.react-banner:hover {
    color: #1e241b;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(30, 36, 27, 0.1);
}

.react-banner-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    max-width: min-content;
}

.react-banner strong {
    font-size: 28px;
    line-height: 1.05;
}

.react-banner small {
    font-size: 14px;
    line-height: 1.25;
    color: rgba(30, 36, 27, 0.68);
}

.react-banner-icon {
    font-size: 56px;
    line-height: 1;
}

.react-banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.react-banner-icon i,
.react-banner-icon svg {
    width: 52px;
    height: 52px;
    display: block;
}

.tone-orange { background: #f6bd74; }
.tone-pink { background: #f7bfcb; }
.tone-green { background: #b2e659; }
.tone-yellow { background: #e7ff5d; }
.tone-cream { background: #fff1c9; }

.react-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
}

.react-home-shelves {
    display: grid;
    gap: 30px;
}

.react-home-shelf {
    display: grid;
    gap: 16px;
}

.react-home-shelf-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.react-home-shelf-head h2 {
    margin: 6px 0 4px;
    font-size: 30px;
    line-height: 1.1;
}

.react-home-shelf-head p {
    margin: 0;
    color: rgba(30, 36, 27, 0.68);
}

.react-home-shelf-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background: var(--color-brand-soft);
    color: var(--color-brand-dark);
}

.react-home-shelf-icon i,
.react-home-shelf-icon svg {
    width: 21px;
    height: 21px;
}

.react-product-card {
    position: relative;
    overflow: hidden;
    color: #1e241b;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.react-product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
    color: #1e241b;
}

.react-product-image {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    background: #eef2e9;
    overflow: hidden;
    margin: 10px 10px 0;
    border-radius: 18px;
}

.react-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.react-product-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    background:
        radial-gradient(circle at 24% 18%, rgba(178, 230, 89, 0.42), transparent 34%),
        radial-gradient(circle at 78% 22%, rgba(240, 182, 98, 0.28), transparent 28%),
        linear-gradient(135deg, #f8f9ef, #eef6e7);
    color: #244014;
}

.react-product-placeholder.compact {
    min-height: 56px;
    gap: 4px;
}

.react-product-placeholder.compact span {
    font-size: 26px;
}

.react-product-placeholder.compact small {
    font-size: 11px;
}

.react-product-placeholder span {
    font-size: clamp(48px, 8vw, 86px);
    line-height: 1;
}

.react-product-placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.react-product-placeholder-icon i,
.react-product-placeholder-icon svg {
    width: clamp(44px, 6vw, 72px);
    height: clamp(44px, 6vw, 72px);
    display: block;
}

.react-product-placeholder small {
    max-width: 80%;
    color: rgba(30, 36, 27, 0.68);
    text-align: center;
}

.react-product-body {
    padding: 13px 14px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

.react-product-card .react-product-seller-line {
    min-height: 20px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.react-product-card .react-product-price-row {
    min-height: 36px;
    display: flex;
    align-items: center;
}

.react-product-card .react-product-price-row .react-price-display {
    width: 100%;
}

.react-product-name {
    min-height: 44px;
    font-size: 18px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.react-muted {
    color: var(--color-muted);
}

.react-price {
    font-size: 22px;
    font-weight: 700;
}

.react-price-display {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.react-price-display.compact {
    gap: 8px;
}

.react-price-current {
    font-size: 22px;
    font-weight: 700;
    color: #1e241b;
}

.react-price-current-discount {
    color: var(--color-brand-dark);
}

.react-price-old {
    font-size: 15px;
    color: rgba(30, 36, 27, 0.5);
    text-decoration-thickness: 1.5px;
}

.react-chip-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.react-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    border-radius: 999px;
    padding: 5px 10px;
    background: #eef5e7;
    color: #2f5f18;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
}

.react-chip-success {
    background: #e7f6df;
    color: #245a22;
}

.react-chip-warning {
    background: #fff4d6;
    color: #6c5100;
}

.react-chip-danger {
    background: #fde8e4;
    color: #8a2f1f;
}

.react-chip-neutral {
    background: #eef2f0;
    color: #405044;
}

.react-chip-button {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.react-chip-button.active {
    background: #1e241b;
    color: #ffffff;
    border-color: #1e241b;
}

.react-rating-chip {
    color: #365f12;
    background: #edf8dc;
}

.react-catalog-page {
    --catalog-green: var(--color-brand);
    --catalog-green-dark: var(--color-brand-dark);
    --catalog-mint: var(--color-brand-soft);
    --catalog-line: var(--color-line);
    display: grid;
    gap: 22px;
}

.react-catalog-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--catalog-line);
    border-radius: 28px;
    padding: clamp(22px, 4vw, 38px);
    background:
        radial-gradient(circle at 82% 12%, rgba(178, 230, 89, 0.48), transparent 24%),
        radial-gradient(circle at 94% 72%, rgba(246, 189, 116, 0.3), transparent 22%),
        linear-gradient(135deg, #ffffff 0%, #f3f9e8 100%);
}

.react-catalog-hero::after {
    content: "";
    position: absolute;
    right: clamp(16px, 5vw, 72px);
    bottom: -42px;
    width: 190px;
    height: 190px;
    border-radius: 48% 52% 44% 56%;
    background: rgba(66, 166, 65, 0.1);
    transform: rotate(-12deg);
}

.react-catalog-hero .react-page-title {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
}

.react-catalog-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
}

.react-catalog-hero p {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0;
    color: rgba(30, 36, 27, 0.68);
    font-size: 18px;
}

.react-catalog-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 5px 11px;
    background: #e6f7d0;
    color: var(--catalog-green-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.react-catalog-promo-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.react-catalog-promo {
    min-height: 112px;
    border-radius: 24px;
    padding: 18px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon title"
        "icon text";
    gap: 4px 12px;
    align-items: center;
    border: 1px solid rgba(30, 36, 27, 0.08);
    color: #1e241b;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.react-catalog-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(30, 36, 27, 0.1);
    color: #1e241b;
}

.react-catalog-promo-icon {
    grid-area: icon;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.74);
}

.react-catalog-promo-icon i,
.react-catalog-promo-icon svg {
    width: 28px;
    height: 28px;
}

.react-catalog-promo strong {
    grid-area: title;
    font-size: 21px;
}

.react-catalog-promo small {
    grid-area: text;
    color: rgba(30, 36, 27, 0.64);
}

.react-catalog-promo.tone-green { background: #dff6c4; }
.react-catalog-promo.tone-cream { background: #fff1c9; }
.react-catalog-promo.tone-yellow { background: #f4f7b8; }

.react-catalog-promo.active {
    outline: 2px solid #2d8a4f;
    outline-offset: 2px;
    box-shadow: 0 16px 34px rgba(45, 138, 79, 0.16);
}

.react-catalog-layout {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.react-catalog-sidebar,
.react-catalog-filter-card,
.react-catalog-toolbar {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--catalog-line);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-card);
}

.react-catalog-sidebar {
    position: sticky;
    top: 16px;
    padding: 16px;
}

.react-catalog-sidebar h2,
.react-catalog-toolbar h2 {
    margin: 0;
    font-size: 24px;
}

.react-catalog-sidebar nav {
    display: grid;
    gap: 6px;
    margin-top: 14px;
}

.react-catalog-side-link {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 46px;
    border-radius: 15px;
    padding: 6px 10px 6px 6px;
    color: rgba(30, 36, 27, 0.78);
}

.react-catalog-side-link:hover,
.react-catalog-side-link.active {
    background: var(--catalog-mint);
    color: var(--catalog-green-dark);
}

.react-catalog-side-link span {
    width: 36px;
    height: 36px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: #f4f8ec;
}

.react-catalog-side-link.active span {
    background: var(--catalog-green);
    color: var(--color-text);
}

.react-catalog-side-link svg,
.react-catalog-side-link i {
    width: 20px;
    height: 20px;
}

.react-catalog-content {
    display: grid;
    gap: 16px;
}

.react-catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
}

.react-catalog-toolbar > div {
    display: grid;
    gap: 7px;
}

.react-catalog-filter-card {
    padding: 18px;
    grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.65fr) minmax(220px, 0.7fr) auto;
    align-items: end;
}

.react-catalog-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.react-catalog-filter-head > div {
    display: grid;
    gap: 3px;
}

.react-filter-title {
    display: block;
    margin-bottom: 6px;
    color: rgba(30, 36, 27, 0.72);
}

.react-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: -4px;
}

.react-filter-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 4px 10px;
    background: #eff8e6;
    color: var(--catalog-green-dark);
    border: 1px solid var(--catalog-line);
    font-size: 13px;
    font-weight: 700;
}

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

.react-segment-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 5px;
    border-radius: 18px;
    background: #f4f8ec;
    border: 1px solid rgba(30, 36, 27, 0.07);
}

.react-segment {
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: rgba(30, 36, 27, 0.72);
    padding: 9px 11px;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.react-segment.active {
    background: var(--color-surface);
    color: var(--catalog-green-dark);
    box-shadow: 0 8px 18px rgba(30, 36, 27, 0.08);
}

.react-price-filter-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.react-price-filter .react-input {
    border-radius: 16px;
    min-height: 44px;
    background: #fbfdf7;
}

.react-toggle-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.react-toggle-pill {
    border: 1px solid rgba(30, 36, 27, 0.1);
    border-radius: 999px;
    min-height: 44px;
    padding: 9px 13px;
    background: #fbfdf7;
    color: rgba(30, 36, 27, 0.76);
    font: inherit;
    cursor: pointer;
}

.react-toggle-pill.active {
    background: var(--catalog-green);
    border-color: var(--catalog-green);
    color: var(--color-text);
}

.react-filter-submit {
    min-width: 132px;
    min-height: 46px;
    border-radius: 16px;
    background: var(--catalog-green);
    color: var(--color-text);
    font-weight: 700;
}

.react-catalog-filter-card .react-chip-row {
    gap: 7px;
}

.react-catalog-filter-card .react-chip-button {
    background: #f5faee;
}

.react-catalog-filter-card .react-chip-button.active {
    background: var(--catalog-green);
    border-color: var(--catalog-green);
}

.react-catalog-page .react-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

.react-product-badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    border-radius: 999px;
    padding: 5px 9px;
    background: #f04c3a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(240, 76, 58, 0.24);
}

.react-product-badge.certificate {
    left: auto;
    right: 10px;
    background: var(--color-surface);
    color: var(--catalog-green-dark, #23732b);
}

.react-product-meta .react-chip {
    min-height: 26px;
    padding: 3px 8px;
    font-size: 12px;
}

.react-catalog-page .react-product-name {
    font-size: 17px;
    min-height: 41px;
}

.react-catalog-page .react-price-current {
    font-size: 25px;
}

.react-catalog-page .react-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
}

.react-product-card .react-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    align-items: center;
    margin-top: auto;
}

.react-product-card .react-product-meta {
    min-height: 26px;
}

.react-product-card .react-stock-label {
    min-height: 22px;
}

.react-buy-btn {
    width: 100%;
    border-radius: 14px;
    background: var(--color-brand);
    color: var(--color-text);
    font-weight: 700;
}

.react-product-cart-control {
    display: grid;
    gap: 6px;
    min-width: 0;
    width: 100%;
}

.react-product-qty-control {
    display: grid;
    grid-template-columns: 42px minmax(32px, 1fr) 42px;
    align-items: center;
    gap: 8px;
    min-height: 44px;
}

.react-product-qty-control .react-icon-btn {
    width: 42px;
    min-height: 42px;
    border-radius: 12px;
}

.react-qty-symbol-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.react-product-qty-control .react-cart-qty {
    min-width: 32px;
    font-size: 20px;
}

.react-cart-inline-message {
    color: #8a1f17;
    font-size: 12px;
    line-height: 1.25;
}

.react-catalog-page .react-icon-btn {
    border-radius: var(--radius-control);
}

.react-catalog-pager {
    margin-top: 18px;
    justify-content: center;
}

.react-complaint-category-chips {
    gap: 10px;
}

.react-complaints-shell {
    display: grid;
    gap: 18px;
}

.react-reviews-moderation .react-review-mod-list {
    display: grid;
    gap: 16px;
}

.react-review-mod-card {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.react-review-mod-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.react-review-mod-product {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text, #1f2a1d);
    text-decoration: none;
}

a.react-review-mod-product:hover {
    text-decoration: underline;
}

.react-review-mod-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.react-review-mod-meta-item {
    padding: 12px 14px;
}

.react-review-mod-meta-item b {
    display: block;
    margin-bottom: 4px;
    font-size: 0.82rem;
    color: var(--color-text-muted, #5a6458);
    font-weight: 600;
}

.react-review-mod-meta-item p {
    margin: 0;
    font-size: 0.95rem;
}

.react-review-mod-text {
    margin: 0;
    padding: 14px 16px;
    border-radius: var(--radius-control);
    border: 1px solid var(--color-line);
    background: var(--color-surface-soft);
    white-space: pre-wrap;
    line-height: 1.45;
}

.react-complaint-list {
    display: grid;
    gap: 14px;
}

/* Ответ и смена статуса только на странице обращения, не в списке */
.react-complaint-list .react-complaint-status-form {
    display: none !important;
}

.react-complaint-card {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.react-complaints-shell .react-complaint-card {
    border-left: 4px solid rgba(90, 118, 70, 0.28);
}

.react-complaint-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.react-complaint-card-head b {
    display: block;
    font-size: 18px;
}

.react-complaint-card-head p,
.react-complaint-text {
    margin: 0;
}

.react-complaint-text {
    color: rgba(30, 36, 27, 0.82);
    line-height: 1.55;
    white-space: pre-wrap;
}

.react-complaint-meta {
    display: flex;
    gap: 8px 16px;
    flex-wrap: wrap;
    color: rgba(30, 36, 27, 0.68);
    font-size: 14px;
}

.react-complaint-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.react-complaint-status-form {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(260px, 1fr) auto;
    gap: 10px;
    align-items: start;
    padding-top: 10px;
    border-top: 1px solid rgba(30, 36, 27, 0.08);
}

.react-complaint-status-form .react-actions {
    justify-content: flex-start;
}

.react-complaint-status-form textarea {
    min-height: 96px;
}

.react-complaint-detail {
    display: grid;
    gap: 18px;
}

.react-complaint-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.react-complaint-detail-layout.with-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
}

.react-complaint-detail-main {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.react-complaint-detail-sidebar {
    min-width: 0;
}

.react-complaint-side-card {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 16px;
}

.react-complaint-side-card h2 {
    margin: 0;
    font-size: 1.15rem;
}

.react-complaint-side-form {
    display: grid;
    gap: 12px;
}

.react-complaint-side-form .react-field-label {
    display: grid;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-muted, #5a6458);
}

.react-complaint-side-actions {
    display: grid;
    gap: 10px;
}

.react-complaint-side-actions .react-btn.wide {
    width: 100%;
    justify-content: center;
}

.react-chat-window {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    max-height: min(72vh, 680px);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.react-chat-window-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-line);
    background: linear-gradient(180deg, #fafcf8 0%, #f4f7f2 100%);
}

.react-chat-window-head h2 {
    margin: 0 0 4px;
    font-size: 1.15rem;
}

.react-chat-thread {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f7f9f6;
}

.react-chat-thread-empty {
    margin: auto;
    max-width: 360px;
    text-align: center;
    color: var(--color-text-muted, #5a6458);
    padding: 24px 12px;
}

.react-chat-bubble-row {
    display: flex;
    justify-content: flex-start;
}

.react-chat-bubble-row.is-own {
    justify-content: flex-end;
}

.react-chat-bubble-row.is-initial .react-chat-bubble {
    border-style: dashed;
    background: #fff9eb;
}

.react-chat-bubble {
    max-width: min(85%, 560px);
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid var(--color-line);
    background: #fff;
    box-shadow: 0 1px 2px rgba(20, 35, 20, 0.06);
}

.react-chat-bubble-row.is-own .react-chat-bubble {
    background: var(--color-brand-soft);
    border-color: #b9df86;
}

.react-chat-bubble-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 6px;
    font-size: 0.82rem;
}

.react-chat-bubble-author {
    font-weight: 700;
    color: var(--color-text, #1f2a1d);
}

.react-chat-bubble-role {
    color: var(--color-text-muted, #5a6458);
}

.react-chat-bubble-role::before {
    content: "·";
    margin-right: 6px;
}

.react-chat-bubble-time {
    margin-left: auto;
    color: var(--color-text-muted, #5a6458);
    font-size: 0.78rem;
    white-space: nowrap;
}

.react-chat-bubble-text {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.45;
}

.react-chat-compose {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid var(--color-line);
    background: #fff;
}

.react-chat-compose-input {
    min-height: 88px;
    resize: vertical;
}

.react-chat-compose-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.react-chat-attach-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-control);
    border: 1px dashed var(--color-line);
    background: var(--color-surface-soft);
    cursor: pointer;
    font-size: 0.92rem;
}

.react-chat-attach-input {
    display: none;
}

.react-complaint-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.react-complaint-summary .react-card,
.react-complaint-message,
.react-complaint-attachment {
    padding: 16px;
}

.react-complaint-summary p,
.react-complaint-message p {
    margin-bottom: 0;
}

.react-status-chip::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
}

.status-created,
.payment-pending {
    background: #fff4d6;
    color: #7a5a00;
    border-color: #f1d178;
}

.status-confirmed,
.status-paid,
.payment-paid {
    background: #e9f7d8;
    color: #245b12;
    border-color: #b9df86;
}

.status-assembling {
    background: #edf6e7;
    color: #2f5f18;
    border-color: #b2e659;
}

.status-shipped,
.status-delivering {
    background: #e7f1ff;
    color: #174a7c;
    border-color: #9fc7f2;
}

.status-completed {
    background: #e9f7ec;
    color: #1f6b3a;
    border-color: #8fd2a3;
}

.status-canceled,
.status-cancelled,
.status-refunded,
.payment-cancelled,
.payment-canceled {
    background: #fde8e4;
    color: #8a2f1f;
    border-color: #f2a596;
}

.react-order-cancel-banner {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #f2a596;
    background: #fde8e4;
    color: #8a2f1f;
}

.react-order-cancel-banner strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.react-order-cancel-banner p {
    margin: 4px 0 0;
}

.react-panel[id^="order-"] {
    scroll-margin-top: 88px;
}

.react-row-link {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto minmax(110px, auto);
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    color: inherit;
    text-decoration: none;
    border-top: 1px solid var(--color-line);
}

.react-row-link:hover {
    color: var(--color-brand);
}

.react-pickup-address {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #b9df86;
    background: #f7fcf0;
    color: #245b12;
}

.react-pickup-address p {
    margin: 0;
}

.react-pickup-address p + p {
    margin-top: 8px;
}

.react-order-meta-grid,
.react-logistics-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.react-logistics-card {
    border-left: 4px solid #2f80ed;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.react-yandex-delivery-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 4px 0 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff3b8;
    color: #2f2b15;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.react-yandex-delivery-card {
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid rgba(47, 128, 237, 0.18);
    border-radius: 8px;
    background: #f6fbff;
}

.react-yandex-delivery-card p {
    margin: 0;
    color: rgba(30, 36, 27, 0.72);
    line-height: 1.45;
}

.react-track-number {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    color: #174a7c;
}

.react-logistics-status {
    color: #174a7c;
    font-weight: 600;
}

.react-logistics-timeline {
    background: var(--color-surface);
}

.react-delivery-timeline {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.react-delivery-step {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(30, 36, 27, 0.5);
}

.react-delivery-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: currentColor;
}

.react-delivery-step-label {
    font-size: 14px;
}

.react-delivery-step.is-done {
    color: #2d8a4f;
}

.react-delivery-step.is-current {
    color: #2f80ed;
}

.react-delivery-step.is-current .react-delivery-step-dot {
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 5px rgba(47, 128, 237, 0.12);
}

.react-delivery-step.is-future {
    color: rgba(30, 36, 27, 0.28);
}

.react-card,
.react-panel {
    padding: 20px;
}

.react-auth-page {
    position: relative;
    min-height: calc(100vh - 40px);
    display: grid;
    place-items: center;
    padding: 36px 18px;
    overflow: hidden;
    isolation: isolate;
}

.react-auth-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(177, 230, 89, 0.22), transparent 34%),
        linear-gradient(180deg, #f6f9ef 0%, #eef3e3 100%);
}

.react-auth-shell .react-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.react-auth-page-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(177, 230, 89, 0.34), transparent 32%),
        radial-gradient(circle at right center, rgba(247, 191, 203, 0.28), transparent 24%),
        linear-gradient(180deg, #f5f8ee 0%, #eef3e2 100%);
    z-index: -1;
}

.react-auth-card {
    position: relative;
    width: min(100%, 560px);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(30, 36, 27, 0.08);
    box-shadow: 0 24px 70px rgba(20, 27, 15, 0.14);
    overflow: hidden;
}

.react-auth-card-wide {
    width: min(100%, 760px);
}

.react-auth-card-slim {
    width: min(100%, 440px);
}

.react-auth-card::before {
    content: "";
    display: block;
    height: 8px;
    background: linear-gradient(90deg, #9ae13f 0%, #d4ef84 100%);
}

.react-auth-card-body {
    padding: 30px 32px 32px;
}

.react-auth-header {
    display: grid;
    gap: 10px;
    margin-bottom: 6px;
}

.react-auth-card h1,
.react-auth-title {
    margin: 0;
    font-size: clamp(34px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.react-auth-subtitle {
    margin: 0;
    color: rgba(30, 36, 27, 0.66);
    font-size: 16px;
    line-height: 1.5;
    max-width: 40ch;
}

.react-auth-card .react-stack {
    gap: 12px;
}

.react-auth-links {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    padding-top: 2px;
}

.react-auth-links p {
    margin: 0;
}

.react-auth-overlay {
    background: rgba(15, 18, 12, 0.66);
    backdrop-filter: blur(7px);
}

.react-auth-card-modal {
    width: min(100%, 560px);
    max-height: min(90vh, 860px);
    overflow: auto;
}

.react-auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(248, 250, 244, 0.92);
    color: #1e241b;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(20, 27, 15, 0.08);
}

.react-auth-close:hover {
    filter: brightness(0.98);
}

.react-panel + .react-panel {
    margin-top: 18px;
}

.react-page-title {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.react-page-title h1,
.react-page-title h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.15;
}

.react-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.react-form-grid .wide {
    grid-column: 1 / -1;
}

.react-stack {
    display: grid;
    gap: 14px;
}

.react-chat-list {
    display: grid;
    gap: 10px;
}

.react-chat-message {
    max-width: min(720px, 100%);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-control);
    padding: 12px 14px;
    background: var(--color-surface-soft);
}

.react-chat-message.own {
    justify-self: end;
    background: var(--color-brand-soft);
}

.react-chat-message p {
    margin: 6px 0;
}

.react-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.react-table th,
.react-table td {
    padding: 12px;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
    vertical-align: top;
}

.react-table th {
    color: rgba(30, 36, 27, 0.66);
    font-weight: 400;
}

.react-clickable-row {
    cursor: pointer;
}

.react-clickable-row:hover,
.react-clickable-row:focus-visible {
    background: var(--color-surface-soft);
    outline: none;
}

.react-clickable-row:focus-visible td:first-child {
    box-shadow: inset 3px 0 0 #6ea447;
}

.react-product-detail {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 28px;
    align-items: start;
}

.react-product-detail-image {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-card);
    padding: 0;
}

.react-product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.react-product-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: #eef2e9;
    touch-action: pan-y;
}

.react-product-gallery-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.react-product-gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.28s ease;
    will-change: transform;
}

.react-product-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.react-product-gallery-slide img,
.react-product-gallery-slide .react-product-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.react-product-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #1e241b;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(30, 36, 27, 0.14);
}

.react-product-gallery-nav.prev {
    left: 12px;
}

.react-product-gallery-nav.next {
    right: 12px;
}

.react-product-gallery-nav:hover {
    background: #ffffff;
}

.react-product-gallery-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.react-product-gallery-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.react-product-gallery-dot.active {
    width: 24px;
    background: #ffffff;
}

.react-product-gallery-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(30, 36, 27, 0.58);
    color: #ffffff;
    font-size: 13px;
    line-height: 1.2;
}

.react-product-detail .react-product-spec-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 4px 0 22px;
    align-items: stretch;
}

.react-product-spec-item {
    display: grid;
    grid-template-rows: 2.75rem minmax(1.35rem, auto);
    gap: 8px;
    min-height: 88px;
    padding: 14px 12px;
    min-width: 0;
    align-content: start;
    background: var(--color-surface-soft);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
}

.react-product-detail > .react-panel.react-stack {
    margin-top: 0;
    padding-top: 14px;
}

.react-product-reviews {
    margin-top: 28px;
}

.react-review-stars {
    display: inline-flex;
    gap: 2px;
    color: #c58b15;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.react-review-response {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.react-review-response-toggle {
    align-self: flex-start;
    justify-self: start;
    border: 0;
    background: transparent;
    color: rgba(30, 36, 27, 0.58);
    border-radius: 0;
    padding: 0;
    min-height: 0;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    font: inherit;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}

.react-review-response-toggle:hover {
    color: #315f1c;
    background: transparent;
    text-decoration: none;
}

.react-review-response-body {
    padding: 10px 12px;
    border-left: 3px solid rgba(178, 230, 89, 0.8);
    background: var(--color-surface-soft);
    border-radius: var(--radius-control);
    color: rgba(30, 36, 27, 0.78);
    line-height: 1.45;
    font-size: 15px;
}

.react-product-detail .react-product-spec-label {
    display: flex;
    align-items: flex-end;
    margin: 0;
    color: rgba(30, 36, 27, 0.58);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
}

.react-product-detail .react-product-spec-value {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: #1e241b;
    font-size: 17px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: normal;
    text-wrap: pretty;
}

.react-product-detail a.react-product-spec-value {
    color: #315f1c;
    text-decoration: none;
}

.react-product-detail a.react-product-spec-value:hover {
    text-decoration: underline;
}

@media (max-width: 1180px) and (min-width: 861px) {
    .react-product-detail .react-product-spec-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.react-seller-hero {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.react-seller-hero-photo {
    min-height: 240px;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: linear-gradient(135deg, #f4f6ed, #e8f4da);
}

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

.react-cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.react-cert-card {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    padding: 12px;
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 10px;
}

.react-cert-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-control);
    background: var(--color-surface-soft);
}

.react-passport-preview {
    width: 100%;
    max-width: 280px;
    border-radius: var(--radius-card);
    border: 1px solid var(--color-line);
    background: var(--color-surface-soft);
    display: block;
}

.react-passport-thumb {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: var(--radius-control);
    border: 1px solid var(--color-line);
    display: block;
}

.react-passport-large {
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius-card);
    border: 1px solid var(--color-line);
    display: block;
    background: var(--color-surface-soft);
}

.react-seller-application-card {
    padding: 18px;
}

.react-seller-application-grid {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.react-farmer-app-list {
    display: grid;
    gap: 12px;
}

.react-farmer-app-card {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    padding: 16px;
}

.react-farmer-app-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(30, 36, 27, 0.08);
}

.react-farmer-app-title {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.react-farmer-app-title h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.react-farmer-app-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 18px;
    padding-top: 14px;
    align-items: start;
}

.react-farmer-app-main {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.react-farmer-app-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(170px, 1fr));
    gap: 10px 16px;
}

.react-farmer-app-field {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.react-farmer-app-field b,
.react-farmer-app-description b,
.react-farmer-app-form label > span {
    color: rgba(30, 36, 27, 0.64);
    font-size: 13px;
    font-weight: 400;
}

.react-farmer-app-field span {
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.react-farmer-app-field-wide {
    grid-column: span 2;
}

.react-farmer-app-description {
    display: grid;
    gap: 4px;
    max-width: 760px;
}

.react-farmer-app-description p {
    margin: 0;
    line-height: 1.5;
    color: rgba(30, 36, 27, 0.78);
}

.react-farmer-app-form {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: var(--color-surface-soft);
}

.react-farmer-app-form label {
    display: grid;
    gap: 5px;
}

.react-farmer-app-form .react-textarea {
    min-height: 92px;
}

.react-farmer-app-form .react-btn {
    width: 100%;
}

.react-product-mini {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.react-product-mini-image {
    width: 96px;
    height: 96px;
    display: block;
    border-radius: var(--radius-control);
    overflow: hidden;
    background: #eef2e9;
    flex: 0 0 auto;
}

.react-product-mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.react-product-mini-body {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.react-product-mini-meta {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.react-product-mini-name {
    display: block;
    font-weight: 600;
    line-height: 1.25;
}

.react-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 18px;
    align-items: stretch;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.react-cart-main {
    min-height: 560px;
}

.react-cart-seller-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    border-bottom: 1px solid var(--color-line);
    padding-bottom: 14px;
    margin-bottom: 18px;
    font-size: 20px;
}

.react-cart-seller-row b,
.react-cart-seller-row strong,
.react-cart-seller-row span {
    min-width: 0;
}

.react-cart-seller-row b {
    overflow-wrap: anywhere;
}

.react-cart-items {
    display: grid;
    gap: 16px;
}

.react-cart-seller-group {
    display: grid;
    gap: 14px;
}

.react-cart-seller-items {
    display: grid;
    gap: 12px;
}

.react-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 22px;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: var(--color-surface-soft);
}

.react-cart-item-main {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.react-cart-subtitle {
    color: var(--color-muted);
    font-size: clamp(16px, 2.2vw, 24px);
    line-height: 1.25;
    word-break: break-word;
}

.react-cart-seller-name {
    font-size: 14px;
}

.react-cart-item-controls {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.react-cart-item-controls .react-icon-btn {
    width: 56px;
    min-height: 56px;
    border-radius: 14px;
    font-size: 24px;
}

.react-cart-qty {
    min-width: 28px;
    text-align: center;
    font-size: 28px;
}

.react-cart-item-total {
    font-size: clamp(28px, 5.4vw, 56px);
    font-weight: 600;
    white-space: nowrap;
}

.react-cart-summary {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-panel);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-rows: auto auto auto auto 1fr;
    gap: 24px;
    padding: 34px 22px 26px;
    min-height: 560px;
}

.react-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    color: var(--color-muted);
    font-size: 20px;
}

.react-cart-summary-row b {
    color: var(--color-text);
    font-size: 24px;
    font-weight: 500;
}

.react-cart-discount-row b {
    color: #2d8a4f;
}

.react-coupon-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.react-coupon-row .react-input {
    flex: 1;
}

.react-coupon-row .react-btn {
    flex-shrink: 0;
}

.react-order-item-exclude-form {
    display: inline-block;
}

.react-notification-body {
    white-space: pre-line;
}

.react-order-item-exclude.compact textarea {
    min-height: 72px;
}

.react-order-item-exclude.compact .react-btn {
    width: 100%;
}

.react-order-item-exclude-wrap {
    min-width: 220px;
}

.react-cart-checkout-form .react-form-grid {
    display: grid;
    margin-bottom: 14px;
}

.react-cart-submit {
    width: 100%;
    min-height: 56px;
    font-size: 22px;
}

.react-cart-submit-stack,
.react-cart-seller-checkout {
    display: grid;
    gap: 12px;
}

.react-checkout-group {
    border: 1px solid rgba(46, 125, 50, 0.18);
    box-shadow: none;
    display: grid;
    gap: 18px;
}

.react-checkout-methods {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px 16px;
}

.react-checkout-method {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: min(100%, 280px);
    flex: 1 1 220px;
}

.react-checkout-method-btn {
    margin: 0;
}

.react-checkout-method.is-active .react-checkout-method-btn {
    margin-bottom: 12px;
}

.react-checkout-method .react-pickup-address,
.react-checkout-method .react-checkout-method-field,
.react-checkout-method .react-checkout-method-note {
    width: 100%;
    max-width: 100%;
}

.react-checkout-method-field {
    width: 100%;
}

.react-checkout-method-note {
    margin: 10px 0 0;
    line-height: 1.45;
}

.react-checkout-schedule {
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid rgba(46, 125, 50, 0.12);
    gap: 16px;
}

.react-checkout-slot-block {
    gap: 10px;
}

.react-checkout-slot-row {
    margin-top: 2px;
}

.react-checkbox-row {
    align-items: center;
    display: flex;
    gap: 10px;
    line-height: 1.35;
}

.react-checkbox-row input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

.react-cart-submit.is-disabled {
    opacity: 0.62;
    cursor: not-allowed;
}

.react-cart-submit.is-disabled:hover {
    filter: none;
}

.react-cart-min-order {
    text-align: center;
    font-size: 16px;
}

.react-cart-min-order-warning {
    display: block;
    text-align: center;
    color: #8a1f17;
    font-size: 15px;
    line-height: 1.4;
}

.react-cart-clear-wrap {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.react-cart-clear-wrap .react-btn.secondary {
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    color: var(--color-muted);
}

.react-static-page {
    display: grid;
    gap: 24px;
}

.react-static-head {
    display: grid;
    gap: 12px;
    max-width: 880px;
    padding-bottom: 8px;
}

.react-static-head h1 {
    margin: 0;
    font-size: 38px;
    line-height: 1.12;
}

.react-static-head p {
    margin: 0;
    color: var(--color-muted);
    font-size: 18px;
    line-height: 1.55;
}

.react-static-kicker {
    color: var(--color-brand-dark);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

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

.react-static-grid-wide {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.react-static-split {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, .8fr);
    gap: 18px;
    align-items: stretch;
}

.react-static-section {
    display: grid;
    gap: 14px;
}

.react-static-section h2 {
    margin: 0;
    font-size: 26px;
}

.react-static-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 22px;
    color: var(--color-muted);
    line-height: 1.5;
}

.react-static-list li::marker {
    color: var(--color-brand-dark);
    font-weight: 800;
}

.react-static-aside,
.react-static-note {
    border: 1px solid rgba(93, 128, 51, .22);
    border-radius: var(--radius-panel);
    background: var(--color-brand-soft);
    padding: 22px;
    display: grid;
    gap: 10px;
    align-content: start;
}

.react-static-aside p,
.react-static-note p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.5;
}

.react-static-price-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.react-static-price-list article {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-panel);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    padding: 22px;
    display: grid;
    gap: 8px;
}

.react-static-price-list span {
    color: var(--color-muted);
    font-size: 14px;
}

.react-static-price-list b {
    font-size: 30px;
    line-height: 1.1;
}

.react-static-price-list p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.45;
}

.react-static-card {
    display: grid;
    gap: 10px;
    padding: 24px;
}

.react-static-card h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.react-static-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.5;
}

.react-footer {
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.32), transparent 28%),
        var(--color-brand);
    color: var(--color-text);
    margin-top: 34px;
    padding: 32px 0;
}

.react-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(150px, .8fr) minmax(150px, .8fr) minmax(180px, .9fr);
    gap: 22px;
    align-items: start;
}

.react-footer h4 {
    margin: 0 0 10px;
}

.react-footer p {
    margin: 0;
    color: rgba(25, 37, 22, .78);
    line-height: 1.5;
}

.react-footer a {
    display: block;
    margin: 0;
    line-height: 1.35;
    word-break: break-word;
}

.react-footer a:hover {
    color: var(--color-brand-dark);
}

.react-footer-brand,
.react-footer-links,
.react-footer-contact {
    display: grid;
    gap: 10px;
    align-content: start;
}

.react-footer-brand {
    max-width: 380px;
}

.react-footer-help {
    display: inline-flex !important;
    width: fit-content;
    border: 1px solid rgba(25, 37, 22, .16);
    border-radius: var(--radius-control);
    background: rgba(255, 255, 255, .56);
    padding: 8px 12px;
}

.react-admin-top {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--color-line);
}

.react-admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.react-admin-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.react-admin-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: var(--radius-control);
    padding: 6px 10px;
    font-size: 15px;
    line-height: 1.2;
}

.react-admin-nav a:hover {
    background: var(--color-brand-soft);
}

.react-empty {
    padding: 28px;
    text-align: center;
    color: rgba(30, 36, 27, 0.62);
}

.react-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(18, 24, 14, 0.42);
    backdrop-filter: blur(4px);
}

.react-modal {
    width: min(100%, 420px);
    border-radius: var(--radius-panel);
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    box-shadow: 0 24px 60px rgba(20, 27, 15, 0.18);
    display: grid;
    gap: 14px;
}

.react-modal-wide {
    width: min(100%, 860px);
    max-height: min(88vh, 920px);
    overflow: auto;
}

.react-modal-title {
    margin: 0;
    font-size: 24px;
}

.react-modal-text {
    margin: 0;
    color: rgba(30, 36, 27, 0.72);
}

.react-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 1500px) {
    .react-header .react-icon-btn {
        width: 46px;
        padding: 9px;
    }

    .react-header .react-icon-btn-label {
        display: none;
    }
}

@media (max-width: 860px) {
    .wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .react-header,
    .react-search,
    .react-seller-hero,
    .react-seller-application-grid,
    .react-farmer-app-body,
    .react-footer-inner {
        grid-template-columns: 1fr;
    }

    .react-cart-layout {
        grid-template-columns: 1fr;
    }

    .react-cart-main,
    .react-cart-summary {
        min-height: auto;
        border-right: 0;
    }

    .react-cart-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .react-cart-item-controls .react-icon-btn {
        width: 52px;
        min-height: 52px;
        border-radius: 14px;
        font-size: 24px;
    }

    .react-cart-qty {
        font-size: 24px;
    }

    .react-cart-item-total {
        font-size: 30px;
    }

    .react-nav {
        justify-content: flex-start;
        gap: 14px;
        flex-wrap: wrap;
    }

    .react-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .react-header .react-actions {
        width: fit-content;
    }

    .react-header .react-icon-btn {
        padding: 9px;
    }

    .react-header .react-icon-btn-label {
        display: none;
    }

    .react-hero-banners,
    .react-stat-grid,
    .react-info-grid,
    .react-static-grid,
    .react-static-split,
    .react-static-price-list,
    .react-catalog-promo-row,
    .react-catalog-layout,
    .react-form-grid {
        grid-template-columns: 1fr;
    }

    .react-static-head h1 {
        font-size: 30px;
    }

    .react-static-head p {
        font-size: 16px;
    }

    .react-catalog-sidebar {
        position: static;
    }

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

    .react-catalog-toolbar {
        display: grid;
    }

    .react-catalog-filter-head {
        display: grid;
    }

    .react-catalog-filter-card {
        grid-template-columns: 1fr;
    }

    .react-filter-submit {
        width: 100%;
    }

    .react-home-shelf-head {
        display: grid;
        align-items: start;
    }

    .react-home-shelf-head .react-btn {
        width: fit-content;
    }

    .react-product-detail .react-product-spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .react-farmer-app-head {
        display: grid;
    }

    .react-farmer-app-fields {
        grid-template-columns: 1fr;
    }

    .react-farmer-app-field-wide {
        grid-column: auto;
    }

    .react-page-title {
        display: grid;
    }

    .react-table {
        display: block;
        overflow-x: auto;
    }

    .react-table th,
    .react-table td {
        white-space: nowrap;
    }

    .react-modal {
        padding: 20px;
    }

    .react-modal-wide {
        width: min(100%, 100%);
        max-height: 92vh;
    }

    .react-modal-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .react-complaint-card-head {
        display: grid;
    }

    .react-review-mod-meta {
        grid-template-columns: 1fr;
    }

    .react-complaint-detail-layout.with-sidebar {
        grid-template-columns: 1fr;
    }

    .react-complaint-side-card {
        position: static;
    }

    .react-chat-window {
        min-height: 360px;
        max-height: none;
    }

    .react-complaint-status-form,
    .react-complaint-summary {
        grid-template-columns: 1fr;
    }

    .react-complaint-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .react-complaint-card-actions .react-btn,
    .react-complaint-card-actions .react-inline-form {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .react-page-title h1,
    .react-page-title h2 {
        font-size: 26px;
    }

    .react-logo strong {
        font-size: 24px;
    }

    .react-nav a,
    .react-admin-nav a {
        font-size: 16px;
    }

    .react-cart-main {
        padding: 18px 14px;
    }

    .react-cart-summary {
        padding: 22px 14px 18px;
        gap: 16px;
    }

    .react-cart-item-controls {
        gap: 12px;
        flex-wrap: wrap;
    }

    .react-cart-submit {
        min-height: 50px;
        font-size: 18px;
    }

    .react-product-detail .react-product-spec-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .react-catalog-hero {
        border-radius: 22px;
    }

    .react-catalog-sidebar nav {
        grid-template-columns: 1fr;
    }

    .react-catalog-page .react-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .react-catalog-page .react-product-image {
        margin: 8px 8px 0;
    }

    .react-catalog-page .react-product-body {
        padding: 10px;
    }

    .react-catalog-page .react-price-current {
        font-size: 21px;
    }

    .react-product-meta {
        display: flex;
        gap: 6px;
    }

    .react-product-meta .react-chip {
        min-height: 24px;
        padding: 3px 7px;
        font-size: 11px;
    }

    .react-product-detail .react-product-spec-item {
        min-height: 82px;
        padding: 12px;
    }

}

@media (max-width: 768px) {
    .react-product-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .react-product-detail .react-product-spec-grid {
        grid-template-columns: 1fr;
    }
}
