:root {
    color-scheme: light;
    --ink: #141a1a;
    --muted: #53635b;
    --accent: #c7f33d;
    --accent-hover: #b7df31;
    --paper: #f3f5eb;
    --panel: #edf0e9;
    --line: #dfe4dc;
    --white: #fff;
    --radius: 14px;
    --gutter: clamp(14px, 3vw, 40px);
    --focus: #316a53;
    font-family: Manrope, "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    color: var(--ink);
    background: var(--paper);
}

*, *::before, *::after {
    box-sizing: border-box;
}
html {
    min-width: 300px;
}
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    line-height: 1.5;
}
main {
    flex: 1 0 auto;
    min-width: 0;
}
h1, h2, h3, p, dl, dd, figure {
    margin: 0;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: inherit;
    text-decoration: none;
}
button, input, select, textarea {
    font: inherit;
    color: inherit;
}
button {
    cursor: pointer;
}
form, fieldset {
    min-width: 0;
    margin: 0;
}
fieldset {
    padding: 0;
    border: 0;
}
svg {
    flex: none;
    vertical-align: middle;
}
[hidden] {
    display: none !important;
}
::selection {
    color: var(--ink);
    background: var(--accent);
}
:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
}
.sr-only {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link {
    position: fixed;
    z-index: 100;
    inset: 10px auto auto 10px;
    padding: 10px 14px;
    translate: 0 -160%;
    border-radius: 8px;
    background: var(--accent);
    font-weight: 750;
}
.skip-link:focus {
    translate: 0 0;
}
.container {
    width: min(calc(100% - var(--gutter) * 2), 1320px);
    margin-inline: auto;
}

.button {
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: var(--white);
    font-size: .94rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
}
.button:disabled {
    cursor: not-allowed;
    opacity: .62;
}
.button--primary {
    border-color: var(--accent);
    background: var(--accent);
}
.button--primary:hover {
    border-color: var(--accent-hover);
    background: var(--accent-hover);
}
.button--secondary {
    border-color: #cbd4cc;
    background: var(--white);
}
.button--secondary:hover {
    border-color: var(--ink);
    background: var(--panel);
}
.button--dark {
    border-color: var(--ink);
    color: var(--white);
    background: var(--ink);
}
.button--dark:hover {
    border-color: #2b4139;
    background: #2b4139;
}
.button--small {
    min-height: 38px;
    padding: 8px 11px;
    font-size: .86rem;
}
.button--wide {
    width: 100%;
}

.brand {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    width: fit-content;
    white-space: nowrap;
    font-size: clamp(1.04rem, 1.55vw, 1.32rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.045em;
}
.brand-mark {
    display: block;
    flex: none;
    width: 38px;
    height: 38px;
}
.site-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 10;
    flex: none;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}
.site-header + .site-main {
    scroll-margin-block-start: 5rem;
}
.site-header__utility {
    border-bottom: 1px solid #edf0eb;
    background: var(--white);
}
.utility-inner {
    display: flex;
    min-height: 36px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}
.utility-inner a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 700;
}
.utility-inner a:hover {
    color: var(--ink);
    text-decoration: underline;
}
.site-header__main {
    display: grid;
    grid-template-columns: auto auto minmax(160px, 1fr) auto;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    padding-block: 15px;
}
.header-tools {
    display: contents;
}
.header-catalog {
    min-height: 48px;
    padding-inline: 15px;
}
.header-catalog[aria-expanded="true"] {
    background: var(--ink);
    color: var(--white);
}

