@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --brand-green: #7cb518;
    --brand-green-dark: #5a8f0f;
    --brand-green-light: #eef8e0;
    --brand-black: #111111;
    --brand-copper: #c87941;
    --primary: #111111;
    --primary-dark: #0a0a0a;
    --accent: #7cb518;
    --accent-hover: #6a9c14;
    --bg: #f4f6f8;
    --bg-white: #ffffff;
    --text: #1a1a1a;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --border-dark: #d1d5db;
    --success: #059669;
    --success-bg: #ecfdf5;
    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --warning: #d97706;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --header-h: 72px;
    --utility-bar-h: 38px;
    --catbar-h: 48px;
    --transition: 0.2s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ─── Header ─── */
.site-header { background: var(--bg-white); position: sticky; top: 0; z-index: 200; box-shadow: 0 1px 0 var(--border); }

.header-utility {
    background: linear-gradient(90deg, #0f172a 0%, var(--primary) 55%, #1a2e1a 100%);
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-utility__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--utility-bar-h);
    padding: 6px 0;
}
.header-utility__left,
.header-utility__right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    min-width: 0;
}
.header-utility__right {
    justify-content: flex-end;
    flex-shrink: 0;
}
.header-utility__item,
.header-utility__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition);
}
.header-utility__link:hover {
    color: #fff;
}
.header-utility__icon {
    flex-shrink: 0;
    opacity: 0.9;
}
.header-utility__support {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(124, 181, 24, 0.18);
    border: 1px solid rgba(124, 181, 24, 0.45);
    color: #e8f5c8;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition);
}
.header-utility__support:hover,
.header-utility__support.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(124, 181, 24, 0.35);
}

.header-top { border-bottom: 1px solid var(--border); }
.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo img { height: 52px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); background: var(--brand-green-light); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-actions .btn-ghost {
    padding: 9px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
}
.header-actions .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.header-actions .btn-accent {
    padding: 9px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
}
.header-actions .btn-accent:hover { background: var(--accent-hover); }
.cart-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    position: relative;
    transition: all var(--transition);
}
.cart-btn:hover { background: var(--brand-green-light); color: var(--accent); }
.cart-count {
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0 5px;
}
.user-menu { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; }

.store-user-menu { position: relative; }
.store-user-menu__bar {
    display: flex;
    align-items: center;
    gap: 6px;
}
.store-user-menu__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: min(320px, 38vw);
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}
.store-user-menu__logout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}
.store-user-menu__logout-icon:hover {
    border-color: var(--danger);
    background: var(--danger-bg);
    color: var(--danger);
}
.store-user-menu__trigger:hover,
.store-user-menu.open .store-user-menu__trigger {
    border-color: var(--accent);
    background: var(--brand-green-light);
}
.store-user-menu__name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.store-user-menu__chevron {
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--text-muted);
    transition: transform var(--transition);
}
.store-user-menu.open .store-user-menu__chevron {
    transform: rotate(180deg);
    border-top-color: var(--accent);
}
.store-user-menu__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    z-index: 300;
}
.store-user-menu__dropdown a,
.store-user-menu__logout {
    display: block;
    width: 100%;
    padding: 11px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    text-align: left;
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--transition);
}
.store-user-menu__dropdown a:hover,
.store-user-menu__logout:hover {
    background: var(--brand-green-light);
    color: var(--accent-hover);
}
.store-user-menu__divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}
.store-user-menu__logout { color: var(--danger); }
.store-user-menu__logout:hover { background: var(--danger-bg); color: var(--danger); }

.store-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* Store info page */
.store-info-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.store-info-hero {
    padding: 0;
    overflow: hidden;
}
.store-info-hero__brand {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: linear-gradient(135deg, rgba(15, 42, 68, 0.04) 0%, rgba(124, 181, 24, 0.08) 100%);
    border-bottom: 1px solid var(--border);
}
.store-info-hero__avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}
.store-info-hero__content { flex: 1; min-width: 0; }
.store-info-hero__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}
.store-info-hero__content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.25;
}
.store-info-hero__depot {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.store-info-hero__depot strong { color: var(--text); }
.store-info-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.store-info-hero__date {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.store-info-hero__note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 28px;
    background: var(--bg-white);
}
.store-info-hero__note span { font-size: 1.1rem; flex-shrink: 0; }
.store-info-hero__note p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.store-info-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.store-info-section {
    padding: 24px;
    margin-bottom: 0;
}
.store-info-section--wide { grid-column: 1 / -1; }
.store-info-section__head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.store-info-section__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(15, 42, 68, 0.06);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.store-info-section__head h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.store-info-section__head p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}
.store-info-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.store-info-tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.store-info-tile--full { grid-column: 1 / -1; }
.store-info-tile__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.store-info-tile strong {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    word-break: break-word;
}
.store-info-description {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    white-space: pre-wrap;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

/* Store stocks page */
.store-stocks-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.store-stocks-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.store-stocks-groups {
    padding: 20px 24px;
    margin-bottom: 0;
}
.store-stocks-groups__head h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.store-stocks-groups__head p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 0 16px;
}
.store-stocks-groups__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.store-stocks-group-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: border-color var(--transition), background var(--transition);
}
.store-stocks-group-chip:hover,
.store-stocks-group-chip.active {
    border-color: var(--accent);
    background: rgba(124, 181, 24, 0.08);
}
.store-stocks-group-chip span {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
}
.store-stocks-group-chip strong {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}
.store-stocks-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin-bottom: 0;
}
.store-stocks-toolbar__search { flex: 1; min-width: 220px; }
.store-stocks-toolbar__filter { min-width: 180px; }

