:root {
    color-scheme: light;
    --bg: #e6d7c4;
    --panel: #f5ece0;
    --ink: #354024;
    --muted: #677256;
    --line: rgba(53, 64, 36, 0.24);
    --brand: #354024;
    --brand-dark: #242d17;
    --accent: #8c6f43;
    --danger: #8e332b;
    --shadow: 0 18px 42px rgba(53, 64, 36, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top right, rgba(244, 227, 199, 0.85) 0%, transparent 36%),
        linear-gradient(180deg, #f4e3c7 0%, var(--bg) 100%);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
}

body.packliste-site .site-header {
    background: #f4e3c7;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
}

body.packliste-site .main-nav {
    align-items: center;
}

body.packliste-site .nav-link {
    padding-top: 0.32rem;
    padding-bottom: 0.26rem;
    text-decoration: none;
}

body.packliste-site .nav-link::before {
    inset: 0;
}

body.packliste-site .nav-link::after {
    bottom: 0;
}

button,
input {
    font: inherit;
    min-width: 0;
}

button {
    border: 0;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

[hidden] {
    display: none !important;
}

button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(53, 64, 36, 0.28);
    outline-offset: 2px;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px clamp(18px, 4vw, 48px) 18px;
}

.app-header h1,
.section-head h2,
.mini-head h3 {
    margin: 0;
}

.app-header h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 0.95;
}

