/* Storefront mobile shell — design tokens and component styles for the mobile storefront.
   MAUI device-independent units map 1:1 to CSS px. */

@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-Semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
    --green: #1D6B45;
    --ink: #203A2C;
    --muted: #778177;
    --cream: #F3F4ED;
    --page: #FCFCF8;
    --rule: #E8ECE5;
    --soft-green: #EAF2E7;
    --tag: #E3EEDC;
    --error: #AF4635;
    --green-solid: #1D6B45;
    --surface: #FFFFFF;
    --field: #F1F3EC;
    --search-bg: #F2F4EE;
    --search-border: #E3E7DF;
    --hero: #EAF0DD;
    --media: #EEF1E5;
    --sand: #F8EDD9;
    --err-bg: #F6E3DF;
    --dot: #CBD5C4;
    --lang-border: #D9DFD2;
    --lang-ink: #5B6B5F;
    --was: #9AA19A;
    --shadow: rgba(32, 58, 44, .12);
    color-scheme: light;
}

/* Night mode: follows the device unless the shopper picked a side with the sun/moon button (saved as data-theme on <html>). */
:root[data-theme="dark"] {
    --green: #5CC38F; --green-solid: #1F7A4F; --ink: #E6EDE8; --muted: #9DAAA2; --cream: #1D2721; --page: #111915;
    --rule: #2B372F; --soft-green: #1F3328; --tag: #25402F; --error: #E8806E; --surface: #1A231E; --field: #202B25;
    --search-bg: #1D2721; --search-border: #2B372F; --hero: #1F3328; --media: #202B25; --sand: #2E2819; --err-bg: #3A2420;
    --dot: #3A473F; --lang-border: #3A473F; --lang-ink: #B4C0B8; --was: #7E8A82; --shadow: rgba(0, 0, 0, .5);
    color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --green: #5CC38F; --green-solid: #1F7A4F; --ink: #E6EDE8; --muted: #9DAAA2; --cream: #1D2721; --page: #111915;
        --rule: #2B372F; --soft-green: #1F3328; --tag: #25402F; --error: #E8806E; --surface: #1A231E; --field: #202B25;
        --search-bg: #1D2721; --search-border: #2B372F; --hero: #1F3328; --media: #202B25; --sand: #2E2819; --err-bg: #3A2420;
        --dot: #3A473F; --lang-border: #3A473F; --lang-ink: #B4C0B8; --was: #7E8A82; --shadow: rgba(0, 0, 0, .5);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] img[src$="_active.svg"] { filter: brightness(1.7) saturate(1.2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) img[src$="_active.svg"] { filter: brightness(1.7) saturate(1.2); } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
    background: var(--page);
    color: var(--ink);
    font: 400 14px/normal "Open Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    overscroll-behavior: none;
}
h1, h2, h3, p { margin: 0; font-size: inherit; font-weight: inherit; }
img { display: block; }
button, input { font: inherit; color: inherit; }

/* Text helpers (Ui.Text) */
.s9 { font-size: 9px; } .s10 { font-size: 10px; } .s11 { font-size: 11px; } .s12 { font-size: 12px; }
.s13 { font-size: 13px; } .s14 { font-size: 14px; } .s16 { font-size: 16px; } .s18 { font-size: 18px; }
.s22 { font-size: 22px; } .s26 { font-size: 26px; } .s28 { font-size: 28px; } .s29 { font-size: 29px; }
.b { font-weight: 600; }
.muted { color: var(--muted); }
.green { color: var(--green); }
.strike { text-decoration: line-through; }
.center { text-align: center; }
.pre { white-space: pre-wrap; }

/* Buttons (App.xaml Button style; quiet = Ui.Button(quiet: true)) */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 8px 16px; border: 0; border-radius: 14px;
    background: var(--green-solid); color: #fff;
    font-size: 14px; font-weight: 600; line-height: normal; text-align: center;
    cursor: pointer; touch-action: manipulation; user-select: none;
}
.btn.quiet { background: transparent; color: var(--green); }
.btn:disabled { opacity: .45; cursor: default; }
.btn:focus-visible, .fc-tab:focus-visible, .fc-tappable:focus-visible, .fc-category-tile button:focus-visible,
.fc-card-open:focus-visible, .fc-navbar-back:focus-visible, .fc-search-clear:focus-visible, .fc-dialog-option:focus-visible {
    outline: 2px solid var(--green); outline-offset: 2px;
}

