/* ==========================================
   DESIGN SYSTEM & GLOBAL VARIABLES (GLOBAL BRAND)
   ========================================== */
:root {
    /* Balanced Warm Food Palette: Crepe Amber, Warm Gold & Deep Dark */
    --bg-color: #121212;
    --primary-color: #E85D04; /* Warm Crepe Amber */
    --secondary-color: #FFB703; /* Balanced Honey Gold */
    --text-white: #FFFFFF;
    --text-gray: #A0AAB2;
    
    /* Category Colors */
    --cat-chicken: #E85D04;
    --cat-meat: #E63946;
    --cat-mix: #FFB703;
    --cat-breakfast: #2A9D8F;
    --cat-sweet: #D62828;
    --cat-waffle: #F4A261;
    --cat-burger: #E76F51;
    --cat-syrian: #457B9D;
    
    /* Glassmorphism Configuration */
    --glass-bg: rgba(255, 255, 255, 0.025);
    --glass-border: rgba(232, 93, 4, 0.2);
    --glass-border-hover: rgba(232, 93, 4, 0.6);
    --glow-shadow: 0 0 25px rgba(232, 93, 4, 0.35);
    --card-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.65);
    
    /* Typography */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Poppins', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ==========================================
   MULTILINGUAL ARCHITECTURE
   ========================================== */
/* Set styles according to document state */
body[data-lang="ar"] {
    direction: rtl;
    font-family: var(--font-ar);
    text-align: right;
}

body[data-lang="en"] {
    direction: ltr;
    font-family: var(--font-en);
    text-align: left;
}

/* Hide inactive language blocks completely */
body[data-lang="ar"] .lang-en {
    display: none !important;
}

body[data-lang="en"] .lang-ar {
    display: none !important;
}

/* Align list markers or arrows based on direction */
body[data-lang="ar"] .card-arrow {
    margin-right: auto;
    margin-left: 5px;
}
body[data-lang="ar"] .card-arrow i {
    transform: scaleX(1); /* Default left chevron in RTL */
}

body[data-lang="en"] .card-arrow {
    margin-left: auto;
    margin-right: 5px;
}
body[data-lang="en"] .card-arrow i {
    transform: scaleX(-1); /* Flips left chevron to point right in LTR */
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    /* Lock font scaling on mobile */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 16px;
}

body {
    color: var(--text-white);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    /* Prevent double-tap zoom on mobile */
    touch-action: manipulation;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    /* Prevent double-tap zoom on links */
    touch-action: manipulation;
}

.font-en {
    font-family: var(--font-en);
}

/* ==========================================
   PREMIUM ANIMATED BACKGROUND SYSTEM
   ========================================== */

/* === Base Gradient Mesh === */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(ellipse 80% 50% at 20% 10%, rgba(197, 160, 89, 0.13) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(30, 80, 110, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 50% 40%, rgba(120, 60, 20, 0.10) 0%, transparent 60%),
        linear-gradient(160deg, #0B1215 0%, #0e1820 40%, #0B1215 100%);
    pointer-events: none;
}

/* === Animated Aurora Top === */
body::after {
    content: '';
    position: fixed;
    top: -30%;
    left: -10%;
    width: 120%;
    height: 70%;
    z-index: -2;
    background: conic-gradient(
        from 200deg at 50% 50%,
        rgba(197, 160, 89, 0.0) 0deg,
        rgba(197, 160, 89, 0.10) 60deg,
        rgba(60, 120, 180, 0.08) 120deg,
        rgba(197, 160, 89, 0.0) 180deg,
        rgba(160, 80, 30, 0.07) 240deg,
        rgba(197, 160, 89, 0.0) 360deg
    );
    filter: blur(60px);
    animation: auroraRotate 18s linear infinite;
    pointer-events: none;
    border-radius: 50%;
}

@keyframes auroraRotate {
    0%   { transform: rotate(0deg) scale(1.0); opacity: 0.7; }
    50%  { transform: rotate(180deg) scale(1.15); opacity: 1; }
    100% { transform: rotate(360deg) scale(1.0); opacity: 0.7; }
}

/* === Legacy bg-glow elements — now enhanced === */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* Golden pulse blob — top center */
.bg-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.30) 0%, rgba(197, 100, 30, 0.12) 50%, transparent 75%);
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(80px);
    animation: blobPulse1 8s ease-in-out infinite;
}

@keyframes blobPulse1 {
    0%, 100% { transform: translateX(-50%) scale(1);   opacity: 0.65; }
    50%       { transform: translateX(-50%) scale(1.18); opacity: 1.0; }
}

/* Teal deep blob — mid right */
.bg-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 90, 130, 0.28) 0%, transparent 70%);
    top: 38%;
    right: -120px;
    filter: blur(90px);
    animation: blobPulse2 11s ease-in-out infinite;
}

@keyframes blobPulse2 {
    0%, 100% { transform: scale(1) translateY(0);    opacity: 0.55; }
    50%       { transform: scale(1.22) translateY(-30px); opacity: 0.85; }
}

/* Amber warm blob — bottom left */
.bg-glow-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(180, 100, 30, 0.22) 0%, rgba(197, 160, 89, 0.10) 40%, transparent 70%);
    bottom: -180px;
    left: -130px;
    filter: blur(100px);
    animation: blobPulse3 13s ease-in-out infinite;
}

@keyframes blobPulse3 {
    0%, 100% { transform: scale(1) rotate(0deg);    opacity: 0.50; }
    50%       { transform: scale(1.15) rotate(15deg); opacity: 0.80; }
}

/* === Floating Bokeh Stars === */
.bokeh-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bokeh-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.55);
    box-shadow: 0 0 12px 4px rgba(197, 160, 89, 0.35);
    animation: bokehFloat linear infinite;
    opacity: 0;
}

