* {
    box-sizing: border-box;
}


:root {
    --bg: #f6f7f9;
    --text: #161719;
    --muted: #6e737a;
    --line: #e3e5e8;
    --card: #ffffff;
    --accent: #ff6a00;
    --accent-hover: #e85f00;
    --green: #16713a;
    --green-bg: #e7f8ed;
    --red: #b42318;
    --red-bg: #feeceb;
    --orange-bg: #fff1e3;
}


html {
    min-height: 100%;
}


body {
    margin: 0;
    min-height: 100vh;

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    background: var(--bg);
    color: var(--text);
}


a {
    color: inherit;
    text-decoration: none;
}


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


/* ==========================================================
   HEADER
   ========================================================== */

.topbar {
    min-height: 72px;

    background: #111214;
    color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 0 5vw;

    position: sticky;
    top: 0;
    z-index: 100;

    border-top: 2px solid #382e29;
}


.brand {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1.4px;
}


.brand span {
    color: var(--accent);
}


nav {
    display: flex;
    gap: 22px;
    align-items: center;
}


nav a {
    transition: opacity 0.15s ease;
}


nav a:hover {
    opacity: 0.75;
}


/* ==========================================================
   LAYOUT
   ========================================================== */

.container {
    width: min(
        1500px,
        94vw
    );

    margin: 32px auto 80px;
}


h1 {
    font-size: 38px;
    letter-spacing: -1px;
    margin-top: 0;
}


h2 {
    margin-top: 0;
    margin-bottom: 6px;
}


h3 {
    margin-top: 0;
}


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


.small-muted {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}


.eyebrow {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

button,
.button {
    appearance: none;
    border: 0;

    background: var(--accent);
    color: white;

    border-radius: 12px;

    padding: 13px 18px;

    font-weight: 800;

    cursor: pointer;

    display: inline-block;

    transition:
        background 0.15s ease,
        transform 0.1s ease;
}


button:hover,
.button:hover {
    background: var(--accent-hover);
}


button:active,
.button:active {
    transform: translateY(1px);
}


button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


.small {
    padding: 9px 13px;
}


.secondary-button {
    background: #eceef0;
    color: #34373b;
}


.secondary-button:hover {
    background: #dde0e3;
}


.danger {
    background: #c62828;
}


.danger:hover {
    background: #a91f1f;
}


/* ==========================================================
   HERO
   ========================================================== */

.hero {
    background: #17191c;
    color: white;

    border-radius: 24px;

    padding: 58px;

    margin-bottom: 24px;

    min-height: 290px;

    display: flex;
    align-items: center;
}


.hero h1 {
    font-size: 56px;
    line-height: 0.98;
    margin: 8px 0 16px;
    letter-spacing: -2px;
}


.hero p {
    font-size: 20px;
    color: #c7c9cc;
}


/* ==========================================================
   SEARCH
   ========================================================== */

.search {
    display: flex;
    gap: 10px;
    margin: 24px 0 34px;
}


.search input {
    flex: 1;
    font-size: 18px;
    padding: 18px 20px;

    border: 1px solid var(--line);
    border-radius: 14px;

    background: white;
}


.search input:focus {
    outline: 2px solid rgba(255, 106, 0, 0.15);
    border-color: var(--accent);
}


/* ==========================================================
   PRODUCT CARDS
   ========================================================== */

.grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(260px, 1fr)
        );

    gap: 16px;
}


.card {
    background: var(--card);

    border: 1px solid var(--line);
    border-radius: 18px;

    padding: 20px;
}


.card h3 {
    min-height: 48px;
}


.badge {
    font-size: 11px;
    font-weight: 900;

    display: inline-block;

    padding: 6px 8px;

    border-radius: 999px;

    margin-bottom: 10px;
}


.green {
    background: var(--green-bg);
    color: var(--green);
}


.orange {
    background: var(--orange-bg);
    color: #a65000;
}


.price {
    font-size: 28px;
    font-weight: 900;
    margin: 14px 0;
}


/* ==========================================================
   PANELS
   ========================================================== */

.panel {
    background: white;

    border: 1px solid var(--line);
    border-radius: 18px;

    padding: 24px;

    margin: 20px 0;
}


.panel-title {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;

    margin-bottom: 22px;
}


.narrow {
    max-width: 560px;
    margin: 50px auto;
}


/* ==========================================================
   FORMS
   ========================================================== */

.form {
    display: grid;
    gap: 14px;
}


.form label {
    display: grid;
    gap: 7px;
    font-weight: 700;
}


.form input,
.field input,
.admin-search input,
.stock-operation input {
    border: 1px solid var(--line);
    background: white;
    color: var(--text);

    border-radius: 10px;

    transition:
        border 0.15s ease,
        box-shadow 0.15s ease;
}


.form input:focus,
.field input:focus,
.admin-search input:focus,
.stock-operation input:focus {
    outline: none;
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px
        rgba(255, 106, 0, 0.10);
}


.form input {
    padding: 13px;
    font-size: 15px;
}


.product-form {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 15px;
}


.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


.field label {
    font-size: 13px;
    font-weight: 750;
}


.field input {
    width: 100%;
    padding: 12px 13px;
}


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


.form-actions {
    grid-column: 1 / -1;
    padding-top: 6px;
}


.form-actions button {
    min-width: 200px;
}


/* ==========================================================
   ALERTS
   ========================================================== */

.alert {
    background: #fff0f0;
    color: #a42121;

    padding: 12px;

    border-radius: 10px;

    margin: 12px 0;
}


.success-alert {
    margin: 18px 0;

    padding: 14px 16px;

    border-radius: 12px;

    background: var(--green-bg);
    color: var(--green);

    font-weight: 750;
}


/* ==========================================================
   PROFILE
   ========================================================== */

.split {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}


.statusbox {
    background: white;

    border: 1px solid var(--line);
    border-radius: 14px;

    padding: 18px;
}


/* ==========================================================
   TABLES
   ========================================================== */

.tablewrap {
    overflow-x: auto;

    background: white;

    border: 1px solid var(--line);
    border-radius: 16px;
}


table {
    width: 100%;
    border-collapse: collapse;
}


th,
td {
    text-align: left;

    padding: 14px;

    border-bottom:
        1px solid var(--line);

    vertical-align: middle;
}


th {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.5px;
    white-space: nowrap;
    background: #fafafa;
}


tr:last-child td {
    border-bottom: 0;
}


tbody tr:hover {
    background: #fcfcfc;
}


.empty-table {
    text-align: center;
    color: var(--muted);
    padding: 36px;
}


/* ==========================================================
   ADMIN
   ========================================================== */

.admin-header {
    margin-bottom: 24px;
}


.stats {
    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    gap: 14px;

    margin-bottom: 22px;
}


.stat {
    background: white;

    border: 1px solid var(--line);
    border-radius: 16px;

    padding: 20px;
}


.stat span {
    display: block;

    color: var(--muted);

    font-size: 13px;

    margin-bottom: 7px;
}


.stat strong {
    font-size: 32px;
    letter-spacing: -1px;
}


.admin-search {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}


.admin-search input {
    flex: 1;
    min-width: 260px;
    padding: 12px 14px;
}


/* ==========================================================
   EXCEL
   ========================================================== */

.excel-import-form {
    display: flex;

    gap: 12px;

    align-items: center;

    flex-wrap: wrap;
}


.excel-import-form input[type="file"] {
    flex: 1;

    min-width: 260px;

    padding: 12px;

    border: 1px dashed var(--line);
    border-radius: 10px;

    background: #fafafa;
}


.excel-help {
    margin-top: 14px;

    padding: 12px 14px;

    border-radius: 10px;

    background: #f7f7f8;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.55;
}


/* ==========================================================
   WAREHOUSE
   ========================================================== */

.warehouse-table {
    min-width: 1580px;
}


.product-name-cell {
    min-width: 260px;
}


.storage-badge {
    display: inline-flex;

    align-items: center;

    min-height: 28px;

    padding: 5px 9px;

    background: #eeeeef;
    color: #373a3d;

    border-radius: 7px;

    font-family:
        Consolas,
        monospace;

    font-size: 12px;
    font-weight: 700;
}


.available-number,
.reserved-number,
.zero-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 32px;
    height: 30px;

    padding: 0 8px;

    border-radius: 8px;

    font-weight: 900;
}


.available-number {
    background: var(--green-bg);
    color: var(--green);
}


.reserved-number {
    background: #fff4dc;
    color: #986200;
}


.zero-number {
    background: #f2f2f3;
    color: #888;
}


.stock-actions {
    min-width: 360px;
}


.stock-operation {
    display: grid;

    grid-template-columns:
        70px
        minmax(120px, 1fr)
        105px;

    gap: 6px;

    margin-bottom: 7px;
}


.stock-operation:last-child {
    margin-bottom: 0;
}


.stock-operation input {
    width: 100%;
    min-width: 0;
    padding: 8px;
}


.stock-operation button {
    padding: 8px 10px;

    border-radius: 8px;

    font-size: 12px;
}


.receipt-operation button {
    background: #26864a;
}


.receipt-operation button:hover {
    background: #1f743f;
}


.inactive-row {
    opacity: 0.62;
    background: #fafafa;
}


.product-admin-actions {
    min-width: 145px;
}


.product-admin-actions form {
    margin: 7px 0 0;
}


.product-admin-actions .button,
.product-admin-actions button {
    width: 100%;

    text-align: center;

    padding: 8px 10px;

    border-radius: 8px;

    font-size: 12px;
}


.edit-button {
    background: #222428;
}


.edit-button:hover {
    background: #111214;
}


.action-button.secondary-button {
    background: #eceef0;
    color: #34373b;
}


.action-button.secondary-button:hover {
    background: #dde0e3;
}


/* ==========================================================
   STATUS
   ========================================================== */

.status-badge {
    display: inline-block;

    border-radius: 999px;

    padding: 6px 9px;

    background: #eceef0;
    color: #404348;

    font-size: 11px;
    font-weight: 800;
}


.status-badge.waiting {
    background: #fff4dc;
    color: #916000;
}


.status-badge.active-product {
    background: var(--green-bg);
    color: var(--green);
}


.status-badge.hidden-product {
    background: #eceef0;
    color: #6b7076;
}


.order-link {
    color: var(--accent);
    font-weight: 900;
}


/* ==========================================================
   STOCK HISTORY
   ========================================================== */

.movement {
    display: inline-block;

    border-radius: 999px;

    padding: 6px 9px;

    background: #eeeeef;

    font-size: 11px;
    font-weight: 800;
}


.movement.receipt {
    background: var(--green-bg);
    color: var(--green);
}


.movement.writeoff {
    background: var(--red-bg);
    color: var(--red);
}


.movement.adjustment {
    background: #e9eefc;
    color: #3258a8;
}


.qty-plus {
    color: var(--green);
}


.qty-minus {
    color: var(--red);
}


/* ==========================================================
   EDIT PRODUCT
   ========================================================== */

.edit-product-header {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 22px;
}


.product-edit-info {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin-bottom: 18px;
}


.product-edit-stat {
    padding: 16px;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: #fafafa;
}


.product-edit-stat span {
    display: block;

    margin-bottom: 5px;

    color: var(--muted);

    font-size: 12px;
}


.product-edit-stat strong {
    font-size: 24px;
}


.edit-stock-note {
    margin-bottom: 22px;

    padding: 12px 14px;

    border-radius: 10px;

    background: #fff4dc;
    color: #765400;

    font-size: 13px;
}


/* ==========================================================
   CART
   ========================================================== */

.checkout {
    display: flex;

    justify-content: flex-end;

    gap: 24px;

    align-items: center;

    margin-top: 20px;

    font-size: 22px;
}


/* ==========================================================
   EMPTY
   ========================================================== */

