:root {
    --ink: #202820;
    --muted: #5c675f;
    --line: #e6eee4;
    --cream: #f7fbf6;
    --card: #ffffff;
    --green: #16852B;
    --green-2: #16852B;
    --leaf: #EAF5E8;
    --tomato: #c84b2f;
    --gold: #F3A712;
    --shadow: 0 18px 40px rgba(48, 38, 18, 0.08);
    --radius: 22px;
    font-family: "Outfit", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--cream);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; background: radial-gradient(circle at top left, #fff 0, var(--cream) 42%); }
.show-mobile { display: none; }
/* Fixed bottom nav — CSS only (vegApp.pinMobileDock is a no-op; do not move dock in JS) */
nav.mobile-dock.storefront-mobile-dock,
.mobile-dock.storefront-mobile-dock {
    display: none;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    z-index: 120 !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    box-sizing: border-box;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: auto;
    contain: layout style;
}
@media (max-width: 768px) {
    /* App shell: only .storefront-scroll moves; top logo + bottom dock stay (no JS body class) */
    html:has(.storefront-shell),
    body:has(.storefront-shell) {
        overflow: hidden;
        height: 100%;
        height: 100dvh;
        overscroll-behavior: none;
    }
    .storefront-shell {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        min-height: 0;
        max-height: 100dvh;
        width: 100%;
        overflow: hidden;
        z-index: 1;
    }
    .storefront-shell .storefront-page {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        padding-top: 0;
        overflow: hidden;
    }
    .storefront-shell header.site-header.storefront-chrome-header {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        flex: 0 0 auto;
        width: 100% !important;
        max-width: 100% !important;
        transform: none;
        -webkit-transform: none;
        padding-top: env(safe-area-inset-top, 0px);
        z-index: 2;
    }
    .storefront-shell .storefront-scroll {
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }
    .storefront-shell .storefront-page.storefront {
        min-height: 0 !important;
        padding-top: 0 !important;
    }
    nav.mobile-dock.storefront-mobile-dock {
        display: grid !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        flex: 0 0 auto;
        flex-shrink: 0;
        z-index: 20;
        transform: none;
        -webkit-transform: none;
        contain: none;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding: 8px 10px calc(10px + env(safe-area-inset-bottom));
        gap: 6px;
        background: linear-gradient(180deg, rgba(8, 28, 52, 0.96) 0%, rgba(6, 22, 42, 0.99) 100%);
        border-top: 1px solid rgba(0, 196, 230, 0.35);
        box-shadow: 0 -12px 32px rgba(6, 18, 36, 0.45);
        backdrop-filter: blur(16px) saturate(1.2);
        -webkit-backdrop-filter: blur(16px) saturate(1.2);
    }
    .storefront-shell .storefront-page main {
        padding-bottom: 12px;
    }
    .storefront-shell .storefront .site-footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
    .storefront .nav-desktop { display: none; }
    .storefront-chrome-header .storefront-header-util { display: none !important; }
    header.storefront-chrome-header .header-row,
    .storefront-chrome-header .header-row {
        min-height: 56px;
        padding: 6px 0;
        justify-content: flex-start;
    }
    .storefront .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .storefront .footer-brand.footer-block {
        grid-column: auto;
        text-align: center;
    }
    .storefront .footer-block {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .storefront .footer-delivery-block .footer-delivery-card {
        width: 100%;
        box-sizing: border-box;
    }
}
h1, h2, h3, .logo-name { font-family: "Fraunces", Georgia, serif; font-weight: 560; letter-spacing: -0.03em; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.wrap.wrap-narrow { width: min(560px, calc(100% - 32px)); }
.wrap.wrap-medium { width: min(680px, calc(100% - 32px)); }
.panel.page-narrow { max-width: 520px; margin-left: auto; margin-right: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 250, 243, 0.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(228, 217, 200, 0.9); }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: auto; height: 64px; max-width: 220px; object-fit: contain; background: #fff; border-radius: 12px; padding: 3px 6px; }
.logo-name { font-size: 1.25rem; line-height: 1; }
.logo-name span { display: block; font-family: "Outfit", sans-serif; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav { display: flex; gap: 18px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.nav a.active, .nav a:hover { color: var(--green); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cart-link, .profile-link, .btn, .btn-small { border-radius: 999px; text-decoration: none; }
.cart-link, .profile-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: white; border: 1px solid var(--line); font-weight: 650; }
.cart-count { min-width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; background: var(--tomato); color: white; font-size: 0.78rem; }

.banner { background: var(--green); color: #f4f7ef; }
.banner-inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 12px 0; }
.banner p { margin: 0; max-width: 760px; line-height: 1.45; }
.banner strong { color: var(--gold); }
.banner.closed { background: #6d3b22; }
.date-chip { background: rgba(255,255,255,0.12); border-radius: 999px; padding: 8px 12px; white-space: nowrap; font-weight: 650; }

.hero { padding: 34px 0 10px; display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 24px; align-items: end; }
.eyebrow { margin: 0 0 8px; color: var(--green-2); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 0.95; margin: 0 0 12px; }
.hero p { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 560px; }
.promise { display: grid; gap: 8px; }
.promise div { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.promise strong { display: block; }
.promise span { color: var(--muted); font-size: 0.92rem; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.chip.active { background: var(--green); color: white; border-color: var(--green); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-card img { height: 190px; width: 100%; object-fit: cover; object-position: center; background: #f4eee6; }
.product-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h2 { margin: 0; font-size: 1.45rem; }
.price { margin: 0; font-weight: 700; }
.meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.92rem; }
.available { color: var(--green-2); font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; width: fit-content; background: white; }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; }
.qty span { min-width: 42px; text-align: center; font-weight: 700; }
.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
}
.product-actions .qty { flex: 0 1 auto; }
.btn-add-cart-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
    letter-spacing: 0;
}
.storefront .btn.btn-add-cart-icon {
    padding: 0;
    min-width: 44px;
    font-size: 0;
    line-height: 0;
}
.btn-add-cart-icon .btn-add-cart-svg {
    display: block;
    width: 22px;
    height: 22px;
}
.product-in-cart { margin: 0; font-size: 0.82rem; }
.btn { border: 0; cursor: pointer; padding: 12px 16px; background: var(--green); color: white; font-weight: 700; display: inline-flex; justify-content: center; align-items: center; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.btn.danger { background: var(--tomato); }
.btn.full { width: 100%; }
.note { color: var(--muted); font-size: 0.92rem; margin: 0; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.section { padding: 22px 0 48px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
.cart-table td { padding: 12px 8px 12px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.cart-product { min-width: 200px; }
.cart-product-cell { display: flex; align-items: center; gap: 12px; }
.cart-item-img {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--cream);
}
.cart-item-name { font-size: 1rem; line-height: 1.25; }
.totals { margin-top: 16px; display: grid; gap: 8px; }
.totals div, .split { display: flex; justify-content: space-between; gap: 12px; }
.payable { font-size: 1.3rem; font-weight: 750; }
.value-free { color: var(--green); font-weight: 700; }

.order-summary { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.order-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(232, 245, 236, .55) 0%, rgba(255, 255, 255, 0) 100%);
}
.order-summary-head h2 { margin: 0; font-size: 1.2rem; letter-spacing: -0.02em; }
.order-summary-count {
    flex-shrink: 0;
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--leaf);
    border: 1px solid #c9e3c8;
    padding: 5px 10px;
    border-radius: 999px;
}
.order-summary-list {
    list-style: none;
    margin: 0;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: min(50vh, 440px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.order-summary-line {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 8px;
    border-radius: 14px;
    border: 1px solid transparent;
}
.order-summary-line:nth-child(even) { background: rgba(245, 248, 246, .85); }
.order-summary-line:hover { border-color: var(--line); background: #fff; }
.order-summary-thumb {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--line);
    background: var(--cream);
}
.order-summary-meta { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.order-summary-name {
    font-weight: 650;
    font-size: .96rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.order-summary-qty { font-size: .82rem; color: var(--muted); }
.order-summary-price { font-weight: 700; font-size: .96rem; white-space: nowrap; color: #1a3829; }
.order-summary-totals {
    margin: 0;
    padding: 14px 18px 16px;
    border-top: 1px dashed var(--line);
    background: rgba(250, 252, 251, .9);
}
.order-summary-totals div { font-size: .95rem; }
.order-summary-payable {
    margin-top: 6px;
    padding: 12px 14px !important;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f5ec 0%, #f4faf6 100%);
    border: 1px solid #c9e3c8;
}
.order-summary-payable span:last-child { color: var(--green); font-weight: 800; }
.order-summary-alert { margin: 0 18px 18px; }
.order-summary > p:first-child { padding: 18px; margin: 0; }
.alert { background: #fff1ea; border: 1px solid #f0c7b8; color: #7a311f; border-radius: 16px; padding: 12px 14px; }
.ok { background: var(--leaf); border: 1px solid #c9e3c8; color: #1e4d32; border-radius: 16px; padding: 12px 14px; }
.form-grid { display: grid; gap: 12px; }
label span { display: block; font-weight: 650; margin-bottom: 6px; }
input, textarea, select { width: 100%; border: 1px solid var(--line); background: white; border-radius: 14px; padding: 12px 12px; }
textarea { min-height: 90px; resize: vertical; }
.two { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.step { padding: 8px 10px; border-radius: 999px; background: white; border: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.step.done { background: var(--leaf); color: var(--green); border-color: transparent; }
.step.current { background: var(--green); color: white; border-color: transparent; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 0.9fr); gap: 24px 28px; align-items: start; }
.footer-link-body {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.footer-link-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    opacity: 0.9;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; font-weight: 650; color: var(--green); }
.footer-links a:hover { text-decoration: underline; }
.footer-contact { margin-top: 10px !important; font-size: 0.88rem; }
.footer-contact a { font-weight: 650; color: inherit; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal a { color: var(--muted); text-decoration: none; font-weight: 650; }
.footer-legal a:hover { color: var(--green); text-decoration: underline; }
.footer-logo-link { display: inline-block; text-decoration: none; }
.footer-tagline { margin: 0; }
.footer-delivery-card { display: grid; gap: 6px; }
.footer-copy { line-height: 1.4; }
.policy-doc h1 { margin: 0 0 8px; font-size: clamp(1.5rem, 4vw, 2rem); }
.policy-doc h2 { margin: 1.35rem 0 0.5rem; font-size: 1.08rem; font-family: inherit; letter-spacing: -0.02em; }
.policy-doc p { margin: 0 0 10px; line-height: 1.55; color: var(--muted); }
.policy-doc ul { margin: 0 0 10px; padding-left: 1.2rem; line-height: 1.55; color: var(--muted); }
.policy-doc li { margin: 6px 0; }
.policy-doc a { color: var(--green); font-weight: 650; }
.policy-updated { margin-bottom: 14px !important; }
.policy-back { margin-top: 1.5rem !important; margin-bottom: 0 !important; }

.admin-app { min-height: 100vh; background: #f4f7fa; color: #243044; }
.admin-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background:
        radial-gradient(ellipse 80% 60% at 18% 30%, rgba(0, 168, 204, .22) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 85% 70%, rgba(0, 136, 168, .18) 0%, transparent 60%),
        linear-gradient(120deg, #061a31 0%, #0a2540 35%, #123a5c 65%, #0a2540 100%);
    color: #fff;
    box-shadow: 0 4px 18px rgba(10, 37, 64, .35), inset 0 -1px 0 rgba(0, 168, 204, .35);
}
.admin-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0088a8, #00a8cc, #4dd0e1, #00a8cc, #0088a8);
    background-size: 200% 100%;
    animation: nav-shine 6s linear infinite;
}
.admin-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 6px 0;
}
.admin-header .brand img { width: auto; height: 52px; max-width: 200px; object-fit: contain; background: #fff; border-radius: 12px; padding: 3px 6px; }
.admin-header .logo-name { color: #fff; font-family: Inter, "Segoe UI", sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.admin-header .logo-name span { color: rgba(255, 255, 255, .72); letter-spacing: .14em; font-size: .68rem; font-weight: 600; }
.admin-menu-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 0 0 12px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 2px;
    padding-top: 10px;
    position: relative;
    z-index: 25;
}
.admin-menu-dropdown {
    position: relative;
}
.admin-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    border: none;
    cursor: pointer;
    font: inherit;
    color: rgba(255, 255, 255, .84);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 10px;
    white-space: nowrap;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.admin-menu-trigger:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.admin-menu-dropdown.has-active .admin-menu-trigger {
    color: #fff;
    background: rgba(0, 168, 204, .16);
    box-shadow: inset 0 0 0 1px rgba(77, 208, 225, .3);
}
.admin-menu-dropdown.open .admin-menu-trigger {
    color: #fff;
    background: rgba(0, 168, 204, .24);
    box-shadow: inset 0 0 0 1px rgba(77, 208, 225, .45);
}
.admin-menu-chevron {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, .65);
    transition: transform .2s ease;
}
.admin-menu-dropdown.open .admin-menu-chevron { transform: rotate(180deg); }
.admin-menu-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 8px;
    border-radius: 14px;
    background: linear-gradient(165deg, #0d2d4a 0%, #0a2540 100%);
    border: 1px solid rgba(77, 208, 225, .35);
    box-shadow: 0 12px 40px rgba(6, 26, 49, .55), 0 0 0 1px rgba(0, 0, 0, .12);
    z-index: 30;
}
.admin-menu-dropdown.open .admin-menu-panel { display: grid; }
.admin-menu-panel-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    text-transform: none;
}
.admin-menu-panel-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}
.admin-menu-panel-link.active {
    color: #fff;
    background: rgba(0, 168, 204, .28);
    box-shadow: inset 0 0 0 1px rgba(77, 208, 225, .4);
}
.admin-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 18;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: default;
}
.admin-header .header-cta {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border: 1.5px solid rgba(0, 168, 204, .7);
    border-radius: 999px;
    padding: 9px 16px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .55px;
    text-transform: uppercase;
    cursor: pointer;
}
.admin-header .header-cta:hover { background: linear-gradient(135deg, #0088a8, #00a8cc); border-color: transparent; }
.admin-main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 48px; }
.admin-app--login { background: #eef2f6; }
.admin-main--login {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    min-height: calc(100vh - 84px);
}
.admin-login {
    display: grid;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 84px);
}
.admin-login-visual {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    background: #0a2540;
}
.admin-login-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.admin-login-visual-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.88) 0%, rgba(10, 37, 64, 0.45) 55%, rgba(0, 136, 168, 0.35) 100%);
}
.admin-login-visual-inner {
    position: relative;
    z-index: 1;
    padding: 28px 24px 32px;
    max-width: 28rem;
    color: #fff;
}
.admin-login-mark {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.35);
    margin-bottom: 14px;
}
.admin-login-visual-title {
    margin: 0;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    line-height: 1.25;
    color: #fff;
}
.admin-login-visual-lead {
    margin: 10px 0 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}
.admin-login-features {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.92);
}
.admin-login-features li {
    padding-left: 1.1rem;
    position: relative;
}
.admin-login-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #52d4f0;
}
.admin-login-produce {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}
.admin-login-produce img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.admin-login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px 36px;
    background: linear-gradient(180deg, #f4f7fa 0%, #eef2f6 100%);
}
.admin-login-card {
    width: min(100%, 400px);
    padding: 24px 22px 20px;
    border-radius: 18px;
    border: 1px solid #dde4ec;
    box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
}
.admin-login-eyebrow { margin: 0 0 4px; color: #0088a8; font-size: 0.72rem; }
.admin-login-title { margin: 0; font-size: 1.65rem; }
.admin-login-sub { margin: 8px 0 18px; font-size: 0.88rem; }
.admin-login-fields label span { font-weight: 650; color: #0a2540; }
.admin-login-fields input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #cfd8e3;
    font-size: 0.95rem;
}
.admin-login-submit { margin-top: 4px; width: 100%; justify-content: center; }
.admin-login-hint { margin-top: 14px; font-size: 0.8rem; }
.admin-login-back { margin: 16px 0 0; font-size: 0.86rem; text-align: center; }
.admin-login-back a { color: #0088a8; font-weight: 600; text-decoration: none; }
.admin-login-back a:hover { text-decoration: underline; }
.admin-staff-portal {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e6eef3;
    text-align: center;
}
.admin-staff-portal-label {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5a6c7d;
}
.admin-staff-portal-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    min-height: 44px;
}
.footer-staff {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
}
.footer-staff a {
    color: #0088a8;
    font-weight: 650;
    text-decoration: none;
}
.footer-staff a:hover { text-decoration: underline; }
.mobile-dock .dock-delivery { color: #6b21a8; font-weight: 700; }
.delivery-login-hint { margin-top: 12px; text-align: center; }
@media (min-width: 900px) {
    .admin-login {
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    }
    .admin-login-visual { min-height: 100%; }
    .admin-login-visual-inner { padding: 48px 40px; }
    .admin-login-panel { padding: 48px 40px; }
}
@media (max-width: 899px) {
    .admin-login-visual-inner { max-width: none; }
    .admin-subnav-desktop { display: none; }
    .show-admin-mobile { display: inline-flex; align-items: center; }
    .show-admin-mobile-inline { display: inline; }
    .hide-admin-mobile { display: none; }
}
@media (min-width: 900px) {
    .show-admin-mobile,
    .show-admin-mobile-inline { display: none !important; }
    .hide-admin-mobile { display: inline; }
    .admin-app .admin-filter-bar {
        flex-wrap: wrap;
        overflow: visible;
        scroll-snap-type: none;
    }
}
.admin-app .btn { background: #0088a8; border: 2px solid #0088a8; border-radius: 50px; color: #fff; font-family: Inter, "Segoe UI", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .55px; text-transform: uppercase; box-shadow: 0 4px 14px rgba(0, 136, 168, .35); }
.admin-app .btn.secondary { background: #fff; color: #0088a8; border: 1.5px solid rgba(0, 136, 168, .7); box-shadow: none; }
.admin-app .btn.danger { background: #c84b2f; border-color: #c84b2f; }
.admin-app .chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1.5px solid #cfd8e3;
    background: #fff;
    color: #0a2540;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(10, 37, 64, .06);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.admin-app a.chip { color: #0a2540; }
.admin-app .chip.active {
    background: linear-gradient(135deg, #00a8cc, #0088a8);
    border-color: #0088a8;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 136, 168, .35);
}
.admin-app .chip.active,
.admin-app a.chip.active { color: #fff; }
.admin-app .chip:active { transform: scale(0.97); }
.admin-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}
.admin-page-head-main { flex: 1 1 12rem; min-width: 0; }
.admin-page-head h1 {
    margin: 0;
    font-size: clamp(1.55rem, 4.5vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}
.admin-page-lead {
    margin: 8px 0 0;
    max-width: 38rem;
    color: #5a6c7d;
    font-size: 0.92rem;
    line-height: 1.45;
}
.admin-page-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}
.admin-page-toolbar .btn { min-height: 42px; }
.admin-loading { color: #5a6c7d; padding: 8px 0; }
.admin-list-count {
    margin: 0 0 10px;
    font-size: 0.84rem;
    font-weight: 650;
    color: #5a6c7d;
}
.admin-order-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 14px 18px;
    border-bottom: 1px solid #e8eef3;
    background: linear-gradient(180deg, #f6fafc 0%, #fff 100%);
}
.admin-order-panel-count {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: #0a2540;
    letter-spacing: -0.02em;
}
.admin-order-panel-hint {
    font-size: 0.78rem;
    font-weight: 600;
    color: #7a8b9c;
}
.admin-field-panel { max-width: 420px; margin-bottom: 16px; padding: 14px 16px; }
.admin-empty-state { border-radius: 18px; border: 1px dashed #cfd8e3; background: #fafcfd; }
.admin-data-panel {
    background: #fff;
    border: 1px solid #dde4ec;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(10, 37, 64, .05);
    overflow: hidden;
}
.admin-data-panel.table-wrap {
    border-color: #dde4ec;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}
.admin-data-panel.table-wrap table.data { min-width: 36rem; }
.admin-section-title {
    margin: 0 0 4px;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}
.admin-section-lead { margin: 0 0 12px; }
.admin-scroll-hint { margin: -6px 0 14px; font-size: 0.82rem; line-height: 1.4; }
.admin-route-card { margin-top: 12px; }
.admin-route-lines { margin: 8px 0 0; padding-left: 1.1rem; }
.admin-procurement-table-panel h2 { margin-top: 0; }
.admin-procurement-table { width: 100%; }
.admin-order-card-list {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 10px;
}
.admin-order-card {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #e6eef3;
    background: linear-gradient(180deg, #fff 0%, #f9fbfd 100%);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(10, 37, 64, .04);
    transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.admin-order-card:active { transform: scale(0.99); }
.admin-order-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}
.admin-order-card-id {
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 1.05rem;
    font-weight: 750;
    color: #0088a8;
    letter-spacing: -0.02em;
}
.admin-order-card-customer {
    margin: 0 0 10px;
    font-weight: 650;
    color: #0a2540;
    font-size: 0.95rem;
}
.admin-order-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.admin-order-card-k {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8a9bab;
    margin-bottom: 2px;
}
.admin-order-card-grid strong { font-size: 0.88rem; color: #0a2540; }
.admin-order-card-date { font-size: 0.78rem !important; font-weight: 600 !important; }
.admin-order-card-mobile { margin: 10px 0 0; font-size: 0.82rem; }
.admin-order-table-wrap {
    display: block;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.admin-order-table {
    border-collapse: separate;
    border-spacing: 0;
}
.admin-order-table th {
    padding: 12px 16px;
    border-bottom: 1px solid #e0e8ef;
    background: #f4f8fb;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #6a7d8f;
    white-space: nowrap;
}
.admin-order-table th.admin-order-th-num,
.admin-order-table td.admin-order-total { text-align: right; }
.admin-order-table th.admin-order-th-status,
.admin-order-table td:nth-child(5) { text-align: right; }
.admin-order-table th.admin-order-th-go,
.admin-order-table td.admin-order-go {
    width: 2rem;
    padding-left: 4px;
    padding-right: 12px;
    text-align: center;
}
.admin-order-table td {
    padding: 16px;
    border-bottom: 1px solid #eef2f6;
    vertical-align: middle;
}
.admin-order-table tbody tr:last-child td { border-bottom: 0; }
.admin-order-row {
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
    outline: none;
}
.admin-order-row:hover,
.admin-order-row:focus-visible {
    background: #f0f9fc !important;
    box-shadow: inset 4px 0 0 #00a8cc;
}
.admin-order-row.is-delivered:hover,
.admin-order-row.is-delivered:focus-visible { box-shadow: inset 4px 0 0 #1a7f4b; }
.admin-order-row.is-cancelled:hover,
.admin-order-row.is-cancelled:focus-visible { box-shadow: inset 4px 0 0 #c84b2f; }
.admin-order-row.is-new:hover,
.admin-order-row.is-new:focus-visible { box-shadow: inset 4px 0 0 #1565a8; }
.admin-order-id {
    display: block;
    font-weight: 800;
    color: #007996;
    font-size: 0.98rem;
    letter-spacing: -0.02em;
    font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
}
.admin-order-placed {
    display: block;
    margin-top: 4px;
    font-size: 0.76rem;
    color: #7a8b9c;
}
.admin-order-customer-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.admin-order-avatar {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(145deg, #e8f6f9 0%, #d4edf5 100%);
    border: 1px solid #b8e0ea;
    color: #00708a;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: .02em;
}
.admin-order-customer-text { min-width: 0; }
.admin-order-customer {
    display: block;
    font-weight: 700;
    color: #0a2540;
    font-size: 0.92rem;
    line-height: 1.25;
}
.admin-order-phone { display: block; margin-top: 2px; font-size: 0.8rem; }
.admin-order-total {
    font-weight: 800;
    font-size: 1.02rem;
    color: #0a2540;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.admin-pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef9fb;
    border: 1px solid #c5e8ef;
    color: #0a6e86;
    font-size: 0.8rem;
    font-weight: 700;
}
.admin-pay-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00a8cc;
    box-shadow: 0 0 0 2px rgba(0, 168, 204, .25);
}
.admin-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: .02em;
    background: #e7f6f8;
    color: #0a6e86;
    white-space: nowrap;
    border: 1px solid transparent;
}
.admin-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: .85;
}
.admin-order-row-chevron {
    display: inline-block;
    color: #c5d0dc;
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1;
    transition: color .15s ease, transform .15s ease;
}
.admin-order-row:hover .admin-order-row-chevron,
.admin-order-row:focus-visible .admin-order-row-chevron {
    color: #0088a8;
    transform: translateX(2px);
}
.admin-order-link {
    display: inline-block;
    font-weight: 750;
    color: #0088a8;
    text-decoration: none;
    font-size: 0.95rem;
}
.admin-status-pill.is-new { background: #e8f4fd; color: #1565a8; border-color: #b8d9f5; }
.admin-status-pill.is-progress { background: #fff8eb; color: #9a5b00; border-color: #f5ddb0; }
.admin-status-pill.is-out { background: #f3e8ff; color: #6b21a8; border-color: #dbc9f5; }
.admin-status-pill.is-delivered { background: #e8f5ec; color: #1a7f4b; border-color: #b8e0cc; }
.admin-status-pill.is-cancelled { background: #fff0eb; color: #b53b26; border-color: #f0c7b8; }
.admin-app .page-title {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
}
.admin-app .page-title h1 { font-size: clamp(1.55rem, 4.5vw, 2.35rem); }
@media (max-width: 768px) {
    .admin-order-card-list { display: flex; }
    .admin-order-table-wrap { display: none; }
    .admin-order-card-grid { grid-template-columns: 1fr 1fr; }
    .admin-order-card-grid > div:last-child { grid-column: 1 / -1; }
    .admin-page-toolbar { width: 100%; }
    .admin-page-toolbar .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
}
@media (min-width: 769px) {
    .admin-order-card:hover {
        border-color: #b7dbe6;
        box-shadow: 0 8px 24px rgba(10, 37, 64, .08);
    }
    .admin-order-link:hover { text-decoration: underline; }
    .admin-order-table thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        box-shadow: 0 1px 0 #e0e8ef;
    }
}
.admin-app .admin-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 0 18px;
    padding: 2px 0 12px;
    scroll-snap-type: x proximity;
}
.admin-app .admin-filter-bar::-webkit-scrollbar { display: none; }
.admin-app .admin-filter-bar .chip { scroll-snap-align: start; }
.show-admin-mobile { display: none; }
.show-admin-mobile-inline { display: none; }
.hide-admin-mobile { display: inline; }
.admin-mobile-accordion { display: grid; gap: 10px; }
.admin-mobile-accordion-item {
    border-radius: 16px;
    border: 1.5px solid #e6eef3;
    background: #fff;
    overflow: hidden;
}
.admin-mobile-accordion-item.has-active { border-color: rgba(0, 168, 204, .45); }
.admin-mobile-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    border: none;
    background: #f8fafc;
    cursor: pointer;
    font: inherit;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
}
.admin-mobile-accordion-item.has-active .admin-mobile-accordion-trigger {
    background: #eef9fb;
}
.admin-mobile-accordion-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #0a2540;
}
.admin-mobile-accordion-chevron {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #5a6c7d;
    border-bottom: 2px solid #5a6c7d;
    transform: rotate(45deg);
    transition: transform .2s ease;
    margin-top: -4px;
}
.admin-mobile-accordion-item.expanded .admin-mobile-accordion-chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
}
.admin-mobile-accordion-panel {
    display: grid;
    gap: 8px;
    padding: 0 12px 12px;
    background: #fff;
}
.admin-mobile-accordion-panel[hidden] { display: none !important; }
.admin-mobile-nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #f4f7fa;
    border: 1.5px solid #e6eef3;
    color: #0a2540;
    font-weight: 650;
    text-decoration: none;
    font-size: 0.95rem;
}
.admin-mobile-nav-link.active {
    background: #e7f6f8;
    border-color: #0088a8;
    color: #007996;
    box-shadow: inset 0 0 0 1px rgba(0, 168, 204, .15);
}
.admin-menu-btn {
    font-size: 12px !important;
    padding: 8px 14px !important;
    background: rgba(0, 168, 204, .18) !important;
    border-color: rgba(77, 208, 225, .55) !important;
}

.delivery-app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f4f7fa;
    color: #243044;
}
.delivery-header {
    position: sticky;
    top: 0;
    z-index: 15;
    background: linear-gradient(120deg, #0a2540, #123a5c);
    color: #fff;
    box-shadow: 0 4px 16px rgba(10, 37, 64, .25);
}
.delivery-header-inner {
    width: min(720px, calc(100% - 24px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
}
.delivery-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.delivery-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-family: Inter, "Segoe UI", sans-serif;
}
.delivery-brand img { border-radius: 10px; background: #fff; padding: 2px; }
.delivery-logout { font-size: 12px !important; padding: 8px 14px !important; white-space: nowrap; }
.delivery-notify-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px !important;
    font-weight: 650;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, .35) !important;
    background: rgba(255, 255, 255, .12) !important;
    color: #fff !important;
}
.delivery-notify-btn:hover { background: rgba(255, 255, 255, .2) !important; }
.delivery-notify .notify-unread-badge {
    background: #e85d3a;
    color: #fff;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 4px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.25rem;
    text-align: center;
}
.delivery-notify { z-index: 2; }
.delivery-notify .notify-panel.delivery-notify-panel { top: calc(100% + 8px); }
.notify-customer-btn { font-size: 13px !important; }
.delivery-main {
    width: min(720px, calc(100% - 24px));
    margin: 0 auto;
    padding: 16px 0 28px;
    flex: 1;
}
.delivery-main .admin-page-head { margin-bottom: 12px; }
.delivery-main .admin-page-head h1 { font-size: clamp(1.35rem, 4vw, 1.85rem); }
.delivery-main .admin-page-lead { margin-top: 6px; font-size: 0.88rem; }
.delivery-empty {
    margin-top: 4px;
    padding: 20px 18px;
    border-radius: 16px;
    border: 1px solid #dde4ec;
    background: #fff;
    box-shadow: 0 6px 18px rgba(10, 37, 64, .04);
}
.delivery-empty-lead {
    margin: 0 0 8px;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #243044;
}
.delivery-empty-hint { margin: 12px 0 0; }
.delivery-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.delivery-empty-actions .chip {
    border: 1.5px solid #c5d4e0;
    background: #fff;
    color: #243044;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 650;
    cursor: pointer;
}
.delivery-empty-tips {
    margin: 14px 0 0;
    padding-left: 1.1rem;
    text-align: left;
    line-height: 1.5;
}
.delivery-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 0 14px;
    padding: 2px 0 10px;
    scroll-snap-type: x proximity;
}
.delivery-filter-bar::-webkit-scrollbar { display: none; }
.delivery-filter-bar .chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid #c5d4e0;
    background: #fff;
    color: #243044;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
}
.delivery-filter-bar .chip.active {
    background: #16852b;
    border-color: #16852b;
    color: #fff;
}
.delivery-filter-bar .chip:active { transform: scale(0.97); }
.delivery-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35rem;
    background: rgba(10, 37, 64, .1);
    color: inherit;
}
.delivery-filter-bar .chip.active .delivery-filter-count {
    background: rgba(255, 255, 255, .25);
}
.delivery-list-search {
    display: block;
    margin: 0 0 12px;
}
.delivery-list-search input {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #dde4ec;
    background: #fff;
    font-size: 0.95rem;
}
.delivery-login { max-width: 420px; margin: 24px auto; padding: 20px; }
.delivery-kicker {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #0088a8;
}
.delivery-job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.delivery-job-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #dde4ec;
    background: #fff;
    color: inherit;
    box-shadow: 0 6px 18px rgba(10, 37, 64, .05);
}
.delivery-job-card-main {
    display: block;
    text-decoration: none;
    color: inherit;
}
.delivery-maps-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    text-align: center;
}
.delivery-maps-cta {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid #7eb8ff;
    background: linear-gradient(135deg, #eef4ff 0%, #fff 100%);
    text-decoration: none;
    color: inherit;
}
.delivery-maps-cta .delivery-pickup-kicker { color: #1a5fb4; }
.delivery-maps-cta .delivery-pickup-headline { color: #0c3d7a; }
.delivery-maps-inline { margin-top: 12px; width: 100%; justify-content: center; }
.delivery-job-meta { margin: 8px 0 0; font-size: 0.88rem; }
.delivery-job-pickup {
    margin: 0 0 10px;
    font-size: 0.82rem;
    color: #0d5c42;
    background: #e8f5ef;
    padding: 8px 10px;
    border-radius: 10px;
}
.delivery-pickup-banner {
    display: grid;
    gap: 4px;
    width: 100%;
    text-align: left;
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid #b8e0cc;
    background: linear-gradient(135deg, #eef9f3 0%, #fff 100%);
    cursor: default;
}
button.delivery-pickup-banner { cursor: pointer; font: inherit; color: inherit; }
.delivery-pickup-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #16852b;
    font-weight: 600;
}
.delivery-pickup-headline { font-size: 1.15rem; color: #143d2e; }
.delivery-pickup-detail { font-size: 0.88rem; color: #4a5c6e; line-height: 1.4; }
.delivery-assign-panel {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    display: grid;
    gap: 12px;
}
.delivery-assign-title { margin: 0; font-size: 1rem; }
.partner-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    vertical-align: middle;
}
.partner-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 12px;
    object-fit: cover;
}
.admin-plan-card-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.delivery-detail { margin-bottom: 12px; padding: 16px; }
.delivery-detail h2 { margin: 0 0 10px; font-size: 1.05rem; }
.delivery-items { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.delivery-items li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; }
.delivery-proof-panel { padding: 16px; margin-bottom: 24px; }
.delivery-proof {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #dde4ec;
    margin: 12px 0;
}
.delivery-camera { margin: 8px 0 14px; width: 100%; min-height: 44px; }
.delivery-complete-btn { width: 100%; min-height: 48px; }
.delivery-outcome-fieldset {
    border: 0;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.delivery-outcome-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
}
.delivery-outcome-option input { width: 18px; height: 18px; accent-color: var(--green); }
.delivery-proof-panel textarea {
    width: 100%;
    min-height: 72px;
    margin-top: 6px;
    border-radius: 12px;
    border: 1px solid var(--line);
    padding: 10px 12px;
    resize: vertical;
}
.delivery-camera-label { display: block; margin: 12px 0; font-weight: 600; }
.delivery-complete-btn.danger { background: #c84b2f; border-color: #b5422a; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.admin-plans-page { max-width: 720px; }
.admin-plans-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.admin-plans-head h1 { margin: 0; }
.admin-plans-lead {
    margin: 8px 0 0;
    max-width: 38rem;
    color: #5a6c7d;
    font-size: 0.92rem;
    line-height: 1.45;
}
.admin-plans-head { align-items: flex-start; }
.admin-route-card {
    margin-bottom: 12px;
    border-radius: 16px;
    border: 1px solid #dde4ec;
    box-shadow: 0 6px 20px rgba(10, 37, 64, .04);
}
.admin-app .panel {
    border-color: #dde4ec;
    box-shadow: 0 6px 20px rgba(10, 37, 64, .04);
}
.admin-app .two .panel h2 { margin-top: 0; font-size: 1.15rem; }
.admin-plans-add { flex-shrink: 0; min-height: 44px; }
.admin-plans-head-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.admin-plans-link { min-height: 44px; display: inline-flex; align-items: center; }
.admin-products-page { max-width: 800px; }
.admin-product-card-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.admin-product-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #dde4ec;
    flex-shrink: 0;
    background: #f8fafc;
}
.admin-product-card .admin-plan-card-main { flex: 1; min-width: 0; }
.admin-plans-filters { padding: 14px; margin-bottom: 14px; display: grid; gap: 12px; }
.admin-plans-search input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #cfd8e3;
    font-size: 0.95rem;
}
.admin-plans-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-plans-chips .chip {
    font-size: 0.82rem;
    padding: 7px 12px;
    border-color: #cfd8e3;
    background: #fff;
}
.admin-plans-count { margin: 0 0 8px; font-size: 0.84rem; }
.admin-plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.admin-plan-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
}
.admin-plan-card.is-disabled { opacity: 0.88; background: #f8fafc; }
.admin-plan-card-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-plan-card-meta { margin: 6px 0 0; font-size: 0.86rem; }
.admin-plan-card-desc {
    margin: 6px 0 0;
    font-size: 0.84rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.admin-plan-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.admin-plan-card-actions .btn-small {
    flex: 1 1 calc(33% - 8px);
    min-width: 5.5rem;
    justify-content: center;
    text-align: center;
    min-height: 40px;
}
.admin-plan-form label span { font-weight: 650; }
.admin-plan-active-row { display: flex; align-items: center; gap: 8px; }
.plan-pill-off { background: #f1f3f5; color: #6c757d; }
.admin-app .btn-small.danger {
    background: transparent;
    color: #c84b2f;
    border: 1.5px solid rgba(200, 75, 47, .65);
    box-shadow: none;
}
.admin-app .btn-small.danger:hover { background: #c84b2f; color: #fff; }
.admin-plan-form { margin-top: 4px; }
@media (min-width: 640px) {
    .admin-plan-card {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
    .admin-plan-card-actions {
        flex-direction: column;
        flex: 0 0 auto;
        min-width: 7.5rem;
    }
    .admin-plan-card-actions .btn-small { flex: 0 0 auto; width: 100%; }
}
.admin-app h1, .admin-app h2 { font-family: Inter, "Segoe UI", sans-serif; color: #0a2540; letter-spacing: -0.02em; font-weight: 700; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.dash-head h1 { margin: 0; font-size: 2rem; }
.dash-kicker { margin: 0 0 6px; color: #0088a8; font-family: Inter, "Segoe UI", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dash-date { margin: 6px 0 0; color: #5a6c7d; }
.admin-app .stats { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.admin-app .stat { position: relative; overflow: hidden; display: block; background: #fff; border: 1px solid #dde4ec; border-radius: 16px; padding: 16px 16px 14px 18px; box-shadow: 0 8px 24px rgba(10, 37, 64, .05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.admin-app .stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #00a8cc, #0088a8); }
.admin-app .stat-warn::before { background: linear-gradient(180deg, #f4a261, #e85d04); }
.admin-app .stat span { display: block; color: #5a6c7d; font-size: .8rem; font-weight: 650; }
.admin-app .stat b { display: block; margin-top: 8px; font-family: Inter, "Segoe UI", sans-serif; font-size: 1.85rem; font-weight: 700; color: #0a2540; line-height: 1; }
.admin-app .stat:hover { transform: translateY(-2px); border-color: #b7dbe6; box-shadow: 0 14px 28px rgba(10, 37, 64, .1); }
.dash-panel { margin-top: 26px; background: #fff; border: 1px solid #dde4ec; border-radius: 18px; box-shadow: 0 10px 30px rgba(10, 37, 64, .05); overflow: hidden; }
.dash-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #e6eef3; }
.dash-panel-head h2 { margin: 0; font-size: 1.2rem; }
.dash-panel-head a { color: #0088a8; font-weight: 700; text-decoration: none; }
.dash-panel .table-wrap { border: 0; border-radius: 0; box-shadow: none; }
.dash-period {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.dash-period-label { font-size: 0.82rem; font-weight: 700; color: #5a6c7d; text-transform: uppercase; letter-spacing: .06em; }
.dash-stats-ops { margin-bottom: 4px; }
.dash-finance-note { margin: 0; font-size: 0.82rem; max-width: 22rem; text-align: right; }
.dash-finance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    padding: 14px 16px 18px;
}
.dash-finance-card {
    background: #f8fafc;
    border: 1px solid #e6eef3;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.dash-finance-card span { font-size: 0.78rem; font-weight: 650; color: #5a6c7d; }
.dash-finance-card strong { font-size: 1.35rem; color: #0a2540; letter-spacing: -0.02em; }
.dash-finance-card .note { margin: 4px 0 0; font-size: 0.72rem; line-height: 1.35; }
.dash-finance-sub strong { color: #0088a8; }
.dash-finance-spend strong { color: #c84b2f; }
.dash-finance-balance strong { color: #6f42c1; }
.dash-finance-pnl.positive strong { color: #1a7f4b; }
.dash-finance-pnl.negative strong { color: #c84b2f; }
.dash-chart-wrap { padding: 12px 16px 18px; overflow-x: auto; }
.dash-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5a6c7d;
}
.dash-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dash-swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
}
.dash-swatch.shop { background: #0088a8; }
.dash-swatch.sub { background: #00a8cc; }
.dash-swatch.spend { background: #e85d04; }
.dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    min-width: min(100%, 520px);
    padding-bottom: 4px;
}
.dash-chart-col {
    flex: 1 1 0;
    min-width: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.dash-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 120px;
    width: 100%;
}
.dash-bar {
    width: 28%;
    min-width: 4px;
    max-width: 14px;
    border-radius: 4px 4px 2px 2px;
    transition: height .2s ease;
}
.dash-bar.shop { background: linear-gradient(180deg, #00a8cc, #0088a8); }
.dash-bar.sub { background: linear-gradient(180deg, #4ecdc4, #0088a8); }
.dash-bar.spend { background: linear-gradient(180deg, #f4a261, #e85d04); }
.dash-chart-label {
    font-size: 0.65rem;
    color: #5a6c7d;
    text-align: center;
    line-height: 1.2;
    max-width: 3.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-finance-table td, .dash-finance-table th { white-space: nowrap; }
.dash-finance-total td { border-top: 2px solid #dde4ec; background: #f8fafc; }
.dash-net-pos { color: #1a7f4b; font-weight: 650; }
.dash-net-neg { color: #c84b2f; font-weight: 650; }
.admin-app table.data th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: #5a6c7d; background: #f7fafc; font-weight: 700; }
.admin-app table.data td a { color: #0088a8; font-weight: 700; text-decoration: none; }
.admin-app table.data tbody tr:hover { background: #f3fbfd; }
.admin-app .pill { background: #e7f6f8; color: #0a6e86; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: white; border-radius: 18px; padding: 14px; border: 1px solid var(--line); text-decoration: none; }
.stat b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.8rem; }
.stat span { color: var(--muted); }
.table-wrap { overflow-x: auto; background: white; border-radius: 18px; border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); }
.pill { display: inline-flex; border-radius: 999px; padding: 4px 8px; background: var(--leaf); color: var(--green); font-size: 0.82rem; font-weight: 700; }
.pill.warn { background: #fff1ea; color: #8a3d24; }
.pill.muted { background: #eeeae2; color: #5d6758; }

.order-list-intro { margin-bottom: 12px; }
.order-card-list { display: none; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.order-card { padding: 16px; }
.order-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.order-card-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
}
.order-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.order-actions-cell a { font-weight: 650; }
.order-list-table { display: block; }

@media (max-width: 768px) {
    .order-card-list { display: flex; }
    .order-list-table { display: none; }
}
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.notify { position: relative; z-index: 1; }
.notify-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
}
.notify-trigger-icon { justify-content: center; }
.notify-bell-svg { display: block; flex-shrink: 0; }
.notify-unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 5px;
    border-radius: 999px;
    background: #e85d3a;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0 0 2px rgba(6, 26, 49, .35);
}
.notify-trigger-icon .notify-unread-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 1rem;
    height: 1rem;
    box-shadow: 0 0 0 2px var(--header-bg, #16852b);
}
.notify-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(6, 26, 49, .42);
    cursor: default;
    animation: notify-fade-in .2s ease;
}
.notify-list-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.notify-panel-dismiss {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #eef2f6;
    color: #4a5c6e;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.notify-panel-dismiss:hover { background: #e2e9f0; color: #0a2540; }
.notify-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 65;
    width: min(380px, calc(100vw - 24px));
    max-height: min(72vh, 480px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: 18px;
    border: 1px solid #cfd8e3;
    background: #fff;
    color: #0a2540;
    box-shadow: 0 20px 50px rgba(10, 37, 64, .22), 0 0 0 1px rgba(255, 255, 255, .5) inset;
    animation: notify-panel-in .22s ease;
}
.notify-panel-grabber {
    display: none;
    width: 40px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: #c5d0dc;
}
.notify-list-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px 12px;
    border-bottom: 1px solid #e8eef3;
    background: linear-gradient(180deg, #f8fbfd 0%, #fff 100%);
}
.notify-list-head-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.notify-list-head strong {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.notify-list-sub {
    font-size: 0.78rem;
    color: #6a7d8f;
    font-weight: 500;
}
.notify-list-unread {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e7f6f8;
    border: 1px solid #9dd9e6;
    color: #007996;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.notify-list-items {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    min-height: 0;
}
.notify-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #e6eef3;
    background: #f8fafc;
    text-decoration: none;
    color: inherit;
    transition: background .15s ease, border-color .15s ease, transform .12s ease;
}
.notify-item:hover {
    background: #fff;
    border-color: #b7dbe6;
    box-shadow: 0 4px 14px rgba(10, 37, 64, .06);
}
.notify-item:active { transform: scale(0.99); }
.notify-item.is-unread {
    background: linear-gradient(135deg, #eef9fb 0%, #f5fcfa 100%);
    border-color: #9dd9e6;
    box-shadow: inset 3px 0 0 #00a8cc;
}
.notify-item-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    line-height: 1;
    background: #fff;
    border: 1px solid #e0e8ef;
}
.notify-item.kind-order-paid .notify-item-icon,
.notify-item.kind-order-delivered .notify-item-icon { background: #e8f8ef; border-color: #b8e0cc; }
.notify-item.kind-order-delivery-failed .notify-item-icon,
.notify-item.kind-order-cancelled .notify-item-icon,
.notify-item.kind-order-refund-required .notify-item-icon { background: #fff0eb; border-color: #f0c7b8; }
.notify-item.kind-plan-subscribed .notify-item-icon,
.notify-item.kind-subscription-offer .notify-item-icon { background: #f3edff; border-color: #d4c4f5; }
.notify-item-body {
    display: grid;
    gap: 4px;
    min-width: 0;
    flex: 1;
}
.notify-item-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.notify-item-title {
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.notify-item-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00a8cc;
    box-shadow: 0 0 0 2px rgba(0, 168, 204, .25);
}
.notify-item-message {
    font-size: 0.84rem;
    color: #4a5c6e;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notify-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
}
.notify-item-time {
    font-size: 0.72rem;
    color: #7a8b9c;
    font-weight: 500;
}
.notify-item-cta {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0088a8;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.notify-list-empty-state {
    padding: 28px 20px 32px;
    text-align: center;
}
.notify-empty-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
    opacity: .85;
}
.notify-list-empty {
    margin: 0;
    font-weight: 700;
    color: #0a2540;
    font-size: 0.95rem;
}
.notify-list-empty-hint {
    margin: 6px 0 0;
    font-size: 0.82rem;
    color: #6a7d8f;
    line-height: 1.4;
}
.notify-mark-all {
    margin: 0;
    padding: 14px 16px;
    border: 0;
    border-top: 1px solid #e8eef3;
    border-radius: 0;
    background: #fafcfd;
    color: #0088a8;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: .03em;
    cursor: pointer;
    width: 100%;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}
.notify-mark-all:hover { background: #eef6f8; }
.notify-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.notify-admin .notify-trigger {
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .28);
    padding: 8px 14px !important;
    font-size: 12px !important;
    font-weight: 650;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.notify-admin .notify-trigger:hover { background: rgba(255, 255, 255, .18); }
.notify-admin .notify-unread-badge {
    background: #ff6b4a;
    box-shadow: 0 0 0 2px rgba(6, 26, 49, .5);
}
.notify-admin .notify-panel { right: -4px; }
@keyframes notify-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes notify-panel-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 639px) {
    .notify-panel {
        position: fixed;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: auto;
        max-height: min(86vh, 560px);
        border-radius: 20px 20px 0 0;
        border-bottom: none;
        box-shadow: 0 -8px 40px rgba(10, 37, 64, .28);
        animation: notify-sheet-in .28s ease;
    }
    .notify-panel-grabber { display: block; }
    @keyframes notify-sheet-in {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
}
.product-admin { display: grid; grid-template-columns: 72px 1.4fr 0.6fr 0.5fr 0.7fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.product-admin img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; }
.inline { display: flex; gap: 8px; align-items: center; }
.inline input { width: 90px; }

.empty { padding: 28px; text-align: center; }
.page-title { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 16px; }
.page-title h1 { margin: 0; font-size: 2.4rem; }

@media (max-width: 800px) {
    .hero, .two, .product-admin, .storefront .market-banner, .footer-grid, .storefront .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .header-row { flex-wrap: wrap; padding: 10px 0; }
    .nav { order: 3; width: 100%; overflow-x: auto; }
    .banner-inner { flex-direction: column; align-items: flex-start; }
    .admin-main { width: min(1120px, calc(100% - 24px)); }
    .cart-table th:nth-child(3), .cart-table td:nth-child(3) { display: none; }
    .studio-body { grid-template-columns: 1fr; }
}

.storefront-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.storefront-page {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding-top: var(--storefront-header-offset, 84px);
    min-height: 0;
    box-sizing: border-box;
    background: var(--bg, #fff);
    color: var(--text, #202820);
    position: relative;
    z-index: 1;
    overflow: visible;
}
.storefront-scroll {
    flex: 1 1 auto;
    min-height: 0;
}
.storefront-page main {
    flex: 1 1 auto;
}
@media (min-width: 769px) {
    .storefront-scroll {
        display: block;
        min-height: auto;
        overflow: visible;
    }
}
header.site-header.storefront-chrome-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 115 !important;
    width: 100% !important;
    max-width: 100vw !important;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}
.storefront {
    --primary: #16852B;
    --secondary: #EAF5E8;
    --bg: #FFFFFF;
    --text: #202820;
    --button: #16852B;
    --link: #16852B;
    --accent: #F3A712;
    --radius: 12px;
    --btn-radius: 999px;
    --font: "Outfit", "Segoe UI", sans-serif;
    --heading-size: 2.75rem;
    --body-size: 16px;
    --shadow: 0 10px 24px rgba(32, 40, 32, .08);
    --card-shadow: var(--shadow);
    --card-border: 1px solid transparent;
    --grid-min: 180px;
    --header-bg: #16852B;
    --header-text: #fff;
    --muted: #5c675f;
    --line: #e6eee4;
    --card: #fff;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: var(--body-size);
    min-height: 100vh;
}
.storefront h1, .storefront h2, .storefront h3 { font-family: var(--font); }
header.storefront.site-header,
.storefront .site-header,
header.site-header.storefront-chrome-header {
    background:
        radial-gradient(ellipse 80% 60% at 18% 30%, rgba(0, 168, 204, .22) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 85% 70%, rgba(0, 136, 168, .18) 0%, transparent 60%),
        linear-gradient(120deg, #061a31 0%, #0a2540 35%, #123a5c 65%, #0a2540 100%);
    color: #fff;
    border-bottom: 0;
    box-shadow: 0 4px 18px rgba(10, 37, 64, .35), inset 0 -1px 0 rgba(0, 168, 204, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}
header.storefront.site-header:not(.storefront-chrome-header),
.storefront .site-header:not(.storefront-chrome-header) {
    position: relative;
}
header.storefront.site-header::before,
.storefront .site-header::before,
header.site-header.storefront-chrome-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0088a8, #00a8cc, #4dd0e1, #00a8cc, #0088a8);
    background-size: 200% 100%;
    animation: nav-shine 6s linear infinite;
    box-shadow: 0 1px 8px rgba(0, 168, 204, .5);
    z-index: 3;
}
header.storefront.site-header::after,
.storefront .site-header::after,
header.site-header.storefront-chrome-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 204, .85), transparent);
    pointer-events: none;
}
header.storefront .header-row,
.storefront .header-row { min-height: 84px; }
header.storefront .brand img,
.storefront .brand img { width: auto; height: 72px; max-width: min(240px, 46vw); object-fit: contain; background: #fff; border-radius: 14px; padding: 4px 8px; filter: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.storefront .brand:hover img { transform: scale(1.06); }
.storefront .logo-name { color: #fff; font-family: Inter, "Segoe UI", sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.storefront .logo-name span { color: rgba(255, 255, 255, .72); opacity: 1; letter-spacing: .14em; font-size: .68rem; font-weight: 600; }
.storefront .nav { gap: 2px; }
.storefront .nav a {
    position: relative;
    color: rgba(255, 255, 255, .82);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .55px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    line-height: 1.2;
}
.storefront .nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    border-radius: 2px;
    background: linear-gradient(90deg, #00a8cc, #4dd0e1);
    box-shadow: 0 0 8px rgba(0, 168, 204, .55);
    transition: width .3s cubic-bezier(.2, .8, .2, 1);
}
.storefront .nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.storefront .nav a.active { color: #fff; background: rgba(0, 168, 204, .14); }
.storefront .nav a:hover::after, .storefront .nav a.active::after { width: 58%; }
.storefront .admin-entry {
    color: rgba(255, 255, 255, .82);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .55px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 8px;
}
.storefront .admin-entry:hover { color: #fff; }
.storefront .cart-link, .storefront .profile-link {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(0, 168, 204, .7);
    border-radius: 999px;
    padding: 9px 18px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .75px;
    text-transform: uppercase;
    box-shadow: none;
    transition: background .25s ease, border-color .25s ease, box-shadow .3s ease, transform .2s ease;
}
.storefront .notify-storefront .notify-storefront-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 10px;
    margin: 0;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(0, 168, 204, .7);
    border-radius: 999px;
    font: inherit;
    cursor: pointer;
    box-shadow: none;
    transition: background .25s ease, border-color .25s ease, box-shadow .3s ease, transform .2s ease;
}
.storefront .notify-storefront .notify-storefront-btn:hover {
    background: linear-gradient(135deg, #0088a8 0%, #00a8cc 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(0, 168, 204, .45);
    transform: translateY(-1px);
}
.storefront .notify-storefront .notify-bell-svg { display: block; }
.storefront .notify-storefront .notify-unread-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 1rem;
    height: 1rem;
    padding: 0 3px;
    line-height: 1rem;
    font-size: 0.62rem;
    background: #e85d04;
}
.storefront .notify-storefront { z-index: 3; }
.storefront .notify-storefront .notify-panel.notify-storefront-panel { top: calc(100% + 10px); }
.storefront .notify-storefront .notify-list-unread {
    background: #e8f5ec;
    border-color: #b8e0cc;
    color: #1a7f4b;
}
.storefront .notify-storefront-panel .notify-item.is-unread { box-shadow: inset 3px 0 0 #16852b; }
.storefront .notify-storefront-panel .notify-item-cta { color: #16852b; }
.storefront .notify-storefront-panel .notify-mark-all { color: #16852b; }
.storefront .cart-link:hover, .storefront .profile-link:hover, .storefront .header-cta:hover {
    background: linear-gradient(135deg, #0088a8 0%, #00a8cc 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(0, 168, 204, .45);
    transform: translateY(-1px);
}
.storefront .cart-count { background: #e85d04; color: #fff; }
header.storefront.header-light.site-header,
header.storefront.header-transparent.site-header,
.storefront.header-light .site-header,
.storefront.header-transparent .site-header {
    background: var(--header-bg);
    color: var(--header-text);
    box-shadow: none;
    border-bottom: 1px solid var(--line);
}
header.storefront.header-light.site-header::before,
header.storefront.header-light.site-header::after,
header.storefront.header-transparent.site-header::before,
header.storefront.header-transparent.site-header::after,
.storefront.header-light .site-header::before,
.storefront.header-light .site-header::after,
.storefront.header-transparent .site-header::before,
.storefront.header-transparent .site-header::after { display: none; }
.storefront.header-light .logo-name, .storefront.header-light .logo-name span,
.storefront.header-light .nav a, .storefront.header-light .cart-link, .storefront.header-light .profile-link,
.storefront.header-transparent .logo-name, .storefront.header-transparent .logo-name span,
.storefront.header-transparent .nav a, .storefront.header-transparent .cart-link, .storefront.header-transparent .profile-link { color: var(--header-text); }
.storefront.nav-compact .header-row { min-height: 68px; }
.storefront.nav-compact .brand img { width: auto; height: 56px; max-width: 180px; }
.brand img.brand-mark,
.storefront .brand img.brand-mark,
.storefront.nav-compact .brand img.brand-mark,
.admin-header .brand img.brand-mark {
    width: 68px;
    height: 68px;
    max-width: 68px;
    padding: 0;
    border-radius: 50%;
    object-fit: cover;
    background: transparent;
}
.storefront .banner {
    background: linear-gradient(180deg, #f5f9fb 0%, #ffffff 100%);
    color: #243044;
    border-bottom: 1px solid #e5eef3;
}
.storefront .banner-inner { gap: 24px; padding: 16px 0; }
.storefront .banner-copy { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.storefront .banner-copy::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 50%;
    background: #00a8cc;
    box-shadow: 0 0 0 4px rgba(0, 168, 204, .16);
}
.storefront .banner p { max-width: 68ch; color: #3c4b5a; font-size: .95rem; line-height: 1.55; }
.storefront .banner-note { margin-top: 4px; }
.storefront .banner strong { color: #0a2540; }
.storefront .date-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: #fff;
    color: #0a2540;
    border: 1px solid #d7e6ee;
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow: 0 8px 20px rgba(10, 37, 64, .06);
}
.storefront .date-chip span {
    color: #0088a8;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.storefront .date-chip strong { font-size: .95rem; font-weight: 700; }
.storefront .banner.closed { background: #fff8f4; color: #6d3b22; }
.storefront .banner.closed .banner-copy::before { background: #c45c12; box-shadow: 0 0 0 4px rgba(196, 92, 18, .16); }
.storefront .banner.closed p, .storefront .banner.closed strong { color: #6d3b22; }
.storefront .btn {
    background: #0088a8;
    color: #fff;
    border: 2px solid #0088a8;
    border-radius: 50px;
    padding: 12px 22px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .55px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 136, 168, .35);
    transition: background .25s ease, border-color .25s ease, box-shadow .3s ease, transform .2s ease;
}
.storefront .btn:hover { background: #00a8cc; border-color: #00a8cc; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 168, 204, .45); }
.storefront .btn.secondary { background: transparent; color: #0088a8; border: 1.5px solid rgba(0, 136, 168, .7); box-shadow: none; }
.storefront .btn.secondary:hover { background: linear-gradient(135deg, #0088a8, #00a8cc); color: #fff; border-color: transparent; }
.storefront .btn.danger { background: #c84b2f; border-color: #c84b2f; box-shadow: 0 4px 14px rgba(200, 75, 47, .28); }
.storefront .chip.active { background: #0088a8; border-color: #0088a8; color: #fff; }
.storefront .hero h1 { font-size: var(--heading-size); color: var(--text); }
.storefront .market-banner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    margin: 0 0 14px;
    padding: 14px 16px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #f3faf2 0%, #ffffff 64%);
    box-shadow: 0 8px 24px rgba(22, 40, 24, 0.05);
}
.storefront .market-eyebrow { margin-bottom: 4px; font-size: 0.72rem; }
.storefront .market-banner .market-title,
.storefront .market-banner h1.market-title {
    margin: 0;
    max-width: none;
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(1.25rem, 4vw, 1.65rem);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: #142018;
    outline: none;
}
.storefront .market-banner h1:focus { outline: none; }
.storefront .market-lead {
    margin: 6px 0 0;
    max-width: 36rem;
    color: #5c675f;
    font-size: 0.86rem;
    line-height: 1.4;
}
.storefront .market-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.storefront .market-highlights li {
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e6eee4;
    font-size: 0.76rem;
    line-height: 1.35;
    color: var(--muted);
}
.storefront .market-highlights strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.8rem;
    font-weight: 650;
    color: #142018;
}
.storefront .market-highlights a { font-weight: inherit; }
.storefront .market-banner .promise div { background: #fff; border-color: #e6eee4; box-shadow: none; }
@media (min-width: 720px) {
    .storefront .market-banner {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
        gap: 16px;
        padding: 16px 20px;
    }
    .storefront .market-highlights { grid-template-columns: 1fr; gap: 6px; }
}
.storefront .grid { grid-template-columns: repeat(auto-fill, minmax(var(--grid-min), 1fr)); }
.storefront .product-card, .storefront .panel { background: var(--card); border: var(--card-border); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.storefront .chip, .storefront .qty { border-radius: 999px; }
.storefront a { color: var(--link); }
header.storefront.header-light.site-header a,
header.storefront.header-transparent.site-header a,
.storefront.header-light .site-header a,
.storefront.header-transparent .site-header a { color: var(--header-text); }
.storefront .eyebrow, .storefront .available { color: var(--primary); }
.storefront .search-box input { border-radius: 999px; background: var(--secondary); border-color: transparent; }
.storefront .site-footer {
    position: relative;
    margin-top: 12px;
    padding: 40px 0 18px;
    color: rgba(255, 255, 255, .78);
    background:
        radial-gradient(ellipse 70% 80% at 8% 0%, rgba(0, 168, 204, .18), transparent 55%),
        linear-gradient(180deg, #0a2540 0%, #061a31 100%);
}
.storefront .site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00a8cc, #4dd0e1, #00a8cc, transparent);
}
.storefront .footer-logo {
    display: block;
    width: min(200px, 100%);
    height: auto;
    max-height: none;
    margin: 0 0 12px;
    padding: 8px 10px;
    background: #fff;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.storefront .footer-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.82fr) minmax(0, 1.05fr) minmax(0, 0.82fr);
    align-items: start;
}
.storefront .footer-tagline {
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    max-width: 22rem;
}
.storefront .footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
}
.storefront .footer-links a:hover .footer-link-icon {
    opacity: 1;
    color: #fff;
}
.storefront .site-footer strong { display: block; margin-bottom: 8px; color: #fff; font-family: Inter, "Segoe UI", sans-serif; font-size: 1.15rem; }
.storefront .site-footer p { margin: 0 0 6px; line-height: 1.5; }
.storefront .footer-label { display: block; margin-bottom: 10px; color: #7fd3e4; font-family: Inter, "Segoe UI", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.storefront .pin-row { display: flex; flex-wrap: wrap; gap: 8px; }
.storefront .pin-row span { border: 1px solid rgba(0, 168, 204, .5); border-radius: 999px; padding: 5px 10px; color: #fff; font-size: 13px; font-weight: 600; }
.storefront .footer-bottom { border-top-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); }
.storefront .footer-links a { color: #9ee8f7; }
.storefront .footer-links a:hover { color: #fff; }
.storefront .footer-contact a { color: #9ee8f7; }
.storefront .footer-legal a { color: rgba(255, 255, 255, .55); }
.storefront .footer-legal a:hover { color: #fff; }
.storefront .footer-delivery-card {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(0, 168, 204, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.22);
    font-size: 0.88rem;
}
.storefront .footer-delivery-card p {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, 0.82);
}
.storefront .footer-delivery-card p:last-child { margin-bottom: 0; }
.home-story-hero {
    margin: 0;
    padding: 14px 0 4px;
    background: transparent;
}
.home-story-hero-wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}
.home-story-hero + .section { padding-top: 14px; }
.storefront .home-story-hero .story-slider.story-slider--d2k {
    margin: 0;
}
/* Hero promo carousel — aligned to .wrap width, white field, mobile-first */
.story-slider.story-slider--d2k.story-slider--promo {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: clamp(14px, 3vw, var(--radius));
    box-shadow: var(--shadow);
    overflow: hidden;
}
.story-slider--d2k .story-slider-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    isolation: isolate;
    touch-action: pan-y pinch-zoom;
    background: #fff;
    box-shadow: none;
}
.story-slider--d2k .story-slide {
    background: #fff;
}
.story-slider--d2k .story-slider-viewport::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 6;
    background: linear-gradient(
        90deg,
        #16852b,
        #52b788,
        #ef6c00,
        #00a8cc
    );
    background-size: 200% 100%;
    animation: storyHeroAccent 7s ease-in-out infinite alternate;
}
@keyframes storyHeroAccent {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.story-slider--d2k .story-slide {
    transition: opacity 0.85s ease, visibility 0s linear 0.85s;
}
.story-slider--d2k .story-slide.is-active {
    transition: opacity 0.85s ease, visibility 0s linear 0s;
}
.story-slide--promo {
    background: #fff;
}
.story-slide-photo-promo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    user-select: none;
}
.story-slider--d2k .story-slide.is-active .story-slide-photo-promo {
    animation: none;
}
.story-slide-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
    text-decoration: none;
    border-radius: 0;
}
.story-slide-hit:focus-visible {
    outline: 3px solid #00a8cc;
    outline-offset: -3px;
}
.story-slider-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: 4px;
    z-index: 5;
    height: 3px;
    background: rgba(10, 37, 64, 0.08);
    pointer-events: none;
}
.story-slider-progress-fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #16852b, #ef6c00);
    animation: storyHeroProgress 6s linear forwards;
}
.story-slider-progress-fill.is-paused {
    animation-play-state: paused;
}
@keyframes storyHeroProgress {
    from { width: 0; }
    to { width: 100%; }
}
.story-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(10, 37, 64, 0.42);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.story-slider-nav:hover {
    background: linear-gradient(135deg, rgba(22, 133, 43, 0.95), rgba(0, 168, 204, 0.9));
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 8px 26px rgba(22, 133, 43, 0.35);
}
.story-slider-nav--prev { left: 0.65rem; }
.story-slider-nav--next { right: 0.65rem; }
.story-slider-dots--hero {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.65rem;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    padding: 0 0.5rem;
    max-width: none;
}
.story-slider--d2k .story-slider-dot {
    position: relative;
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(32, 40, 32, 0.22);
    box-shadow: none;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.story-slider--d2k .story-slider-dot::before {
    content: "";
    position: absolute;
    inset: -12px;
}
.story-slider--d2k .story-slider-dot.is-active {
    width: 28px;
    background: linear-gradient(90deg, #16852b, #52b788);
    box-shadow: 0 2px 12px rgba(22, 133, 43, 0.45);
}
@media (min-width: 520px) {
    .story-slider--d2k .story-slider-viewport {
        aspect-ratio: 2 / 1;
    }
}
@media (min-width: 640px) {
    .story-slider-nav {
        display: flex;
    }
    .home-story-hero {
        padding: 18px 0 6px;
    }
    .story-slider-nav--prev { left: 0.75rem; }
    .story-slider-nav--next { right: 0.75rem; }
}
@media (min-width: 960px) {
    .story-slider-nav {
        width: 48px;
        height: 48px;
    }
    .story-slider-nav--prev { left: 1rem; }
    .story-slider-nav--next { right: 1rem; }
}
@media (max-width: 639px) {
    .home-story-hero {
        padding: 10px 0 2px;
    }
    .home-story-hero-wrap {
        width: min(1120px, calc(100% - 20px));
    }
    .story-slide-photo-promo {
        object-position: center 42%;
    }
    .story-slider-nav--prev,
    .story-slider-nav--next {
        display: flex;
        width: 38px;
        height: 38px;
        top: auto;
        bottom: 2.75rem;
        transform: none;
    }
    .story-slider-nav--prev { left: 0.45rem; }
    .story-slider-nav--next { right: 0.45rem; }
    .story-slider-nav:hover {
        transform: scale(1.04);
    }
}
@media (prefers-reduced-motion: reduce) {
    .story-slider--d2k .story-slider-viewport::before,
    .story-slider-progress-fill,
    .story-slider--d2k .story-slide.is-active .story-slide-photo-promo {
        animation: none;
    }
    .story-slider--d2k .story-slide {
        transition: opacity 0.35s ease;
    }
}
.storefront .footer-delivery-bar {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(0, 136, 168, 0.28) 0%, rgba(6, 26, 49, 0.55) 100%);
}
.storefront .site-footer .footer-delivery-bar.banner {
    color: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
.storefront .footer-delivery-bar .banner-inner {
    padding: 16px 0 18px;
    align-items: center;
}
.storefront .footer-delivery-bar .banner-copy::before {
    background: #4dd0e1;
    box-shadow: 0 0 0 4px rgba(77, 208, 225, 0.28);
}
.storefront .site-footer .footer-delivery-bar.banner .banner-copy p,
.storefront .site-footer .footer-delivery-bar.banner .banner-note,
.storefront .site-footer .footer-delivery-bar.banner .banner-note strong {
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.9rem;
    line-height: 1.55;
}
.storefront .site-footer .footer-delivery-bar.banner.closed .banner-copy p,
.storefront .site-footer .footer-delivery-bar.banner.closed .banner-note strong {
    color: rgba(255, 248, 244, 0.95);
}
.storefront .footer-delivery-bar .footer-date-chip span {
    color: #0088a8;
}
.storefront .footer-delivery-bar .footer-date-chip strong {
    color: #0a2540;
    font-size: 1rem;
}
.storefront .footer-delivery-bar.closed {
    background: linear-gradient(180deg, rgba(196, 92, 18, 0.22) 0%, rgba(6, 26, 49, 0.5) 100%);
}
.storefront .footer-delivery-bar.closed .banner-copy::before {
    background: #f4a261;
    box-shadow: 0 0 0 4px rgba(244, 162, 97, 0.2);
}
.storefront .footer-delivery-bar .footer-date-chip {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(0, 168, 204, 0.25);
}
.storefront .footer-delivery-bar.closed .footer-date-chip strong { color: #6d3b22; }
.store-preview.storefront { min-height: 0; border-radius: 28px; overflow: hidden; border: 1px solid #e6eee4; }
.store-preview .site-header { position: relative; }
.store-preview .nav { display: none; }
.store-preview .header-row { min-height: 72px; }
.store-preview .cart-link, .store-preview .profile-link { padding: 7px 12px; letter-spacing: .4px; }
.store-preview .wrap { width: calc(100% - 24px); }
.store-preview .market-banner { margin: 12px; }
.store-preview .preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--grid-min), 1fr)); gap: 10px; padding: 0 12px 16px; }
.store-preview .section { padding: 8px 0 12px; }

.studio { display: grid; gap: 16px; }
.studio-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.studio-top h1 { margin: 0; font-size: 1.8rem; }
.studio-top p { margin: 4px 0 0; color: #5c675f; }
.studio-actions { display: flex; gap: 8px; align-items: center; }
.studio-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.studio-card { background: #fff; border: 1px solid #e6eee4; border-radius: 18px; padding: 16px; }
.studio-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.studio-tabs button, .choice { border: 1px solid #e6eee4; background: #fff; border-radius: 12px; padding: 8px 12px; cursor: pointer; font-weight: 650; }
.studio-tabs button.active, .choice.active { background: #16852B; color: #fff; border-color: #16852B; }
.theme-picks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.theme-pick { border: 1px solid #e6eee4; background: #fff; border-radius: 14px; padding: 8px; text-align: left; cursor: pointer; }
.theme-pick.active { border-color: #16852B; box-shadow: 0 0 0 2px #16852B inset; }
.theme-swatch { height: 58px; border-radius: 10px; padding: 8px; color: #fff; font-size: .72rem; display: flex; align-items: flex-end; }
.theme-pick span { display: block; margin-top: 6px; font-size: .82rem; font-weight: 700; }
.brand-row, .style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.logo-upload { display: flex; gap: 10px; align-items: center; }
.logo-upload img { width: 120px; height: 72px; border-radius: 14px; background: #fff; object-fit: contain; border: 1px solid var(--line); }
.color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.search-box { display: block; margin: 0 0 14px; }
.search-box input, .preview-search input { width: 100%; border-radius: 999px; background: var(--leaf); border: 1px solid var(--line); padding: 12px 16px; }
.color-field { display: flex; gap: 8px; align-items: center; }
.color-field span { width: 96px; font-weight: 650; }
.color-field input[type=color] { width: 42px; height: 42px; padding: 0; border: 0; background: transparent; }
.radius-row { display: flex; align-items: center; gap: 10px; }
.radius-row input[type=range] { width: auto; flex: 1; }
.preview-frame { background: #fff; border: 1px solid #e6eee4; border-radius: 18px; padding: 12px; position: sticky; top: 12px; }
.preview-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.device { width: 100%; margin: 0 auto; transition: width .2s ease; }
.device.mobile { width: 320px; }
.preview-search { margin: 10px 12px; }
.preview-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 12px; }
.mini-card { background: var(--card); border: var(--card-border); box-shadow: var(--card-shadow); border-radius: var(--radius); overflow: hidden; }
.mini-card img { height: 92px; width: 100%; object-fit: cover; }
.mini-card div { padding: 8px; }
.mini-card strong, .mini-card p { margin: 0; }
.mini-qty { margin-top: 8px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: var(--btn-radius); padding: 4px 8px; }
@media (max-width: 1100px) {
    .theme-picks, .brand-row, .style-grid, .color-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) and (min-width: 641px) {
    .storefront .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 24px;
    }
    .storefront .footer-brand.footer-block {
        grid-column: 1 / -1;
        text-align: center;
    }
    .storefront .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .storefront .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }
}

@keyframes nav-shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.install-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
    padding: 14px 16px;
    background: #0a2540;
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(10, 37, 64, .28);
    font-family: Inter, "Segoe UI", sans-serif;
}
.install-bar p { margin: 0; font-size: .95rem; line-height: 1.4; }
.push-bar { border-top: 1px solid rgba(0, 168, 204, .25); background: linear-gradient(180deg, #0d2d4a 0%, #0a2540 100%); color: #fff; }
.push-bar-error { margin: 8px 0 0; font-size: 0.82rem; color: #ffc9b8; width: 100%; }
.install-actions { display: flex; gap: 8px; flex-shrink: 0; }
.install-go, .install-dismiss {
    border-radius: 999px;
    padding: 9px 14px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    cursor: pointer;
}
.install-go { background: #0088a8; color: #fff; border: 0; }
.install-dismiss { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
@media (max-width: 800px) {
    .install-bar { flex-direction: column; align-items: stretch; }
    .install-actions { justify-content: flex-end; }
}

/* Mobile-first layout (phones and narrow PWA) */
@media (max-width: 640px) {
    .wrap { width: min(1120px, calc(100% - 20px)); }
    .section { padding: 16px 0 calc(32px + env(safe-area-inset-bottom)); }
    .page-title { flex-direction: column; align-items: stretch; }
    .page-title h1 { font-size: 1.75rem; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-card img { height: 132px; }
    .product-body { padding: 10px 10px 12px; gap: 6px; }
    .product-body h2 { font-size: 1.05rem; line-height: 1.2; }
    .product-actions { gap: 8px; }
    .btn-add-cart-icon { width: 40px; height: 40px; min-height: 40px; }
    .btn-add-cart-icon .btn-add-cart-svg { width: 20px; height: 20px; }
    .btn, .storefront .btn { min-height: 44px; }
    input, textarea, select { font-size: 16px; min-height: 44px; }
    .two { grid-template-columns: 1fr; gap: 14px; }
    .cart-table { display: block; }
    .cart-table thead { display: none; }
    .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr {
        border-top: 1px solid var(--line);
        padding: 14px 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 12px;
    }
    .cart-table td { border: 0; padding: 0; }
    .cart-table td.cart-product { flex: 1 1 100%; }
    .cart-item-img { width: 72px; height: 72px; border-radius: 14px; }
    .cart-table td:nth-child(2) { flex: 1 1 auto; }
    .cart-table td:last-child { margin-left: auto; }
    header.storefront .header-row,
    .storefront .header-row {
        min-height: 60px;
        gap: 8px;
        flex-wrap: nowrap;
        padding: 6px 0;
    }
    .storefront .nav-desktop { display: none; }
    .storefront .header-actions { margin-left: auto; gap: 6px; flex-shrink: 0; align-items: center; }
    .storefront .admin-entry {
        display: inline-flex;
        padding: 7px 10px;
        font-size: 10px;
        font-weight: 650;
        letter-spacing: .04em;
        text-transform: uppercase;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, .35);
        color: rgba(255, 255, 255, .88);
        text-decoration: none;
        white-space: nowrap;
    }
    .storefront .cart-link-header { padding: 8px 12px; min-width: 44px; justify-content: center; }
    .storefront .profile-link.header-cta { padding: 8px 14px; font-size: 12px; letter-spacing: .35px; }
    .storefront .notify-storefront .notify-storefront-btn { min-width: 40px; min-height: 40px; padding: 7px 9px; }
    .storefront .brand img.brand-mark,
    .brand img.brand-mark {
        width: 52px;
        height: 52px;
        max-width: 52px;
    }
    .storefront .market-banner {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px 14px;
        margin-bottom: 12px;
    }
    .storefront .market-banner .market-title,
    .storefront .market-banner h1 {
        font-size: 1.22rem;
    }
    .storefront .market-lead { font-size: 0.84rem; }
    .storefront .banner-inner { gap: 12px; align-items: stretch; }
    .storefront .date-chip { width: 100%; }
    .storefront .footer-delivery-bar .banner-inner { flex-direction: column; align-items: stretch; }
    .storefront .footer-delivery-bar .footer-date-chip { width: 100%; }
    .storefront .footer-logo { width: min(220px, 100%); padding: 8px 10px; }
    .storefront .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .storefront .footer-block {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .storefront .footer-brand.footer-block {
        border-top: 0;
        padding-top: 4px;
        text-align: center;
    }
    .storefront .footer-logo-link { margin: 0 auto; }
    .storefront .footer-logo {
        width: min(196px, 78vw);
        margin: 0 auto 14px;
        padding: 10px 12px;
        border-radius: 18px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    }
    .storefront .footer-tagline {
        max-width: 22rem;
        margin: 0 auto;
        font-size: 0.9rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.68);
    }
    .storefront .footer-label {
        margin-bottom: 12px;
        font-size: 0.68rem;
        letter-spacing: 0.12em;
        color: rgba(127, 211, 228, 0.95);
    }
    .storefront .footer-links { gap: 0; }
    .storefront .footer-links li + li { margin-top: 8px; }
    .storefront .footer-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 13px 15px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.09);
        color: rgba(255, 255, 255, 0.94);
        font-size: 0.92rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        -webkit-tap-highlight-color: transparent;
        transition: background 0.15s ease, border-color 0.15s ease;
    }
    .storefront .footer-links a .footer-link-body {
        flex: 1;
        min-width: 0;
    }
    .storefront .footer-links a .footer-link-icon {
        width: 20px;
        height: 20px;
        padding: 0;
        color: #9ee8f7;
        opacity: 1;
    }
    .storefront .footer-links a::after {
        content: "›";
        flex-shrink: 0;
        opacity: 0.5;
        font-size: 1.2rem;
        font-weight: 400;
        line-height: 1;
    }
    .storefront .footer-links a:active {
        background: rgba(0, 168, 204, 0.18);
        border-color: rgba(0, 212, 255, 0.35);
    }
    .storefront .footer-delivery-block .footer-delivery-card {
        padding: 16px;
        border-radius: 16px;
        background: rgba(0, 168, 204, 0.12);
        border: 1px solid rgba(0, 212, 255, 0.28);
    }
    .storefront .footer-delivery-block p {
        font-size: 0.88rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.82);
    }
    .storefront .footer-contact {
        margin-top: 12px !important;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.86rem !important;
    }
    .storefront .footer-contact a {
        color: #b8f4ff;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
    .storefront .footer-bottom {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 14px;
        margin-top: 8px;
        padding-top: 18px;
    }
    .storefront .footer-copy {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.45);
    }
    .storefront .footer-legal {
        justify-content: center;
        gap: 8px;
    }
    .storefront .footer-legal a {
        padding: 9px 14px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        font-size: 0.78rem;
        font-weight: 650;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.7);
    }
    .storefront .footer-legal a:active {
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }
    .hide-mobile { display: none !important; }
    .show-mobile { display: inline !important; }
    nav.mobile-dock.storefront-mobile-dock {
        display: grid !important;
        padding: 8px 10px calc(10px + env(safe-area-inset-bottom));
        gap: 6px;
        background: linear-gradient(180deg, rgba(8, 28, 52, 0.96) 0%, rgba(6, 22, 42, 0.99) 100%);
        border-top: 1px solid rgba(0, 196, 230, 0.35);
        box-shadow: 0 -12px 32px rgba(6, 18, 36, 0.45);
        backdrop-filter: blur(16px) saturate(1.2);
        -webkit-backdrop-filter: blur(16px) saturate(1.2);
    }
    .mobile-dock-guest,
    .mobile-dock-signed-in { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .mobile-dock .dock-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-height: 56px;
        padding: 5px 2px;
        border-radius: 14px;
        color: rgba(255, 255, 255, 0.78);
        font-family: Inter, "Segoe UI", sans-serif;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
    }
    .mobile-dock .dock-item:active { transform: scale(0.96); }
    .mobile-dock .dock-icon-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 11px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
        color: rgba(255, 255, 255, 0.88);
        transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    }
    .mobile-dock .dock-svg {
        display: block;
        width: 20px;
        height: 20px;
    }
    .mobile-dock .dock-label {
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.03em;
        line-height: 1.1;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .mobile-dock .dock-item.active {
        color: #fff;
        background: transparent;
        box-shadow: none;
    }
    .mobile-dock .dock-item.active .dock-icon-wrap {
        color: #fff;
        background: linear-gradient(145deg, rgba(0, 168, 204, 0.85) 0%, rgba(0, 120, 150, 0.75) 100%);
        border-color: rgba(125, 240, 255, 0.55);
        box-shadow: 0 4px 16px rgba(0, 168, 204, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
    }
    .mobile-dock .dock-item.dock-admin {
        color: rgba(255, 198, 140, 0.92);
    }
    .mobile-dock .dock-item.dock-admin .dock-icon-wrap {
        border-color: rgba(255, 180, 120, 0.25);
        color: rgba(255, 210, 160, 0.95);
    }
    .mobile-dock .dock-item.dock-admin.active .dock-icon-wrap {
        background: linear-gradient(145deg, rgba(239, 108, 0, 0.9) 0%, rgba(200, 80, 20, 0.8) 100%);
        border-color: rgba(255, 200, 140, 0.5);
        box-shadow: 0 4px 14px rgba(239, 108, 0, 0.35);
    }
    .mobile-dock .dock-cart .dock-count {
        position: absolute;
        top: 0;
        right: calc(50% - 22px);
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 99px;
        background: linear-gradient(180deg, #ff7b2e 0%, #e85d04 100%);
        color: #fff;
        font-size: 10px;
        font-weight: 800;
        line-height: 18px;
        text-align: center;
        box-shadow: 0 0 0 2px rgba(6, 22, 42, 0.9);
    }
    .install-bar {
        left: 12px;
        right: 12px;
        bottom: calc(84px + env(safe-area-inset-bottom));
    }
    .admin-header-top {
        flex-wrap: wrap;
        min-height: auto;
        padding: 8px 0 4px;
        gap: 8px;
    }
    .admin-header .brand { flex: 1 1 auto; min-width: 0; }
    .admin-header .brand img { height: 44px; }
    .admin-header .header-actions {
        flex: 1 1 100%;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 6px;
    }
    .admin-header .header-cta {
        font-size: 11px;
        padding: 8px 12px;
        min-height: 40px;
        white-space: nowrap;
    }
    .admin-app .admin-filter-bar { flex-wrap: nowrap; }
    .admin-app table.data { font-size: 0.88rem; }
    .admin-app table.data th,
    .admin-app table.data td { padding: 10px 12px; }
    .admin-main { width: min(1120px, calc(100% - 20px)); padding-bottom: 24px; }
    .product-admin {
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto auto;
        gap: 8px;
    }
    .product-admin img { width: 56px; height: 56px; }
    .dash-head { flex-direction: column; align-items: stretch; }
    .dash-head .btn { width: 100%; justify-content: center; }
    .wrap.wrap-narrow,
    .wrap.wrap-medium { width: min(1120px, calc(100% - 20px)); }
    .panel { padding: 14px 16px; }
    .panel.page-narrow { max-width: none; }
    .section { padding: 16px 0 calc(28px + env(safe-area-inset-bottom)); }
    .page-title .btn,
    .page-title .actions .btn { width: 100%; justify-content: center; min-height: 44px; }
    .form-grid { grid-template-columns: 1fr; }
    .steps { gap: 6px; }
    .step { flex: 1 1 auto; text-align: center; font-size: 0.82rem; }
    .admin-page-head { flex-direction: column; align-items: stretch; }
    .admin-page-toolbar { width: 100%; }
    .admin-page-toolbar .btn,
    .admin-page-toolbar a.btn,
    .admin-page-toolbar .admin-status-pill { width: 100%; justify-content: center; text-align: center; box-sizing: border-box; }
    .admin-page-toolbar .admin-status-pill { display: flex; }
    .admin-plans-head { flex-direction: column; align-items: stretch; }
    .admin-plans-head-actions { width: 100%; }
    .admin-plans-head-actions .btn,
    .admin-plans-head-actions a { flex: 1 1 calc(50% - 4px); justify-content: center; min-height: 44px; }
    .admin-plans-page,
    .admin-products-page { max-width: none; }
    .admin-field-panel { max-width: none; width: 100%; }
    .admin-field-panel input { width: 100%; box-sizing: border-box; }
    .admin-app .panel { padding: 14px 16px; }
    .admin-app .two { gap: 12px; }
    .admin-app .actions { flex-direction: column; align-items: stretch; }
    .admin-app .actions .btn,
    .admin-app .actions .btn-small { width: 100%; justify-content: center; min-height: 44px; }
    .delivery-assign-panel select { width: 100%; min-height: 44px; }
    .delivery-assign-panel .inline { flex-direction: column; align-items: stretch; width: 100%; }
    .admin-route-card-head { flex-direction: column; align-items: stretch !important; }
    .admin-route-card-head .inline:last-child { width: 100%; flex-direction: column; align-items: stretch; }
    .admin-route-card-head .btn-small { width: 100%; justify-content: center; min-height: 44px; }
    .admin-procurement-table-panel { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .admin-procurement-table { min-width: 20rem; }
    .admin-order-card-grid { grid-template-columns: 1fr 1fr; }
    .admin-order-card-grid > div:last-child { grid-column: 1 / -1; }
    .dash-period { flex-direction: column; align-items: stretch; gap: 10px; }
    .dash-period .admin-plans-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        margin: 0 -2px;
    }
    .dash-panel-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .dash-finance-note { max-width: none; text-align: left; }
    .dash-finance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 14px 16px; gap: 10px; }
    .dash-finance-card strong { font-size: 1.15rem; }
    .admin-app .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .admin-app .stat b { font-size: 1.55rem; }
    .studio-top { flex-direction: column; align-items: stretch; }
    .studio-top h1 { font-size: clamp(1.35rem, 5vw, 1.8rem); }
    .studio-actions { flex-wrap: wrap; width: 100%; }
    .studio-actions .btn,
    .studio-actions a.btn { flex: 1 1 calc(50% - 4px); justify-content: center; min-height: 44px; }
    .studio-body { grid-template-columns: 1fr; }
    .preview-frame { position: static; }
    .theme-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-row, .style-grid, .color-grid { grid-template-columns: 1fr; }
    .logo-upload { flex-direction: column; align-items: flex-start; }
    .delivery-header-inner { flex-wrap: wrap; }
    .delivery-header-actions { flex: 1 1 100%; justify-content: flex-end; }
    .order-card-stats { grid-template-columns: 1fr 1fr; }
    .order-card-stats > div:last-child { grid-column: 1 / -1; }
    .order-card-actions .btn { flex: 1 1 calc(50% - 4px); justify-content: center; min-height: 44px; }
    .order-title-actions { width: 100%; justify-content: stretch; }
    .order-title-actions .btn { flex: 1 1 auto; justify-content: center; }
    .plan-compare-table-wrap { margin-left: -4px; margin-right: -4px; }
    .plan-compare-table { min-width: 32rem; font-size: 0.88rem; }
    .plan-sample-list li { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
    .pay-plan-panel .pay-plan-actions { flex-direction: column; }
    .pay-plan-panel .pay-plan-actions .btn { width: 100%; min-width: 0; }
    .receipt-wrap { width: 100%; }
    .order-receipt { padding: 16px 14px; }
    .inline { flex-wrap: wrap; }
    .inline input { width: 100%; max-width: none; }
}

@media (max-width: 380px) {
    .grid { grid-template-columns: 1fr; }
    .admin-app .stats,
    .dash-finance-grid,
    .admin-order-card-grid { grid-template-columns: 1fr; }
    .theme-picks { grid-template-columns: 1fr; }
    .order-card-stats { grid-template-columns: 1fr; }
    .storefront .header-actions .profile-link.header-cta .hide-mobile { display: none !important; }
    .storefront .header-actions .profile-link.header-cta .show-mobile { display: inline !important; }
    .mobile-dock .dock-label { font-size: 9px; letter-spacing: 0; }
}

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

.receipt-wrap { max-width: 720px; }
.receipt-paid-banner { margin-bottom: 14px; }
.receipt-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.order-receipt { padding: 22px 20px; }
.receipt-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.receipt-logo {
    width: 72px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 4px 6px;
    border: 1px solid var(--line);
}
.receipt-store { margin: 0; font-size: 1.35rem; letter-spacing: -0.02em; }
.receipt-doc-title { margin: 4px 0 0; color: var(--muted); font-size: .92rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.receipt-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; font-weight: 650; }
.receipt-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    margin-bottom: 18px;
}
.receipt-meta-wide { grid-column: 1 / -1; }
.receipt-ref { word-break: break-all; font-size: .95rem; }
.receipt-customer {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(232, 245, 236, .45);
    border: 1px solid #d8e8dc;
}
.receipt-customer p { margin: 6px 0 0; }
.receipt-delivery { margin-top: 10px !important; color: var(--green); font-weight: 600; }
.receipt-lines { width: 100%; border-collapse: collapse; margin-bottom: 4px; }
.receipt-lines th {
    text-align: left;
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0 8px 8px 0;
    border-bottom: 1px solid var(--line);
}
.receipt-lines th:last-child { text-align: right; padding-right: 0; }
.receipt-lines td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .94rem; }
.receipt-lines td:nth-child(3) { white-space: nowrap; }
.receipt-amt { text-align: right; white-space: nowrap; font-weight: 650; padding-right: 0; }
.receipt-sim-note { margin: 4px 0 0; font-size: .86rem; font-weight: 500; color: var(--muted); line-height: 1.45; }
.receipt-sim-note code { font-size: .82rem; }
.receipt-totals { margin-top: 0; border-radius: 0 0 14px 14px; }
.receipt-footnote { margin: 16px 0 0; font-size: .86rem; color: var(--muted); text-align: center; }

#plans,
#shop {
    scroll-margin-top: 96px;
}

.story-slider {
    margin: 0 0 20px;
    border-radius: 18px;
    overflow: hidden;
    background: #1a3328;
    box-shadow: 0 16px 40px rgba(15, 26, 20, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.story-slider-viewport {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 220px;
    max-height: min(56vh, 440px);
    overflow: hidden;
    background: #1a3328;
    isolation: isolate;
}
.story-slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease, visibility 0.65s ease;
    pointer-events: none;
    background: #1a3328;
}
.story-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}
.story-slide.is-active .story-slide-copy {
    animation: storyCopyIn 0.75s ease 0.12s both;
}
@keyframes storyCopyIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.story-slide-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-color: #1a3328;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transform: scale(1.06);
    transform-origin: center center;
    will-change: transform;
}
.story-slide-photo {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.story-slide.is-active .story-slide-media {
    animation: storyMediaZoom 8.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes storyMediaZoom {
    0% { transform: scale(1.14); }
    22% { transform: scale(1.1); }
    55% { transform: scale(1.08); }
    100% { transform: scale(1.06); }
}
.story-slide-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(8, 16, 12, 0.08) 0%,
        rgba(8, 16, 12, 0.22) 55%,
        rgba(8, 16, 12, 0.75) 100%
    );
}
.story-slide-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 16px 56px;
    max-width: 38rem;
    z-index: 2;
}
.story-slide-line {
    margin: 0;
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(1.1rem, 4.2vw, 1.65rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.story-slide-line-brand { font-size: clamp(1rem, 3.8vw, 1.45rem); }
.story-slide-eyebrow {
    margin: 0 0 8px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: #95d5b2;
}
.story-slide-eyebrow::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 3px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 2px;
    background: var(--green, #16852b);
}
.story-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.story-slide-btn-secondary {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: none;
}
.story-slide-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}
.story-slide-brand {
    margin: 0 0 6px;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: #b7e4c7;
}
.story-slide-sub {
    margin: 8px 0 0;
    font-size: clamp(0.95rem, 3.5vw, 1.15rem);
    font-weight: 650;
    color: #eaf5e8;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.story-slide-btn {
    margin-top: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.story-slider-controls {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(12, 22, 17, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.story-slider-arrow {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.story-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}
.story-slider-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 200px; }
.story-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}
.story-slider-dot.is-active {
    width: 22px;
    background: #52b788;
}
.shop-catalog-lead {
    margin: 0 0 14px;
    font-size: 0.86rem;
    line-height: 1.45;
    max-width: 40rem;
}
@media (min-width: 720px) {
    .story-slider-viewport {
        aspect-ratio: 16 / 9;
        max-height: min(52vh, 500px);
    }
    .story-slider--d2k .story-slider-viewport {
        aspect-ratio: 2 / 1;
        max-height: none;
    }
    .story-slide-copy {
        top: 50%;
        bottom: auto;
        transform: translateY(-42%);
        padding: 0 32px 0;
    }
    .story-slide.is-active .story-slide-copy {
        animation: storyCopyInDesk 0.75s ease 0.12s both;
    }
    @keyframes storyCopyInDesk {
        from { opacity: 0; transform: translateY(calc(-42% + 12px)); }
        to { opacity: 1; transform: translateY(-42%); }
    }
    .story-slide-line { font-size: clamp(1.35rem, 2.8vw, 2rem); }
    .story-slide-line-brand { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
}
@media (prefers-reduced-motion: reduce) {
    .story-slide { transition: none; }
    .story-slide-media {
        animation: none !important;
        transform: scale(1.06);
    }
    .story-slide.is-active .story-slide-copy { animation: none; }
}

.home-intro { margin: 0 0 18px; }
.home-intro-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ee 55%, #eaf5e8 100%);
    border: 1px solid #e2ebe0;
    box-shadow: 0 10px 28px rgba(22, 40, 24, 0.06);
}
.home-intro-eyebrow { margin: 0 0 6px; font-size: 0.72rem; }
.home-intro-title {
    margin: 0;
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(1.35rem, 4.5vw, 1.85rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #142018;
}
.home-intro-sub {
    margin: 6px 0 0;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--green, #2d6a4f);
}
.home-intro-lead {
    margin: 10px 0 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #4a5650;
    max-width: 40rem;
}
.home-intro-highlight {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    border-left: 3px solid var(--green, #2d6a4f);
    font-size: 0.86rem;
    line-height: 1.45;
    color: #2f3d32;
}
.home-intro-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.home-intro-cta .btn { flex: 1 1 140px; justify-content: center; text-align: center; }
.home-intro-foot {
    margin: 14px 0 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--muted);
}
.home-intro-foot-tag { display: block; margin-top: 2px; color: var(--green, #2d6a4f); font-weight: 600; }
.home-intro-visual {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e6eee4;
}
.home-intro-hero-art {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
.home-intro-mosaic {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    align-items: center;
}
.home-intro-mosaic img {
    width: 100%;
    max-width: 52px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}
.home-intro-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
}
.home-benefit-card {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line, #e2e8e2);
}
.home-benefit-card h3 {
    margin: 0 0 4px;
    font-size: 0.9rem;
    color: #142018;
}
.home-benefit-card p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--muted);
}
.home-intro-steps {
    list-style: none;
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    gap: 10px;
}
.home-intro-steps li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    line-height: 1.4;
    color: #4a5650;
}
.home-step-num {
    flex-shrink: 0;
    width: 1.6rem;
    height: 1.6rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--green, #2d6a4f);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}
.shop-catalog { margin-top: 8px; }
.shop-catalog-eyebrow { margin: 18px 0 4px; }
.shop-catalog-title { margin: 0 0 12px; font-size: 1.15rem; font-weight: 700; }
@media (min-width: 640px) {
    .home-intro-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .home-intro-hero { grid-template-columns: 1.15fr 0.85fr; padding: 20px 22px; gap: 22px; }
    .home-intro-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .home-intro-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}

.plans-home {
    margin: 16px 0 20px;
    padding: 16px 14px 14px;
    border-radius: 16px;
    background: linear-gradient(160deg, var(--secondary, #eaf5e8) 0%, #fff 48%);
    border: 1px solid var(--line, #d8e8dc);
    box-shadow: 0 8px 22px rgba(23, 59, 38, 0.06);
}
.plans-home-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.plans-home-head-main h2 { margin: 4px 0 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.plans-home-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
}
.plans-home-steps li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #d4e6d8;
    font-size: 0.72rem;
    font-weight: 600;
    color: #3d4f42;
    white-space: nowrap;
}
.plans-home-steps li span {
    width: 1.15rem;
    height: 1.15rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--green, #2d6a4f);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
}
.plans-home-rail-wrap { margin: 0 -4px; }
.plans-home-rail-hint {
    margin: 0 4px 8px;
    font-size: 0.75rem;
    color: var(--muted);
}
.plans-home-rail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.plan-card-home:not(.featured) .plan-card-top { padding-right: 0; }
@media (max-width: 719px) {
    .plans-home-rail-wrap { margin: 0; }
    .plans-home-rail-hint { display: none !important; }
    .plans-home-head {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .plans-home-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .plans-home-steps li {
        white-space: normal;
        font-size: 0.7rem;
        line-height: 1.25;
        padding: 8px 10px;
    }
    .plan-card-home {
        width: 100%;
        min-height: unset;
        padding: 16px 14px 14px;
        scroll-snap-align: none;
    }
    .plan-card-price { font-size: 1.45rem; }
    .plan-card-title { font-size: 1.02rem; }
    .plan-card-desc {
        font-size: 0.84rem;
        -webkit-line-clamp: 3;
    }
    .plan-card-btn {
        min-height: 48px;
        font-size: 0.88rem;
        margin-top: 12px;
    }
    .plan-card-top { padding-right: 4.75rem; }
    .plan-card-home:not(.featured) .plan-card-top { padding-right: 0; }
}
@media (min-width: 720px) {
    .plans-home-rail {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-flow: row;
        grid-auto-columns: unset;
        overflow: visible;
    }
}
@media (min-width: 1100px) {
    .plans-home-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.plan-step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan-step-list li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.plan-step-list li.done { border-color: #c5e0cc; background: #f7fcf8; }
.plan-step-list li.current { border-color: var(--green, #2d6a4f); box-shadow: 0 0 0 1px var(--green, #2d6a4f); }
.plan-step-list span { font-size: 0.88rem; color: var(--muted); }
.plan-schedule-preview { list-style: none; padding: 0; margin: 12px 0 0; max-height: 220px; overflow-y: auto; font-size: 0.9rem; }
.plan-schedule-preview li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.plan-schedule-wrap { max-width: 880px; }
.plan-schedule-day { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.plan-schedule-day summary { cursor: pointer; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-weight: 600; list-style: none; }
.plan-schedule-day summary::-webkit-details-marker { display: none; }
.plan-schedule-day-meta { font-weight: 500; margin: 4px 0 0; }
.plan-schedule-day-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-schedule-day-row {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafcfb;
}
.plan-schedule-day-row .btn { flex-shrink: 0; min-height: 44px; }
.plan-veg-picker { margin-top: 12px; }
.plan-budget-card {
    padding: 14px 16px; border-radius: 12px;
    background: linear-gradient(135deg, #f4faf5 0%, #fff 100%);
    border: 1px solid #d4e8da; margin-bottom: 14px;
}
.plan-budget-card.ok { border-color: #9bc9a8; }
.plan-budget-card.over { background: linear-gradient(135deg, #fff5f3 0%, #fff 100%); border-color: #e8a89a; }
.plan-budget-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.plan-budget-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted, #5a6b5c); font-weight: 650; }
.plan-budget-amount { font-size: 1.25rem; color: var(--green, #1b4332); }
.plan-budget-of { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.plan-budget-track { height: 8px; border-radius: 999px; background: #e8efe9; overflow: hidden; }
.plan-budget-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2d6a4f, #52b788); transition: width 0.2s ease; }
.plan-budget-card.over .plan-budget-fill { background: linear-gradient(90deg, #c84b2f, #e85d04); }
.plan-budget-foot { margin: 8px 0 0; font-size: 0.88rem; color: var(--muted); }
.alert-inline { color: #b91c1c; font-weight: 600; }
.plan-veg-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.plan-veg-search { flex: 1 1 200px; margin: 0; }
.plan-veg-search input { width: 100%; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line, #dde5dd); font-size: 0.95rem; }
.plan-veg-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: min(420px, 55vh); overflow-y: auto; }
.plan-veg-row {
    display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center;
    padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line, #e8ece8); background: #fff;
}
.plan-veg-row.has-qty { border-color: #9bc9a8; background: #fafdfb; box-shadow: 0 2px 8px rgba(45, 106, 79, 0.06); }
.plan-veg-thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #f0f4f0; }
.plan-veg-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.plan-veg-name { font-weight: 650; font-size: 0.95rem; line-height: 1.25; }
.plan-veg-rate { font-size: 0.82rem; color: var(--muted); }
.plan-veg-line-total { font-size: 0.82rem; font-weight: 650; color: var(--green, #2d6a4f); }
.plan-qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line, #d8e0d8); border-radius: 999px; overflow: hidden; background: #fff; }
.plan-qty-btn { width: 36px; height: 36px; border: 0; background: #f5f8f5; font-size: 1.1rem; font-weight: 600; color: var(--green, #1b4332); cursor: pointer; }
.plan-qty-btn:hover { background: #eaf5e8; }
.plan-qty-input {
    width: 3.25rem; min-width: 3rem; max-width: 4rem;
    border: 0; background: transparent; text-align: center;
    font-weight: 650; font-size: 0.92rem; padding: 6px 2px;
    -moz-appearance: textfield;
}
.plan-qty-input::-webkit-outer-spin-button,
.plan-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.plan-day-card { margin-bottom: 14px; padding: 0; overflow: hidden; }
.plan-day-list-tools { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0 0 10px; font-size: 0.88rem; }
.plan-day-list-tools-sep { color: var(--muted); }
.btn-link { border: 0; background: transparent; padding: 4px 0; font: inherit; font-weight: 600; color: var(--green, #2d6a4f); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.btn-link:hover { opacity: 0.85; }
.plan-day-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line, #ebeceb); }
.plan-day-card.is-collapsed .plan-day-head { border-bottom: none; padding-bottom: 16px; }
.plan-day-toggle { display: flex; align-items: flex-start; gap: 10px; flex: 1; min-width: min(100%, 220px); margin: 0; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.plan-day-toggle:focus-visible { outline: 2px solid var(--green, #2d6a4f); outline-offset: 3px; border-radius: 8px; }
.plan-day-toggle-text { flex: 1; min-width: 0; }
.plan-day-chevron { flex-shrink: 0; width: 9px; height: 9px; margin-top: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s ease; opacity: 0.5; }
.plan-day-card.is-collapsed .plan-day-chevron { transform: rotate(-135deg); margin-top: 5px; }
.plan-day-preview { display: block; margin: 6px 0 0; font-size: 0.86rem; font-weight: 400; line-height: 1.35; color: var(--muted); }
.plan-day-title { margin: 0; font-size: 1.05rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plan-awaiting-note { color: #9a6700; font-weight: 500; }
.plan-day-budget-chip { font-size: 0.88rem; padding: 6px 12px; border-radius: 999px; background: var(--secondary, #eaf5e8); font-weight: 600; }
.plan-day-body { padding: 0 18px 16px; }
.plan-day-editor summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--green, #2d6a4f); list-style: none; }
.plan-day-editor summary::-webkit-details-marker { display: none; }
.plan-save-row { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.plan-day-items { list-style: none; margin: 0; padding: 0 0 8px; }
.plan-day-items li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; font-size: 0.9rem; border-bottom: 1px solid var(--line); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.app-sheet-root {
    position: fixed; inset: 0; z-index: 50;
    display: flex; flex-direction: column; justify-content: flex-end;
    pointer-events: auto;
}
.app-sheet-backdrop {
    position: absolute; inset: 0; margin: 0; padding: 0;
    border: 0; cursor: pointer;
    background: rgba(12, 22, 18, 0.48);
    backdrop-filter: blur(2px);
}
.app-sheet-panel {
    position: relative; z-index: 1;
    width: 100%; max-height: min(92dvh, 760px);
    background: #fff;
    border-radius: 20px 20px 0 0;
    display: flex; flex-direction: column;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.18);
    animation: app-sheet-rise 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    outline: none;
}
@keyframes app-sheet-rise {
    from { transform: translateY(100%); opacity: 0.6; }
    to { transform: translateY(0); opacity: 1; }
}
.app-sheet-grab {
    width: 40px; height: 4px; border-radius: 999px;
    background: #d0dad2; margin: 10px auto 4px;
}
.app-sheet-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    padding: 8px 18px 12px; border-bottom: 1px solid var(--line, #ebeceb);
}
.app-sheet-title { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.app-sheet-subtitle { margin: 6px 0 0; font-size: 0.86rem; color: var(--muted); line-height: 1.4; }
.app-sheet-close {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 999px;
    border: 1px solid var(--line); background: #fff; font-size: 1.5rem; line-height: 1;
    color: var(--muted); cursor: pointer;
}
.app-sheet-scroll {
    flex: 1; min-height: 0; overflow-y: auto; padding: 12px 16px 8px;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.app-sheet-scroll .plan-veg-list { max-height: none; }
.app-sheet-scroll .plan-veg-picker { margin-top: 0; }
.app-sheet-footer {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}
.app-sheet-footer .btn { width: 100%; justify-content: center; min-height: 48px; }
/* Enterprise intro modal (landing) */
.solution-intro-root {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    box-sizing: border-box;
}
.solution-intro-backdrop {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: rgba(8, 28, 18, 0.52);
    backdrop-filter: blur(4px);
}
.solution-intro-card {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: min(94dvh, 920px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(180, 230, 190, 0.35) 0%, transparent 50%),
        radial-gradient(100% 60% at 100% 100%, rgba(200, 240, 210, 0.4) 0%, transparent 45%),
        #fff;
    border-radius: 22px;
    border: 1px solid rgba(22, 133, 43, 0.18);
    box-shadow: 0 24px 64px rgba(12, 40, 24, 0.22);
    padding: 22px 22px 20px;
    font-family: Inter, "Segoe UI", sans-serif;
    color: #1a2e22;
    animation: solution-intro-pop 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes solution-intro-pop {
    from { opacity: 0; transform: scale(0.97) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.solution-intro-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(22, 133, 43, 0.2);
    background: #fff;
    color: #2d5c3a;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.solution-intro-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding-right: 40px;
    margin-bottom: 10px;
}
.solution-intro-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.solution-intro-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.solution-intro-wordmark {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.solution-intro-wordmark .veg { color: #16852b; }
.solution-intro-wordmark .corner { color: #4caf6a; }
.solution-intro-split {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent, rgba(22, 133, 43, 0.35), transparent);
    flex-shrink: 0;
}
.solution-intro-title {
    margin: 0;
    flex: 1 1 200px;
    font-size: clamp(0.95rem, 2.8vw, 1.2rem);
    font-weight: 700;
    line-height: 1.35;
    color: #0f2d1c;
}
.solution-intro-title-short,
.solution-intro-tagline-short,
.solution-intro-grown-detail-short,
.solution-intro-pill-short { display: none; }
.solution-intro-tagline {
    margin: 0 0 16px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #3d5345;
    max-width: 42rem;
}
.solution-intro-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    align-items: start;
    margin-bottom: 14px;
}
.solution-intro-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}
.solution-intro-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.solution-intro-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(180, 230, 195, 0.55);
    border: 1px solid rgba(22, 133, 43, 0.15);
    color: #16852b;
}
.solution-intro-icon svg {
    width: 22px;
    height: 22px;
}
.solution-intro-tile-label {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1a2e22;
}
.solution-intro-hero {
    width: clamp(100px, 28vw, 200px);
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    align-self: center;
    box-shadow: 0 8px 24px rgba(22, 80, 40, 0.12);
}
.solution-intro-grown {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(210, 242, 218, 0.65);
    border: 1px solid rgba(22, 133, 43, 0.14);
}
.solution-intro-grown-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    color: #16852b;
}
.solution-intro-grown-icon svg { width: 100%; height: 100%; }
.solution-intro-grown-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #2a4032;
}
.solution-intro-grown-copy strong {
    font-size: 0.88rem;
    color: #0f4a24;
}
.solution-intro-touch {
    margin: 0 0 10px;
    text-align: center;
    font-size: 0.82rem;
    color: #3d5345;
}
.solution-intro-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}
.solution-intro-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(22, 133, 43, 0.45);
    background: #fff;
    color: #1a5c32;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    max-width: 100%;
    box-sizing: border-box;
}
.solution-intro-pill svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.solution-intro-demo-btn {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 10px;
    padding: 14px 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #1a9a38 0%, #16852b 55%, #0f6b22 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(22, 133, 43, 0.35);
}
.solution-intro-demo-btn:active { transform: scale(0.98); }
.solution-intro-partner {
    margin: 0;
    text-align: center;
    font-size: 0.72rem;
    color: #5c7264;
}
@media (max-width: 640px) {
    .solution-intro-root {
        align-items: center;
        padding: 6px 8px calc(76px + env(safe-area-inset-bottom, 0px));
    }
    .solution-intro-card {
        padding: 11px 12px 10px;
        max-height: calc(100dvh - 82px - env(safe-area-inset-bottom, 0px));
        overflow: hidden;
        border-radius: 16px;
    }
    .solution-intro-close {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
        font-size: 1.1rem;
    }
    .solution-intro-top {
        margin-bottom: 4px;
        padding-right: 28px;
        gap: 6px;
        align-items: flex-start;
    }
    .solution-intro-split { display: none; }
    .solution-intro-mark {
        width: 30px;
        height: 30px;
    }
    .solution-intro-wordmark { display: none; }
    .solution-intro-title {
        flex: 1 1 0;
        min-width: 0;
        font-size: 0.76rem;
        line-height: 1.25;
    }
    .solution-intro-title-full,
    .solution-intro-tagline-full,
    .solution-intro-grown-detail,
    .solution-intro-pill-long { display: none; }
    .solution-intro-title-short,
    .solution-intro-tagline-short,
    .solution-intro-grown-detail-short,
    .solution-intro-pill-short { display: inline; }
    .solution-intro-tagline {
        margin: 0 0 6px;
        font-size: 0.68rem;
        line-height: 1.3;
    }
    .solution-intro-main {
        grid-template-columns: 1fr;
        margin-bottom: 6px;
    }
    .solution-intro-hero { display: none; }
    .solution-intro-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px 6px;
    }
    .solution-intro-tile { gap: 5px; }
    .solution-intro-icon {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        border-radius: 8px;
    }
    .solution-intro-icon svg {
        width: 16px;
        height: 16px;
    }
    .solution-intro-tile-label {
        font-size: 0.62rem;
        line-height: 1.15;
    }
    .solution-intro-grown {
        padding: 7px 9px;
        margin-bottom: 6px;
        gap: 7px;
        border-radius: 10px;
    }
    .solution-intro-grown-icon {
        width: 26px;
        height: 26px;
        flex: 0 0 26px;
    }
    .solution-intro-grown-copy {
        font-size: 0.62rem;
        line-height: 1.25;
        gap: 1px;
    }
    .solution-intro-grown-copy strong {
        font-size: 0.68rem;
    }
    .solution-intro-grown-detail-short { display: block; }
    .solution-intro-touch {
        margin: 0 0 5px;
        font-size: 0.65rem;
        line-height: 1.25;
    }
    .solution-intro-pills {
        flex-wrap: nowrap;
        gap: 6px;
        margin-bottom: 6px;
    }
    .solution-intro-pill {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        padding: 6px 8px;
        font-size: 0.65rem;
        gap: 4px;
    }
    .solution-intro-pill svg {
        width: 13px;
        height: 13px;
    }
    .solution-intro-demo-btn {
        max-width: none;
        margin-bottom: 4px;
        padding: 9px 12px;
        font-size: 0.68rem;
        letter-spacing: 0.04em;
    }
    .solution-intro-partner {
        font-size: 0.58rem;
        line-height: 1.2;
    }
}
.plan-edit-open { justify-content: center; width: 100%; margin-top: 12px; min-height: 44px; }
.plan-unskip-btn { margin-top: 10px; width: 100%; min-height: 44px; justify-content: center; }
.plan-day-action-full { margin-top: 10px; width: 100%; min-height: 44px; justify-content: center; }
@media (min-width: 641px) {
    .app-sheet-root { justify-content: center; align-items: center; padding: 24px; }
    .app-sheet-panel {
        max-width: 520px; border-radius: 20px;
        max-height: min(88vh, 780px);
        animation-name: app-sheet-pop;
    }
    .app-sheet-grab { display: none; }
    @keyframes app-sheet-pop {
        from { transform: scale(0.96); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }
}
.plan-summary { padding: 14px 16px; margin-bottom: 12px; }
.plan-summary-line { margin: 0; font-size: 0.9rem; line-height: 1.5; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 2px; }
.plan-summary-name { font-size: 1rem; font-weight: 700; }
.plan-summary-sep { color: var(--muted); padding: 0 2px; }
.plan-summary-muted { font-size: 0.85em; color: var(--muted); }
.plan-summary-status { font-weight: 650; color: var(--green, #2d6a4f); }
.plan-summary-dates,
.plan-summary-bonus { font-size: 0.88rem; }
.plan-summary-bonus { color: var(--green, #2d6a4f); font-weight: 600; }
.plan-summary-meta { margin: 6px 0 0; font-size: 0.82rem; }
.plan-summary-expand { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.86rem; }
.plan-summary-expand .plan-day-chevron { margin-top: 0; width: 7px; height: 7px; }
.plan-summary-expand .plan-day-chevron.is-right { transform: rotate(-135deg); }
.plan-summary-details { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line, #ebeceb); }
.plan-summary-address { margin: 0 0 8px; font-size: 0.86rem; line-height: 1.45; }

.plan-skip-card { padding: 0; margin-bottom: 12px; overflow: hidden; }
.plan-skip-toggle { width: 100%; display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 14px 16px; border: 0; background: transparent; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.plan-skip-toggle:focus-visible { outline: 2px solid var(--green, #2d6a4f); outline-offset: -2px; }
.plan-skip-toggle-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.plan-skip-toggle-text strong { font-size: 0.98rem; }
.plan-skip-toggle-hint { font-size: 0.82rem; font-weight: 400; color: var(--muted); line-height: 1.35; }
.plan-skip-card.is-collapsed .plan-skip-toggle .plan-day-chevron { transform: rotate(-135deg); margin-top: 5px; }
.plan-skip-body { padding: 0 16px 16px; border-top: 1px solid var(--line, #ebeceb); }
.plan-skip-lead { margin: 12px 0 10px; font-size: 0.86rem; }
.plan-skip-presets { display: grid; grid-template-columns: 1fr; gap: 8px; }
.plan-skip-range { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.plan-skip-range label span { display: block; margin-bottom: 4px; font-size: 0.82rem; color: var(--muted); }
.plan-skip-range input { width: 100%; box-sizing: border-box; }
.plan-skip-range-btn { width: 100%; }
@media (min-width: 520px) {
    .plan-skip-presets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .plan-skip-range { grid-template-columns: 1fr 1fr auto; align-items: end; }
    .plan-skip-range-btn { width: auto; white-space: nowrap; }
}
.plan-policy { padding: 10px 12px; border-radius: 10px; background: rgba(234, 245, 232, 0.6); margin: 0; font-size: 0.84rem; line-height: 1.45; }
.plan-carry-note { margin: 6px 0 0; font-size: 0.86rem; color: var(--green, #2d6a4f); line-height: 1.4; }
.plan-carry-badge { display: inline-block; margin-left: 6px; font-size: 0.76rem; font-weight: 650; color: var(--green, #2d6a4f); }
.plans-home-link { margin-top: 14px; margin-bottom: 0; }
.plans-home-foot {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--line, #e2e8e2);
    font-size: 0.8rem;
    line-height: 1.4;
}

.plan-card-home {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 12px 12px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--line, #e2e8e2);
    box-shadow: 0 3px 10px rgba(23, 59, 38, 0.05);
    min-height: 100%;
    scroll-snap-align: start;
}
.plan-card-home.featured {
    border-color: var(--green, #2d6a4f);
    box-shadow: 0 6px 18px rgba(45, 106, 79, 0.14);
    background: linear-gradient(180deg, #f7fcf8 0%, #fff 55%);
}
.plan-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--green, #2d6a4f);
    color: #fff;
}
.plan-card-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding-right: 4.5rem;
}
.plan-card-price { margin: 0; font-size: 1.2rem; font-weight: 750; color: var(--green, #1b4332); letter-spacing: -0.02em; }
.plan-card-duration { margin: 0; font-size: 0.78rem; font-weight: 650; color: var(--muted, #5a6b5c); }
.plan-card-duration span { font-weight: 500; }
.plan-card-title { margin: 6px 0 0; font-size: 0.92rem; line-height: 1.3; font-weight: 700; }
.plan-card-meta { margin: 0; font-size: 0.76rem; color: var(--muted); }
.plan-card-desc {
    margin: 6px 0 0;
    font-size: 0.76rem;
    color: var(--muted, #5a6b5c);
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.plan-card-btn { margin-top: 10px; width: 100%; justify-content: center; min-height: 40px; font-size: 0.82rem; padding: 8px 12px; }

.pay-plan-panel .pay-plan-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pay-plan-panel .pay-plan-actions .btn { flex: 1 1 auto; min-width: 12rem; }

.plan-compare { margin: 0 0 28px; }
.plan-compare-lead { font-size: 1.02rem; margin-bottom: 16px; }
.plan-compare-table-wrap { overflow-x: auto; margin-bottom: 18px; }
.plan-compare-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.plan-compare-table th, .plan-compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--line, #e2e8e2); text-align: left; vertical-align: top; }
.plan-compare-table thead th { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted, #5a6b5c); }
.plan-compare-table tbody th[scope="row"] { font-weight: 600; width: 28%; }
.plan-compare-table tbody td:last-child { background: var(--secondary, #eaf5e8); }
.plan-compare-sub { margin: 8px 0 6px; font-size: 1.05rem; }
.plan-sample-list { list-style: none; padding: 0; margin: 0 0 12px; }
.plan-sample-list li { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line, #e2e8e2); font-size: 0.92rem; }
.plan-compare-savings { padding: 10px 12px; border-radius: 8px; background: var(--secondary, #eaf5e8); }

.plan-card h2 { font-size: 1.15rem; margin-bottom: 8px; }
.plan-facts { list-style: none; padding: 0; margin: 12px 0 16px; }
.plan-facts li { margin: 6px 0; }
.plan-picker { display: none; }
.pill { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--secondary, #eaf5e8); font-size: 0.8rem; }

@media (max-width: 640px) {
    .plans-home { margin: 14px 0 18px; padding: 14px 12px; }
    .plan-card-home.featured { transform: none; }
    .receipt-meta { grid-template-columns: 1fr; }
    .receipt-lines thead { display: none; }
    .receipt-lines tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .receipt-lines tbody, .receipt-lines tr, .receipt-lines td { display: block; width: 100%; border: 0; padding: 0; }
    .receipt-lines tr { display: block; }
    .receipt-lines td:first-child { font-weight: 650; margin-bottom: 4px; }
    .receipt-lines td:nth-child(2)::before { content: "Qty: "; color: var(--muted); }
    .receipt-lines td:nth-child(3)::before { content: "Rate: "; color: var(--muted); }
    .receipt-lines td.receipt-amt { font-size: 1.05rem; margin-top: 4px; }
    .receipt-toolbar .btn { flex: 1 1 calc(50% - 6px); justify-content: center; }
    table.data th:last-child,
    table.data td:last-child { min-width: 4.5rem; }
    .admin-procurement-table-panel .receipt-lines thead { display: none; }
    .admin-procurement-table-panel .receipt-lines tbody tr {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 4px 12px;
        padding: 12px 0;
        border-bottom: 1px solid var(--line, #e2e8e2);
    }
    .admin-procurement-table-panel .receipt-lines td {
        border: 0;
        padding: 0;
    }
    .admin-procurement-table-panel .receipt-lines td:nth-child(2)::before { content: "Qty: "; color: var(--muted); }
    .admin-procurement-table-panel .receipt-lines td.receipt-amt,
    .admin-procurement-table-panel .receipt-lines td:last-child { font-weight: 650; text-align: right; }
    .admin-procurement-table-panel .admin-procurement-table { min-width: 0; }
}

@media print {
    body { background: #fff !important; }
    .site-header,
    .mobile-dock,
    .site-footer,
    .delivery-banner,
    .install-bar,
    .receipt-actions,
    .receipt-paid-banner,
    .receipt-section > .wrap > p { display: none !important; }
    .storefront main,
    .receipt-section { padding: 0 !important; }
    .wrap.receipt-wrap { width: 100% !important; max-width: none !important; margin: 0 !important; }
    .order-receipt,
    .receipt-print {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }
    .order-summary-payable { background: #e8f5ec !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
