/* Customer PWA palette follows Sarab: red, orange, cream and charcoal. */
:root {
    --app-primary: #e8281a;
    --app-primary-strong: #b72c1d;
    --app-primary-text: #b72c1d;
    --app-primary-deep: #762115;
    --app-primary-soft: #fff0e8;
    --app-accent: #f6a623;
    --app-ink: #1a1a1a;
    --app-muted: #70645c;
    --app-line: #eadfd5;
    --app-surface: #ffffff;
    --app-bg: #fff8f0;
    --app-shadow: 0 16px 42px rgba(79, 43, 30, .10);
}

* { box-sizing: border-box; }
html { background: #f9f5f0; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.customer-app-body {
    min-width: 320px;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 4%, rgba(232, 40, 26, .06), transparent 26rem),
        radial-gradient(circle at 92% 96%, rgba(246, 166, 35, .10), transparent 24rem),
        #f9f5f0;
    color: var(--app-ink);
    font-family: Mulish, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.app-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.app-frame {
    position: relative;
    width: min(100%, 580px);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    background: var(--app-bg);
    box-shadow: 0 0 60px rgba(99, 45, 29, .14);
}

.app-header {
    position: sticky;
    z-index: 30;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: max(10px, env(safe-area-inset-top)) 20px 10px;
    border-bottom: 1px solid rgba(222, 230, 227, .86);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
}

