/*
 * Guest Portal CSS - Premium Mobile-First
 * Amer Group - Guest Services
 */

/* ==========================================================================
   CSS Variables - Premium Corporate Palette
   ========================================================================== */
:root {
    /* Primary Navy - Deeper, more refined */
    --gp-primary: #162a42;
    --gp-primary-light: #1e3a5f;
    --gp-primary-dark: #0f1c2d;
    --gp-primary-soft: rgba(22, 42, 66, 0.06);
    --gp-primary-rgb: 22, 42, 66;
    
    /* Accent Gold - Champagne-like, elegant */
    --gp-accent: #b8973d;
    --gp-accent-light: #d4b25a;
    --gp-accent-soft: rgba(184, 151, 61, 0.12);
    --gp-accent-rgb: 184, 151, 61;
    
    /* Status Colors - Softer, more elegant */
    --gp-success: #0d7a5e;
    --gp-success-soft: rgba(13, 122, 94, 0.1);
    --gp-warning: #b45309;
    --gp-warning-soft: rgba(180, 83, 9, 0.1);
    --gp-error: #b91c1c;
    --gp-error-soft: rgba(185, 28, 28, 0.1);
    
    /* Surfaces - Warm, calm backgrounds */
    --gp-bg: #f7f8fa;
    --gp-surface: #ffffff;
    --gp-surface-elevated: #ffffff;
    --gp-surface-muted: #f1f3f6;
    
    /* Text Hierarchy */
    --gp-text: #1a2332;
    --gp-text-secondary: #4a5568;
    --gp-text-muted: #8896a8;
    --gp-text-light: #a0aec0;
    
    /* Borders & Dividers */
    --gp-border: #e4e8ed;
    --gp-border-light: #edf0f5;
    --gp-divider: rgba(22, 42, 66, 0.08);
    
    /* Shadows - Subtle, premium */
    --gp-shadow-sm: 0 1px 3px rgba(22, 42, 66, 0.04);
    --gp-shadow: 0 4px 16px rgba(22, 42, 66, 0.08);
    --gp-shadow-lg: 0 8px 32px rgba(22, 42, 66, 0.12);
    --gp-shadow-card: 0 2px 8px rgba(22, 42, 66, 0.06);
    
    /* Radius Scale */
    --gp-radius-sm: 6px;
    --gp-radius: 10px;
    --gp-radius-lg: 16px;
    --gp-radius-xl: 24px;
    
    /* Spacing Scale */
    --gp-space-xs: 4px;
    --gp-space-sm: 8px;
    --gp-space-md: 16px;
    --gp-space-lg: 24px;
    --gp-space-xl: 32px;
    --gp-space-2xl: 48px;
    
    /* Typography Scale */
    --gp-font-xs: 11px;
    --gp-font-sm: 13px;
    --gp-font-base: 15px;
    --gp-font-lg: 18px;
    --gp-font-xl: 22px;
    --gp-font-2xl: 28px;
    --gp-font-3xl: 36px;
    
    /* Safe Areas */
    --gp-safe-bottom: env(safe-area-inset-bottom, 0px);
    --gp-nav-height: 56px;
}

/* ==========================================================================
   Mobile UX Fixes - Prevent Zoom & Improve Experience
   ========================================================================== */
html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

/* Prevent iOS zoom on input focus - minimum 16px font */
input, textarea, select {
    font-size: 16px !important;
}

/* Smooth scrolling for better UX */
.gp-page {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
.guest-wrapper {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background: var(--gp-bg);
}

.gp-page {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    padding-bottom: 10px; /* Space for sticky checkout bar */
    overflow-x: hidden;
}

/* ==========================================================================
   Hero Section - Premium Corporate
   ========================================================================== */
.gp-hero {
    position: relative;
    padding: var(--gp-space-xl) var(--gp-space-md) calc(var(--gp-space-xl) + 12px);
    background: linear-gradient(145deg, var(--gp-primary-dark) 0%, var(--gp-primary) 50%, var(--gp-primary-light) 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

.gp-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.08));
}

.gp-hero-cart {
    position: absolute;
    top: var(--gp-space-md);
    right: var(--gp-space-md);
    z-index: 10;
}

.gp-hero-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.6;
}

.gp-hero-icon {
    position: absolute;
    opacity: 0.06;
    color: white;
    animation: float 8s ease-in-out infinite;
}

.gp-hero-icon--1 { font-size: 70px; top: 8%; left: 4%; animation-delay: 0s; }
.gp-hero-icon--2 { font-size: 50px; top: 55%; left: 8%; animation-delay: 1.2s; }
.gp-hero-icon--3 { font-size: 40px; top: 18%; right: 6%; animation-delay: 2.4s; }
.gp-hero-icon--4 { font-size: 60px; top: 45%; right: 4%; animation-delay: 0.6s; }
.gp-hero-icon--5 { font-size: 35px; bottom: 12%; left: 18%; animation-delay: 1.8s; }
.gp-hero-icon--6 { font-size: 45px; bottom: 22%; right: 12%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
    .gp-hero-icon {
        animation: none;
    }
}

@media (min-width: 768px) {
    .gp-hero-icon--1 { font-size: 100px; top: 4%; left: 2%; }
    .gp-hero-icon--2 { font-size: 75px; top: 50%; left: 6%; }
    .gp-hero-icon--3 { font-size: 65px; top: 12%; right: 4%; }
    .gp-hero-icon--4 { font-size: 85px; top: 40%; right: 2%; }
    .gp-hero-icon--5 { font-size: 55px; bottom: 8%; left: 12%; }
    .gp-hero-icon--6 { font-size: 70px; bottom: 18%; right: 10%; }
}

.gp-hero-content {
    position: relative;
    z-index: 1;
}

.gp-logo {
    margin-bottom: var(--gp-space-sm);
}

.gp-logo img {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.gp-brand-line {
    font-size: var(--gp-font-xs);
    opacity: 0.6;
    margin-bottom: var(--gp-space-xs);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
}

.gp-greeting {
    font-size: var(--gp-font-xs);
    opacity: 0.55;
    margin-bottom: var(--gp-space-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.gp-property-name {
    font-size: var(--gp-font-xl);
    font-weight: 600;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.4px;
}

@media (min-width: 768px) {
    .gp-hero {
        padding: calc(var(--gp-space-xl) + 8px) var(--gp-space-xl) calc(var(--gp-space-2xl) - 8px);
    }
    .gp-logo {
        margin-bottom: var(--gp-space-md);
    }
    .gp-logo img {
        height: 50px;
    }
    .gp-greeting {
        font-size: var(--gp-font-sm);
        letter-spacing: 3px;
    }
    .gp-property-name {
        font-size: var(--gp-font-2xl);
    }
}

/* ==========================================================================
   Desktop Refinement (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
    /* Page Container */
    .gp-page {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Hero - Premium Desktop Composition */
    .gp-hero {
        padding: 54px 64px 80px;
        border-radius: 0 0 28px 28px;
        text-align: start;
    }

    .gp-hero-content {
        max-width: 540px;
    }

    .gp-logo {
        margin-bottom: 16px;
    }

    .gp-logo img {
        height: 52px;
        opacity: 0.95;
    }

    .gp-brand-line {
        display: block;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 3.5px;
        opacity: 0.55;
        margin-bottom: 18px;
        font-weight: 500;
    }

    .gp-greeting {
        font-size: 12px;
        letter-spacing: 2.5px;
        margin-bottom: 8px;
        opacity: 0.75;
        font-weight: 500;
    }

    .gp-property-name {
        font-size: 38px;
        font-weight: 500;
        letter-spacing: -0.5px;
        line-height: 1.25;
    }

    .gp-hero-icon--1 { font-size: 150px; top: 6%; left: 52%; opacity: 0.07; }
    .gp-hero-icon--2 { font-size: 105px; top: 38%; left: 62%; opacity: 0.06; }
    .gp-hero-icon--3 { font-size: 85px; top: 12%; right: 10%; opacity: 0.07; }
    .gp-hero-icon--4 { font-size: 120px; top: 48%; right: 6%; opacity: 0.06; }
    .gp-hero-icon--5 { font-size: 80px; bottom: 10%; left: 58%; opacity: 0.05; }
    .gp-hero-icon--6 { font-size: 95px; bottom: 20%; right: 14%; opacity: 0.06; }

    /* Featured Carousel - Premium Proportions */
    .gp-featured {
        padding: 0 64px;
        margin-top: -52px;
    }

    .gp-carousel {
        max-width: 900px;
        margin: 0 auto;
        overflow: hidden;
        contain: layout style;
    }

    .gp-featured-image {
        height: 280px;
    }

    .gp-featured-content {
        padding: 24px 28px;
    }

    .gp-featured-title {
        font-size: 26px;
    }

    .gp-featured-subtitle {
        font-size: 15px;
    }

    .gp-featured-meta {
        font-size: 13px;
        gap: 16px;
    }

    .gp-price-amount {
        font-size: 24px;
    }

    .gp-featured-cta {
        padding: 12px 20px;
        font-size: 14px;
    }

    .gp-carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .gp-carousel-btn--prev {
        left: 20px;
    }

    .gp-carousel-btn--next {
        right: 20px;
    }

    .gp-carousel-dots {
        padding: 10px 0;
        background: var(--gp-surface);
    }

    /* Guest Support - Structured Grid */
    .gp-support {
        padding: 32px 48px;
        max-width: 900px;
        margin: 0 auto;
    }

    .gp-support-header {
        margin-bottom: 16px;
    }

    .gp-support-title {
        font-size: 20px;
    }

    .gp-support-subtitle {
        font-size: 14px;
    }

    .gp-support-grid {
        gap: 16px;
    }

    .gp-support-card {
        padding: 20px 24px;
        border-radius: 14px;
    }

    .gp-support-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
        border-radius: 12px;
    }

    .gp-support-body h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .gp-support-body p {
        font-size: 13px;
    }

    .gp-track-box {
        padding: 20px 24px;
        border-radius: 14px;
    }

    .gp-track-input-group {
        padding: 12px 16px;
        border-radius: 10px;
    }

    .gp-track-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Menu Section - Curated Grid */
    .gp-menu {
        padding: 40px 48px;
        max-width: 1000px;
        margin: 0 auto;
    }

    .gp-menu-header {
        margin-bottom: 20px;
    }

    .gp-menu-label {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .gp-menu-heading {
        font-size: 22px;
    }

    .gp-menu-viewall {
        font-size: 14px;
    }

    .gp-menu-chips {
        gap: 10px;
        margin-bottom: 20px;
    }

    .gp-chip {
        padding: 10px 20px;
        font-size: 14px;
    }

    .gp-menu-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .gp-menu-card-image {
        height: 140px;
    }

    .gp-menu-card-content {
        padding: 16px;
    }

    .gp-menu-card-title {
        font-size: 15px;
    }

    .gp-menu-card-price {
        font-size: 17px;
    }

    .gp-menu-card-rating {
        font-size: 13px;
    }

    .gp-menu-card-meta {
        font-size: 12px;
    }

    .gp-menu-card-cta {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Footer */
    .gp-footer {
        padding: 32px 48px;
    }

    .gp-footer-text {
        font-size: 14px;
    }

    .gp-footer-links a {
        font-size: 14px;
    }
}

/* ==========================================================================
   Large Screen (1440px+)
   ========================================================================== */
@media (min-width: 1440px) {
    .gp-page {
        max-width: 1320px;
    }

    .gp-hero {
        padding: 64px 64px 96px;
    }

    .gp-property-name {
        font-size: 40px;
    }

    .gp-featured {
        padding: 0 64px;
        margin-top: -48px;
    }

    .gp-carousel {
        max-width: 1000px;
    }

    .gp-featured-image {
        height: 320px;
    }

    .gp-support {
        padding: 48px 64px;
        max-width: 1000px;
    }

    .gp-menu {
        padding: 48px 64px;
        max-width: 1200px;
    }

    .gp-menu-grid {
        gap: 24px;
    }

    .gp-menu-card-image {
        height: 160px;
    }
}

/* ==========================================================================
   Featured Carousel - Premium Corporate
   ========================================================================== */
.gp-featured {
    padding: 0 var(--gp-space-md);
    margin-top: calc(-1 * var(--gp-space-lg));
    position: relative;
    z-index: 10;
}

.gp-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--gp-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: var(--gp-surface);
}

.gp-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: pan-y pinch-zoom;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .gp-carousel-track {
        transition: none;
    }
}

.gp-carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.gp-featured-card {
    background: var(--gp-surface);
    border-radius: var(--gp-radius-lg);
    overflow: hidden;
}

.gp-featured-image {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.gp-featured-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(22, 42, 66, 0.85) 0%,
        rgba(22, 42, 66, 0.4) 40%,
        rgba(22, 42, 66, 0.15) 60%,
        transparent 100%
    );
}

.gp-featured-badge {
    position: absolute;
    top: var(--gp-space-md);
    left: var(--gp-space-md);
    z-index: 2;
    background: var(--gp-accent);
    color: white;
    font-size: var(--gp-font-xs);
    font-weight: 600;
    padding: var(--gp-space-xs) var(--gp-space-sm);
    border-radius: var(--gp-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gp-featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--gp-space-lg);
    color: white;
    z-index: 2;
}

.gp-featured-title {
    font-size: var(--gp-font-lg);
    font-weight: 700;
    margin: 0 0 var(--gp-space-xs);
    letter-spacing: -0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.gp-featured-subtitle {
    font-size: var(--gp-font-sm);
    opacity: 0.88;
    margin: 0 0 var(--gp-space-sm);
    line-height: 1.4;
}

.gp-featured-meta {
    display: flex;
    gap: var(--gp-space-md);
    font-size: var(--gp-font-xs);
    opacity: 0.8;
    margin-bottom: var(--gp-space-md);
}

.gp-featured-meta i {
    margin-right: var(--gp-space-xs);
}

.gp-featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--gp-space-md);
}