.catalog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9;
    background: rgba(18, 35, 29, .32);
}
.catalog-menu {
    position: absolute;
    inset: 100% 0 auto;
    padding-block: 8px;
}
.catalog-menu__surface {
    display: flex;
    max-block-size: min(595px, calc(100dvh - 132px));
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 18px 44px rgba(20, 36, 31, .2);
}
.catalog-menu__bar {
    display: flex;
    min-block-size: 62px;
    flex: none;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border-bottom: 1px solid var(--line);
}
.catalog-menu__title {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.2;
}
.catalog-menu__all {
    margin-inline-start: auto;
    padding: 7px 9px;
    border-radius: 7px;
    color: var(--focus);
    font-size: .9rem;
    font-weight: 750;
    white-space: nowrap;
}
.catalog-menu__all:hover, .catalog-menu__close:hover, .catalog-menu__back:hover {
    background: var(--paper);
}
.catalog-menu__close, .catalog-menu__back {
    min-block-size: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
}
.catalog-menu__close {
    display: grid;
    min-inline-size: 44px;
    place-items: center;
}
.catalog-menu__back {
    display: none;
    gap: 4px;
    font-size: .93rem;
    font-weight: 750;
}
.catalog-menu__back svg {
    transform: rotate(180deg);
}
.catalog-menu__layout {
    display: grid;
    min-block-size: 0;
    grid-template-columns: clamp(278px, 30%, 340px) minmax(0, 1fr);
}
.catalog-menu__layout--single {
    grid-template-columns: 1fr;
}
.catalog-menu__roots, .catalog-menu__children {
    margin: 0;
    list-style: none;
}
.catalog-menu__roots {
    display: grid;
    align-content: start;
    gap: 4px;
    overflow: auto;
    padding: 12px;
    background: var(--paper);
    overscroll-behavior: contain;
}
.catalog-menu__root {
    display: flex;
    inline-size: 100%;
    min-block-size: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 720;
    text-align: start;
    overflow-wrap: break-word;
}
.catalog-menu__label,
.catalog-menu__label > span:last-child {
    min-inline-size: 0;
}
.catalog-menu__label {
    display: flex;
    align-items: center;
    gap: 9px;
}
.catalog-menu__thumb {
    position: relative;
    display: grid;
    flex: none;
    inline-size: 38px;
    block-size: 38px;
    place-items: center;
    overflow: hidden;
    color: #517161;
    background: #eef3eb;
    border: 1px solid #dfe7de;
    border-radius: 7px;
}
.catalog-menu__thumb img {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: contain;
    background: #fff;
}
.catalog-menu__root svg {
    flex-shrink: 0;
}
.catalog-menu__root:hover, .catalog-menu__root[aria-expanded="true"] {
    background: var(--panel);
}
.catalog-menu__branches {
    min-inline-size: 0;
    min-block-size: 0;
    overflow: auto;
    padding: 20px 24px 24px;
    overscroll-behavior: contain;
}
.catalog-menu__branch h3 {
    margin: 0 0 5px;
    font-size: clamp(1.17rem, 1.9vw, 1.6rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.catalog-menu__group-link {
    display: inline-flex;
    min-block-size: 34px;
    align-items: center;
    color: var(--focus);
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.catalog-menu__children {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 13px 0 0;
}
.catalog-menu__children a {
    display: flex;
    min-block-size: 49px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 650;
    overflow-wrap: anywhere;
}
.catalog-menu__children a:hover {
    border-color: var(--focus);
    background: var(--paper);
}

.site-search {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    border: 1px solid #d6ded5;
    border-radius: 10px;
    background: var(--paper);
}
.site-search:focus-within {
    border-color: var(--focus);
    outline: 1px solid var(--focus);
}
.site-search input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 8px 12px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: .95rem;
}
.site-search button {
    display: inline-grid;
    min-width: 44px;
    min-height: 44px;
    flex: none;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
}
.site-search button:hover {
    background: var(--panel);
}
.search-suggestions {
    position: absolute;
    z-index: 2;
    inset: calc(100% + 8px) auto auto 50%;
    inline-size: min(42rem, max(100%, 27rem));
    transform: translateX(-50%);
    max-block-size: min(32rem, var(--search-suggestion-space, calc(100dvh - 145px)));
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(20, 36, 31, .18);
    overscroll-behavior: contain;
}
.search-suggestions.search-suggestions--above {
    inset-block: auto calc(100% + 8px);
}
.search-suggestions__group + .search-suggestions__group {
    border-top: 1px solid var(--line);
}
.search-suggestions__title {
    padding: 10px 14px 4px;
    color: var(--muted);
    font-size: .85rem;
    font-weight: 750;
}
.search-suggestions__row {
    display: grid;
    min-block-size: 48px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    color: var(--ink);
    font-size: .93rem;
}
.search-suggestions__row:hover, .search-suggestions__row[aria-selected="true"] {
    background: var(--panel);
}
.search-suggestions__row:focus-visible {
    outline-offset: -3px;
}
.search-suggestions__thumb {
    display: grid;
    inline-size: 44px;
    block-size: 44px;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
    background: var(--paper);
    color: var(--focus);
}
.search-suggestions__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.search-suggestions__row--category .search-suggestions__thumb {
    block-size: 34px;
    background: transparent;
}
.search-suggestions__label {
    display: grid;
    min-inline-size: 0;
    gap: 2px;
    overflow-wrap: anywhere;
    font-weight: 650;
    line-height: 1.25;
}
.search-suggestions__label small {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 500;
}
.search-suggestions__price {
    white-space: nowrap;
}
.search-suggestions__row--all {
    display: flex;
    border-top: 1px solid var(--line);
    color: var(--focus);
    font-weight: 750;
}
.search-suggestions__message {
    padding: 16px;
    color: var(--muted);
    font-size: .92rem;
}
.header-actions {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: clamp(5px, 1.15vw, 15px);
}
.header-action {
    display: inline-flex;
    min-width: 44px;
    min-height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 3px;
    border-radius: 8px;
    color: var(--ink);
    white-space: nowrap;
    font-size: .75rem;
    font-weight: 720;
}
.header-action:hover {
    background: var(--paper);
}
.header-action__icon {
    position: relative;
    display: grid;
    min-width: 27px;
    min-height: 24px;
    place-items: center;
}
.action-count {
    position: absolute;
    inset: -4px -10px auto auto;
    display: grid;
    min-width: 17px;
    height: 17px;
    place-items: center;
    padding: 0 3px;
    border: 1px solid var(--white);
    border-radius: 20px;
    background: var(--accent);
    color: var(--ink);
    font-size: .66rem;
    line-height: 1;
}

.site-footer {
    padding-block: clamp(25px, 4vw, 52px) 18px;
    color: #eef3ed;
    background: var(--ink);
}
.footer-inner {
    display: grid;
    grid-template-columns: minmax(185px, 1fr) minmax(0, 4fr);
    gap: clamp(18px, 3.5vw, 48px);
    padding-bottom: clamp(18px, 3vw, 35px);
}
.footer-brand {
    display: grid;
    justify-items: start;
    align-content: start;
    gap: 12px;
}
.footer-brand p {
    max-width: 22ch;
    color: #c4d1c9;
    line-height: 1.38;
}
.footer-support {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    color: #eff5ef;
    border: 1px solid #5a7166;
    border-radius: 8px;
    font-size: .87rem;
    font-weight: 680;
    line-height: 1.25;
}
.footer-support:hover {
    color: var(--accent);
    border-color: var(--accent);
}
.footer-navigation {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-content: start;
    gap: 17px clamp(10px, 2vw, 32px);
}
.footer-column {
    min-width: 0;
}
.footer-column h2 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}
.footer-column ul {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-column a {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding-block: 4px;
    color: #c9d7ce;
    font-size: .89rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.footer-navigation a:hover,
.footer-bottom a:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: .22em;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 9px 16px;
    padding-top: 15px;
    color: #c4d1c9;
    border-top: 1px solid #40564b;
    font-size: .84rem;
}
.footer-bottom a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    color: #eef3ed;
}
.footer-editorial {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.footer-top-link {
    margin-inline-start: auto;
}
.site-footer :focus-visible, .admin-sidebar :focus-visible, .admin-top :focus-visible {
    outline-color: var(--accent);
}

.shop-help-layout {
    display: grid;
    grid-template-columns: minmax(210px, 255px) minmax(0, 720px);
    align-items: start;
    gap: 14px;
}
.shop-help-nav,
.shop-help-content {
    display: grid;
    min-width: 0;
    gap: 10px;
}
.shop-help-nav {
    gap: 3px;
    padding: 8px;
}
.shop-help-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 7px;
    font-weight: 680;
    line-height: 1.26;
}
.shop-help-nav a:hover,
.shop-help-nav a[aria-current="page"] {
    background: #ebf3d5;
}
.shop-help-card {
    display: grid;
    justify-items: start;
    gap: 8px;
}
.shop-help-card h2 {
    font-size: clamp(1.16rem, 2vw, 1.4rem);
    line-height: 1.3;
}
.shop-help-card p {
    color: var(--muted);
}
.shop-contact,
.shop-contact__part {
    scroll-margin-block-start: 9rem;
}
.shop-contact__part {
    display: grid;
    width: 100%;
    gap: 12px;
    padding-block-start: 16px;
    border-top: 1px solid var(--line);
}
.shop-contact__part h3 {
    font-size: 1.05rem;
}
.shop-contact__form {
    justify-items: start;
}
.shop-contact__form .field {
    width: 100%;
}
.shop-contact__number {
    justify-self: start;
}
.shop-contact__conversation summary {
    width: fit-content;
    cursor: pointer;
    font-weight: 700;
}
.shop-contact__conversation ol {
    max-block-size: 350px;
    margin-block: 8px;
    padding: 8px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.shop-captcha {
    width: 100%;
    min-width: 0;
    min-height: 100px;
}
#seller-details {
    scroll-margin-block-start: 9rem;
}
.shop-help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

@media (max-width: 940px) {
    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .footer-brand {
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }
    .footer-brand p {
        max-width: none;
    }
}

@media (max-width: 620px) {
    .footer-navigation {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-brand,
    .shop-help-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .footer-column a {
        min-height: 35px;
    }
    .footer-top-link {
        margin-inline-start: 0;
    }
}

.page {
    padding-block: 23px 64px;
}
.breadcrumbs {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: .9rem;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.breadcrumbs span:last-child {
    color: var(--ink);
}
.page-heading {
    margin-bottom: 23px;
    min-width: 0;
}
.page-heading--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
}
.page-heading h1 {
    color: var(--ink);
    font-size: clamp(2.03rem, 4vw, 3.33rem);
    font-weight: 840;
    letter-spacing: -.061em;
    line-height: 1.04;
    overflow-wrap: anywhere;
}
.page-heading .text-link + h1 {
    margin-top: 6px;
}
.page-heading p {
    margin-top: 8px;
    color: var(--muted);
}
.page-heading .badge {
    align-self: center;
}
.heading-count {
    display: inline-flex;
    min-width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 99px;
    color: var(--ink);
    background: var(--panel);
    font-size: .85rem;
    letter-spacing: 0;
    vertical-align: middle;
}
.section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 26px 0 12px;
}
.section-heading h2, .panel h2 {
    font-size: clamp(1.15rem, 1.7vw, 1.38rem);
    font-weight: 810;
    letter-spacing: -.033em;
    line-height: 1.2;
}
.panel {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}
.panel--padded {
    padding: clamp(15px, 2.15vw, 25px);
}
.panel--padded > h2 {
    margin-bottom: 14px;
}
.panel--padded.stack > h2 {
    margin-bottom: 0;
}
.panel-heading {
    padding: 16px 20px;
}
.section-panel {
    margin-top: 18px;
}
.stack {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 15px;
}
.text-link, .table-link, .field small a, .auth-card__foot a {
    color: #315646;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: .19em;
}
.text-link:hover, .table-link:hover, .field small a:hover, .auth-card__foot a:hover {
    color: #14241f;
}
.text-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 7px;
    padding: 3px 0;
    border: 0;
    border-radius: 3px;
    color: var(--muted);
    background: none;
    font-size: .88rem;
    font-weight: 650;
}
.text-button:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: .18em;
}
.meta {
    color: var(--muted);
    font-size: .88rem;
}
.nowrap {
    white-space: nowrap;
}
.align-right {
    text-align: right;
}