/* Individual bokeh sizes & positions */
.bokeh-dot:nth-child(1)  { width:4px;  height:4px;  left:8%;   animation-duration:14s; animation-delay:0s;   }
.bokeh-dot:nth-child(2)  { width:3px;  height:3px;  left:18%;  animation-duration:18s; animation-delay:2s;   }
.bokeh-dot:nth-child(3)  { width:5px;  height:5px;  left:30%;  animation-duration:11s; animation-delay:4s;   }
.bokeh-dot:nth-child(4)  { width:2px;  height:2px;  left:45%;  animation-duration:20s; animation-delay:1s;   }
.bokeh-dot:nth-child(5)  { width:4px;  height:4px;  left:60%;  animation-duration:16s; animation-delay:6s;   }
.bokeh-dot:nth-child(6)  { width:3px;  height:3px;  left:72%;  animation-duration:13s; animation-delay:3s;   }
.bokeh-dot:nth-child(7)  { width:5px;  height:5px;  left:85%;  animation-duration:19s; animation-delay:7s;   }
.bokeh-dot:nth-child(8)  { width:2px;  height:2px;  left:55%;  animation-duration:22s; animation-delay:5s;   }
.bokeh-dot:nth-child(9)  { width:3px;  height:3px;  left:25%;  animation-duration:17s; animation-delay:9s;   }
.bokeh-dot:nth-child(10) { width:4px;  height:4px;  left:90%;  animation-duration:12s; animation-delay:2.5s; }
.bokeh-dot:nth-child(11) { width:2px;  height:2px;  left:40%;  animation-duration:21s; animation-delay:8s;   background: rgba(100,180,220,0.5); box-shadow: 0 0 10px 3px rgba(100,180,220,0.3); }
.bokeh-dot:nth-child(12) { width:3px;  height:3px;  left:70%;  animation-duration:15s; animation-delay:11s;  background: rgba(220,160,80,0.6);  box-shadow: 0 0 10px 3px rgba(220,160,80,0.4); }

@keyframes bokehFloat {
    0%   { transform: translateY(110vh) scale(0.5); opacity: 0;   }
    10%  { opacity: 0.9; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* === Scanline Texture Overlay === */
.bg-scanline {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
    );
}


/* ==========================================
   STICKY LANGUAGE TOGGLE
   ========================================== */
.lang-switch-container {
    position: fixed;
    top: 16px;
    left: 16px;
    right: auto;
    z-index: 1000;
}

body[data-lang="en"] .lang-switch-container {
    left: auto;
    right: 16px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--secondary-color);
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 4px 25px rgba(232, 93, 4, 0.25);
}

/* ==========================================
   THEME COLOR SWITCHER (COLLAPSIBLE)
   ========================================== */
.theme-switcher {
    position: fixed;
    top: 60px;
    left: 16px;
    right: auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0;
}

body[data-lang="en"] .theme-switcher {
    left: auto;
    right: 16px;
}

.theme-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.3);
}

/* Dots panel — hidden by default */
.theme-dots {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px 7px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 0 30px 30px 0;
    margin-right: -4px;
    /* Hidden state */
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                opacity 0.3s ease,
                padding 0.3s ease;
    padding-right: 0;
    padding-left: 0;
}

body[data-lang="en"] .theme-dots {
    border-radius: 30px 0 0 30px;
    margin-right: 0;
    margin-left: -4px;
}

/* Open state */
.theme-dots.open {
    max-width: 220px;
    opacity: 1;
    pointer-events: all;
    padding: 7px 12px 7px 8px;
}

.theme-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
    flex-shrink: 0;
}

.theme-dot:hover {
    transform: scale(1.28);
    border-color: rgba(255, 255, 255, 0.5);
}

.theme-dot.active {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.65);
    transform: scale(1.22);
}

/* ==========================================
   LAYOUT CONTAINER
   ========================================== */
.container {
    width: 100%;
    max-width: 580px; /* Highly optimized links & restaurant layout */
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 48px;
}

.logo-container {
    margin-bottom: 24px;
}

.logo-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(197, 160, 89, 0.1) 100%);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatLogo 6s ease-in-out infinite;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
}

.brand-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--secondary-color) 40%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 6px;
    margin-bottom: 36px;
    text-transform: uppercase;
}

.welcome-box {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: var(--card-shadow);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.welcome-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.welcome-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.welcome-text {
    font-size: 0.95rem;
    color: var(--text-white);
    opacity: 0.85;
    line-height: 1.8;
}

.cta-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 48px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0b1215;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--glow-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(197, 160, 89, 0.55);
}

/* ==========================================
   OFFERS SECTION
   ========================================== */
.offers-section {
    width: 100%;
    margin-bottom: 56px;
}

