﻿/* =========================================================
   Guest Experience - Shared Base
   Applies to:
   [data-theme="guest-experience-image"]
   [data-theme="guest-experience-button"]
   ========================================================= */

[data-theme="guest-experience-image"],
[data-theme="guest-experience-button"] {
    --ge-ink: #2f2f2f;
    --ge-accent: #0a8ea6;
    --ge-sun: #f4b400;
    --ge-danger: #e53935;
    --ge-stroke: 2.2px;
    --ge-header-h: 74px;
    --ge-footer-h: 92px;
}

    /* ===============================
   Header
   =============================== */

    [data-theme="guest-experience-image"] .ge-header,
    [data-theme="guest-experience-button"] .ge-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #f6f8fb;
        border-bottom-left-radius: 22px;
        border-bottom-right-radius: 22px;
        padding-top: env(safe-area-inset-top);
    }

    [data-theme="guest-experience-image"] .ge-header-inner,
    [data-theme="guest-experience-button"] .ge-header-inner {
        display: flex;
        align-items: center;
        padding: 10px 12px;
    }

    [data-theme="guest-experience-image"] .ge-spacer,
    [data-theme="guest-experience-button"] .ge-spacer {
        flex: 1;
    }

    [data-theme="guest-experience-image"] .ge-icon-btn,
    [data-theme="guest-experience-button"] .ge-icon-btn {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        appearance: none;
        border: 0;
        background: transparent;
        padding: 0;
        margin: 0;
        cursor: pointer;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        position: relative;
    }

    [data-theme="guest-experience-image"] .ge-top-icon,
    [data-theme="guest-experience-button"] .ge-top-icon {
        width: 30px;
        height: 30px;
        display: block;
        color: var(--ge-ink);
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: var(--ge-stroke) !important;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

        [data-theme="guest-experience-image"] .ge-top-icon .ge-fill,
        [data-theme="guest-experience-button"] .ge-top-icon .ge-fill {
            fill: currentColor !important;
            stroke: none !important;
        }

        [data-theme="guest-experience-image"] .ge-top-icon .ge-accent,
        [data-theme="guest-experience-button"] .ge-top-icon .ge-accent {
            color: var(--ge-accent) !important;
        }

        [data-theme="guest-experience-image"] .ge-top-icon .ge-accent-fill,
        [data-theme="guest-experience-button"] .ge-top-icon .ge-accent-fill {
            fill: var(--ge-accent) !important;
            stroke: none !important;
        }

        [data-theme="guest-experience-image"] .ge-top-icon .ge-sun,
        [data-theme="guest-experience-button"] .ge-top-icon .ge-sun {
            fill: var(--ge-sun) !important;
            stroke: none !important;
        }

        [data-theme="guest-experience-image"] .ge-top-icon .ge-sun-stroke,
        [data-theme="guest-experience-button"] .ge-top-icon .ge-sun-stroke {
            color: var(--ge-sun) !important;
        }

    [data-theme="guest-experience-image"] .ge-top-icon--globe,
    [data-theme="guest-experience-image"] .ge-top-icon--email,
    [data-theme="guest-experience-button"] .ge-top-icon--globe,
    [data-theme="guest-experience-button"] .ge-top-icon--email {
        width: 32px;
        height: 32px;
    }

    [data-theme="guest-experience-image"] .ge-top-icon--phone,
    [data-theme="guest-experience-button"] .ge-top-icon--phone {
        width: 28px;
        height: 28px;
        transform: translateY(-0.5px);
    }

    [data-theme="guest-experience-image"] .ge-cart-btn,
    [data-theme="guest-experience-button"] .ge-cart-btn {
        position: relative;
    }

    [data-theme="guest-experience-image"] .ge-badge,
    [data-theme="guest-experience-button"] .ge-badge {
        position: absolute;
        top: 6px;
        right: 6px;
        background: var(--ge-danger);
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 999px;
        line-height: 1;
    }

    [data-theme="guest-experience-image"] .ge-icon-btn:active,
    [data-theme="guest-experience-button"] .ge-icon-btn:active {
        transform: scale(0.94);
        opacity: 0.9;
    }

@media (min-width: 600px) {
    [data-theme="guest-experience-image"] .ge-header-inner,
    [data-theme="guest-experience-button"] .ge-header-inner {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* ===============================
   Footer
   =============================== */

[data-theme="guest-experience-image"] #footer-bar.ge-footer-bar,
[data-theme="guest-experience-button"] #footer-bar.ge-footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #f6f8fb;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    min-height: calc(78px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    border-top: 0;
}

    [data-theme="guest-experience-image"] #footer-bar.ge-footer-bar a,
    [data-theme="guest-experience-button"] #footer-bar.ge-footer-bar a {
        flex: 1 1 auto;
        text-decoration: none;
        color: #2f2f2f;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 78px;
        gap: 4px;
        position: relative;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

        [data-theme="guest-experience-image"] #footer-bar.ge-footer-bar a span,
        [data-theme="guest-experience-button"] #footer-bar.ge-footer-bar a span {
            display: block;
            font-size: 11px;
            font-weight: 500;
            margin-top: 2px;
            opacity: 0.75;
            font-family: "Roboto", sans-serif !important;
            line-height: 1.1;
        }

[data-theme="guest-experience-image"] .ge-footer-icon,
[data-theme="guest-experience-button"] .ge-footer-icon {
    width: 30px;
    height: 30px;
    display: block;
}

[data-theme="guest-experience-image"] .ge-footer-icon--globe,
[data-theme="guest-experience-image"] .ge-footer-icon--email,
[data-theme="guest-experience-button"] .ge-footer-icon--globe,
[data-theme="guest-experience-button"] .ge-footer-icon--email {
    width: 32px;
    height: 32px;
}

[data-theme="guest-experience-image"] #footer-bar.ge-footer-bar a.active-nav::after,
[data-theme="guest-experience-button"] #footer-bar.ge-footer-bar a.active-nav::after {
    content: "";
    position: absolute;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 999px;
    background: #0a8ea6;
}