.empty {
    padding: 40px;

    text-align: center;

    color: var(--muted);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (
    max-width: 1000px
) {

    .stats {
        grid-template-columns:
            repeat(
                3,
                1fr
            );
    }


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

}


@media (
    max-width: 760px
) {

    .topbar {
        height: auto;

        padding: 16px 4vw;

        align-items: flex-start;

        gap: 15px;
    }


    .topbar nav {
        flex-wrap: wrap;

        gap: 10px;

        font-size: 14px;
    }


    .container {
        width: 94vw;

        margin-top: 22px;
    }


    .hero {
        padding: 30px;

        min-height: 220px;
    }


    .hero h1 {
        font-size: 38px;
    }


    .search {
        flex-direction: column;
    }


    .stats {
        grid-template-columns:
            1fr 1fr;
    }


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


    .field-wide {
        grid-column: auto;
    }


    .form-actions {
        grid-column: auto;
    }


    .split {
        flex-direction: column;
    }


    .admin-search {
        flex-direction: column;
    }


    .admin-search input {
        min-width: 0;
    }


    .panel {
        padding: 17px;
    }


    .edit-product-header {
        flex-direction: column;
        align-items: stretch;
    }


    .product-edit-info {
        grid-template-columns: 1fr;
    }

}


@media (
    max-width: 480px
) {

    .stats {
        grid-template-columns: 1fr;
    }


    .stat {
        padding: 16px;
    }


    .stat strong {
        font-size: 27px;
    }

}


/* ==========================================================
   trashList 0.3
   ========================================================== */

.main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

.nav-separator {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.18);
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.stats-six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.stat-link {
    transition: transform .12s ease, border-color .12s ease;
}

.stat-link:hover {
    transform: translateY(-2px);
    border-color: #cfd2d6;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

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

.attention-row {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fafafa;
}

.attention-row:hover {
    border-color: #cfd2d6;
}

.attention-icon {
    font-size: 20px;
}

.supplier-mini-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.supplier-mini-row:last-child {
    border-bottom: 0;
}

.supplier-mini-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.text-link {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.compact-panel {
    padding: 20px 24px;
}

.add-product-details summary {
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
}

.details-form {
    margin-top: 22px;
}

.warehouse-filters {
    display: grid;
    grid-template-columns:
        minmax(300px, 2fr)
        repeat(3, minmax(150px, 1fr))
        110px
        auto;
    gap: 12px;
    align-items: end;
}

.warehouse-search-field,
.filter-field {
    display: grid;
    gap: 6px;
}

.warehouse-search-field label,
.filter-field label {
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
}

.warehouse-filters input,
.warehouse-filters select,
.mass-actions select,
.simple-filter select {
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
}

.filter-actions {
    display: flex;
    gap: 7px;
}

.mass-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 18px 0 10px;
    padding: 12px 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.mass-actions-right {
    display: flex;
    gap: 8px;
}

.mass-actions select {
    min-width: 220px;
}

.warehouse-panel {
    padding: 0;
    overflow: hidden;
}

.warehouse-panel .tablewrap {
    border: 0;
    border-radius: 0;
}

.warehouse-table-compact {
    min-width: 1250px;
}

.checkbox-column {
    width: 42px;
    text-align: center;
}

.warehouse-product-cell {
    min-width: 315px;
}

.product-status-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot-green {
    background: #25a45a;
}

.status-dot-gray {
    background: #9ca1a7;
}

.warehouse-product-name {
    margin-top: 5px;
    font-weight: 700;
}

.prices-cell {
    min-width: 150px;
}

.prices-cell div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 0;
}

.prices-cell span,
.stock-count-grid span {
    color: var(--muted);
    font-size: 11px;
}

.stock-count-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 16px;
    min-width: 180px;
}

.stock-count-grid > div {
    display: grid;
    gap: 3px;
}

.row-actions {
    min-width: 125px;
}

.row-actions form {
    margin: 5px 0 0;
}

.mini-action {
    display: block;
    width: 100%;
    padding: 6px 0;
    color: #34373b;
    font-size: 12px;
    font-weight: 750;
    text-align: left;
}

.mini-action:hover {
    color: var(--accent);
}

.mini-action-button {
    appearance: none;
    border: 0;
    background: transparent;
    border-radius: 0;
    color: #34373b;
    padding-left: 0;
    cursor: pointer;
}

.mini-action-button:hover {
    background: transparent;
    color: var(--accent);
}

.danger-text {
    color: var(--red);
}

.pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 16px;
}

.pagination > div:last-child {
    text-align: right;
}

.pagination-info {
    font-weight: 800;
}

.simple-filter {
    display: flex;
    gap: 8px;
}

.simple-filter select {
    min-width: 220px;
}

.user-actions {
    min-width: 155px;
}

.user-actions form {
    margin-bottom: 6px;
}

.small-action-button {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11px;
}

.supplier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.supplier-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
}

.supplier-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.supplier-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 22px 0;
}

.supplier-metrics > div {
    padding: 13px;
    border-radius: 12px;
    background: #f7f7f8;
}

.supplier-metrics span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 11px;
}

.supplier-metrics strong {
    font-size: 18px;
}

.supplier-card-footer {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.supplier-site {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 1250px) {
    .stats-six {
        grid-template-columns: repeat(3, 1fr);
    }

    .warehouse-filters {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .warehouse-filters {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .main-nav {
        justify-content: flex-start;
    }

    .nav-separator {
        display: none;
    }

    .admin-page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .warehouse-filters {
        grid-template-columns: 1fr;
    }

    .mass-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mass-actions-right,
    .simple-filter {
        flex-direction: column;
    }
}


/* ==========================================================
   trashList 0.4 — suppliers / MOBA sync
   ========================================================== */

.supplier-card-link {
    display: block;
    transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.supplier-card-link:hover {
    transform: translateY(-2px);
    border-color: #cfd2d6;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .04);
}

.supplier-metrics-three {
    grid-template-columns: repeat(3, 1fr);
}

.supplier-last-message {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
}

.error-badge {
    background: var(--red-bg);
    color: var(--red);
}

.supplier-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 18px;
}

.sync-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.sync-note {
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: #f6f7f9;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.sync-state-table,
.supplier-settings-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--line);
}

.sync-state-table > div,
.supplier-settings-list > div {
    min-width: 0;
    padding: 11px 12px;
    background: white;
}

.sync-state-table span,
.supplier-settings-list span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
}

.sync-state-table strong,
.supplier-settings-list strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.sync-error {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--red-bg);
    color: var(--red);
    font-size: 13px;
    line-height: 1.45;
}