.section-title {
    font-size: 1.45rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

/* المستطيل الذهبي للعناوين */
.section-title-gold {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #C5A059 0%, #e8c97a 40%, #C5A059 70%, #a07c30 100%);
    color: #ffffff !important;
    padding: 16px 28px;
    border-radius: 18px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(197, 160, 89, 0.45), 0 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.section-title-gold::before {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: goldShine 3s ease-in-out infinite;
}

@keyframes goldShine {
    0%   { left: -75%; }
    100% { left: 125%; }
}

.section-title-gold span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* مستطيل ذهبي حول زر اطلب الآن */
.btn-order-now-wrapper {
    padding: 5px;
    border-radius: 55px;
    background: linear-gradient(135deg, #C5A059 0%, #e8c97a 50%, #C5A059 100%);
    background-size: 200% 200%;
    animation: goldPulse 3s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.5);
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 320px;
}

@keyframes goldPulse {
    0%, 100% { background-position: 0% 50%; box-shadow: 0 4px 20px rgba(197, 160, 89, 0.5); }
    50%       { background-position: 100% 50%; box-shadow: 0 4px 30px rgba(197, 160, 89, 0.8); }
}

.btn-order-now-wrapper .btn-order-now {
    background: #0b1215;
    color: #ffffff;
    border: none;
    max-width: 100%;
    width: 100%;
    font-weight: 800;
    font-size: 1.1rem;
}

.btn-order-now-wrapper .btn-order-now:hover {
    background: #0f1c21;
    transform: none;
    box-shadow: none;
}

/* ربط عناوين الأقسام بالصفحات الأخرى */
.menu-title-link {
    text-decoration: none;
    display: block;
    width: 100%;
    margin-bottom: 24px;
}

.menu-header-gold {
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.menu-header-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.45);
}

.menu-click-btn {
    background: #0b1215;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    animation: menuBtnPulse 2s infinite;
    vertical-align: middle;
    margin-right: 12px;
}

body[dir="ltr"] .menu-click-btn {
    margin-left: 12px;
    margin-right: 0;
}

@keyframes menuBtnPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    50% { 
        transform: scale(1.08); 
        box-shadow: 0 0 12px rgba(197, 160, 89, 0.6);
        border-color: var(--primary-color);
    }
}

.offer-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* المستطيل المتغيّر الألوان */
.offer-card-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 4px;
    border-radius: 28px;
    position: relative;
    background: linear-gradient(90deg, #ff416c, #ff9a00, #36d1dc, #1fa2ff, #a855f7, #ff416c);
    background-size: 300% 300%;
    animation: borderColorCycle 4s linear infinite;
    box-shadow: 0 0 32px rgba(255, 100, 100, 0.3);
}

@keyframes borderColorCycle {
    0%   { background-position: 0% 50%;   box-shadow: 0 0 30px rgba(255, 65, 108, 0.5); }
    17%  { background-position: 50% 50%;  box-shadow: 0 0 30px rgba(255, 154, 0, 0.5); }
    33%  { background-position: 100% 50%; box-shadow: 0 0 30px rgba(54, 209, 220, 0.5); }
    50%  { background-position: 100% 0%;  box-shadow: 0 0 30px rgba(31, 162, 255, 0.5); }
    67%  { background-position: 50% 0%;   box-shadow: 0 0 30px rgba(168, 85, 247, 0.5); }
    83%  { background-position: 0% 0%;    box-shadow: 0 0 30px rgba(255, 65, 108, 0.5); }
    100% { background-position: 0% 50%;   box-shadow: 0 0 30px rgba(255, 65, 108, 0.5); }
}

.offer-card {
    background: #0d1a1e;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.offer-card-wrapper:hover .offer-card {
    transform: scale(0.995);
}

.offer-badge {
    position: absolute;
    top: 16px;
    background: linear-gradient(135deg, #e63946 0%, #d62828 100%);
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

body[data-lang="ar"] .offer-badge {
    left: 16px;
}

body[data-lang="en"] .offer-badge {
    right: 16px;
}

.offer-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.offer-card-wrapper:hover .offer-img {
    transform: scale(1.01);
}

.offer-action {
    padding: 24px;
    display: flex;
    justify-content: center;
    background: rgba(11, 18, 21, 0.6);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-order-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 56px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b1215;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--glow-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
    text-align: center;
}

.btn-order-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(197, 160, 89, 0.55);
}

/* ==========================================
   DIGITAL MENU SECTION
   ========================================== */
.menu-section {
    width: 100%;
    margin-bottom: 56px;
}

.menu-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 6px;
    width: 100%;
    scrollbar-width: none; /* Hide scrollbars */
}

.menu-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex: 0 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #0b1215;
    border-color: transparent;
    box-shadow: var(--glow-shadow);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}

.menu-item-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 14px 12px;
    gap: 8px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.menu-item-card[data-category="chicken"] { border-top: 3px solid var(--cat-chicken); }
.menu-item-card[data-category="meat"] { border-top: 3px solid var(--cat-meat); }
.menu-item-card[data-category="mix"] { border-top: 3px solid var(--cat-mix); }
.menu-item-card[data-category="breakfast"] { border-top: 3px solid var(--cat-breakfast); }
.menu-item-card[data-category="sweet"] { border-top: 3px solid var(--cat-sweet); }
.menu-item-card[data-category="waffle"] { border-top: 3px solid var(--cat-waffle); }
.menu-item-card[data-category="burger"] { border-top: 3px solid var(--cat-burger); }
.menu-item-card[data-category="syrian"] { border-top: 3px solid var(--cat-syrian); }

.menu-item-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 10px 25px rgba(232, 93, 4, 0.2);
}

.item-badge-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 6px;
    min-height: 20px;
}

.item-badge-wrapper.empty-badge {
    min-height: 0;
    margin-bottom: 0;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
}

.badge-hot {
    background: rgba(230, 57, 70, 0.22);
    border: 1px solid rgba(230, 57, 70, 0.65);
    color: #ff6b6b;
}

.badge-star {
    background: rgba(255, 183, 3, 0.22);
    border: 1px solid rgba(255, 183, 3, 0.65);
    color: #ffc107;
}

.item-details {
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.item-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4px;
    gap: 2px;
}