.gp-featured-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gp-price-amount {
    font-size: var(--gp-font-xl);
    font-weight: 700;
    color: white;
}

.gp-price-original {
    font-size: var(--gp-font-sm);
    color: rgba(255, 255, 255, 0.55);
    text-decoration: line-through;
    margin-right: var(--gp-space-sm);
}

.gp-price-note {
    font-size: var(--gp-font-xs);
    opacity: 0.7;
}

.gp-featured-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.gp-featured-placeholder {
    background: var(--gp-surface-muted);
    border-radius: var(--gp-radius-lg);
    padding: var(--gp-space-2xl) var(--gp-space-lg);
    text-align: center;
    color: var(--gp-text-muted);
    border: 2px dashed var(--gp-border);
}

.gp-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--gp-space-sm);
    background: var(--gp-primary);
    color: white;
    border: none;
    padding: var(--gp-space-sm) var(--gp-space-md);
    border-radius: var(--gp-radius);
    font-size: var(--gp-font-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-inline-start: auto;
}

.gp-featured-cta:hover {
    background: var(--gp-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[dir="rtl"] .fa-arrow-right {
    transform: scaleX(-1);
}

.gp-featured-add {
    background: white;
    color: var(--gp-primary);
}

.gp-featured-add:hover {
    background: var(--gp-bg);
    transform: translateY(-1px);
}

/* Carousel Controls */
.gp-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    color: var(--gp-primary);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease, background 0.2s;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.gp-carousel:hover .gp-carousel-btn,
.gp-carousel:focus-within .gp-carousel-btn {
    opacity: 1;
    pointer-events: auto;
}

.gp-carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gp-carousel-btn--prev {
    left: var(--gp-space-md);
}

.gp-carousel-btn--next {
    right: var(--gp-space-md);
}

/* Carousel Dots - Outside Container */
.gp-carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--gp-space-sm);
    padding: var(--gp-space-md) 0;
    background: var(--gp-surface);
    border-radius: 0 0 var(--gp-radius-lg) var(--gp-radius-lg);
    margin-top: -4px;
}

.gp-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gp-border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.gp-carousel-dot:hover {
    background: var(--gp-text-muted);
}

.gp-carousel-dot--active {
    background: var(--gp-accent);
    width: 24px;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .gp-featured {
        padding: 0 var(--gp-space-xl);
        margin-top: calc(-1 * var(--gp-space-xl));
    }
    .gp-featured-image {
        height: 260px;
    }
    .gp-featured-content {
        padding: var(--gp-space-lg) var(--gp-space-xl);
    }
    .gp-featured-title {
        font-size: var(--gp-font-xl);
    }
    .gp-carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }
    .gp-carousel-btn--prev {
        left: var(--gp-space-lg);
    }
    .gp-carousel-btn--next {
        right: var(--gp-space-lg);
    }
}

/* ==========================================================================
   Guest Support Section
   ========================================================================== */
.gp-support {
    padding: 16px;
}

.gp-support-compact {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
}

.gp-support-action {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gp-primary) 0%, #2563eb 100%);
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.gp-support-action:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.gp-support-action i:first-child {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
}

.gp-support-action span {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.gp-support-action i:last-child {
    color: rgba(255,255,255,0.7);
    font-size: 10px;
}

.gp-track-form {
    flex: 1;
    min-width: 0;
}

/* Mobile: stack vertically with prominent CTA */
@media (max-width: 767px) {
    .gp-support-compact {
        flex-direction: column;
    }
    .gp-support-action {
        justify-content: center;
        animation: gp-pulse-glow 2s ease-in-out infinite;
    }
    .gp-track-form {
        width: 100%;
    }
}

@keyframes gp-pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
}

/* Track Box */
.gp-track-box {
    background: var(--gp-surface);
    padding: 16px;
    border-radius: var(--gp-radius-sm);
    border: 1px solid var(--gp-border);
    display: flex;
    align-items: center;
    min-height: 72px;
    height: 100%;
}

.gp-track-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    transition: all 0.2s ease;
}

.gp-track-input-group:focus-within {
    border-color: var(--gp-primary);
    background: #ffffff;
}

.gp-track-input-group i:first-child {
    color: #94a3b8;
    font-size: 14px;
}

.gp-track-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--gp-text);
    outline: none;
    min-width: 0;
}

.gp-track-input::placeholder {
    color: #94a3b8;
}

.gp-track-btn {
    width: 28px;
    height: 28px;
    background: var(--gp-primary);
    color: white;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.gp-track-btn:hover {
    background: var(--gp-primary-dark, #1d4ed8);
    transform: scale(1.05);
}

.gp-error {
    display: block;
    color: var(--gp-error);
    font-size: 12px;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .gp-support {
        padding: 32px;
    }
    .gp-support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Menu Section
   ========================================================================== */
.gp-menu {
    padding: 24px 16px;
    background: var(--gp-bg);
}

.gp-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.gp-menu-label {
    font-size: 11px;
    color: var(--gp-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.gp-menu-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--gp-text);
    margin: 4px 0 0 0;
}

.gp-menu-viewall {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--gp-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.gp-menu-viewall:hover {
    color: var(--gp-primary-light);
}

/* Chips */
.gp-menu-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.gp-menu-chips::-webkit-scrollbar {
    display: none;
}

.gp-chip {
    flex-shrink: 0;
    padding: 8px 16px;
    border: 1px solid var(--gp-border);
    border-radius: 20px;
    background: var(--gp-surface);
    font-size: 13px;
    font-weight: 500;
    color: var(--gp-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.gp-chip:hover {
    border-color: var(--gp-primary);
    color: var(--gp-primary);
}

.gp-chip--active {
    background: var(--gp-primary);
    border-color: var(--gp-primary);
    color: white;
}

.gp-chip--active:hover {
    background: var(--gp-primary);
    border-color: var(--gp-primary);
    color: white;
}

/* Menu Grid */
.gp-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gp-menu-card {
    background: var(--gp-surface);
    border-radius: var(--gp-radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid var(--gp-border);
}

.gp-menu-card-image {
    position: relative;
    height: 100px;
}

.gp-menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-menu-card-ribbon {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--gp-accent);
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

.gp-menu-card-ribbon--new {
    background: var(--gp-success);
    color: white;
}

.gp-menu-card-desc {
    font-size: 11px;
    color: var(--gp-text-muted);
    margin: 4px 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gp-menu-card-price-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gp-menu-card-price-original {
    font-size: 12px;
    color: var(--gp-text-muted);
    text-decoration: line-through;
}

.gp-menu-empty {
    padding: 32px 16px;
    text-align: center;
}

/* Featured Slider Price Note */
.gp-price-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 6px;
    font-weight: 400;
}

/* Availability Status Badges */
.gp-menu-card-status {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gp-status-soldout {
    background: #fee2e2;
    color: #dc2626;
}

.gp-status-limited {
    background: #fef3c7;
    color: #d97706;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.gp-cta-disabled {
    background: #d1d5db !important;
    color: #6b7280 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

/* ==========================================================================
   Mini Cart - Header Component
   ========================================================================== */
.gp-mini-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--gp-radius-sm);
    transition: background 0.2s;
}

.gp-mini-cart:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gp-mini-cart-btn {
    position: relative;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
}

.gp-mini-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gp-accent);
    color: var(--gp-primary);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gp-mini-cart-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gp-mini-cart-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.gp-mini-cart-total {
    font-size: 13px;
    font-weight: 600;
    color: white;
}

/* ==========================================================================
   Cart Panel - Slide-in Panel
   ========================================================================== */
.gp-cart-container {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
}

.gp-cart-container.gp-modal-hidden {
    display: none;
}

.gp-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    background: var(--gp-surface);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    z-index: 1001;
    overflow: hidden; /* Prevent panel scroll, let content scroll */
}

.gp-cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    z-index: 1000;
}

/* Animations */
.gp-slide-enter { animation: slideIn 0.3s ease-out; }
.gp-slide-leave { animation: slideOut 0.3s ease-in; }
.gp-fade-enter { animation: fadeIn 0.3s ease-out; }
.gp-fade-leave { animation: fadeOut 0.3s ease-in; }

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes slideOut {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Cart Header */
.gp-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--gp-border);
    background: var(--gp-primary);
    color: white;
}

.gp-cart-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gp-cart-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.gp-cart-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Cart Items */
.gp-cart-items {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    min-height: 0; /* Allow flexbox to shrink */
}

.gp-cart-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: var(--gp-bg);
    border-radius: var(--gp-radius-sm);
    margin-bottom: 12px;
}

.gp-cart-item:last-child {
    margin-bottom: 0;
}

.gp-cart-item.gp-item-unavailable {
    border: 1px solid var(--gp-error);
    background: #fef2f2;
}

.gp-cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gp-cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gp-text);
}

.gp-cart-item-instructions {
    font-size: 12px;
    color: var(--gp-text-secondary);
    font-style: italic;
}

.gp-cart-item-warning {
    font-size: 11px;
    color: var(--gp-error);
    display: flex;
    align-items: center;
    gap: 4px;
}

.gp-cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Quantity Controls */
.gp-quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border-radius: 20px;
    padding: 4px;
    border: 1px solid var(--gp-border);
}

.gp-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--gp-bg);
    color: var(--gp-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.2s;
}

.gp-qty-btn:hover:not(:disabled) {
    background: var(--gp-primary);
    color: white;
}

.gp-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.gp-qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.gp-cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--gp-primary);
}

.gp-cart-item-remove {
    background: none;
    border: none;
    color: var(--gp-text-muted);
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
}

.gp-cart-item-remove:hover {
    color: var(--gp-error);
}

/* Cart Notes */
.gp-cart-notes {
    padding: 16px;
    border-top: 1px solid var(--gp-border);
}

.gp-cart-notes-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gp-text-secondary);
    margin-bottom: 8px;
    display: block;
}

.gp-cart-notes-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius-sm);
    font-size: 13px;
    resize: none;
    height: 60px;
}

.gp-cart-notes-input:focus {
    outline: none;
    border-color: var(--gp-primary);
}

/* Cart Totals */
.gp-cart-totals {
    padding: 16px;
    background: var(--gp-bg);
    border-top: 1px solid var(--gp-border);
}

.gp-cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    color: var(--gp-text-secondary);
}

.gp-cart-total-row.gp-total-discount {
    color: var(--gp-success);
}

.gp-cart-total-row.gp-total-grand {
    font-size: 16px;
    font-weight: 700;
    color: var(--gp-text);
    padding-top: 12px;
    border-top: 1px solid var(--gp-border);
    margin-top: 8px;
}

/* Cart Actions */
.gp-cart-actions {
    padding: 16px;
    padding-bottom: calc(16px + var(--gp-safe-bottom)); /* Safe area for iPhone */
    display: flex;
    gap: 12px;
    border-top: 1px solid var(--gp-border);
    background: var(--gp-surface);
    flex-shrink: 0; /* Never shrink - always show buttons */
    position: sticky;
    bottom: 0;
}