.supplier-categories-title {
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: 15px;
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.category-chips span {
    padding: 7px 9px;
    border-radius: 999px;
    background: #f0f1f3;
    font-size: 12px;
    font-weight: 700;
}

.supplier-detail-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.supplier-product-filter {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 190px auto auto;
    gap: 8px;
    margin-bottom: 16px;
}

.supplier-product-filter input,
.supplier-product-filter select {
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
}

.supplier-products-table {
    min-width: 1150px;
}

.supplier-url-text {
    max-width: 520px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .supplier-detail-grid {
        grid-template-columns: 1fr;
    }

    .supplier-product-filter {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .supplier-metrics-three,
    .supplier-detail-stats,
    .sync-state-table,
    .supplier-settings-list,
    .supplier-product-filter {
        grid-template-columns: 1fr;
    }

    .sync-actions {
        flex-direction: column;
    }

    .sync-actions form,
    .sync-actions button {
        width: 100%;
    }
}


/* ==========================================================
   trashList 0.4.7 — supplier category manager
   ========================================================== */

.supplier-category-manager {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.supplier-category-manager-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.supplier-category-manager-head .supplier-categories-title {
    margin: 0 0 5px;
}

.supplier-category-help {
    margin: 0;
    max-width: 460px;
    font-size: 12px;
    line-height: 1.5;
}

.supplier-category-count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f0f1f3;
    color: #44484d;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}


/* ADD CATEGORY */

.supplier-category-add-box {
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fafafa;
}

.supplier-category-add-title {
    margin-bottom: 11px;
    font-size: 13px;
    font-weight: 900;
}

.supplier-category-add-form,
.supplier-category-edit-form {
    display: grid;
    gap: 10px;
}

.supplier-category-field {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.supplier-category-field label {
    color: #5d6268;
    font-size: 11px;
    font-weight: 800;
}

.supplier-category-field input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: white;
    color: var(--text);
}

.supplier-category-field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, .08);
}

.supplier-category-add-button {
    width: 100%;
    min-height: 42px;
    margin-top: 2px;
}

.supplier-category-url-hint {
    margin-top: 10px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
}

.supplier-category-url-hint code {
    display: inline-block;
    max-width: 100%;
    margin-top: 3px;
    padding: 3px 6px;
    border-radius: 6px;
    background: #eceef0;
    color: #373a3d;
    font-size: 9px;
    word-break: break-all;
}


/* CATEGORY CARDS */

.supplier-category-list {
    display: grid;
    gap: 10px;
}

.supplier-category-card {
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: white;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.supplier-category-card:hover {
    border-color: #d2d5d9;
    box-shadow: 0 4px 14px rgba(20, 22, 25, .035);
}

.supplier-category-card-disabled {
    background: #fafafa;
}

.supplier-category-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.supplier-category-card-title {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
}

.supplier-category-card-title .status-dot {
    flex: 0 0 auto;
    margin-top: 6px;
}

.supplier-category-card-title strong {
    display: block;
    font-size: 13px;
    line-height: 1.3;
}

.supplier-category-state-text {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.supplier-category-status-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
}

.supplier-category-status-badge.active {
    background: var(--green-bg);
    color: var(--green);
}

.supplier-category-status-badge.disabled {
    background: #eceef0;
    color: #72777d;
}


/* URL */

.supplier-category-link-box {
    margin-top: 11px;
    padding: 9px 10px;
    border-radius: 9px;
    background: #f6f7f8;
    overflow: hidden;
}

.supplier-category-link-label {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .35px;
}

.supplier-category-link {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #545a61;
    font-size: 10px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.supplier-category-link:hover {
    color: var(--accent);
}


/* ACTIONS */

.supplier-category-card-actions {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, .82fr);
    gap: 7px;
    margin-top: 11px;
}

.supplier-category-card-actions > form,
.supplier-category-edit-details {
    min-width: 0;
    margin: 0;
}

.supplier-category-action-button {
    width: 100%;
    min-height: 36px;
    padding: 8px 9px;
    border: 1px solid #dde0e3;
    border-radius: 8px;
    background: #f0f1f3;
    color: #383c40;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
}

.supplier-category-action-button:hover {
    border-color: #d2d5d9;
    background: #e6e8ea;
    color: #202326;
}

.supplier-category-action-button.danger {
    border-color: #f0c8c5;
    background: #fff;
    color: var(--red);
}

.supplier-category-action-button.danger:hover {
    background: var(--red-bg);
    color: var(--red);
}

.supplier-category-edit-details {
    position: relative;
}

.supplier-category-edit-details > summary {
    list-style: none;
}

.supplier-category-edit-details > summary::-webkit-details-marker {
    display: none;
}

.supplier-category-edit-details[open] {
    grid-column: 1 / -1;
}

.supplier-category-edit-details[open] > summary {
    width: auto;
    margin-bottom: 8px;
}

.supplier-category-edit-panel {
    width: 100%;
    margin-top: 4px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fafafa;
}

.supplier-category-edit-form button {
    width: 100%;
    min-height: 40px;
}

.supplier-category-empty {
    padding: 20px 14px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

.supplier-category-running-note {
    margin-top: 11px;
    margin-bottom: 0;
}


/* DISABLED CONTROL STATE */

.supplier-category-manager input:disabled,
.supplier-category-manager button:disabled,
.supplier-category-manager summary[disabled] {
    opacity: .5;
    cursor: not-allowed;
}


/* RESPONSIVE */

@media (max-width: 1100px) {
    .supplier-category-card-actions {
        grid-template-columns: 1fr 1fr;
    }

    .supplier-category-card-actions > form:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .supplier-category-manager-head {
        flex-direction: column;
    }

    .supplier-category-card-head {
        flex-direction: column;
    }

    .supplier-category-card-actions {
        grid-template-columns: 1fr;
    }

    .supplier-category-card-actions > form:last-child,
    .supplier-category-edit-details[open] {
        grid-column: auto;
    }

    .supplier-category-link {
        white-space: normal;
        word-break: break-all;
    }
}

/* ==========================================================
   trashList 0.5.0 — cart + auto purchase
   ========================================================== */

.product-cart-form {
    margin-top: auto;
}

.supplier-stock-ok {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}


.supplier-stock-incoming {
    color: #d97706;
    font-weight: 700;
}

.cart-page-head,
.order-page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.cart-panel {
    padding: 0;
    overflow: hidden;
}

.cart-panel .tablewrap {
    border: 0;
    border-radius: 0;
}

.cart-table {
    min-width: 900px;
}

.cart-source-badge {
    margin: 0;
    white-space: nowrap;
}

.cart-product-cell {
    min-width: 280px;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fafafa;
}

.qty-control form {
    margin: 0;
}

.qty-button {
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 7px;
    background: #eceef0;
    color: #25282b;
    font-size: 18px;
    line-height: 1;
}

.qty-button:hover {
    background: #dfe2e5;
}

.qty-value {
    display: inline-flex;
    justify-content: center;
    min-width: 28px;
    font-weight: 900;
}

.cart-delete-button {
    padding: 8px 10px;
    border: 1px solid #f0c8c5;
    border-radius: 8px;
    background: white;
    color: var(--red);
    font-size: 11px;
}

.cart-delete-button:hover {
    background: var(--red-bg);
    color: var(--red);
}

.cart-row-unavailable {
    background: #fff8f7;
}

.cart-unavailable-label {
    margin-top: 5px;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
}

.cart-warning {
    margin: 16px 0;
    padding: 14px 16px;
    border: 1px solid #f3c9c5;
    border-radius: 12px;
    background: #fff0ef;
    color: #84251d;
    font-size: 13px;
    line-height: 1.6;
}

.cart-warning strong {
    display: block;
    margin-bottom: 3px;
}

.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border-top: 1px solid var(--line);
    background: #fafafa;
}

.cart-checkout-box {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cart-checkout-box > div {
    display: grid;
    gap: 2px;
    text-align: right;
}

.cart-checkout-box strong {
    font-size: 28px;
    letter-spacing: -1px;
}

.cart-auto-purchase-note {
    margin-top: 15px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f0f1f3;
    color: #5e646b;
    font-size: 12px;
    line-height: 1.55;
}

.cart-auto-purchase-note strong {
    color: #303438;
}

.order-main-status {
    min-width: 190px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: white;
}

.order-main-status span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.order-main-status strong {
    font-size: 15px;
}

.order-total {
    font-size: 26px;
}

.purchase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
}

.purchase-card {
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafafa;
}

.purchase-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.purchase-card-head h3 {
    margin: 2px 0 0;
}

.purchase-status-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 6px 9px;
    border-radius: 999px;
    background: #eceef0;
    color: #4f555b;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.purchase-status-pending,
.purchase-status-processing {
    background: #fff2d9;
    color: #8b5b00;
}

.purchase-status-purchased {
    background: var(--green-bg);
    color: var(--green);
}

.purchase-status-failed {
    background: var(--red-bg);
    color: var(--red);
}

.purchase-status-manual {
    background: #eceef0;
    color: #5b6066;
}

.purchase-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 14px 0;
}

.purchase-meta > div {
    padding: 9px 10px;
    border-radius: 9px;
    background: white;
    border: 1px solid var(--line);
}

.purchase-meta span {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
}

.purchase-message {
    margin: 10px 0;
    padding: 10px 11px;
    border-radius: 9px;
    background: white;
    color: #52585f;
    font-size: 11px;
    line-height: 1.5;
}

.supplier-order-number {
    margin: 10px 0;
    font-size: 12px;
}

.purchase-retry-form {
    margin-top: 13px;
}

.purchase-retry-form button {
    width: 100%;
}

.purchase-running-note {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff2d9;
    color: #785200;
    font-size: 12px;
    font-weight: 700;
}

.admin-purchase-statuses {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 160px;
}

@media (max-width: 760px) {
    .cart-page-head,
    .order-page-head,
    .cart-footer,
    .cart-checkout-box {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-checkout-box > div {
        text-align: left;
    }

    .cart-checkout-box form button,
    .cart-footer > form button {
        width: 100%;
    }

    .order-main-status {
        min-width: 0;
    }
}


/* ==========================================================
   SEARCH RESULTS LIST — 0.5.1
   ========================================================== */

.search-results-meta {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
}

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

.result-row {
    display: grid;
    grid-template-columns: 78px minmax(320px, 1.8fr) minmax(120px, 0.45fr) minmax(150px, 0.55fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.result-row-media {
    width: 78px;
    height: 78px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.result-row-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: white;
}

.result-row-placeholder {
    color: #98a0a8;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.6px;
}

.result-row-main {
    min-width: 0;
}

.result-row-main .badge {
    margin-bottom: 8px;
}

.result-row-main h3 {
    margin: 0 0 8px;
    min-height: auto;
    font-size: 28px;
    line-height: 1.22;
}

.result-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 14px;
}

.result-row-stock {
    font-size: 14px;
    margin-bottom: 6px;
}

.result-row-link {
    display: inline-block;
    font-size: 13px;
    color: #2a6db0;
}

.result-row-link:hover {
    text-decoration: underline;
}

.result-row-price {
    text-align: left;
}

.result-price-main {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.8px;
}

.result-price-sub {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.result-row-actions {
    display: flex;
    justify-content: flex-end;
}

.list-cart-form {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.list-cart-form button {
    min-width: 136px;
}

@media (max-width: 1180px) {
    .result-row {
        grid-template-columns: 72px minmax(0, 1fr) minmax(110px, 0.4fr);
    }

    .result-row-actions {
        grid-column: 2 / 4;
        justify-content: flex-start;
    }
}

@media (max-width: 820px) {
    .result-row {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 14px;
        padding: 15px;
    }

    .result-row-price,
    .result-row-actions {
        grid-column: 2;
        justify-content: flex-start;
    }

    .result-row-main h3 {
        font-size: 21px;
    }

    .result-price-main {
        font-size: 28px;
    }
}

@media (max-width: 620px) {
    .search {
        flex-direction: column;
    }

    .search button {
        width: 100%;
    }

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

    .result-row-media,
    .result-row-price,
    .result-row-actions {
        grid-column: auto;
    }

    .result-row-actions,
    .list-cart-form {
        justify-content: stretch;
    }

    .list-cart-form button {
        width: 100%;
    }
}


/* ==========================================================
   SEARCH TOOLBAR + QUANTITY + GRID — 0.5.2
   ========================================================== */

.search-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.search-heading-row h2 {
    margin-bottom: 6px;
}

.search-heading-row .search-results-meta {
    margin-bottom: 0;
}

.search-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.search-sort-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-sort-form label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.search-sort-form select {
    min-height: 42px;
    min-width: 190px;
    padding: 9px 36px 9px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    color: var(--text);
    cursor: pointer;
}

.view-switcher {
    display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: white;
}

.view-switch-button {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #555b61;
    font-size: 19px;
    line-height: 1;
}

.view-switch-button:hover {
    background: #f0f1f3;
}

.view-switch-button.active {
    background: #202225;
    color: white;
}

.list-cart-form {
    align-items: center;
    gap: 9px;
}

.qty-stepper {
    display: grid;
    grid-template-columns: 34px 44px 34px;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #f6f7f8;
}

.qty-stepper input {
    width: 44px;
    min-width: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: white;
    text-align: center;
    font-weight: 800;
    appearance: textfield;
    -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.qty-step-button {
    min-width: 0;
    width: 34px;
    min-height: 40px;
    padding: 0;
    border-radius: 0;
    background: #f1f2f3;
    color: #34383c;
    font-size: 18px;
    font-weight: 500;
}

.qty-step-button:hover {
    background: #e5e7e9;
    color: #111214;
}

.qty-stepper.disabled {
    opacity: .45;
}

.add-to-cart-button {
    min-width: 124px;
    min-height: 42px;
}

/* Grid mode uses the exact same result data, only presentation changes. */
.results-list.is-grid {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    align-items: stretch;
}

.results-list.is-grid .result-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto auto;
    gap: 14px;
    align-items: stretch;
    padding: 18px;
}

.results-list.is-grid .result-row-media {
    width: 100%;
    height: 180px;
}

.results-list.is-grid .result-row-main h3 {
    font-size: 19px;
    line-height: 1.28;
}

.results-list.is-grid .result-row-meta {
    display: grid;
    gap: 4px;
}

.results-list.is-grid .result-row-price {
    text-align: left;
}

.results-list.is-grid .result-price-main {
    font-size: 30px;
}

.results-list.is-grid .result-row-actions {
    justify-content: stretch;
}

.results-list.is-grid .list-cart-form {
    width: 100%;
    justify-content: space-between;
}

.results-list.is-grid .add-to-cart-button {
    flex: 1;
}

@media (max-width: 1050px) {
    .search-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-toolbar {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 700px) {
    .search-toolbar,
    .search-sort-form {
        width: 100%;
    }

    .search-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .search-sort-form {
        align-items: stretch;
        flex-direction: column;
    }

    .search-sort-form select {
        width: 100%;
    }

    .view-switcher {
        align-self: flex-start;
    }

    .list-cart-form {
        flex-wrap: wrap;
    }

    .qty-stepper {
        flex: 0 0 auto;
    }

    .add-to-cart-button {
        flex: 1;
    }
}


/* ==========================================================
   SUPPLIER-LIKE SEARCH LAYOUT — 0.5.3
   ========================================================== */

.search-header-supplier {
    display: flex !important;
    align-items: end !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin-bottom: 18px !important;
}

.search-header-main {
    min-width: 0 !important;
}

.search-header-main h2 {
    margin: 0 0 6px !important;
}

.search-header-controls {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
    flex-wrap: wrap !important;
}

.supplier-sort-form {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.supplier-sort-form label {
    color: var(--muted) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.supplier-sort-form select {
    min-height: 42px !important;
    min-width: 210px !important;
    padding: 8px 12px !important;
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    background: white !important;
}

.supplier-view-switcher {
    display: inline-flex !important;
    gap: 4px !important;
    padding: 4px !important;
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    background: white !important;
}

.supplier-view-switcher .view-switch-button {
    width: auto !important;
    height: 34px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}

.supplier-results-list {
    display: grid !important;
    gap: 0 !important;
    background: white !important;
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.supplier-results-list.is-grid {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    gap: 16px !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
}

.supplier-result-row {
    display: grid !important;
    grid-template-columns: 84px minmax(0, 1fr) 150px 230px !important;
    align-items: center !important;
    gap: 18px !important;
    width: 100% !important;
    padding: 16px 18px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 !important;
    background: white !important;
    box-shadow: none !important;
}

.supplier-results-list > .supplier-result-row:last-child {
    border-bottom: 0 !important;
}

.supplier-result-row:hover {
    background: #fbfbfc !important;
}

.supplier-result-media {
    width: 84px !important;
    height: 84px !important;
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    background: #fafafa !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.supplier-result-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    background: white !important;
}

.supplier-result-main {
    min-width: 0 !important;
}

.supplier-result-main .badge {
    margin-bottom: 8px !important;
}

.supplier-result-main h3 {
    margin: 0 0 8px !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    min-height: 0 !important;
}

.supplier-result-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px 12px !important;
    margin-bottom: 8px !important;
    color: var(--muted) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.supplier-result-price {
    text-align: left !important;
    align-self: center !important;
}

.supplier-result-price .result-price-main {
    font-size: 32px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

.supplier-result-price .result-price-sub {
    margin-top: 6px !important;
    font-size: 13px !important;
    color: var(--muted) !important;
}

.supplier-result-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.supplier-cart-form {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
}

.supplier-cart-form .qty-stepper {
    display: grid !important;
    grid-template-columns: 36px 44px 36px !important;
    align-items: stretch !important;
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #f3f4f5 !important;
}

.supplier-cart-form .qty-step-button {
    width: 36px !important;
    min-width: 36px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f1f2f3 !important;
    color: #4a4f55 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
}

.supplier-cart-form .qty-step-button:hover {
    background: #e6e8ea !important;
    color: #151719 !important;
}

.supplier-cart-form .qty-stepper input {
    width: 44px !important;
    min-width: 44px !important;
    height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid var(--line) !important;
    border-right: 1px solid var(--line) !important;
    border-radius: 0 !important;
    background: white !important;
    text-align: center !important;
    font-weight: 800 !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}

.supplier-cart-form .qty-stepper input::-webkit-outer-spin-button,
.supplier-cart-form .qty-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.supplier-cart-form .add-to-cart-button {
    min-width: 132px !important;
    min-height: 40px !important;
    border-radius: 8px !important;
    padding: 10px 18px !important;
    font-size: 15px !important;
}

.supplier-results-list.is-grid .supplier-result-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    padding: 18px !important;
}

.supplier-results-list.is-grid > .supplier-result-row {
    border-bottom: 1px solid var(--line) !important;
}

.supplier-results-list.is-grid .supplier-result-media {
    width: 100% !important;
    height: 190px !important;
}

.supplier-results-list.is-grid .supplier-result-main h3 {
    font-size: 18px !important;
}

.supplier-results-list.is-grid .supplier-result-actions,
.supplier-results-list.is-grid .supplier-cart-form {
    justify-content: space-between !important;
}

@media (max-width: 1180px) {
    .search-header-supplier {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .search-header-controls {
        justify-content: space-between !important;
    }

    .supplier-result-row {
        grid-template-columns: 78px minmax(0, 1fr) 140px !important;
    }

    .supplier-result-actions {
        grid-column: 2 / 4 !important;
        justify-content: flex-start !important;
    }

    .supplier-cart-form {
        justify-content: flex-start !important;
    }
}

@media (max-width: 760px) {
    .supplier-sort-form {
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .supplier-sort-form select {
        width: 100% !important;
    }

    .search-header-controls {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .supplier-result-row {
        grid-template-columns: 68px minmax(0, 1fr) !important;
        gap: 14px !important;
        padding: 14px !important;
    }

    .supplier-result-media {
        width: 68px !important;
        height: 68px !important;
    }

    .supplier-result-price {
        grid-column: 2 !important;
    }

    .supplier-result-actions {
        grid-column: 1 / -1 !important;
    }

    .supplier-cart-form {
        width: 100% !important;
        justify-content: space-between !important;
    }
}

@media (max-width: 560px) {
    .supplier-result-row {
        grid-template-columns: 1fr !important;
    }

    .supplier-result-media,
    .supplier-result-price,
    .supplier-result-actions {
        grid-column: auto !important;
    }

    .supplier-result-media {
        width: 100% !important;
        height: 160px !important;
    }

    .supplier-cart-form {
        flex-wrap: wrap !important;
    }

    .supplier-cart-form .add-to-cart-button {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}


/* ==========================================================
   QUANTITY STEPPER FIX — 0.5.3.1
   ========================================================== */

/* Даем правой колонке достаточно места под − 1 + и кнопку */
.supplier-result-row {
    grid-template-columns:
        84px
        minmax(0, 1fr)
        150px
        275px !important;
}

/* Запрещаем блоку количества сжиматься во flex-контейнере */
.supplier-cart-form .qty-stepper {
    flex: 0 0 116px !important;
    width: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
}

/* Каждая из трех частей всегда имеет свою ширину */
.supplier-cart-form .qty-step-button {
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
}

.supplier-cart-form .qty-stepper input {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
}

/* Кнопка корзины тоже не должна выталкивать плюс */
.supplier-cart-form .add-to-cart-button {
    flex: 0 0 132px !important;
    width: 132px !important;
    min-width: 132px !important;
}

@media (max-width: 1180px) {
    .supplier-result-row {
        grid-template-columns:
            78px
            minmax(0, 1fr)
            140px !important;
    }

    .supplier-cart-form .add-to-cart-button {
        width: auto !important;
        min-width: 132px !important;
    }
}

@media (max-width: 560px) {
    .supplier-cart-form .add-to-cart-button {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}


/* ==========================================================
   ADMIN ORDER RECEIPT — 0.5.5
   ========================================================== */

.orders-admin-panel {
    padding: 18px;
}

.admin-orders-table {
    min-width: 1180px;
}

.admin-order-customer {
    min-width: 180px;
}

.supplier-order-cell {
    min-width: 150px;
}

.supplier-order-line {
    display: grid;
    gap: 3px;
    margin-bottom: 8px;
}

.supplier-order-line:last-child {
    margin-bottom: 0;
}

.supplier-order-admin-link {
    color: var(--accent);
    font-weight: 900;
}

.admin-receive-cell {
    min-width: 185px;
}

.receive-order-button {
    width: 100%;
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 9px;
    white-space: nowrap;
}

.receipt-status {
    display: inline-flex;
    align-items: center;
    padding: 7px 9px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
}

.receipt-status-done {
    background: var(--green-bg);
    color: var(--green);
}

.receipt-status-wait {
    background: #f0f1f3;
    color: #656b71;
}


/* ==========================================================
   SUPPLIER SYNC MONITOR — 0.5.7
   ========================================================== */

.supplier-sync-monitor,
.supplier-sync-history {
    margin-top: 18px;
}

.sync-monitor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.sync-monitor-item {
    min-height: 76px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fafafa;
}

.sync-monitor-item span,
.sync-monitor-result-grid span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.sync-monitor-item strong {
    font-size: 14px;
}

.sync-monitor-result-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin-top: 12px;
}

.sync-monitor-result-grid > div {
    padding: 11px 12px;
    border-radius: 10px;
    background: #f3f4f5;
}

.sync-monitor-result-grid strong {
    font-size: 20px;
}

.sync-monitor-status,
.sync-history-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eceef0;
    font-size: 10px !important;
    font-weight: 900;
}

.sync-status-success {
    background: #e5f7eb !important;
    color: #148142 !important;
}

.sync-status-running,
.sync-status-queued {
    background: #fff1d8 !important;
    color: #9a6500 !important;
}

.sync-status-partial {
    background: #fff0e0 !important;
    color: #b65b00 !important;
}

.sync-status-error {
    background: #fde6e4 !important;
    color: #bd2c21 !important;
}

.sync-server-time-note {
    margin-top: 10px;
}

.sync-history-table {
    min-width: 1080px;
}

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

@media (max-width: 950px) {
    .sync-monitor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sync-monitor-result-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .sync-monitor-grid,
    .sync-monitor-result-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   SUPPLIER CARD NAVIGATION — 0.5.8
   ========================================================== */

.supplier-card-navigation {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.supplier-card-navigation:visited {
    color: inherit;
}

.supplier-card-navigation:hover {
    color: inherit;
}

.supplier-card-navigation:hover .supplier-card-name {
    color: var(--accent);
}

.supplier-card-name {
    transition: color .14s ease;
}

.supplier-card-navigation .supplier-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.supplier-card-footer-info {
    min-width: 0;
}

.supplier-open-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 9px;
    background: #f0f1f3;
    color: #25282b;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
    transition:
        background .14s ease,
        color .14s ease,
        transform .14s ease;
}

.supplier-card-navigation:hover .supplier-open-action {
    background: var(--accent);
    color: white;
    transform: translateX(2px);
}

@media (max-width: 650px) {
    .supplier-card-navigation .supplier-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .supplier-open-action {
        width: 100%;
    }
}


/* ==========================================================
   MOBA BALANCE — 0.5.9
   ========================================================== */

.moba-balance-panel {
    margin-bottom: 18px;
}

.moba-balance-head {
    align-items: center;
}

.moba-balance-head form {
    margin: 0;
}

.moba-balance-summary {
    display: grid;
    grid-template-columns: minmax(180px, .55fr) minmax(220px, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.moba-balance-summary > div {
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fafafa;
}

.moba-balance-summary span,
.supplier-card-balance span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
}

.moba-balance-summary strong {
    font-size: 14px;
}

.moba-balance-total {
    font-size: 28px !important;
    line-height: 1;
}

.moba-balance-total.negative,
.moba-balance-value.negative,
.supplier-card-balance .negative {
    color: #c72d22;
}

.moba-balance-total.positive,
.moba-balance-value.positive,
.supplier-card-balance .positive {
    color: #168348;
}

.moba-balance-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.moba-balance-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.moba-balance-table th,
.moba-balance-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.moba-balance-table tr:last-child td {
    border-bottom: 0;
}

.moba-balance-table th {
    color: var(--muted);
    background: #fafafa;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.moba-balance-value {
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.moba-balance-auto-note {
    margin-top: 11px;
}

.supplier-card-balance {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 13px;
    border-radius: 10px;
    background: #f7f8f9;
}

.supplier-card-balance span {
    margin: 0;
}

.supplier-card-balance strong {
    font-size: 18px;
    font-weight: 900;
}

@media (max-width: 700px) {
    .moba-balance-summary {
        grid-template-columns: 1fr;
    }

    .moba-balance-head {
        align-items: stretch;
        flex-direction: column;
    }

    .moba-balance-head form,
    .moba-balance-head button {
        width: 100%;
    }
}

/* ==========================================================
   ADMIN ACCOUNTS — 0.6.0
   ========================================================== */

.admin-access-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 12px;
    max-width: 520px;
    margin-bottom: 18px;
}

.admin-flash { margin-bottom: 18px; }

.admin-account-form {
    display: grid;
    gap: 12px;
}

.admin-add-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-password-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.admin-account-form .field,
.admin-inline-form .field {
    display: grid;
    gap: 6px;
}

.admin-account-form label,
.admin-inline-form label {
    color: #4e555c;
    font-size: 11px;
    font-weight: 800;
}

.admin-account-form input,
.admin-inline-form input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: white;
}

.admin-account-form input:focus,
.admin-inline-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, .08);
}

.field-hint {
    color: var(--muted);
    font-size: 10px;
}

.admin-form-submit { grid-column: 1 / -1; }

.admin-account-list {
    display: grid;
    gap: 12px;
}

.admin-account-card {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
}

.admin-account-card.is-blocked {
    background: #fafafa;
    opacity: .78;
}

.admin-account-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-account-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.admin-avatar {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #17191b;
    color: white;
    font-size: 17px;
    font-weight: 900;
}

.admin-account-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 15px;
    font-weight: 900;
}

.admin-account-email {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.admin-you-badge {
    padding: 3px 7px;
    border-radius: 999px;
    background: #fff0e5;
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-account-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}

.admin-account-meta strong { color: var(--text); }

.admin-account-actions {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
}

.admin-action-details { min-width: 150px; }

.admin-action-details > summary {
    list-style: none;
    cursor: pointer;
    text-align: center;
}

.admin-action-details > summary::-webkit-details-marker { display: none; }

.admin-action-details[open] {
    flex: 1 1 100%;
    width: 100%;
}

.admin-action-details[open] > summary {
    width: fit-content;
    margin-bottom: 9px;
}

.admin-inline-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #f8f9fa;
}

.admin-inline-form button {
    align-self: end;
    min-height: 42px;
}

.admin-toggle-form { margin: 0; }

.danger-outline {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #efc5c1;
    border-radius: 9px;
    background: white;
    color: #c42d23;
    font-weight: 800;
}

.danger-outline:hover {
    background: #fff0ef;
    color: #a91f17;
}

.admin-my-password-panel { margin-bottom: 30px; }

@media (max-width: 900px) {
    .admin-add-form,
    .admin-password-form,
    .admin-inline-form {
        grid-template-columns: 1fr;
    }

    .admin-form-submit { grid-column: auto; }
}

@media (max-width: 600px) {
    .admin-access-stats {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .admin-account-head { flex-direction: column; }

    .admin-account-actions,
    .admin-account-actions > form,
    .admin-action-details {
        width: 100%;
    }

    .admin-action-details > summary,
    .admin-toggle-form button {
        width: 100%;
    }
}
/* ==========================================================
   RESPONSIVE CATALOG MODE — 0.6.2
   Desktop: always list
   Mobile <= 767px: always 2-column tiles
   ========================================================== */

/* Ручной переключатель вида больше не используется. */
.supplier-view-switcher {
    display: none !important;
}

/* На всех немобильных экранах строго одна строка на товар. */
.supplier-results-list,
.supplier-results-list.is-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    background: white !important;
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.supplier-results-list .supplier-result-row,
.supplier-results-list.is-grid .supplier-result-row {
    grid-template-columns:
        84px
        minmax(0, 1fr)
        150px
        275px !important;
    grid-template-rows: auto !important;
    gap: 18px !important;
    align-items: center !important;
    width: 100% !important;
    padding: 16px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 !important;
    background: white !important;
}

.supplier-results-list > .supplier-result-row:last-child {
    border-bottom: 0 !important;
}

.supplier-results-list .supplier-result-media,
.supplier-results-list.is-grid .supplier-result-media {
    width: 84px !important;
    height: 84px !important;
}

/* Планшет/небольшой desktop всё ещё список. */
@media (min-width: 768px) and (max-width: 1180px) {
    .supplier-results-list .supplier-result-row,
    .supplier-results-list.is-grid .supplier-result-row {
        grid-template-columns:
            78px
            minmax(0, 1fr)
            140px !important;
    }

    .supplier-results-list .supplier-result-actions,
    .supplier-results-list.is-grid .supplier-result-actions {
        grid-column: 2 / 4 !important;
        justify-content: flex-start !important;
    }
}

/* На телефоне каталог всегда плиткой в две колонки. */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
    .search-header-supplier {
        gap: 12px !important;
    }

    .supplier-results-list,
    .supplier-results-list.is-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        align-items: stretch !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }

    .supplier-results-list .supplier-result-row,
    .supplier-results-list.is-grid .supplier-result-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 9px !important;
        min-width: 0 !important;
        height: 100% !important;
        padding: 10px !important;
        border: 1px solid var(--line) !important;
        border-radius: 13px !important;
        background: white !important;
        overflow: hidden !important;
    }

    .supplier-results-list > .supplier-result-row:last-child {
        border-bottom: 1px solid var(--line) !important;
    }

    .supplier-results-list .supplier-result-media,
    .supplier-results-list.is-grid .supplier-result-media {
        width: 100% !important;
        height: 138px !important;
        min-height: 138px !important;
        border-radius: 10px !important;
    }

    .supplier-result-main {
        display: flex !important;
        flex-direction: column !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .supplier-result-main .badge {
        align-self: flex-start !important;
        margin-bottom: 5px !important;
        font-size: 10px !important;
        padding: 4px 6px !important;
    }

    .supplier-result-main h3,
    .supplier-results-list.is-grid .supplier-result-main h3 {
        margin: 0 0 6px !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere !important;
    }

    .supplier-result-meta {
        display: grid !important;
        gap: 2px !important;
        margin-bottom: 5px !important;
        font-size: 10.5px !important;
        line-height: 1.25 !important;
    }

    .supplier-result-stock {
        margin-top: auto !important;
        margin-bottom: 0 !important;
        font-size: 11px !important;
    }

    .supplier-result-link {
        font-size: 10.5px !important;
        overflow-wrap: anywhere !important;
    }

    .supplier-result-price,
    .supplier-results-list.is-grid .supplier-result-price {
        width: 100% !important;
        text-align: left !important;
        margin: 0 !important;
    }

    .supplier-result-price .result-price-main,
    .supplier-results-list.is-grid .result-price-main {
        font-size: 22px !important;
        line-height: 1.05 !important;
        letter-spacing: -0.3px !important;
    }

    .supplier-result-price .result-price-sub {
        margin-top: 4px !important;
        font-size: 10px !important;
    }

    .supplier-result-actions,
    .supplier-results-list.is-grid .supplier-result-actions {
        display: block !important;
        width: 100% !important;
        margin-top: auto !important;
    }

    .supplier-cart-form,
    .supplier-results-list.is-grid .supplier-cart-form {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 7px !important;
        width: 100% !important;
    }

    .supplier-cart-form .qty-stepper {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        grid-template-columns:
            minmax(32px, 1fr)
            40px
            minmax(32px, 1fr) !important;
    }

    .supplier-cart-form .qty-step-button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 36px !important;
    }

    .supplier-cart-form .qty-stepper input {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 36px !important;
    }

    .supplier-cart-form .add-to-cart-button,
    .supplier-results-list.is-grid .add-to-cart-button {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 38px !important;
        padding: 8px 5px !important;
        font-size: 12px !important;
    }
}

/* ==========================================================
   MOBILE SIDE NAVIGATION — 0.6.3
   ========================================================== */

.mobile-menu-button,
.mobile-menu-close,
.mobile-menu-overlay,
.mobile-menu-head,
.mobile-nav-section-title {
    display: none;
}

.main-nav .nav-group {
    display: contents;
}

@media (max-width: 760px) {
    .topbar {
        min-height: 62px !important;
        height: 62px !important;
        padding: 0 14px !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .brand {
        font-size: 24px !important;
        line-height: 1 !important;
    }

    .mobile-menu-button {
        display: inline-flex !important;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0 !important;
        border-radius: 10px;
        background: transparent !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        box-shadow: none !important;
        position: relative;
        z-index: 104;
    }

    .mobile-menu-button:hover,
    .mobile-menu-button:active {
        background: rgba(255, 255, 255, 0.08) !important;
        transform: none !important;
    }

    .mobile-menu-button span {
        display: block;
        width: 24px;
        height: 2px;
        border-radius: 20px;
        background: #ffffff;
        transition:
            transform .2s ease,
            opacity .2s ease;
    }

    .main-nav {
        display: flex !important;
        position: fixed;
        z-index: 106;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(86vw, 340px);
        height: 100dvh;
        padding: 0 18px 28px;
        background: #111214;
        color: #ffffff;
        box-sizing: border-box;
        flex-direction: column;
        align-items: stretch !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(105%);
        visibility: hidden;
        box-shadow: -20px 0 50px rgba(0, 0, 0, .28);
        transition:
            transform .24s ease,
            visibility .24s ease;
    }

    .mobile-menu-open .main-nav {
        transform: translateX(0);
        visibility: visible;
    }

    .mobile-menu-head {
        display: flex !important;
        min-height: 66px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex: 0 0 auto;
        border-bottom: 1px solid rgba(255, 255, 255, .11);
    }

    .mobile-menu-head strong {
        font-size: 20px;
    }

    .mobile-menu-close {
        display: inline-grid !important;
        width: 42px;
        height: 42px;
        padding: 0 !important;
        border-radius: 10px;
        place-items: center;
        background: transparent !important;
        color: white !important;
        font-size: 34px;
        font-weight: 300;
        line-height: 1;
        box-shadow: none !important;
    }

    .mobile-menu-close:hover,
    .mobile-menu-close:active {
        background: rgba(255, 255, 255, .08) !important;
        transform: none !important;
    }

    .main-nav .nav-group {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .10);
    }

    .main-nav .nav-group:last-child {
        border-bottom: 0;
    }

    .main-nav a {
        display: flex;
        min-height: 46px;
        padding: 0 12px;
        border-radius: 10px;
        align-items: center;
        color: #ffffff;
        font-size: 15px;
        font-weight: 650;
        box-sizing: border-box;
    }

    .main-nav a:hover,
    .main-nav a:active {
        opacity: 1;
        background: rgba(255, 255, 255, .08);
    }

    .main-nav .button.small {
        justify-content: center;
        margin-top: 5px;
        background: var(--accent);
    }

    .mobile-nav-section-title {
        display: block !important;
        padding: 4px 12px 7px;
        color: var(--accent);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 1.2px;
        text-transform: uppercase;
    }

    .nav-separator {
        display: none !important;
    }

    .mobile-menu-overlay {
        display: block !important;
        position: fixed;
        z-index: 105;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0 !important;
        border: 0;
        border-radius: 0;
        background: rgba(0, 0, 0, .48) !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity .22s ease,
            visibility .22s ease;
    }

    .mobile-menu-open .mobile-menu-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.mobile-menu-open {
        overflow: hidden;
        touch-action: none;
    }
}

/* ==========================================================
   SALES — 0.6.5
   ========================================================== */

.warehouse-sale-details {
    border: 1px solid #ffd9bf;
    border-radius: 12px;
    background: #fff8f3;
    overflow: hidden;
}

.warehouse-sale-details summary {
    cursor: pointer;
    padding: 10px 12px;
    color: #c94d00;
    font-weight: 800;
    user-select: none;
}

.warehouse-sale-details[open] summary {
    border-bottom: 1px solid #ffd9bf;
}

.sale-operation {
    padding: 10px;
    background: transparent;
}

.sale-operation input,
.sale-operation select,
.order-sale-form input,
.order-sale-form select {
    min-width: 0;
}

.sale-stock-available {
    font-size: 12px;
    color: #58616d;
}

.sale-stock-button,
.sale-order-button {
    background: #ff6500 !important;
    color: #fff !important;
    border-color: #ff6500 !important;
}

.order-sale-form {
    display: grid;
    gap: 7px;
    min-width: 190px;
}

.order-sale-form select,
.order-sale-form input {
    width: 100%;
    box-sizing: border-box;
}

.sales-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.sales-summary-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.sales-summary-card span {
    color: #68717d;
    font-size: 13px;
    font-weight: 700;
}

.sales-summary-card strong {
    font-size: 28px;
    line-height: 1.1;
}

.sales-table {
    min-width: 1180px;
}

.sale-type-badge {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.sale-type-order {
    background: #e8f7ee;
    color: #087534;
}

.sale-type-direct {
    background: #fff0e5;
    color: #bd4a00;
}

.sale-items-cell {
    min-width: 280px;
}

.sale-item-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 4px 0;
    border-bottom: 1px solid #edf0f2;
}

.sale-item-line:last-child {
    border-bottom: 0;
}

.sale-item-line span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.sale-comment {
    margin-top: 6px;
}

@media (max-width: 760px) {
    .sales-summary-grid {
        grid-template-columns: 1fr;
    }

    .sales-summary-card strong {
        font-size: 24px;
    }

    .warehouse-sale-details {
        width: 100%;
    }

    .sale-operation {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

    .sale-operation input,
    .sale-operation select,
    .sale-operation button {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
    }
}

/* ==========================================================
   WORKFLOW / NOTIFICATIONS / USERS / PRICING — 0.7.0
   ========================================================== */

.catalog-flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.catalog-flash a {
    font-weight: 800;
    white-space: nowrap;
}

.checkout-success-backdrop {
    min-height: calc(100vh - 120px);
    display: grid;
    place-items: center;
    padding: 24px;
}

.checkout-success-dialog {
    width: min(100%, 560px);
    box-sizing: border-box;
    padding: 34px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .14);
    text-align: center;
}

.checkout-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e9f8ee;
    color: #10813f;
    font-size: 34px;
    font-weight: 900;
}

.checkout-success-dialog h1 {
    margin: 8px 0 12px;
}

.checkout-success-total {
    margin: 22px 0;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-radius: 14px;
    background: #f6f7f8;
}

.checkout-success-total strong {
    font-size: 22px;
}

.checkout-success-actions {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.user-edit-details {
    min-width: 150px;
}

.user-edit-details summary {
    cursor: pointer;
    list-style: none;
}

.user-edit-details summary::-webkit-details-marker {
    display: none;
}

.user-edit-form {
    width: min(520px, 80vw);
    margin-top: 10px;
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}

.user-edit-form label,
.supplier-pricing-form label,
.courier-assignment-form label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
}

.user-edit-form button {
    grid-column: 1 / -1;
}

.courier-assignment-panel {
    border-color: #ffe0c8;
}

.courier-current-request {
    margin-bottom: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    border-radius: 12px;
    background: #f7f8fa;
}

.courier-assignment-form {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.courier-assignment-form select {
    width: 100%;
}

.supplier-pricing-editor {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e7e9ec;
}

.supplier-pricing-editor h3 {
    margin: 0 0 6px;
}

.supplier-pricing-form {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr)) auto;
    gap: 10px;
    align-items: end;
}

.supplier-pricing-form input {
    width: 100%;
    box-sizing: border-box;
}

.admin-users-table {
    min-width: 1180px;
}

@media (max-width: 760px) {
    .catalog-flash {
        align-items: flex-start;
        flex-direction: column;
    }

    .checkout-success-backdrop {
        padding: 10px;
        min-height: calc(100vh - 90px);
    }

    .checkout-success-dialog {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .checkout-success-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .checkout-success-actions .button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .user-edit-form,
    .courier-assignment-form,
    .supplier-pricing-form {
        grid-template-columns: 1fr;
    }

    .user-edit-form {
        width: min(86vw, 420px);
    }

    .user-edit-form button {
        grid-column: auto;
    }
}

/* ==========================================================
   LOCATIONS / SHOWCASE / SEARCH HISTORY / BROADCASTS — 0.8.0
   ========================================================== */

.showcase-section {
    margin: 22px 0 28px;
}

.showcase-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.showcase-heading h2 {
    margin: 0;
}

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

.showcase-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e4e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .045);
}

.showcase-card-media {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f6f7;
}

.showcase-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.showcase-placeholder {
    font-weight: 900;
    font-size: 32px;
    color: #a1a7af;
}

.showcase-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
}

.showcase-card-body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
}

.showcase-location {
    color: #6a737d;
    font-size: 12px;
}

.showcase-price {
    margin-top: auto;
    font-size: 21px;
    font-weight: 900;
}

.showcase-cart-form button {
    width: 100%;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.location-create-form,
.location-edit-form,
.broadcast-form {
    display: grid;
    gap: 10px;
}

.location-create-form label,
.location-edit-form label,
.broadcast-form label {
    display: grid;
    gap: 5px;
}

.location-edit-form {
    grid-template-columns: minmax(180px, 1.4fr) minmax(170px, 1fr) auto auto auto;
    align-items: end;
}

.location-edit-form button {
    align-self: end;
}

.location-table {
    min-width: 950px;
}

.warehouse-local-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #fff0e5;
    color: #b54700;
    font-size: 12px;
    font-weight: 800;
}

.search-history-grid {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 2fr);
    gap: 16px;
    align-items: start;
}

.top-query-list {
    display: grid;
    gap: 8px;
}

.top-query-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #edf0f2;
}

.top-query-row:last-child {
    border-bottom: 0;
}

.broadcast-recipient-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
    border-radius: 999px;
    background: #eef7f1;
    color: #126233;
    font-size: 13px;
    font-weight: 800;
}