.item-header h3,
.item-name {
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

.item-price {
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    direction: rtl;
}

.item-details p,
.item-desc {
    font-size: 0.6rem;
    color: var(--text-gray);
    line-height: 1.3;
    margin: 0 0 4px 0;
    text-align: center;
}

.btn-select-order {
    background: transparent;
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 30px;
    font-size: 0.62rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: var(--transition-smooth);
    width: 100%;
}

.btn-select-order:hover {
    background: var(--primary-color);
    color: #0b1215;
    border-color: transparent;
    transform: scale(1.03);
}

.order-buttons-group {
    display: flex;
    gap: 4px;
    margin-top: 2px;
    width: 100%;
}

.order-buttons-group .btn-select-order {
    flex: 1;
    margin-top: 0;
    justify-content: center;
    padding: 3px 2px;
}


/* ==========================================
   WHATSAPP PRE-ORDER FORM — MOBILE FIRST
   ========================================== */
.order-form-section {
    width: 100%;
    margin-bottom: 40px;
}

.form-container {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 20px 16px;
    box-shadow: var(--card-shadow);
}

.whatsapp-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

/* Row: item select + qty side by side */
.form-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.flex-1 { flex: 1; min-width: 70px; }
.flex-2 { flex: 2; }

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-white);
    padding: 12px 13px;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
    outline: none;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

body[data-lang="ar"] .form-group input,
body[data-lang="ar"] .form-group select,
body[data-lang="ar"] .form-group textarea {
    font-family: var(--font-ar);
    direction: rtl;
}

body[data-lang="en"] .form-group input,
body[data-lang="en"] .form-group select,
body[data-lang="en"] .form-group textarea {
    font-family: var(--font-en);
    direction: ltr;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.18);
}

.form-group select option {
    background: var(--bg-color);
    color: var(--text-white);
}

.form-group textarea {
    resize: none;
    min-height: 70px;
    line-height: 1.5;
}

/* ===== Toggle Buttons: Order Type, Payment, Size ===== */
.order-type-toggle,
.payment-type-toggle,
.size-type-toggle {
    display: flex;
    gap: 8px;
    width: 100%;
}

.order-type-btn,
.payment-type-btn,
.size-type-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 10px;
    border: 1.5px solid var(--glass-border);
    background: rgba(255,255,255,0.03);
    color: var(--text-gray);
    font-family: var(--font-ar);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
    text-align: center;
    white-space: nowrap;
}

.order-type-btn i,
.payment-type-btn i {
    font-size: 0.85rem;
}

.order-type-btn.active,
.payment-type-btn.active,
.size-type-btn.active {
    background: linear-gradient(135deg, rgba(197,160,89,0.22) 0%, rgba(197,160,89,0.08) 100%);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(197,160,89,0.2);
}

.order-type-btn:hover:not(.active),
.payment-type-btn:hover:not(.active),
.size-type-btn:hover:not(.active) {
    border-color: rgba(197,160,89,0.4);
    color: var(--text-white);
}

/* ===== Submit Button ===== */
.btn-submit-order {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 16px;
    font-size: 1rem;
    font-weight: 800;
    font-family: var(--font-ar);
    color: #0b1215;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: var(--glow-shadow);
    transition: var(--transition-smooth);
    margin-top: 4px;
}

.btn-submit-order i {
    font-size: 1.2rem;
}

.btn-submit-order:hover,
.btn-submit-order:active {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(197, 160, 89, 0.5);
}

/* Mobile tweaks for form */
@media (max-width: 400px) {
    .form-container {
        padding: 16px 12px;
    }
    .whatsapp-form {
        gap: 14px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 11px;
        font-size: 0.84rem;
    }
    .order-type-btn,
    .payment-type-btn,
    .size-type-btn {
        font-size: 0.75rem;
        padding: 9px 4px;
        gap: 4px;
    }
    .btn-submit-order {
        font-size: 0.95rem;
        padding: 14px;
    }
}

/* ==========================================
   SOCIAL LINKS SECTION (BIO-LINK GRID)
   ========================================== */
.social-section {
    width: 100%;
    margin-bottom: 56px;
}

.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.social-card {
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 16px 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.social-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--glass-border-hover);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.12);
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    width: 4px;
    height: 100%;
    background: transparent;
    transition: var(--transition-smooth);
}

body[data-lang="ar"] .social-card::before { right: 0; }
body[data-lang="en"] .social-card::before { left: 0; }

.social-card:hover::before {
    background: var(--primary-color);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition-smooth);
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

body[data-lang="ar"] .card-icon { margin-left: 18px; }
body[data-lang="en"] .card-icon { margin-right: 18px; }

.social-card:hover .card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #0b1215;
    border-color: transparent;
}

/* Social Network Accent Glows on Hover */
.social-card:hover .card-icon.facebook { box-shadow: 0 0 15px rgba(24, 119, 242, 0.35); }
.social-card:hover .card-icon.instagram { box-shadow: 0 0 15px rgba(225, 48, 108, 0.35); }
.social-card:hover .card-icon.tiktok { box-shadow: 0 0 15px rgba(255, 0, 80, 0.35); }
.social-card:hover .card-icon.threads { box-shadow: 0 0 15px rgba(255, 255, 255, 0.35); }
.social-card:hover .card-icon.phone { box-shadow: 0 0 15px rgba(46, 204, 113, 0.35); }

.card-content {
    flex-grow: 1;
}

.card-content h3 {
    font-family: var(--font-en);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-white);
}

.social-card[href^="tel"] .card-content h3 {
    font-family: inherit;
}

.follow-text {
    font-size: 0.82rem;
    color: var(--text-gray);
}