.gp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--gp-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.gp-btn-primary {
    flex: 1;
}

/* ==========================================================================
   Mobile Touch Improvements
   ========================================================================== */
@media (max-width: 480px) {
    /* Larger touch targets */
    .gp-btn {
        min-height: 48px;
        padding: 14px 20px;
    }
    
    /* Better spacing for mobile */
    .gp-cart-items {
        padding: 12px;
    }
    
    .gp-cart-actions {
        padding: 12px;
        padding-bottom: calc(12px + var(--gp-safe-bottom));
    }
    
    /* Prevent content from being hidden behind sticky elements */
    .gp-cart-items {
        padding-bottom: 100px;
    }
    
    /* Larger input fields for touch */
    input, textarea, select {
        min-height: 48px;
        padding: 14px 12px;
    }
    
    /* Better modal sizing */
    .gp-cart-panel {
        max-width: 100%;
    }
}

/* ==========================================================================
   Landscape Mode Adjustments
   ========================================================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .gp-cart-header {
        padding: 12px 16px;
    }
    
    .gp-cart-title {
        font-size: 16px;
    }
    
    .gp-cart-items {
        padding: 10px;
    }
    
    .gp-cart-actions {
        padding: 10px;
    }
}

/* ==========================================================================
   Safe Area Support (iPhone X+)
   ========================================================================== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .gp-cart-actions {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }

    @media (max-width: 480px) {
        .gp-cart-actions {
            padding-bottom: calc(12px + env(safe-area-inset-bottom));
        }
    }
}

.gp-btn-primary {
    background: var(--gp-primary);
    color: white;
}

.gp-btn-primary:hover {
    background: var(--gp-primary-light);
}

.gp-btn-secondary {
    background: var(--gp-bg);
    color: var(--gp-text-secondary);
    border: 1px solid var(--gp-border);
}

.gp-btn-secondary:hover {
    background: var(--gp-border);
}

.gp-btn-outline {
    background: transparent;
    color: var(--gp-primary);
    border: 1px solid var(--gp-primary);
}

.gp-btn-outline:hover {
    background: var(--gp-primary);
    color: white;
}

.gp-btn-badge {
    background: var(--gp-accent);
    color: var(--gp-primary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 4px;
}

/* Empty Cart */
.gp-cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.gp-cart-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gp-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--gp-text-muted);
    margin-bottom: 20px;
}

.gp-cart-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gp-text);
    margin: 0 0 8px 0;
}

.gp-cart-empty-text {
    font-size: 14px;
    color: var(--gp-text-secondary);
    margin: 0 0 20px 0;
}

 .gp-cart-empty .gp-btn-primary {
     flex: 0 0 auto;
 }

/* ==========================================================================
   Sticky Checkout Bar
   ========================================================================== */
.gp-sticky-checkout {
    position: fixed;
    bottom: 0; /* Default: take mobile nav's place */
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--gp-surface);
    border-top: 1px solid var(--gp-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
    animation: slideUp 0.3s ease-out;
}

/* If mobile nav exists, position above it */
body:has(.gp-mobile-nav) .gp-sticky-checkout {
    bottom: 56px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.gp-sticky-checkout-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 480px;
    margin: 0 auto;
    gap: 12px;
}

.gp-sticky-checkout-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.gp-sticky-checkout-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gp-text-secondary);
}

.gp-sticky-checkout-count i {
    color: var(--gp-primary);
}

.gp-sticky-checkout-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--gp-text);
}

.gp-sticky-checkout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gp-primary);
    color: white;
    border: none;
    border-radius: var(--gp-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.gp-sticky-checkout-btn:hover {
    background: var(--gp-primary-light);
}

.gp-sticky-checkout-btn i {
    font-size: 12px;
    transition: transform 0.2s;
}

.gp-sticky-checkout-btn:hover i {
    transform: translateX(4px);
}

.gp-sticky-checkout-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gp-sticky-view-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--gp-bg);
    color: var(--gp-primary);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.gp-sticky-view-btn:hover {
    background: var(--gp-primary);
    color: white;
    border-color: var(--gp-primary);
}

.gp-sticky-view-btn i {
    font-size: 12px;
}

/* ==========================================================================
   Mobile Bottom Navigation - Native E-commerce Tab Bar
   ========================================================================== */
.gp-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.08);
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    margin: 0;
}

.gp-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px 4px;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.gp-nav-tab:focus-visible {
    background: rgba(var(--gp-primary-rgb, 59, 130, 246), 0.1);
}

.gp-nav-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
    transition: transform 0.2s ease;
}

.gp-nav-icon i {
    font-size: 20px;
    line-height: 1;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.gp-nav-label {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    color: #9ca3af;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* Badge - positioned absolutely within icon container */
.gp-nav-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.4);
    animation: badge-pop 0.2s ease;
}

@keyframes badge-pop {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Active State - Premium */
.gp-nav-tab--active .gp-nav-icon i {
    color: var(--gp-accent);
}

.gp-nav-tab--active .gp-nav-label {
    color: var(--gp-primary);
    font-weight: 600;
}

.gp-nav-tab--active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: var(--gp-accent);
    border-radius: 0 0 2px 2px;
}

/* Hover/Touch State */
.gp-nav-tab:hover .gp-nav-icon i {
    color: var(--gp-primary);
}

.gp-nav-tab:hover .gp-nav-label {
    color: var(--gp-primary);
}

.gp-nav-tab:active .gp-nav-icon {
    transform: scale(0.92);
}

/* Body padding for mobile nav + checkout bar */
body:has(.gp-mobile-nav) {
    padding-bottom: calc(var(--gp-nav-height) + var(--gp-safe-bottom));
}

body:has(.gp-sticky-checkout):not(:has(.gp-mobile-nav)) {
    padding-bottom: calc(var(--gp-nav-height) + var(--gp-safe-bottom));
}

body:has(.gp-sticky-checkout):has(.gp-mobile-nav) {
    padding-bottom: calc(var(--gp-nav-height) + var(--gp-nav-height) + var(--gp-safe-bottom));
}

/* Desktop: Hide mobile nav */
@media (min-width: 769px) {
    .gp-mobile-nav {
        display: none;
    }
    
    .gp-sticky-checkout {
        bottom: 0;
        padding-bottom: calc(12px + var(--gp-safe-bottom));
    }
    
    body:has(.gp-mobile-nav) {
        padding-bottom: 0;
    }
    
    body:has(.gp-sticky-checkout):has(.gp-mobile-nav) {
        padding-bottom: calc(var(--gp-nav-height) + var(--gp-safe-bottom));
    }
}

.gp-menu-card-content {
    padding: 12px;
}

.gp-menu-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gp-text);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.gp-menu-card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.gp-menu-card-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--gp-primary);
}

.gp-menu-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--gp-text-secondary);
}

.gp-menu-card-rating i {
    color: var(--gp-accent);
    font-size: 10px;
}

/* ==========================================================================
   Menu Page
   ========================================================================== */

.gp-menu-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px 16px;
}

.gp-page-header {
    position: sticky;
    top: 0;
    background: var(--gp-bg);
    z-index: 50;
    padding: 16px 0;
    border-bottom: 1px solid var(--gp-border);
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}

/* Filter Bar */
.gp-filter-bar {
    display: flex;
    justify-content: flex-end;
    padding: 8px 0 12px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}
.gp-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gp-surface);
    border: 1px solid var(--gp-border);
    border-radius: 20px;
    color: var(--gp-text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.gp-filter-toggle:hover {
    background: var(--gp-bg);
    border-color: var(--gp-primary);
    color: var(--gp-primary);
}
.gp-filter-toggle--active {
    background: var(--gp-primary);
    border-color: var(--gp-primary);
    color: white;
}
.gp-filter-toggle--active:hover {
    background: var(--gp-primary-light);
}

/* Load More Button */
.gp-load-more {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}
.gp-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--gp-surface);
    border: 2px solid var(--gp-primary);
    border-radius: 25px;
    color: var(--gp-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.gp-load-more-btn:hover:not(:disabled) {
    background: var(--gp-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
}
.gp-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gp-page-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gp-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gp-surface);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius-sm);
    color: var(--gp-text);
    cursor: pointer;
    transition: all 0.2s;
}

.gp-back-btn:hover {
    background: var(--gp-primary);
    color: white;
    border-color: var(--gp-primary);
}

.gp-page-title {
    flex: 1;
}

.gp-page-content {
    padding: 16px;
}

@media (min-width: 768px) {
    .gp-page-content {
        padding: 24px 32px;
    }
}

@media (min-width: 1024px) {
    .gp-page-content {
        padding: 32px 48px;
    }
}

.gp-page-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gp-primary);
}

.gp-page-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--gp-text);
    margin: 0;
}

.gp-search-bar {
    padding: 16px 0;
}

.gp-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gp-search-input-wrapper i {
    position: absolute;
    left: 14px;
    color: var(--gp-text-muted);
    font-size: 14px;
}

.gp-search-input {
    width: 100%;
    padding: 12px 40px 12px 42px;
    background: var(--gp-surface);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius);
    font-size: 14px;
    color: var(--gp-text);
    transition: all 0.2s;
}

.gp-search-input:focus {
    outline: none;
    border-color: var(--gp-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.gp-search-clear {
    position: absolute;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gp-border);
    border: none;
    border-radius: 50%;
    color: var(--gp-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.gp-search-clear:hover {
    background: var(--gp-primary);
    color: white;
}

.gp-menu-chips--scrollable {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.gp-menu-chips--scrollable::-webkit-scrollbar {
    display: none;
}

.gp-menu-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gp-border);
    margin-bottom: 16px;
}

.gp-results-count {
    font-size: 13px;
    color: var(--gp-text-secondary);
}

.gp-clear-filters {
    background: none;
    border: none;
    color: var(--gp-primary);
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}

.gp-clear-filters:hover {
    text-decoration: underline;
}

.gp-sort-select {
    padding: 8px 12px;
    background: var(--gp-surface);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius-sm);
    font-size: 13px;
    color: var(--gp-text);
    cursor: pointer;
}

.gp-sort-select:focus {
    outline: none;
    border-color: var(--gp-primary);
}

.gp-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
}

.gp-load-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--gp-surface);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--gp-text);
    cursor: pointer;
    transition: all 0.2s;
}

.gp-load-more-btn:hover:not(:disabled) {
    background: var(--gp-primary);
    color: white;
    border-color: var(--gp-primary);
}

.gp-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gp-page-info {
    font-size: 12px;
    color: var(--gp-text-muted);
}