.field {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 6px;
}
.field > span, .field-label {
    color: var(--ink);
    font-size: .91rem;
    font-weight: 750;
}
.field :is(input, select, textarea) {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid #cbd4cc;
    border-radius: 8px;
    background-color: var(--white);
    font-size: 1rem;
    line-height: 1.35;
}
.field select {
    appearance: none;
    padding-right: 31px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23445b50' stroke-width='1.5' stroke-linecap='round' d='m3 5 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.field input::placeholder, .field textarea::placeholder {
    color: #596a60;
    opacity: 1;
}
.field input[readonly] {
    background: var(--paper);
}
.field input[type="file"] {
    padding: 6px;
    line-height: 1.8;
    font-size: .89rem;
}
.field input::file-selector-button {
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 5px;
    color: inherit;
    background: var(--panel);
}
.field textarea {
    min-height: 80px;
    resize: vertical;
}
.field small, .choice small {
    color: var(--muted);
    font-size: .88rem;
    font-weight: 450;
}
.field-error {
    color: #9d231c;
    font-size: .88rem;
    font-weight: 680;
}
.fields-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 14px;
}
.form-card {
    max-width: 760px;
}
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.inline-fields {
    display: grid;
    gap: 13px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
}
.inline-fields legend {
    padding-inline: 5px;
}
.choice-group {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
}
.choice-group .field-label {
    margin-bottom: 6px;
}
.choice {
    display: inline-flex;
    min-width: 0;
    min-height: 44px;
    flex: 1 1 124px;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: .93rem;
    font-weight: 680;
    cursor: pointer;
}
.choice span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.choice:has(input:checked) {
    border-color: #a8bd2a;
    background: #f5f9e3;
}
.choice input, .check-field input {
    width: 17px;
    height: 17px;
    flex: none;
    margin: 0;
    accent-color: var(--focus);
}
.check-field {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 650;
}
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}
.filter-bar.panel {
    margin-bottom: 16px;
    padding: 13px;
}
.admin-product-status {
    margin-bottom: 12px;
}
.admin-image-preview {
    max-width: 100%;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
}
.filter-bar .field {
    min-width: min(100%, 170px);
}
.filter-bar .field:has(input[type="search"]) {
    min-width: min(100%, 250px);
}
.filter-reset {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--muted);
    font-size: .89rem;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.table-wrap {
    max-width: 100%;
    overflow-x: auto;
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}
.data-table {
    width: 100%;
    min-width: 520px;
    border-spacing: 0;
    border-collapse: collapse;
    color: var(--ink);
    font-size: .91rem;
    text-align: left;
}
.data-table > :is(thead, tbody, tfoot) > tr > :is(th, td) {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    text-align: inherit;
    vertical-align: middle;
}
.data-table > :is(thead, tbody, tfoot) > tr > .align-right {
    text-align: right;
}
.data-table thead {
    background: var(--paper);
}
.data-table thead th {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 760;
    white-space: nowrap;
}
.data-table tbody tr:last-child > *, .data-table tfoot tr:last-child > * {
    border-bottom: 0;
}
.data-table:has(tfoot) tbody tr:last-child > * {
    border-bottom: 1px solid var(--line);
}
.data-table tbody tr:hover {
    background: #fafbf8;
}
.data-table tfoot {
    background: var(--paper);
}
.data-table td small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: .81rem;
}
.table-product, .link-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.table-product__image {
    display: grid;
    width: 46px;
    height: 46px;
    flex: none;
    place-items: center;
    overflow: hidden;
    border-radius: 6px;
    color: var(--muted);
    background: var(--paper);
}
.table-product__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.badge {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    color: #3e5047;
    background: var(--panel);
    font-size: .79rem;
    font-weight: 760;
    line-height: 1.25;
    white-space: nowrap;
}
.badge--new, .badge--open, .badge--pending {
    color: #634509;
    background: #fff0c6;
}
.badge--confirmed, .badge--processing, .badge--shipping, .badge--shipped, .badge--ready, .badge--in_progress {
    color: #234e70;
    background: #e6f0fb;
}
.badge--done, .badge--completed, .badge--delivered, .badge--active, .badge--full, .badge--closed, .badge--resolved {
    color: #304f25;
    background: #e7f5d9;
}
.badge--cancelled, .badge--rejected {
    color: #8a281f;
    background: #fce8e5;
}
.flash-stack {
    display: grid;
    gap: 8px;
    padding-top: 15px;
}
.flash {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 8px;
    padding: 11px 13px;
    border: 1px solid #cedecb;
    border-radius: 8px;
    color: #29432d;
    background: #edf8e9;
    overflow-wrap: anywhere;
}
.flash--error {
    border-color: #ebc5be;
    color: #862820;
    background: #fff1ee;
}
.flash svg {
    margin-top: 1px;
}