.eyebrow {
    margin: 0 0 6px;
    color: var(--brand-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.header-actions,
.mini-head,
.section-head,
.section-actions,
.item-row,
.summary-row {
    display: flex;
    align-items: center;
}

.header-actions {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.menu-button,
.mobile-only {
    display: none;
}

.menu-button {
    width: 44px;
    height: 42px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--brand);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: #fffaf3;
}

.primary,
.secondary,
.ghost,
.outline,
.preset-pill {
    min-height: 42px;
    border-radius: 8px;
    padding: 0 16px;
    font-weight: 750;
}

.primary {
    background: var(--brand);
    color: #fff;
}

.primary:hover,
.primary:focus-visible {
    background: var(--brand-dark);
    box-shadow: 0 8px 18px rgba(53, 64, 36, 0.18);
    transform: translateY(-1px);
}

.secondary,
.outline {
    background: #fffaf3;
    color: var(--brand-dark);
    border: 1px solid var(--line);
}

.secondary:hover,
.secondary:focus-visible,
.outline:hover,
.outline:focus-visible {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--bg);
    box-shadow: 0 7px 16px rgba(53, 64, 36, 0.12);
    transform: translateY(-1px);
}

.ghost {
    background: transparent;
    color: var(--brand-dark);
}

.ghost:hover,
.ghost:focus-visible {
    background: var(--brand);
    color: var(--bg);
}

.ghost.danger:hover,
.ghost.danger:focus-visible {
    background: rgba(142, 51, 43, 0.1);
    color: var(--danger);
}

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

.outline.danger {
    width: 100%;
    color: var(--danger);
    border-color: rgba(142, 51, 43, 0.32);
}

.outline.danger:hover,
.outline.danger:focus-visible {
    background: #6f1d2a;
    border-color: #6f1d2a;
    color: #fff;
}

.app-shell {
    padding: 0 clamp(18px, 4vw, 48px) 40px;
}

.packliste-content {
    padding: calc(var(--header-height, 86px) + 22px) clamp(18px, 4vw, 48px) 40px;
}

.packliste-title-block {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.packliste-title-block h1 {
    margin: 0;
    font-size: clamp(1.5rem, 3.2vw, 2.3rem);
    line-height: 1.1;
}

.packliste-title-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.packliste-title-actions button {
    white-space: nowrap;
}

.panel {
    background: var(--panel);
    border: 1px solid rgba(53, 64, 36, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.trip-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
    gap: 16px;
    align-items: end;
    padding: 18px;
    margin-bottom: 18px;
}

.workspace {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
}

.category-panel {
    position: sticky;
    top: 16px;
}

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

.custom-category-form {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
    background: #fffaf3;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.custom-category-form label {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 750;
}

.custom-category-form div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
}

.custom-category-form input {
    min-width: 0;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 10px;
}

.category-tab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    background: #fffaf3;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    text-align: left;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.category-tab[aria-selected="true"] {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.category-tab:not([aria-selected="true"]):hover,
.category-tab:not([aria-selected="true"]):focus-visible {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--bg);
    box-shadow: 0 8px 18px rgba(53, 64, 36, 0.12);
    transform: translateX(3px);
}

.category-tab:not([aria-selected="true"]):hover .category-count,
.category-tab:not([aria-selected="true"]):focus-visible .category-count {
    background: rgba(230, 215, 196, 0.24);
    color: var(--bg);
}

.category-tab[aria-selected="true"]:hover,
.category-tab[aria-selected="true"]:focus-visible {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

.category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
    text-align: center;
    font-size: 0.82rem;
    font-variant-numeric: lining-nums tabular-nums;
    line-height: 1;
}

.category-tab:not([aria-selected="true"]) .category-count {
    background: rgba(53, 64, 36, 0.1);
    color: var(--muted);
}

.editor-panel,
.summary-panel {
    padding: 18px;
}

.section-head {
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-actions {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.section-head.compact {
    margin-bottom: 12px;
}

.add-form {
    display: grid;
    grid-template-columns: minmax(180px, 1.2fr) minmax(80px, 90px) minmax(160px, 0.9fr) minmax(130px, auto);
    gap: 12px;
    align-items: end;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.add-form > * {
    min-width: 0;
}

.field-group {
    display: grid;
    gap: 7px;
}

.field-group label {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.field-group input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--ink);
    background: #fffaf3;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.field-group input:hover {
    border-color: rgba(53, 64, 36, 0.38);
    background: #fffdf8;
}

.preset-block,
.list-block {
    margin-top: 18px;
}

.mini-head {
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.mini-head h3 {
    font-size: 1rem;
}

.mini-head span {
    color: var(--muted);
    font-size: 0.9rem;
}

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

.preset-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fffaf3;
    border: 1px solid var(--line);
    color: var(--ink);
}

.preset-pill:hover,
.preset-pill:focus-visible {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--bg);
    box-shadow: 0 8px 18px rgba(53, 64, 36, 0.14);
    transform: translateY(-1px);
}

.preset-pill.added {
    color: var(--muted);
    background: rgba(53, 64, 36, 0.09);
}

.preset-pill.added:hover,
.preset-pill.added:focus-visible {
    color: var(--bg);
    background: var(--brand);
}

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

.all-overview {
    display: grid;
    gap: 18px;
}

.all-category-section {
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(53, 64, 36, 0.14);
    border-radius: 8px;
    background: rgba(53, 64, 36, 0.055);
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.all-category-section:last-child {
    border-bottom: 1px solid rgba(53, 64, 36, 0.14);
}

.all-category-section:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--bg);
    box-shadow: 0 10px 22px rgba(53, 64, 36, 0.16);
}

.all-category-heading {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(53, 64, 36, 0.1);
    color: var(--brand-dark);
    font-size: 1.02rem;
    font-weight: 800;
    text-align: left;
}

.all-category-heading:hover,
.all-category-heading:focus-visible {
    background: var(--brand);
    color: var(--bg);
    text-decoration: none;
}

.all-category-section:hover .all-category-heading {
    background: rgba(230, 215, 196, 0.16);
    color: var(--bg);
}

.all-category-section:hover .all-qty,
.all-category-section:hover .all-box,
.all-category-section:hover .all-empty-row {
    color: var(--bg);
}

.all-item-row {
    display: grid;
    grid-template-columns: 24px 48px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    color: var(--ink);
}

.all-checkbox {
    width: 20px;
    height: 20px;
    margin: 0;
}

.all-qty {
    color: var(--brand-dark);
    font-weight: 750;
    font-variant-numeric: lining-nums tabular-nums;
}

.all-name {
    overflow-wrap: anywhere;
}

.all-empty-row {
    color: var(--muted);
    font-style: italic;
}

.empty-state {
    padding: 22px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
}

.item-row {
    gap: 10px;
    min-height: 58px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf3;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.item-row:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--bg);
    box-shadow: 0 10px 22px rgba(53, 64, 36, 0.16);
    transform: translateY(-1px);
}

.item-row:hover .item-note,
.item-row:hover .qty-display,
.item-row.done:hover .item-title,
.item-row.done:hover .item-note {
    color: rgba(230, 215, 196, 0.86);
}

.item-row:hover .item-title-button:hover,
.item-row:hover .item-title-button:focus-visible {
    color: #fffaf3;
}

.item-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.item-main {
    min-width: 0;
    flex: 1;
}

.note-toggle {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(53, 64, 36, 0.1);
    color: var(--brand-dark);
    font-size: 1.05rem;
    font-weight: 800;
}