.card-arrow {
    font-size: 0.85rem;
    color: var(--text-gray);
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.social-card:hover .card-arrow {
    opacity: 1;
    color: var(--primary-color);
}

body[data-lang="ar"] .social-card:hover .card-arrow {
    transform: translateX(-4px);
}
body[data-lang="en"] .social-card:hover .card-arrow {
    transform: translateX(4px);
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
    width: 100%;
    margin-bottom: 56px;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.review-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.review-card:hover {
    border-color: rgba(197, 160, 89, 0.35);
    transform: translateY(-2px);
}

.review-stars {
    font-size: 0.95rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-card p {
    font-style: italic;
    font-size: 0.92rem;
    color: var(--text-white);
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 14px;
}

.review-author {
    display: block;
    font-size: 0.82rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* ==========================================
   HOURS & LOCATION SECTION
   ========================================== */
.location-section {
    width: 100%;
    margin-bottom: 56px;
}

.location-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

@media (max-width: 480px) {
    .location-cards {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.btn-map {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.btn-map:hover {
    background: var(--primary-color);
    color: #0b1215;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.25);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer-section {
    width: 100%;
    text-align: center;
    padding-top: 24px;
}

.footer-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto 28px;
}

.footer-thanks {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.footer-message {
    font-size: 0.88rem;
    color: var(--text-gray);
    opacity: 0.85;
    max-width: 90%;
    margin: 0 auto 24px;
    line-height: 1.8;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-gray);
    opacity: 0.5;
    letter-spacing: 0.5px;
}

/* ==========================================
   ORDER, PAYMENT & SIZE TYPE TOGGLE (DELIVERY / PICKUP / PAYMENT / SIZE)
   ========================================== */
.order-type-toggle,
.payment-type-toggle,
.size-type-toggle {
    display: flex;
    gap: 10px;
    width: 100%;
}

.order-type-btn,
.payment-type-btn,
.size-type-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 12px;
    border: 1.5px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-gray);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-ar);
}

.order-type-btn i,
.payment-type-btn i,
.size-type-btn i {
    font-size: 1rem;
}

.order-type-btn:hover,
.payment-type-btn:hover,
.size-type-btn:hover {
    border-color: rgba(197, 160, 89, 0.35);
    color: var(--secondary-color);
}

.order-type-btn.active,
.payment-type-btn.active,
.size-type-btn.active {
    background: linear-gradient(135deg, rgba(197,160,89,0.18), rgba(197,160,89,0.08));
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 14px rgba(197, 160, 89, 0.2);
}

/* ==========================================
   ANIMATIONS & EFFECTS
   ========================================== */
@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.fade-down { transform: translateY(-30px); }
.reveal.fade-down.active { transform: translateY(0); }

.reveal.fade-up { transform: translateY(30px); }
.reveal.fade-up.active { transform: translateY(0); }

/* ==========================================
   RESPONSIVE DESIGN SYSTEM (MOBILE OPTIMIZATION)
   ========================================== */
@media (max-width: 480px) {
    .container {
        padding: 35px 12px;
    }
    
    .hero-section, 
    .social-section, 
    .order-form-section, 
    .specials-section, 
    .menu-section, 
    .testimonials-section, 
    .location-section {
        margin-bottom: 28px;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 18px;
        letter-spacing: 0.5px;
    }
    
    .lang-switch-container {
        top: 12px;
        left: 12px;
        right: auto;
    }
    
    body[data-lang="en"] .lang-switch-container {
        left: auto;
        right: 12px;
    }
    
    .lang-btn {
        padding: 7px 12px;
        font-size: 0.75rem;
        border-radius: 20px;
    }
    
    .brand-title {
        font-size: 1.95rem;
        letter-spacing: 1px;
    }
    
    .brand-subtitle {
        font-size: 0.85rem;
        letter-spacing: 4px;
        margin-bottom: 24px;
    }
    
    .logo-wrapper {
        width: 95px;
        height: 95px;
        padding: 3px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(197, 160, 89, 0.15);
    }
    
    .welcome-box {
        padding: 16px 14px;
        border-radius: 16px;
        margin-bottom: 18px;
        border: 1px solid rgba(197, 160, 89, 0.15);
    }
    
    .welcome-title {
        font-size: 0.98rem;
        margin-bottom: 8px;
    }
    
    .welcome-text {
        font-size: 0.8rem;
        line-height: 1.55;
    }
    
    .btn-order {
        padding: 11px 32px;
        font-size: 0.85rem;
        gap: 8px;
    }

    /* Social Section Mobile Optimization */
    .cards-grid {
        gap: 8px;
    }
    
    .social-card {
        padding: 10px 14px;
        border-radius: 14px;
        border: 1px solid rgba(197, 160, 89, 0.12);
    }
    
    .card-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    body[data-lang="ar"] .card-icon { margin-left: 10px; }
    body[data-lang="en"] .card-icon { margin-right: 10px; }
    
    .card-content h3 {
        font-size: 0.92rem;
    }
    
    .follow-text {
        font-size: 0.72rem;
    }

    /* WhatsApp Form Mobile Optimization */
    .form-container {
        padding: 18px 14px;
        border-radius: 16px;
        border: 1px solid rgba(197, 160, 89, 0.15);
    }

    .whatsapp-form {
        gap: 12px;
    }

    .form-group {
        gap: 5px;
    }

    .form-group label {
        font-size: 0.8rem;
        color: var(--secondary-color);
    }

    .form-group input, 
    .form-group select, 
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.85rem;
        border-radius: 10px;
        border: 1px solid rgba(197, 160, 89, 0.2);
    }

    .btn-submit-order {
        padding: 11px;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    /* Specials Mobile Optimization */
    .special-card img {
        height: 115px;
    }

    .special-info {
        padding: 10px;
    }

    .special-info h3 {
        font-size: 0.92rem;
    }

    .special-info p {
        font-size: 0.75rem;
    }

    /* Digital Menu Mobile Optimization */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

    .menu-tabs {
        margin-bottom: 16px;
        gap: 8px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .tab-btn {
        padding: 8px 14px;
        font-size: 0.78rem;
        border-radius: 20px;
        border: 1px solid var(--glass-border);
        white-space: nowrap;
    }
    
    .menu-item-card {
        padding: 10px 8px;
        border-radius: 12px;
        gap: 6px;
        border: 1px solid var(--glass-border);
        background: rgba(255, 255, 255, 0.025);
    }

    .item-name {
        font-size: 0.84rem;
        font-weight: 700;
    }
    
    .item-price {
        font-size: 0.74rem;
        font-weight: 700;
        color: var(--secondary-color);
    }

    .item-details p,
    .item-desc {
        font-size: 0.68rem;
        line-height: 1.35;
        margin-bottom: 4px;
        opacity: 0.9;
    }

    .btn-select-order {
        padding: 5px 8px;
        font-size: 0.7rem;
        font-weight: 700;
    }

    .order-buttons-group {
        gap: 2px;
        margin-top: 2px;
    }

    .order-buttons-group .btn-select-order {
        padding: 2px 1px;
    }

    /* Location & Testimonials */
    .location-cards {
        gap: 10px;
    }
    
    .info-card {
        padding: 18px 12px;
        border-radius: 16px;
        border: 1px solid rgba(197, 160, 89, 0.12);
    }

    .info-card i {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .info-card h3 {
        font-size: 0.95rem;
    }

    .info-card p {
        font-size: 0.74rem;
        line-height: 1.5;
    }

    .review-card {
        padding: 14px;
        border-radius: 14px;
        border: 1px solid rgba(197, 160, 89, 0.12);
    }

    .review-card p {
        font-size: 0.78rem;
        line-height: 1.45;
        margin-bottom: 8px;
    }
}

/* ==========================================
   BUILDER PAGE & CUSTOM CREPE STYLES
   ========================================== */
.builder-container {
    max-width: 620px;
    padding-bottom: 150px !important;
}

.builder-top-bar {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.builder-top-bar .btn-back {
    align-self: flex-start;
}

body[dir="rtl"] .builder-top-bar .btn-back {
    align-self: flex-start;
}

.builder-title-box {
    width: 100%;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.22) 0%, rgba(197, 160, 89, 0.06) 100%);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 16px 20px;
    box-shadow: 0 6px 25px rgba(197, 160, 89, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.builder-main-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.builder-subtitle {
    font-size: 0.82rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
}

.builder-wizard {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.builder-step-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    width: 100%;
}

.builder-step-card:hover {
    border-color: rgba(197, 160, 89, 0.3);
}

.step-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(197, 160, 89, 0.2);
}

.step-num {
    background: linear-gradient(135deg, var(--primary-color), #e8c97a);
    color: #0b1215;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
}

.step-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}

@media (min-width: 520px) {
    .step-options-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.chip-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 14px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    position: relative;
    user-select: none;
    touch-action: manipulation;
}

.chip-card input[type="radio"],
.chip-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    background: rgba(197, 160, 89, 0.08);
}

.chip-card.selected {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.22) 0%, rgba(197, 160, 89, 0.06) 100%);
    border: 1.5px solid var(--primary-color);
    box-shadow: 0 4px 18px rgba(197, 160, 89, 0.3);
}

.chip-card.selected::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-color);
}

