:root {
    --bg: #f6f3ea;
    --surface: #ffffff;
    --beige: #f0ead7;
    --text: #1a1a1a;
    --muted: #666;
    --brand: #c62828;
    --brand-dark: #8e0000;
    --line: #e7e2d6;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; font-family: "Segoe UI", Tahoma, sans-serif; background: var(--bg); color: var(--text); display: flex; flex-direction: column; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.brand-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.brand-logo { height: 40px; width: auto; max-width: 180px; border-radius: 0; object-fit: contain; display: block; }
.menu { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.menu a, .link-btn { padding: 8px 12px; border-radius: 9px; font-weight: 600; font-size: 13px; }
.menu-link { display: inline-flex; align-items: center; gap: 7px; line-height: 1; font-size: 13px; font-weight: 600; color: #1a1a1a; }
.menu-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.menu .active { background: var(--brand); color: #fff; }
.menu-cart-wrap { position: relative; display: inline-flex; align-items: center; }
.menu-badge { position: absolute; top: -9px; right: -9px; width: 17px; height: 17px; border-radius: 999px; background: var(--brand); color: #fff; border: 2px solid #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.inline-form { display: inline; }
.link-btn { border: 0; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; padding: 0 4px; border-radius: 0; }
.page-wrapper { flex: 1 0 auto; min-height: 0; background: var(--beige); }
.hero { min-height: 560px; background-size: cover; background-position: center; display: grid; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(48px, 5vw, 80px); max-width: 700px; margin: 0 0 12px; line-height: 1.06; }
.hero p { color: #fff; max-width: 580px; font-size: 20px; margin-bottom: 24px; }
.section { padding: 48px 0; }
.section h1, .section h2 { margin-top: 0; font-size: 46px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 18px; }
.section-head a { color: var(--brand); font-weight: 700; }
.beige { background: var(--beige); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.category-card { height: 165px; border-radius: 14px; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 14px; font-weight: 700; color: #fff; font-size: 14px; line-height: 1.15; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.product-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.product-card img { width: 100%; height: 180px; object-fit: cover; }
.product-body { padding: 14px; }
.product-body h3 { margin: 0 0 8px; font-size: 30px; }
.product-body p { margin: 0 0 12px; color: var(--muted); font-size: 20px; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 20px; }
.btn { border: 0; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 18px; }
.btn:hover { background: var(--brand-dark); }
.btn-small { padding: 7px 10px; font-size: 16px; }
.btn-outline { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--brand); color: #fff; border-color: var(--brand); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { border: 1px solid #ddd; padding: 8px 12px; border-radius: 999px; background: #fff; font-size: 16px; }
.chip.active { border-color: var(--brand); background: #fff5f5; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-detail img { width: 100%; border-radius: 14px; border: 1px solid var(--line); height: 460px; object-fit: cover; }
.muted { color: var(--muted); }
.row-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-form input, .row-form select { padding: 8px; border: 1px solid #ddd; border-radius: 8px; font-size: 20px; }
.affiliate-status-form select { font-size: 14px; padding: 8px 10px; }
.table { width: 100%; border-collapse: collapse; margin: 14px 0; background: #fff; border: 1px solid var(--line); }
.table th, .table td { padding: 11px; border-bottom: 1px solid var(--line); text-align: left; font-size: 16px; }
.qty { width: 100px; padding: 7px; border-radius: 8px; border: 1px solid #ddd; font-size: 16px; }
.totals { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; width: fit-content; min-width: 270px; font-size: 16px; }
.auth-wrap { display: grid; place-items: center; }
.auth-card { width: min(500px, 92%); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.auth-helper { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.auth-helper h2 { margin: 0; font-size: 24px; }
.auth-helper p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.auth-recovery-result { padding: 12px 14px; border-radius: 12px; background: #fff5f5; border: 1px solid #f2c4c4; display: grid; gap: 6px; }
.auth-recovery-result strong { color: #7f1d1d; font-size: 15px; }
.auth-recovery-result a { color: var(--brand); font-weight: 700; word-break: break-all; }
.form-grid { display: grid; gap: 10px; }
.form-grid label { display: grid; gap: 4px; font-weight: 600; font-size: 16px; }
.form-grid input, .form-grid textarea, .form-grid select { padding: 9px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; }
.checkout-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; height: fit-content; font-size: 16px; }
.account-head { display: flex; justify-content: space-between; flex-wrap: wrap; font-size: 16px; }
.points-account-card { background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px 14px; margin-bottom:14px; display:grid; gap:4px; }
.flash { padding: 10px 14px; border-radius: 8px; margin: 15px auto 0; width: min(1200px, 92%); font-weight: 600; background: #fff; border: 1px solid var(--line); color: var(--text); }
.flash.success { background: #fff; color: #155724; border-color: #b6e0c4; }
.flash.error { background: #fff; color: #7f1d1d; border-color: #f6b4b4; }
.footer-rich { background: #15171c; color: #e5e8ef; margin-top: 0; }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 36px 0 20px; }
.footer-columns h3 { margin: 0 0 8px; color: #fff; font-size: 28px; }
.footer-columns p, .footer-columns li, .footer-columns a { font-size: 16px; color: #b8c2d8; line-height: 1.55; }
.footer-columns ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-social { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a { width: 26px; height: 26px; display: grid; place-items: center; color: #eef3ff; border: 0; background: transparent; opacity: 0.95; transition: opacity .18s ease; }
.footer-social a svg { width: 20px; height: 20px; }
.footer-social a:hover { opacity: 1; color: #fff; }
.footer-social svg.icon-fill { fill: currentColor; stroke: none; }
.footer-social svg.icon-stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { border-top: 1px solid #26314a; padding: 16px 0 24px; text-align: center; font-size: 14px; color: #9ca9c3; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-cert { display: inline-flex; align-items: center; gap: 5px; color: #4caf82; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.footer-cert-icon { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.footer-top-bar { width: 100%; background: #15171c; padding-top: 22px; }
.footer-top-bar img {
    display: block;
    width: 100%;
    height: clamp(24px, 2.6vw, 42px);
    object-fit: contain;
}

.product-dialog { width: min(520px, 92vw); border: 0; border-radius: 14px; padding: 0; overflow: hidden; max-height: 90vh; background: #fff; }
.product-dialog::backdrop { background: rgba(0, 0, 0, 0.5); }
.dialog-head { min-height: 190px; background-size: cover; background-position: center; color: #fff; padding: 20px 18px 16px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.dialog-close-btn { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.92); color: #222; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; }
.dialog-head h3 { margin: 0; font-size: 39px; line-height: 1.1; }
.dialog-head p { margin: 4px 0 0; font-size: 15px; }
.dialog-body { padding: 16px; display: grid; gap: 12px; max-height: calc(90vh - 190px); overflow: auto; background: #f7f7f8; }
.recipe-tip { background: #ece7d3; border-radius: 12px; padding: 12px 14px; }
.recipe-tip strong { display: block; font-size: 16px; margin-bottom: 5px; }
.recipe-tip p { margin: 0; color: #455268; font-size: 14px; }
.dialog-body > label { font-weight: 700; font-size: 16px; color: #0f1622; }
.qty-picker { display: flex; align-items: center; gap: 14px; }
.qty-picker input { width: 120px; text-align: center; border: 0; background: transparent; font-weight: 700; font-size: 20px; padding: 0; }
.qty-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #d7dbe4; background: #fff; font-size: 30px; cursor: pointer; color: #3a4454; line-height: 1; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.option-pill { border: 1px solid #d5d9e1; border-radius: 12px; padding: 10px 12px; display: flex; gap: 8px; align-items: center; font-size: 15px; background: #fff; }
.option-pill:has(input:checked) { border-color: #d62a2f; box-shadow: inset 0 0 0 1px #d62a2f; }
.dialog-total-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #dedede; padding-top: 10px; margin-top: 6px; }
.dialog-total-row span { color: #47546a; font-size: 17px; }
.dialog-total-row strong { color: #d62a2f; font-size: 36px; line-height: 1; }
.dialog-actions { margin-top: 0; }
.dialog-actions .btn-full { border-radius: 12px; padding: 12px 16px; font-size: 18px; }
.nutrition-block { margin-top: 2px; }
.nutrition-toggle { width: 100%; border: 1px solid #d9dce3; background: #fff; color: #202938; border-radius: 10px; padding: 9px 12px; font-weight: 700; cursor: pointer; text-align: left; }
.nutrition-toggle.is-open { border-color: #d62a2f; color: #d62a2f; }
.nutrition-content { margin-top: 8px; border: 1px solid #e1e4ec; border-radius: 10px; background: #fff; padding: 10px 12px; }
.nutrition-content pre { margin: 0; white-space: pre-wrap; font-family: inherit; font-size: 14px; color: #4a576c; line-height: 1.4; }
.postcode-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 12, 18, 0.62);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 120;
    padding: 18px;
}
.postcode-popup-overlay.is-open { display: flex; }
.postcode-popup-card {
    width: min(520px, 92vw);
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e6ef;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    padding: 18px;
    position: relative;
}
.postcode-popup-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #d2d9e6;
    background: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.postcode-popup-card h3 { margin: 4px 0 8px; font-size: 30px; }
.postcode-popup-card p { margin: 0 0 14px; color: #5f6d82; font-size: 15px; }
.postcode-popup-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.postcode-popup-form input {
    width: 100%;
    height: 44px;
    border: 1px solid #d5dbe7;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 16px;
}
.postcode-popup-result {
    margin-top: 12px;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 600;
    background: #f5f7fb;
    color: #3e4a5e;
}
.postcode-popup-result.is-success {
    background: #e8f7ef;
    color: #1b7b51;
    border: 1px solid #bce4cd;
}
.postcode-popup-result.is-error {
    background: #fff0f0;
    color: #c62828;
    border: 1px solid #f2b8b8;
}
.content-page-body { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; line-height: 1.6; color: #2a3548; }
.about-top-strip { height: 68px; background: var(--beige); }
.about-values-section { padding-top: 56px; padding-bottom: 64px; }
.about-contact-card { background: #14171d; border-radius: 26px; color: #fff; padding: 44px 46px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; }
.about-contact-card h2 { margin: 0 0 12px; font-size: 42px; }
.about-contact-card p { margin: 0 0 22px; color: #d3deef; font-size: 15px; max-width: 620px; }
.about-contact-list { display: grid; gap: 14px; }
.about-contact-list div { display: grid; gap: 4px; }
.about-contact-list strong { font-size: 17px; color: #fff; }
.about-contact-list span { color: #d3deef; font-size: 15px; line-height: 1.45; }
.about-cta-side { display: grid; align-content: center; justify-content: start; gap: 10px; }
.about-cta-side p { margin: 0; color: #d3deef; }
.legal-head-wrap { padding-bottom: 26px; }
.legal-head { max-width: 880px; text-align: center; }
.legal-icon { width: 64px; height: 64px; background: #d62a2f; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 14px; }
.legal-icon svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.legal-head h1 { margin: 0 0 6px; font-size: 44px; }
.legal-updated { margin: 0; color: #65738a; font-size: 15px; }
.legal-content-wrap { max-width: 920px; }
.legal-content-body { padding: 28px 30px; border-radius: 18px; }
.legal-content-body p, .legal-content-body li { font-size: 16px; }

.admin-body {
    --admin-bg: #f2f4f8;
    --admin-surface: #ffffff;
    --admin-surface-2: #f7f9fc;
    --admin-border: #dfe5ef;
    --admin-text: #101828;
    --admin-muted: #667085;
    --admin-sidebar-bg: #0f1524;
    --admin-sidebar-border: #1c273d;
    --admin-link: #b7c4df;
    --admin-link-hover: #ffffff;
    --admin-brand: #d52a2f;
    background: var(--admin-bg);
    color: var(--admin-text);
}
.admin-body.admin-theme-dark {
    --admin-bg: #10151f;
    --admin-surface: #171e2b;
    --admin-surface-2: #1d2534;
    --admin-border: #283246;
    --admin-text: #e7edf8;
    --admin-muted: #9ca9c1;
    --admin-sidebar-bg: #0b111d;
    --admin-sidebar-border: #1a2538;
    --admin-link: #9fb0ce;
    --admin-link-hover: #ffffff;
}
.admin-shell { min-height: 100vh; }
.admin-sidebar {
    background: linear-gradient(180deg, #0b0f17 0%, #080c13 100%);
    color: #fff;
    padding: 14px 12px;
    border-right: 1px solid var(--admin-sidebar-border);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 10px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    overflow-y: auto;
    z-index: 40;
}
.admin-brand { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 8px; padding: 2px 6px 10px; border-bottom: 1px solid var(--admin-sidebar-border); }
.admin-brand-logo { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; background: #fff; padding: 5px; }
.admin-brand-dot { width: 42px; height: 42px; border-radius: 11px; background: var(--admin-brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.admin-brand strong { display: block; font-size: 18px; color: #fff; line-height: 1.1; }
.admin-brand small { color: #98a8c7; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.admin-nav { display: grid; gap: 2px; align-content: start; }
.admin-nav-section { margin: 8px 8px 0; color: #5f6d8a; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.admin-nav-item { color: var(--admin-link); padding: 8px 10px; border-radius: 0; font-size: 15px; font-weight: 600; border: 1px solid transparent; transition: all .18s ease; display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: center; position: relative; }
.admin-nav-item svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; opacity: .92; }
.admin-nav-item:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.admin-nav-item.is-active { background: rgba(149, 25, 25, 0.33); color: #fff; border-color: rgba(213, 42, 47, 0.3); }
.admin-nav-item.is-active::before { content: ""; position: absolute; left: -16px; top: 0; bottom: 0; width: 4px; background: #e1262c; border-radius: 0 2px 2px 0; }
.admin-nav-item.is-disabled { opacity: .68; cursor: not-allowed; pointer-events: none; }
.admin-sidebar-bottom { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--admin-sidebar-border); }
.admin-theme-btn, .admin-logout-btn, .admin-store-link {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #2a3854;
    background: rgba(255, 255, 255, 0.04);
    color: #d7e2f8;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.admin-theme-btn svg, .admin-store-link svg, .admin-logout-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.admin-theme-btn:hover, .admin-logout-btn:hover, .admin-store-link:hover { border-color: #d52a2f; background: rgba(213, 42, 47, 0.2); color: #fff; }
.admin-store-link { text-decoration: none; display: inline-flex; align-items: center; }
.admin-user-row { margin-top: 2px; padding-top: 10px; border-top: 1px solid #1e2a40; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.admin-user-meta strong { display: block; color: #fff; font-size: 22px; line-height: 1.2; }
.admin-user-meta small { color: #95a6c5; font-size: 13px; }
.admin-logout-icon { width: 34px; height: 34px; border-radius: 8px; border: 1px solid #2a3854; background: rgba(255, 255, 255, 0.04); color: #d7e2f8; display: grid; place-items: center; cursor: pointer; }
.admin-logout-icon:hover { border-color: #d52a2f; background: rgba(213, 42, 47, 0.2); color: #fff; }
.admin-main { padding: 24px; background: var(--admin-bg); color: var(--admin-text); margin-left: 280px; min-height: 100vh; }
.admin-main h1 { margin: 0 0 6px; }
.admin-main .muted { color: var(--admin-muted); }
.admin-main .flash { width: 100%; margin: 0 0 14px; }
.admin-main h2 { margin-top: 18px; }
.admin-page-actions { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 18px; }
.metrics-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.metrics-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metrics-grid-single-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}
.metrics-grid-single-row .metric {
    min-width: 0;
    flex: initial;
}
.metric { background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 14px; padding: 14px; box-shadow: 0 6px 18px rgba(12, 20, 33, 0.06); }
.metric span { display: block; color: var(--admin-muted); font-size: 13px; font-weight: 600; }
.metric strong { font-size: 38px; line-height: 1.1; }
.metric:nth-child(1) { border-left: 4px solid #5f83ff; }
.metric:nth-child(2) { border-left: 4px solid #e8a72e; }
.metric:nth-child(3) { border-left: 4px solid #2cb67d; }
.metric:nth-child(4) { border-left: 4px solid #d52a2f; }
.admin-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-dashboard-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.admin-dashboard-filter { margin-bottom: 12px; }
.admin-dashboard-filter select { width: 180px; padding: 9px 10px; border: 1px solid var(--admin-border); border-radius: 10px; background: var(--admin-surface); color: var(--admin-text); font-weight: 600; }
.admin-chart-box { min-height: 320px; }
.admin-chart-box h3 { margin-top: 0; }
.status-donut-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; margin-top: 8px; }
.status-donut { width: 200px; height: 200px; border-radius: 50%; margin: 0 auto; position: relative; }
.status-donut::after { content: ""; position: absolute; inset: 38px; background: var(--admin-surface); border-radius: 50%; border: 1px solid var(--admin-border); }
.status-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.status-legend li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--admin-muted); }
.status-legend li span { width: 12px; height: 12px; border-radius: 999px; display: inline-block; }
.admin-bars { display: grid; gap: 10px; margin-top: 8px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 120px; align-items: center; gap: 10px; }
.bar-row span { color: var(--admin-text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 12px; border-radius: 999px; background: var(--admin-surface-2); border: 1px solid var(--admin-border); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7f8797, #4fd7ad); }
.bar-row strong { text-align: right; color: var(--admin-text); font-size: 14px; }
.admin-vbars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; margin-top: 16px; min-height: 240px; }
.vbar-item { display: grid; gap: 8px; justify-items: center; }
.vbar-track { width: 100%; max-width: 90px; height: 180px; border: 1px solid var(--admin-border); border-radius: 10px; background: var(--admin-surface-2); display: flex; align-items: end; overflow: hidden; }
.vbar-fill { width: 100%; background: #8f95a2; border-radius: 8px 8px 0 0; }
.vbar-item small { text-align: center; color: var(--admin-muted); font-weight: 600; }
.admin-badge { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; display: inline-block; }
.badge-ok { background: #dff6ea; color: #1c8e5d; }
.badge-info { background: #e2ebff; color: #385fd0; }
.badge-warn { background: #fff3d7; color: #ab7a18; }
.badge-bad { background: #ffe3e3; color: #b22a2a; }
.order-detail-admin { margin-top: 22px; }
.order-detail-admin h2 { margin-bottom: 10px; }
.order-detail-admin h3 { margin: 14px 0 8px; }
.order-box { background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 12px; padding: 14px 16px; }
.order-meta p, .order-summary p { margin: 6px 0; line-height: 1.35; }
.admin-user-list { display: grid; gap: 12px; margin-top: 14px; }
.admin-user-card { background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 12px; padding: 12px; display: grid; grid-template-columns: 1.2fr 1.3fr 1fr 120px 150px auto; gap: 10px; align-items: end; }
.admin-user-card label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; color: #344155; }
.admin-user-card input, .admin-user-card select { width: 100%; padding: 9px 10px; border: 1px solid #d7dbe4; border-radius: 8px; font-size: 14px; }
.admin-user-actions { display: flex; justify-content: flex-end; }
.logistics-sections { align-items: start; }
.logistics-card { background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 12px; padding: 14px; display: grid; gap: 10px; }
.logistics-card h2 { margin: 0; font-size: 22px; }
.logistics-toggle { display: flex !important; align-items: center; gap: 10px; font-weight: 700; }
.logistics-toggle input { width: 16px; height: 16px; }
.logistics-days { display: flex; gap: 10px; flex-wrap: wrap; }
.logistics-days label { display: inline-flex !important; align-items: center; gap: 6px; font-size: 14px !important; font-weight: 600 !important; padding: 6px 10px; border: 1px solid #d8dde8; border-radius: 999px; background: #f9fafc; }
.logistics-days input { margin: 0; width: 14px; height: 14px; }
.logistics-inline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.admin-orders-filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 12px; }
.admin-orders-filters label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.admin-orders-filters input, .admin-orders-filters select { width: 100%; padding: 9px 10px; border: 1px solid #d7dbe4; border-radius: 8px; font-size: 14px; }
.admin-orders-actions { display: flex; gap: 8px; }
.admin-order-actions-row { gap: 8px; align-items: center; }
.admin-order-actions-row input, .admin-order-actions-row select { padding: 8px 10px; border: 1px solid #d7dbe4; border-radius: 8px; font-size: 14px; }
.admin-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.admin-pagination .is-disabled { opacity: 0.45; pointer-events: none; }
.admin-form-modal { width: min(860px, 92vw); border: 0; border-radius: 14px; padding: 0; background: var(--admin-surface); color: var(--admin-text); max-height: 90vh; }
.admin-form-modal::backdrop { background: rgba(15, 20, 32, 0.45); }
.admin-modal-form { padding: 14px; gap: 10px; max-height: 90vh; overflow: auto; }
.admin-modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; position: sticky; top: -14px; background: var(--admin-surface); padding: 8px 0; z-index: 2; border-bottom: 1px solid var(--admin-border); }
.admin-modal-head h2 { margin: 0; font-size: 24px; }
.admin-modal-close { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--admin-border); background: var(--admin-surface); color: var(--admin-text); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.admin-settings-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.admin-settings-tab {
    border: 1px solid var(--admin-border);
    background: var(--admin-surface);
    color: var(--admin-text);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.admin-settings-tab:hover { border-color: #d52a2f; color: #d52a2f; }
.admin-settings-tab.is-active { background: #d52a2f; border-color: #d52a2f; color: #fff; }
.admin-settings-panel {
    display: none;
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    padding: 14px;
    gap: 10px;
}
.admin-settings-panel.is-active { display: grid; }
.admin-settings-panel h2 { margin: 0 0 6px; }
.admin-social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-social-card { border: 1px solid var(--admin-border); border-radius: 10px; padding: 10px; display: grid; gap: 8px; background: var(--admin-surface-2); }
.admin-toggle-label { display: flex !important; align-items: center; gap: 8px; font-weight: 700; }
.admin-toggle-label input[type="checkbox"] { width: 16px; height: 16px; margin: 0; }
.admin-inline-note { border: 1px solid var(--admin-border); background: var(--admin-surface-2); border-radius: 10px; padding: 10px 12px; color: var(--admin-muted); font-size: 14px; }

.admin-main .table { background: var(--admin-surface); border-color: var(--admin-border); }
.admin-main .table th, .admin-main .table td { border-bottom-color: var(--admin-border); }
.admin-main .table th { background: var(--admin-surface-2); color: var(--admin-text); }
.admin-main input, .admin-main select, .admin-main textarea { background: var(--admin-surface); color: var(--admin-text); border-color: var(--admin-border); }

.cart-shell { max-width: 900px; }
.cart-title { margin-bottom: 20px; }
.cart-item-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; margin-bottom: 14px; }
.cart-item-card img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.cart-item-main h3 { margin: 0 0 8px; font-size: 20px; }
.cart-tags { display: flex; gap: 8px; margin-bottom: 10px; }
.cart-tags span { background: #f0ead7; border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.qty-inline { display: flex; align-items: center; gap: 10px; }
.line-price { color: var(--brand); font-weight: 800; font-size: 30px; margin-top: 20px; text-align: right; }
.trash-btn { background: transparent; border: 0; color: #999; cursor: pointer; font-size: 12px; }
.cart-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 12px; }
.cart-panel p { margin: 0; line-height: 1.35; }
.cart-panel hr { margin: 2px 0; border: 0; border-top: 1px solid #e1e4ec; }
.cart-weight-note { background: #fff6d8; border: 1px solid #f1d98b; color: #6e5716; border-radius: 10px; padding: 9px 11px; font-size: 14px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; }
.btn-full { width: 100%; text-align: center; }
.continue-link { text-align: center; color: var(--brand); font-weight: 600; }
.home-benefits { background: #f6f7fb; }
.benefits-title { text-align: center; margin-bottom: 18px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit-card { text-align: center; padding: 10px; }
.benefit-icon { width: 56px; height: 56px; border-radius: 14px; background: #f0ead7; display: grid; place-items: center; margin: 0 auto 10px; }
.benefit-icon svg { width: 28px; height: 28px; stroke: #cf2328; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h3 { margin: 0 0 6px; font-size: 17px; }
.benefit-card p { margin: 0; color: #5f6c82; font-size: 15px; }
.home-strip { background: #cf2328; color: #fff; }
.home-strip-inner { display: flex; justify-content: center; gap: 34px; padding: 16px 0; font-weight: 700; }
.home-strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.home-strip-inner svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.home-cta { background: #16181d; color: #fff; border-radius: 28px; padding: 42px 26px; text-align: center; max-width: 920px; margin: 0 auto; }
.home-cta h2 { margin: 0 0 8px; }
.home-cta p { max-width: 640px; margin: 0 auto 20px; color: #d2d8e4; }

.store-page { background: #f7f7f7; padding: 14px 0 0; }
.store-wrap { padding-bottom: 14px; }
.store-search-row { margin-bottom: 12px; }
.store-search-box { height: 48px; border: 1px solid #d9dce3; border-radius: 14px; background: #fff; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.store-search-box svg { width: 22px; height: 22px; stroke: #98a4b8; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.store-search-box input { border: 0; outline: 0; width: 100%; font-size: 16px; color: #1d2433; background: transparent; }
.store-search-box input::placeholder { color: #9aa6ba; }
.store-chips { margin-bottom: 0; }
.store-chips .chip { border-color: #cfd6e3; background: #fff; color: #1b1f28; padding: 7px 18px; font-size: 14px; font-weight: 600; }
.store-chips .chip.active { background: #d62a2f; border-color: #d62a2f; color: #fff; }
.store-products-zone { background: var(--beige); border-top: 1px solid #ece5d3; padding: 20px 0 26px; }
.store-products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.store-product-card { background: #fff; border: 1px solid #ddd9ce; border-radius: 16px; overflow: hidden; position: relative; min-height: 346px; display: grid; grid-template-rows: 190px 1fr; }
.store-product-image { width: 100%; height: 190px; object-fit: cover; background: #e8e8e8; }
.store-product-body { padding: 14px 16px 12px; display: grid; align-content: space-between; gap: 8px; }
.store-product-body h3 { margin: 0; font-size: 17px; line-height: 1.2; font-weight: 700; color: #131722; }
.store-product-body p { margin: 0; color: #627086; font-size: 13px; line-height: 1.35; min-height: 38px; }
.store-product-bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 4px; }
.store-product-bottom strong { color: #d52a2f; font-size: 17px; line-height: 1; font-weight: 800; }
.store-product-bottom strong span { color: #7b8599; font-size: 14px; font-weight: 500; margin-left: 2px; }
.store-add-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #d52a2f; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.store-info-btn { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #cfd5de; background: #fff; color: #161c28; font-size: 20px; font-weight: 700; line-height: 1; display: grid; place-items: center; cursor: pointer; z-index: 2; }

.checkout-page { background: var(--beige); padding: 22px 0 56px; }
.checkout-wrap { max-width: 820px; }
.checkout-progress { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 10px; margin: 8px 0 26px; }
.cp-item { display: grid; justify-items: center; gap: 7px; color: #7e8aa0; font-size: 13px; }
.cp-dot { width: 40px; height: 40px; border-radius: 50%; background: #e2e6ee; color: #8f9ab0; display: grid; place-items: center; font-size: 16px; font-weight: 600; }
.cp-dot svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cp-item.active { color: #1f2a3d; }
.cp-item.active .cp-dot { background: var(--brand); color: #fff; }
.cp-line { height: 4px; background: #ced5e2; border-radius: 999px; display: block; margin-top: -16px; }
.checkout-form { display: grid; }
.checkout-panel { display: grid; gap: 14px; }
.checkout-panel h2 { margin: 0; font-size: 24px; line-height: 1.1; }
.checkout-panel > label { display: grid; gap: 7px; font-weight: 700; font-size: 16px; color: #101827; }
.delivery-card { border: 1px solid #d8dde6; border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 24px 28px 1fr; gap: 12px; align-items: center; cursor: pointer; background: #fff0; }
.delivery-card:has(input:checked) { border-color: var(--brand); background: #fff5f5; }
.delivery-card strong { font-size: 15px; display: block; }
.delivery-card p { margin: 2px 0 0; color: #5f6c82; font-size: 14px; }
.delivery-method-icon { display: grid; place-items: center; color: #d62a2f; }
.delivery-method-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.delivery-fields { display: grid; gap: 12px; border-top: 1px solid #d8dde6; padding-top: 14px; }
.delivery-fields label, #delivery-schedule label, #pickup-schedule label { display: grid; gap: 7px; font-weight: 700; font-size: 16px; color: #101827; }
.delivery-fields input, #delivery-schedule select, #pickup-schedule select, .checkout-panel input, .checkout-panel select, .checkout-panel textarea { height: 44px; padding: 9px 12px; border: 1px solid #cfd5df; border-radius: 13px; font-size: 16px; background: #fff; }
.checkout-panel input.field-invalid, .checkout-panel select.field-invalid, .checkout-panel textarea.field-invalid { border-color: #d62a2f; box-shadow: 0 0 0 1px #d62a2f inset; }
.checkout-panel textarea { min-height: 98px; height: auto; }
.checkout-notes-field textarea { width: 100%; min-height: 110px; resize: vertical; }
.payment-method-extra { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.cal-title-row { display: flex; justify-content: space-between; align-items: center; margin-top: -4px; }
.cal-title-row strong { font-size: 16px; color: #111827; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav-btn { width: 34px; height: 34px; border-radius: 999px; border: 1px solid #d7dce7; background: #f2f3f6; color: #596579; cursor: pointer; font-size: 20px; line-height: 1; display: grid; place-items: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cal-day { border: 1px solid #d7dce7; background: #eef1f6; border-radius: 12px; padding: 10px 4px; color: #7f8ca3; display: grid; justify-items: center; gap: 2px; cursor: pointer; }
.cal-day .w { font-size: 12px; }
.cal-day .d { font-size: 30px; font-weight: 700; line-height: 1.1; }
.cal-day .m { font-size: 12px; }
.cal-day.active { border-color: #d62a2f; background: #fff0f0; color: #d62a2f; }
.inline-alert { background: #fff0f0; border: 1px solid #efb1b1; color: #c62828; border-radius: 10px; padding: 11px 12px; font-size: 15px; }
.pickup-box { border-top: 1px solid #d8dde6; padding-top: 12px; color: #2e3b50; display: grid; gap: 6px; }
.pickup-box p { margin: 0; }
.pickup-title { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 4px !important; }
.pickup-title strong { font-size: 17px; color: #101827; line-height: 1.1; }
.pickup-title-icon { width: 28px; height: 28px; display: grid; place-items: center; color: #d62a2f; }
.pickup-title-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.billing-box { border-top: 1px solid #d8dde6; padding-top: 12px; display: grid; gap: 10px; }
.billing-title { margin: 0; font-size: 22px; line-height: 1.15; color: #101827; }
.billing-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #101827; }
.billing-toggle input { width: 16px; height: 16px; accent-color: #d62a2f; }
.billing-fields { display: grid; gap: 12px; }
.billing-fields label { display: grid; gap: 7px; font-weight: 700; font-size: 16px; color: #101827; }
.billing-fields input {
    height: 44px;
    padding: 9px 12px;
    border: 1px solid #bcc7d8;
    border-radius: 14px;
    font-size: 16px;
    background: #eceef2;
}
.checkout-next:disabled { opacity: 0.45; cursor: not-allowed; }
.wizard-actions { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 8px; }
.wizard-actions .btn { min-width: 118px; padding: 10px 16px; font-size: 16px; border-radius: 12px; }
.wizard-actions .btn-outline { background: #fff; border: 1px solid #d62a2f; color: #d62a2f; }

body:has(.checkout-page) { background: var(--beige); }
body:has(.checkout-page) .page-wrapper { background: var(--beige); }
body:has(.checkout-page) .footer-rich { margin-top: 0; }
body:has(.checkout-page) .checkout-page { min-height: calc(100vh - 210px); }
body:has(.store-page) { background: var(--beige); }
body:has(.store-page) .page-wrapper { min-height: auto; background: var(--beige); }
body:has(.store-page) .footer-rich { margin-top: 0; }

@media (max-width: 992px) {
    .hero h1 { font-size: 48px; }
    .hero p { font-size: 24px; }
    .section h1, .section h2 { font-size: 36px; }
    .product-detail, .checkout-grid, .admin-grid-two, .metrics-grid, .footer-columns { grid-template-columns: 1fr; }
    .admin-shell { min-height: 100vh; }
    .admin-sidebar { position: static; width: auto; top: auto; left: auto; bottom: auto; z-index: auto; grid-template-rows: auto auto auto; overflow: visible; }
    .admin-nav { grid-template-columns: 1fr; }
    .admin-nav-item.is-active::before { left: -10px; }
    .admin-main { margin-left: 0; min-height: auto; }
    .menu a, .link-btn { font-size: 13px; }
    .brand { font-size: 18px; }
    .cart-item-card { grid-template-columns: 1fr; }
    .line-price { text-align: left; margin-top: 0; }
    .checkout-progress { grid-template-columns: 1fr; justify-items: start; gap: 4px; }
    .cp-line { display: none; }
    .wizard-actions { flex-direction: column; }
    .cal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .benefits-grid { grid-template-columns: 1fr 1fr; }
    .home-strip-inner { flex-direction: column; gap: 8px; text-align: center; }
    .store-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-contact-card { grid-template-columns: 1fr; padding: 28px 24px; }
    .about-contact-card h2 { font-size: 32px; }
    .legal-head h1 { font-size: 36px; }
    .admin-user-card { grid-template-columns: 1fr 1fr; }
    .admin-user-actions { justify-content: start; }
    .logistics-inline { grid-template-columns: 1fr; }
    .admin-orders-filters { grid-template-columns: 1fr; }
    .admin-orders-actions { justify-content: flex-start; }
    .metrics-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .metrics-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .metrics-grid-single-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .status-donut-wrap { grid-template-columns: 1fr; }
    .bar-row { grid-template-columns: 1fr; }
    .bar-row strong { text-align: left; }
    .admin-vbars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .topbar { position: fixed; top: 0; bottom: auto; width: 100%; border-bottom: none !important; box-shadow: none !important; background: #fff; z-index: 30; }
    .nav { justify-content: center; padding: 14px 0 10px; gap: 0; border-bottom: none; }
    .brand { display: flex; justify-content: center; width: 100%; }
    .brand-logo { height: 34px; }
    .menu { position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; justify-content: space-around; flex-wrap: nowrap; padding: 8px 0; border-top: 1px solid var(--line); }
    .menu-link { padding: 8px 0; border-radius: 0; flex-direction: column; gap: 5px; font-size: 12px; }
    .menu-link svg { width: 20px; height: 20px; }
    .menu-link.active { background: transparent; color: var(--brand); }
    .menu a, .link-btn { font-size: 12px; }
    .page-wrapper { padding-top: 60px; padding-bottom: 80px; }
    .table-responsive { width: 100vw; max-width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; padding: 0 14px; box-sizing: border-box; }
    .table-responsive .table { display: block; width: 100%; max-width: 100%; border: 0; margin: 0; }
    .table-responsive .table thead { display: none; }
    .table-responsive .table tbody { display: block; width: 100%; }
    .table-responsive .table tbody tr { display: block; width: 100%; max-width: 100%; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
    .table-responsive .table th,
    .table-responsive .table td { display: block; width: 100%; max-width: 100%; padding: 10px 12px; border: 0; text-align: left; box-sizing: border-box; }
    .table-responsive .table td { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 8px; align-items: center; white-space: normal; min-width: 0; }
    .table-responsive .table td::before { content: attr(data-label); font-weight: 700; color: var(--muted); }
    .table-responsive .table td:last-child { padding-bottom: 14px; }
    .table-responsive .table td a:not(.btn) { color: var(--brand); font-weight: 700; }
    .table-responsive .table td a:not(.btn):hover { text-decoration: underline; }
    .table-responsive .table td a.btn { display: inline-flex; width: auto; min-width: 92px; padding: 8px 14px; border-radius: 10px; justify-content: center; background: var(--brand); color: #fff; }
    .table-responsive .table td a.btn:hover { background: var(--brand-dark); }
    .table-responsive .table td a.btn:focus-visible { outline: 2px solid rgba(198, 40, 40, 0.5); outline-offset: 2px; }
    .cart-shell { max-width: 100%; }
    .cart-item-card { grid-template-columns: 84px 1fr; gap: 12px; padding: 12px; align-items: start; }
    .cart-item-card img { width: 84px; height: 84px; border-radius: 14px; }
    .cart-item-main { display: grid; gap: 6px; }
    .cart-item-main h3 { margin: 0 0 4px; font-size: 18px; }
    .cart-tags { gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
    .cart-tags span { padding: 3px 8px; font-size: 12px; }
    .qty-inline { gap: 8px; }
    .qty-btn { width: 38px; height: 38px; font-size: 22px; }
    .cart-item-side { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
    .cart-item-side form { order: 1; }
    .line-price { order: 2; font-size: 22px; margin-top: 0; text-align: right; }
    .trash-btn { font-size: 12px; color: #7f8a99; padding: 0; margin: 0; }
    .cart-panel { padding: 16px; gap: 10px; }
    .summary-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
    .btn-full { width: 100%; }
    .footer-top-bar { padding-top: 22px; }
    .footer-top-bar img { height: clamp(42px, 11vw, 60px); }
}
@media (max-width: 640px) {
    .store-products-grid { grid-template-columns: 1fr; }
    .admin-nav { grid-template-columns: 1fr; }
    .admin-social-grid { grid-template-columns: 1fr; }
    .metrics-grid-5 { grid-template-columns: 1fr; }
    .metrics-grid-3 { grid-template-columns: 1fr; }
    .metrics-grid-single-row { grid-template-columns: 1fr; }
    .admin-dashboard-head { flex-direction: column; align-items: flex-start; }
    .admin-vbars { grid-template-columns: 1fr; }
}