/* Store panel — main navigation tabs */
.store-panel-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    margin-bottom: 28px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.store-panel-tab {
    flex: 1 1 auto;
    min-width: max-content;
    padding: 11px 18px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition), background var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.store-panel-tab:hover {
    color: var(--primary);
    background: var(--bg);
}
.store-panel-tab.active {
    color: var(--primary);
    background: linear-gradient(180deg, #ffffff 0%, var(--brand-green-light) 100%);
    box-shadow: inset 0 0 0 1px rgba(124, 181, 24, 0.25), 0 2px 8px rgba(124, 181, 24, 0.12);
}

/* Store stocks — filter tabs */
.store-stocks-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    margin-bottom: 0;
    background: linear-gradient(180deg, #fafbfc 0%, var(--bg) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.store-stocks-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.store-stocks-tab:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--border);
    color: var(--primary);
}
.store-stocks-tab.active {
    background: var(--bg-white);
    color: var(--primary);
    border-color: var(--border);
    box-shadow: 0 2px 10px rgba(17, 17, 17, 0.07);
}
.store-stocks-tab__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 0.9rem;
    background: rgba(17, 17, 17, 0.05);
    transition: background 0.2s ease;
}
.store-stocks-tab__label { line-height: 1.2; }
.store-stocks-tab--approved.active .store-stocks-tab__icon { background: var(--success-bg); color: var(--success); }
.store-stocks-tab--pending.active .store-stocks-tab__icon { background: #fef9e7; color: var(--warning); }
.store-stocks-tab--low.active .store-stocks-tab__icon { background: #fff7ed; color: #ea580c; }
.store-stocks-tab--out.active .store-stocks-tab__icon { background: var(--danger-bg); color: var(--danger); }
.store-stocks-tab--rejected.active .store-stocks-tab__icon { background: #f3f4f6; color: #6b7280; }
.store-stocks-tab--approved.active { border-color: rgba(5, 150, 105, 0.25); }
.store-stocks-tab--pending.active { border-color: rgba(217, 119, 6, 0.25); }
.store-stocks-tab--low.active { border-color: rgba(234, 88, 12, 0.25); }
.store-stocks-tab--out.active { border-color: rgba(220, 38, 38, 0.25); }
.store-stocks-tab--rejected.active { border-color: rgba(107, 114, 128, 0.25); }
.store-stocks-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.06);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: background 0.2s ease, color 0.2s ease;
}
.store-stocks-tab.active .store-stocks-tab-count {
    background: var(--primary);
    color: #fff;
}
.store-stocks-tab--approved.active .store-stocks-tab-count { background: var(--success); }
.store-stocks-tab--pending.active .store-stocks-tab-count { background: var(--warning); }
.store-stocks-tab--low.active .store-stocks-tab-count { background: #ea580c; }
.store-stocks-tab--out.active .store-stocks-tab-count { background: var(--danger); }
.store-stocks-tab--rejected.active .store-stocks-tab-count { background: #6b7280; }

/* Store panel — secondary tabs (commissions etc.) */
.store-sub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    margin-bottom: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.store-sub-tab {
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.store-sub-tab:hover {
    background: var(--bg-white);
    color: var(--primary);
}
.store-sub-tab.active {
    background: var(--bg-white);
    color: var(--accent-hover);
    border-color: rgba(124, 181, 24, 0.35);
    box-shadow: 0 1px 6px rgba(124, 181, 24, 0.12);
}
.store-stocks-table-card {
    padding: 0;
    overflow: hidden;
    margin-bottom: 0;
}
.store-stocks-table {
    width: 100%;
    border-collapse: collapse;
}
.store-stocks-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.store-stocks-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    font-size: 0.88rem;
}
.store-stocks-table tr:last-child td { border-bottom: none; }
.store-stocks-table__code {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: monospace;
    margin-top: 2px;
}
.store-stocks-table__group {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
}
.store-stocks-table small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.store-stocks-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.row-low-stock td { background: rgba(245, 158, 11, 0.06); }
.row-out-stock td { background: rgba(239, 68, 68, 0.05); }
.text-warning { color: #d97706; }
.text-danger { color: var(--danger); }
.store-stock-edit-modal {
    max-width: 520px;
    width: 100%;
    margin: 80px auto;
    padding: 24px;
}

/* Store stock entry page */
.store-stock-entry-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.store-stock-entry-hero {
    padding: 24px 28px;
}
.store-stock-entry-hero h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}
.store-stock-entry-hero p {
    color: var(--text-muted);
    max-width: 720px;
    line-height: 1.6;
}
.store-stock-entry-mode-tabs { margin-bottom: 0; }
.store-stock-entry-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    padding: 18px 20px;
    margin-bottom: 0;
}
.store-stock-entry-toolbar__search { flex: 1; min-width: 240px; }
.store-stock-entry-toolbar__filter { min-width: 200px; }
.store-stock-entry-toolbar label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.store-stock-entry-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 420px);
    gap: 16px;
    align-items: start;
}
.store-stock-entry-results {
    padding: 0;
    overflow: hidden;
    margin-bottom: 0;
    max-height: 620px;
    display: flex;
    flex-direction: column;
}
.store-stock-entry-results__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}
.store-stock-entry-results__head h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
}
.store-stock-entry-results__head span {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.store-stock-entry-list {
    overflow-y: auto;
    max-height: 520px;
}
.store-stock-entry-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-bottom: 1px solid var(--border);
    background: var(--bg-white);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background var(--transition);
}
.store-stock-entry-item:hover { background: var(--bg); }
.store-stock-entry-item.active {
    background: var(--brand-green-light);
    box-shadow: inset 3px 0 0 var(--accent);
}
.store-stock-entry-item__main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.store-stock-entry-item__main strong {
    font-size: 0.88rem;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.store-stock-entry-item__code {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-family: monospace;
}
.store-stock-entry-item__group {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-hover);
    background: rgba(124, 181, 24, 0.1);
    padding: 4px 8px;
    border-radius: 999px;
}
.store-stock-entry-empty { padding: 32px 20px; }
.store-stock-entry-form-panel {
    padding: 22px;
    margin-bottom: 0;
    min-height: 420px;
}
.store-stock-entry-form-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 360px;
    color: var(--text-muted);
}
.store-stock-entry-form-placeholder__icon { font-size: 2.5rem; margin-bottom: 12px; }
.store-stock-entry-form__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}
.store-stock-entry-form__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-hover);
    margin-bottom: 6px;
}
.store-stock-entry-form__head h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.store-stock-entry-form__head p {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.store-bulk-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.store-bulk-step {
    padding: 22px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.store-bulk-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}
.store-bulk-step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}
.store-bulk-step p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.store-bulk-step__list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.store-bulk-upload {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.store-bulk-upload input[type="file"] { display: none; }
.store-bulk-upload__name {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
}
.store-bulk-result {
    padding: 24px;
    margin-bottom: 0;
}
.store-bulk-result__summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.store-bulk-result__stat {
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
}
.store-bulk-result__stat span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.store-bulk-result__stat strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}
.store-bulk-result__stat--success { border-color: rgba(5, 150, 105, 0.25); background: var(--success-bg); }
.store-bulk-result__stat--success strong { color: var(--success); }
.store-bulk-result__stat--warning { border-color: rgba(217, 119, 6, 0.25); background: #fffbeb; }
.store-bulk-result__stat--warning strong { color: var(--warning); }
.store-bulk-result__stat--danger { border-color: rgba(220, 38, 38, 0.25); background: var(--danger-bg); }
.store-bulk-result__stat--danger strong { color: var(--danger); }
.store-bulk-result__message {
    font-size: 0.92rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
    padding: 12px 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}
.store-bulk-result__section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.store-bulk-result__section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.store-bulk-result__section--alert {
    background: #fffbeb;
    margin-left: -24px;
    margin-right: -24px;
    padding: 20px 24px 24px;
    border-top-color: #fde68a;
}
.store-bulk-result__section--alert p {
    font-size: 0.86rem;
    color: #92400e;
    line-height: 1.55;
    margin-bottom: 12px;
}
.store-bulk-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

/* Store orders page */
.store-orders-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.store-orders-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.store-orders-hero__stat {
    text-align: center;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    min-width: 120px;
}
.store-orders-hero__stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}
.store-orders-hero__stat span {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}
.store-orders-tabs { margin-bottom: 0; }
.store-orders-tab--all.active .store-stocks-tab__icon { background: #f3f4f6; color: var(--primary); }
.store-orders-tab--6.active .store-stocks-tab__icon { background: #fef9e7; color: var(--warning); }
.store-orders-tab--2.active .store-stocks-tab__icon { background: #fff7ed; color: #ea580c; }
.store-orders-tab--3.active .store-stocks-tab__icon { background: #dbeafe; color: #2563eb; }
.store-orders-tab--4.active .store-stocks-tab__icon { background: var(--success-bg); color: var(--success); }
.store-orders-tab--5.active .store-stocks-tab__icon { background: var(--danger-bg); color: var(--danger); }
.store-orders-tab--other.active .store-stocks-tab__icon { background: #f3f4f6; color: #6b7280; }
.store-orders-tab--all.active .store-stocks-tab-count { background: var(--primary); }
.store-orders-tab--6.active .store-stocks-tab-count { background: var(--warning); }
.store-orders-tab--2.active .store-stocks-tab-count { background: #ea580c; }
.store-orders-tab--3.active .store-stocks-tab-count { background: #2563eb; }
.store-orders-tab--4.active .store-stocks-tab-count { background: var(--success); }
.store-orders-tab--5.active .store-stocks-tab-count { background: var(--danger); }
.store-orders-tab--other.active .store-stocks-tab-count { background: #6b7280; }
.store-orders-table-card {
    padding: 0;
    overflow: hidden;
    margin-bottom: 0;
}
.store-orders-table__meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.store-orders-empty {
    padding: 40px 24px;
    margin-bottom: 0;
    text-align: center;
}
.store-order-detail-modal {
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 40px auto;
    padding: 0;
}
.store-order-detail-modal--loading {
    max-width: 420px;
    padding: 40px;
}
.store-order-detail-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border);
}
.store-order-detail-modal__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-hover);
    margin-bottom: 6px;
}
.store-order-detail-modal__head h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}
.store-order-detail-modal__head p {
    font-size: 0.84rem;
    color: var(--text-muted);
}
.store-order-detail-modal__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.store-order-detail-modal__hint {
    font-size: 0.84rem;
    color: var(--text-muted);
}
.store-order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border);
}
.store-order-detail-section {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.store-order-detail-grid .store-order-detail-section {
    border-bottom: none;
}
.store-order-detail-grid .store-order-detail-section:first-child {
    border-right: 1px solid var(--border);
}
.store-order-detail-section h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.store-order-detail-dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 8px 12px;
    margin: 0;
}
.store-order-detail-dl dt {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}
.store-order-detail-dl dd {
    font-size: 0.88rem;
    color: var(--text);
    margin: 0;
}
.store-order-detail-dl--inline {
    grid-template-columns: 90px 1fr;
}
.store-order-detail-note {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.store-order-items-table td,
.store-order-items-table th { font-size: 0.84rem; }
.store-order-detail-summary {
    padding: 16px 24px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.store-order-detail-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.store-order-detail-summary__row strong {
    color: var(--primary);
    font-weight: 700;
}
.store-order-detail-summary__row--total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    font-size: 0.95rem;
}
.store-order-detail-summary__row--total strong {
    font-size: 1.1rem;
    color: var(--accent-hover);
}
.store-order-detail-modal__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
}

/* Store commissions page */
.store-commissions-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.store-commissions-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.store-commissions-hero__stat {
    text-align: center;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    min-width: 140px;
}
.store-commissions-hero__stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-hover);
    line-height: 1.1;
}
.store-commissions-hero__stat span {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}
.store-commissions-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}
.store-commissions-tabs { margin-bottom: 0; }
.store-commissions-tab--0.active .store-stocks-tab__icon { background: #fef9e7; color: var(--warning); }
.store-commissions-tab--1.active .store-stocks-tab__icon { background: #dbeafe; color: #2563eb; }
.store-commissions-tab--2.active .store-stocks-tab__icon { background: #f3e8ff; color: #7c3aed; }
.store-commissions-tab--3.active .store-stocks-tab__icon { background: #ecfdf5; color: #059669; }
.store-commissions-tab--4.active .store-stocks-tab__icon { background: var(--success-bg); color: var(--success); }
.store-commissions-tab--5.active .store-stocks-tab__icon { background: var(--danger-bg); color: var(--danger); }
.store-commissions-tab--0.active { border-color: rgba(217, 119, 6, 0.25); }
.store-commissions-tab--1.active { border-color: rgba(37, 99, 235, 0.25); }
.store-commissions-tab--2.active { border-color: rgba(124, 58, 237, 0.25); }
.store-commissions-tab--3.active { border-color: rgba(5, 150, 105, 0.25); }
.store-commissions-tab--4.active { border-color: rgba(5, 150, 105, 0.25); }
.store-commissions-tab--5.active { border-color: rgba(220, 38, 38, 0.25); }
.store-commissions-tab--0.active .store-stocks-tab-count { background: var(--warning); }
.store-commissions-tab--1.active .store-stocks-tab-count { background: #2563eb; }
.store-commissions-tab--2.active .store-stocks-tab-count { background: #7c3aed; }
.store-commissions-tab--3.active .store-stocks-tab-count { background: #059669; }
.store-commissions-tab--4.active .store-stocks-tab-count { background: var(--success); }
.store-commissions-tab--5.active .store-stocks-tab-count { background: var(--danger); }
.store-commissions-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    margin-bottom: 0;
}
.store-commissions-toolbar__select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
}
.store-commissions-toolbar__select input { cursor: pointer; }
.store-commissions-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.store-commissions-toolbar__hint {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 600;
}
.store-commissions-toolbar__info {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}
.store-commissions-table-card {
    padding: 0;
    overflow: hidden;
    margin-bottom: 0;
}
.store-commissions-table__check { width: 44px; text-align: center; }
.store-commissions-table__meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.store-commissions-empty {
    padding: 40px 24px;
    margin-bottom: 0;
    text-align: center;
}
.store-settlement-detail-modal {
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 40px auto;
    padding: 0;
}
.store-settlement-detail-modal--loading {
    max-width: 420px;
    padding: 40px;
}
.store-settlement-detail-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border);
}
.store-settlement-detail-modal__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-hover);
    margin-bottom: 6px;
}
.store-settlement-detail-modal__head h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}
.store-settlement-detail-modal__head p {
    font-size: 0.84rem;
    color: var(--text-muted);
}
.store-settlement-detail-modal__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.store-settlement-detail-modal__hint {
    font-size: 0.84rem;
    color: var(--text-muted);
}
.store-settlement-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border);
}
.store-settlement-detail-section {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.store-settlement-detail-grid .store-settlement-detail-section {
    border-bottom: none;
}
.store-settlement-detail-grid .store-settlement-detail-section:first-child {
    border-right: 1px solid var(--border);
}
.store-settlement-detail-section h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.store-settlement-detail-dl {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px 12px;
    margin: 0;
}
.store-settlement-detail-dl dt {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}
.store-settlement-detail-dl dd {
    font-size: 0.88rem;
    color: var(--text);
    margin: 0;
}
.store-settlement-detail-section--timeline { background: var(--bg); }
.store-settlement-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.store-settlement-timeline li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
}
.store-settlement-timeline li span { color: var(--text-muted); font-weight: 600; }
.store-settlement-timeline li strong { color: var(--primary); font-weight: 700; }
.store-settlement-detail-note {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.store-settlement-documents {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.store-settlement-documents li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
}
.store-settlement-documents a {
    font-weight: 700;
    color: var(--accent-hover);
    text-decoration: none;
}
.store-settlement-documents a:hover { text-decoration: underline; }
.store-settlement-documents span { color: var(--text-muted); font-size: 0.78rem; }
.store-settlement-items-table td,
.store-settlement-items-table th { font-size: 0.84rem; }
.store-settlement-detail-summary {
    padding: 16px 24px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.store-settlement-detail-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.store-settlement-detail-summary__row strong {
    font-size: 1.1rem;
    color: var(--accent-hover);
    font-weight: 800;
}
.store-settlement-detail-modal__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
}
.store-commission-upload-modal {
    max-width: 520px;
    width: 100%;
    margin: 80px auto;
    padding: 0;
    overflow: hidden;
}
.store-commission-upload-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border);
}
.store-commission-upload-modal__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-hover);
    margin-bottom: 6px;
}
.store-commission-upload-modal__head h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}
.store-commission-upload-modal__head p {
    font-size: 0.84rem;
    color: var(--text-muted);
}
.store-commission-upload-modal__body { padding: 20px 24px; }
.store-commission-upload-modal__files {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 8px;
}
.store-commission-upload-modal__hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 8px;
}
.store-commission-upload-modal__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
}
@media (max-width: 720px) {
    .store-settlement-detail-grid { grid-template-columns: 1fr; }
    .store-settlement-detail-grid .store-settlement-detail-section:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

/* Cart page */
.cart-page { padding-top: 0; padding-bottom: 40px; }
.cart-page .container { max-width: 1180px; }
.cart-topbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.cart-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}
.cart-topbar h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
}
.cart-topbar p {
    font-size: 0.84rem;
    color: var(--text-muted);
}
.cart-topbar__total {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-hover);
}
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}
.cart-main { display: flex; flex-direction: column; gap: 16px; }
.cart-items-section,
.cart-checkout-card { padding: 0; overflow: hidden; margin-bottom: 0; }
.cart-block { padding: 18px 20px; }
.cart-block--divider { border-top: 1px solid var(--border); }
.cart-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.cart-block__head h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
}
.cart-block__head span,
.cart-block__optional {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}
.cart-block__optional { color: var(--accent-hover); }
.cart-items { display: flex; flex-direction: column; }
.cart-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
}
.cart-item:first-child { border-top: none; }
.cart-item__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    overflow: hidden;
    text-decoration: none;
}
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__placeholder { font-size: 1.4rem; opacity: 0.35; }
.cart-item__info { min-width: 0; }
.cart-item__title {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-item__title:hover { color: var(--accent-hover); }
.cart-item__meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.cart-item__qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-white);
}
.cart-qty {
    display: inline-flex;
    align-items: center;
}
.cart-qty__btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}
.cart-qty__btn:hover:not(:disabled) { background: #eef2f6; }
.cart-qty__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-qty__input {
    width: 42px;
    height: 32px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary);
    font-family: inherit;
    -moz-appearance: textfield;
}
.cart-qty__input::-webkit-outer-spin-button,
.cart-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item__price { text-align: right; min-width: 88px; }
.cart-item__price strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 4px;
}
.cart-item__remove {
    border: none;
    background: none;
    padding: 0;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cart-item__remove:hover { color: var(--danger); }
.cart-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.cart-choice {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-white);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition);
}
.cart-choice:hover {
    border-color: rgba(124, 181, 24, 0.35);
    color: var(--primary);
}
.cart-choice.active {
    border-color: rgba(124, 181, 24, 0.5);
    background: rgba(124, 181, 24, 0.1);
    color: var(--primary);
    box-shadow: inset 0 0 0 1px rgba(124, 181, 24, 0.15);
}
.cart-preview {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
}
.cart-preview p {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 4px;
}
.cart-preview span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.cart-preview__link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-hover);
    text-decoration: none;
}
.cart-preview__link:hover { text-decoration: underline; }
.cart-form { margin-top: 2px; }
.cart-form__row { margin-bottom: 0; }
.cart-form .form-group { margin-bottom: 12px; }
.cart-form .form-group label {
    font-size: 0.78rem;
    margin-bottom: 5px;
}
.cart-form .form-control {
    padding: 9px 12px;
    font-size: 0.88rem;
}
.cart-form__note { margin-bottom: 0; }
.cart-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 10px;
    cursor: pointer;
}
.cart-check input { cursor: pointer; }
.cart-summary {
    position: sticky;
    top: 20px;
    padding: 18px 20px 20px;
    margin-bottom: 0;
}
.cart-summary h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
}
.cart-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}
.cart-summary__row strong { color: var(--primary); font-weight: 700; }
.cart-summary__row--muted { font-size: 0.78rem; padding-top: 0; }
.cart-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 12px 0 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}
.cart-summary__total strong {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-hover);
}
.cart-summary__submit { width: 100%; margin-bottom: 10px; }
.cart-summary__hint {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.45;
    margin-bottom: 12px;
}
.cart-summary__link {
    display: block;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-hover);
    text-decoration: none;
}
.cart-summary__link:hover { text-decoration: underline; }