.app-brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; min-width: 0; }
.app-brand img { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 14px; object-fit: cover; box-shadow: 0 7px 18px rgba(99, 45, 29, .18); }
.app-brand span { display: grid; min-width: 0; }
.app-brand small { color: #80908b; font-size: 10px; font-weight: 800; letter-spacing: .11em; line-height: 1.3; text-transform: uppercase; }
.app-brand strong { overflow: hidden; margin-top: 2px; color: var(--app-primary-deep); font-size: 17px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.customer-app-body .app-brand--legacy .kingfisher-brand-label { color: var(--app-ink); }
.customer-app-body :is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--app-primary-text); outline-offset: 3px; }
.app-header__actions { display: flex; align-items: center; gap: 8px; }
.app-network { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 999px; background: #edf7f1; color: #36745f; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.app-network i { width: 7px; height: 7px; border-radius: 50%; background: #3fab75; box-shadow: 0 0 0 3px rgba(63, 171, 117, .14); }
.app-network.is-offline { color: #9a4c47; background: #fff0ef; }
.app-network.is-offline i { background: #df655b; box-shadow: 0 0 0 3px rgba(223, 101, 91, .14); }
.app-install-button { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 0; border-radius: 12px; background: var(--app-primary-strong); color: #fff; cursor: pointer; }
.app-install-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }

.app-main { min-height: calc(100dvh - 76px); padding: 16px 16px calc(100px + env(safe-area-inset-bottom)); }
.app-alert { margin: 0 0 14px; padding: 13px 15px; border: 1px solid; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.app-alert--success { border-color: #bfe3d3; background: #e9f7f0; color: #23634f; }
.app-alert--error { border-color: #f0cbc7; background: #fff0ef; color: #9a3833; }

.app-hero { position: relative; isolation: isolate; min-height: 294px; overflow: hidden; padding: 31px 27px; border-radius: 28px; background: linear-gradient(145deg, #c83422 0%, var(--app-primary-deep) 75%); color: #fff; box-shadow: 0 18px 38px rgba(99, 45, 29, .23); }
.app-hero::before, .app-hero::after { position: absolute; z-index: -1; content: ""; border-radius: 50%; }
.app-hero::before { width: 210px; height: 210px; top: -86px; right: -60px; border: 40px solid rgba(232, 182, 77, .16); }
.app-hero::after { width: 120px; height: 120px; right: 34px; bottom: -60px; background: rgba(246, 166, 35, .16); }
.app-hero__content { position: relative; z-index: 2; max-width: 365px; }
.app-eyebrow { display: inline-flex; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .09); color: #f3d68f; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.app-hero h1 { max-width: 340px; margin: 18px 0 9px; font-size: clamp(30px, 8vw, 42px); letter-spacing: -.04em; line-height: 1.03; }
.app-hero p { max-width: 350px; margin: 0; color: rgba(255, 255, 255, .76); font-size: 14px; line-height: 1.65; }
.app-hero__actions { display: flex; align-items: center; gap: 9px; margin-top: 24px; }
.app-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border-radius: 14px; font-size: 13px; font-weight: 850; text-decoration: none; }
.app-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.app-button--light { background: #fff; color: var(--app-primary-deep); box-shadow: 0 8px 19px rgba(0, 0, 0, .13); }
.app-button--ghost { border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.app-hero__mark { position: absolute; right: 15px; bottom: -13px; color: rgba(255, 255, 255, .055); font-size: 110px; font-weight: 950; letter-spacing: -.12em; line-height: 1; transform: rotate(-6deg); }

.app-section { margin-top: 27px; }
.app-section__heading { display: flex; align-items: end; justify-content: space-between; margin: 0 3px 14px; }
.app-section__heading span { color: var(--app-primary-text); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.app-section__heading h2 { margin: 4px 0 0; font-size: 20px; letter-spacing: -.02em; }
.app-section__heading > a { color: var(--app-primary-text); font-size: 11px; font-weight: 850; text-decoration: none; }
.app-heading-count { display: grid; min-width: 27px; height: 27px; padding: 0 8px; place-items: center; border-radius: 999px; background: #fff0cd; color: #97630a; font-size: 11px; }
.app-dashboard { margin-top: 27px; }
.app-metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.app-metric { position: relative; display: grid; min-height: 125px; overflow: hidden; padding: 15px; border: 1px solid var(--app-line); border-radius: 19px; background: #fff; box-shadow: 0 8px 23px rgba(99, 45, 29, .045); }
.app-metric > span { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 11px; }
.app-metric svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-metric small { align-self: end; margin-top: 11px; color: var(--app-muted); font-size: 10px; font-weight: 700; }
.app-metric strong { overflow: hidden; margin-top: 3px; color: var(--app-ink); font-size: 20px; letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.app-metric--green > span { background: var(--app-primary-soft); color: var(--app-primary-text); }
.app-metric--gold > span { background: #fff0cd; color: #9d6a0b; }
.app-metric--blue > span { background: #fff0dc; color: #945b12; }
.app-metric--rose > span { background: #f9e5e3; color: #ab554f; }

.app-action-list { overflow: hidden; border: 1px solid #eadcb8; border-radius: 20px; background: #fffdf7; }
.app-action-item { display: grid; padding: 15px; align-items: center; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 11px; color: inherit; text-decoration: none; }
.app-action-item + .app-action-item { border-top: 1px solid #eee5cf; }
.app-action-item__icon { display: grid; width: 41px; height: 41px; place-items: center; border-radius: 13px; background: #fff0cd; color: #9d6a0b; }
.app-action-item__icon svg, .app-action-item__arrow { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-action-item__body { display: grid; min-width: 0; }
.app-action-item__body > small { overflow: hidden; color: #9a7a33; font-size: 9px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.app-action-item__body > strong { overflow: hidden; margin-top: 3px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.app-action-item__body > span { margin-top: 3px; color: var(--app-muted); font-size: 9px; }
.app-action-item__amount { display: grid; justify-items: end; }
.app-action-item__amount strong { font-size: 11px; white-space: nowrap; }
.app-action-item__amount small { margin-top: 3px; color: #a87008; font-size: 9px; font-weight: 850; }
.app-action-item__arrow { width: 15px; color: #a99c7c; }

.app-booking-stack { display: grid; gap: 11px; }
.app-booking-card { display: grid; min-height: 104px; padding: 10px; align-items: center; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 13px; border: 1px solid var(--app-line); border-radius: 20px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 8px 24px rgba(99, 45, 29, .05); }
.app-booking-card__media { position: relative; display: grid; width: 86px; height: 84px; overflow: hidden; place-items: center; border-radius: 15px; background: linear-gradient(145deg, #f4e6da, #ead4c3); background-position: center; background-size: cover; color: var(--app-primary-text); }
.app-booking-card__media::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(32, 20, 15, .62)); content: ""; }
.app-booking-card__media > svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.app-booking-card__media b { position: absolute; z-index: 1; right: 8px; bottom: 7px; left: 8px; color: #fff; font-size: 11px; text-align: center; text-transform: uppercase; }
.app-booking-card__body { display: grid; min-width: 0; justify-items: start; }
.app-booking-card__body > strong { overflow: hidden; width: 100%; margin-top: 7px; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.app-booking-card__body > small { margin-top: 5px; color: var(--app-muted); font-size: 10px; }
.app-booking-card__body > em { margin-top: 4px; color: #4f6861; font-size: 9px; font-style: normal; font-weight: 750; }
.app-booking-card__arrow { width: 17px; height: 17px; fill: none; stroke: #a2ada9; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-status { display: inline-flex; padding: 4px 7px; border-radius: 999px; font-size: 8px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.app-status--success { background: #e3f2e4; color: #33773f; }
.app-status--warning { background: #fff0cd; color: #906009; }
.app-status--danger { background: #f9e3e1; color: #a2433e; }
.app-status--neutral { background: #ecefed; color: #65716d; }

.app-empty-card { display: grid; padding: 27px 20px; justify-items: center; border: 1px dashed #cad7d2; border-radius: 21px; background: rgba(255, 255, 255, .58); text-align: center; }
.app-empty-card > span { display: grid; width: 51px; height: 51px; place-items: center; border-radius: 16px; background: #e4f0ec; color: var(--app-primary-text); }
.app-empty-card svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.app-empty-card h3 { margin: 14px 0 5px; font-size: 15px; }
.app-empty-card p { max-width: 310px; margin: 0; color: var(--app-muted); font-size: 11px; line-height: 1.55; }
.app-empty-card a { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--app-primary-strong); color: #fff; font-size: 10px; font-weight: 850; text-decoration: none; }

.app-recent-list { overflow: hidden; border: 1px solid var(--app-line); border-radius: 20px; background: #fff; }
.app-recent-list > a { display: grid; min-height: 68px; padding: 13px 15px; align-items: center; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; color: inherit; text-decoration: none; }
.app-recent-list > a + a { border-top: 1px solid var(--app-line); }
.app-recent-list__dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(110, 124, 119, .10); }
.app-recent-list__dot--success { background: #51a967; box-shadow: 0 0 0 4px rgba(81, 169, 103, .12); }
.app-recent-list__dot--warning { background: #dca73b; box-shadow: 0 0 0 4px rgba(220, 167, 59, .13); }
.app-recent-list__dot--danger { background: #d6655e; box-shadow: 0 0 0 4px rgba(214, 101, 94, .12); }
.app-recent-list__dot--neutral { background: #88938f; }
.app-recent-list > a > span:nth-child(2), .app-recent-list > a > span:last-child { display: grid; min-width: 0; }
.app-recent-list > a > span:nth-child(2) strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.app-recent-list small { margin-top: 4px; color: #8a9692; font-size: 8px; }
.app-recent-list > a > span:last-child { justify-items: end; }
.app-recent-list > a > span:last-child b { font-size: 10px; white-space: nowrap; }
.app-recent-list > a > span:last-child small { font-weight: 750; }
.app-quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.app-quick-card { display: grid; min-height: 142px; align-content: start; padding: 17px; border: 1px solid var(--app-line); border-radius: 20px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 9px 25px rgba(99, 45, 29, .055); transition: transform .18s ease, box-shadow .18s ease; }
.app-quick-card:active { transform: scale(.98); }
.app-quick-card__icon { display: grid; width: 41px; height: 41px; margin-bottom: 17px; place-items: center; border-radius: 13px; }
.app-quick-card__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-quick-card strong { font-size: 14px; }
.app-quick-card small { margin-top: 4px; color: var(--app-muted); font-size: 11px; }
.app-quick-card--green .app-quick-card__icon { background: var(--app-primary-soft); color: var(--app-primary-text); }
.app-quick-card--gold .app-quick-card__icon { background: #fff0cd; color: #a36e08; }
.app-quick-card--rose .app-quick-card__icon { background: #f9e5e3; color: #ab554f; }
.app-quick-card--blue .app-quick-card__icon { background: #fff0dc; color: #945b12; }

.app-install-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; margin-top: 25px; padding: 20px; border: 1px solid var(--app-line); border-radius: 21px; background: linear-gradient(135deg, var(--app-primary-soft), var(--app-bg)); }
.app-install-card__icon { display: grid; width: 47px; height: 47px; place-items: center; border-radius: 15px; background: var(--app-primary-strong); color: #fff; box-shadow: 0 8px 18px rgba(99, 45, 29, .19); }
.app-install-card__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-install-card span:not(.app-install-card__icon) { color: var(--app-primary-text); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.app-install-card h2 { margin: 3px 0 4px; font-size: 17px; }
.app-install-card p { margin: 0; color: var(--app-muted); font-size: 12px; line-height: 1.55; }
.app-install-card button { grid-column: 1 / -1; min-height: 43px; border: 0; border-radius: 13px; background: var(--app-primary-strong); color: #fff; font-size: 13px; font-weight: 850; cursor: pointer; }

.app-info-card { display: flex; align-items: flex-start; gap: 14px; margin-top: 14px; padding: 18px; border: 1px solid var(--app-line); border-radius: 19px; background: #fff; }
.app-info-card__icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: #edf4f2; color: var(--app-primary-text); }
.app-info-card__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-info-card strong { font-size: 13px; }
.app-info-card p { margin: 5px 0 0; color: var(--app-muted); font-size: 11px; line-height: 1.55; }

.app-page-intro { padding: 11px 4px 17px; }
.app-page-intro > span { color: var(--app-primary-text); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.app-page-intro h1 { margin: 7px 0 7px; color: var(--app-primary-deep); font-size: 29px; letter-spacing: -.04em; line-height: 1.08; }
.app-page-intro p { margin: 0; color: var(--app-muted); font-size: 12px; line-height: 1.55; }
.app-page-intro--compact { padding-bottom: 20px; }
.app-catalog-search { display: grid; min-height: 53px; padding: 5px 5px 5px 15px; align-items: center; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; border: 1px solid var(--app-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(99, 45, 29, .05); }
.app-catalog-search > svg { width: 19px; height: 19px; fill: none; stroke: #84918d; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.app-catalog-search input { width: 100%; min-width: 0; height: 40px; border: 0; outline: 0; color: var(--app-ink); background: transparent; font-size: 12px; }
.app-catalog-search input::placeholder { color: #9aa4a1; }
.app-catalog-search button { height: 41px; padding: 0 15px; border: 0; border-radius: 12px; background: var(--app-primary-strong); color: #fff; font-size: 11px; font-weight: 850; cursor: pointer; }
.app-category-scroll { display: flex; overflow-x: auto; margin: 13px -16px 0; padding: 1px 16px 8px; gap: 8px; scrollbar-width: none; }
.app-category-scroll::-webkit-scrollbar { display: none; }
.app-category-scroll a { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--app-line); border-radius: 999px; background: #fff; color: #687672; font-size: 10px; font-weight: 750; text-decoration: none; }
.app-category-scroll a.active { border-color: var(--app-primary-strong); background: var(--app-primary-strong); color: #fff; }
.app-results-heading { display: flex; margin: 11px 2px 12px; align-items: center; justify-content: space-between; color: var(--app-muted); font-size: 11px; }
.app-results-heading strong { color: var(--app-ink); }
.app-results-heading a { color: var(--app-primary-text); font-size: 10px; font-weight: 750; text-decoration: none; }
.app-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.app-product-card { min-width: 0; overflow: hidden; border: 1px solid var(--app-line); border-radius: 20px; background: #fff; box-shadow: 0 9px 25px rgba(99, 45, 29, .055); }
.app-product-card__image { position: relative; display: grid; height: 145px; overflow: hidden; place-items: center; background: linear-gradient(145deg, #f4e6da, #ead4c3); background-position: center; background-size: cover; color: var(--app-primary-text); text-decoration: none; }
.app-product-card__image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(32, 20, 15, .48)); content: ""; }
.app-product-card__image > svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.app-product-card__image > span { position: absolute; z-index: 1; right: 9px; bottom: 9px; left: 9px; overflow: hidden; color: #fff; font-size: 9px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.app-product-card__body { padding: 12px; }
.app-product-card__meta { display: flex; min-height: 15px; align-items: center; justify-content: space-between; color: #7f8d89; font-size: 8px; }
.app-product-card__meta span { display: inline-flex; align-items: center; gap: 3px; }
.app-product-card__meta svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-product-card__body > a { color: inherit; text-decoration: none; }
.app-product-card h2 { display: -webkit-box; min-height: 33px; overflow: hidden; margin: 6px 0 11px; font-size: 13px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.app-product-card__footer { display: flex; align-items: end; justify-content: space-between; gap: 7px; }
.app-product-card__footer > div { display: flex; min-width: 0; align-items: baseline; flex-wrap: wrap; column-gap: 3px; }
.app-product-card__footer small { width: 100%; color: #929d99; font-size: 7px; }
.app-product-card__footer strong { color: var(--app-primary-strong); font-size: 13px; white-space: nowrap; }
.app-product-card__footer span { color: #87938f; font-size: 7px; }
.app-product-card__footer > a { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #e7f1ed; color: var(--app-primary-text); }
.app-product-card__footer svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.app-empty-card--wide { grid-column: 1 / -1; }
.app-pagination { display: grid; margin-top: 18px; align-items: center; grid-template-columns: 1fr auto 1fr; gap: 10px; color: #929d99; font-size: 10px; }
.app-pagination a, .app-pagination > span { padding: 10px 7px; border: 1px solid var(--app-line); border-radius: 11px; background: #fff; text-align: center; text-decoration: none; }
.app-pagination a:last-child, .app-pagination > span:last-child { text-align: center; }
.app-pagination a { color: var(--app-primary-text); font-weight: 750; }
.app-pagination b { color: #5c6965; font-size: 9px; }

.app-back-link { display: inline-flex; margin: 3px 2px 13px; color: var(--app-primary-text); font-size: 11px; font-weight: 800; text-decoration: none; }
.app-product-detail { overflow: hidden; border: 1px solid var(--app-line); border-radius: 24px; background: #fff; box-shadow: 0 12px 32px rgba(99, 45, 29, .065); }
.app-product-detail__image { position: relative; display: grid; height: 285px; place-items: center; background: linear-gradient(145deg, #f4e6da, #ead4c3); background-position: center; background-size: cover; color: var(--app-primary-text); }
.app-product-detail__image > svg { width: 50px; height: 50px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.app-product-detail__image > span { position: absolute; bottom: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(11, 48, 42, .82); color: #fff; font-size: 9px; font-weight: 800; backdrop-filter: blur(8px); }
.app-product-detail__image form { position: absolute; top: 13px; right: 13px; }
.app-product-detail__image button { display: grid; width: 41px; height: 41px; padding: 0; place-items: center; border: 0; border-radius: 13px; background: rgba(255, 255, 255, .92); color: #5b6965; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); cursor: pointer; }
.app-product-detail__image button.is-favorite { color: #c94e52; }
.app-product-detail__image button.is-favorite svg { fill: currentColor; }
.app-product-detail__image button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.app-gallery-strip { display: flex; overflow-x: auto; padding: 10px; gap: 8px; scrollbar-width: none; }
.app-gallery-strip::-webkit-scrollbar { display: none; }
.app-gallery-strip img { width: 70px; height: 58px; flex: 0 0 auto; border-radius: 11px; object-fit: cover; }
.app-product-detail__heading { display: flex; padding: 19px 18px 14px; align-items: start; justify-content: space-between; gap: 13px; }
.app-product-detail__heading > div:first-child { min-width: 0; }
.app-product-detail__heading > div:first-child > span { color: var(--app-primary-text); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.app-product-detail__heading h1 { margin: 5px 0 0; font-size: 23px; letter-spacing: -.035em; line-height: 1.15; }
.app-product-detail__heading > div:last-child { display: flex; flex: 0 0 auto; align-items: baseline; flex-wrap: wrap; justify-content: end; max-width: 130px; column-gap: 3px; text-align: right; }
.app-product-detail__heading > div:last-child small { width: 100%; color: #8d9995; font-size: 8px; }
.app-product-detail__heading > div:last-child strong { color: var(--app-primary-text); font-size: 18px; }
.app-product-detail__heading > div:last-child span { color: #87938f; font-size: 8px; }
.app-detail-facts { display: grid; margin: 0 18px; padding: 14px 0; grid-template-columns: repeat(3, 1fr); gap: 7px; border-top: 1px solid var(--app-line); border-bottom: 1px solid var(--app-line); }
.app-detail-facts > div { display: flex; min-width: 0; align-items: center; gap: 7px; }
.app-detail-facts svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--app-primary-text); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.app-detail-facts span { display: grid; min-width: 0; }
.app-detail-facts small { color: #929d99; font-size: 7px; }
.app-detail-facts strong { overflow: hidden; margin-top: 2px; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.app-description { padding: 17px 18px 20px; }
.app-description h2 { margin: 0 0 8px; font-size: 15px; }
.app-description p { margin: 0; color: var(--app-muted); font-size: 11px; line-height: 1.7; }
.app-booking-panel { margin-top: 15px; padding: 19px; border: 1px solid var(--app-line); border-radius: 22px; background: linear-gradient(145deg, #fffaf5, var(--app-primary-soft)); }
.app-booking-panel__heading { display: flex; align-items: center; gap: 11px; }
.app-booking-panel__heading > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: var(--app-primary-strong); color: #fff; }
.app-booking-panel__heading svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-booking-panel__heading small { color: var(--app-primary-text); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.app-booking-panel__heading h2 { margin: 3px 0 0; font-size: 16px; }
.app-date-grid { display: grid; margin-top: 17px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.app-date-grid > label > span:first-child { display: block; margin-bottom: 6px; color: #53635e; font-size: 9px; font-weight: 750; }
.app-date-input { position: relative; display: block; }
.app-date-input input[data-app-date-display] { width: 100%; height: 48px; padding: 0 41px 0 11px; border: 1px solid var(--app-line); border-radius: 13px; outline: 0; background: #fff; color: var(--app-ink); font-size: 11px; }
.app-date-input input[data-app-date-display]:focus { border-color: var(--app-primary-text); box-shadow: 0 0 0 3px rgba(183, 44, 29, .10); }
.app-date-input input[data-app-date-native] { position: absolute; right: 12px; bottom: 2px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.app-date-input button { position: absolute; top: 0; right: 0; display: grid; width: 42px; height: 48px; padding: 0; place-items: center; border: 0; background: transparent; color: #788782; cursor: pointer; }
.app-date-input button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-primary-button { display: flex; width: 100%; min-height: 48px; margin-top: 12px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; background: var(--app-primary-strong); color: #fff; font-size: 12px; font-weight: 850; cursor: pointer; }
.app-primary-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.app-form-note { margin: 10px 0 0; color: #75837e; font-size: 9px; text-align: center; }

.app-config-summary { display: grid; padding: 11px; align-items: center; grid-template-columns: 82px minmax(0, 1fr); gap: 13px; border: 1px solid var(--app-line); border-radius: 20px; background: #fff; }
.app-config-summary__image { display: grid; width: 82px; height: 82px; place-items: center; border-radius: 15px; background: #f4e6da center/cover; color: var(--app-primary-text); }
.app-config-summary__image svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.app-config-summary > div { min-width: 0; }
.app-config-summary small { color: var(--app-primary-text); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.app-config-summary h1 { overflow: hidden; margin: 4px 0 6px; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.app-config-summary p { margin: 0; color: var(--app-muted); font-size: 9px; }
.app-unavailable { display: grid; margin-top: 14px; padding: 29px 20px; justify-items: center; border: 1px solid #edd3cf; border-radius: 21px; background: #fff7f6; text-align: center; }
.app-unavailable > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; background: #f8e3e0; color: #ae514b; }
.app-unavailable svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.app-unavailable h2 { margin: 13px 0 5px; font-size: 17px; }
.app-unavailable p { margin: 0; color: var(--app-muted); font-size: 11px; }
.app-unavailable a { margin-top: 15px; padding: 10px 14px; border-radius: 12px; background: var(--app-primary-strong); color: #fff; font-size: 10px; font-weight: 800; text-decoration: none; }
.app-config-form { margin-top: 14px; }
.app-config-section { margin-bottom: 13px; padding: 17px; border: 1px solid var(--app-line); border-radius: 21px; background: #fff; }
.app-config-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.app-config-section__heading span { color: var(--app-primary-text); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.app-config-section__heading h2 { margin: 4px 0 0; font-size: 17px; }
.app-config-section__heading > b { padding: 6px 9px; border-radius: 999px; background: var(--app-primary-soft); color: var(--app-primary-text); font-size: 9px; white-space: nowrap; }
.app-section-help { margin: 9px 0 13px; color: var(--app-muted); font-size: 9px; line-height: 1.55; }
.app-lot-grid { display: grid; gap: 8px; }
.app-lot-option { position: relative; display: grid; min-height: 68px; padding: 10px; align-items: center; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; border: 1px solid #e0e6e4; border-radius: 15px; background: #fbfcfc; cursor: pointer; }
.app-lot-option:has(input[type="checkbox"]:checked) { border-color: var(--app-primary-strong); background: var(--app-primary-soft); box-shadow: 0 0 0 2px rgba(183, 44, 29, .08); }
.app-lot-option > input[type="checkbox"] { position: absolute; opacity: 0; }
.app-lot-option__check { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #ccd7d3; border-radius: 9px; background: #fff; color: transparent; font-size: 12px; font-weight: 900; }
.app-lot-option:has(input:checked) .app-lot-option__check { border-color: var(--app-primary-text); background: var(--app-primary-text); color: #fff; }
.app-lot-option__name { display: grid; min-width: 0; }
.app-lot-option__name strong { font-size: 13px; }
.app-lot-option__name small { overflow: hidden; margin-top: 3px; color: var(--app-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.app-lot-option__pax { display: flex; align-items: center; gap: 5px; color: #6d7a76; font-size: 8px; }
.app-lot-option__pax input { width: 50px; height: 37px; padding: 0 5px; border: 1px solid var(--app-line); border-radius: 10px; background: #fff; text-align: center; }
.app-lot-option__pax input:disabled { opacity: .46; }
.app-number-grid { display: grid; margin-top: 15px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.app-number-grid label, .app-plates label { display: grid; gap: 6px; color: #56645f; font-size: 9px; font-weight: 700; }
.app-number-grid input, .app-number-input, .app-plates input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--app-line); border-radius: 12px; outline: 0; background: #fff; color: var(--app-ink); }
.app-field-label { display: block; margin: 15px 0 6px; color: #56645f; font-size: 9px; font-weight: 700; }
.app-number-input { width: 100px; }
.app-plates { display: grid; margin-top: 11px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.app-price-bar { position: sticky; z-index: 20; bottom: calc(72px + env(safe-area-inset-bottom)); display: grid; padding: 13px 13px 13px 15px; align-items: center; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; border: 1px solid #cbd9d5; border-radius: 19px; background: rgba(255, 255, 255, .96); box-shadow: 0 12px 32px rgba(17, 56, 47, .15); backdrop-filter: blur(14px); }
.app-price-bar > div { display: flex; min-width: 0; align-items: baseline; flex-wrap: wrap; gap: 0 4px; }
.app-price-bar small { width: 100%; color: #7f8d89; font-size: 8px; }
.app-price-bar strong { color: var(--app-primary-strong); font-size: 18px; }
.app-price-bar span { width: 100%; margin-top: 2px; color: #919b98; font-size: 7px; }
.app-price-bar button { display: inline-flex; min-height: 46px; padding: 0 15px; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 13px; background: var(--app-primary-strong); color: #fff; font-size: 11px; font-weight: 850; cursor: pointer; }
.app-price-bar button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.app-empty-card--cart { margin-top: 9px; padding-block: 45px; }
.app-cart-list { display: grid; gap: 11px; }
.app-cart-item { display: grid; padding: 11px; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 11px; border: 1px solid var(--app-line); border-radius: 20px; background: #fff; box-shadow: 0 8px 23px rgba(99, 45, 29, .05); }
.app-cart-item__image { display: grid; width: 86px; height: 91px; place-items: center; border-radius: 14px; background: #f4e6da center/cover; color: var(--app-primary-text); }
.app-cart-item__image svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.app-cart-item__body { min-width: 0; }
.app-cart-item__body > small { color: var(--app-primary-text); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.app-cart-item__body h2 { overflow: hidden; margin: 4px 0 7px; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.app-cart-item__body p { margin: 0; color: #65736f; font-size: 9px; }
.app-cart-item__body > span { display: block; margin-top: 4px; color: #8a9692; font-size: 8px; }
.app-cart-item__body > strong { display: block; margin-top: 8px; color: var(--app-primary-text); font-size: 13px; }
.app-icon-danger { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid #efd7d4; border-radius: 11px; background: #fff7f6; color: #c45650; cursor: pointer; }
.app-icon-danger svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-cart-guests { display: flex; grid-column: 1 / -1; align-items: center; gap: 7px; padding-top: 10px; border-top: 1px solid var(--app-line); }
.app-cart-guests label { color: #677570; font-size: 9px; font-weight: 750; }
.app-cart-guests input { width: 65px; height: 36px; padding: 0 8px; border: 1px solid var(--app-line); border-radius: 10px; }
.app-cart-guests button { height: 36px; margin-left: auto; padding: 0 12px; border: 0; border-radius: 10px; background: var(--app-primary-soft); color: var(--app-primary-text); font-size: 9px; font-weight: 800; cursor: pointer; }
.app-coupon-card, .app-cart-total { margin-top: 13px; padding: 17px; border: 1px solid var(--app-line); border-radius: 20px; background: #fff; }
.app-coupon-card__heading { display: flex; align-items: center; gap: 10px; }
.app-coupon-card__heading > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #fff0cd; color: #9d6a0b; }
.app-coupon-card__heading svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-coupon-card__heading small { color: #99772d; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.app-coupon-card__heading h2 { margin: 2px 0 0; font-size: 15px; }
.app-coupon-card > form:not(:last-child), .app-coupon-card > form:first-of-type { display: flex; margin-top: 13px; gap: 8px; }
.app-coupon-card input { width: 100%; min-width: 0; height: 43px; padding: 0 12px; border: 1px solid var(--app-line); border-radius: 11px; text-transform: uppercase; }
.app-coupon-card form:first-of-type button { height: 43px; padding: 0 13px; border: 0; border-radius: 11px; background: var(--app-primary-strong); color: #fff; font-size: 9px; font-weight: 800; }
.app-coupon-remove { margin-top: 10px; padding: 0; border: 0; background: transparent; color: #b14d47; font-size: 8px; cursor: pointer; }
.app-cart-total h2 { margin: 0 0 14px; font-size: 16px; }
.app-cart-total p { display: flex; margin: 9px 0; align-items: center; justify-content: space-between; color: #687570; font-size: 10px; }
.app-cart-total p strong { color: #33423e; }
.app-cart-total p.is-discount, .app-cart-total p.is-discount strong { color: #438253; }
.app-cart-total hr { height: 1px; margin: 13px 0; border: 0; background: var(--app-line); }
.app-cart-total p.app-cart-total__grand { color: var(--app-ink); font-size: 13px; font-weight: 800; }
.app-cart-total__grand strong { color: var(--app-primary-text) !important; font-size: 19px; }
.app-cart-total > a { display: flex; min-height: 48px; margin-top: 14px; align-items: center; justify-content: center; gap: 8px; border-radius: 13px; background: var(--app-primary-strong); color: #fff; font-size: 11px; font-weight: 850; text-decoration: none; }
.app-cart-total > a svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.app-cart-total > small { display: block; margin-top: 9px; color: #8b9692; font-size: 7px; line-height: 1.5; text-align: center; }

.app-bottom-nav { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: grid; width: min(100%, 580px); min-height: 72px; margin: 0 auto; padding: 7px 8px max(7px, env(safe-area-inset-bottom)); grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(220, 227, 224, .92); background: rgba(255, 255, 255, .96); box-shadow: 0 -9px 28px rgba(99, 45, 29, .08); backdrop-filter: blur(18px); }
.app-bottom-nav > a { position: relative; display: flex; min-width: 0; align-items: center; justify-content: center; flex-direction: column; gap: 3px; border-radius: 13px; color: #82908c; font-size: 9px; font-weight: 750; text-decoration: none; }
.app-bottom-nav > a::before { position: absolute; top: -7px; width: 24px; height: 3px; border-radius: 0 0 4px 4px; background: transparent; content: ""; }
.app-bottom-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-bottom-nav > a.active { color: var(--app-primary-strong); }
.app-bottom-nav > a.active::before { background: var(--app-accent); }
.app-nav-icon { position: relative; line-height: 0; }
.app-nav-icon b { position: absolute; top: -7px; right: -9px; display: grid; min-width: 17px; height: 17px; padding: 0 4px; place-items: center; border: 2px solid #fff; border-radius: 999px; background: #d45c50; color: #fff; font-size: 8px; line-height: 1; }

.app-offline { display: flex; width: min(calc(100% - 40px), 440px); min-height: 100vh; min-height: 100dvh; margin: 0 auto; padding: 50px 0; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.app-offline img { border-radius: 25px; box-shadow: var(--app-shadow); }
.app-offline > span { margin-top: 27px; color: var(--app-primary-text); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.app-offline h1 { margin: 8px 0 9px; color: var(--app-primary-deep); font-size: 31px; letter-spacing: -.04em; }
.app-offline p { max-width: 370px; margin: 0; color: var(--app-muted); font-size: 14px; line-height: 1.65; }
.app-offline button { min-width: 180px; min-height: 48px; margin-top: 24px; border: 0; border-radius: 14px; background: var(--app-primary-strong); color: #fff; font-weight: 850; cursor: pointer; }
.app-offline small { max-width: 330px; margin-top: 18px; color: #89938f; font-size: 11px; line-height: 1.5; }

a:focus-visible, button:focus-visible { outline: 3px solid rgba(232, 182, 77, .75); outline-offset: 3px; }

/* Phase 4: customer account, checkout and payment flows */
.app-order-list, .app-booking-list { display: grid; gap: 12px; margin-bottom: 18px; }
.app-order-item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 14px; border: 1px solid var(--app-line); border-radius: 18px; background: var(--app-surface); box-shadow: 0 7px 20px rgba(99, 45, 29, .05); }
.app-order-item__image { display: grid; width: 76px; height: 82px; grid-row: span 2; place-items: center; border-radius: 13px; background: #fff3e8 center/cover no-repeat; color: var(--app-primary-text); }
.app-order-item__image svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.app-order-item div { min-width: 0; }
.app-order-item small { color: var(--app-primary-text); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.app-order-item h2 { margin: 3px 0 5px; color: var(--app-ink); font-size: 15px; line-height: 1.25; }
.app-order-item p, .app-order-item div > span { display: block; margin: 0; color: var(--app-muted); font-size: 11px; line-height: 1.5; }
.app-order-item > strong { grid-column: 2; color: var(--app-primary-strong); font-size: 15px; }

.app-summary-card, .app-form-card { margin-bottom: 18px; padding: 20px; border: 1px solid var(--app-line); border-radius: 21px; background: var(--app-surface); box-shadow: var(--app-shadow); }
.app-summary-card > h2 { margin: 0 0 18px; font-size: 19px; }
.app-summary-card__title, .app-form-card__heading { display: flex; margin-bottom: 19px; align-items: center; gap: 12px; }
.app-summary-card__title > span, .app-form-card__heading > span { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: var(--app-primary-soft); color: var(--app-primary-text); }
.app-summary-card__title svg, .app-form-card__heading svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.app-summary-card__title small, .app-form-card__heading small { color: var(--app-primary-text); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.app-summary-card__title h2, .app-form-card__heading h2 { margin: 2px 0 0; color: var(--app-ink); font-size: 18px; }
.app-summary-card > p { display: flex; margin: 10px 0; align-items: center; justify-content: space-between; color: var(--app-muted); font-size: 12px; }
.app-summary-card > p strong { color: var(--app-ink); }
.app-summary-card > p.is-discount strong { color: #328360; }
.app-summary-card hr { margin: 15px 0; border: 0; border-top: 1px dashed #d8dfdc; }
.app-summary-card > .app-summary-card__total { font-size: 15px; font-weight: 850; }
.app-summary-card__total strong { color: var(--app-primary-strong) !important; font-size: 22px; }
.app-safe-note { display: flex; margin: 16px 0; padding: 12px; align-items: flex-start; gap: 9px; border-radius: 12px; background: #fff3e8; color: var(--app-muted); font-size: 10px; line-height: 1.5; }
.app-safe-note svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: var(--app-primary-text); stroke-width: 1.8; }
.app-primary-action, .app-secondary-action { display: flex; width: 100%; min-height: 49px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 14px; text-align: center; text-decoration: none; font-size: 12px; font-weight: 900; cursor: pointer; }
.app-primary-action { background: var(--app-primary-strong); color: #fff; box-shadow: 0 9px 20px rgba(99, 45, 29, .20); }
.app-primary-action:disabled { opacity: .65; cursor: wait; }
.app-primary-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.app-secondary-action { margin-top: 8px; border: 1px solid var(--app-line); background: #fff; color: var(--app-primary-strong); }

.app-booking-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; min-height: 116px; gap: 13px; padding: 13px; border: 1px solid var(--app-line); border-radius: 19px; background: #fff; text-decoration: none; box-shadow: 0 8px 22px rgba(99, 45, 29, .06); }
.app-booking-row__image { display: grid; width: 72px; height: 88px; place-items: center; align-self: center; border-radius: 14px; background: #fff3e8 center/cover no-repeat; color: var(--app-primary-text); }
.app-booking-row__image svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.app-booking-row__body { display: flex; min-width: 0; align-items: flex-start; justify-content: center; flex-direction: column; }
.app-booking-row__body .app-status { margin-bottom: 5px; }
.app-booking-row__body > small { max-width: 100%; overflow: hidden; color: #89928f; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.app-booking-row__body > strong { display: -webkit-box; margin: 4px 0; overflow: hidden; color: var(--app-ink); font-size: 13px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.app-booking-row__body > span:not(.app-status), .app-booking-row__body em { color: var(--app-muted); font-size: 9px; font-style: normal; line-height: 1.45; }
.app-booking-row__price { display: flex; min-width: 66px; align-items: flex-end; justify-content: center; flex-direction: column; color: var(--app-primary-strong); }
.app-booking-row__price strong { font-size: 12px; white-space: nowrap; }
.app-booking-row__price small { margin-top: 3px; color: #939d99; font-size: 8px; }
.app-booking-row__price svg { width: 16px; height: 16px; margin-top: 12px; fill: none; stroke: currentColor; stroke-width: 2; }

.app-invoice-hero { margin: -4px 0 18px; padding: 24px 20px; border-radius: 22px; background: linear-gradient(135deg, var(--app-primary-strong), #9d281b); color: #fff; box-shadow: var(--app-shadow); }
.app-invoice-hero > small { display: block; margin-top: 17px; color: #ffe5da; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.app-invoice-hero h1 { margin: 4px 0 7px; overflow-wrap: anywhere; font-size: 21px; line-height: 1.2; }
.app-invoice-hero p { margin: 0; color: #ffe5da; font-size: 10px; }

.app-receipt { margin-bottom: 14px; overflow: hidden; border: 1px solid var(--app-line); border-radius: 22px; background: #fff; box-shadow: var(--app-shadow); }
.app-receipt header { display: flex; padding: 20px; align-items: center; gap: 11px; background: linear-gradient(135deg, var(--app-primary-strong), #9d281b); color: #fff; }
.app-receipt header > span { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: rgba(255,255,255,.13); }
.app-receipt header svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; }
.app-receipt header div { min-width: 0; flex: 1; }
.app-receipt header small { color: #ffe5da; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.app-receipt header h1 { margin: 2px 0 0; font-size: 17px; }
.app-receipt header b { padding: 5px 8px; border-radius: 999px; background: #dff0e9; color: #246d54; font-size: 7px; letter-spacing: .08em; }
.app-receipt__reference, .app-receipt__customer { display: flex; padding: 16px 20px 0; flex-direction: column; }
.app-receipt__reference small, .app-receipt__customer small { color: #929b98; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.app-receipt__reference strong { margin: 3px 0; overflow-wrap: anywhere; color: var(--app-ink); font-size: 13px; }
.app-receipt__customer strong { margin: 3px 0; color: var(--app-ink); font-size: 13px; }
.app-receipt__reference span, .app-receipt__customer span { color: var(--app-muted); font-size: 9px; }
.app-receipt__items { margin: 18px 20px 0; padding: 6px 0; border-block: 1px dashed #dbe1df; }
.app-receipt__items > div { display: flex; padding: 10px 0; align-items: flex-start; justify-content: space-between; gap: 12px; }
.app-receipt__items span { display: flex; min-width: 0; flex-direction: column; }
.app-receipt__items strong { color: var(--app-ink); font-size: 11px; }
.app-receipt__items small { margin-top: 3px; color: var(--app-muted); font-size: 8px; line-height: 1.45; }
.app-receipt__items b { color: var(--app-primary-strong); font-size: 10px; white-space: nowrap; }
.app-receipt__payment { padding: 12px 20px; }
.app-receipt__payment p { display: flex; margin: 7px 0; align-items: flex-start; justify-content: space-between; gap: 15px; color: var(--app-muted); font-size: 9px; }
.app-receipt__payment strong { max-width: 62%; overflow-wrap: anywhere; color: var(--app-ink); text-align: right; }
.app-receipt footer { display: flex; padding: 17px 20px; align-items: center; justify-content: space-between; background: #fff3e8; color: var(--app-primary-strong); }
.app-receipt footer span { font-size: 11px; font-weight: 800; }
.app-receipt footer strong { font-size: 21px; }
.app-receipt-actions { margin-bottom: 16px; }

.app-account-hero { display: flex; margin-bottom: 14px; padding: 22px 20px; align-items: center; gap: 14px; border-radius: 22px; background: linear-gradient(135deg, var(--app-primary-strong), #9d281b); color: #fff; box-shadow: var(--app-shadow); }
.app-account-hero > span { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; border: 2px solid rgba(255,255,255,.4); border-radius: 19px; background: rgba(255,255,255,.14); font-size: 22px; font-weight: 900; }
.app-account-hero small { color: #ffe5da; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.app-account-hero h1 { margin: 3px 0; font-size: 19px; }
.app-account-hero p { margin: 0; color: #ffe5da; font-size: 10px; }
.app-account-metrics { display: grid; margin-bottom: 14px; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-account-metrics > div { display: flex; padding: 13px 8px; align-items: center; flex-direction: column; border: 1px solid var(--app-line); border-radius: 16px; background: #fff; text-align: center; }
.app-account-metrics span { display: grid; width: 31px; height: 31px; margin-bottom: 6px; place-items: center; border-radius: 10px; background: var(--app-primary-soft); color: var(--app-primary-text); }
.app-account-metrics svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.app-account-metrics strong { color: var(--app-ink); font-size: 18px; }
.app-account-metrics small { margin-top: 2px; color: var(--app-muted); font-size: 8px; }
.app-account-menu { margin-bottom: 14px; overflow: hidden; border: 1px solid var(--app-line); border-radius: 20px; background: #fff; }
.app-account-menu > a { display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; padding: 14px 16px; align-items: center; gap: 12px; border-bottom: 1px solid var(--app-line); text-decoration: none; }
.app-account-menu > a:last-child { border-bottom: 0; }
.app-account-menu > a > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: #fff3e8; color: var(--app-primary-text); }
.app-account-menu svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.app-account-menu > a > div { display: flex; flex-direction: column; }
.app-account-menu strong { color: var(--app-ink); font-size: 12px; }
.app-account-menu small { margin-top: 3px; color: var(--app-muted); font-size: 9px; }
.app-account-menu > a > svg { width: 15px; color: #9ba5a1; }
.app-logout-form button { width: 100%; min-height: 47px; border: 1px solid #f0d6d3; border-radius: 14px; background: #fff7f6; color: #b14c43; font-size: 11px; font-weight: 900; cursor: pointer; }

.app-form-card > h2 { margin: 0 0 18px; color: var(--app-ink); font-size: 19px; }
.app-form-card form { display: grid; gap: 14px; }
.app-form-card label { display: flex; color: var(--app-ink); font-size: 10px; font-weight: 850; flex-direction: column; gap: 6px; }
.app-form-card input, .app-form-card textarea, .app-form-card select { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid var(--app-line); border-radius: 12px; background: #fff; color: var(--app-ink); font-size: 12px; outline: none; }
.app-form-card textarea { min-height: 100px; resize: vertical; }
.app-form-card input:focus, .app-form-card textarea:focus, .app-form-card select:focus { border-color: var(--app-primary-text); box-shadow: 0 0 0 3px rgba(183, 44, 29, .10); }
.app-form-card input:disabled { background: #f3f5f4; color: #79837f; }
.app-form-card label small { color: #8b9692; font-size: 8px; font-weight: 500; line-height: 1.5; }
.app-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
.app-favorite-footer { display: flex; margin-top: 12px; align-items: center; justify-content: space-between; }
.app-favorite-footer strong { color: var(--app-primary-strong); font-size: 15px; }
.app-favorite-footer button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #f1d7d3; border-radius: 12px; background: #fff6f5; color: #bd5147; cursor: pointer; }
.app-favorite-footer svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.app-support-hero { display: flex; margin-bottom: 12px; padding: 22px 20px; align-items: center; gap: 14px; border-radius: 22px; background: linear-gradient(135deg, var(--app-primary-strong), #9d281b); color: #fff; box-shadow: var(--app-shadow); }
.app-support-hero > span { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border-radius: 18px; background: rgba(255,255,255,.13); }
.app-support-hero svg { width: 27px; height: 27px; fill: none; stroke: #fff; stroke-width: 1.8; }
.app-support-hero small { color: #c1d9d3; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.app-support-hero h1 { margin: 3px 0; font-size: 20px; }
.app-support-hero p { margin: 0; color: #ffe5da; font-size: 10px; line-height: 1.45; }
.app-contact-options { display: grid; margin-bottom: 12px; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.app-contact-options a { display: flex; min-width: 0; padding: 13px; border: 1px solid var(--app-line); border-radius: 14px; background: #fff; text-decoration: none; flex-direction: column; }
.app-contact-options span { color: var(--app-muted); font-size: 8px; }
.app-contact-options strong { margin-top: 3px; overflow: hidden; color: var(--app-primary-strong); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

/* Phase 5: booking operations and notifications */
.app-notification-button { position: relative; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--app-line); border-radius: 11px; background: #fff; color: var(--app-primary-strong); text-decoration: none; }
.app-notification-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.app-notification-button b { position: absolute; top: -6px; right: -6px; display: grid; min-width: 17px; height: 17px; padding: 0 4px; place-items: center; border: 2px solid #fff; border-radius: 999px; background: #d45c50; color: #fff; font-size: 7px; line-height: 1; }
.app-filter-chips { display: flex; margin: -2px -16px 16px; padding: 2px 16px 5px; overflow-x: auto; gap: 7px; scrollbar-width: none; }
.app-filter-chips::-webkit-scrollbar { display: none; }
.app-filter-chips a { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--app-line); border-radius: 999px; background: #fff; color: var(--app-muted); text-decoration: none; font-size: 9px; font-weight: 850; }
.app-filter-chips a.active { border-color: var(--app-primary-strong); background: var(--app-primary-strong); color: #fff; box-shadow: 0 7px 16px rgba(99, 45, 29, .17); }
.app-trip-details { display: grid; margin-bottom: 16px; padding: 18px; grid-template-columns: 1fr 1fr; gap: 9px; border: 1px solid var(--app-line); border-radius: 19px; background: #fff; }
.app-trip-details h2 { margin: 0 0 5px; grid-column: 1 / -1; color: var(--app-ink); font-size: 17px; }
.app-trip-details > div { display: flex; min-width: 0; padding: 11px; align-items: center; gap: 9px; border-radius: 13px; background: #f3f7f5; }
.app-trip-details > div > span { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--app-primary-soft); color: var(--app-primary-text); }
.app-trip-details svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.app-trip-details p { display: flex; min-width: 0; margin: 0; color: var(--app-muted); font-size: 8px; flex-direction: column; }
.app-trip-details strong { margin-top: 3px; overflow-wrap: anywhere; color: var(--app-ink); font-size: 10px; }
.app-trip-details__wide { grid-column: 1 / -1; }
.app-cancel-card { margin: 0 0 18px; padding: 15px 17px; border: 1px solid #f0d7d4; border-radius: 16px; background: #fff9f8; color: #94453e; }
.app-cancel-card summary { font-size: 11px; font-weight: 900; cursor: pointer; }
.app-cancel-card > p { margin: 11px 0; color: #8a6864; font-size: 9px; line-height: 1.55; }
.app-cancel-card form { display: grid; gap: 10px; }
.app-cancel-card label { display: flex; font-size: 9px; font-weight: 800; flex-direction: column; gap: 6px; }
.app-cancel-card textarea { width: 100%; padding: 11px; border: 1px solid #e8cfcc; border-radius: 11px; color: var(--app-ink); font-size: 11px; resize: vertical; }
.app-cancel-card button { min-height: 43px; border: 0; border-radius: 11px; background: #b94f46; color: #fff; font-size: 10px; font-weight: 900; cursor: pointer; }
.app-notification-list { display: grid; gap: 10px; }
.app-notification-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) 16px; padding: 14px; align-items: start; gap: 11px; border: 1px solid var(--app-line); border-radius: 17px; background: #fff; text-decoration: none; box-shadow: 0 7px 18px rgba(99, 45, 29, .05); }
.app-notification-item__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; }
.app-notification-item__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.app-notification-item__icon--success { background: #e4f3e7; color: #377c4b; }
.app-notification-item__icon--warning { background: #fff3d8; color: #9c7015; }
.app-notification-item__icon--danger { background: #fde8e6; color: #aa4840; }
.app-notification-item__icon--neutral { background: #ebeeed; color: #66736f; }
.app-notification-item__body { min-width: 0; }
.app-notification-item__body > span { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.app-notification-item__body strong { color: var(--app-ink); font-size: 11px; }
.app-notification-item__body b { color: var(--app-primary-strong); font-size: 9px; white-space: nowrap; }
.app-notification-item__body p { margin: 4px 0; color: var(--app-muted); font-size: 9px; line-height: 1.45; }
.app-notification-item__body small { display: block; overflow: hidden; color: var(--app-muted); font-size: 8px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.app-notification-item__body em { display: block; margin-top: 6px; color: #9ba4a1; font-size: 7px; font-style: normal; }
.app-notification-item__arrow { width: 15px; height: 15px; align-self: center; fill: none; stroke: #9ba5a1; stroke-width: 2; }

/* Phase 6: native customer-app authentication */
.app-auth-body .app-main { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
.app-auth-hero { position: relative; display: flex; min-height: 260px; margin: -4px 0 14px; padding: 30px 24px 26px; align-items: center; justify-content: center; overflow: hidden; border-radius: 24px; background: radial-gradient(circle at 88% 12%, rgba(232,182,77,.30), transparent 34%), linear-gradient(145deg, var(--app-primary-deep), #a92b1d); color: #fff; text-align: center; flex-direction: column; box-shadow: var(--app-shadow); }
.app-auth-hero::after { position: absolute; right: -38px; bottom: -65px; width: 170px; height: 170px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ''; }
.app-auth-hero > a { position: absolute; top: 16px; left: 16px; z-index: 1; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.10); color: #fff; text-decoration: none; font-size: 20px; }
.app-auth-hero img { position: relative; z-index: 1; margin-bottom: 13px; border: 3px solid rgba(255,255,255,.28); border-radius: 21px; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.app-auth-hero > span { position: relative; z-index: 1; color: #d7c386; font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.app-auth-hero h1 { position: relative; z-index: 1; margin: 6px 0; font-size: 25px; letter-spacing: -.035em; }
.app-auth-hero p { position: relative; z-index: 1; max-width: 300px; margin: 0; color: #ffe5da; font-size: 10px; line-height: 1.55; }
.app-auth-hero--compact { min-height: 195px; padding-top: 45px; }
.app-auth-card { padding: 21px; border: 1px solid var(--app-line); border-radius: 21px; background: #fff; box-shadow: var(--app-shadow); }
.app-auth-card form { display: grid; gap: 14px; }
.app-auth-card label { display: flex; color: var(--app-ink); font-size: 10px; font-weight: 850; flex-direction: column; gap: 6px; }
.app-auth-card input, .app-auth-card textarea { width: 100%; min-height: 49px; padding: 12px 13px; border: 1px solid var(--app-line); border-radius: 12px; background: #fff; color: var(--app-ink); font-size: 12px; outline: none; }
.app-auth-card textarea { min-height: 82px; resize: vertical; }
.app-auth-card input:focus, .app-auth-card textarea:focus { border-color: var(--app-primary-text); box-shadow: 0 0 0 3px rgba(183,44,29,.10); }
.app-auth-card > p { margin: 17px 0 0; color: var(--app-muted); text-align: center; font-size: 10px; }
.app-auth-card > p a, .app-auth-options a { color: var(--app-primary-text); font-weight: 900; text-decoration: none; }
.app-auth-card--register { margin-top: -3px; }
.app-auth-options { display: flex; margin: -2px 0 1px; align-items: center; justify-content: space-between; gap: 10px; font-size: 9px; }
.app-auth-options-end { justify-content: flex-end; }
.app-auth-options > label { display: flex; align-items: center; color: var(--app-muted); font-size: 9px; font-weight: 650; flex-direction: row; gap: 6px; }
.app-auth-options input { width: 15px; min-height: 15px; margin: 0; accent-color: var(--app-primary-text); }
.app-password-field { position: relative; display: block; }
.app-password-field input { padding-right: 58px; }
.app-password-field button { position: absolute; top: 50%; right: 7px; min-width: 44px; min-height: 34px; padding: 0 7px; transform: translateY(-50%); border: 0; border-radius: 9px; background: #fff3e8; color: var(--app-primary-text); font-size: 8px; font-weight: 900; cursor: pointer; }
.app-auth-hint { display: block; margin-top: -4px; color: #89938f; font-size: 8px; line-height: 1.5; }
.app-auth-trust { display: flex; margin-top: 11px; padding: 13px 15px; align-items: center; gap: 10px; border: 1px solid var(--app-line); border-radius: 15px; background: #fff3e8; }
.app-auth-trust > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 11px; background: var(--app-primary-soft); color: var(--app-primary-text); }
.app-auth-trust svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.app-auth-trust p { display: flex; margin: 0; flex-direction: column; }
.app-auth-trust strong { color: var(--app-ink); font-size: 10px; }
.app-auth-trust small { margin-top: 2px; color: var(--app-muted); font-size: 8px; line-height: 1.4; }

.app-hero--photo { min-height: 330px; display: flex; align-items: end; background-position: center; background-size: cover; }
.app-hero--photo::before { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; background: linear-gradient(180deg, rgba(32, 20, 15, .12) 5%, rgba(32, 20, 15, .88) 94%); }
.app-hero--photo::after { width: 155px; height: 155px; right: -45px; bottom: -72px; background: rgba(232, 182, 77, .22); }
.app-home-search { position: relative; z-index: 4; margin: -20px 13px 0; border-color: transparent; box-shadow: 0 14px 32px rgba(99, 45, 29, .16); }

.app-home-availability { scroll-margin-top: 92px; margin-top: 27px; padding: 19px; border: 1px solid var(--app-line); border-radius: 22px; background: linear-gradient(145deg, #fff, var(--app-bg)); box-shadow: 0 10px 28px rgba(99, 45, 29, .065); }
.app-home-availability__heading { display: flex; align-items: center; gap: 11px; }
.app-home-availability__heading > span { display: grid; width: 41px; height: 41px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: var(--app-primary-strong); color: #fff; }
.app-home-availability__heading svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-home-availability__heading div { display: grid; }
.app-home-availability__heading small { color: var(--app-primary-text); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.app-home-availability__heading h2 { margin: 3px 0 0; font-size: 17px; letter-spacing: -.02em; }
.app-home-categories { margin-top: 17px; }

.app-availability-summary { display: grid; margin: 0 0 12px; padding: 12px 13px; align-items: center; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; border: 1px solid #cde1da; border-radius: 15px; background: #eaf5f1; }
.app-availability-summary > svg { width: 19px; height: 19px; fill: none; stroke: var(--app-primary-text); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-availability-summary > span { display: grid; min-width: 0; }
.app-availability-summary strong { color: var(--app-primary-deep); font-size: 10px; }
.app-availability-summary small { margin-top: 2px; color: var(--app-muted); font-size: 8px; line-height: 1.4; }
.app-availability-summary a { color: var(--app-primary-text); font-size: 9px; font-weight: 850; text-decoration: none; }
.app-product-card__availability { position: absolute; z-index: 2; top: 9px; right: 9px; padding: 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--app-primary-text); font-size: 8px; font-weight: 900; box-shadow: 0 5px 13px rgba(0, 0, 0, .12); }

.app-map-card { position: relative; display: grid; width: 100%; min-height: 205px; overflow: hidden; padding: 20px; align-content: end; justify-items: start; border: 0; border-radius: 22px; background-color: #f4e6da; background-position: center; background-size: cover; color: #fff; text-align: left; box-shadow: 0 12px 31px rgba(99, 45, 29, .13); cursor: pointer; }
.app-map-card::before { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32, 20, 15, .05), rgba(32, 20, 15, .83)); content: ""; }
.app-map-card > * { position: relative; z-index: 1; }
.app-map-card > span { display: grid; width: 39px; height: 39px; margin-bottom: 11px; place-items: center; border-radius: 12px; background: var(--app-accent); color: var(--app-primary-deep); }
.app-map-card svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.app-map-card strong { font-size: 16px; }
.app-map-card small { margin-top: 4px; color: rgba(255, 255, 255, .76); font-size: 10px; }
.app-map-dialog { width: min(calc(100% - 24px), 556px); max-height: calc(100dvh - 24px); padding: 0; overflow: hidden; border: 0; border-radius: 22px; background: #fff; color: var(--app-ink); box-shadow: 0 26px 80px rgba(0, 0, 0, .35); }
.app-map-dialog::backdrop { background: rgba(5, 27, 23, .72); backdrop-filter: blur(5px); }
.app-map-dialog__heading { display: flex; min-height: 58px; padding: 10px 13px 10px 18px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--app-line); }
.app-map-dialog__heading strong { font-size: 15px; }
.app-map-dialog__heading button { display: grid; width: 36px; height: 36px; padding: 0; place-items: center; border: 0; border-radius: 11px; background: #fff3e8; color: var(--app-primary-deep); font-size: 25px; line-height: 1; cursor: pointer; }
.app-map-dialog img { display: block; width: 100%; max-height: calc(100dvh - 94px); object-fit: contain; background: #eef2f1; }

/* Customer application application parity */
.app-frame { width: min(100%, 600px); background: var(--app-bg); }
.app-header--legacy { min-height: 86px; padding: max(13px, env(safe-area-inset-top)) 18px 11px; gap: 12px; background: rgba(255, 248, 240, .96); }
.app-menu-button { display: grid; width: 42px; height: 42px; flex: 0 0 auto; padding: 12px 10px; align-content: center; gap: 4px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 10px 22px rgba(99, 45, 29, .08); cursor: pointer; }
.app-menu-button span { display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--app-ink); }
.app-brand--legacy { flex: 1 1 auto; overflow: hidden; }
.app-brand--legacy img { width: auto; max-width: min(245px, 52vw); height: 58px; border-radius: 0; object-fit: contain; object-position: left center; box-shadow: none; }
.app-header-circle { position: relative; display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #fff; color: var(--app-primary-strong); text-decoration: none; box-shadow: 0 10px 22px rgba(99, 45, 29, .08); }
.app-header-circle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-header-circle b { position: absolute; top: -3px; right: -2px; display: grid; min-width: 18px; height: 18px; padding: 0 4px; place-items: center; border-radius: 999px; background: #d94141; color: #fff; font-size: 9px; }
.app-header-cart { color: #fff; background: linear-gradient(135deg, var(--app-primary-strong), #9d281b); box-shadow: 0 12px 24px rgba(99, 45, 29, .24); }

.app-drawer { position: fixed; z-index: 100; inset: 0; visibility: hidden; pointer-events: none; }
.app-drawer.is-open { visibility: visible; pointer-events: auto; }
.app-drawer__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(30, 23, 20, .54); opacity: 0; transition: opacity .24s ease; }
.app-drawer.is-open .app-drawer__backdrop { opacity: 1; }
.app-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 370px); overflow-y: auto; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 18px 0 46px rgba(30, 23, 20, .22); transform: translateX(-102%); transition: transform .24s ease; }
.app-drawer.is-open .app-drawer__panel { transform: translateX(0); }
.app-drawer__profile { position: relative; display: grid; padding: 25px 18px; justify-items: center; border-radius: 22px; background: linear-gradient(135deg, #8f281b, var(--app-primary-strong)); color: #fff; }
.app-drawer__profile > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--app-primary-strong), #d7a944); font-size: 19px; font-weight: 900; box-shadow: 0 12px 24px rgba(0, 0, 0, .18); }
.app-drawer__profile strong { margin-top: 11px; font-size: 16px; }
.app-drawer__profile small { margin-top: 3px; color: rgba(255, 255, 255, .72); font-size: 10px; }
.app-drawer__profile > button { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .13); color: #fff; font-size: 22px; cursor: pointer; }
.app-drawer__links { display: grid; margin: 18px 0; gap: 4px; }
.app-drawer__links a { display: grid; min-height: 61px; padding: 9px 10px; align-items: center; grid-template-columns: 42px minmax(0, 1fr); gap: 11px; border-radius: 14px; color: var(--app-ink); text-decoration: none; }
.app-drawer__links a:hover { background: #f2f7f4; }
.app-drawer__links > a > svg { width: 22px; height: 22px; justify-self: center; fill: none; stroke: var(--app-primary-strong); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-drawer__links span { display: grid; }
.app-drawer__links strong { font-size: 13px; }
.app-drawer__links small { margin-top: 3px; color: var(--app-muted); font-size: 9px; }
.app-drawer > .app-drawer__panel > form button, .app-drawer__login { display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: center; border: 0; border-radius: 13px; background: var(--app-primary-strong); color: #fff; font-size: 12px; font-weight: 850; text-decoration: none; cursor: pointer; }
body.app-drawer-open { overflow: hidden; }

.app-legacy-home-body .app-main { padding: 0 0 calc(116px + env(safe-area-inset-bottom)); }
.app-legacy-home-body .app-alert { margin: 12px 18px; }
.app-legacy-home-body .app-section, .app-legacy-home-body .app-home-availability, .app-legacy-home-body .app-dashboard, .app-legacy-home-body .app-install-card { margin-right: 18px; margin-left: 18px; }
.app-legacy-home-body .app-section { margin-top: 28px; }
.app-legacy-home-body .app-section__heading { margin: 0 0 14px; }
.app-legacy-home-body .app-section__heading > div > span { display: none; }
.app-legacy-home-body .app-section__heading h2 { margin: 0; color: var(--app-ink); font-size: 20px; font-weight: 900; }
.app-legacy-home-body .app-section__heading p { margin: 2px 0 0; color: var(--app-muted); font-size: 12px; font-weight: 750; }
.app-legacy-home-body .app-section__heading > a { color: var(--app-primary-strong); font-size: 12px; font-weight: 900; }

.app-legacy-hero { display: block; min-height: 360px; margin-top: 18px; padding: 0; border-radius: 0 0 28px 28px; box-shadow: none; }
.app-legacy-hero::before { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; background: linear-gradient(180deg, rgba(32, 20, 15, .08), rgba(32, 20, 15, .88)); }
.app-legacy-hero::after { display: none; }
.app-legacy-hero .app-hero__content { position: absolute; right: 20px; bottom: 28px; left: 20px; max-width: none; }
.app-legacy-hero .app-eyebrow { gap: 6px; padding: 7px 12px; border: 0; background: rgba(255, 255, 255, .18); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: none; }
.app-legacy-hero .app-eyebrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linejoin: round; stroke-width: 1.7; }
.app-legacy-hero h1 { max-width: none; margin: 14px 0 8px; font-size: 34px; line-height: 1.05; font-weight: 900; }
.app-legacy-hero p { margin: 0 0 18px; color: rgba(255, 255, 255, .86); font-size: 14px; line-height: 1.55; }
.app-legacy-hero .app-hero__actions { display: grid; margin-top: 0; align-items: stretch; grid-template-columns: minmax(0, 1fr) 118px; gap: 10px; }
.app-legacy-hero .app-button { min-height: 54px; padding-block: 7px; border-radius: 8px; font-size: 13px; font-weight: 850; }
.app-button--primary { background: var(--app-primary-strong); color: #fff; box-shadow: none; }
.app-button--package { display: flex; gap: 5px; color: var(--app-ink); background: #fff; flex-direction: column; text-align: center; }
.app-button--package svg { width: 24px; height: 24px; flex: 0 0 24px; color: var(--app-primary-strong); }
.app-button--package span { display: block; line-height: 1.3; }

.app-legacy-home-body .app-home-search { margin: -24px 18px 0; min-height: 58px; border-radius: 18px; box-shadow: 0 14px 34px rgba(99, 45, 29, .12); }
.app-legacy-home-body .app-home-search button { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; color: #fff; }
.app-home-search button svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-legacy-quick-section > .app-section__heading { display: none; }
.app-quick-grid--legacy { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.app-quick-grid--legacy .app-quick-card { min-height: 128px; padding: 15px 8px 14px; align-content: center; justify-items: center; text-align: center; box-shadow: 0 12px 34px rgba(99, 45, 29, .08); }
.app-quick-grid--legacy .app-quick-card__icon { width: 46px; height: 46px; margin: 0 auto 9px; border-radius: 16px; box-shadow: 0 14px 24px rgba(99, 45, 29, .12); }
.app-quick-grid--legacy .app-quick-card strong { font-size: 13px; font-weight: 850; }
.app-quick-grid--legacy .app-quick-card small { font-size: 10px; }
.app-quick-grid--legacy .app-quick-card--blue .app-quick-card__icon { background: linear-gradient(135deg, var(--app-primary-soft), #fff); color: var(--app-primary-strong); }
.app-quick-grid--legacy .app-quick-card--gold .app-quick-card__icon { background: linear-gradient(135deg, #fff5d8, #fff); color: #c28a18; }
.app-quick-grid--legacy .app-quick-card--green .app-quick-card__icon { background: linear-gradient(135deg, var(--app-primary-soft), #fff); color: var(--app-primary-strong); }

.app-home-availability--legacy { padding: 10px; border: 2px solid #f2bd31; border-radius: 14px; background: #fff; box-shadow: 0 12px 28px rgba(99, 45, 29, .10); }
.app-home-availability__heading--compact { gap: 7px; margin: 0 0 7px; }
.app-home-availability__heading--compact > span { width: auto; height: auto; border-radius: 0; background: transparent; color: var(--app-primary-strong); }
.app-home-availability__heading--compact svg { width: 20px; height: 20px; }
.app-home-availability__heading--compact h2 { margin: 0; color: var(--app-ink); font-size: 13px; font-weight: 950; }
.app-home-availability--legacy form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 74px; gap: 5px; align-items: stretch; }
.app-home-availability--legacy .app-date-grid { display: contents; }
.app-home-availability--legacy .app-date-grid > label > span:first-child { margin: 0 0 3px; font-size: 10px; line-height: 1; text-align: center; }
.app-home-availability--legacy .app-date-input input[data-app-date-display] { height: 44px; padding: 8px; border: 0; border-radius: 9px; background: #fff; font-size: 12px; text-align: center; box-shadow: inset 0 0 0 1px rgba(24, 47, 41, .10); }
.app-home-availability--legacy .app-date-input button { display: none; }
.app-home-availability--legacy .app-primary-button { width: 100%; min-height: 44px; margin-top: 13px; padding: 0 8px; border-radius: 9px; background: var(--app-primary-strong); font-size: 12px; }
.app-home-availability--legacy .app-primary-button svg { width: 18px; }
.app-legacy-availability-result { display: grid; margin-top: 14px; padding: 13px 2px 2px; align-items: center; grid-template-columns: 1fr auto; border-top: 1px solid rgba(24, 47, 41, .08); }
.app-legacy-availability-result span { color: var(--app-muted); font-size: 10px; font-weight: 850; }
.app-legacy-availability-result strong { display: block; margin-top: 3px; font-size: 13px; }
.app-legacy-availability-result a { color: #d04c36; font-size: 11px; font-weight: 900; text-decoration: none; }
.app-legacy-availability-result p { grid-column: 1 / -1; margin: 12px 0 0; padding: 12px; border-radius: 12px; background: #fff5d8; color: #9b6b00; font-size: 11px; text-align: center; }

.app-legacy-map-section { padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 16px 38px rgba(99, 45, 29, .09); }
.app-map-card--legacy { min-height: 0; aspect-ratio: 16 / 9; padding: 0; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(24, 47, 41, .06); }
.app-map-card--legacy::before { background: transparent; }
.app-map-card--legacy > span { position: absolute; right: 12px; bottom: 12px; display: inline-flex; width: auto; height: auto; margin: 0; padding: 9px 12px; gap: 6px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--app-ink); font-size: 12px; font-weight: 900; box-shadow: 0 10px 24px rgba(99, 45, 29, .18); }
.app-map-card--legacy > span svg { width: 18px; height: 18px; }

.app-legacy-category-section .app-home-categories { margin: 0; padding: 2px 0 8px; gap: 10px; }
.app-legacy-category-section .app-home-categories a { padding: 10px 14px; border: 0; background: #fff; color: var(--app-ink); font-size: 12px; font-weight: 850; box-shadow: 0 10px 24px rgba(99, 45, 29, .07); }
.app-legacy-category-section .app-home-categories a.active { background: var(--app-primary-strong); color: #fff; }
.app-legacy-promo { display: grid; padding: 14px; align-items: center; grid-template-columns: 96px 1fr; gap: 14px; border-radius: 20px; background: linear-gradient(135deg, #8f281b, var(--app-primary-strong)); color: #fff; box-shadow: 0 16px 38px rgba(99, 45, 29, .20); }
.app-legacy-promo img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; background: rgba(255, 255, 255, .12); }
.app-legacy-promo span { display: block; margin-bottom: 4px; color: rgba(255, 255, 255, .72); font-size: 12px; font-weight: 800; }
.app-legacy-promo h3 { margin: 0 0 8px; color: #fff; font-size: 17px; line-height: 1.25; font-weight: 950; }
.app-legacy-promo a { color: #ffe49c; font-size: 13px; font-weight: 900; text-decoration: none; }

.app-legacy-products .app-product-card { border: 0; border-radius: 18px; box-shadow: 0 12px 34px rgba(99, 45, 29, .08); }
.app-legacy-products .app-product-card__image { height: 150px; }
.app-legacy-products .app-product-card__image::after { display: none; }
.app-legacy-products .app-product-card__body { padding: 13px; }
.app-legacy-product-category { display: block; margin-bottom: 5px; overflow: hidden; color: var(--app-muted); font-size: 11px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.app-legacy-products .app-product-card h2 { min-height: 38px; margin: 0 0 6px; font-size: 16px; font-weight: 900; }
.app-legacy-products .app-product-card__footer { align-items: center; }
.app-legacy-products .app-product-card__footer strong { color: var(--app-primary-strong); font-size: 14px; font-weight: 900; }
.app-legacy-products .app-product-card__footer > small { width: auto; color: var(--app-muted); font-size: 11px; font-weight: 850; }

.app-legacy-home-body .app-dashboard { scroll-margin-top: 96px; margin-top: 28px; }
.app-install-card--legacy { display: block; padding: 18px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(99, 45, 29, .08); }
.app-install-card--legacy h2 { margin: 0; color: var(--app-ink); font-size: 18px; font-weight: 900; }
.app-install-card--legacy p { margin: 8px 0 14px; color: var(--app-muted); font-size: 11px; line-height: 1.55; }
.app-install-card--legacy button { min-height: 45px; border-radius: 8px; background: var(--app-primary-strong); }

.app-bottom-nav--legacy { width: min(100%, 600px); min-height: 88px; padding: 8px 12px max(11px, env(safe-area-inset-bottom)); align-items: end; gap: 6px; overflow: visible; background: #fff; }
.app-bottom-nav--legacy > a { min-height: 64px; padding: 6px 2px 4px; gap: 4px; color: #626b67; font-size: 10px; font-weight: 700; }
.app-bottom-nav--legacy > a::before { display: none; }
.app-legacy-nav-icon { position: relative; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 16px; background: #fff4eb; }
.app-legacy-nav-icon img { position: absolute; width: 24px; height: 24px; object-fit: contain; }
.app-legacy-nav-icon .active-icon { display: none; }
.app-bottom-nav--legacy > a.active { color: var(--app-primary-strong); }
.app-bottom-nav--legacy > a.active .app-legacy-nav-icon { background: var(--app-primary-strong); box-shadow: 0 10px 22px rgba(99, 45, 29, .24); }
.app-bottom-nav--legacy > a.active .inactive { display: none; }
.app-bottom-nav--legacy > a.active .active-icon { display: block; }
.app-bottom-nav--legacy .app-nav-dashboard { min-height: 70px; transform: translateY(-8px); }
.app-dashboard-nav-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 20px; background: linear-gradient(135deg, var(--app-primary-strong), #9d281b); color: #fff; box-shadow: 0 16px 30px rgba(99, 45, 29, .28); }
.app-bottom-nav--legacy .app-dashboard-nav-icon svg { width: 27px; height: 27px; fill: currentColor; stroke: none; }
.app-bottom-nav--legacy .app-nav-dashboard.active .app-dashboard-nav-icon { transform: translateY(-2px) scale(1.04); box-shadow: 0 18px 34px rgba(99, 45, 29, .34); }

@media print {
    .app-header, .app-bottom-nav, .app-receipt-actions, .app-alert, .app-cancel-card { display: none !important; }
    .customer-app-body, .app-frame, .app-main { width: 100%; max-width: none; min-height: auto; padding: 0; background: #fff; }
    .app-receipt { border: 0; box-shadow: none; }
}

@media (hover: hover) {
    .app-quick-card:hover { transform: translateY(-2px); box-shadow: 0 13px 30px rgba(99, 45, 29, .10); }
}

@media (max-width: 370px) {
    .app-header { padding-inline: 14px; }
    .app-network span { display: none; }
    .app-network { width: 29px; height: 29px; justify-content: center; padding: 0; }
    .app-main { padding-inline: 12px; }
    .app-hero { min-height: 280px; padding: 25px 21px; }
    .app-hero__actions { align-items: stretch; flex-direction: column; }
    .app-button { width: 100%; }
    .app-quick-card { padding: 14px; }
    .app-product-grid { grid-template-columns: 1fr; }
    .app-product-card__image { height: 190px; }
    .app-legacy-products .app-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-legacy-products .app-product-card__image { height: 150px; }
    .app-date-grid, .app-number-grid, .app-plates { grid-template-columns: 1fr; }
    .app-form-grid { grid-template-columns: 1fr; }
    .app-booking-row { grid-template-columns: 64px minmax(0, 1fr); }
    .app-booking-row__image { width: 64px; }
    .app-booking-row__price { grid-column: 2; align-items: center; justify-content: space-between; flex-direction: row; }
    .app-booking-row__price svg { margin-top: 0; }
    .app-product-detail__heading { flex-direction: column; }
    .app-product-detail__heading > div:last-child { justify-content: start; text-align: left; }
}

@media (max-width: 420px) {
    .app-brand--legacy img { max-width: 205px; height: 50px; }
}

@media (display-mode: standalone) {
    .app-header { padding-top: max(13px, env(safe-area-inset-top)); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