.note-toggle:hover,
.note-toggle:focus-visible,
.note-save:hover,
.note-save:focus-visible {
    background: var(--brand);
    color: var(--bg);
    box-shadow: 0 6px 14px rgba(53, 64, 36, 0.1);
}

.note-edit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: min(360px, 100%);
}

.note-edit[hidden] {
    display: none;
}

.note-input {
    min-width: 0;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 10px;
}

.note-save {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(53, 64, 36, 0.1);
    color: var(--brand-dark);
    font-weight: 750;
}

.item-title {
    display: block;
    overflow-wrap: anywhere;
    font-weight: 760;
}

.item-title-button {
    width: 100%;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.item-title-button:hover,
.item-title-button:focus-visible {
    color: var(--accent);
    text-decoration: underline;
}

.name-edit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    flex: 1 1 360px;
    gap: 8px;
    width: min(360px, 100%);
}

.name-edit[hidden] {
    display: none;
}

.name-input {
    min-width: 0;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 10px;
}

.item-note {
    color: var(--muted);
    font-size: 0.9rem;
}

.item-row.done .item-title,
.item-row.done .item-note {
    text-decoration: line-through;
    color: var(--muted);
}

.qty-input {
    width: 70px;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 8px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.qty-input:hover,
.note-input:hover,
.name-input:hover {
    border-color: rgba(53, 64, 36, 0.38);
    background: #fffdf8;
}

.qty-display {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 750;
}

.icon-button {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(142, 51, 43, 0.1);
    color: var(--danger);
    font-size: 1.2rem;
}

.icon-button:hover,
.icon-button:focus-visible {
    background: rgba(142, 51, 43, 0.18);
    box-shadow: 0 6px 14px rgba(142, 51, 43, 0.12);
    transform: translateY(-1px);
}

.summary-list {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.summary-row {
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.summary-row strong {
    overflow-wrap: anywhere;
}

.summary-row span {
    color: var(--muted);
}

body.check-mode .trip-panel,
body.check-mode .mobile-edit-button,
body.check-mode .summary-panel,
body.check-mode .section-actions,
body.check-mode .custom-category-form,
body.check-mode .add-form,
body.check-mode .preset-block,
body.check-mode .note-toggle,
body.check-mode .icon-button,
body.check-mode .note-edit,
body.check-mode .name-edit,
body.check-mode .mobile-bottom-bar,
body.check-mode #showTripButton,
body.check-mode #showSummaryButton,
body.check-mode #exportButton {
    display: none !important;
}

body.all-category .section-actions,
body.all-category .add-form,
body.all-category .preset-block {
    display: none !important;
}

body.check-mode .workspace {
    grid-template-columns: 220px minmax(0, 1fr);
}

body.check-mode .item-title-button {
    cursor: default;
    text-decoration: none;
}

@media (max-width: 920px) {
    .packliste-title-block {
        display: block;
    }

    .packliste-title-actions {
        display: none;
    }
}

@media (max-width: 1340px) {
    .add-form {
        grid-template-columns: minmax(180px, 1fr) minmax(140px, 170px);
    }

    .add-form .notes {
        grid-column: 1 / 2;
    }

    .add-form .add-button {
        grid-column: 2 / 3;
        width: 100%;
    }
}

@media (max-width: 1080px) {
    .workspace {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .summary-panel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
    }

    .app-header,
    .trip-panel,
    .workspace {
        grid-template-columns: 1fr;
    }

    .app-header {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 30;
        padding: 14px 16px;
        background: rgba(244, 227, 199, 0.96);
        border-bottom: 1px solid var(--line);
    }

    .app-header h1 {
        font-size: 2rem;
    }

    .menu-button,
    .mobile-only {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header-actions {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 16px;
        left: 16px;
        z-index: 40;
        padding: 12px;
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    body.menu-open .header-actions {
        display: grid;
        gap: 8px;
    }

    .header-actions button {
        width: 100%;
    }

    .app-shell {
        width: 100%;
        max-width: 100%;
        padding: 12px 12px 96px;
        overflow-x: hidden;
    }

    .packliste-content {
        width: 100%;
        max-width: 100%;
        padding: calc(var(--header-height, 86px) + 12px) 12px 96px;
        overflow-x: hidden;
    }

    .packliste-title-block {
        margin-bottom: 12px;
    }

    .packliste-title-block h1 {
        font-size: 2rem;
    }

    .trip-panel {
        align-items: stretch;
        margin-bottom: 12px;
        padding: 14px;
    }

    .mobile-edit-button {
        width: 100%;
        min-height: 48px;
        margin-bottom: 12px;
    }

    body.mobile-view-home .workspace,
    body.mobile-view-home .mobile-bottom-bar {
        display: none;
    }

    body.mobile-view-categories .trip-panel,
    body.mobile-view-categories .mobile-edit-button,
    body.mobile-view-categories .editor-panel,
    body.mobile-view-categories .summary-panel,
    body.mobile-view-categories .mobile-bottom-bar {
        display: none;
    }

    body.mobile-view-editor .trip-panel,
    body.mobile-view-editor .mobile-edit-button,
    body.mobile-view-editor .category-panel,
    body.mobile-view-editor .summary-panel {
        display: none;
    }

    body.mobile-view-summary .trip-panel,
    body.mobile-view-summary .mobile-edit-button,
    body.mobile-view-summary .category-panel,
    body.mobile-view-summary .editor-panel,
    body.mobile-view-summary .mobile-bottom-bar {
        display: none;
    }

    body.mobile-view-summary .summary-panel {
        display: block;
    }

    .category-panel {
        position: static;
        display: grid;
        gap: 10px;
        width: 100%;
    }

    .category-tabs {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    .category-tab {
        width: 100%;
        min-height: 44px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .custom-category-form {
        display: grid;
        margin-top: 0;
    }

    .section-actions {
        display: none;
    }

    .add-form {
        display: none;
        grid-template-columns: 1fr;
        padding: 12px;
        margin-bottom: 4px;
        background: #fffaf3;
        border: 1px solid var(--line);
        border-radius: 8px;
    }

    body.mobile-tool-add .add-form {
        display: grid;
    }

    .add-button {
        width: 100%;
    }

    .preset-block {
        display: none;
        margin-top: 0;
        max-height: 46vh;
        overflow-y: auto;
        padding: 12px;
        background: #fffaf3;
        border: 1px solid var(--line);
        border-radius: 8px;
    }

    body.mobile-tool-presets .preset-block {
        display: block;
    }

    .preset-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    .preset-pill {
        width: 100%;
        justify-content: flex-start;
    }

    .editor-panel,
    .summary-panel {
        width: 100%;
        max-width: 100%;
        padding: 14px;
    }

    .section-head {
        align-items: flex-start;
        margin-bottom: 12px;
    }

    .item-row {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr) 32px 42px;
        gap: 5px;
        align-items: start;
        width: 100%;
        padding: 10px 6px;
    }

    .item-row > input[type="checkbox"] {
        grid-column: 1;
        grid-row: 1;
    }

    .item-main {
        grid-column: 2;
        grid-row: 1 / span 2;
        min-width: 0;
        padding-top: 2px;
    }

    .qty-input {
        grid-column: 4;
        grid-row: 1;
        justify-self: end;
    }

    .qty-display {
        grid-column: 4;
        grid-row: 1;
        justify-self: end;
    }

    .note-toggle {
        grid-column: 3;
        grid-row: 2;
    }

    .icon-button {
        grid-column: 4;
        grid-row: 2;
        justify-self: end;
    }

    .note-edit,
    .name-edit {
        grid-column: 1 / -1;
        grid-row: 3;
        width: 100%;
    }

    .note-toggle,
    .icon-button {
        width: 32px;
        height: 32px;
    }

    .qty-input {
        width: 42px;
        min-height: 32px;
        padding: 0 4px;
        text-align: center;
    }

    body.check-mode .workspace {
        grid-template-columns: 1fr;
    }

    body.check-mode.mobile-view-categories .category-panel,
    body.check-mode.mobile-view-editor .editor-panel {
        display: grid;
    }

    body.check-mode.mobile-view-categories .editor-panel,
    body.check-mode.mobile-view-editor .category-panel {
        display: none;
    }

    .mobile-bottom-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        display: none;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(244, 227, 199, 0.98);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(53, 64, 36, 0.12);
    }

    body.mobile-view-editor .mobile-bottom-bar {
        display: grid;
    }

    body.all-category .mobile-bottom-bar {
        grid-template-columns: 1fr;
    }

    body.all-category #mobileAddButton,
    body.all-category #mobilePresetsButton {
        display: none;
    }

    .all-overview {
        gap: 14px;
    }

    .all-category-section {
        gap: 8px;
        padding: 8px;
    }

    .all-item-row {
        grid-template-columns: 24px 42px minmax(0, 1fr);
        gap: 8px;
        font-size: 0.95rem;
    }

    .mobile-bottom-bar button {
        min-height: 44px;
        padding: 0 8px;
        font-size: 0.9rem;
    }
}