.cart-topbar--empty {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%);
    color: #fff;
    padding: 22px 0 24px;
    margin-bottom: 0;
}
.cart-topbar--empty h1 { color: #fff; }
.cart-topbar--empty p { color: rgba(255, 255, 255, 0.75); }

.cart-empty-state {
    max-width: 920px;
    margin: 28px auto 0;
}
.cart-empty-state__card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.cart-empty-state__visual {
    position: relative;
    min-height: 340px;
    background: linear-gradient(145deg, #f8fafc 0%, var(--brand-green-light) 55%, #e8f5d6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cart-empty-state__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.cart-empty-state__orb--1 {
    width: 220px;
    height: 220px;
    top: -60px;
    right: -40px;
    background: rgba(124, 181, 24, 0.12);
}
.cart-empty-state__orb--2 {
    width: 140px;
    height: 140px;
    bottom: -30px;
    left: -20px;
    background: rgba(17, 17, 17, 0.05);
}
.cart-empty-state__illustration {
    position: relative;
    width: 180px;
    height: 180px;
}
.cart-empty-state__bag {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-empty-state__bag-handle {
    position: absolute;
    top: 28px;
    width: 72px;
    height: 36px;
    border: 5px solid var(--primary);
    border-bottom: none;
    border-radius: 36px 36px 0 0;
    opacity: 0.85;
}
.cart-empty-state__bag-body {
    position: absolute;
    bottom: 24px;
    width: 110px;
    height: 88px;
    border-radius: 0 0 16px 16px;
    background: linear-gradient(180deg, var(--primary) 0%, #334155 100%);
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.18);
}
.cart-empty-state__bag-body::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}
.cart-empty-state__bag-plus {
    position: absolute;
    bottom: 52px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 44px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(124, 181, 24, 0.35);
    z-index: 2;
}
.cart-empty-state__float {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(124, 181, 24, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 16px rgba(17, 17, 17, 0.08);
    animation: cartEmptyFloat 4s ease-in-out infinite;
}
.cart-empty-state__float--1 { top: 8px; right: -8px; animation-delay: 0s; }
.cart-empty-state__float--2 { bottom: 20px; left: -12px; animation-delay: 1.2s; }
@keyframes cartEmptyFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.cart-empty-state__content {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cart-empty-state__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-hover);
    margin-bottom: 10px;
}
.cart-empty-state__content h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 12px;
}
.cart-empty-state__content > p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 22px;
    max-width: 38ch;
}
.cart-empty-state__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}
.cart-empty-state__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--primary);
    font-weight: 500;
}
.cart-empty-state__feature-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-green-light);
    color: var(--accent-hover);
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cart-empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.cart-empty-state__actions .btn-lg {
    padding: 13px 24px;
    font-size: 0.92rem;
}
.cart-empty-state__links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.84rem;
}
.cart-empty-state__link {
    color: var(--accent-hover);
    font-weight: 700;
    text-decoration: none;
}
.cart-empty-state__link:hover { text-decoration: underline; }
.cart-empty-state__sep { color: var(--text-light); }

@media (max-width: 768px) {
    .cart-empty-state__card { grid-template-columns: 1fr; }
    .cart-empty-state__visual { min-height: 240px; }
    .cart-empty-state__content { padding: 28px 22px 32px; }
    .cart-empty-state__content h2 { font-size: 1.35rem; }
    .cart-empty-state__actions { flex-direction: column; }
    .cart-empty-state__actions .btn { width: 100%; text-align: center; }
}

