:root {
    --bg: #f5f6f8;
    --panel: #ffffff;
    --border: #e1e4ea;
    --text: #1c2430;
    --text-muted: #6b7280;
    --accent: #1a5fb4;
    --accent-dark: #144a8f;
    --danger: #d64545;
    --radius: 10px;
    --shadow: 0 2px 10px rgba(20, 30, 50, 0.06);

    /* Палітра для підсвітки гілок дерева категорій (13 кольорів —
       по одному на кожну кореневу категорію, успадковують нащадки).
       Підібрані досить темними/насиченими для читабельного білого тексту. */
    --cat-c1: #dc2626;
    --cat-c2: #d97706;
    --cat-c3: #16a34a;
    --cat-c4: #0d9488;
    --cat-c5: #4f46e5;
    --cat-c6: #9333ea;
    --cat-c7: #db2777;
    --cat-c8: #ea580c;
    --cat-c9: #059669;
    --cat-c10: #0891b2;
    --cat-c11: #475569;
    --cat-c12: #7c3aed;
    --cat-c13: #65a30d;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Courier New", Courier, monospace;
    background: var(--bg);
    color: var(--text);
    line-height: 1.4;
}

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

/* ---------- Top bar ---------- */

.topbar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 24px;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.logo {
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}

.brand-lockup {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 2px;
}

.brand-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    font-size: 2em;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.brand-phones a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #1769aa;
    white-space: nowrap;
}
.brand-phones a:hover { text-decoration: underline; }

.sidebar-toggle {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    font-size: 16px;
    cursor: pointer;
    color: var(--text);
    transition: background .15s;
}

.sidebar-toggle:hover { background: #eef2f8; }

.search-wrap {
    flex: 1;
    max-width: 520px;
}

#search-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
    transition: border-color .15s;
}

#search-input:focus {
    border-color: var(--accent);
}