body[dir="ltr"] .chip-card.selected::after {
    right: auto;
    left: 8px;
}

.chip-icon {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.chip-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
}

.chip-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.3;
}

.chip-desc {
    font-size: 0.7rem;
    color: var(--text-gray);
    line-height: 1.2;
}

.chip-price {
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 2px;
}

/* Size Selector Box */
.size-selector-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(0, 0, 0, 0.25);
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    width: 100%;
}

.size-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.size-toggle-buttons {
    display: flex;
    gap: 8px;
}

.btn-size-toggle {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-size-toggle.active {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #0b1215;
    border-color: transparent;
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.4);
}

/* Sticky Bottom Summary Bar */
.builder-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 580px;
    background: rgba(11, 18, 21, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 2px solid var(--primary-color);
    padding: 12px 16px;
    z-index: 999;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-details {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    overflow: hidden;
}

.summary-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.summary-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.summary-tags::-webkit-scrollbar {
    display: none;
}

.tag-pill {
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid var(--primary-color);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.tag-pill i {
    font-size: 0.65rem;
    color: var(--primary-color);
}

.summary-total-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-gray);
}

.total-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.currency {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.builder-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-builder-action {
    padding: 8px 12px;
    border-radius: 25px;
    border: none;
    font-weight: 800;
    font-size: 0.78rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.25s ease;
    white-space: nowrap;
    touch-action: manipulation;
}

.btn-wa-direct {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-wa-direct:hover,
.btn-wa-direct:active {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-checkout-form {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #0b1215;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
}

.btn-checkout-form:hover,
.btn-checkout-form:active {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
}

@media (max-width: 480px) {
    .builder-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-bottom: 145px !important;
    }
    .builder-step-card {
        padding: 14px 10px;
    }
    .step-badge {
        font-size: 0.92rem;
        margin-bottom: 12px;
    }
    .chip-card {
        padding: 10px 4px;
    }
    .chip-title {
        font-size: 0.75rem;
    }
    .chip-price {
        font-size: 0.7rem;
    }
    .btn-builder-action {
        padding: 7px 10px;
        font-size: 0.72rem;
    }
    .total-amount {
        font-size: 1.25rem;
    }
}

/* ==========================================
   INTERACTIVE CREPE CANVAS & VISUAL STAGE
   ========================================== */
.crepe-visual-stage {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
}

.stage-plate {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.45) 100%);
    border: 2px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 12px 40px rgba(0,0,0,0.65), inset 0 0 20px rgba(197,160,89,0.15);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.4s ease;
}