.cart-empty {
    padding: 48px 24px;
    text-align: center;
    max-width: 480px;
    margin: 24px auto 0;
}
.cart-success {
    max-width: 560px;
    margin: 24px auto 0;
    padding: 40px 28px;
    text-align: center;
}
.cart-success__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--success-bg);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}
.cart-success__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-hover);
    margin-bottom: 8px;
}
.cart-success h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}
.cart-success p { color: var(--text-muted); margin-bottom: 6px; font-size: 0.9rem; }
.cart-success__amount strong { color: var(--accent-hover); font-size: 1.05rem; }
.cart-success__hint {
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 14px 0 20px !important;
}
.cart-success__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.cart-shipping-banner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid rgba(234, 88, 12, 0.2);
    font-size: 0.82rem;
    color: #9a3412;
    line-height: 1.45;
}
.cart-shipping-banner--success {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(135deg, var(--brand-green-light) 0%, #ecfdf5 100%);
    border-color: rgba(124, 181, 24, 0.35);
    color: var(--primary);
}
.cart-shipping-banner__icon { font-size: 1.1rem; flex-shrink: 0; }
.cart-shipping-banner strong { color: var(--primary); }
.cart-shipping-banner--success strong { color: var(--success); }
.cart-shipping-banner__progress {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}
.cart-shipping-banner__bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ea580c 0%, var(--accent) 100%);
    min-width: 4%;
    transition: width 0.25s ease;
}

/* Checkout */
.checkout-page { padding-top: 0; padding-bottom: 48px; }
.checkout-page .container { max-width: 1180px; }
.checkout-topbar {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%);
    color: #fff;
    padding: 22px 0 24px;
    margin-bottom: 24px;
}
.checkout-topbar--success {
    background: linear-gradient(135deg, #166534 0%, var(--primary) 100%);
}
.checkout-topbar--failed {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
}
.checkout-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.checkout-topbar h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.checkout-topbar p {
    font-size: 0.88rem;
    opacity: 0.85;
}
.checkout-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
}
.checkout-steps {
    min-width: 280px;
    max-width: 420px;
}
.checkout-progress { position: relative; padding-top: 8px; }
.checkout-progress__track {
    position: absolute;
    top: 26px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    overflow: hidden;
}
.checkout-progress__line {
    height: 100%;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.85) 100%);
    border-radius: 999px;
    transition: width 0.35s ease;
}
.checkout-progress__steps {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.checkout-progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.checkout-progress__dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}
.checkout-progress__label {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    white-space: nowrap;
}
.checkout-progress__step--active .checkout-progress__dot {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transform: scale(1.06);
}
.checkout-progress__step--active .checkout-progress__label {
    color: #fff;
}
.checkout-progress__step--done .checkout-progress__dot {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.92);
}
.checkout-progress__step--done .checkout-progress__label {
    color: rgba(255, 255, 255, 0.9);
}
.checkout-step {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}
.checkout-step--active {
    background: #fff;
    color: var(--primary);
}
.checkout-step--done {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}
.checkout-step__sep { opacity: 0.5; }
.checkout-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    align-items: start;
}
.checkout-payment { padding: 24px; }
.checkout-payment__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}
.checkout-payment__head h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}
.checkout-payment__secure {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--success);
    background: var(--success-bg);
    padding: 6px 10px;
    border-radius: 999px;
}
.card-preview-wrap {
    perspective: 1200px;
    margin-bottom: 24px;
}
.card-preview {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 230px;
    margin: 0 auto;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}
.card-preview--flipped { transform: rotateY(180deg); }
.card-preview__face {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 22px 24px;
    backface-visibility: hidden;
    color: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}
.card-preview__front {
    background: linear-gradient(135deg, #1e293b 0%, #334155 55%, #0f172a 100%);
}
.card-preview--visa .card-preview__front {
    background: linear-gradient(135deg, #1a1f71 0%, #2d3db8 55%, #0f172a 100%);
}
.card-preview--mastercard .card-preview__front {
    background: linear-gradient(135deg, #1f2937 0%, #b45309 55%, #111827 100%);
}
.card-preview--troy .card-preview__front {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 55%, #134e4a 100%);
}
.card-preview--amex .card-preview__front {
    background: linear-gradient(135deg, #0e7490 0%, #155e75 55%, #164e63 100%);
}
.card-preview__back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
.card-preview__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.card-preview__chip {
    width: 42px;
    height: 30px;
    border-radius: 6px;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}
.card-preview__brand {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.card-preview__number {
    font-size: 1.35rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 24px;
    font-family: 'Courier New', monospace;
}
.card-preview__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.card-preview__bottom small {
    display: block;
    font-size: 0.62rem;
    opacity: 0.7;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.card-preview__bottom strong {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}
.card-preview__stripe {
    height: 44px;
    background: #111827;
    margin: 18px -24px 24px;
}
.card-preview__cvv {
    background: #fff;
    color: #111827;
    border-radius: 8px;
    padding: 10px 14px;
    margin-left: auto;
    width: fit-content;
    min-width: 72px;
    text-align: right;
}
.card-preview__cvv small {
    display: block;
    font-size: 0.62rem;
    color: #64748b;
    margin-bottom: 2px;
}
.checkout-card-form .form-group { margin-bottom: 14px; }
.checkout-card-form .form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}
.checkout-card-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.checkout-mock-panel {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed var(--border);
}
.checkout-mock-panel__note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}
.checkout-mock-panel__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.checkout-mock-panel__fail {
    border-color: #fecaca;
    color: #b91c1c;
}
.checkout-mock-panel__fail:hover {
    background: #fef2f2;
    border-color: #f87171;
}
.checkout-back-link {
    margin-top: 18px;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--accent-hover);
    cursor: pointer;
}
.checkout-back-link:hover { text-decoration: underline; }
.checkout-summary {
    position: sticky;
    top: 20px;
    padding: 20px;
}
.checkout-summary h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}
.checkout-summary__address {
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}
.checkout-summary__address small {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.checkout-summary__address p {
    font-size: 0.82rem;
    color: var(--primary);
    line-height: 1.45;
    margin: 0;
}
.checkout-summary__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    max-height: 280px;
    overflow-y: auto;
}
.checkout-summary__item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    align-items: center;
}
.checkout-summary__item-media {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkout-summary__item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.checkout-summary__item-info strong {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 2px;
}
.checkout-summary__item-info span {
    font-size: 0.74rem;
    color: var(--text-muted);
}
.checkout-summary__item-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}
.checkout-summary__row,
.checkout-summary__total {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}
.checkout-summary__row strong,
.checkout-summary__total strong { color: var(--primary); font-weight: 700; }
.checkout-summary__total {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 0.92rem;
}
.checkout-summary__total strong {
    font-size: 1.2rem;
    color: var(--accent-hover);
}
.checkout-result {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px;
}
.checkout-result__hero {
    text-align: center;
    margin-bottom: 24px;
}
.checkout-result__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--success-bg);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
}
.checkout-result__icon--fail {
    background: #fef2f2;
    color: #dc2626;
}
.checkout-result__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-hover);
    margin-bottom: 8px;
}
.checkout-result__hero h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}
.checkout-result__hero p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}
.checkout-result__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.checkout-result__meta-item {
    padding: 14px;
    border-radius: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    text-align: center;
}
.checkout-result__meta-item small {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.checkout-result__meta-item strong {
    font-size: 0.95rem;
    color: var(--primary);
}
.checkout-result__section {
    margin-bottom: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.checkout-result__section h3 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}
.checkout-result__address {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.checkout-result__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.checkout-result__item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
}
.checkout-result__item-info strong {
    display: block;
    font-size: 0.88rem;
    color: var(--primary);
    margin-bottom: 4px;
}
.checkout-result__item-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.checkout-result__item-price {
    text-align: right;
    min-width: 90px;
}
.checkout-result__item-price span {
    display: block;
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.checkout-result__item-price strong {
    font-size: 0.9rem;
    color: var(--primary);
}
.checkout-result__totals { margin-top: 14px; }
.checkout-result__total-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    font-size: 0.86rem;
    color: var(--text-muted);
}
.checkout-result__total-row strong { color: var(--primary); }
.checkout-result__total-row--grand {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
}
.checkout-result__total-row--grand strong {
    font-size: 1.15rem;
    color: var(--accent-hover);
}
.checkout-result__hint {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.55;
    text-align: center;
    margin-bottom: 20px;
}
.checkout-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.checkout-fail-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}
.checkout-fail-code__label {
    font-size: 0.82rem;
    color: #991b1b;
    font-weight: 600;
}
.checkout-fail-code__value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: 0.08em;
}
.checkout-fail-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.checkout-fail-details {
    display: grid;
    gap: 10px;
}
.checkout-fail-details > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
}
.checkout-fail-details dt {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}
.checkout-fail-details dd {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 700;
    margin: 0;
    text-align: right;
}
.checkout-fail-notice {
    padding: 14px 16px;
    border-radius: 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    font-size: 0.84rem;
    color: #92400e;
    line-height: 1.55;
    margin-bottom: 20px;
}
@media (max-width: 900px) {
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
    .checkout-result__meta { grid-template-columns: 1fr; }
    .checkout-card-form__row { grid-template-columns: 1fr; }
}

.store-info-item--full { grid-column: 1 / -1; }
.store-info-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}
.store-info-item strong,
.store-info-item p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}
.store-info-item p { margin: 0; }

/* Category bar (Group1) */
.category-bar { background: var(--primary); }
.category-bar-inner {
    display: flex;
    align-items: center;
    height: var(--catbar-h);
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.category-bar-inner::-webkit-scrollbar { display: none; }
.category-bar-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-right: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}
.category-bar a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
    transition: all var(--transition);
    flex-shrink: 0;
}
.category-bar a:hover, .category-bar a.active {
    background: var(--accent);
    color: #fff;
}

/* ─── Main ─── */
.main-content { min-height: calc(100vh - 400px); padding: 0; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all var(--transition);
    text-decoration: none;
    font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary-sm { padding: 8px 16px; font-size: 0.82rem; background: var(--accent); color: #fff; border: none; border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; font-family: inherit; }
.btn-primary-sm:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; border: 1px solid var(--border-dark); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-sm { padding: 8px 16px; font-size: 0.82rem; background: transparent; border: 1px solid var(--border-dark); border-radius: var(--radius-sm); cursor: pointer; font-family: inherit; font-weight: 600; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 0.82rem; }
.btn:disabled, .btn-primary-sm:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* Store apply */
.page-hero--apply {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%);
}
.store-apply-page .container { max-width: 1280px; }
.store-apply-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    align-items: start;
}
.store-apply-aside {
    position: sticky;
    top: 24px;
    padding: 28px;
}
.store-apply-aside__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.store-apply-aside h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
.store-apply-aside > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}
.store-apply-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.store-apply-steps li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.store-apply-steps li:last-child { border-bottom: none; }
.store-apply-steps strong { color: var(--accent); min-width: 18px; }
.store-apply-aside__note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: rgba(124, 181, 24, 0.08);
    border: 1px solid rgba(124, 181, 24, 0.18);
}
.store-apply-aside__note span { font-size: 1.1rem; flex-shrink: 0; }
.store-apply-aside__note p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.store-apply-form { padding: 0; overflow: hidden; }
.store-apply-form form { padding: 28px; }
.store-apply-section {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
}
.store-apply-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.store-apply-section__head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.store-apply-section__icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(15, 42, 68, 0.06);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.store-apply-section__head h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.store-apply-section__head p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}
.store-apply-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: -4px;
}
.store-apply-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
}
.store-apply-form select.form-control:disabled {
    background: var(--bg);
    color: var(--text-muted);
    cursor: not-allowed;
}