.empty {
    display: flex;
    min-height: 244px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    text-align: center;
}
.empty__icon, .tile-icon {
    display: inline-grid;
    width: 46px;
    height: 46px;
    flex: none;
    place-items: center;
    border-radius: 10px;
    color: var(--ink);
    background: #e9f3cc;
}
.empty__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
}
.empty h2 {
    font-size: 1.36rem;
    font-weight: 820;
    letter-spacing: -.025em;
}
.empty p {
    max-width: 42ch;
    margin: 5px 0 14px;
    color: var(--muted);
}

.order-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(268px, .43fr);
    align-items: start;
    gap: 18px;
}
.order-grid .panel h2 {
    margin-bottom: 13px;
}
.order-grid .panel .field + .fields-two,
.order-grid .choice-group + .field,
.order-grid :where(:not(.fields-two)) > .field + .field {
    margin-top: 12px;
}
.order-summary {
    padding: clamp(15px, 2.2vw, 25px);
}
.order-summary .meta {
    margin: 10px 0 15px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-block: 9px;
    font-size: .94rem;
}
.summary-row strong {
    white-space: nowrap;
}
.summary-row--total {
    align-items: baseline;
    margin-top: 6px;
    padding: 12px 0 14px;
    border-top: 1px solid var(--line);
    font-weight: 760;
}
.summary-row--total strong {
    font-size: 1.55rem;
    letter-spacing: -.045em;
}
.cart-group-heading {
    padding: 14px 14px 0;
}
.cart-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
}
.cart-item + .cart-item {
    border-top: 1px solid var(--line);
}
.cart-item__image {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    overflow: hidden;
    border-radius: 9px;
    color: var(--muted);
    background: var(--paper);
}
.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cart-item__info {
    min-width: 0;
    overflow-wrap: anywhere;
}
.cart-item__title {
    display: inline-block;
    margin: 3px 0;
    font-weight: 760;
    line-height: 1.24;
}
.cart-item__title:hover {
    text-decoration: underline;
}
.cart-item__price {
    display: grid;
    justify-items: end;
    margin-left: auto;
    white-space: nowrap;
}
.quantity-form {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
}
.quantity-form input {
    width: 57px;
    min-height: 38px;
    padding: 3px 6px;
    border: 1px solid #cbd4cc;
    border-radius: 6px;
    text-align: center;
    appearance: textfield;
}
.quantity-form input::-webkit-inner-spin-button,
.quantity-form input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.comparison__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0 12px;
    margin-block-end: 8px;
}
.comparison__mode {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-block-size: 44px;
    font-size: .91rem;
    font-weight: 700;
    cursor: pointer;
}
.comparison__mode input {
    inline-size: 18px;
    block-size: 18px;
    margin: 0;
    accent-color: var(--focus);
    cursor: pointer;
}
.comparison__scroll {
    scrollbar-width: thin;
}
.comparison__empty {
    margin-block-start: 12px;
}
.comparison-table {
    --comparison-label-width: clamp(9rem, 20vw, 15rem);
    --comparison-item-width: 11rem;
    min-width: calc(var(--comparison-label-width) + var(--comparison-count) * var(--comparison-item-width));
    table-layout: fixed;
    border-collapse: separate;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.comparison-table__labels {
    width: var(--comparison-label-width);
}
.comparison-table tr > th:first-child {
    position: sticky;
    z-index: 1;
    inset-inline-start: 0;
    border-inline-end: 1px solid var(--line);
    background: var(--paper);
}
.comparison-table > thead > tr > th {
    vertical-align: top;
    white-space: normal;
}
.comparison-table__product {
    display: grid;
    justify-items: start;
    gap: 5px;
    color: var(--ink);
    font-size: .94rem;
}
.comparison-table__product:hover .comparison-table__name {
    text-decoration: underline;
}
.comparison-table__image {
    display: grid;
    inline-size: min(128px, 100%);
    block-size: 106px;
    place-items: center;
    border-radius: 8px;
    background: var(--white);
    color: var(--muted);
}
.comparison-table__image img {
    inline-size: 100%;
    block-size: inherit;
    border-radius: inherit;
    object-fit: contain;
}
.comparison-table__product small {
    font-size: .74rem;
    font-weight: 500;
}
.comparison-table__remove {
    min-block-size: 44px;
}
@media (max-width: 690px) {
    .comparison-page .breadcrumbs,
    .comparison-page .page-heading {
        margin-block-end: 12px;
    }
    .comparison-page .page-heading h1 {
        font-size: clamp(1.42rem, 6.4vw, 2rem);
    }
    .comparison-page .heading-count {
        min-width: 28px;
        height: 28px;
    }
    .comparison__toolbar .meta {
        font-size: .77rem;
    }
    .comparison-table {
        --comparison-label-width: clamp(4.75rem, 19vw, 6.5rem);
        --comparison-item-width: clamp(6.3rem, 27vw, 10rem);
        font-size: .82rem;
    }
    .comparison-table > :is(thead, tbody) > tr > :is(th, td) {
        padding: 7px 6px;
    }
    .comparison-table__image {
        inline-size: min(82px, 100%);
        block-size: 62px;
    }
    .comparison-table__product {
        font-size: .79rem;
    }
    .comparison-table__name {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }
    .comparison-table__product small,
    .comparison-table__remove {
        font-size: .74rem;
    }
}

.business-terms {
    margin-block-start: clamp(20px, 3vw, 36px);
}

.business-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) .42fr;
    align-items: center;
    gap: 25px;
    padding: clamp(22px, 5vw, 62px);
    overflow: hidden;
    color: var(--white);
    border-radius: 18px;
    background: var(--ink);
}
.business-hero h1 {
    font-size: clamp(2.28rem, 5.5vw, 5rem);
    font-weight: 850;
    letter-spacing: -.069em;
    line-height: .99;
}
.business-hero p {
    max-width: 43ch;
    margin: 18px 0 23px;
    color: #e2eae3;
}
.business-hero__art {
    display: grid;
    width: min(100%, 205px);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid #64815d;
    border-radius: 26px;
    color: var(--accent);
    background: #263e31;
}
.business-hero__art svg {
    width: 64%;
    height: auto;
}
.business-hero :focus-visible {
    outline-color: var(--accent);
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 16px;
}
.feature-grid h2 {
    margin: 13px 0 6px;
}
.feature-grid p {
    color: var(--muted);
}
.auth-page {
    display: grid;
    justify-items: center;
    padding-top: clamp(24px, 5vw, 62px);
}
.auth-card {
    width: min(100%, 430px);
}
.auth-card--wide {
    width: min(100%, 590px);
}
.auth-card .page-heading {
    margin: 13px 0 20px;
}
.auth-card .page-heading h1 {
    font-size: clamp(1.92rem, 3.7vw, 2.65rem);
}
.auth-card .flash {
    margin-bottom: 12px;
}
.auth-card__foot {
    margin-top: 17px;
    color: var(--muted);
}