/* Layout rows (Ui.Row) and rules (Ui.Rule) */
.fc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: start; }
.fc-row.v-center { align-items: center; }
.fc-rule { height: 1px; margin: 8px 0; border: 0; background: var(--rule); }
.fc-heading { font-size: 20px; font-weight: 600; }
.fc-stack { display: flex; flex-direction: column; }
.fc-stack > .btn { width: 100%; }
.fc-box { min-width: 0; }

/* App frames */
.fc-app { height: 100%; }
.fc-shell {
    display: flex; flex-direction: column;
    max-width: 920px; height: 100vh; height: 100dvh; margin: 0 auto;
}
.fc-page { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.fc-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.fc-scroll, .fc-results {
    flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.fc-scroll::-webkit-scrollbar, .fc-results::-webkit-scrollbar, .fc-hscroll::-webkit-scrollbar { display: none; }

/* Header (MainPage.xaml) */
.fc-header {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-items: start;
    padding: 15px 22px 10px; padding-top: max(15px, env(safe-area-inset-top));
}
.fc-header-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fc-eyebrow { font-size: 9px; letter-spacing: .1125em; color: var(--muted); }
.fc-title { font-size: 25px; font-weight: 600; }
.fc-delivery { align-self: center; padding: 6px 12px; font-size: 11px; background: var(--soft-green); color: var(--green); }

/* Search */
.fc-search {
    display: grid; grid-template-columns: 24px minmax(0, 1fr) 40px; align-items: center;
    height: 50px; margin: 0 22px 13px; padding: 0 12px;
    border: 1px solid var(--search-border); border-radius: 14px; background: var(--search-bg);
}
.fc-search img { justify-self: center; }
.fc-search input {
    width: 100%; height: 44px; padding: 0 8px; border: 0; outline: 0; background: transparent;
    font-size: 14px; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.fc-search input::placeholder { color: var(--muted); opacity: 1; }
.fc-search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.fc-search-clear {
    grid-column: 3; width: 40px; height: 44px; padding: 0; border: 0; border-radius: 14px;
    background: transparent; color: var(--muted); font-size: 23px; font-weight: 600; line-height: 1; cursor: pointer;
}

/* Basket bar */
.fc-basket-bar { margin: 8px 20px 6px; padding: 4px; border-radius: 16px; background: var(--green-solid); }
.fc-basket-bar .btn { width: 100%; }

/* Bottom navigation */
.fc-tabs {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 6px 10px 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom));
    border: 1px solid var(--rule); background: var(--surface);
}
.fc-tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    height: 60px; padding: 7px 4px; border: 0; border-radius: 14px;
    background: transparent; color: var(--muted);
    font-size: 10px; font-weight: 600; cursor: pointer; touch-action: manipulation;
}
.fc-tab.active { background: var(--soft-green); color: var(--green); }
.fc-tab span { white-space: nowrap; }