.quick-broadcast-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.quick-broadcast-button {
    width: 100%;
    min-height: 54px;
    white-space: normal;
    text-align: left;
}

.broadcast-form textarea {
    min-height: 150px;
    resize: vertical;
}

.broadcast-body-preview {
    max-width: 520px;
    white-space: pre-wrap;
}

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

    .location-edit-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-broadcast-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .showcase-card-body {
        padding: 11px;
    }

    .showcase-card-body h3 {
        font-size: 14px;
    }

    .showcase-price {
        font-size: 18px;
    }

    .locations-grid,
    .search-history-grid {
        grid-template-columns: 1fr;
    }

    .location-edit-form {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   POS — 0.9.0
   ========================================================== */

.pos-page {
    --pos-bg: #17191c;
    --pos-panel: #22252a;
    --pos-panel-2: #2b2f35;
    --pos-border: #3a3f46;
    --pos-text: #f3f5f7;
    --pos-muted: #9aa3ad;
    --pos-orange: #ff6500;
    max-width: 1800px;
    margin: 0 auto;
}

.pos-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.pos-header h1 {
    margin: 2px 0 4px;
}

.pos-header-actions,
.header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pos-location-bar {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(340px, 2fr);
    gap: 12px;
    align-items: end;
    margin-bottom: 14px;
}

.pos-location-bar > label,
.pos-checkout-form label,
.pos-customer-fields label,
.pos-payment-grid label,
.pos-shift-form label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
}