.account-shell {
    display: grid;
    grid-template-columns: minmax(207px, 247px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(16px, 2.2vw, 29px);
}
.account-sidebar {
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}
.account-person {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    padding: 4px 3px 13px;
}
.account-person div {
    min-width: 0;
    overflow-wrap: anywhere;
}
.account-person strong, .account-person small {
    display: block;
}
.account-person small {
    margin-top: 2px;
    color: var(--muted);
    font-size: .84rem;
}
.account-avatar {
    display: grid;
    width: 41px;
    height: 41px;
    flex: none;
    place-items: center;
    border-radius: 50%;
    background: #e9f3cc;
}
.account-nav {
    display: grid;
    gap: 3px;
}
.account-nav a, .account-nav-link {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 9px;
    padding: 7px 9px;
    border-radius: 8px;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 700;
}
.account-nav a:hover, .account-nav-link:hover {
    color: var(--ink);
    background: var(--paper);
    text-decoration: none;
}
.account-nav a[aria-current="page"] {
    color: var(--ink);
    background: #eaf1dc;
}
.account-nav a[aria-current="page"] svg {
    color: #365b43;
}
.account-sidebar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}
.account-content {
    min-width: 0;
}
.account-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}
.shortcut {
    display: flex;
    min-width: 0;
    min-height: 84px;
    align-items: center;
    gap: 9px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}
