/* Cedar palette, aligned with the Hoteliqa website. Scoped away from staff UI. */
body.hps-guest-theme {
    --hps-canvas: #faf8f3;
    --hps-panel: #ffffff;
    --hps-soft: #eef1e9;
    --hps-ink: #193e35;
    --hps-muted: #59685f;
    --hps-line: #cdd7c8;
    --hps-primary: #193e35;
    --hps-primary-strong: #284f43;
    --hps-on-primary: #ffffff;
    --hps-accent: #8e4c35;
    --hps-font-ui: Arial, Helvetica, sans-serif;
    --hps-font-display: Georgia, 'Times New Roman', serif;
    --hps-color-scheme: light;
    --hps-canvas-glass: rgba(250,248,243,.97);
    margin: 0;
    padding: 0;
    background: var(--hps-canvas);
    color: var(--hps-ink);
    color-scheme: light;
    font-family: var(--hps-font-ui);
}
body.hps-guest-theme, body.hps-guest-theme *, body.hps-guest-theme *::before, body.hps-guest-theme *::after { box-sizing: border-box; }
body.hps-guest-theme :is(button,input,select,textarea) { font-family: var(--hps-font-ui); }
body.hps-guest-theme :is(a,button,input,textarea,select,[tabindex]):focus-visible {
    outline: 3px solid var(--hps-accent) !important;
    outline-offset: 3px;
}
body.hps-guest-theme input { accent-color: var(--hps-primary); }
body.hps-guest-theme.dokani-store-template .pos-store-header__inner {
    background: var(--hps-canvas);
    border: 1px solid var(--hps-line);
    border-radius: 6px;
    padding: 14px 18px;
    text-shadow: none;
    box-shadow: 0 5px 20px rgba(25,62,53,.1);
}
body.hps-guest-theme.dokani-store-template .pos-store-header .store-title {
    font-family: var(--hps-font-display);
    font-size: clamp(25px,5vw,36px);
    font-weight: 400;
    white-space: normal;
}
body.hps-guest-theme.dokani-store-template .orderable-category-heading__title,
body.hps-guest-theme.dokani-store-template .orderable-drawer .orderable-product__title,
body.hps-guest-theme.dokani-store-template .orderable-drawer__cart > h3,
body.hps-guest-theme.woocommerce-checkout .hps-checkout-card__title,
body.hps-guest-theme .hps-tracking-announcement h1,
body.hps-guest-theme .hps-tracking-overview h2,
body.hps-guest-theme .hps-policy-modal__content h2,
body.hps-guest-theme.hps-platform-page .entry-title {
    font-family: var(--hps-font-display);
    font-weight: 400;
    letter-spacing: -.02em;
}
body.hps-guest-theme.dokani-store-template .orderable-main__tabs { box-shadow: 0 6px 14px rgba(25,62,53,.05); }
body.hps-guest-theme.dokani-store-template .orderable-tabs__item--active a.orderable-tabs__link {
    background: var(--hps-primary) !important;
    color: var(--hps-on-primary) !important;
}
body.hps-guest-theme.dokani-store-template a.orderable-tabs__link { min-height: 44px; line-height: 44px !important; }
body.hps-guest-theme.dokani-store-template .orderable-category-heading { border-color: var(--hps-line); }
body.hps-guest-theme.dokani-store-template .orderable-products-list__item .orderable-product { border-bottom-color: var(--hps-line) !important; }
body.hps-guest-theme.dokani-store-template .orderable-products-list__item .orderable-product__actions-button :is(button,.orderable-button),
body.hps-guest-theme.dokani-store-template .orderable-drawer .hps-product-quantity__button {
    min-width: 44px !important;
    min-height: 44px !important;
}
body.hps-guest-theme :is(.hps-cart-checkout__count,.hps-cart-checkout-count,.orderable-floating-cart__count,.hps-checkout-submit__count) { color: var(--hps-on-primary) !important; }
body.hps-guest-theme.dokani-store-template .orderable-drawer__close {
    background: var(--hps-panel) !important;
    color: var(--hps-ink) !important;
    border: 1px solid var(--hps-line);
    border-radius: 50%;
    width: 44px;
    height: 44px;
}
body.hps-guest-theme .hps-food-information-link { color: var(--hps-ink); }
body.hps-guest-theme :is(.hps-platform-footer,.hps-tracking-brand,.hps-tracking-card,.hps-policy-modal__dialog) { box-shadow: 0 8px 24px rgba(25,62,53,.06); }
body.hps-guest-theme .hps-tracking-page { background: var(--hps-canvas); }
body.hps-guest-theme .hps-tracking-step { color: var(--hps-muted); }
body.hps-guest-theme .hps-tracking-step--current,
body.hps-guest-theme .hps-tracking-step--complete { color: var(--hps-ink); }
body.hps-guest-theme .hps-tracking-kicker { background: var(--hps-soft); color: var(--hps-ink); }
body.hps-guest-theme .hps-tracking-actions a { background: var(--hps-primary); color: var(--hps-on-primary); }
body.hps-guest-theme .hps-tracking-live { color: var(--hps-muted); }
body.hps-guest-theme .hps-tracking-logo { color: var(--hps-on-primary); }
body.hps-guest-theme .hps-policy-modal__backdrop { background: rgba(25,62,53,.6); }
body.hps-guest-theme .hps-policy-modal__dialog { border-color: var(--hps-line); }
body.hps-guest-theme :is(.hps-addon__selection-error,.hps-addon__required-error,.woocommerce-error,.woocommerce-invalid-required-field .required) { color: #a33135; }
body.hps-guest-theme .hps-tracking-status--attention,
body.hps-guest-theme .hps-tracking-status--cancelled { border-color: #a33135; }
@media (max-width:480px) {
    body.hps-guest-theme.dokani-store-template .pos-store-header__inner { left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 12px; gap: 10px; }
}
@media (prefers-reduced-motion:reduce) {
    body.hps-guest-theme *, body.hps-guest-theme *::before, body.hps-guest-theme *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Public help pages share the guest palette; staff access-denied pages keep theirs. */
body.hps-guest-theme .hps-status-page { background: var(--hps-canvas); }
body.hps-guest-theme :is(.hps-status-brand,.hps-status-card) {
    background: var(--hps-panel);
    color: var(--hps-ink);
    border-color: var(--hps-line);
    box-shadow: 0 8px 24px rgba(25,62,53,.06);
}
body.hps-guest-theme :is(.hps-status-brand span,.hps-status-card p,.pos-store-header .store-address) { color: var(--hps-muted); }
body.hps-guest-theme .hps-status-card h1 { color: var(--hps-ink); font-family: var(--hps-font-display); font-weight: 400; }
body.hps-guest-theme .hps-status-code { background: var(--hps-soft); color: var(--hps-ink); }
body.hps-guest-theme :is(.hps-status-logo,.hps-status-button--primary) { background: var(--hps-primary); color: var(--hps-on-primary); }
body.hps-guest-theme .hps-status-button--secondary { background: var(--hps-panel); color: var(--hps-ink); border-color: var(--hps-line); }
body.hps-guest-theme .hps-platform-footer { background: var(--hps-canvas); color: var(--hps-muted); border-color: var(--hps-line); }
body.hps-guest-theme .hps-platform-footer__brand strong { color: var(--hps-ink); }
body.hps-guest-theme .hps-tracking-logo span { color: var(--hps-on-primary); }
body.hps-guest-theme .hps-tracking-status { border-color: var(--hps-primary); }
body.hps-guest-theme :is(.hps-tracking-status--attention,.hps-tracking-status--cancelled) { border-color: #a33135; }
body.hps-guest-theme .hps-tracking-noscript { color: var(--hps-accent); }
body.hps-guest-theme .pos-checkout-vendor-header { background: var(--hps-panel); border-color: var(--hps-line); }
body.hps-guest-theme .pos-checkout-vendor-header .vendor-name { color: var(--hps-ink); }
body.hps-guest-theme .pos-checkout-vendor-header .vendor-back-link { background: var(--hps-soft) !important; color: var(--hps-ink) !important; border-color: var(--hps-primary); }
body.hps-guest-theme .pos-checkout-vendor-header .vendor-back-link:hover { background: var(--hps-primary) !important; color: var(--hps-on-primary) !important; }
body.hps-guest-theme.woocommerce-checkout #place_order .hps-place-order-count { background: var(--hps-primary-strong); color: var(--hps-on-primary); }
body.hps-guest-theme .hps-policy-modal,
body.hps-guest-theme .hps-policy-modal * { box-sizing: border-box; }
/* Keep warnings legible on light surfaces, including missing-location errors. */
body.hps-guest-theme :is(.hps-addon__selection-error,.hps-addon__required-error,.woocommerce-error,.hps-delivery-location-missing),
body.hps-guest-theme.woocommerce-checkout .required,
body.hps-guest-theme.woocommerce-checkout .hps-guest-checkout-policy__acceptance .required { color: #a33135 !important; }
body.hps-guest-theme.woocommerce-checkout .hps-guest-checkout-policy--invalid { border-color: #a33135 !important; }
body.hps-guest-theme.dokani-store-template .hps-storefront-review-notice,
body.hps-guest-theme.woocommerce-checkout .hps-checkout-allergen-warning .hps-allergen-notice { background: #fff4d8; border-color: #a66c08; color: #5c3c00; }
body.hps-guest-theme.dokani-store-template .hps-storefront-review-notice strong,
body.hps-guest-theme.woocommerce-checkout .hps-checkout-allergen-warning .hps-allergen-notice :is(h3,p) { color: #5c3c00 !important; }