/* Home */
.fc-home { gap: 18px; padding: 0 22px 24px; }
.fc-location { display: flex; align-items: center; gap: 6px; }
.fc-hero {
    display: grid; grid-template-columns: 1.25fr 1fr; align-items: center;
    min-height: 180px; padding: 19px 20px; border-radius: 22px; background: var(--hero);
}
.fc-hero-words { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fc-hero-eyebrow { font-size: 9px; font-weight: 600; letter-spacing: .069em; color: var(--green); }
.fc-hero-shop { align-self: flex-start; margin-top: 4px; font-size: 12px; }
.fc-hero img { width: 100%; height: 166px; object-fit: contain; }
/* A company shop banner replaces the welcome card edge to edge (uploaded at 2:1). */
.fc-hero-banner {
    display: block; width: 100%; aspect-ratio: 2 / 1; padding: 0; border: 0; border-radius: 22px;
    overflow: hidden; background: var(--hero); cursor: pointer;
}
.fc-hero-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fc-perks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
.fc-perk { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 13px; }
.fc-tappable { cursor: pointer; }
.fc-categories { gap: 24px; padding: 4px 22px 24px; }

/* Category grid */
.fc-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 10px; }
.fc-category { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fc-category-tile { position: relative; height: 70px; border-radius: 16px; }
.fc-category-tile img { width: calc(100% - 10px); height: 60px; margin: 5px; object-fit: contain; }
.fc-category-tile img.photo { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 16px; }
.fc-category-tile button { position: absolute; inset: 0; border: 0; border-radius: 16px; background: transparent; cursor: pointer; }
.fc-category-name {
    font-size: 10px; font-weight: 600; text-align: center;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}

/* Product grid and card (ProductCard) */
.fc-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
.fc-card { display: flex; flex-direction: column; gap: 2px; min-width: 0; border-radius: 18px; background: var(--cream); overflow: hidden; }
.fc-card-media { position: relative; height: 112px; background: #fff; }
/* The photo fills the whole media area; the + button and offer badge sit on top of it. */
.fc-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.fc-card-open { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; }
.fc-badge {
    position: absolute; top: 6px; right: 6px; padding: 4px 6px; border-radius: 6px;
    background: var(--tag); color: var(--green); font-size: 10px; font-weight: 600; pointer-events: none;
}
.fc-card-info { display: flex; flex-direction: column; gap: 3px; padding: 0 6px 8px; }
.fc-card-name, .fc-card-size {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.fc-card-name { height: 34px; font-size: 12px; font-weight: 600; }
.fc-card-size { height: 26px; font-size: 10px; color: var(--muted); }
.fc-card-prices { display: flex; flex-direction: column; min-width: 0; }

/* Quantity stepper */
.fc-stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; justify-self: end; min-width: 115px; text-align: center; }
.fc-round { width: 44px; height: 44px; padding: 0; border-radius: 22px; font-size: 23px; }

/* Catalog */
.fc-catalog { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.fc-hscroll { overflow-x: auto; scrollbar-width: none; flex: none; }
.fc-pills { display: flex; width: max-content; }
.fc-pills-categories { gap: 8px; padding: 0 22px 10px; }
.fc-pills-filters { gap: 7px; padding: 0 22px 8px; }
.fc-pill { padding: 6px 14px; border-radius: 20px; font-size: 11px; background: var(--cream); color: var(--ink); white-space: nowrap; }
.fc-pill.selected { background: var(--green-solid); color: #fff; }
.fc-result-count { margin: 2px 22px 12px; font-size: 11px; color: var(--muted); }
.fc-results { margin: 0 22px; padding-bottom: 12px; }

/* Empty view (Ui.Empty) */
.fc-empty-wrap { display: flex; justify-content: center; }
.fc-loading { padding: 48px 0; }
.fc-more { display: block; width: 100%; margin-top: 16px; }
.fc-empty { display: flex; flex-direction: column; gap: 16px; width: fit-content; max-width: 100%; padding: 60px 28px; }
.fc-empty img { align-self: center; }

/* Basket */
.fc-basket { gap: 16px; padding: 6px 22px 28px; }
.fc-line { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 14px; }
.fc-line-image { align-self: start; border-radius: 12px; background: var(--cream); }
.fc-line-image img { width: 100%; height: 86px; object-fit: contain; }
.fc-line-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

/* Pushed pages: navigation bar, product detail, checkout */
.fc-navbar {
    display: flex; align-items: center; gap: 8px; flex: none;
    height: 56px; padding: 0 16px; padding-top: env(safe-area-inset-top); box-sizing: content-box;
    background: var(--page); color: var(--ink); box-shadow: 0 1px 3px var(--shadow);
    position: relative; z-index: 1;
}
.fc-navbar-back {
    display: grid; place-items: center; width: 48px; height: 48px; margin-left: -12px; padding: 0;
    border: 0; border-radius: 24px; background: transparent; color: var(--ink); cursor: pointer;
}
.fc-navbar-title { font-size: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-narrow { width: 100%; max-width: 600px; margin: 0 auto; gap: 18px; padding: 24px; }
.fc-product-image { padding: 16px; border-radius: 22px; background: var(--media); }
.fc-product-image img { width: 100%; height: 260px; object-fit: contain; }
.fc-product-price { display: flex; align-items: center; gap: 12px; }
.fc-contact-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
.fc-address-row { display: grid; grid-template-columns: minmax(0, 1fr) 64px 76px; column-gap: 8px; }
.fc-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fc-field > span:first-child { font-size: 12px; font-weight: 600; }
.fc-input { display: block; padding: 5px 12px; border-radius: 12px; background: var(--field); }
.fc-input.compact { padding: 5px 6px; }
.fc-input input {
    display: block; width: 100%; min-width: 0; height: 38px; padding: 0 4px; border: 0; outline: 0;
    background: transparent; font-size: 14px; color: var(--ink);
}
.fc-input input::placeholder { color: var(--muted); opacity: 1; }
.fc-input:focus-within { box-shadow: inset 0 0 0 1.5px var(--green); }
.fc-error { color: var(--error); }
.fc-captcha { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 4px; }
.fc-captcha-q { font-size: 18px; font-weight: 700; }
.fc-captcha .fc-input.ok { box-shadow: inset 0 0 0 1.5px var(--green); }
.fc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
/* Groups the delivery fields so they can be disabled together while an order is being placed. */
.fc-checkout fieldset { border: 0; margin: 0; padding: 0; min-width: 0; gap: 18px; }
.fc-checkout fieldset:disabled .fc-input { opacity: .6; }
.fc-complete { gap: 22px; padding: 60px 28px; }
.fc-complete > img { align-self: center; }

/* Dialogs (DisplayAlertAsync / DisplayActionSheetAsync) */
.fc-dialog-backdrop {
    position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 24px;
    background: rgba(32, 58, 44, .45);
}
.fc-dialog {
    display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 340px;
    padding: 22px 22px 12px; border-radius: 16px; background: var(--surface); box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
}
.fc-dialog-options { display: flex; flex-direction: column; margin: 0 -10px; }
.fc-dialog-option {
    min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent;
    font-size: 14px; text-align: left; cursor: pointer;
}
.fc-dialog-option:hover { background: var(--cream); }
.fc-dialog-actions { display: flex; justify-content: flex-end; margin-right: -10px; }

/* Blazor error bar */
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }

/* Pickup / Delivery choice at checkout, and the order tracking card. */
.fc-fulfillment { display: flex; gap: 8px; }
.fc-fulfillment .fc-pill { flex: 1; text-align: center; padding: 10px 14px; font-size: 13px; font-weight: 600; }
.fc-status-pill { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; background: var(--cream); color: var(--ink); }
.fc-status-pill.Confirmed, .fc-status-pill.Fulfilled { background: var(--green-solid); color: #fff; }
.fc-status-pill.Expired, .fc-status-pill.Cancelled, .fc-status-pill.Rejected { background: var(--err-bg); color: var(--error); }

/* Offer styling: a red seal in the corner ("20% / OFF"), and the price beside its struck-through original. */
.fc-off {
    position: absolute; top: 4px; left: 4px; width: 42px; height: 42px; pointer-events: none;
    display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; text-align: center;
    background: #C0392B; color: #fff; clip-path: polygon(50% 0%, 58.4% 7.8%, 69.1% 3.8%, 73.9% 14.2%, 85.4% 14.6%, 85.8% 26.1%, 96.2% 30.9%, 92.2% 41.6%, 100% 50%, 92.2% 58.4%, 96.2% 69.1%, 85.8% 73.9%, 85.4% 85.4%, 73.9% 85.8%, 69.1% 96.2%, 58.4% 92.2%, 50% 100%, 41.6% 92.2%, 30.9% 96.2%, 26.1% 85.8%, 14.6% 85.4%, 14.2% 73.9%, 3.8% 69.1%, 7.8% 58.4%, 0% 50%, 7.8% 41.6%, 3.8% 30.9%, 14.2% 26.1%, 14.6% 14.6%, 26.1% 14.2%, 30.9% 3.8%, 41.6% 7.8%);
}
.fc-off b { font-size: 12px; font-weight: 800; }
.fc-off i { font-size: 10px; font-weight: 800; font-style: normal; letter-spacing: .02em; }
.fc-off-inline { position: static; flex: none; width: 54px; height: 54px; }
.fc-off-inline b { font-size: 14px; }
.fc-card-prices { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 5px; align-content: flex-start; }
.fc-now { font-size: 14px; font-weight: 700; color: var(--ink); }
.fc-was { font-size: 11px; font-weight: 400; color: var(--was); text-decoration: line-through; }
.fc-save { color: #C0392B; }
.fc-product-price { align-items: center; }

/* Card controls: "+" at the bottom-right; once something is in the basket it becomes "- n +" like the basket. */
.fc-card-price-row { display: block; }
.fc-card-actions { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 2px; }
.fc-step { width: 36px; height: 36px; min-height: 36px; padding: 0; border-radius: 18px; font-size: 20px; line-height: 1; }
.fc-step-minus { background: var(--tag); color: var(--green); }
.fc-qty { min-width: 20px; text-align: center; font-size: 13px; font-weight: 600; color: var(--green); }

.fc-error { white-space: pre-line; }
.fc-flag { color: #C0392B; }


/* Out of stock: dim the photo, band across it, muted price, "Sold out" instead of the + button. */
.fc-card-out .fc-card-media img { filter: grayscale(1); opacity: .45; }
.fc-card-out .fc-card-name, .fc-card-out .fc-now { color: var(--muted); }
.fc-soldout-band {
    position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding: 6px 4px;
    background: rgba(40, 40, 40, .82); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; text-align: center; pointer-events: none;
}
.fc-soldout-pill {
    padding: 5px 10px; border-radius: 999px; background: var(--cream); color: var(--muted); font-size: 11px; font-weight: 700;
}

/* Store picker: the landing page where a shopper chooses which store to shop at. */
.fc-stores { gap: 10px; padding: 4px 22px 24px; }
.fc-stores-note { padding: 24px; }
.fc-store {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; text-align: left; font: inherit; color: inherit;
    background: var(--cream); border: 1px solid transparent; border-radius: 18px; cursor: pointer;
}
.fc-store:hover, .fc-store:focus-visible { border-color: var(--green); outline: none; }
.fc-store-pic {
    flex: none; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; display: grid; place-items: center;
    background: var(--tag); color: var(--green); font-size: 26px;
}
.fc-store-pic img { width: 100%; height: 100%; object-fit: cover; }
.fc-store-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.fc-store-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fc-store-last { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--tag); color: var(--green); }
.fc-store-tag { font-size: 12px; color: var(--muted); }
.fc-store-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.fc-store-chips span { font-size: 10px; padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.fc-store-go { flex: none; font-size: 20px; color: var(--green); }
.fc-change-store { font-size: 11px; color: var(--green); text-decoration: underline; margin-top: 2px; }

/* Landing page (StorePicker): platform introduction, partner stores, how it works, join us. */
.fc-land { padding-bottom: 28px; }
.fc-land-top { display: flex; align-items: center; justify-content: space-between; padding: 15px 22px 4px; padding-top: max(15px, env(safe-area-inset-top)); }
.fc-land-brand { font-size: 17px; font-weight: 700; color: var(--green); letter-spacing: .01em; }
.fc-hero { margin: 8px 22px 6px; padding: 26px 22px 22px; border-radius: 24px; background: var(--soft-green, #EDF0DF); display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 10px; }
.fc-hero-title { font-size: 30px; line-height: 1.15; font-weight: 700; max-width: 16ch; }
.fc-hero-text { font-size: 13px; color: var(--muted); max-width: 46ch; }
.fc-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.fc-hero-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.fc-hero-chips span { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--green); font-weight: 600; }
.fc-land-section { padding: 22px 22px 0; display: flex; flex-direction: column; gap: 12px; }
.fc-land-search { margin: 0; }
.fc-land-stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.fc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 860px) { .fc-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .fc-steps { grid-template-columns: 1fr; } }
.fc-steps li { display: flex; gap: 10px; padding: 12px; border-radius: 16px; background: var(--cream); }
.fc-steps b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green-solid); color: #fff; font-size: 13px; }
.fc-steps span { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.fc-steps strong { font-size: 13px; color: inherit; font-weight: 600; }
.fc-why { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.fc-why div { display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: 16px; background: var(--cream); }
.fc-why strong { font-size: 13px; font-weight: 600; }
.fc-why span { font-size: 12px; color: var(--muted); }
.fc-join { margin: 22px 22px 0; padding: 22px; border-radius: 24px; background: var(--green-solid); color: #fff; gap: 10px; }
.fc-join .fc-eyebrow { color: rgba(255,255,255,.75); }
.fc-join ul { margin: 0; padding-left: 18px; font-size: 13px; display: flex; flex-direction: column; gap: 5px; }
.fc-join .btn { background: #fff; color: #1D6B45; }
.fc-join .btn.quiet { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.fc-join .muted { color: rgba(255,255,255,.8); }
.fc-land-foot { text-align: center; font-size: 11px; color: var(--muted); padding: 22px 22px 0; }

@media (min-width: 860px) { .fc-why { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Landing page: section pulse, the "Talk to us" form and its confirmation. */
@keyframes fc-flash { 0% { box-shadow: 0 0 0 0 rgba(29, 107, 69, .55); } 60% { box-shadow: 0 0 0 14px rgba(29, 107, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 107, 69, 0); } }
.fc-flash { animation: fc-flash 1.6s ease-out; border-radius: 24px; }
.fc-join-form { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.fc-join .fc-field > span:first-child { color: #fff; }
.fc-join .fc-input textarea { width: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; resize: vertical; color: var(--ink, #203A2C); }
.fc-join .fc-input input { color: var(--ink, #203A2C); }
.fc-join-error { margin: 0; font-size: 12px; padding: 8px 10px; border-radius: 10px; background: #fff; color: #AF4635; }
.fc-join-thanks { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.14); font-size: 13px; }
.fc-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Promotion banners: slides stacked in the 2:1 frame, cross-fading; dots underneath. */
.fc-carousel { display: flex; flex-direction: column; gap: 8px; }
.fc-carousel-stage { position: relative; }
.fc-carousel-stage .fc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.fc-carousel-stage .fc-slide.on { opacity: 1; }
.fc-dots { display: flex; justify-content: center; gap: 6px; }
.fc-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--dot); cursor: pointer; }
.fc-dot.on { width: 18px; border-radius: 4px; background: var(--green-solid); }
@media (prefers-reduced-motion: reduce) { .fc-carousel-stage .fc-slide { transition: none; } }

/* Language switch (English / தமிழ் / 中文) and the fonts that carry Tamil and Chinese glyphs */
.fc-lang { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.fc-lang-btn { padding: 3px 10px; border: 1px solid var(--lang-border); border-radius: 999px; background: var(--surface); color: var(--lang-ink); font-size: 12px; cursor: pointer; }
.fc-lang-btn.on { background: var(--green-solid); border-color: var(--green-solid); color: #fff; }
.fc-land-tools { display: inline-flex; align-items: center; gap: 10px; }
.fc-land-tools .fc-lang { margin-top: 0; }
.fc-card-actions { min-height: 32px; }
html[lang="ta"] body, html[lang="ta"] button, html[lang="ta"] input, html[lang="ta"] textarea { font-family: "Open Sans", "Noto Sans Tamil", "Nirmala UI", "Latha", sans-serif; line-height: 1.45; }
html[lang="zh"] body, html[lang="zh"] button, html[lang="zh"] input, html[lang="zh"] textarea { font-family: "Open Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }

/* Checkout: pickup card, order lines, notes, and the day / night button. */
.fc-pickup { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; background: var(--cream); }
.fc-pickup-title { font-size: 14px; font-weight: 600; }
.fc-pickup-line { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.fc-pickup-line svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--green); }
.fc-pickup-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.fc-chip-link {
    display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border-radius: 999px;
    border: 1px solid var(--green); color: var(--green); background: transparent; font-size: 12px; font-weight: 600; text-decoration: none;
}
.fc-chip-link:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.fc-lines { display: flex; flex-direction: column; gap: 8px; }
.fc-lines .fc-row > span:first-child { font-size: 13px; }
.fc-notes textarea {
    display: block; width: 100%; min-height: 72px; padding: 6px 4px; border: 0; outline: 0; resize: vertical;
    background: transparent; font: inherit; font-size: 14px; color: var(--ink);
}
.fc-notes textarea::placeholder { color: var(--muted); opacity: 1; }
.fc-theme-btn {
    display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 50%;
    border: 1px solid var(--lang-border); background: var(--surface); color: var(--lang-ink); cursor: pointer;
}
.fc-theme-btn svg { width: 16px; height: 16px; }
.fc-theme-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.fc-theme-btn.to-day { display: none; }
:root[data-theme="dark"] .fc-theme-btn.to-night { display: none; }
:root[data-theme="dark"] .fc-theme-btn.to-day { display: inline-grid; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .fc-theme-btn.to-night { display: none; }
    :root:not([data-theme="light"]) .fc-theme-btn.to-day { display: inline-grid; }
}
.fc-navbar .fc-theme-btn { margin-left: auto; }