.pos-shift-box {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.pos-shift-status {
    display: grid;
    gap: 3px;
    min-width: 230px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #d7dce2;
    background: #f7f8fa;
}

.pos-shift-status span {
    font-size: 12px;
    color: #68717d;
}

.pos-shift-status.is-open {
    background: #effaf3;
    border-color: #b9e4c7;
}

.pos-shift-status.is-open strong {
    color: #087534;
}

.pos-shift-status.is-closed {
    background: #fff4eb;
    border-color: #ffd2b5;
}

.pos-open-shift-form {
    display: flex;
    gap: 6px;
}

.pos-open-shift-form input {
    width: 120px;
}

.pos-shift-details {
    position: relative;
}

.pos-shift-details > summary {
    cursor: pointer;
    font-weight: 800;
}

.pos-shift-form {
    position: absolute;
    z-index: 20;
    right: 0;
    top: calc(100% + 8px);
    width: 320px;
    display: grid;
    gap: 9px;
    padding: 14px;
    background: #fff;
    border: 1px solid #d8dde3;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,.16);
}

.pos-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 14px;
    align-items: start;
}

.pos-catalog-panel,
.pos-receipt-panel {
    margin: 0;
}

.pos-catalog-panel {
    min-height: 720px;
    background: var(--pos-bg);
    color: var(--pos-text);
    border-color: #262a30;
}