.shortcut:hover {
    border-color: #91a78f;
}
.shortcut strong, .shortcut small {
    display: block;
}
.shortcut small {
    color: var(--muted);
    font-size: .91rem;
}
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    margin-top: 14px;
}
.key-values {
    display: grid;
    gap: 8px;
}
.key-values div {
    display: grid;
    grid-template-columns: minmax(107px, .76fr) minmax(0, 1fr);
    align-items: baseline;
    gap: 8px;
    overflow-wrap: anywhere;
}
.key-values dt {
    color: var(--muted);
    font-size: .9rem;
}
.key-values dd {
    font-weight: 640;
}
.timeline {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.timeline li {
    position: relative;
    display: grid;
    gap: 1px;
    margin-left: 5px;
    padding: 0 0 12px 14px;
    border-left: 1px solid #cedbca;
}
.timeline li:last-child {
    padding-bottom: 0;
    border-color: transparent;
}
.timeline li::before {
    position: absolute;
    inset: 6px auto auto -5px;
    width: 9px;
    height: 9px;
    border: 1px solid var(--focus);
    border-radius: 50%;
    content: "";
    background: #edf4d7;
}
.timeline--admin {
    margin-top: 15px;
}
.file-list {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.file-list + form {
    margin-top: 15px;
}
.file-list a {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 6px;
    color: #315646;
    background: var(--paper);
    font-weight: 680;
    overflow-wrap: anywhere;
}
.file-list a span:first-of-type {
    flex: 1;
}
.file-list a:hover {
    text-decoration: underline;
}
.organization-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    overflow-wrap: anywhere;
}
.organization-card p {
    margin-top: 4px;
    color: var(--muted);
    font-size: .88rem;
}
.ticket {
    min-width: 0;
}
.ticket summary, .org-admin summary, .category-editor summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}
:is(.ticket, .org-admin, .category-editor) summary::-webkit-details-marker {
    display: none;
}
.ticket summary {
    padding: 13px 15px;
    border-radius: var(--radius);
}
.ticket summary:hover, .category-editor summary:hover {
    background: var(--paper);
}
.ticket summary small, .org-admin summary small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 500;
}
.ticket > p, .ticket > a {
    margin: 0 15px 13px;
}
.ticket > a {
    display: inline-block;
}
.ticket__body {
    display: grid;
    gap: 10px;
    padding: 0 15px 15px;
}
.ticket p {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.admin-page {
    background: #f4f6f2;
}
.admin-top {
    border-bottom: 1px solid #32443a;
    color: #f4f8f2;
    background: var(--ink);
}
.admin-top__inner {
    display: flex;
    max-width: 1800px;
    min-height: 65px;
    align-items: center;
    gap: 18px;
    margin-inline: auto;
    padding-inline: clamp(14px, 2vw, 24px);
}
.admin-top__label {
    color: #c4d5ca;
    font-size: .9rem;
}
.admin-store-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    color: #edf5ef;
    font-size: .91rem;
    font-weight: 750;
}
.admin-store-link:hover {
    text-decoration: underline;
}
.admin-shell {
    display: grid;
    max-width: 1800px;
    min-height: calc(100vh - 65px);
    grid-template-columns: 216px minmax(0, 1fr);
    margin-inline: auto;
}
.admin-sidebar {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 12px;
    color: #e3ece6;
    background: #1a2b24;
}
.admin-nav {
    display: grid;
    align-content: start;
    gap: 5px;
}
.admin-nav a, .admin-profile {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    color: #e2ece5;
    font-size: .91rem;
    font-weight: 690;
}
.admin-nav a[aria-current="page"] {
    color: var(--ink);
    background: var(--accent);
}
.admin-nav a:not([aria-current="page"]):hover, .admin-profile:hover {
    background: #2c4237;
}
.admin-sidebar__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
    padding-top: 10px;
    border-top: 1px solid #41534a;
}
.admin-sidebar__footer .text-button {
    padding-inline: 10px;
    color: #d6e1d9;
}
.admin-profile span {
    overflow-wrap: anywhere;
}
.admin-content {
    min-width: 0;
    padding: clamp(17px, 3vw, 36px);
}
.admin-content .page-heading h1 {
    font-size: clamp(1.94rem, 3.5vw, 2.77rem);
}
.admin-page .flash-stack {
    width: auto;
    max-width: 1800px;
    padding: 12px var(--gutter);
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.stat {
    display: grid;
    min-width: 0;
    align-content: space-between;
    gap: 9px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}
a.stat:hover {
    border-color: #91a78f;
}
.stat__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
}
.stat strong {
    font-size: clamp(1.37rem, 2.5vw, 2.22rem);
    font-weight: 840;
    letter-spacing: -.044em;
    overflow-wrap: anywhere;
}
.admin-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
    align-items: start;
    gap: 15px;
}
.editor-form {
    max-width: 850px;
}
.category-editor + .category-editor {
    border-top: 1px solid var(--line);
}
.category-editor summary {
    padding: 7px;
    border-radius: 6px;
}
.category-editor summary strong {
    flex: 1;
}
.category-editor summary small {
    color: var(--muted);
    overflow-wrap: anywhere;
}
.category-editor form {
    padding: 10px 7px 13px;
}
.org-admin summary {
    justify-content: flex-start;
}
.org-admin summary > :nth-child(2) {
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
}
.org-admin summary > :nth-child(2) strong {
    font-size: 1.08rem;
}
.org-admin summary > :last-child {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.org-admin[open] summary {
    margin-bottom: 15px;
}
.org-admin .table-wrap + .filter-bar {
    margin-top: 14px;
}
.ticket--admin:target {
    outline: 2px solid var(--focus);
    scroll-margin-top: 15px;
}

@media (max-width: 1130px) {
    .cart-item {
        grid-template-columns: 70px minmax(0, 1fr) auto;
    }
    .cart-item__image {
        grid-row: span 2;
        width: 70px;
        height: 70px;
    }
    .cart-item__price {
        grid-area: 1 / 3 / span 2;
    }
    .quantity-form {
        grid-area: 2 / 2;
    }
}
@media (max-width: 1000px) {
    .admin-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 845px) {
    .catalog-menu {
        padding-block-start: 0;
    }
    .catalog-menu__surface {
        inline-size: 100%;
        max-block-size: calc(100dvh - 146px);
        border-inline: 0;
        border-radius: 0 0 12px 12px;
    }
    .catalog-menu__bar {
        min-block-size: 55px;
        gap: 6px;
        padding: 4px 9px 4px 12px;
    }
    .catalog-menu__layout, .catalog-menu__children {
        grid-template-columns: minmax(0, 1fr);
    }
    .catalog-menu__branches, .catalog-menu[data-catalog-view="branch"] .catalog-menu__title,
    .catalog-menu[data-catalog-view="branch"] .catalog-menu__roots {
        display: none;
    }
    .catalog-menu[data-catalog-view="branch"] .catalog-menu__back {
        display: inline-flex;
    }
    .catalog-menu[data-catalog-view="branch"] .catalog-menu__branches {
        display: block;
    }
    .catalog-menu__roots {
        background: var(--white);
    }
    .catalog-menu__root {
        background: var(--paper);
    }
    .catalog-menu__branches {
        padding: 15px 14px 19px;
    }
    .site-header + .site-main {
        scroll-margin-block-start: 8rem;
    }
    .site-header__main {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 14px;
        padding-block: 9px;
    }
    .header-tools {
        position: relative;
        display: flex;
        grid-area: 2 / 1 / 3 / -1;
        gap: 8px;
    }
    .header-catalog {
        order: 2;
        flex: none;
    }
    .site-search {
        position: static;
        flex: 1;
    }
    .search-suggestions {
        inset-block-start: calc(100% + 10px);
        inset-inline: 0;
        inline-size: auto;
        transform: none;
    }
    .search-suggestions__row {
        gap: 8px;
        padding-inline: 10px;
    }
    .header-actions {
        gap: clamp(4px, 2vw, 13px);
    }
    .admin-shell {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
    }
    .admin-sidebar {
        flex-direction: row;
        align-items: center;
        gap: 7px;
        padding: 5px 11px;
    }
    .admin-nav {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 4px;
        overflow-x: auto;
        scrollbar-color: #5a6f62 #1a2b24;
    }
    .admin-nav a {
        gap: 6px;
        padding-inline: 7px;
        white-space: nowrap;
    }
    .admin-sidebar__footer {
        flex: none;
        margin: 0;
        padding: 0;
        border: 0;
    }
    .admin-profile {
        display: none;
    }
}

@media (max-width: 480px) {
    .search-suggestions__row--product { grid-template-columns: auto minmax(0, 1fr); row-gap: 3px; }
    .search-suggestions__row--product .search-suggestions__thumb { grid-row: span 2; }
    .search-suggestions__price { grid-column: 2; }
}
@media (max-width: 730px) {
    .account-shell, .order-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .account-nav {
        display: flex;
        width: 100%;
        gap: 4px;
        overflow-x: auto;
        scrollbar-width: thin;
    }
    .account-nav a {
        flex: none;
        white-space: nowrap;
    }
    .account-person {
        padding-bottom: 8px;
    }
    .account-sidebar__actions {
        margin-top: 5px;
        padding-top: 5px;
    }
    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 520px) {
    .utility-inner {
        min-height: 30px;
        gap: 14px;
    }
    .brand {
        gap: 5px;
    }
    .site-header .brand-name {
        font-size: clamp(.72rem, 3vw, .97rem);
    }
    .brand-mark {
        width: 32px;
        height: 32px;
    }
    .header-action {
        min-width: 38px;
        min-height: 44px;
        padding-inline: 0;
    }
    .header-action > span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    .header-action__icon {
        width: 29px;
    }
    .action-count {
        right: -5px;
    }
    .header-catalog {
        min-height: 44px;
        padding-inline: 10px;
    }
    .site-search input {
        min-height: 42px;
        padding-left: 9px;
        font-size: 16px;
    }
    .site-search button {
        min-width: 38px;
        min-height: 40px;
    }
    .site-header__main {
        gap: 6px 7px;
    }
    .fields-two {
        grid-template-columns: minmax(0, 1fr);
    }
    .cart-item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 8px;
        padding: 11px;
    }
    .cart-item__image {
        grid-row: auto;
        width: 56px;
        height: 56px;
    }
    .cart-item__price {
        grid-area: 2 / 1 / auto / -1;
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }
    .quantity-form {
        grid-area: 3 / 1 / auto / -1;
    }
    .business-hero {
        grid-template-columns: minmax(0, 1fr);
    }
    .business-hero__art {
        display: none;
    }
    .account-shortcuts {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
    }
    .shortcut {
        min-height: 57px;
        padding: 8px;
    }
    .shortcut :is(.tile-icon, svg) {
        width: 38px;
        height: 38px;
    }
    .shortcut svg {
        width: 20px;
        height: 20px;
    }
    .shortcut > span:last-child {
        display: flex;
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }
    .organization-card {
        grid-template-columns: auto minmax(0, 1fr);
    }
    .organization-card .badge {
        grid-column: 2;
        justify-self: start;
    }
    .admin-top__label {
        display: none;
    }
    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .stat {
        padding: 10px;
    }
    .stat__label {
        align-items: flex-start;
        font-size: .86rem;
    }
}
.editor-photo {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-wrap: anywhere;
}
.editor-photo img {
    width: 96px;
    height: 96px;
    flex: none;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 8px;
}