.plate-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,160,89,0.25) 0%, transparent 70%);
    animation: pulsePlateGlow 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulsePlateGlow {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.05); }
}

.crepe-base-art {
    width: 165px;
    height: 165px;
    position: relative;
    border-radius: 50% 50% 25% 25%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.55);
}

.savory-base {
    background: linear-gradient(135deg, #e8be6b 0%, #c4943f 60%, #9e7123 100%);
    border: 3px solid #f2d591;
}

.sweet-base {
    background: linear-gradient(135deg, #6b4423 0%, #4a2e16 60%, #2b1708 100%);
    border: 3px solid #9e6d44;
}

.crepe-fold {
    position: absolute;
    top: 18%;
    width: 82%;
    height: 5px;
    background: rgba(0,0,0,0.25);
    border-radius: 4px;
}

.crepe-glow-ring {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 15px rgba(255,255,255,0.2);
    pointer-events: none;
}

.crepe-layers-canvas {
    position: absolute;
    inset: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 5px;
    padding: 20px 10px 10px 10px;
    z-index: 3;
    pointer-events: none;
}

.visual-ingredient-chip {
    background: rgba(11, 18, 21, 0.88);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 3px 8px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: popIngredient 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 14px rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

@keyframes popIngredient {
    0% { transform: scale(0) rotate(-18deg); opacity: 0; }
    80% { transform: scale(1.15) rotate(4deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.stage-status-box {
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    padding: 6px 18px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--secondary-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 10px #25D366;
    animation: statusBlink 1.5s infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Floating Particle Animation */
.floating-particle {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
    animation: floatUpParticle 0.75s ease-out forwards;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
    background: rgba(11, 18, 21, 0.9);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--primary-color);
}

@keyframes floatUpParticle {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-45px) scale(1.25); }
}

@media (max-width: 480px) {
    .builder-container {
        padding-left: 8px !important;
        padding-right: 8px !important;
        padding-bottom: 140px !important;
    }

    .hero-section {
        margin-bottom: 14px !important;
    }

    .brand-title {
        font-size: 1.8rem !important;
    }

    .crepe-visual-stage {
        margin-bottom: 16px;
    }

    .stage-plate {
        width: 155px;
        height: 155px;
        padding: 6px;
    }

    .crepe-base-art {
        width: 125px;
        height: 125px;
    }

    .visual-ingredient-chip {
        font-size: 0.62rem;
        padding: 2px 5px;
        gap: 2px;
    }

    .stage-status-box {
        margin-top: 10px;
        font-size: 0.72rem;
        padding: 4px 12px;
        max-width: 94%;
        text-align: center;
    }

    .builder-step-card {
        padding: 12px 8px;
        border-radius: 16px;
    }

    .step-badge {
        font-size: 0.88rem;
        margin-bottom: 10px;
        padding-bottom: 6px;
    }

    .step-num {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .step-options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .chip-card {
        padding: 10px 4px;
        border-radius: 12px;
    }

    .chip-icon {
        font-size: 1.25rem;
    }

    .chip-title {
        font-size: 0.74rem;
    }

    .chip-desc {
        font-size: 0.64rem;
    }

    .chip-price {
        font-size: 0.7rem;
    }

    .size-selector-box {
        padding: 8px 10px;
        gap: 6px;
    }

    .size-label {
        font-size: 0.78rem;
    }

    .btn-size-toggle {
        padding: 5px 10px;
        font-size: 0.74rem;
    }

    .builder-sticky-bar {
        padding: 10px 10px 8px 10px;
        border-radius: 16px 16px 0 0;
        gap: 6px;
    }

    .summary-title {
        font-size: 0.7rem;
    }

    .tag-pill {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .total-amount {
        font-size: 1.25rem;
    }

    .price-label {
        font-size: 0.75rem;
    }

    .currency {
        font-size: 0.7rem;
    }

    .builder-actions {
        gap: 5px;
    }

    .btn-builder-action {
        padding: 7px 9px;
        font-size: 0.7rem;
        border-radius: 20px;
    }
}

@media (max-width: 360px) {
    .step-options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .chip-card {
        padding: 8px 2px;
    }

    .chip-title {
        font-size: 0.68rem;
    }

    .btn-builder-action {
        padding: 6px 7px;
        font-size: 0.65rem;
    }
}

/* ==========================================
   PARTICLE DISSOLVE SPLASH SCREEN
   ========================================== */

.door-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0B1215;
    pointer-events: all;
    overflow: hidden;
}

/* Logo centered above particles */
.door-logo-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 200;
    text-align: center;
    pointer-events: none;
    animation: splashLogoIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes splashLogoIn {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 30px)) scale(0.7); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Glowing ring around logo */
.door-logo-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #C5A059, rgba(197,160,89,0.25), #C5A059);
    box-shadow:
        0 0 0 6px rgba(197, 160, 89, 0.12),
        0 0 50px rgba(197, 160, 89, 0.5),
        0 0 100px rgba(197, 160, 89, 0.2);
    animation: ringPulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes ringPulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(197,160,89,0.12), 0 0 50px rgba(197,160,89,0.45), 0 0 100px rgba(197,160,89,0.15); }
    50%       { box-shadow: 0 0 0 10px rgba(197,160,89,0.25), 0 0 80px rgba(197,160,89,0.85), 0 0 140px rgba(197,160,89,0.35); }
}

.door-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0B1215;
    display: block;
}

.door-brand-name {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #F3EFE0 30%, #C5A059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.door-brand-sub {
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 400;
    color: #C5A059;
    letter-spacing: 7px;
    text-transform: uppercase;
    opacity: 0.9;
    white-space: nowrap;
}

/* Logo fade out when particles start flying */
.door-logo-wrap.dissolving {
    animation: splashLogoOut 0.5s ease forwards;
}

@keyframes splashLogoOut {
    to { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}

/* Particle layer (injected by JS) */
.particles-layer {
    position: absolute;
    inset: 0;
    z-index: 100;
    pointer-events: none;
}

/* Individual particle squares */
.splash-particle {
    position: absolute;
    /* Mix of dark + gold tinted particles */
    background: #0B1215;
    animation: particleFly var(--dur, 0.85s) cubic-bezier(0.55, 0, 1, 0.45) var(--delay, 0s) both;
    will-change: transform, opacity;
}

/* ~15% of particles get a golden tint */
.splash-particle.gold {
    background: rgba(197, 160, 89, 0.85);
}

.splash-particle.gold-dim {
    background: rgba(197, 130, 50, 0.45);
}

@keyframes particleFly {
    0%   {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }
    60%  { opacity: 0.7; }
    100% {
        transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.15);
        opacity: 0;
    }
}

/* Hidden state */
.door-splash.hidden {
    pointer-events: none;
    visibility: hidden;
}

/* ==========================================
   2026 ULTRA LUXURY DESIGN SYSTEM ENHANCEMENTS
   ========================================== */

/* === Store Status Badge === */
.restaurant-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.status-dot {
    width: 9px;
    height: 9px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.5; }
}