.pos-search-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.pos-search-wrap {
    position: relative;
    flex: 1;
}

.pos-search-wrap input {
    width: 100%;
    box-sizing: border-box;
    padding-left: 38px;
    background: #202329;
    color: var(--pos-text);
    border-color: var(--pos-border);
}

.pos-search-wrap input::placeholder {
    color: #7d8792;
}

.pos-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #8d96a1;
    font-size: 22px;
}

.pos-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--pos-border);
    margin-bottom: 0;
    overflow-x: auto;
}

.pos-tab {
    flex: 0 0 auto;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #d5d9de !important;
    padding: 11px 14px !important;
    box-shadow: none !important;
    border-bottom: 3px solid transparent !important;
}

.pos-tab.is-active {
    color: #fff !important;
    border-bottom-color: #ff7a1a !important;
}

.pos-list-head,
.pos-result-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px 130px;
    gap: 12px;
    align-items: center;
}

.pos-list-head {
    padding: 11px 14px;
    color: #c8cdd3;
    font-size: 12px;
    font-weight: 800;
    border-bottom: 1px solid var(--pos-border);
}

.pos-list-head span:nth-child(2),
.pos-list-head span:nth-child(3),
.pos-result-qty,
.pos-result-price {
    text-align: right;
}

.pos-results {
    max-height: 600px;
    overflow: auto;
}

.pos-result-row,
.pos-order-row {
    width: 100%;
    text-align: left;
    background: #2a2e33 !important;
    color: var(--pos-text) !important;
    border: 0 !important;
    border-bottom: 1px solid #3d4249 !important;
    border-radius: 0 !important;
    padding: 11px 14px !important;
    box-shadow: none !important;
}

.pos-result-row:hover,
.pos-order-row:hover {
    background: #353a41 !important;
}

.pos-result-main,
.pos-order-row > span {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.pos-result-main strong,
.pos-order-row strong {
    font-size: 13px;
    line-height: 1.35;
}

.pos-result-main small,
.pos-order-row small {
    color: var(--pos-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pos-result-qty {
    color: #d4dae1;
}

.pos-result-price {
    font-weight: 900;
}

.pos-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pos-empty {
    padding: 28px 18px;
    text-align: center;
    color: #8e98a3;
}

.pos-services-admin {
    margin-top: 14px;
    border-top: 1px solid var(--pos-border);
    padding-top: 12px;
}

.pos-services-admin > summary {
    cursor: pointer;
    color: #d7dce2;
    font-weight: 800;
}

.pos-service-admin-body {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.pos-service-create-form {
    display: grid;
    grid-template-columns: 160px minmax(220px, 1fr) 150px 120px 120px auto;
    gap: 7px;
}

.pos-service-edit-row {
    display: grid;
    grid-template-columns: 130px minmax(200px, 1fr) 130px 100px 100px 100px auto;
    gap: 7px;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid #373c43;
}

.pos-services-admin input,
.pos-services-admin select {
    background: #202329;
    color: #fff;
    border-color: #414750;
}

.pos-receipt-panel {
    position: sticky;
    top: 16px;
    min-height: 720px;
    background: #f8f9fa;
}

.pos-receipt-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #dfe3e7;
    padding-bottom: 10px;
}

.pos-receipt-head h2 {
    margin: 2px 0 0;
    font-size: 20px;
}

.pos-icon-button,
.pos-line-remove {
    width: 34px;
    height: 34px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    background: #eceff2 !important;
    color: #32373d !important;
    border: 1px solid #d7dce1 !important;
}

.pos-order-banner {
    margin-top: 10px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    background: #fff2e8;
    border: 1px solid #ffd0ae;
    border-radius: 12px;
}

.pos-order-banner > div {
    display: grid;
    gap: 3px;
}

.pos-order-banner span {
    font-size: 11px;
    color: #77513a;
}

.pos-cart-lines {
    max-height: 340px;
    overflow: auto;
    margin: 10px -4px 12px;
    padding: 0 4px;
}

.pos-cart-line {
    padding: 10px 0;
    border-bottom: 1px solid #dfe3e7;
}

.pos-cart-line-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.pos-cart-line-head > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.pos-cart-line-head strong {
    font-size: 13px;
    line-height: 1.3;
}

.pos-cart-line-head small,
.pos-line-meta {
    color: #77818c;
    font-size: 10px;
}

.pos-cart-line-controls {
    display: grid;
    grid-template-columns: 104px 105px 1fr;
    gap: 7px;
    align-items: end;
    margin-top: 7px;
}

.pos-qty-control {
    display: grid;
    grid-template-columns: 30px 44px 30px;
    gap: 0;
}

.pos-qty-control button,
.pos-qty-control input {
    width: 100%;
    min-width: 0;
    height: 34px;
    padding: 0 !important;
    text-align: center;
    border-radius: 0 !important;
}

.pos-qty-control button:first-child { border-radius: 8px 0 0 8px !important; }
.pos-qty-control button:last-child { border-radius: 0 8px 8px 0 !important; }

.pos-price-edit {
    font-size: 10px !important;
    color: #68717d;
}

.pos-price-edit input {
    height: 34px;
}

.pos-line-total {
    text-align: right;
    padding-bottom: 8px;
}

.pos-line-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.pos-checkout-form {
    display: grid;
    gap: 10px;
}

.pos-customer-block {
    border: 1px solid #dfe3e7;
    border-radius: 10px;
    padding: 8px 10px;
    background: #fff;
}

.pos-customer-block summary {
    cursor: pointer;
    font-weight: 800;
}

.pos-customer-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 9px;
}

.pos-customer-fields label:first-child {
    grid-column: 1 / -1;
}

.pos-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pos-totals {
    border-top: 1px solid #d7dce2;
    padding-top: 9px;
    display: grid;
    gap: 5px;
}

.pos-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.pos-total-main {
    font-size: 23px;
    padding-top: 5px;
    border-top: 1px dashed #ccd2d8;
}

.pos-profit-line {
    color: #087534;
    font-size: 12px;
}

.pos-pay-button {
    min-height: 54px;
    font-size: 18px !important;
    background: #ff6500 !important;
    border-color: #ff6500 !important;
}

.pos-pay-button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.sale-returned-row {
    opacity: .68;
    background: #fafafa;
}

.sale-return-badge {
    display: inline-flex;
    margin-top: 4px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #fee8e8;
    color: #a62525;
    font-size: 10px;
    font-weight: 900;
}

.sale-history-actions {
    min-width: 180px;
}

.sale-return-details {
    margin-top: 7px;
}

.sale-return-details summary {
    cursor: pointer;
    color: #b12c2c;
    font-weight: 800;
}

.sale-return-details form {
    display: grid;
    gap: 6px;
    margin-top: 7px;
    min-width: 200px;
}

.sale-service-line strong {
    color: #8a4f00;
}

.sale-receipt-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.receipt-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 12px;
}

.print-receipt {
    background: #fff;
    border: 1px solid #d8dde3;
    border-radius: 18px;
    padding: 28px;
}

.print-receipt-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 2px solid #14171a;
    padding-bottom: 18px;
}

.receipt-brand {
    display: inline-block;
    color: #111 !important;
    margin-bottom: 6px;
}

.receipt-meta,
.receipt-customer {
    display: grid;
    gap: 4px;
    font-size: 12px;
}

.receipt-order-badge {
    display: inline-flex;
    margin: 15px 0 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff0e5;
    color: #bd4a00;
    font-weight: 900;
}

.receipt-customer {
    margin: 16px 0;
}

.receipt-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.receipt-items-table th,
.receipt-items-table td {
    padding: 9px 7px;
    border-bottom: 1px solid #e1e5e9;
    text-align: right;
}

.receipt-items-table th:first-child,
.receipt-items-table td:first-child {
    text-align: left;
}

.receipt-items-table small {
    display: block;
    color: #7b858e;
    margin-top: 2px;
}

.receipt-totals {
    margin-left: auto;
    margin-top: 18px;
    width: min(100%, 360px);
    display: grid;
    gap: 7px;
}

.receipt-totals > div {
    display: flex;
    justify-content: space-between;
}

.receipt-grand-total {
    padding-top: 8px;
    border-top: 2px solid #111;
    font-size: 22px;
}

.receipt-comment {
    margin-top: 18px;
    padding: 10px;
    background: #f7f8fa;
    border-radius: 10px;
}

.receipt-footer {
    display: grid;
    gap: 5px;
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid #e1e5e9;
    font-size: 12px;
}

.receipt-returned {
    color: #a62525;
}

@media (max-width: 1100px) {
    .pos-workspace {
        grid-template-columns: 1fr;
    }
    .pos-receipt-panel {
        position: static;
        min-height: auto;
    }
    .pos-location-bar {
        grid-template-columns: 1fr 1fr;
    }
    .pos-shift-box {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
    .pos-service-create-form,
    .pos-service-edit-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .pos-header,
    .print-receipt-head {
        align-items: stretch;
        flex-direction: column;
    }
    .pos-location-bar,
    .pos-customer-fields,
    .pos-payment-grid {
        grid-template-columns: 1fr;
    }
    .pos-shift-box {
        display: grid;
        width: 100%;
    }
    .pos-open-shift-form {
        display: grid;
        grid-template-columns: 1fr auto;
    }
    .pos-open-shift-form input {
        width: 100%;
    }
    .pos-list-head,
    .pos-result-row {
        grid-template-columns: minmax(0, 1fr) 55px 90px;
        gap: 7px;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .pos-result-main strong {
        font-size: 12px;
    }
    .pos-result-main small {
        font-size: 10px;
    }
    .pos-cart-line-controls {
        grid-template-columns: 104px 1fr;
    }
    .pos-line-total {
        grid-column: 1 / -1;
        text-align: right;
        padding-bottom: 0;
    }
    .print-receipt {
        padding: 16px;
        border-radius: 12px;
    }
}

@media print {
    body {
        background: #fff !important;
    }
    .topbar,
    .no-print {
        display: none !important;
    }
    main.container {
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .print-receipt {
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
}


/* ==========================================================
   trashList 0.9.4 — закупочная потребность по поставщикам
   ========================================================== */

.procurement-panel {
    margin-top: 18px;
}

.procurement-totals {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.procurement-total-card {
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fafafa;
}

.procurement-total-card span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.procurement-total-card strong {
    display: block;
    font-size: 22px;
    line-height: 1.15;
}

.procurement-money {
    white-space: nowrap;
}

.procurement-grand-total td {
    border-top: 2px solid var(--line);
    background: #fafafa;
}

.procurement-alert {
    border-color: rgba(210, 56, 56, 0.22);
    background: rgba(210, 56, 56, 0.08);
    color: #b3261e;
}

.procurement-note {
    margin: 14px 0 0;
    line-height: 1.5;
}

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

@media (max-width: 620px) {
    .procurement-totals {
        grid-template-columns: 1fr;
    }

    .procurement-total-card strong {
        font-size: 20px;
    }
}


/* ==========================================================
   HOME SLIDER / ADMIN SLIDES
   ========================================================== */

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    margin-bottom: 24px;
    min-height: 320px;
    background: #17191c;
}

.hero-slider-track {
    position: relative;
    min-height: 320px;
}

.hero-slide {
    position: relative;
    display: none;
    min-height: 320px;
    padding: 58px;
    color: #fff;
    background: var(--slide-bg);
    background-image: var(--slide-image, none);
    background-size: cover;
    background-position: center;
    align-items: center;
    isolation: isolate;
}

.hero-slide.is-active {
    display: flex;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 14, 17, 0.82) 0%, rgba(12, 14, 17, 0.50) 45%, rgba(12, 14, 17, 0.22) 100%);
    z-index: 0;
}

.hero-slide-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero-slide h1 {
    font-size: 56px;
    line-height: 0.98;
    margin: 8px 0 16px;
    letter-spacing: -2px;
}

.hero-slide p {
    font-size: 20px;
    color: #d7dbe0;
    max-width: 720px;
}

.hero-slide-actions {
    margin-top: 22px;
}

.hero-slide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 14px;
    background: #ff6a00;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.hero-slide-button:hover {
    background: #ff7e24;
}

.hero-slider-controls {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 2;
}

.hero-slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.hero-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.34);
}

.hero-slider-dot.is-active {
    background: #ff6a00;
}

.slides-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.slide-admin-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    padding: 18px;
}

.slide-admin-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.slide-admin-card-head h3 {
    margin: 6px 0 0;
}

.slide-admin-form {
    display: grid;
    gap: 14px;
}

.slide-admin-form label {
    display: grid;
    gap: 8px;
}