/* ─── Home Hero Layout ─── */
.home-hero-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 28px 0;
}
.home-categories {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + var(--catbar-h) + 16px);
}
.home-categories__header {
    background: var(--primary);
    color: #fff;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.home-categories__list { list-style: none; }
.home-categories__list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}
.home-categories__list li:last-child a { border-bottom: none; }
.home-categories__list li a:hover { background: var(--brand-green-light); color: var(--accent); padding-left: 22px; }
.home-categories__list li a span { color: var(--text-light); font-size: 0.75rem; }

/* Slider */
.hero-slider {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 380px;
    background: var(--primary);
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 48px 56px;
    opacity: 0;
    transition: opacity 0.6s ease;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide--1 { background: linear-gradient(135deg, #111 0%, #1a3a0a 100%); }
.hero-slide--2 { background: linear-gradient(135deg, #0a0a0a 0%, #2d5016 100%); }
.hero-slide--3 { background: linear-gradient(135deg, #111 0%, #3d2b1f 100%); }
.hero-slide--4 { background: linear-gradient(135deg, #14532d 0%, #166534 45%, #0f172a 100%); }
.hero-slide--image-only {
    padding: 0;
    background-color: #0f172a;
}
.hero-slide__image-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
}
.hero-slide--image-only.active { cursor: pointer; }

/* CSR — homepage counter section */
.csr-home-section {
    padding: 56px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ecfdf5 55%, #f4f6f8 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.csr-home-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.csr-home-section__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-hover);
    margin-bottom: 8px;
}
.csr-home-section__head h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}
.csr-home-section__head p {
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 52ch;
}
.csr-home-counters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}
.csr-home-counter {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 20px;
    border-radius: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(17, 17, 17, 0.06);
}
.csr-home-counter__ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-green-light) 0%, #d9f99d 100%);
    border: 2px solid rgba(124, 181, 24, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-hover);
    flex-shrink: 0;
}
.csr-home-counter__ring--orders { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border-color: rgba(37, 99, 235, 0.25); color: #2563eb; }
.csr-home-counter__ring--rate { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); border-color: rgba(234, 88, 12, 0.25); color: #ea580c; }
.csr-home-counter__content strong {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.csr-home-counter__content span {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}
.csr-home-partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(124, 181, 24, 0.2);
}
.csr-home-partners > span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.csr-home-partners__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.csr-home-partner-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

/* CSR — dedicated page */
.csr-page__hero {
    background: linear-gradient(135deg, #14532d 0%, #166534 40%, #0f172a 100%);
    padding: 48px 0 44px;
    margin-bottom: 0;
}
.csr-page__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bbf7d0;
    margin-bottom: 10px;
}
.csr-stats { margin-top: -28px; position: relative; z-index: 2; }
.csr-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.csr-stat-card {
    padding: 24px 22px;
    border-radius: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.csr-stat-card--primary {
    background: linear-gradient(135deg, #14532d 0%, #166534 100%);
    border-color: transparent;
    color: #fff;
}
.csr-stat-card--primary .csr-stat-card__label,
.csr-stat-card--primary .csr-stat-card__hint { color: rgba(255, 255, 255, 0.78); }
.csr-stat-card--primary .csr-stat-card__value { color: #fff; }
.csr-stat-card__label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.csr-stat-card__value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.csr-stat-card__hint {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.csr-about {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 28px;
    margin-top: 28px;
    padding: 28px;
    align-items: start;
}
.csr-about h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}
.csr-about__lead {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.csr-about__steps { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.csr-about__steps li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.csr-about__step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-green-light);
    color: var(--accent-hover);
    font-size: 0.82rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.csr-about__steps strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
}
.csr-about__steps p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}
.csr-about__aside {
    padding: 24px;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--brand-green-light) 0%, #fff 100%);
    border: 1px solid rgba(124, 181, 24, 0.25);
    text-align: center;
}
.csr-about__badge {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: var(--shadow);
}
.csr-about__aside h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}
.csr-about__aside p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}
.csr-partners { margin-top: 28px; padding-bottom: 8px; }
.csr-partners .section-header { margin-bottom: 20px; }
.csr-partners .section-header h2 { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.csr-partners .section-header p { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }
.csr-partners__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.csr-partner-card {
    padding: 24px;
    margin-bottom: 0;
}
.csr-partner-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}
.csr-partner-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}
.csr-partner-card p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}
.csr-partner-card__link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-hover);
    text-decoration: none;
}
.csr-partner-card__link:hover { text-decoration: underline; }
.csr-cta {
    margin-top: 28px;
    margin-bottom: 0;
    padding: 32px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, var(--brand-green-light) 100%);
}
.csr-cta h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}
.csr-cta p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.csr-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* About — corporate page */
.about-page__hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a2f 45%, #14532d 100%);
    padding: 52px 0 48px;
    margin-bottom: 0;
    color: #fff;
}
.about-page__hero h1 { color: #fff; }
.about-page__hero p { color: rgba(255, 255, 255, 0.82); max-width: 720px; line-height: 1.65; }
.about-page__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bbf7d0;
    margin-bottom: 10px;
}
.about-page .page-content { padding: 28px 0 48px; }
.about-intro {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    margin-bottom: 28px;
}
.about-intro__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--brand-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}
.about-intro h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}
.about-intro__lead {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 14px;
    font-weight: 500;
}
.about-intro__content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}
.about-pillars { margin-bottom: 28px; }
.about-pillars .section-header { margin-bottom: 20px; }
.about-pillars .section-header h2 { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.about-pillars .section-header p { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }
.about-pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.about-pillar { padding: 24px; margin-bottom: 0; }
.about-pillar__icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-green-light);
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}
.about-pillar h3 {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
.about-pillar p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}
.about-story {
    display: grid;
    grid-template-columns: 1.45fr 0.55fr;
    gap: 28px;
    padding: 32px;
    margin-bottom: 28px;
    align-items: start;
}
.about-story__content h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
}
.about-story__content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 14px;
}
.about-story__content p:last-child { margin-bottom: 0; }
.about-story__aside {
    padding: 24px;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--brand-green-light) 0%, #fff 100%);
    border: 1px solid var(--border);
}
.about-story__aside h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
}
.about-impact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}
.about-impact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.about-impact-list strong {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.about-values { margin-bottom: 28px; }
.about-values .section-header { margin-bottom: 18px; }
.about-values .section-header h2 { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.about-values__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.about-value {
    padding: 20px;
    border-radius: 14px;
    background: var(--bg-white);
    border: 1px solid var(--border);
}
.about-value h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}
.about-value p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}
.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 32px;
    margin-bottom: 0;
    background: linear-gradient(135deg, #f8fafc 0%, var(--brand-green-light) 100%);
}
.about-cta h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
.about-cta p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    max-width: 640px;
}
.about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-slide__content { max-width: 520px; color: #fff; position: relative; z-index: 1; }
.hero-slide__tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.hero-slide__content h2 { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.hero-slide__content p { font-size: 1rem; opacity: 0.85; margin-bottom: 24px; line-height: 1.6; }
.hero-slider__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.hero-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.hero-slider__dot.active { background: var(--accent); width: 28px; border-radius: 999px; }

/* Section blocks */
.section-block { padding: 40px 0; }
.section-block--alt { background: var(--bg-white); }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}
.section-header h2 { font-size: 1.35rem; font-weight: 700; color: var(--primary); }
.section-header a { font-size: 0.88rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.section-header a:hover { text-decoration: underline; }

/* Category product carousel */
.product-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-carousel__viewport {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}
.product-carousel__track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.product-carousel__item {
    flex: 0 0 25%;
    padding: 0 10px;
    box-sizing: border-box;
    min-width: 0;
}
.product-carousel__arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}
.product-carousel__arrow:hover:not(:disabled) {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.product-carousel__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}
.product-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.product-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border-dark);
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}
.product-carousel__dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 999px;
}