/* === Live Search Bar === */
.search-container {
    width: 100%;
    max-width: 580px;
    margin: 0 auto 24px auto;
    position: relative;
}

.search-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.05rem;
    pointer-events: none;
}

body[data-lang="ar"] .search-icon { right: 16px; }
body[data-lang="en"] .search-icon { left: 16px; }

.menu-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.035);
    border: 1.5px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 50px;
    color: var(--text-white);
    font-size: 0.95rem;
    padding: 14px 20px;
    transition: var(--transition-smooth);
    outline: none;
    box-shadow: var(--card-shadow);
}

body[data-lang="ar"] .menu-search-input {
    padding-right: 48px;
    padding-left: 20px;
    font-family: var(--font-ar);
}

body[data-lang="en"] .menu-search-input {
    padding-left: 48px;
    padding-right: 20px;
    font-family: var(--font-en);
}

.menu-search-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.35);
}

/* === Item Badges === */
.badge-tag {
    position: absolute;
    top: 8px;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3px;
}

body[data-lang="ar"] .badge-tag { left: 8px; }
body[data-lang="en"] .badge-tag { right: 8px; }

.badge-hot {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: #ffffff;
}

.badge-star {
    background: linear-gradient(135deg, #f7b733, #fc4a1a);
    color: #ffffff;
}

/* === Floating Order Cart Badge === */
.floating-cart-btn {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 999;
    background: linear-gradient(135deg, #C5A059 0%, #e8c97a 50%, #C5A059 100%);
    color: #0b1215;
    padding: 12px 24px;
    border-radius: 40px;
    box-shadow: 0 8px 32px rgba(197, 160, 89, 0.5), 0 2px 10px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-cart-btn.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.floating-cart-btn:hover {
    transform: translateX(-50%) translateY(-4px) scale(1.03);
    box-shadow: 0 12px 40px rgba(197, 160, 89, 0.7);
}

.cart-count-badge {
    background: #0b1215;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

/* === Builder Step Indicator === */
.builder-steps-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
    position: relative;
    padding: 0 10px;
}

.builder-steps-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
    transform: translateY(-50%);
}

.step-node {
    position: relative;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--glass-border);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.step-node.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #0b1215;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
}

/* ==========================================
   ULTRA-LUXURY WORLD-CLASS PORTAL FEATURE CARDS
   ========================================== */
.portal-features-section {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    margin: 28px 0;
}

.portal-card {
    position: relative;
    width: 100%;
    background: linear-gradient(145deg, rgba(20, 28, 33, 0.75) 0%, rgba(11, 18, 21, 0.85) 100%);
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 24px;
    padding: 26px 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.portal-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.65);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.25);
}

.portal-card:hover::before {
    opacity: 1;
}

.portal-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.portal-card-badge.order-badge {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
    color: #25D366;
}

.portal-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 8px;
    line-height: 1.35;
}

.portal-card-desc {
    font-size: 0.92rem;
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.portal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.portal-tag {
    font-size: 0.78rem;
    padding: 5px 11px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    backdrop-filter: blur(4px);
}

.btn-portal-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #c5a059 0%, #a37d38 100%);
    color: #0b1215;
    font-weight: 800;
    font-size: 1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.35);
}

.btn-portal-action:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(197, 160, 89, 0.55);
    background: linear-gradient(135deg, #d4af66 0%, #b88f44 100%);
}

.btn-portal-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-portal-wa:hover {
    background: linear-gradient(135deg, #2bf075 0%, #15a393 100%);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.55);
}

/* ==========================================
   PWA INSTALL BANNER STYLES
   ========================================== */
.pwa-install-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    width: calc(100% - 32px);
    max-width: 440px;
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(197, 160, 89, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.pwa-install-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.pwa-banner-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.pwa-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--primary-color);
}

.pwa-banner-text {
    display: flex;
    flex-direction: column;
}

.pwa-banner-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.pwa-banner-sub {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.pwa-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-pwa-install {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #0b1215;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

.btn-pwa-install:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(197, 160, 89, 0.6);
}

.btn-pwa-close {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.btn-pwa-close:hover {
    color: #ff4d4d;
}