.slide-admin-form label > span {
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
}

.slide-admin-form input[type="text"],
.slide-admin-form input[type="number"],
.slide-admin-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}

.slide-admin-form textarea {
    resize: vertical;
    min-height: 84px;
}

.slide-admin-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.slide-admin-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.checkbox-row {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding-top: 22px;
}

.checkbox-row input {
    width: auto;
}

.slide-admin-preview {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    min-height: 210px;
    background: var(--preview-bg);
    background-image: var(--preview-image, none);
    background-size: cover;
    background-position: center;
    color: #fff;
    isolation: isolate;
}

.slide-admin-preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12,14,17,0.84) 0%, rgba(12,14,17,0.52) 45%, rgba(12,14,17,0.28) 100%);
    z-index: 0;
}

.slide-admin-preview-content {
    position: relative;
    z-index: 1;
    padding: 22px;
    max-width: 80%;
}

.slide-admin-preview-content h4 {
    margin: 6px 0 10px;
    font-size: 28px;
    line-height: 1.05;
}

.slide-admin-preview-content p {
    margin: 0 0 12px;
    color: #d7dbe0;
}

@media (max-width: 980px) {
    .slides-admin-grid,
    .slide-admin-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .hero-slide {
        padding: 32px 24px 72px;
        min-height: 300px;
    }

    .hero-slide h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .hero-slide p {
        font-size: 17px;
    }

    .hero-slider-controls {
        left: 16px;
        right: 16px;
        bottom: 14px;
    }

    .slide-admin-preview-content {
        max-width: 100%;
    }

    .slide-admin-preview-content h4 {
        font-size: 24px;
    }
}


/* 0.9.8.0 — partial receipt / user orders / admin permissions */
.user-order-stats{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin:16px 0}.user-receive-all-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.user-receive-all-form select{min-width:240px}.supplier-pickup-done{margin:10px 0;padding:8px 10px;border-radius:8px;background:#eef8ef;color:#247337;font-size:13px;font-weight:700}.admin-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:10px;margin:8px 0 14px}.admin-permission-option{display:flex!important;gap:10px;align-items:flex-start;padding:10px;border:1px solid #e1e5e9;border-radius:9px;background:#fafbfc}.admin-permission-option input{width:auto!important;margin-top:3px}.admin-permission-option span{display:flex;flex-direction:column;gap:3px}.admin-permission-option small{color:#727b84;font-weight:400;line-height:1.35}@media(max-width:760px){.user-order-stats{grid-template-columns:repeat(2,minmax(130px,1fr))}.admin-permission-grid{grid-template-columns:1fr}}


/* ============================================================
   0.9.8.12 — SUPER ADMIN PICKUP BY USER
   ============================================================ */

.pickup-order-stats {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.pickup-margin-card strong,
.pickup-margin-value {
    color: #17803d;
}

.pickup-owner-link {
    display: inline-block;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 3px;
}

.pickup-users-table tfoot th,
.pickup-parts-table tfoot th {
    font-weight: 900;
    background: #f3f6f8;
    border-top: 2px solid #cbd3da;
    white-space: nowrap;
}

.pickup-parts-table {
    min-width: 1500px;
}

.pickup-parts-table th,
.pickup-parts-table td {
    vertical-align: top;
}

.pickup-part-name {
    min-width: 280px;
    max-width: 430px;
    white-space: normal;
}

.pickup-article {
    display: inline-block;
    max-width: 180px;
    overflow-wrap: anywhere;
    font-size: 12px;
}

.pickup-supplier-summary {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.pickup-supplier-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    background: #fafbfc;
}

.pickup-supplier-card strong {
    font-size: 15px;
}

.pickup-supplier-card span {
    font-size: 13px;
}

@media (max-width: 760px) {
    .pickup-order-stats {
        grid-template-columns:
            repeat(2, minmax(130px, 1fr));
    }

    .pickup-supplier-summary {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   0.9.8.13 — SUPER ADMIN ANALYTICS
   ============================================================ */

.analytics-filter-panel {
    margin-bottom: 14px;
}

.analytics-filter-form {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 12px;
}

.analytics-filter-form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 180px;
}

.analytics-filter-form label span {
    font-size: 12px;
    font-weight: 800;
    color: #59636d;
}

.analytics-filter-form input[type="date"] {
    min-height: 42px;
}

.analytics-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.analytics-presets a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 11px;
    border: 1px solid #d8dde2;
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.analytics-period-title {
    margin: 4px 0 12px;
    font-size: 13px;
    color: #59636d;
}

.analytics-main-stats {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(170px, 1fr));
    gap: 12px;
    margin: 12px 0 18px;
}

.analytics-main-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 126px;
    padding: 16px;
    border: 1px solid #e0e5e9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .035);
}

.analytics-main-card span {
    color: #69737c;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.analytics-main-card strong {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.05;
}

.analytics-main-card small {
    margin-top: auto;
    color: #6b747c;
    font-size: 12px;
}

.analytics-margin-card {
    border-color: #bee2c9;
    background: #f6fff8;
}

.analytics-margin-card strong,
.analytics-positive {
    color: #17803d;
}

.analytics-table tfoot th {
    border-top: 2px solid #cbd3da;
    background: #f3f6f8;
    font-weight: 900;
    white-space: nowrap;
}

.analytics-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr);
    gap: 14px;
}

.analytics-note {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    color: #59636d;
    font-size: 13px;
}

@media (max-width: 1050px) {
    .analytics-main-stats {
        grid-template-columns:
            repeat(2, minmax(160px, 1fr));
    }

    .analytics-two-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .analytics-main-stats {
        grid-template-columns: 1fr;
    }

    .analytics-filter-form label {
        width: 100%;
        min-width: 0;
    }

    .analytics-filter-form .button {
        width: 100%;
    }
}


/* ============================================================
   0.9.9.0 — MOBILE-FIRST COMMUNITY HOME
   ============================================================ */

:root {
    --tl-accent: #6d45e5;
    --tl-accent-2: #1f72ff;
    --tl-soft: #f6f7fb;
    --tl-soft-purple: #f3efff;
    --tl-soft-blue: #eef5ff;
    --tl-card-shadow: 0 8px 28px rgba(25, 31, 45, .07);
}

.home-search-shell {
    margin: 8px 0 18px;
}

.home-search-intro {
    margin-bottom: 13px;
}

.home-kicker {
    margin-bottom: 5px;
    color: var(--tl-accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.home-search-intro h1 {
    margin: 0;
    color: #171a20;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.04;
}

.home-search-intro p {
    margin: 7px 0 0;
    color: #707881;
    font-size: 14px;
}

.home-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    width: 100%;
}

.home-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.home-search-icon {
    position: absolute;
    left: 14px;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #727b85;
    stroke-width: 1.8;
    pointer-events: none;
}

.home-search-form input {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 44px 0 43px;
    border: 1px solid #dfe3e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(25, 31, 45, .045);
    font-size: 15px;
    outline: none;
}

.home-search-form input:focus {
    border-color: #b5a4ef;
    box-shadow:
        0 0 0 3px rgba(109, 69, 229, .10),
        0 4px 18px rgba(25, 31, 45, .05);
}

.home-search-form > button {
    min-width: 105px;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tl-accent), var(--tl-accent-2));
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.home-search-clear {
    position: absolute;
    right: 10px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    color: #777f88;
    text-decoration: none;
    font-size: 25px;
    line-height: 1;
}

.mobile-search-label {
    display: none;
}

.verified-workspace,
.public-home-stack {
    margin-bottom: 24px;
}

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

.community-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e6e8ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--tl-card-shadow);
}

.community-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 10px;
}

.community-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.community-panel-title h2 {
    margin: 0;
    color: #181b21;
    font-size: 18px;
}

.community-panel-head p {
    max-width: 460px;
    margin: 5px 0 0;
    color: #737b84;
    font-size: 12px;
    line-height: 1.4;
}

.community-icon-bubble {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    background: var(--tl-soft-purple);
    color: var(--tl-accent);
    font-size: 16px;
    font-weight: 900;
}

.community-panel-link {
    flex: 0 0 auto;
    padding: 6px 0;
    color: var(--tl-accent-2);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.community-message-list {
    display: grid;
    gap: 2px;
    max-height: 330px;
    overflow-y: auto;
    padding: 2px 10px 8px;
    scrollbar-width: thin;
}

.community-message {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 9px 7px;
    border-radius: 12px;
}

.community-message:hover {
    background: #f8f9fb;
}

.community-message.is-mine {
    background: #f5f2ff;
}

.community-avatar {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background:
        linear-gradient(135deg, #ebe4ff, #d9e8ff);
    color: #5b39c6;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.community-message-body {
    min-width: 0;
}

.community-message-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.community-message-meta strong {
    min-width: 0;
    overflow: hidden;
    color: #22252b;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-message-meta time {
    flex: 0 0 auto;
    color: #959ca4;
    font-size: 10px;
}

.community-message-place {
    margin-bottom: 3px;
    overflow: hidden;
    color: #8a929b;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-message-text {
    color: #42474f;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.community-empty {
    padding: 22px 14px;
    color: #8a929b;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.community-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #edf0f3;
    background: #fbfcfd;
}

.community-composer textarea {
    width: 100%;
    min-height: 42px;
    max-height: 110px;
    padding: 11px 13px;
    resize: vertical;
    border: 1px solid #dfe3e8;
    border-radius: 13px;
    background: #fff;
    font: inherit;
    font-size: 12px;
    outline: none;
}

.community-composer textarea:focus {
    border-color: #b8a8ee;
}

.community-composer button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    align-self: end;
    padding: 0;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--tl-accent), var(--tl-accent-2));
    color: #fff;
    cursor: pointer;
}

.community-composer button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lost-device-preview-list {
    display: grid;
    gap: 2px;
    padding: 2px 9px 7px;
}

.lost-device-preview {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 9px 7px;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
}

.lost-device-preview:hover {
    background: #f8f9fb;
}

.lost-device-thumb {
    display: grid;
    width: 44px;
    height: 54px;
    place-items: center;
    border-radius: 10px;
    background:
        linear-gradient(145deg, #f0f1f4, #e1e4e9);
    color: #737b84;
    font-size: 12px;
    font-weight: 900;
}

.lost-device-thumb.large {
    width: 56px;
    height: 70px;
    border-radius: 13px;
    font-size: 14px;
}

.lost-device-preview-main {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.lost-device-preview-main strong {
    overflow: hidden;
    color: #25282e;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lost-device-preview-main span {
    overflow: hidden;
    color: #777f88;
    font-size: 10.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lost-device-arrow {
    color: #a5acb3;
    font-size: 24px;
}

.community-secondary-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 4px 10px 10px;
    padding: 11px 12px;
    border-radius: 12px;
    background: #f4f7ff;
    color: #2767c7;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.lost-report-promo {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) minmax(280px, .75fr);
    gap: 14px;
    align-items: start;
    padding: 18px;
    border: 1px solid #f0dfae;
    border-radius: 18px;
    background:
        linear-gradient(135deg, #fff9e9 0%, #fff5d8 100%);
    box-shadow: 0 7px 22px rgba(96, 69, 15, .05);
}

.lost-report-promo-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: #fff;
    color: #8e6819;
    font-size: 25px;
    font-weight: 900;
}

.lost-report-promo-copy h2 {
    margin: 0;
    color: #29251e;
    font-size: 22px;
}

.lost-report-promo-copy p {
    margin: 7px 0 0;
    color: #6f654f;
    font-size: 13px;
    line-height: 1.45;
}

.lost-inline-report {
    min-width: 0;
}

.lost-inline-report > summary {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--tl-accent), var(--tl-accent-2));
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    list-style: none;
    text-align: center;
}

.lost-inline-report > summary::-webkit-details-marker {
    display: none;
}

.lost-inline-report[open] > summary {
    margin-bottom: 10px;
}

.lost-report-form {
    display: grid;
    gap: 12px;
    max-width: 760px;
}

.lost-report-form.compact {
    gap: 9px;
}

.lost-report-form label {
    display: grid;
    gap: 5px;
}

.lost-report-form label > span {
    color: #505861;
    font-size: 12px;
    font-weight: 800;
}

.lost-report-form label > small {
    color: #7c858e;
    font-size: 11px;
}

.lost-report-form input,
.lost-report-form select,
.lost-report-form textarea {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #dfe3e7;
    border-radius: 11px;
    background: #fff;
    font: inherit;
    font-size: 13px;
}

.lost-report-form textarea {
    min-height: 90px;
    resize: vertical;
}

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

.lost-extra-fields {
    padding: 9px 10px;
    border: 1px solid #eadfbf;
    border-radius: 11px;
    background: rgba(255, 255, 255, .5);
}

.lost-extra-fields > summary {
    cursor: pointer;
    color: #705b23;
    font-size: 12px;
    font-weight: 900;
}

.lost-extra-fields[open] {
    display: grid;
    gap: 9px;
}