.gp-scroll-top-fixed {
    position: fixed;
    bottom: 72px; /* Above mobile nav (56px) + margin */
    right: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gp-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.gp-scroll-top-fixed.gp-scroll-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gp-scroll-top-fixed:hover {
    background: var(--gp-primary-dark, #1a56db);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Desktop: raise scroll button higher */
@media (min-width: 769px) {
    .gp-scroll-top-fixed {
        bottom: 80px;
        right: 16px;
    }
}

/* Guest Orders Widget */
.guest-orders-widget {
    position: fixed;
    z-index: 999;
}

.guest-orders-btn {
    position: fixed;
    right: 16px;
    bottom: 90px; /* Raised to clear sticky checkout bar */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gp-surface, #fff);
    border: 2px solid var(--gp-border, #e5e7eb);
    color: var(--gp-text, #374151);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.guest-orders-btn:hover {
    background: var(--gp-primary, #3b82f6);
    color: white;
    border-color: var(--gp-primary, #3b82f6);
    transform: scale(1.1);
}

.guest-orders-btn.has-orders {
    background: var(--gp-primary, #3b82f6);
    color: white;
    border-color: var(--gp-primary, #3b82f6);
}

.guest-orders-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-orders-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh;
    background: var(--gp-surface, #fff);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.guest-orders-panel.show {
    transform: translateX(0);
}

.guest-orders-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.guest-orders-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--gp-border, #e5e7eb);
    background: var(--gp-primary, #3b82f6);
    color: white;
}

.guest-orders-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guest-orders-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.guest-orders-close:hover {
    opacity: 1;
}

.guest-orders-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.guest-order-card {
    background: var(--gp-bg, #f9fafb);
    border: 1px solid var(--gp-border, #e5e7eb);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.guest-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.guest-order-code {
    font-weight: 600;
    font-size: 14px;
    color: var(--gp-text, #374151);
}

.guest-order-status {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.guest-order-status.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.guest-order-status.status-confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.guest-order-status.status-preparing {
    background: #e0e7ff;
    color: #3730a3;
}

.guest-order-status.status-ready {
    background: #d1fae5;
    color: #065f46;
}

.guest-order-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guest-order-items {
    font-size: 13px;
    color: var(--gp-text, #374151);
    font-weight: 500;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guest-order-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--gp-text-muted, #6b7280);
}

.guest-order-total {
    font-weight: 600;
    color: var(--gp-text, #374151);
}

.guest-order-time {
    font-size: 12px;
    color: var(--gp-text-muted, #6b7280);
}

.guest-order-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gp-border, #e5e7eb);
    display: flex;
    gap: 8px;
}

.guest-order-track {
    flex: 1;
    padding: 8px 16px;
    background: var(--gp-primary, #3b82f6);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.guest-order-track:hover {
    background: var(--gp-primary-dark, #1d4ed8);
}

.guest-order-track:active {
    transform: scale(0.9);
}

.guest-order-track:focus {
    box-shadow: 0 0 0 2px var(--gp-primary, #3b82f6);
}

.guest-order-track:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.guest-order-cancel {
    flex: 1;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #ef4444;
    border-radius: 8px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.guest-order-cancel:hover {
    background: #ef4444;
    color: white;
}

.guest-orders-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.guest-orders-empty p {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 500;
}

.guest-orders-empty span {
    font-size: 13px;
}

/* Previous Orders - Quick Reorder */
.gp-previous-orders {
    padding: 16px;
    margin-bottom: 8px;
}

.gp-previous-orders-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.gp-previous-orders-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--gp-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gp-previous-orders-header h3 i {
    color: var(--gp-primary);
}

.gp-previous-orders-subtitle {
    font-size: 12px;
    color: var(--gp-text-muted);
}

.gp-previous-orders-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gp-previous-orders-grid::-webkit-scrollbar {
    height: 4px;
}

.gp-previous-orders-grid::-webkit-scrollbar-track {
    background: var(--gp-bg);
    border-radius: 2px;
}

.gp-previous-orders-grid::-webkit-scrollbar-thumb {
    background: var(--gp-border);
    border-radius: 2px;
}

.gp-previous-item {
    flex: 0 0 auto;
    width: 140px;
    background: var(--gp-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    scroll-snap-align: start;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.gp-previous-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.gp-previous-item-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.gp-previous-item-placeholder {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, var(--gp-primary) 0%, var(--gp-primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.gp-previous-item-info {
    padding: 10px;
}

.gp-previous-item-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gp-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.gp-previous-item-price {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gp-primary);
}

.gp-previous-item-add {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gp-primary);
    border: none;
    color: white;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.gp-previous-item-add:hover {
    background: var(--gp-primary-dark);
    transform: scale(1.1);
}

/* Header Back Button */
.gp-header-back {
    width: 40px;
    height: 40px;
    background: var(--gp-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gp-text);
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}

.gp-header-back:hover {
    background: var(--gp-primary);
    color: white;
    transform: scale(1.05);
}

.gp-menu-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.gp-empty-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gp-surface);
    border-radius: 50%;
    margin-bottom: 20px;
}

.gp-empty-icon i {
    font-size: 32px;
    color: var(--gp-text-muted);
}

.gp-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gp-text);
    margin: 0 0 8px 0;
}

.gp-empty-text {
    font-size: 14px;
    color: var(--gp-text-secondary);
    margin: 0 0 20px 0;
}

/* ==========================================================================
   Menu Cards - New Design
   ========================================================================== */

.gp-menu-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Large Card - First Item */
.gp-menu-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--gp-surface);
    border-radius: var(--gp-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gp-menu-card-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.gp-menu-card-large-image {
    position: relative;
    min-height: 200px;
}

.gp-menu-card-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-menu-card-large-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gp-menu-card-large-content .gp-menu-card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.gp-menu-card-large-content .gp-menu-card-desc {
    font-size: 14px;
    color: var(--gp-text-secondary);
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.gp-menu-card-large-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.gp-menu-card-rating {
    display: flex;
    gap: 2px;
    color: var(--gp-accent);
}

.gp-menu-card-rating i {
    font-size: 14px;
}

.gp-menu-card-rating-sm {
    display: flex;
    gap: 2px;
    color: var(--gp-accent);
}

.gp-menu-card-rating-sm i {
    font-size: 12px;
}

.gp-menu-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gp-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.gp-menu-card-btn:hover {
    background: var(--gp-primary-light);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.gp-menu-card-btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gp-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.3);
}

.gp-menu-card-btn-sm:hover {
    background: var(--gp-primary-light);
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.4);
}

.gp-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Medium Card - Second Item */
.gp-menu-card-medium {
    display: grid;
    grid-template-columns: 140px 1fr;
    background: var(--gp-surface);
    border-radius: var(--gp-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gp-menu-card-medium:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.gp-menu-card-medium-image {
    position: relative;
    min-height: 140px;
}

.gp-menu-card-medium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-menu-card-medium-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gp-menu-card-medium-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gp-text);
    margin: 0 0 8px 0;
}

.gp-menu-card-medium-desc {
    font-size: 13px;
    color: var(--gp-text-secondary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.gp-menu-card-medium-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gp-price-original {
    font-size: 13px;
    color: var(--gp-text-muted);
    text-decoration: line-through;
}

.gp-price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--gp-primary);
}

/* Vertical Card - Regular Items */
.gp-menu-card-vertical {
    background: var(--gp-surface);
    border-radius: var(--gp-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.gp-menu-card-vertical:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.gp-menu-card-vertical-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.gp-menu-card-vertical-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gp-menu-card-vertical:hover .gp-menu-card-vertical-image img {
    transform: scale(1.05);
}

.gp-menu-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gp-menu-card-vertical-content {
    padding: 16px;
}

.gp-menu-card-vertical-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.gp-menu-card-vertical-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gp-text);
    margin: 0;
}

.gp-menu-card-vertical-desc {
    font-size: 12px;
    color: var(--gp-text-secondary);
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gp-menu-card-vertical-price-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gp-menu-card-vertical-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gp-menu-card-vertical-price .gp-price-current {
    font-size: 16px;
}

.gp-menu-card-vertical-price .gp-price-original {
    font-size: 12px;
}

.gp-menu-card-vertical-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--gp-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gp-bg);
}

.gp-menu-card-meta-info {
    display: flex;
    gap: 12px;
}

.gp-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--gp-text-secondary);
}

.gp-meta-item i {
    font-size: 10px;
    color: var(--gp-primary);
}

.gp-menu-card-btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gp-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.3);
}

.gp-menu-card-btn-order:hover {
    background: var(--gp-primary-light);
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.4);
}

/* Ribbons */
.gp-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: var(--gp-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 10;
}

.gp-ribbon-top {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: var(--gp-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 10;
}

.gp-ribbon-discount {
    background: var(--gp-accent);
}

/* Responsive Grid for Vertical Cards */
@media (min-width: 480px) {
    .gp-menu-grid-new {
        grid-template-columns: 1fr 1fr;
    }
    
    .gp-menu-card-large {
        grid-column: span 2;
    }
    
    .gp-menu-card-medium {
        grid-column: span 2;
    }
}

@media (min-width: 768px) {
    .gp-menu-page {
        max-width: 960px;
        padding: 0 32px 120px;
    }
    
    .gp-menu-grid-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .gp-menu-card-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gp-menu-card-large-image {
        min-height: 280px;
    }
    
    .gp-menu-card-large-content {
        padding: 32px;
    }
    
    .gp-menu-card-large-content .gp-menu-card-title {
        font-size: 28px;
    }
    
    .gp-menu-card-medium {
        grid-column: span 1;
    }
    
    .gp-menu-card-medium-image {
        min-height: auto;
        height: 100%;
    }
    
    .gp-menu-card-vertical-image {
        height: 180px;
    }
    
    .gp-page-header {
        margin: 0 -32px;
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (min-width: 1024px) {
    .gp-menu-page {
        max-width: 1140px;
        padding: 0 40px 140px;
    }
    
    .gp-menu-grid-new {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }
    
    .gp-menu-card-large {
        grid-column: span 3;
    }
    
    .gp-menu-card-large-image {
        min-height: 320px;
    }
    
    .gp-menu-card-large-content {
        padding: 40px;
    }
    
    .gp-menu-card-large-content .gp-menu-card-title {
        font-size: 32px;
    }
    
    .gp-menu-card-large-content .gp-menu-card-desc {
        font-size: 15px;
    }
    
    .gp-menu-card-medium {
        grid-column: span 1;
    }
    
    .gp-menu-card-medium-content {
        padding: 20px;
    }
    
    .gp-menu-card-medium-title {
        font-size: 18px;
    }
    
    .gp-menu-card-vertical-image {
        height: 200px;
    }
    
    .gp-menu-card-vertical-content {
        padding: 20px;
    }
    
    .gp-menu-card-vertical-title {
        font-size: 16px;
    }
    
    .gp-menu-card-vertical-desc {
        font-size: 13px;
    }
    
    .gp-page-header {
        margin: 0 -40px;
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .gp-page-label {
        font-size: 12px;
    }
    
    .gp-page-heading {
        font-size: 28px;
    }
}

@media (min-width: 1280px) {
    .gp-menu-page {
        max-width: 1320px;
    }
    
    .gp-menu-grid-new {
        gap: 32px;
    }
    
    .gp-menu-card-large-image {
        min-height: 360px;
    }
    
    .gp-menu-card-vertical-image {
        height: 220px;
    }
}

/* ==========================================================================
   Checkout Page
   ========================================================================== */

.gp-checkout {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.gp-checkout-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.gp-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gp-border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gp-back-btn:hover {
    background: var(--gp-primary);
    color: white;
    border-color: var(--gp-primary);
}

.gp-checkout-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gp-text);
    margin: 0;
}

.gp-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gp-text);
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gp-border);
}

/* Checkout Summary */
.gp-checkout-summary {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gp-checkout-items {
    margin-bottom: 16px;
}

.gp-checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--gp-border-light);
}

.gp-checkout-item:last-child {
    border-bottom: none;
}

.gp-item-info {
    flex: 1;
}

.gp-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--gp-text);
    display: block;
}

.gp-item-instructions {
    font-size: 12px;
    color: var(--gp-text-secondary);
    font-style: italic;
    margin-top: 4px;
    display: block;
}

.gp-item-pricing {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gp-item-qty {
    font-size: 12px;
    color: var(--gp-text-secondary);
}

.gp-item-total {
    font-size: 14px;
    font-weight: 600;
    color: var(--gp-primary);
}

/* Checkout Totals */
.gp-checkout-totals {
    padding-top: 12px;
    border-top: 1px solid var(--gp-border);
}

.gp-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gp-text-secondary);
}

.gp-total-discount {
    color: var(--gp-success);
}

.gp-total-grand {
    font-size: 18px;
    font-weight: 700;
    color: var(--gp-text);
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid var(--gp-border);
}

/* Checkout Form */
.gp-checkout-form {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gp-form-group {
    margin-bottom: 20px;
}

.gp-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gp-text);
    margin-bottom: 8px;
}

.gp-label i {
    color: var(--gp-primary);
    font-size: 12px;
}

.gp-required {
    color: var(--gp-danger);
}

.gp-input,
.gp-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gp-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--gp-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gp-input:focus,
.gp-textarea:focus {
    outline: none;
    border-color: var(--gp-primary);
    box-shadow: 0 0 0 3px rgba(var(--gp-primary-rgb), 0.1);
}

.gp-textarea {
    resize: vertical;
    min-height: 80px;
}

.gp-error {
    font-size: 12px;
    color: var(--gp-danger);
    margin-top: 4px;
    display: block;
}

/* Alert */
.gp-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.gp-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.gp-alert i {
    margin-top: 2px;
}

.gp-alert ul {
    margin: 0;
    padding-left: 16px;
}

/* Checkout Actions */
.gp-checkout-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* ==========================================================================
   Order Success Page
   ========================================================================== */

.gp-checkout-success {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 20px;
}

.gp-success-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gp-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.gp-success-icon i {
    font-size: 40px;
    color: white;
}

.gp-success-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gp-text);
    margin: 0 0 8px 0;
}

.gp-success-code {
    font-size: 16px;
    color: var(--gp-text-secondary);
    margin: 0 0 8px 0;
}

.gp-success-code strong {
    color: var(--gp-primary);
    font-size: 18px;
}

.gp-success-message {
    font-size: 14px;
    color: var(--gp-text-secondary);
    margin: 0 0 24px 0;
}

.gp-success-details {
    background: var(--gp-bg);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: start;
}

.gp-success-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.gp-success-row i {
    color: var(--gp-primary);
    margin-right: 8px;
}

.gp-success-totals {
    padding: 16px 0;
    border-top: 1px solid var(--gp-border);
    border-bottom: 1px solid var(--gp-border);
    margin-bottom: 20px;
}

.gp-success-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.gp-success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   Order Detail Page
   ========================================================================== */

.gp-order-detail {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.gp-order-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.gp-order-info {
    flex: 1;
}

.gp-order-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gp-text);
    margin: 0;
}

.gp-order-date {
    font-size: 12px;
    color: var(--gp-text-secondary);
}

/* Order Status */
.gp-order-status {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.gp-status-pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.gp-status-confirmed {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.gp-status-preparing {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.gp-status-ready {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.gp-status-completed {
    background: linear-gradient(135deg, #d1fae5 0%, #6ee7b7 100%);
}

.gp-status-cancelled {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.gp-status-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gp-status-icon i {
    font-size: 20px;
}

.gp-status-pending .gp-status-icon i { color: #f59e0b; }
.gp-status-confirmed .gp-status-icon i { color: #3b82f6; }
.gp-status-preparing .gp-status-icon i { color: #6366f1; }
.gp-status-ready .gp-status-icon i { color: #10b981; }
.gp-status-completed .gp-status-icon i { color: #059669; }
.gp-status-cancelled .gp-status-icon i { color: #ef4444; }

.gp-status-text {
    flex: 1;
}

.gp-status-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--gp-text);
    display: block;
}

.gp-status-payment {
    font-size: 12px;
    color: var(--gp-text-secondary);
}

/* Order Guest Info */
.gp-order-guest {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gp-guest-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gp-guest-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gp-text);
}

.gp-guest-row i {
    color: var(--gp-primary);
    width: 16px;
}

/* Order Items */
.gp-order-items {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gp-items-list {
    display: flex;
    flex-direction: column;
}

.gp-order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gp-border-light);
}

.gp-order-item:last-child {
    border-bottom: none;
}

.gp-item-warning {
    font-size: 11px;
    color: var(--gp-danger);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.gp-item-price {
    font-size: 12px;
    color: var(--gp-text-secondary);
}

/* Order Totals */
.gp-order-totals {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Order Actions */
.gp-order-actions {
    display: flex;
    gap: 12px;
}

/* Order Error */
.gp-order-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 20px;
}

.gp-error-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gp-error-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.gp-error-icon i {
    font-size: 32px;
    color: var(--gp-danger);
}

.gp-error-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gp-text);
    margin: 0 0 8px 0;
}

.gp-error-message {
    font-size: 14px;
    color: var(--gp-text-secondary);
    margin: 0 0 24px 0;
}

.gp-error-actions {
    display: flex;
    justify-content: center;
}

/* Button Variants */
.gp-btn-danger {
    background: var(--gp-danger);
    color: white;
    border-color: var(--gp-danger);
}

.gp-btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
}

/* ==========================================================================
   Payment Method Selection
   ========================================================================== */

.gp-payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gp-payment-option {
    cursor: pointer;
}

.gp-payment-option input.gp-radio {
    display: none;
}

.gp-payment-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border: 2px solid var(--gp-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.gp-payment-option:hover .gp-payment-card {
    border-color: var(--gp-primary);
    background: rgba(var(--gp-primary-rgb), 0.02);
}

.gp-payment-selected .gp-payment-card {
    border-color: var(--gp-primary);
    background: rgba(var(--gp-primary-rgb), 0.05);
    box-shadow: 0 0 0 3px rgba(var(--gp-primary-rgb), 0.1);
}

.gp-payment-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--gp-primary-rgb), 0.1) 0%, rgba(var(--gp-primary-rgb), 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gp-primary);
    flex-shrink: 0;
}

.gp-payment-info {
    flex: 1;
}

.gp-payment-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gp-text);
    display: block;
    margin-bottom: 2px;
}

.gp-payment-desc {
    font-size: 12px;
    color: var(--gp-text-secondary);
}

.gp-payment-selected .gp-payment-title {
    color: var(--gp-primary);
}

/* Disabled Payment Option */
.gp-payment-disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.gp-payment-disabled .gp-payment-card {
    background: rgba(var(--gp-text-muted-rgb, 128), 0.05);
    border-color: var(--gp-border);
}

.gp-payment-disabled:hover .gp-payment-card {
    border-color: var(--gp-border);
    background: rgba(var(--gp-text-muted-rgb, 128), 0.05);
}

.gp-coming-soon {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Payment Badge */
.gp-payment-method-row {
    background: rgba(var(--gp-primary-rgb), 0.05);
    border-radius: 8px;
    padding: 12px 16px !important;
    margin-bottom: 12px;
}

.gp-payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
}

.gp-payment-pay_at_cashier,
.gp-payment-PAY_AT_CASHIER,
.gp-payment-1 {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.gp-payment-pay_online_pending,
.gp-payment-2 {
    color: #d97706;
    background: rgba(217, 119, 6, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.gp-payment-paid_online,
.gp-payment-3 {
    color: var(--gp-primary);
    background: rgba(var(--gp-primary-rgb), 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Fulfillment Badge */
.gp-fulfillment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.gp-fulfillment-asap {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.gp-fulfillment-scheduled {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Priority Badge */
.gp-priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 8px;
}

.gp-priority-normal {
    color: #6b7280;
    background: rgba(107, 114, 128, 0.1);
}

.gp-priority-high {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.gp-priority-critical {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    animation: gp-pulse 2s infinite;
}

@keyframes gp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Delay Warning */
.gp-delay-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.gp-delay-warning .gp-warning-icon {
    color: #ef4444;
    font-size: 20px;
    flex-shrink: 0;
}

.gp-delay-warning .gp-warning-title {
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.gp-delay-warning .gp-warning-text {
    color: #7f1d1d;
    font-size: 13px;
}

.gp-menu-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gp-menu-card-meta {
    font-size: 11px;
    color: var(--gp-text-muted);
}

.gp-menu-card-meta i {
    margin-right: 4px;
}

.gp-menu-card-cta {
    background: var(--gp-primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.gp-menu-card-cta:hover {
    background: var(--gp-primary-light);
}

@media (min-width: 768px) {
    .gp-menu {
        padding: 32px;
    }
    .gp-menu-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    .gp-menu-card-image {
        height: 120px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.gp-footer {
    background: var(--gp-primary);
    color: white;
    padding: 24px 16px;
    text-align: center;
}

/* Footer spacing for fixed elements (keep footer at bottom, but content above sticky/nav) */
body:has(.gp-mobile-nav) .gp-footer {
    padding-bottom: calc(24px + var(--gp-nav-height) + var(--gp-safe-bottom));
}

body:has(.gp-sticky-checkout):not(:has(.gp-mobile-nav)) .gp-footer {
    padding-bottom: calc(24px + var(--gp-nav-height) + var(--gp-safe-bottom));
}

body:has(.gp-sticky-checkout):has(.gp-mobile-nav) .gp-footer {
    padding-bottom: calc(24px + var(--gp-nav-height) + var(--gp-nav-height) + var(--gp-safe-bottom));
}

.gp-footer-text {
    font-size: 13px;
    opacity: 0.8;
    margin: 0 0 12px 0;
}

.gp-footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.gp-footer-links a {
    color: white;
    opacity: 0.7;
    font-size: 13px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.gp-footer-links a:hover {
    opacity: 1;
}

/* ==========================================================================
   Legacy Support - Keep existing styles for other pages
   ========================================================================== */
.guest-page {
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
}

.guest-hero {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    padding: 60px 20px 80px;
    text-align: center;
    color: white;
}

.guest-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.guest-logo {
    margin-bottom: 24px;
}

.guest-logo-img {
    height: 60px;
    width: auto;
}

.guest-hero-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.guest-hero-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* ==========================================================================
   Search Box
   ========================================================================== */

.guest-search-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.guest-search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 8px 12px;
}

.guest-search-icon {
    color: #64748b;
    font-size: 18px;
}

.guest-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    padding: 8px 0;
    color: #1e293b;
    outline: none;
}

.guest-search-input::placeholder {
    color: #94a3b8;
}

.guest-search-btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.guest-search-btn:hover {
    background: #4f46e5;
}

.guest-error {
    display: block;
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    text-align: start;
}

/* ==========================================================================
   Cards Section
   ========================================================================== */

.guest-cards-section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: -40px auto 0;
}

.guest-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.guest-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}

.guest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #6366f1;
}

.guest-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 16px;
}

.guest-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.guest-card-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 16px;
}

.guest-card-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6366f1;
    font-weight: 600;
    font-size: 14px;
}

.guest-card-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.guest-card-disabled:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.guest-card-action-disabled {
    color: #94a3b8;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.guest-footer {
    background: #1e293b;
    padding: 24px 20px;
    text-align: center;
    margin-top: 40px;
}

.guest-footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.guest-footer-text {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 12px;
}

.guest-footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.guest-footer-link {
    color: #cbd5e1;
    font-size: 14px;
    text-decoration: none;
}

.guest-footer-link:hover {
    color: white;
}

.guest-footer-sep {
    color: #475569;
}

/* ==========================================================================
   Header
   ========================================================================== */

.guest-header {
    background: white;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100vw;
    overflow: hidden;
}

.guest-header .gp-back-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 14px;
    transition: all 0.2s;
}

.guest-header .gp-back-btn:hover {
    background: var(--gp-primary);
    color: white;
    border-color: var(--gp-primary);
}

.guest-header .gp-page-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--gp-text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

/* Header Actions Row */
.gp-header-actions-row {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.gp-header-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.gp-header-action-btn:hover {
    background: var(--gp-primary);
    color: white;
    border-color: var(--gp-primary);
}

.gp-header-action-btn--active {
    background: var(--gp-primary);
    color: white;
    border-color: var(--gp-primary);
}

.guest-header-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.guest-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.guest-back-link:hover {
    color: #6366f1;
}

.guest-page-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* ==========================================================================
   Progress Steps
   ========================================================================== */

.guest-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    gap: 8px;
    overflow-x: auto;
}

.guest-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.guest-progress-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.guest-progress-step--active .guest-progress-circle {
    background: #6366f1;
    color: white;
}

.guest-progress-label {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
}

.guest-progress-step--active .guest-progress-label {
    color: #6366f1;
    font-weight: 500;
}

.guest-progress-line {
    width: 40px;
    height: 2px;
    background: #e2e8f0;
    margin-bottom: 24px;
}

.guest-progress-line--active {
    background: #6366f1;
}

/* ==========================================================================
   Form Container
   ========================================================================== */

.guest-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 20px;
}

.guest-form-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.guest-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.guest-section-hint {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

/* ==========================================================================
   Form Fields
   ========================================================================== */

.guest-form-group {
    margin-bottom: 20px;
}

.guest-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.guest-input,
.guest-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    color: #1e293b;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.guest-input:focus,
.guest-textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.guest-textarea {
    resize: vertical;
    min-height: 120px;
}

.guest-form-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.guest-form-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e2e8f0;
}

.guest-form-divider span {
    background: white;
    padding: 0 16px;
    color: #94a3b8;
    font-size: 14px;
    position: relative;
}

/* ==========================================================================
   Category Tabs
   ========================================================================== */

.guest-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.guest-category-tab {
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guest-category-tab:hover {
    background: #eef2ff;
    border-color: #6366f1;
    color: #6366f1;
}

.guest-category-tab--active {
    background: #6366f1;
    border-color: #6366f1;
    color: white;
}

/* ==========================================================================
   Service Items Grid
   ========================================================================== */

.guest-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.guest-item-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.guest-item-card:hover {
    border-color: #6366f1;
    background: white;
}

.guest-item-card--selected {
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.guest-item-icon {
    font-size: 24px;
    color: #6366f1;
    margin-bottom: 8px;
}

.guest-item-name {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.guest-item-price {
    margin-top: 6px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.guest-price-amount {
    font-size: 14px;
    font-weight: 700;
    color: #6366f1;
}

.guest-price-currency {
    font-size: 11px;
    color: #6b7280;
}

.guest-item-price--free {
    margin-top: 6px;
}

.guest-price-free {
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
    background: #d1fae5;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Info Box
   ========================================================================== */

.guest-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 12px 16px;
    color: #059669;
    font-size: 14px;
}

.guest-info-box i {
    font-size: 18px;
    color: #0ea5e9;
}

.guest-info-box--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.guest-info-box--success i {
    color: #22c55e;
}

/* Warning Box */
.guest-warning-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.guest-warning-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d97706;
    font-weight: 600;
    margin-bottom: 8px;
}

.guest-warning-header i {
    font-size: 18px;
}

.guest-warning-box p {
    color: #78716c;
    font-size: 14px;
    margin-bottom: 12px;
}

.guest-existing-ticket {
    background: white;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
}

.guest-existing-ticket-code {
    font-family: monospace;
    font-size: 14px;
    color: #0ea5e9;
    font-weight: 600;
}

.guest-existing-ticket-subject {
    font-weight: 600;
    color: #1e293b;
    margin-top: 4px;
}

.guest-existing-ticket-status {
    color: #64748b;
    font-size: 13px;
    margin-top: 4px;
}

.guest-existing-ticket-status strong {
    color: #22c55e;
}

.guest-existing-ticket-contact {
    color: #64748b;
    font-size: 13px;
    margin-top: 4px;
}

/* Working Box */
.guest-working-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #7dd3fc;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.guest-working-icon {
    width: 48px;
    height: 48px;
    background: #0ea5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guest-working-icon i {
    color: white;
    font-size: 20px;
}

.guest-working-content {
    flex: 1;
}

.guest-working-title {
    font-size: 16px;
    font-weight: 600;
    color: #0369a1;
    margin: 0 0 8px 0;
}

.guest-working-text {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Priority Options */
.guest-priority-options {
    margin-top: 16px;
}

.guest-priority-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.guest-priority-option {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.guest-priority-option:hover {
    border-color: #94a3b8;
}

.guest-priority-option i {
    font-size: 24px;
    color: #64748b;
    margin-bottom: 6px;
    display: block;
}

.guest-priority-title {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #1e293b;
    margin-bottom: 2px;
}

.guest-priority-desc {
    display: block;
    font-size: 11px;
    color: #94a3b8;
}

.guest-priority-option--selected {
    border-color: #0ea5e9;
    background: #f0f9ff;
}

.guest-priority-option--selected i {
    color: #0ea5e9;
}

.guest-priority-option--high {
    border-color: #fbbf24;
}

.guest-priority-option--high i {
    color: #f59e0b;
}

.guest-priority-option--high.guest-priority-option--selected {
    background: #fffbeb;
    border-color: #f59e0b;
}

.guest-priority-option--critical {
    border-color: #f87171;
}

.guest-priority-option--critical i {
    color: #ef4444;
}

.guest-priority-option--critical.guest-priority-option--selected {
    background: #fef2f2;
    border-color: #ef4444;
}

@media (max-width: 480px) {
    .guest-priority-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   File Upload
   ========================================================================== */

.guest-file-upload {
    position: relative;
}

.guest-file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.guest-file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s;
}

.guest-file-label:hover {
    border-color: #6366f1;
    background: white;
}

.guest-file-label i {
    font-size: 32px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.guest-file-label span {
    font-size: 14px;
    color: #64748b;
}

.guest-attachments-list {
    margin-top: 12px;
}

.guest-attachment-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #374151;
}

.guest-attachment-remove {
    margin-left: auto;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
}

.guest-attachment-remove:hover {
    color: #ef4444;
}

/* ==========================================================================
   Dropdown
   ========================================================================== */

.guest-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 50;
    margin-top: 4px;
}

.guest-dropdown-item {
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: background 0.2s;
}

.guest-dropdown-item:hover {
    background: #f1f5f9;
}

/* ==========================================================================
   Empty State
   ========================================================================== */

.guest-empty {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}

.guest-empty i {
    font-size: 48px;
    margin-bottom: 16px;
}

.guest-empty p {
    font-size: 14px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.guest-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.guest-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
}

.guest-btn-primary {
    background: #6366f1;
    color: white;
}

.guest-btn-primary:hover {
    background: #4f46e5;
}

.guest-btn-secondary {
    background: #f1f5f9;
    color: #374151;
}

.guest-btn-secondary:hover {
    background: #e2e8f0;
}

.guest-btn-outline {
    background: white;
    border: 1px solid #d1d5db;
    color: #374151;
}

.guest-btn-outline:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.guest-btn-full {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   Ticket Status Page
   ========================================================================== */

.guest-ticket-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px 20px;
}

.guest-ticket-header {
    background: white;
    border-radius: 12px 12px 0 0;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.guest-ticket-code-label {
    font-size: 12px;
    color: #94a3b8;
    display: block;
    margin-bottom: 4px;
}

.guest-ticket-code-value {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    font-family: monospace;
}

.guest-status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.guest-status-badge--new {
    background: #dbeafe;
    color: #1d4ed8;
}

.guest-status-badge--assigned {
    background: #ede9fe;
    color: #7c3aed;
}

.guest-status-badge--in_progress {
    background: #fef3c7;
    color: #d97706;
}

.guest-status-badge--on_hold {
    background: #f1f5f9;
    color: #64748b;
}

.guest-status-badge--resolved {
    background: #d1fae5;
    color: #059669;
}

.guest-status-badge--closed {
    background: #d1fae5;
    color: #047857;
}

.guest-ticket-body {
    background: white;
    padding: 24px;
}

.guest-ticket-field {
    margin-bottom: 20px;
}

.guest-ticket-field--full {
    margin-bottom: 24px;
}

.guest-ticket-label {
    font-size: 12px;
    color: #94a3b8;
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guest-ticket-value {
    font-size: 15px;
    color: #1e293b;
}

.guest-ticket-category {
    color: #64748b;
    font-size: 13px;
}

.guest-ticket-phone {
    color: #64748b;
    font-size: 13px;
}

.guest-ticket-description {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.guest-attachments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.guest-attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
}

.guest-attachment-link:hover {
    background: #e2e8f0;
}

.guest-attachment-link--small {
    padding: 6px 12px;
    font-size: 12px;
}

/* ==========================================================================
   Timeline
   ========================================================================== */

.guest-ticket-timeline {
    background: white;
    padding: 24px;
    margin-top: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.guest-timeline-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.guest-timeline {
    position: relative;
    padding-left: 24px;
}

.guest-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.guest-timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.guest-timeline-item:last-child {
    padding-bottom: 0;
}

.guest-timeline-marker {
    position: absolute;
    left: -20px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6366f1;
    border: 2px solid white;
}

.guest-timeline-content {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 16px;
}

.guest-timeline-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.guest-timeline-status-old {
    font-size: 13px;
    color: #94a3b8;
}

.guest-timeline-status-new {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.guest-timeline-arrow {
    font-size: 10px;
    color: #94a3b8;
}

.guest-timeline-meta {
    font-size: 12px;
    color: #64748b;
}

.guest-timeline-note {
    font-size: 13px;
    color: #374151;
    margin-top: 8px;
    font-style: italic;
}

/* ==========================================================================
   Replies
   ========================================================================== */

.guest-ticket-replies {
    background: white;
    padding: 24px;
    margin-top: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.guest-replies-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.guest-replies-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guest-reply {
    border-radius: 8px;
    padding: 16px;
}

.guest-reply--staff {
    background: #f0f9ff;
    border-left: 3px solid #0ea5e9;
}

.guest-reply--guest {
    background: #f8fafc;
    border-left: 3px solid #94a3b8;
}

.guest-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.guest-reply-author {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.guest-reply-date {
    font-size: 12px;
    color: #94a3b8;
}

.guest-reply-content {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.guest-reply-attachments {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ==========================================================================
   Ticket Actions
   ========================================================================== */

.guest-ticket-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */

.guest-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-width: 400px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.guest-toast--fadeout {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.guest-toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guest-toast--success .guest-toast-icon {
    background: #d1fae5;
    color: #059669;
}

.guest-toast--error .guest-toast-icon {
    background: #fee2e2;
    color: #dc2626;
}

.guest-toast--warning .guest-toast-icon {
    background: #fef3c7;
    color: #d97706;
}

.guest-toast--info .guest-toast-icon {
    background: #dbeafe;
    color: #2563eb;
}

.guest-toast-content {
    flex: 1;
}

.guest-toast-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.guest-toast-message {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.guest-toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
}

.guest-toast-close:hover {
    color: #64748b;
}

/* ==========================================================================
   Guest Ticket Status Page - Premium Style
   ========================================================================== */

.ts-page {
    min-height: 100vh;
    background: #f8fafc;
    padding-bottom: 32px;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 768px) {
    .ts-page {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Header */
.ts-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    margin-bottom: 16px;
    margin-top: 12px;
}

.ts-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
}

.ts-back:hover {
    color: #1e293b;
}

.ts-back i {
    font-size: 12px;
}
[dir="rtl"] .ts-back i.fa-arrow-left {
    transform: scaleX(-1);
}

.ts-title {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-inline-start: auto;
}

/* Main Card */
.ts-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
    padding: 20px;
}

/* Meta Bar */
.ts-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.ts-code {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 12px;
    color: #94a3b8;
    letter-spacing: 0.025em;
}

.ts-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ts-status--new {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.ts-status--in_progress {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.ts-status--resolved {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.ts-status--closed {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.ts-status--on_hold {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

/* Headline */
.ts-headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ts-subject {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.ts-unit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.ts-unit i {
    font-size: 10px;
}

/* Description */
.ts-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #e2e8f0;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Actions row: Mark as Done (start) + Send Update (end), RTL-aware */
.ts-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Attachments */
.ts-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.ts-attachment {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 12px;
    color: #64748b;
    text-decoration: none;
    transition: background 0.15s;
}

.ts-attachment:hover {
    background: #e2e8f0;
}

.ts-attachment i {
    font-size: 10px;
    color: #94a3b8;
}

/* Meta Footer */
.ts-meta-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
}

.ts-dot {
    opacity: 0.5;
}

/* Sections */
.ts-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
    padding: 20px;
}

.ts-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px;
}

.ts-section-title i {
    font-size: 12px;
    color: #94a3b8;
}

/* Timeline */
.ts-timeline {
    position: relative;
    padding-left: 20px;
}

.ts-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #e2e8f0;
    border-radius: 1px;
}

.ts-timeline-item {
    position: relative;
    padding-bottom: 16px;
}

.ts-timeline-item:last-child {
    padding-bottom: 0;
}

.ts-timeline-marker {
    position: absolute;
    left: -20px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    border: 2px solid #cbd5e1;
}

.ts-timeline-item:first-child .ts-timeline-marker {
    border-color: #f59e0b;
    background: #f59e0b;
}

.ts-timeline-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ts-timeline-status {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.ts-timeline-time {
    font-size: 12px;
    color: #94a3b8;
}

/* Conversation Thread */
.ts-thread {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ts-message {
    display: flex;
    gap: 12px;
    max-width: 85%;
}

/* Guest messages - LEFT aligned */
.ts-message--guest {
    align-self: flex-start;
    flex-direction: row;
}

/* Staff messages - RIGHT aligned */
.ts-message--staff {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ts-avatar {
    flex-shrink: 0;
}

.ts-avatar-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.ts-avatar--staff {
    background: #6366f1;
}

.ts-bubble-wrap {
    flex: 1;
    min-width: 0;
}

.ts-msg-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.ts-message--staff .ts-msg-meta {
    flex-direction: row-reverse;
}

.ts-msg-author {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.ts-msg-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ts-badge--guest {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.ts-badge--staff {
    background: rgba(99, 102, 241, 0.15);
    color: #4f46e5;
}

.ts-bubble {
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #1e293b;
    margin-bottom: 6px;
    position: relative;
}

/* Guest bubble - mint green with left accent */
.ts-bubble--guest {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.ts-guest-prefix {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: #059669;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 4px;
}

/* Staff bubble - indigo/purple with right accent */
.ts-bubble--staff {
    background: #eef2ff;
    border-right: 4px solid #6366f1;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.ts-msg-time {
    font-size: 11px;
    color: #94a3b8;
}

.ts-message--staff .ts-msg-time {
    text-align: right;
    display: block;
}

/* Actions */
.ts-actions {
    display: flex;
    gap: 12px;
}

.ts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}

.ts-btn i {
    font-size: 12px;
}

.ts-btn--primary {
    flex: 1;
    background: #4f46e5;
    color: white;
    border: none;
}

.ts-btn--primary:hover {
    background: #4338ca;
    color: white;
}

.ts-btn--ghost {
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.ts-btn--ghost:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
}

/* ==========================================================================
   Phone Input with Country Code
   ========================================================================== */

.guest-phone-input {
    display: flex;
    align-items: center;
    direction: ltr;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.guest-phone-input:focus-within {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.guest-phone-country {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8fafc;
    border-inline-end: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.guest-phone-flag {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
}

.guest-phone-code {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.guest-input-phone {
    border: none !important;
    border-radius: 0 !important;
    flex: 1;
    min-width: 0;
}

.guest-input-phone:focus {
    box-shadow: none !important;
}

.guest-input-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #94a3b8;
}

/* Contact Found Box */
.guest-contact-found {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #10b981;
    border-radius: 12px;
}

.guest-contact-found-icon {
    width: 48px;
    height: 48px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guest-contact-found-icon i {
    font-size: 20px;
    color: white;
}

.guest-contact-found-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guest-contact-found-title {
    font-size: 14px;
    font-weight: 600;
    color: #059669;
}

.guest-contact-found-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.guest-contact-found-email {
    font-size: 13px;
    color: #64748b;
}

/* ==========================================================================
   QR Locked Unit Display
   ========================================================================== */

.guest-qr-unit-locked {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    margin-bottom: 16px;
}

.guest-qr-unit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.guest-qr-unit-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.guest-qr-unit-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guest-qr-unit-number {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.guest-qr-unit-property {
    font-size: 13px;
    color: #64748b;
}

.guest-qr-unit-locked-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================================================
   Privacy Banner
   ========================================================================== */

.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e293b;
    color: white;
    padding: 16px 24px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.privacy-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-banner-icon i {
    font-size: 18px;
    color: #818cf8;
}

.privacy-banner-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
}

.privacy-banner-text p {
    margin: 0;
}

.privacy-link {
    color: #818cf8;
    text-decoration: underline;
}

.privacy-link:hover {
    color: #a5b4fc;
}

.privacy-banner-actions {
    flex-shrink: 0;
}

.privacy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    border: none;
}

.privacy-btn--accept {
    background: #6366f1;
    color: white;
}

.privacy-btn--accept:hover {
    background: #4f46e5;
}

.privacy-btn i {
    font-size: 12px;
}

@media (max-width: 768px) {
    .privacy-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .privacy-banner-icon {
        margin-bottom: 8px;
    }
    
    .privacy-banner-actions {
        width: 100%;
    }
    
    .privacy-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Mobile Responsive
   ========================================================================== */

@media (max-width: 640px) {
    .guest-hero {
        padding: 40px 16px 60px;
    }

    .guest-hero-title {
        font-size: 22px;
    }

    .guest-search-input-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .guest-search-input {
        width: 100%;
    }

    .guest-search-btn {
        width: 100%;
    }

    .guest-cards-section {
        padding: 24px 16px;
    }

    .guest-progress {
        padding: 16px;
        gap: 4px;
    }

    .guest-progress-line {
        width: 20px;
    }

    .guest-progress-label {
        font-size: 10px;
    }

    .guest-form-container {
        padding: 16px;
    }

    .guest-form-section {
        padding: 16px;
    }

    .guest-ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .guest-ticket-actions {
        flex-direction: column;
    }

    .guest-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Guest Header Bar - Fixed Top Navigation
   ========================================================================== */
.gp-header-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-height: 56px;
}

.gp-header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Premium Open Requests Section - Linear Style
   ========================================================================== */

/* Section Container */
.guest-open-requests {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f3f5;
}

/* Section Header */
.guest-open-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f3f5;
}

.guest-open-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.guest-open-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #f1f3f5;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
}

.guest-open-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a2332;
    margin: 0;
    letter-spacing: -0.2px;
}

.guest-open-subtitle {
    font-size: 13px;
    color: #8896a8;
    margin: 0;
    line-height: 1.4;
}

/* Request List */
.guest-request-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Request Item - Compact Record Style */
.guest-request-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: #fafbfc;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.guest-request-item:hover {
    background: #ffffff;
    border-color: #e4e8ed;
}

/* Meta Row */
.guest-request-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.guest-request-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.guest-request-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: color-mix(in srgb, var(--status-color) 12%, transparent);
    color: var(--status-color);
}

.guest-request-code {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 12px;
    color: #8896a8;
    letter-spacing: 0.02em;
}

.guest-request-time {
    font-size: 11px;
    color: #a0aec0;
}

/* Content Row */
.guest-request-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.guest-request-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    border-radius: 6px;
    color: #4a5568;
    font-size: 12px;
    flex-shrink: 0;
}

.guest-request-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.guest-request-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a2332;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.guest-request-type {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    background: #edf0f5;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.guest-request-desc {
    font-size: 12px;
    color: #8896a8;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Action Row */
.guest-request-action {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
    border-top: 1px solid #f1f3f5;
}

.guest-action-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #4a5568;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.15s ease;
}

.guest-action-link:hover {
    color: #1a2332;
}

.guest-action-link i {
    font-size: 10px;
    opacity: 0.6;
}

[dir="rtl"] .guest-action-link i.fa-chevron-right {
    transform: scaleX(-1);
}

/* Load More */
.guest-load-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 0 8px;
    margin-top: 8px;
}

.guest-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e4e8ed;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.15s ease;
}

.guest-load-more-btn:hover {
    background: #fafbfc;
    border-color: #d1d5db;
    color: #1a2332;
}

.guest-load-more-btn i {
    font-size: 11px;
    opacity: 0.7;
}

.guest-load-more-count {
    font-size: 11px;
    color: #a0aec0;
}

/* New Request CTA */
.guest-new-request-cta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f3f5;
    text-align: center;
}

.guest-new-request-hint {
    font-size: 13px;
    color: #8896a8;
    margin: 0 0 12px;
}

.guest-new-request-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: #1a2332;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease;
}

.guest-new-request-btn:hover {
    background: #2d3748;
}

.guest-new-request-btn i {
    font-size: 12px;
    opacity: 0.8;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .guest-open-requests {
        padding: 16px 12px;
    }
    
    .guest-request-item {
        padding: 10px;
    }
    
    .guest-request-meta {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .guest-request-time {
        order: 3;
        width: 100%;
        margin-top: -4px;
    }
}

/* Desktop Refinement */
@media (min-width: 768px) {
    .guest-open-requests {
        padding: 24px;
    }
    
    .guest-request-item {
        padding: 14px;
    }
    
    .guest-request-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .guest-request-name {
        font-size: 15px;
    }
}

/* Add padding to body when header is sticky */
body:has(.gp-header-sticky) {
    padding-top: 56px;
}

.gp-header-brand {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    flex-shrink: 0;
    gap: 2px;
}

.gp-header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.gp-header-logo-link:hover .gp-header-logo {
    transform: scale(1.02);
}

.gp-header-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.gp-header-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--gp-text-muted, #6b7280);
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-top: 1px;
}

.gp-location-zone {
    color: var(--gp-text-secondary, #374151);
}

.gp-location-separator {
    color: var(--gp-text-muted, #9ca3af);
    font-size: 10px;
}

.gp-location-unit {
    color: var(--gp-text-secondary, #374151);
}

.gp-header-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gp-text);
    letter-spacing: -0.01em;
}

.gp-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.gp-header-room {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

.gp-header-room i {
    font-size: 11px;
    opacity: 0.9;
}

.gp-header-tickets,
.gp-header-orders {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gp-header-tickets:hover {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.15);
}

.gp-header-orders:hover {
    background: #dcfce7;
    border-color: #22c55e;
    color: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.15);
}

.gp-header-tickets i,
.gp-header-orders i {
    font-size: 14px;
}

.gp-header-tickets-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Unified badge style for tickets and orders */
.gp-header-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.gp-header-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.gp-header-profile:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gp-header-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.gp-avatar-initials {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.gp-header-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--gp-text);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gp-header-lang {
    display: flex;
    align-items: center;
    margin-inline-start: auto;
}

.gp-header-welcome {
    font-size: 13px;
    color: var(--gp-text-muted);
}

/* Mobile responsive header */
@media (max-width: 480px) {
    .gp-header-bar {
        padding: 8px 12px;
        min-height: 52px;
    }
    
    .gp-header-logo {
        height: 26px;
    }
    
    .gp-header-actions {
        gap: 6px;
    }
    
    .gp-header-room {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .gp-header-room i {
        font-size: 10px;
    }
    
    .gp-header-tickets,
    .gp-header-orders {
        width: 34px;
        height: 34px;
    }
    
    .gp-header-profile {
        width: 34px;
        height: 34px;
    }
    
    .gp-header-avatar {
        width: 28px;
        height: 28px;
    }
    
    .gp-avatar-initials {
        font-size: 10px;
    }
    
    .gp-header-badge {
        min-width: 16px;
        height: 16px;
        font-size: 9px;
        top: -2px;
        right: -2px;
    }
}

/* ==========================================================================
   Guest Modal Styles
   ========================================================================== */
.gp-modal {
    background: var(--gp-surface);
    border-radius: var(--gp-radius);
    border: none;
    overflow: hidden;
}

.gp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--gp-bg);
    border-bottom: 1px solid var(--gp-border);
}

.gp-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--gp-text);
    margin: 0;
}

.gp-modal-title i {
    color: var(--gp-primary);
}

.gp-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--gp-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.gp-modal-close:hover {
    background: var(--gp-bg);
    color: var(--gp-text);
}

.gp-modal-body {
    padding: 20px;
}

.gp-modal-section {
    margin-bottom: 20px;
}

.gp-modal-section:last-child {
    margin-bottom: 0;
}

.gp-modal-section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--gp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.gp-modal-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gp-modal-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--gp-bg);
    border-radius: var(--gp-radius-sm);
}

.gp-modal-info-item i {
    width: 18px;
    color: var(--gp-primary);
    font-size: 14px;
    text-align: center;
}

.gp-modal-info-item span {
    font-size: 14px;
    color: var(--gp-text);
}

.gp-modal-info-item--highlight {
    background: var(--gp-accent);
    color: white;
}

.gp-modal-info-item--highlight i,
.gp-modal-info-item--highlight span {
    color: white;
}

.gp-modal-footer {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    background: var(--gp-bg);
    border-top: 1px solid var(--gp-border);
}

.gp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--gp-radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.gp-btn--primary {
    background: var(--gp-primary);
    color: white;
}

.gp-btn--primary:hover {
    background: var(--gp-primary-light);
}

.gp-btn--secondary {
    background: var(--gp-surface);
    color: var(--gp-text);
    border: 1px solid var(--gp-border);
}

.gp-btn--secondary:hover {
    background: var(--gp-bg);
    border-color: var(--gp-primary);
}

.gp-btn--danger {
    background: transparent;
    color: var(--gp-error);
    border: 1px solid var(--gp-border);
}

.gp-btn--danger:hover {
    background: rgba(220, 38, 38, 0.05);
    border-color: var(--gp-error);
}

/* Form Styles in Modal */
.gp-form-group {
    margin-bottom: 16px;
}

.gp-form-group:last-child {
    margin-bottom: 0;
}

.gp-form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--gp-text-secondary);
    margin-bottom: 6px;
}

.gp-form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius-sm);
    font-size: 14px;
    color: var(--gp-text);
    background: var(--gp-surface);
    transition: all 0.2s;
}

.gp-form-input:focus {
    outline: none;
    border-color: var(--gp-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.gp-form-input::placeholder {
    color: var(--gp-text-muted);
}

/* ========================================
   Ticket History Page
   ======================================== */

.gp-tickets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gp-ticket-card {
    display: block;
    background: var(--gp-bg);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius);
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.gp-ticket-card:hover {
    border-color: var(--gp-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gp-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.gp-ticket-code {
    font-weight: 600;
    font-size: 14px;
    color: var(--gp-text);
}

.gp-ticket-status {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.gp-ticket-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.gp-ticket-service {
    font-size: 13px;
    color: var(--gp-text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gp-ticket-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.gp-ticket-service-row .gp-ticket-service {
    flex: 1;
    min-width: 0;
}

.gp-ticket-service i {
    color: var(--gp-primary);
}

.gp-ticket-category {
    font-size: 12px;
    color: var(--gp-text-muted);
}

.gp-ticket-room {
    font-size: 12px;
    color: var(--gp-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.gp-ticket-room i {
    color: var(--gp-primary);
}

.gp-ticket-cost {
    font-size: 13px;
    color: var(--gp-primary);
    font-weight: 600;
    white-space: nowrap;
}

.gp-ticket-subject {
    font-size: 13px;
    color: var(--gp-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gp-ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--gp-border);
}

.gp-ticket-time {
    font-size: 12px;
    color: var(--gp-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.gp-ticket-view {
    font-size: 12px;
    color: var(--gp-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Mobile responsive for tickets */
@media (max-width: 480px) {
    .gp-ticket-card {
        padding: 14px;
    }
    
    .gp-ticket-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .gp-ticket-code {
        font-size: 13px;
    }
    
    .gp-ticket-status {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .gp-ticket-service {
        font-size: 12px;
    }
    
    .gp-ticket-category {
        font-size: 11px;
    }
}

@media (min-width: 768px) {
    .gp-tickets-list {
        gap: 16px;
    }
    
    .gp-ticket-card {
        padding: 20px;
    }
    
    .gp-ticket-code {
        font-size: 15px;
    }
    
    .gp-ticket-service {
        font-size: 14px;
    }
}

/* ==========================================================================
   Profile Panel - Slide-in Panel
   ========================================================================== */
.gp-profile-container {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
}

.gp-profile-container.gp-modal-hidden {
    display: none;
}

.gp-profile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: var(--gp-surface);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    z-index: 1001;
    overflow: hidden;
}

.gp-profile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    z-index: 1000;
}

.gp-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--gp-border);
    background: var(--gp-primary);
    color: white;
}

.gp-profile-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gp-profile-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.gp-profile-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gp-profile-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.gp-profile-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--gp-border);
    display: flex;
    gap: 12px;
    background: var(--gp-surface);
}

.gp-profile-footer .gp-btn {
    flex: 1;
}

.gp-profile-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gp-ticket-view {
    font-size: 12px;
    color: var(--gp-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   No-Zone Landing Page - Premium Corporate Style
   ========================================================================== */

/* Section Base */
.gp-section {
    padding: var(--gp-space-xl) var(--gp-space-md);
    background: var(--gp-surface);
}

.gp-section-content {
    max-width: 600px;
    margin: 0 auto;
}

.gp-section-title {
    font-size: var(--gp-font-xl);
    font-weight: 700;
    color: var(--gp-text);
    margin: 0 0 var(--gp-space-sm);
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.gp-section-subtitle {
    font-size: var(--gp-font-sm);
    color: var(--gp-text-secondary);
    margin: 0 0 var(--gp-space-lg);
    line-height: 1.5;
}

.gp-section-body {
    font-size: var(--gp-font-sm);
    color: var(--gp-text-secondary);
    line-height: 1.7;
}

/* About Section */
.gp-about {
    background: var(--gp-surface);
}

.gp-about-content {
    text-align: start;
    line-height: 1.8;
}

.gp-about-content p {
    margin-bottom: var(--gp-space-md);
}

/* Services / Destinations Section */
.gp-services {
    background: var(--gp-bg);
}

.gp-destinations {
    display: flex;
    flex-direction: column;
    gap: var(--gp-space-md);
}

.gp-destination-block {
    padding-bottom: var(--gp-space-md);
    border-bottom: 1px solid var(--gp-border-light);
}

.gp-destination-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.gp-destination-name {
    font-size: var(--gp-font-base);
    font-weight: 600;
    color: var(--gp-text);
    margin-bottom: var(--gp-space-xs);
}

.gp-destination-location {
    font-size: var(--gp-font-xs);
    color: var(--gp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--gp-space-sm);
}

.gp-destination-desc {
    font-size: var(--gp-font-sm);
    color: var(--gp-text-secondary);
    line-height: 1.6;
}

/* Quick Actions - Premium CTA Strip */
.gp-quick-actions {
    padding: var(--gp-space-xl) var(--gp-space-md);
    background: var(--gp-surface);
    margin-top: var(--gp-space-md);
}

.gp-quick-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gp-space-md);
    max-width: 500px;
    margin: 0 auto;
}

.gp-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--gp-space-sm);
    padding: var(--gp-space-lg) var(--gp-space-md);
    border-radius: var(--gp-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--gp-font-sm);
    transition: all 0.25s ease;
    min-height: 88px;
    text-align: center;
}

.gp-quick-action i {
    font-size: 20px;
    opacity: 0.9;
}

.gp-quick-action--primary {
    background: var(--gp-primary);
    color: white;
    box-shadow: var(--gp-shadow);
}

.gp-quick-action--primary:hover {
    background: var(--gp-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--gp-shadow-lg);
}

.gp-quick-action--secondary {
    background: var(--gp-accent);
    color: white;
    box-shadow: 0 4px 16px rgba(184, 151, 61, 0.25);
}

.gp-quick-action--secondary:hover {
    background: var(--gp-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 151, 61, 0.35);
}

/* Contact Section */
.gp-contact {
    background: var(--gp-bg);
    padding-bottom: calc(var(--gp-space-2xl) + var(--gp-nav-height) + var(--gp-safe-bottom));
}

.gp-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gp-space-md);
    margin-top: var(--gp-space-lg);
}

.gp-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--gp-space-lg) var(--gp-space-md);
    background: var(--gp-surface);
    border-radius: var(--gp-radius);
    border: 1px solid var(--gp-border-light);
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 96px;
    box-shadow: var(--gp-shadow-sm);
}

.gp-contact-item:hover {
    border-color: var(--gp-primary);
    transform: translateY(-2px);
    box-shadow: var(--gp-shadow);
}

.gp-contact-item i {
    font-size: 22px;
    color: var(--gp-primary);
    margin-bottom: var(--gp-space-sm);
}

.gp-contact-label {
    font-size: var(--gp-font-xs);
    color: var(--gp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.gp-contact-value {
    font-size: var(--gp-font-sm);
    color: var(--gp-text);
    font-weight: 600;
    margin-top: var(--gp-space-xs);
    text-align: center;
}

/* Desktop refinements for no-zone landing */
@media (min-width: 768px) {
    .gp-section {
        padding: var(--gp-space-2xl) var(--gp-space-xl);
    }
    
    .gp-section-content {
        max-width: 700px;
    }
    
    .gp-section-title {
        font-size: var(--gp-font-2xl);
    }
    
    .gp-section-subtitle {
        font-size: var(--gp-font-base);
    }
    
    .gp-quick-actions {
        padding: var(--gp-space-2xl) var(--gp-space-xl);
    }
    
    .gp-quick-actions-grid {
        max-width: 600px;
        gap: var(--gp-space-lg);
    }
    
    .gp-quick-action {
        min-height: 100px;
        padding: var(--gp-space-xl) var(--gp-space-lg);
    }
    
    .gp-contact-grid {
        gap: var(--gp-space-lg);
        max-width: 600px;
        margin: var(--gp-space-xl) auto 0;
    }
    
    .gp-contact-item {
        min-height: 110px;
    }
}

@media (min-width: 1024px) {
    .gp-section-content {
        max-width: 800px;
    }
    
    .gp-section-title {
        font-size: var(--gp-font-3xl);
    }
    
    .gp-quick-actions-grid {
        max-width: 700px;
    }
    
    .gp-contact-grid {
        max-width: 700px;
    }
}

/* Bottom nav clearance - add padding to page container */
.gp-page {
    padding-bottom: 100px;
}

@media (min-width: 768px) {
    .gp-section {
        padding: 40px 32px;
        margin: 16px 24px;
    }

    .gp-section-title {
        font-size: 28px;
    }

    .gp-section-subtitle {
        font-size: 16px;
    }

    .gp-quick-actions {
        padding: 24px 20px;
    }

    .gp-quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }

    .gp-contact-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .gp-page {
        padding-bottom: 40px;
    }

}

[dir="rtl"] .gp-hero {
    text-align: right;
}

[dir="rtl"] .gp-hero-cart {
    right: auto;
    left: var(--gp-space-md);
}

[dir="rtl"] .gp-hero-icon--1 { right: auto; left: 2%; }
[dir="rtl"] .gp-hero-icon--2 { right: auto; left: 12%; }
[dir="rtl"] .gp-hero-icon--3 { right: auto; left: 22%; }
[dir="rtl"] .gp-hero-icon--4 { right: auto; left: 32%; }
[dir="rtl"] .gp-hero-icon--5 { right: auto; left: 42%; }
[dir="rtl"] .gp-hero-icon--6 { right: auto; left: 52%; }

@media (min-width: 768px) {
    [dir="rtl"] .gp-hero-icon--1 { right: auto; left: 2%; }
    [dir="rtl"] .gp-hero-icon--2 { right: auto; left: 10%; }
    [dir="rtl"] .gp-hero-icon--3 { right: auto; left: 18%; }
    [dir="rtl"] .gp-hero-icon--4 { right: auto; left: 26%; }
    [dir="rtl"] .gp-hero-icon--5 { right: auto; left: 34%; }
    [dir="rtl"] .gp-hero-icon--6 { right: auto; left: 42%; }
}

@media (min-width: 1024px) {
    [dir="rtl"] .gp-hero-icon--1 { right: auto; left: 2%; }
    [dir="rtl"] .gp-hero-icon--2 { right: auto; left: 12%; }
    [dir="rtl"] .gp-hero-icon--3 { right: auto; left: 22%; }
    [dir="rtl"] .gp-hero-icon--4 { right: auto; left: 32%; }
    [dir="rtl"] .gp-hero-icon--5 { right: auto; left: 42%; }
    [dir="rtl"] .gp-hero-icon--6 { right: auto; left: 52%; }
}

[dir="rtl"] .gp-carousel-btn--prev {
    right: var(--gp-space-md);
    left: auto;
}

[dir="rtl"] .gp-carousel-btn--next {
    left: var(--gp-space-md);
    right: auto;
}

@media (min-width: 768px) {
    [dir="rtl"] .gp-carousel-btn--prev {
        right: var(--gp-space-lg);
        left: auto;
    }
    [dir="rtl"] .gp-carousel-btn--next {
        left: var(--gp-space-lg);
        right: auto;
    }
}

[dir="rtl"] .gp-featured-badge {
    left: auto;
    right: var(--gp-space-md);
}

[dir="rtl"] .gp-menu-card-ribbon {
    left: auto;
    right: 8px;
}

[dir="rtl"] .gp-mini-cart-badge {
    right: auto;
    left: -8px;
}

[dir="rtl"] .gp-featured-meta i {
    margin-right: 0;
    margin-left: var(--gp-space-xs);
}

[dir="rtl"] .gp-price-original {
    margin-right: 0;
    margin-left: var(--gp-space-sm);
}

[dir="rtl"] .gp-price-note {
    margin-left: 0;
    margin-right: 6px;
}

[dir="rtl"] .gp-search-input-wrapper i {
    left: auto;
    right: 14px;
}

[dir="rtl"] .gp-search-input {
    padding: 12px 42px 12px 40px;
}

[dir="rtl"] .gp-search-clear {
    right: auto;
    left: 10px;
}

[dir="rtl"] .gp-scroll-top-fixed {
    right: auto;
    left: 12px;
}

@media (min-width: 769px) {
    [dir="rtl"] .gp-scroll-top-fixed {
        right: auto;
        left: 16px;
    }
}

[dir="rtl"] .guest-orders-btn {
    right: auto;
    left: 16px;
}

[dir="rtl"] .guest-orders-badge {
    right: auto;
    left: -5px;
}

[dir="rtl"] .gp-nav-badge {
    right: auto;
    left: -6px;
}

[dir="rtl"] .gp-sticky-checkout-btn:hover i {
    transform: translateX(-4px);
}

@keyframes slideInRtl {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideOutRtl {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

[dir="rtl"] .gp-cart-container {
    right: auto;
    left: 0;
}

[dir="rtl"] .gp-cart-panel {
    right: auto;
    left: 0;
}

[dir="rtl"] .gp-slide-enter {
    animation: slideInRtl 0.3s ease-out;
}

[dir="rtl"] .gp-slide-leave {
    animation: slideOutRtl 0.3s ease-in;
}

[dir="rtl"] .guest-orders-panel {
    right: auto;
    left: 0;
}