/* ─── Product Cards (Pro) ─── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.pro-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.pro-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-3px); }
.pro-card__image {
    height: 160px;
    background: linear-gradient(145deg, #f0f2f5 0%, #e2e6ea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.pro-card__image-icon { font-size: 3rem; opacity: 0.35; }
.pro-card__group-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(17,17,17,0.75);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pro-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pro-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.65em;
}
.pro-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pro-card__code { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; font-family: 'Courier New', monospace; }
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-family: inherit;
}
.stock-badge--in { background: var(--success-bg); color: var(--success); }
.stock-badge--in:hover { background: #d1fae5; box-shadow: 0 0 0 3px rgba(5,150,105,0.15); }
.stock-badge--out { background: var(--danger-bg); color: var(--danger); cursor: default; }
.stock-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pro-card__footer { margin-top: auto; padding-top: 4px; }
.pro-card__add-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}
.pro-card__add-btn:hover { background: var(--accent); }
.pro-card__add-btn:disabled { background: var(--border-dark); cursor: not-allowed; }
.pro-card__add-btn--view {
    display: block;
    text-align: center;
    text-decoration: none;
    background: var(--bg-white);
    color: var(--primary);
    border: 1px solid var(--border);
}
.pro-card__add-btn--view:hover { background: var(--bg); color: var(--accent-hover); border-color: var(--accent); }
.pro-card__add-btn--store {
    background: var(--primary);
}
.pro-card__add-btn--store:hover { background: var(--accent); }

.stock-badge--clickable {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.product-detail-notice--store {
    background: var(--brand-green-light);
    border-color: rgba(124, 181, 24, 0.35);
    color: var(--accent-hover);
}

.product-detail-store-entry {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.product-detail-store-entry__hint {
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.store-stock-entry-modal { max-width: 520px; }
.store-stock-entry-modal__body { padding-top: 0; }
.store-stock-entry-modal__hint {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}
.store-stock-entry-modal__footer {
    justify-content: flex-end;
    gap: 10px;
}

.product-detail-notice {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 0.86rem;
    line-height: 1.5;
}

/* ─── Stock Modal ─── */
.modal-overlay,
.stock-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.15s ease;
}
.store-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.order-cargo-badge {
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.order-cargo-badge:hover {
    filter: brightness(0.95);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.stock-modal {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.2s ease;
}
@keyframes slideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.stock-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
}
.stock-modal__header h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; flex: 1; }
.stock-modal__code { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; font-family: monospace; }
.stock-modal__close {
    background: var(--bg);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all var(--transition);
}
.stock-modal__close:hover { background: var(--danger-bg); color: var(--danger); }
.stock-modal__body { padding: 16px 24px; overflow-y: auto; flex: 1; }
.stock-modal__empty { text-align: center; padding: 32px; color: var(--text-muted); }
.stock-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all var(--transition);
}
.stock-row:last-child { margin-bottom: 0; }
.stock-row:hover { border-color: var(--accent); background: var(--brand-green-light); }
.stock-row.selected { border-color: var(--accent); background: var(--brand-green-light); }
.stock-row__radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stock-row.selected .stock-row__radio { border-color: var(--accent); }
.stock-row.selected .stock-row__radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}
.stock-row__info {
    display: grid;
    grid-template-columns: minmax(96px, 1fr) minmax(72px, auto);
    align-items: center;
    column-gap: 20px;
    min-width: 0;
}
.stock-row__length,
.stock-row__pieces {
    font-weight: 600;
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
}
.stock-row__length { text-align: left; }
.stock-row__pieces { text-align: right; white-space: nowrap; }
.stock-row__price { font-weight: 700; font-size: 0.95rem; color: var(--brand-copper); white-space: nowrap; }
.stock-modal__footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}
.stock-modal__qty { display: flex; align-items: center; gap: 8px; }
.stock-modal__qty label { font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.stock-modal__qty input {
    width: 72px;
    padding: 8px 10px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    text-align: center;
    font-family: inherit;
}
.stock-modal__qty input:focus { outline: none; border-color: var(--accent); }
.stock-modal__add { flex: 1; }

/* ─── Brand Carousel ─── */
.brand-carousel-wrap {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
    overflow: hidden;
}
.brand-carousel-wrap h3 { text-align: center; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 20px; }
.brand-carousel { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); }
.brand-carousel__track {
    display: flex;
    gap: 48px;
    animation: brandScroll 30s linear infinite;
    width: max-content;
}
.brand-carousel__track:hover { animation-play-state: paused; }
@keyframes brandScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-item {
    flex-shrink: 0;
    padding: 12px 28px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    border: 1px solid var(--border);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}
.brand-item__logo {
    max-height: 32px;
    max-width: 120px;
    object-fit: contain;
}

/* ─── Products Page Layout ─── */
.products-page { padding: 28px 0 48px; }
.products-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.products-sidebar {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
    position: sticky;
    top: calc(var(--header-h) + var(--catbar-h) + 16px);
}
.products-sidebar h3 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.filter-group { margin-bottom: 18px; }
.filter-group label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 8px; }
.filter-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.products-main { min-width: 0; }
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.products-count { font-size: 0.88rem; color: var(--text-muted); }
.products-count strong { color: var(--primary); font-weight: 700; }
.products-count .filter-tag {
    display: inline-block;
    background: var(--brand-green-light);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
}

/* Loading */
.loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 20px; gap: 16px; }
.spinner {
    width: 44px;
    height: 44px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-state p { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }
.spinner-sm { width: 28px; height: 28px; border-width: 2px; }
.load-more-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    gap: 12px;
}
.load-more-state p { font-size: 0.85rem; color: var(--text-muted); }
.load-more-end {
    text-align: center;
    padding: 28px 20px 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ─── Footer ─── */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.75); margin-top: 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 1.8fr;
    gap: 40px;
    padding: 56px 0 40px;
}
.footer-brand img { height: 56px; margin-bottom: 16px; border-radius: 50%; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; opacity: 0.65; max-width: 320px; }
.footer-col h4,
.footer-legal-group h4 {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}
.footer-col ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a,
.footer-legal-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links a:hover,
.footer-legal-links a:hover { color: var(--accent); }
.footer-links__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(124, 181, 24, 0.55);
    flex-shrink: 0;
    transition: background var(--transition);
}
.footer-links a:hover .footer-links__dot { background: var(--accent); }

.footer-legal-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.footer-legal-group {
    padding: 18px 18px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-legal-group__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-legal-group__icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(124, 181, 24, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
.footer-legal-links { list-style: none; }
.footer-legal-links li { margin-bottom: 9px; }
.footer-legal-links li:last-child { margin-bottom: 0; }
.footer-legal-links a {
    line-height: 1.45;
    padding: 2px 0;
}
.footer-col--corporate h4 { margin-bottom: 16px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    opacity: 0.55;
}

/* ─── Static / Auth pages ─── */
.page-hero {
    background: var(--primary);
    color: #fff;
    padding: 40px 0;
    margin-bottom: 32px;
}
.page-hero h1 { font-size: 1.8rem; font-weight: 800; }
.page-hero p { opacity: 0.7; margin-top: 8px; font-size: 0.95rem; }
.page-content { padding-bottom: 48px; }

/* Legal pages */
.legal-page__hero {
    background: linear-gradient(135deg, #0f172a 0%, var(--primary) 50%, #1a2e1a 100%);
    padding: 44px 0 40px;
    margin-bottom: 0;
}
.legal-page__category {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(124, 181, 24, 0.18);
    border: 1px solid rgba(124, 181, 24, 0.35);
    color: #d9f99d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.legal-page__hero h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 16ch;
}
.legal-page__hero > .container > p {
    font-size: 1rem;
    opacity: 0.82;
    margin-top: 10px;
    max-width: 52ch;
    line-height: 1.55;
}
.legal-page__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.8rem;
    opacity: 0.6;
}
.legal-page__meta-sep { opacity: 0.5; }
.legal-page__body { padding-top: 28px; }
.legal-page__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.legal-sidebar {
    position: sticky;
    top: calc(var(--utility-bar-h) + var(--header-h) + 20px);
}
.legal-sidebar__head {
    padding: 18px 18px 14px;
    border-radius: var(--radius) var(--radius) 0 0;
    background: linear-gradient(180deg, var(--primary) 0%, #1e293b 100%);
    color: #fff;
}
.legal-sidebar__head h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.legal-sidebar__head p {
    font-size: 0.76rem;
    opacity: 0.72;
    margin: 0;
}
.legal-sidebar__nav {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
}
.legal-sidebar__group + .legal-sidebar__group {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.legal-sidebar__group-title {
    display: block;
    padding: 4px 10px 8px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}
.legal-sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all var(--transition);
    margin-bottom: 4px;
}
.legal-sidebar__link:hover {
    background: var(--bg);
    color: var(--primary);
}
.legal-sidebar__link.active {
    background: var(--brand-green-light);
    color: var(--primary);
    box-shadow: inset 0 0 0 1px rgba(124, 181, 24, 0.25);
}
.legal-sidebar__link-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.legal-sidebar__link.active .legal-sidebar__link-icon {
    background: rgba(255, 255, 255, 0.85);
}
.legal-sidebar__link-text { line-height: 1.35; }
.legal-sidebar__help {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(180deg, #fff 0%, var(--brand-green-light) 100%);
    border-color: rgba(124, 181, 24, 0.25);
    margin-bottom: 0;
}
.legal-sidebar__help strong {
    display: block;
    font-size: 0.88rem;
    color: var(--primary);
    margin-bottom: 6px;
}
.legal-sidebar__help p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}
.legal-main { min-width: 0; }
.legal-content {
    padding: 0;
    margin-bottom: 0;
    overflow: hidden;
}
.legal-content__body {
    padding: 36px 40px;
}
.legal-content h2,
.legal-content__body h2 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 32px 0 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--primary);
}
.legal-content h2:first-child,
.legal-content__body h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.legal-content p,
.legal-content li,
.legal-content__body p,
.legal-content__body li {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}
.legal-content ul,
.legal-content__body ul {
    padding-left: 0;
    margin-bottom: 16px;
    list-style: none;
}
.legal-content ul li,
.legal-content__body ul li {
    position: relative;
    padding-left: 18px;
}
.legal-content ul li::before,
.legal-content__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.legal-content strong,
.legal-content__body strong { color: var(--primary); }

.card { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; margin-bottom: 24px; border: 1px solid var(--border); }
.auth-card { max-width: 440px; margin: 40px auto; }
.auth-card h2 { text-align: center; margin-bottom: 24px; color: var(--primary); font-weight: 700; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.85rem; }
.form-control { width: 100%; padding: 11px 14px; border: 1px solid var(--border-dark); border-radius: var(--radius-sm); font-size: 0.92rem; font-family: inherit; transition: border-color var(--transition); background: var(--bg-white); }
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,181,24,0.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 0.88rem; font-weight: 500; }
.alert-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid #fecaca; }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #a7f3d0; }

table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table th { background: var(--bg); font-weight: 600; font-size: 0.82rem; }

.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: #fef9e7; color: var(--warning); }
.badge-info { background: #dbeafe; color: #2563eb; }

.tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 2px solid var(--border); }
.tab { padding: 12px 24px; cursor: pointer; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; font-size: 0.88rem; }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Customer account panel */
.account-page { padding-bottom: 48px; }
.account-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 55%, #0f2744 100%);
    color: #fff;
    padding: 28px 0 32px;
    margin-bottom: 28px;
}
.account-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.account-hero__profile {
    display: flex;
    align-items: center;
    gap: 18px;
}
.account-hero__avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.account-hero__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 4px;
}
.account-hero h1 {
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.account-hero p {
    font-size: 0.88rem;
    opacity: 0.85;
    margin: 0;
}
.account-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.account-hero__cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.08);
}
.account-hero__cart:hover {
    background: rgba(255, 255, 255, 0.16);
}
.account-hero__badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.account-page__body { max-width: 1180px; }