@media (max-width: 375px) {
    .brand {
        font-size: 1.04rem;
    }
    .header-actions {
        gap: 1px;
    }
    .header-action {
        min-width: 35px;
    }
}

.ticket__state {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ticket[open] .ticket__state svg,
.org-admin[open] summary > :last-child svg,
.category-editor[open] summary > svg:last-child {
    rotate: 180deg;
}

@media (max-width: 520px) {
    .order-table-panel .data-table {
        min-width: 335px;
        font-size: .83rem;
    }

    .order-table-panel .data-table > :is(thead, tbody, tfoot) > tr > :is(th, td) {
        padding-inline: 7px;
    }
}

.catalog-menu__subtree {
    min-width: 0;
}

.catalog-menu__subtree summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 4px 8px;
    gap: 8px;
    cursor: pointer;
    list-style: none;
    font-weight: 670;
}

.catalog-menu__subtree summary::-webkit-details-marker { display: none; }
.catalog-menu__subtree summary:hover { background: var(--panel); }
.catalog-menu__subtree[open] > summary > svg { transform: rotate(180deg); }
.catalog-menu__subtree[open] { margin-bottom: 8px; }
.catalog-menu__subtree > .catalog-menu__children {
    grid-template-columns: minmax(0,1fr);
    margin-left: 7px;
    padding-left: 5px;
    border-left: 1px solid var(--line);
}
.catalog-menu__subtree a.catalog-menu__nested-link {
    color: #3b6047;
    font-size: .8rem;
    min-height: 34px;
}
.catalog-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}
.catalog-subcategories a { height: auto; text-align: left; white-space: normal; }

.registration-card {
    display: grid;
    gap: 16px;
}

.registration-card .page-heading,
.registration-card .auth-card__foot {
    margin: 0;
}

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

.registration-methods .button {
    min-width: 0;
    padding-inline: 8px;
    text-align: center;
}

.registration-methods .button[aria-current] {
    border-color: var(--focus);
    background: var(--panel);
    color: var(--focus);
}

.registration-preview {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--muted);
    overflow-wrap: anywhere;
}

@media (max-width: 480px) {
    .registration-methods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