[data-theme="guest-experience-image"] #footer-bar.ge-footer-bar a.active-nav span,
[data-theme="guest-experience-button"] #footer-bar.ge-footer-bar a.active-nav span {
    opacity: 0.95;
}

[data-theme="guest-experience-image"] #footer-bar.ge-footer-bar a:active,
[data-theme="guest-experience-button"] #footer-bar.ge-footer-bar a:active {
    transform: scale(0.96);
    opacity: 0.92;
}

/* ===============================
   Main content area
   =============================== */

[data-theme="guest-experience-image"] .ge-main,
[data-theme="guest-experience-button"] .ge-main {
    min-height: calc(100dvh - var(--ge-header-h) - var(--ge-footer-h));
    padding-top: calc(var(--ge-header-h) + env(safe-area-inset-top, 0px));
    padding-bottom: calc(var(--ge-footer-h) + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    width: min(92vw, 720px);
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 12px;
    background: transparent;
}

/* ===============================
   Hero
   =============================== */

[data-theme="guest-experience-image"] .ge-hero,
[data-theme="guest-experience-button"] .ge-hero {
    text-align: center;
    padding: 14px 18px 10px;
}

[data-theme="guest-experience-image"] .ge-hero-title,
[data-theme="guest-experience-button"] .ge-hero-title {
    margin: 0;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #0f172a;
}

[data-theme="guest-experience-image"] .ge-hero-subtitle,
[data-theme="guest-experience-button"] .ge-hero-subtitle {
    margin: 10px 0 0;
    font-size: 20px;
    font-weight: 500;
    color: #475569;
}

[data-theme="guest-experience-image"] .ge-hero-divider,
[data-theme="guest-experience-button"] .ge-hero-divider {
    width: min(520px, 86%);
    height: 2px;
    background: rgba(15, 23, 42, 0.08);
    margin: 14px auto 0;
    border-radius: 999px;
}

/* ===============================
   Section
   =============================== */

[data-theme="guest-experience-image"] .ge-section,
[data-theme="guest-experience-button"] .ge-section {
    padding: 0 18px 18px;
    margin-top: 6px;
}

[data-theme="guest-experience-image"] .ge-section-title,
[data-theme="guest-experience-button"] .ge-section-title {
    margin: 8px 0 14px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
}

/* =========================================================
   Variant 1 - IMAGE TILE THEME
   data-theme="guest-experience-image"
   ========================================================= */

[data-theme="guest-experience-image"] .ge-xgrid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

@media (max-width: 360px) {
    [data-theme="guest-experience-image"] .ge-xgrid {
        grid-template-columns: 1fr !important;
    }
}

[data-theme="guest-experience-image"] .ge-xcard {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
    background: #fff !important;
    text-align: left !important;
    cursor: pointer;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

[data-theme="guest-experience-image"] .ge-xmedia {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    background: #eef2f7 !important;
    overflow: hidden !important;
}

    [data-theme="guest-experience-image"] .ge-xmedia img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

[data-theme="guest-experience-image"] .ge-xlabel {
    padding: 10px 12px 12px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    background: #fff !important;
}

[data-theme="guest-experience-image"] .ge-xcard:active {
    transform: scale(0.99);
    opacity: 0.96;
}

/* =========================================================
   Variant 2 - BUTTON THEME
   data-theme="guest-experience-button"
   ========================================================= */

[data-theme="guest-experience-button"] .ge-xgrid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
}

[data-theme="guest-experience-button"] .ge-xcard {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 58px !important;
    padding: 14px 16px !important;
    margin: 0 !important;
    border-radius: 14px !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    background: #ffffff !important;
    text-align: left !important;
    cursor: pointer;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    position: relative;
}

[data-theme="guest-experience-button"] .ge-xmedia {
    display: none !important;
}

[data-theme="guest-experience-button"] .ge-xlabel {
    flex: 1 1 auto;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    background: transparent !important;
}

[data-theme="guest-experience-button"] .ge-xcard::after {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid #94a3b8;
    border-right: 2px solid #94a3b8;
    transform: rotate(45deg);
    margin-left: 12px;
    flex: 0 0 auto;
}

[data-theme="guest-experience-button"] .ge-xcard:active {
    transform: scale(0.995);
    opacity: 0.96;
}

[data-theme="guest-experience-button"] .ge-xcard:hover {
    border-color: rgba(10, 142, 166, 0.35) !important;
}





/* =========================================================
    STAY CARD
   =========================================================

/* ── Stay Card — Compact 2-column layout ── */
.stay-card {
    background: #f9f9f7;
    border: 1px solid #e8e8e4;
    border-radius: 16px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    width: 100%;
}

/* Slim coloured band */
.stay-card__band {
    height: 48px;
    background: linear-gradient(135deg, #c8e6e6 0%, #a8d5d5 100%);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 10px;
}

.stay-card__band-icon {
    font-size: 22px;
}

.stay-card__band-title {
    font-size: 14px;
    font-weight: 700;
    color: #2a6a6a;
}

.stay-card__band-chips {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

.stay-chip {
    display: flex;
    align-items: baseline;
    gap: 3px;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 6px;
    padding: 3px 8px;
}

.stay-chip__icon {
    font-size: 11px;
}

.stay-chip__val {
    font-size: 13px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.stay-chip__label {
    font-size: 10px;
    color: #555;
    font-weight: 500;
}

/* 2-column grid body */
.stay-card__body {
    padding: 10px 14px 6px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
}

.stay-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0ec;
}

    .stay-row:last-child {
        border-bottom: none;
    }

.stay-row--full {
    grid-column: 1 / -1;
}

.stay-row--highlight {
    background: #fffbf0;
    margin: 0 -14px;
    padding: 7px 14px;
    border-left: 3px solid #e8601c;
    grid-column: 1 / -1;
}

.stay-row__icon {
    font-size: 14px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.stay-row__label {
    font-size: 9px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 1px;
}

.stay-row__val {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.stay-row__time {
    font-size: 11px;
    font-weight: 600;
    color: #e8601c;
    background: rgba(232,96,28,0.1);
    padding: 1px 6px;
    border-radius: 4px;
}

.stay-row__val--code {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #1a1a1a;
    font-variant-numeric: tabular-nums;
}

/* Footer */
.stay-card__footer {
    padding: 6px 14px;
    background: #f2f2ef;
    border-top: 1px solid #e8e8e4;
    font-size: 10px;
    color: #aaa;
    text-align: center;
}

    .stay-card__footer strong {
        color: #666;
    }


/* ── Extras Card ── */
.extras-card {
    background: #f9f9f7;
    border: 1px solid #e8e8e4;
    border-radius: 16px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    width: 100%;
}

/* Warm amber band to differentiate from stay card */
.extras-card__band {
    height: 48px;
    background: linear-gradient(135deg, #fde8c8 0%, #fbd5a0 100%);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 8px;
}

.extras-card__band-icon {
    font-size: 20px;
}

.extras-card__band-title {
    font-size: 14px;
    font-weight: 700;
    color: #7a4a10;
}

.extras-card__band-sub {
    font-size: 11px;
    color: #b07030;
    font-weight: 500;
}

.extras-card__band-chip {
    margin-left: auto;
    display: flex;
    align-items: baseline;
    gap: 3px;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 6px;
    padding: 3px 8px;
}

/* Item rows */
.extras-card__body {
    padding: 6px 14px 2px;
}

.extras-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0ec;
}

    .extras-row:last-child {
        border-bottom: none;
    }

.extras-row__left {
    flex: 1;
    min-width: 0;
}

.extras-row__name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 5px;
}

.extras-row__qty {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #aaa;
    border-radius: 4px;
    padding: 1px 5px;
}

.extras-row__desc {
    font-size: 11px;
    color: #aaa;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.extras-row__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
}

.extras-row__price {
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
}

/* Status badge — colour driven by modifier class */
.extras-row__status {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: capitalize;
}

.extras-row__status--confirmed,
.extras-row__status--approved {
    background: #d1fae5;
    color: #065f46;
}

.extras-row__status--pending {
    background: #fef9c3;
    color: #92400e;
}

.extras-row__status--cancelled,
.extras-row__status--rejected {
    background: #fee2e2;
    color: #991b1b;
}

.extras-row__status--completed {
    background: #dbeafe;
    color: #1e40af;
}

/* Footer */
.extras-card__footer {
    padding: 6px 14px;
    background: #f2f2ef;
    border-top: 1px solid #e8e8e4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-height: 30px;
}

.extras-footer__more {
    font-size: 11px;
    color: #aaa;
}

.extras-footer__total {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    margin-left: auto;
}