.account-panel-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}
.account-panel-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-white);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(17, 17, 17, 0.04);
    position: relative;
    min-width: 0;
}
.account-panel-tab:hover {
    border-color: rgba(124, 181, 24, 0.35);
    box-shadow: 0 4px 14px rgba(17, 17, 17, 0.06);
    transform: translateY(-1px);
}
.account-panel-tab.active {
    border-color: rgba(124, 181, 24, 0.45);
    background: linear-gradient(180deg, #ffffff 0%, var(--brand-green-light) 100%);
    box-shadow: inset 0 0 0 1px rgba(124, 181, 24, 0.2), 0 6px 18px rgba(124, 181, 24, 0.14);
}
.account-panel-tab__icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.account-panel-tab.active .account-panel-tab__icon {
    background: rgba(255, 255, 255, 0.85);
}
.account-panel-tab--dashboard.active .account-panel-tab__icon { background: #eff6ff; }
.account-panel-tab--profile.active .account-panel-tab__icon { background: #f5f3ff; }
.account-panel-tab--address.active .account-panel-tab__icon { background: #fff7ed; }
.account-panel-tab--billing.active .account-panel-tab__icon { background: #ecfdf5; }
.account-panel-tab--orders.active .account-panel-tab__icon { background: #fef9e7; }
.account-panel-tab__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.account-panel-tab__label {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.account-panel-tab__desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.account-panel-tab__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.account-panel-tab--address .account-panel-tab__badge {
    background: #ea580c;
}
.account-panel-tab--orders .account-panel-tab__badge {
    background: var(--accent);
}

.account-toast {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.account-toast--success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid #a7f3d0;
}
.account-toast--error {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid #fecaca;
}

.account-tab-panel { animation: accountFadeIn 0.25s ease; }
@keyframes accountFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.account-section { overflow: hidden; }
.account-section__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 0;
}
.account-section__head h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}
.account-section__head p {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}
.account-section__status {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.account-section__status--ok {
    background: var(--success-bg);
    color: var(--success);
}
.account-section__status--warn {
    background: #fff7ed;
    color: #ea580c;
}
.account-section__body { padding: 20px 24px; }
.account-section__foot {
    padding: 16px 24px 22px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
}
.account-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    cursor: pointer;
}
.account-check input { cursor: pointer; }

.account-orders-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #fafbfc 0%, var(--bg) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.account-orders-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.account-orders-tab:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--border);
    color: var(--primary);
}
.account-orders-tab.active {
    background: var(--bg-white);
    color: var(--primary);
    border-color: var(--border);
    box-shadow: 0 2px 10px rgba(17, 17, 17, 0.07);
}
.account-orders-tab__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.account-orders-tab.active .account-orders-tab__icon { background: var(--brand-green-light); }
.account-orders-tab--6.active { border-color: rgba(217, 119, 6, 0.25); }
.account-orders-tab--6.active .account-orders-tab__icon { background: #fef9e7; }
.account-orders-tab--2.active { border-color: rgba(234, 88, 12, 0.25); }
.account-orders-tab--2.active .account-orders-tab__icon { background: #fff7ed; }
.account-orders-tab--3.active { border-color: rgba(37, 99, 235, 0.25); }
.account-orders-tab--3.active .account-orders-tab__icon { background: #dbeafe; }
.account-orders-tab--4.active { border-color: rgba(5, 150, 105, 0.25); }
.account-orders-tab--4.active .account-orders-tab__icon { background: var(--success-bg); }
.account-orders-tab--5.active { border-color: rgba(220, 38, 38, 0.25); }
.account-orders-tab--5.active .account-orders-tab__icon { background: var(--danger-bg); }
.account-orders-tab__count {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #e5e7eb;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.account-orders-tab.active .account-orders-tab__count { background: var(--primary); color: #fff; }
.account-orders-tab--6.active .account-orders-tab__count { background: var(--warning); }
.account-orders-tab--2.active .account-orders-tab__count { background: #ea580c; }
.account-orders-tab--3.active .account-orders-tab__count { background: #2563eb; }
.account-orders-tab--4.active .account-orders-tab__count { background: var(--success); }
.account-orders-tab--5.active .account-orders-tab__count { background: var(--danger); }

.account-orders-card { padding: 0; overflow: hidden; }
.account-table th {
    background: var(--bg);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}
.account-table td { font-size: 0.86rem; }
.account-orders-table__meta {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.account-empty {
    padding: 40px 24px;
    text-align: center;
}
.account-empty__icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.6;
}
.account-empty h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}
.account-empty p {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.account-alert {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
    border-color: #fde68a;
}
.account-alert__icon { font-size: 1.6rem; flex-shrink: 0; }
.account-alert strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
}
.account-alert p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.account-modal {
    max-width: 440px;
    margin: 100px auto;
    padding: 0;
    overflow: hidden;
}
.account-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
}
.account-modal__head h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}
.account-modal__close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: var(--bg);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
}
.account-modal__sub {
    padding: 8px 24px 0;
    color: var(--text-muted);
    font-size: 0.86rem;
}
.account-modal__details {
    display: grid;
    gap: 12px;
    padding: 16px 24px;
}
.account-modal__details > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
}
.account-modal__details dt {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}
.account-modal__details dd {
    margin: 0;
    font-size: 0.86rem;
    color: var(--primary);
    font-weight: 700;
    text-align: right;
}
.account-modal .btn { margin: 0 24px 24px; width: calc(100% - 48px); }

@media (max-width: 1024px) {
    .account-panel-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .account-panel-tabs { grid-template-columns: 1fr 1fr; }
    .account-panel-tab__desc { display: none; }
    .account-hero h1 { font-size: 1.25rem; }
    .account-orders-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .account-orders-tab { flex: 0 0 auto; }
}

.store-panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }


.store-dashboard { display: flex; flex-direction: column; gap: 20px; }
.store-dashboard__welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 24px 28px;
}
.store-dashboard__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-hover);
    margin-bottom: 6px;
}
.store-dashboard__welcome h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}
.store-dashboard__welcome p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

.store-dashboard__stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.store-stat-card--clickable {
    cursor: pointer;
    border: 1px solid transparent;
    text-align: left;
    width: 100%;
    font: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.store-stat-card--clickable:hover {
    border-color: var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.store-stat-card--clickable.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.store-stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.store-stat-card--accent {
    background: linear-gradient(135deg, var(--brand-green-light) 0%, #f8fbf2 100%);
    border-color: rgba(124, 181, 24, 0.25);
}
.store-stat-card__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.store-stat-card__value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}
.store-stat-card--accent .store-stat-card__value { color: var(--accent-hover); }
.store-stat-card__hint {
    font-size: 0.78rem;
    color: var(--text-light);
}

.store-dashboard__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.store-dashboard__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.store-dashboard__panel-head h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.store-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.store-quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
}
.store-quick-action:hover {
    border-color: var(--accent);
    background: var(--brand-green-light);
}
.store-quick-action__icon { font-size: 1.25rem; }
.store-quick-action__text {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.store-dashboard__info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.store-dashboard__info-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}
.store-dashboard__info-list li:last-child { border-bottom: none; padding-bottom: 0; }
.store-dashboard__info-list span { color: var(--text-muted); flex-shrink: 0; }
.store-dashboard__info-list strong {
    text-align: right;
    color: var(--text);
    font-weight: 600;
}

.upload-area { border: 2px dashed var(--border); border-radius: var(--radius); padding: 32px; text-align: center; margin-bottom: 24px; }
.upload-area input { margin-top: 12px; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state__icon { font-size: 3rem; margin-bottom: 12px; opacity: 0.4; }
.empty-state h3 { font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }

/* Stores grid */
.stores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.page-hero--depots {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%);
}
.depots-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    margin-bottom: 24px;
}
.depots-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    flex: 1;
}
.depots-filter {
    min-width: 180px;
    flex: 1;
    max-width: 240px;
}
.depots-filter label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.depots-toolbar__clear { white-space: nowrap; }
.depots-toolbar__summary {
    font-size: 0.92rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.depots-toolbar__summary strong {
    font-size: 1.35rem;
    color: var(--primary);
    margin-right: 6px;
}
.depots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.depot-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.depot-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(124, 181, 24, 0.35);
}
.depot-card__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.depot-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--brand-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.depot-card__eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.depot-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35;
}
.depot-card__location {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.depot-card__location-item {
    min-width: 0;
}
.depot-card__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.depot-card__location-item strong {
    font-size: 0.95rem;
    color: var(--text);
    word-break: break-word;
}
.depot-card__footer {
    margin-top: auto;
    padding-top: 4px;
}
.depot-card__stock {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(124, 181, 24, 0.12);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 700;
}
.depot-card__stock--empty {
    background: var(--bg);
    color: var(--text-muted);
}
.store-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition);
}
.store-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.store-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.store-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-info-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.contact-info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-item__icon { font-size: 1.2rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 2px; }
.contact-item span { font-size: 0.88rem; color: var(--text-muted); }

/* Toast notification */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 2000;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.toast--success { background: var(--success); }
.toast--info { background: var(--primary); }
.global-toast { z-index: 3000; }

.auth-prompt-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.2s ease;
}
.auth-prompt {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 420px;
    width: 100%;
    padding: 32px 28px;
    text-align: center;
}
.auth-prompt__icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}
.auth-prompt h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}
.auth-prompt p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}
.auth-prompt__line {
    color: var(--text);
    font-size: 0.85rem;
}
.auth-prompt__hint {
    font-size: 0.82rem !important;
    background: var(--brand-green-light);
    color: var(--accent-hover);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin: 16px 0 20px !important;
}
.auth-prompt__actions {
    display: flex;
    gap: 10px;
}
.auth-prompt__actions .btn { flex: 1; }