.cart-toggle {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.cart-toggle:hover { background: var(--accent-dark); }

.auth-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-nav-link {
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid var(--border);
    white-space: nowrap;
}

.auth-nav-link:hover { background: #eef2f8; }

.auth-nav-logout {
    color: var(--danger);
    border-color: var(--danger);
}

.auth-nav-logout:hover { background: #fdeeee; }

.badge {
    background: rgba(255,255,255,.25);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    min-width: 20px;
    text-align: center;
}

/* ---------- Layout ---------- */

.layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    align-items: start;
}

/* ---------- Sidebar / categories ---------- */

.sidebar {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    position: sticky;
    top: 84px;
}

.sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.sidebar-head h3 {
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
}

.sidebar-collapse-btn {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--panel);
    font-size: 11px;
    cursor: pointer;
    color: var(--text-muted);
    flex-shrink: 0;
}

.sidebar-collapse-btn:hover { background: #eef2f8; }

/* Панель категорій згорнута: ховаємо її й розтягуємо контент на всю ширину */
html.sidebar-collapsed .sidebar {
    display: none;
}

html.sidebar-collapsed .layout {
    grid-template-columns: 1fr;
}

/* ---------- Facets (фільтри за характеристиками) ---------- */

.facets-panel:empty {
    display: none;
}

.facets-panel:not(:empty) {
    margin-top: 16px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.brand-panel:empty {
    display: none;
}

.brand-panel:not(:empty) {
    margin-top: 16px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.stock-panel:empty {
    display: none;
}

.stock-option {
    padding: 6px 2px;
    font-weight: 600;
}

.facets-head {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.facets-reset {
    display: block;
    width: 100%;
    padding: 6px 8px;
    margin-bottom: 10px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    background: none;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.facets-reset:hover { background: #eef2f8; }

.facet-group {
    margin-bottom: 10px;
}

.facet-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 6px 2px;
    border: none;
    background: none;
    color: var(--text);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.facet-chevron {
    font-size: 10px;
    transition: transform .15s ease;
    color: var(--text-muted);
}

.facet-group-toggle.collapsed .facet-chevron {
    transform: rotate(-90deg);
}

.facet-group-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 180px;
    overflow-y: auto;
    padding: 2px 2px 4px;
}

.facet-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 2px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
}

.facet-option:hover { background: #eef2f8; }

.facet-checkbox {
    flex-shrink: 0;
    cursor: pointer;
}

.facet-option-value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text);
}

.facet-option-count {
    flex-shrink: 0;
    color: var(--text-muted);
    font-size: 11px;
}

.cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cat-children {
    padding-left: 14px;
    border-left: 1px solid var(--border);
    margin: 2px 0 6px 6px;
}

.cat-item { margin: 1px 0; }

.cat-item-row {
    display: flex;
    align-items: center;
    gap: 2px;
}

.cat-link {
    display: block;
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 13.5px;
    color: var(--text);
    transition: background .12s, color .12s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cat-link:hover { background: #eef2f8; }

.cat-link.active {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

.cat-list-root > .cat-item > .cat-item-row > .cat-link {
    font-weight: 600;
}

.cat-toggle {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: none;
    background: none;
    color: var(--text-muted);
    font-size: 11px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform .15s ease, background .12s;
}

.cat-toggle:hover { background: #eef2f8; }

.cat-toggle.open {
    transform: rotate(180deg);
}

/* ---------- Підсвітка гілок дерева категорій ---------- */
/* Кожна коренева категорія і всі її підкатегорії пофарбовані одним
   кольором з палітри, суцільним фоном на весь напис: коренева —
   насичений колір з білим текстом, підкатегорії — освітлений відтінок
   того ж кольору з темним текстом (щоб довгий список підкатегорій
   лишався читабельним). */

.cat-item-row:hover > .cat-link {
    filter: brightness(0.93);
}

.cat-list-root > .cat-item.cat-c1 > .cat-item-row > .cat-link:not(.active) { background: var(--cat-c1); color: #fff; }
.cat-list-root > .cat-item.cat-c2 > .cat-item-row > .cat-link:not(.active) { background: var(--cat-c2); color: #fff; }
.cat-list-root > .cat-item.cat-c3 > .cat-item-row > .cat-link:not(.active) { background: var(--cat-c3); color: #fff; }
.cat-list-root > .cat-item.cat-c4 > .cat-item-row > .cat-link:not(.active) { background: var(--cat-c4); color: #fff; }
.cat-list-root > .cat-item.cat-c5 > .cat-item-row > .cat-link:not(.active) { background: var(--cat-c5); color: #fff; }
.cat-list-root > .cat-item.cat-c6 > .cat-item-row > .cat-link:not(.active) { background: var(--cat-c6); color: #fff; }
.cat-list-root > .cat-item.cat-c7 > .cat-item-row > .cat-link:not(.active) { background: var(--cat-c7); color: #fff; }
.cat-list-root > .cat-item.cat-c8 > .cat-item-row > .cat-link:not(.active) { background: var(--cat-c8); color: #fff; }
.cat-list-root > .cat-item.cat-c9 > .cat-item-row > .cat-link:not(.active) { background: var(--cat-c9); color: #fff; }
.cat-list-root > .cat-item.cat-c10 > .cat-item-row > .cat-link:not(.active) { background: var(--cat-c10); color: #fff; }
.cat-list-root > .cat-item.cat-c11 > .cat-item-row > .cat-link:not(.active) { background: var(--cat-c11); color: #fff; }
.cat-list-root > .cat-item.cat-c12 > .cat-item-row > .cat-link:not(.active) { background: var(--cat-c12); color: #fff; }
.cat-list-root > .cat-item.cat-c13 > .cat-item-row > .cat-link:not(.active) { background: var(--cat-c13); color: #fff; }

.cat-children .cat-item.cat-c1 > .cat-item-row > .cat-link:not(.active) { background: color-mix(in srgb, var(--cat-c1) 20%, white); }
.cat-children .cat-item.cat-c2 > .cat-item-row > .cat-link:not(.active) { background: color-mix(in srgb, var(--cat-c2) 20%, white); }
.cat-children .cat-item.cat-c3 > .cat-item-row > .cat-link:not(.active) { background: color-mix(in srgb, var(--cat-c3) 20%, white); }
.cat-children .cat-item.cat-c4 > .cat-item-row > .cat-link:not(.active) { background: color-mix(in srgb, var(--cat-c4) 20%, white); }
.cat-children .cat-item.cat-c5 > .cat-item-row > .cat-link:not(.active) { background: color-mix(in srgb, var(--cat-c5) 20%, white); }
.cat-children .cat-item.cat-c6 > .cat-item-row > .cat-link:not(.active) { background: color-mix(in srgb, var(--cat-c6) 20%, white); }
.cat-children .cat-item.cat-c7 > .cat-item-row > .cat-link:not(.active) { background: color-mix(in srgb, var(--cat-c7) 20%, white); }
.cat-children .cat-item.cat-c8 > .cat-item-row > .cat-link:not(.active) { background: color-mix(in srgb, var(--cat-c8) 20%, white); }
.cat-children .cat-item.cat-c9 > .cat-item-row > .cat-link:not(.active) { background: color-mix(in srgb, var(--cat-c9) 20%, white); }
.cat-children .cat-item.cat-c10 > .cat-item-row > .cat-link:not(.active) { background: color-mix(in srgb, var(--cat-c10) 20%, white); }
.cat-children .cat-item.cat-c11 > .cat-item-row > .cat-link:not(.active) { background: color-mix(in srgb, var(--cat-c11) 20%, white); }
.cat-children .cat-item.cat-c12 > .cat-item-row > .cat-link:not(.active) { background: color-mix(in srgb, var(--cat-c12) 20%, white); }
.cat-children .cat-item.cat-c13 > .cat-item-row > .cat-link:not(.active) { background: color-mix(in srgb, var(--cat-c13) 20%, white); }

/* Активний вибір лишається суцільним акцентним фоном (:not(.active) вище
   не дає кольору гілки перебити білий текст активного стану). */

/* Кнопка-шеврон більше не потрібна — розгортання/згортання відбувається
   кліком по самому напису категорії (див. assets/app.js). */
.cat-toggle {
    display: none;
}

/* ---------- Content / product grid ---------- */

.content { min-width: 0; }

.content-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.active-filter {
    font-size: 14px;
    color: var(--text-muted);
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.product-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.product-image {
    height: 150px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.stock-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 2px 7px;
    border-radius: 999px;
    width: fit-content;
}

.stock-badge.stock-ok {
    background: #e5f6ea;
    color: #1a7d3a;
}

.stock-badge.stock-low {
    background: #fdf1de;
    color: #b3690a;
}

.stock-badge.stock-none {
    background: #f3f0f0;
    color: #8a8a8a;
}

.product-title,
.product-meta {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    min-height: 34px;
}

.product-code {
    font-size: 11px;
    color: var(--text-muted);
    font-family: "Courier New", Courier, monospace;
}

.product-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-dark);
    margin-top: auto;
}

.add-btn {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.specs-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 6px 2px;
    border: none;
    background: none;
    color: var(--accent);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.specs-toggle:hover { color: var(--accent-dark); }

.specs-chevron {
    display: inline-block;
    transition: transform .15s ease;
    font-size: 11px;
}

.specs-toggle.open .specs-chevron {
    transform: rotate(180deg);
}

.specs-panel {
    margin: 0 0 4px;
    border-top: 1px solid var(--border);
    padding-top: 8px;
}

.specs-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.specs-row {
    display: grid;
    grid-template-columns: minmax(90px, 45%) 1fr;
    gap: 6px;
    font-size: 11.5px;
    line-height: 1.35;
}

.specs-name {
    color: var(--text-muted);
}

.specs-value {
    color: var(--text);
    font-weight: 500;
}

.specs-empty {
    font-size: 12px;
    color: var(--text-muted);
    padding: 6px 0;
}

.add-btn:hover { background: var(--accent-dark); }

.add-btn:disabled {
    background: #c7ccd4;
    cursor: not-allowed;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 60px 0;
    font-size: 14px;
}

.load-more-wrap {
    text-align: center;
    margin-top: 20px;
}

.load-more {
    padding: 10px 24px;
    border: 1px solid var(--border);
    background: var(--panel);
    border-radius: var(--radius);
    font-size: 14px;
    cursor: pointer;
}

.load-more:hover { background: #eef2f8; }

/* ---------- Cart panel ---------- */

.cart-panel {
    position: fixed;
    top: 0;
    right: -380px;
    width: 360px;
    height: 100%;
    background: var(--panel);
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 24px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    transition: right .2s ease;
    z-index: 40;
}

.cart-panel.open { right: 0; }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}

.cart-header h3 { margin: 0; font-size: 16px; }

.cart-close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 8px 12px;
}

.cart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
    font-size: 14px;
}

.cart-item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 10px 6px;
    border-bottom: 1px solid var(--border);
}

.cart-item-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #f0f2f5;
    border-radius: 6px;
}

.cart-item-title {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-input {
    width: 48px;
    padding: 3px 4px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 12px;
    text-align: center;
}

.cart-item-subtotal {
    font-size: 12.5px;
    font-weight: 700;
    margin-top: 4px;
    color: var(--accent-dark);
}

.cart-remove {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--danger);
    cursor: pointer;
    line-height: 1;
    padding: 2px 4px;
}

.cart-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--border);
}

.cart-total {
    font-size: 15px;
    margin-bottom: 10px;
}

.cart-clear {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--danger);
    background: #fff;
    color: var(--danger);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.cart-clear:hover { background: #fdeeee; }

.checkout-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    box-sizing: border-box;
    transition: background .15s;
}

.checkout-btn:hover { background: var(--accent-dark); }

.checkout-btn.disabled {
    background: #c7ccd4;
    pointer-events: none;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 30, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 30;
}

.cart-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    .layout {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    .sidebar {
        position: static;
        max-height: none;
    }
    .topbar {
        flex-wrap: wrap;
        gap: 10px;
    }
    .search-wrap { order: 3; max-width: none; flex-basis: 100%; }
    .cart-panel { width: 100%; right: -100%; }
    .brand-phones {
        max-width: 190px;
        font-size: 1em;
        white-space: normal;
    }
    .brand-phones a {
        overflow-wrap: normal;
    }
}

/* ---------- Toast ---------- */

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    background: var(--text);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 13.5px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 50;
    max-width: 90vw;
    text-align: center;
}

.toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- Checkout page ---------- */

.checkout-topbar-title {
    font-size: 14px;
    color: var(--text-muted);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
    align-items: start;
}

.checkout-summary,
.checkout-form-wrap {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.checkout-summary h3,
.checkout-form-wrap h3 {
    margin-top: 0;
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.checkout-item-title { color: var(--text); }
.checkout-item-subtotal { font-weight: 700; white-space: nowrap; }

.checkout-total {
    font-size: 16px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    margin-bottom: 14px;
}

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

.checkout-form-wrap form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checkout-form-wrap label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.checkout-form-wrap input,
.checkout-form-wrap textarea {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    font-weight: 400;
    outline: none;
    resize: vertical;
}

.checkout-form-wrap input:focus,
.checkout-form-wrap textarea:focus {
    border-color: var(--accent);
}

.field-error {
    font-size: 12px;
    color: var(--danger);
    font-weight: 600;
    min-height: 14px;
}

.submit-order {
    padding: 12px;
    border: none;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}

.submit-order:hover:not(:disabled) { background: var(--accent-dark); }
.submit-order:disabled { background: #c7ccd4; cursor: not-allowed; }

.order-success {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.order-success h3 { margin-top: 0; color: #1a7d3a; }

.order-adjustments {
    margin-top: 12px;
    padding: 10px;
    background: #fdf1de;
    color: #8a5a0a;
    border-radius: 8px;
    font-size: 12.5px;
    text-align: left;
}

@media (max-width: 860px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        padding: 16px;
    }
}