.lost-report-form button,
.lost-report-submit {
    min-height: 46px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tl-accent), var(--tl-accent-2));
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.lost-report-auth-actions {
    display: grid;
    gap: 6px;
    align-content: center;
}

.lost-report-auth-actions .button {
    width: 100%;
    text-align: center;
}

.text-button {
    color: #5d6570;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.public-showcase {
    margin-top: 18px;
}

.showcase-login-button {
    display: grid;
    min-height: 40px;
    place-items: center;
    margin-top: auto;
    border-radius: 10px;
    background: #f1f4f8;
    color: #303741;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.search-results-section {
    padding-bottom: 6px;
}

.search-empty-mobile {
    margin-top: 12px;
}

/* ---- full community pages ---- */

.mobile-page-shell {
    max-width: 980px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.mobile-page-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.mobile-page-head > div {
    min-width: 0;
    flex: 1;
}

.mobile-page-head h1 {
    margin: 0;
    font-size: clamp(24px, 4vw, 34px);
}

.mobile-page-back {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    background: #fff;
    color: #252930;
    font-size: 28px;
    text-decoration: none;
}

.verified-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf8f0;
    color: #24713b;
    font-size: 10px;
    font-weight: 900;
}

.full-chat-list {
    display: grid;
    gap: 4px;
    height: min(64vh, 650px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #e3e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--tl-card-shadow);
}

.full-chat-message {
    max-width: 78%;
}

.full-chat-message.is-mine {
    margin-left: auto;
}

.full-chat-composer {
    position: sticky;
    bottom: 10px;
    margin-top: 10px;
    border: 1px solid #e0e4e8;
    border-radius: 16px;
    box-shadow: 0 9px 28px rgba(25, 31, 45, .12);
}

.lost-found-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin-bottom: 14px;
}

.lost-found-search input {
    min-width: 0;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    background: #fff;
}

.lost-found-search button {
    min-width: 100px;
    border: 0;
    border-radius: 12px;
    background: #242931;
    color: #fff;
    font-weight: 900;
}

.lost-found-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lost-device-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid #e3e7eb;
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--tl-card-shadow);
}

.lost-device-card-top {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
}

.lost-device-card-title {
    min-width: 0;
}

.lost-device-card-title h2 {
    margin: 4px 0 2px;
    font-size: 17px;
    line-height: 1.2;
}

.lost-device-type {
    color: #7c858e;
    font-size: 11px;
}

.lost-status-pill {
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 999px;
    background: #fff3d5;
    color: #85611b;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.lost-device-data {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.lost-device-data > div {
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 9px 10px;
    border-radius: 10px;
    background: #f6f7f9;
}

.lost-device-data span {
    color: #818992;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.lost-device-data strong {
    overflow-wrap: anywhere;
    color: #31363d;
    font-size: 12px;
}

.lost-device-description {
    margin: 10px 0 0;
    color: #626a73;
    font-size: 12px;
    line-height: 1.45;
}

.lost-device-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #edf0f2;
}

.lost-device-card-foot > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #9299a1;
    font-size: 10px;
}

.lost-device-card-foot form {
    margin: 0;
}

.lost-device-card-foot button {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 9px;
    font-size: 11px;
}

.lost-found-empty {
    grid-column: 1 / -1;
}

.lost-report-page {
    max-width: 760px;
}

.lost-report-explainer {
    margin-bottom: 14px;
    padding: 13px 14px;
    border-radius: 13px;
    background: #f3efff;
    color: #4f3e8d;
}

.lost-report-explainer p {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.45;
}

/* ---- mobile bottom navigation ---- */

.mobile-bottom-nav {
    display: none;
}

/* ============================================================
   UNIVERSAL MOBILE TABLE CARDS
   ============================================================ */

@media (max-width: 760px) {
    body {
        padding-bottom: 78px;
    }

    .container {
        width: min(100% - 22px, 1180px);
        margin-top: 12px;
    }

    .topbar {
        min-height: 58px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .brand {
        font-size: 22px;
    }

    .mobile-bottom-nav {
        position: fixed;
        z-index: 1800;
        right: 8px;
        bottom: max(8px, env(safe-area-inset-bottom));
        left: 8px;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        min-height: 62px;
        padding: 6px 5px;
        border: 1px solid rgba(216, 221, 227, .94);
        border-radius: 19px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 10px 35px rgba(27, 33, 45, .18);
        backdrop-filter: blur(14px);
    }

    .mobile-bottom-item {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        padding: 4px 2px;
        border-radius: 12px;
        color: #6e7680;
        font-size: 9px;
        font-weight: 800;
        text-decoration: none;
    }

    .mobile-bottom-item:active {
        background: #f2f4f8;
    }

    .mobile-bottom-item svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .home-search-shell {
        margin-top: 2px;
    }

    .home-search-intro {
        margin-bottom: 10px;
        padding: 0 2px;
    }

    .home-search-intro h1 {
        font-size: 27px;
    }

    .home-search-intro p {
        font-size: 12px;
    }

    .home-search-form {
        grid-template-columns: minmax(0, 1fr) 72px;
        gap: 7px;
    }

    .home-search-form input,
    .home-search-form > button {
        height: 48px;
    }

    .home-search-form input {
        padding-left: 40px;
        font-size: 13px;
    }

    .home-search-form > button {
        min-width: 0;
        padding: 0 8px;
        border-radius: 13px;
        font-size: 11px;
    }

    .desktop-search-label {
        display: none;
    }

    .mobile-search-label {
        display: inline;
    }

    .community-home-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .community-panel {
        border-radius: 16px;
    }

    .community-panel-head {
        padding: 13px 13px 8px;
    }

    .community-panel-title h2 {
        font-size: 16px;
    }

    .community-panel-head p {
        font-size: 11px;
    }

    .community-message-list {
        max-height: 280px;
    }

    .community-composer {
        padding: 8px;
    }

    .lost-report-promo {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
        padding: 13px;
        border-radius: 16px;
    }

    .lost-report-promo-icon {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .lost-report-promo-copy h2 {
        font-size: 18px;
    }

    .lost-report-promo-copy p {
        font-size: 11px;
    }

    .lost-inline-report,
    .lost-report-auth-actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .lost-form-two {
        grid-template-columns: 1fr;
    }

    .showcase-heading {
        margin-bottom: 9px;
    }

    .showcase-heading h2 {
        font-size: 18px;
    }

    .showcase-heading p {
        font-size: 11px;
    }

    .showcase-card {
        border-radius: 13px;
    }

    .showcase-card-media {
        aspect-ratio: 1 / 1;
    }

    .showcase-card-body {
        gap: 6px;
        padding: 9px;
    }

    .showcase-card-body .badge {
        font-size: 9px;
        padding: 4px 6px;
    }

    .showcase-card-body h3 {
        display: -webkit-box;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.25;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .showcase-location {
        font-size: 10px;
    }

    .showcase-price {
        font-size: 17px;
    }

    .showcase-cart-form button,
    .showcase-login-button {
        min-height: 38px;
        font-size: 10px;
    }

    .mobile-page-head {
        margin-top: 3px;
    }

    .mobile-page-head h1 {
        font-size: 24px;
    }

    .verified-pill {
        display: none;
    }

    .full-chat-list {
        height: calc(100dvh - 245px);
        min-height: 360px;
        padding: 7px;
        border-radius: 15px;
    }

    .full-chat-message {
        max-width: 94%;
    }

    .lost-found-search {
        grid-template-columns: 1fr;
    }

    .lost-found-search button {
        min-height: 42px;
    }

    .lost-found-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .lost-device-card {
        padding: 12px;
        border-radius: 14px;
    }

    .lost-device-data {
        grid-template-columns: 1fr 1fr;
    }

    .lost-report-form {
        gap: 10px;
    }

    /*
     * If a regular table has been marked by the global JS adapter,
     * turn every row into a readable vertical card. This removes the
     * "find the same row while swiping sideways" problem on admin pages.
     */
    .tablewrap:has(.auto-mobile-table) {
        overflow: visible !important;
    }

    .auto-mobile-table {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .auto-mobile-table thead {
        display: none !important;
    }

    .auto-mobile-table tbody {
        display: grid !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .auto-mobile-table tbody tr {
        display: grid !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        border: 1px solid #e1e5e9 !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 4px 16px rgba(25, 31, 45, .04) !important;
    }

    .auto-mobile-table tbody td {
        display: grid !important;
        grid-template-columns: minmax(92px, 38%) minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: start !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 9px 11px !important;
        border: 0 !important;
        border-bottom: 1px solid #eef0f2 !important;
        white-space: normal !important;
        text-align: left !important;
        overflow-wrap: anywhere !important;
    }

    .auto-mobile-table tbody td:last-child {
        border-bottom: 0 !important;
    }

    .auto-mobile-table tbody td::before {
        content: attr(data-label);
        color: #818992;
        font-size: 9px;
        font-weight: 900;
        letter-spacing: .02em;
        line-height: 1.35;
        text-transform: uppercase;
    }

    .auto-mobile-table tbody td > form,
    .auto-mobile-table tbody td > a.button,
    .auto-mobile-table tbody td > button {
        max-width: 100%;
    }

    .auto-mobile-table tbody td button,
    .auto-mobile-table tbody td .button {
        min-height: 38px;
        white-space: normal;
    }

    .auto-mobile-table tfoot {
        display: block;
        margin-top: 9px;
        padding: 10px;
        border-radius: 12px;
        background: #f1f4f7;
    }

    .auto-mobile-table tfoot tr {
        display: flex;
        flex-wrap: wrap;
        gap: 7px 12px;
    }

    .auto-mobile-table tfoot th,
    .auto-mobile-table tfoot td {
        display: block;
        padding: 2px 0 !important;
        border: 0 !important;
        background: transparent !important;
        white-space: normal !important;
    }
}

@media (max-width: 390px) {
    .container {
        width: calc(100% - 16px);
    }

    .mobile-bottom-nav {
        right: 5px;
        left: 5px;
    }

    .mobile-bottom-item {
        font-size: 8px;
    }

    .home-search-form {
        grid-template-columns: minmax(0, 1fr) 64px;
    }

    .lost-device-data {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 761px) and (max-width: 1000px) {
    .community-home-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lost-report-promo {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .lost-inline-report,
    .lost-report-auth-actions {
        grid-column: 1 / -1;
    }
}


/* ============================================================
   0.9.9.1 — configurable mobile bottom navigation
   ============================================================ */

.mobile-bottom-item.is-active {
    color: #5b46d8;
    background: #f3f0ff;
}

.mobile-menu-config-list {
    display: grid;
    gap: 14px;
}

.mobile-menu-config-card {
    overflow: hidden;
}

.mobile-menu-config-title {
    margin-bottom: 12px;
}

.mobile-menu-config-preview {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 14px;
    padding: 7px;
    border: 1px solid #dde2e7;
    border-radius: 17px;
    background: #f8f9fb;
}

.mobile-menu-preview-item {
    min-width: 0;
    padding: 8px 4px;
    border-radius: 11px;
    background: #fff;
    text-align: center;
    font-size: 10px;
}

.mobile-menu-preview-number {
    display: flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
    border-radius: 50%;
    background: #f0ecff;
    color: #5b46d8;
    font-weight: 900;
}

.mobile-menu-preview-item strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-menu-config-form {
    display: grid;
    gap: 8px;
}

.mobile-menu-slot-row {
    display: grid;
    grid-template-columns: 38px minmax(180px, .8fr) minmax(280px, 1.4fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #e4e8ec;
    border-radius: 12px;
    background: #fff;
}

.mobile-menu-slot-position {
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #17191c;
    color: #fff;
    font-weight: 900;
}

.mobile-menu-slot-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.mobile-menu-slot-copy small {
    color: #747d86;
    font-size: 11px;
}

.mobile-menu-slot-row select {
    width: 100%;
    min-width: 0;
}

.mobile-menu-config-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.mobile-menu-reset-one {
    margin-top: 8px;
    text-align: right;
}

.text-action-button {
    padding: 4px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #6a5bd2;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.mobile-menu-help-panel {
    margin-top: 14px;
}

.mobile-menu-help-panel h2 {
    margin-top: 0;
}

.mobile-menu-help-panel p {
    margin-bottom: 0;
    color: #626c75;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .mobile-menu-admin-header {
        gap: 12px;
        align-items: stretch;
    }

    .mobile-menu-admin-header > form,
    .mobile-menu-admin-header > form .button {
        width: 100%;
    }

    .mobile-menu-config-preview {
        position: sticky;
        top: 64px;
        z-index: 4;
        box-shadow: 0 5px 16px rgba(25, 29, 38, .08);
    }

    .mobile-menu-slot-row {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 8px;
        padding: 9px;
    }

    .mobile-menu-slot-row select {
        grid-column: 1 / -1;
        min-height: 44px;
        font-size: 13px;
    }

    .mobile-menu-slot-copy strong {
        font-size: 13px;
    }

    .mobile-menu-config-actions .button {
        width: 100%;
        min-height: 44px;
    }

    .mobile-menu-reset-one {
        text-align: center;
    }
}