/* Message modal */
.message-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 42, 68, 0.55);
    z-index: 2600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.15s ease;
}
.message-modal {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 460px;
    width: 100%;
    padding: 32px 28px 24px;
    text-align: center;
    animation: slideUp 0.2s ease;
    border-top: 4px solid var(--accent);
}
.message-modal--error { border-top-color: var(--danger); }
.message-modal--success { border-top-color: var(--success); }
.message-modal__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}
.message-modal--success .message-modal__icon {
    background: var(--success-bg);
    color: var(--success);
}
.message-modal--error .message-modal__icon {
    background: var(--danger-bg);
    color: var(--danger);
}
.message-modal__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
.message-modal__text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}
.message-modal__details {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    text-align: left;
}
.message-modal__details li {
    font-size: 0.84rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin-bottom: 8px;
    line-height: 1.5;
}
.message-modal__details li:last-child { margin-bottom: 0; }
.message-modal__actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}
.message-modal__actions .btn { flex: 1; }

/* Register page */
.page-hero--register {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%);
}
.register-page .container { max-width: 1280px; }
.register-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    align-items: start;
}
.register-aside {
    position: sticky;
    top: 24px;
    padding: 28px;
}
.register-aside__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.register-aside h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
.register-aside > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}
.register-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.register-benefits li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.register-benefits li:last-child { border-bottom: none; }
.register-benefits span {
    color: var(--accent);
    font-weight: 800;
}
.register-aside .pending-cart-banner { margin-bottom: 0; }
.register-form { padding: 0; overflow: hidden; }
.register-form form { padding: 28px; }
.register-section {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.register-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.register-section__head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.register-section__icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(15, 42, 68, 0.06);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.register-section__head h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.register-section__head p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}
.register-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: -4px;
}
.register-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
}
.register-login-link {
    text-align: center;
    padding: 0 28px 28px;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.register-login-link a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

/* Login page */
.page-hero--login {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%);
}
.login-page .container { max-width: 1280px; }
.login-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    align-items: start;
}
.login-aside {
    position: sticky;
    top: 24px;
    padding: 28px;
}
.login-aside__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.login-aside h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
.login-aside > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}
.login-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.login-benefits li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.login-benefits li:last-child { border-bottom: none; }
.login-benefits span {
    color: var(--accent);
    font-weight: 800;
}
.login-aside__links {
    margin-bottom: 20px;
}
.login-aside__link {
    display: inline-flex;
    align-items: center;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--accent-hover);
    text-decoration: none;
}
.login-aside__link:hover { text-decoration: underline; }
.login-aside .pending-cart-banner { margin-bottom: 0; }
.login-form { padding: 0; overflow: hidden; }
.login-form form { padding: 28px; }
.login-section {
    padding-bottom: 8px;
    margin-bottom: 0;
}
.login-section__head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.login-section__icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(15, 42, 68, 0.06);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.login-section__head h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.login-section__head p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}
.login-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
}
.login-register-link {
    text-align: center;
    padding: 0 28px 28px;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.login-register-link a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.pending-cart-banner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--brand-green-light) 0%, #f0f7e8 100%);
    border: 1px solid rgba(124, 181, 24, 0.35);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    text-align: left;
}
.pending-cart-banner__icon { font-size: 1.5rem; flex-shrink: 0; }
.pending-cart-banner strong {
    display: block;
    font-size: 0.92rem;
    color: var(--primary);
    margin-bottom: 4px;
}
.pending-cart-banner p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}
.pending-cart-banner em { font-style: normal; font-weight: 600; color: var(--text); }

.alert-info { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ─── Product Detail ─── */
.product-detail-page { padding: 28px 0 56px; }
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span:last-child {
    color: var(--text);
    font-weight: 500;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: start;
}

.product-detail-gallery__main {
    aspect-ratio: 1;
    background: linear-gradient(145deg, #f0f2f5 0%, #e2e6ea 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-detail-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}
.product-detail-gallery__placeholder {
    flex-direction: column;
    gap: 12px;
    color: var(--text-muted);
}
.product-detail-gallery__placeholder span { font-size: 3.5rem; opacity: 0.35; }
.product-detail-gallery__placeholder p { font-size: 0.88rem; font-weight: 500; margin: 0; }

.product-detail-gallery__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.product-detail-gallery__thumbs button {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition);
}
.product-detail-gallery__thumbs button:hover,
.product-detail-gallery__thumbs button.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 181, 24, 0.15);
}
.product-detail-gallery__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.product-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-detail-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand-green-light);
    color: var(--accent-hover);
}
.product-detail-title {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--primary);
    margin: 0;
}
.product-detail-code,
.product-detail-unit {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.product-detail-code strong {
    color: var(--text);
    font-family: 'Courier New', monospace;
}
.product-detail-section {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.product-detail-section__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.product-detail-stock-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.product-detail-stock-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.product-detail-actions .btn-block { width: 100%; }

.product-detail-description p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text);
    white-space: pre-wrap;
    margin: 0;
}
.product-detail-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-detail-stock-list { width: 100%; }
.stock-row--detail { cursor: pointer; }
.product-detail-stock-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.product-detail-stock-footer .stock-modal__qty { margin: 0; }
.product-detail-stock-footer .btn { min-width: 160px; }

.pro-card__image-link,
.pro-card__title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.pro-card__title-link:hover .pro-card__title { color: var(--accent-hover); }

/* Responsive */
@media (max-width: 1024px) {
    .home-hero-layout { grid-template-columns: 1fr; }
    .home-categories { position: static; }
    .products-layout { grid-template-columns: 1fr; }
    .products-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-carousel__item { flex: 0 0 33.333%; }
    .product-detail-layout { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
    .header-utility__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 8px 0;
    }
    .header-utility__left,
    .header-utility__right {
        justify-content: center;
        gap: 10px;
    }
    .header-utility__item--hide-sm { display: none !important; }
    .header-utility__left .header-utility__item span {
        white-space: normal;
        text-align: center;
    }
    .main-nav { display: none; }
    .header-actions .btn-ghost { display: none; }
    .header-actions .btn-accent.store-apply-btn { display: none; }
    .store-dashboard__grid { grid-template-columns: 1fr; }
    .store-info-layout { grid-template-columns: 1fr; }
    .store-info-tiles { grid-template-columns: 1fr; }
    .store-info-hero__brand { flex-direction: column; align-items: center; text-align: center; }
    .store-info-hero__meta { justify-content: center; }
    .store-stocks-dashboard { grid-template-columns: 1fr 1fr; }
    .store-stocks-toolbar { flex-direction: column; align-items: stretch; }
    .store-stocks-toolbar__search,
    .store-stocks-toolbar__filter { width: 100%; min-width: 0; }
    .store-panel-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .store-panel-tab { flex: 0 0 auto; }
    .store-stocks-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .store-stocks-tab { flex: 0 0 auto; }
    .store-sub-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .store-sub-tab { flex: 0 0 auto; }
    .store-stock-entry-layout { grid-template-columns: 1fr; }
    .store-bulk-steps { grid-template-columns: 1fr; }
    .store-bulk-result__summary { grid-template-columns: 1fr; }
    .store-order-detail-grid { grid-template-columns: 1fr; }
    .store-order-detail-grid .store-order-detail-section:first-child { border-right: none; border-bottom: 1px solid var(--border); }
    .store-order-detail-modal { margin: 20px 12px; max-height: calc(100vh - 40px); }
    .store-quick-actions { grid-template-columns: 1fr; }
    .hero-slide { padding: 32px 28px; }
    .hero-slide__content h2 { font-size: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-legal-panel { grid-template-columns: 1fr; }
    .legal-page__layout { grid-template-columns: 1fr; }
    .legal-sidebar { position: static; }
    .legal-sidebar__nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 14px;
    }
    .legal-sidebar__group {
        display: flex;
        gap: 8px;
        flex: 0 0 auto;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }
    .legal-sidebar__group-title { display: none; }
    .legal-sidebar__link { white-space: nowrap; margin: 0; }
    .legal-sidebar__help { display: none; }
    .legal-sidebar__head { border-radius: var(--radius); margin-bottom: 12px; }
    .legal-content__body { padding: 24px 20px; }
    .legal-page__hero h1 { font-size: 1.45rem; max-width: none; }
    .csr-home-counters { grid-template-columns: 1fr; }
    .csr-stats__grid { grid-template-columns: 1fr; }
    .csr-about { grid-template-columns: 1fr; }
    .csr-partners__grid { grid-template-columns: 1fr; }
    .csr-home-section__head { align-items: flex-start; }
    .about-intro { flex-direction: column; }
    .about-pillars__grid { grid-template-columns: 1fr; }
    .about-story { grid-template-columns: 1fr; }
    .about-values__grid { grid-template-columns: 1fr 1fr; }
    .about-cta { flex-direction: column; align-items: flex-start; }
    .contact-grid { grid-template-columns: 1fr; }
    .store-apply-layout { grid-template-columns: 1fr; }
    .store-apply-aside { position: static; }
    .store-apply-actions { justify-content: stretch; }
    .store-apply-actions .btn { width: 100%; }
    .register-layout { grid-template-columns: 1fr; }
    .register-aside { position: static; }
    .register-actions { justify-content: stretch; }
    .register-actions .btn { width: 100%; }
    .login-layout { grid-template-columns: 1fr; }
    .login-aside { position: static; }
    .login-actions { justify-content: stretch; }
    .login-actions .btn { width: 100%; }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .cart-item {
        grid-template-columns: 56px minmax(0, 1fr);
        grid-template-areas:
            "media info"
            "media qty"
            "price price";
        gap: 10px 12px;
    }
    .cart-item__media { grid-area: media; width: 56px; height: 56px; }
    .cart-item__info { grid-area: info; }
    .cart-item__qty { grid-area: qty; }
    .cart-item__price {
        grid-area: price;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        min-width: 0;
    }
    .cart-form__row { grid-template-columns: 1fr; }
    .message-modal__actions { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
    .stock-row { grid-template-columns: auto 1fr auto; }
    .product-carousel__item { flex: 0 0 50%; }
    .product-carousel__arrow { width: 36px; height: 36px; font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .product-carousel__item { flex: 0 0 100%; }
}
