/* --- Octane Black & Gold Design System --- */
:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --primary-color: #F59E0B; /* Octane Gold */
    --primary-dark: #D97706; /* Darker Gold */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent-gold: #F59E0B;
    --accent-gold-dark: #D97706;
    --shadow-soft: 0 8px 24px rgba(245, 158, 11, 0.05);
    --shadow-hover: 0 16px 35px rgba(245, 158, 11, 0.15);
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-glass: 1px solid rgba(245, 158, 11, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    background: #050505;
    background-size: 400% 400%;
    animation: gradientMovement 12s ease infinite;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

@keyframes gradientMovement {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Scrollbars --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.01);
}
::-webkit-scrollbar-thumb {
    background: rgba(67, 104, 80, 0.15);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(67, 104, 80, 0.3);
}

/* --- Splash Screen (Leaf growing pulse) --- */
.splash-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-content {
    text-align: center;
    animation: splashEnter 1s ease-out forwards;
}

.logo-ring {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(44, 62, 53, 0.1);
    animation: floatGlow 3s ease-in-out infinite;
}

.splash-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-color);
}

.splash-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.splash-subtext {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.loading-dots {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.loading-dots span {
    width: 8px; height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes splashEnter {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes floatGlow {
    0%, 100% { transform: translateY(0); box-shadow: 0 10px 25px rgba(44, 62, 53, 0.1); }
    50% { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(44, 62, 53, 0.2); }
}
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* --- Main Container --- */
/* --- Main Container --- */
.app-container {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
    padding-bottom: 100px;
    position: relative;
    overflow-x: hidden;
    background: #050505; /* Deep Black */
}

/* === Octane Vibrant Energy Aura === */
.app-container::before,
.app-container::after {
    content: '';
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.app-container::before {
    background: rgba(245, 158, 11, 0.15); /* Subtle Gold */
    top: -10%;
    left: -10%;
    animation: energyPulse 15s infinite alternate ease-in-out;
}

.app-container::after {
    background: rgba(245, 158, 11, 0.05); /* Subtle Gold */
    bottom: -10%;
    right: -10%;
    animation: energyPulseReverse 18s infinite alternate ease-in-out;
}

@keyframes energyPulse {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(15vw, 15vh) scale(1.3); }
}

@keyframes energyPulseReverse {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10vw, -15vh) scale(1.4); }
}

.app-container.visible {
    opacity: 1;
    visibility: visible;
}

/* --- Header --- */
.main-header {
    position: sticky;
    top: 0;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    padding: 15px 20px 10px;
    border-bottom: var(--border-glass);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.brand-instagram {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-gold-dark);
    text-decoration: none;
    transition: var(--transition);
}

.brand-instagram ion-icon {
    font-size: 0.95rem;
}

.brand-instagram:hover {
    color: var(--primary-color);
    transform: translateY(-0.5px);
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--card-bg);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    border: var(--border-glass);
    box-shadow: var(--shadow-soft);
}
.rating-badge ion-icon {
    color: var(--accent-gold);
    font-size: 1rem;
}

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

.header-order-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    border-radius: 8px; /* Distinct Square-ish shape */
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
    transition: var(--transition);
    transform: skewX(-12deg); /* Distinct Parallelogram shape */
}

.header-order-btn span, .header-order-btn ion-icon {
    transform: skewX(12deg); /* Counter skew for text to keep it readable */
}

.header-order-btn:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.header-order-btn ion-icon {
    font-size: 1rem;
}

/* --- Category Navigation (Magic Dynamic Island) --- */
.category-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 30, 20, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(200, 159, 83, 0.1);
    padding: 8px;
    z-index: 999;
    display: flex;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    position: relative;
}

.nav-indicator {
    position: absolute;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold), #b88a44);
    border-radius: 30px;
    top: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    box-shadow: 0 5px 15px rgba(200, 159, 83, 0.4);
}

.nav-item {
    padding: 10px 15px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    position: relative;
    z-index: 2;
    border-radius: 30px;
    transition: all 0.4s ease;
}

.nav-item-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item ion-icon {
    font-size: 1.4rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item span {
    font-size: 0.85rem;
    font-weight: 700;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item.active {
    color: #fff;
}

.nav-item.active span {
    max-width: 100px;
    opacity: 1;
}

.nav-item.active ion-icon {
    transform: scale(1.1);
}

.nav-item:hover:not(.active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Content Containers --- */
.content-container {
    padding: 20px;
}

.app-section {
    display: none;
    animation: fadeSection 0.4s ease forwards;
}

.app-section.active {
    display: block;
}

@keyframes fadeSection {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Out of this World Hero Section === */
.magic-hero-v3 {
    position: relative;
    height: 40vh;
    min-height: 350px;
    margin: 15px;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.15); /* Gold glow instead of red */
}

.magic-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #1e1503 0%, #000000 100%); /* Deep luxurious espresso/gold to black */
    z-index: 0;
}

.magic-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.1) 0px, rgba(255,255,255,0.1) 2px, transparent 2px, transparent 6px);
    z-index: 0;
}

.magic-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.magic-logo-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magic-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    z-index: 3;
    animation: floatLogo 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}

.magic-orbit {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.4);
}

.orbit-1 {
    width: 120px; height: 120px;
    animation: spinOrbit 10s linear infinite;
}

.orbit-2 {
    width: 160px; height: 160px;
    border: 1px dotted rgba(255, 204, 0, 0.5);
    animation: spinOrbit 15s linear infinite reverse;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes spinOrbit {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.magic-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 5px;
    text-shadow: 0 5px 15px rgba(245, 158, 11, 0.3); /* Gold shadow instead of pink */
}

.magic-subtitle {
    font-family: 'Outfit', sans-serif;
    color: #ffcc00;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 800;
}

/* === Octane Dashboard V3 (High Performance Car Theme) === */
.octane-dashboard-v3 {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px 0;
}

.octane-card-v3 {
    position: relative;
    background: linear-gradient(160deg, #1f1d1a 0%, #0d0d0d 100%); /* Luxurious carbon-espresso gradient */
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    overflow: hidden;
    opacity: 0;
    animation: dashboardFadeIn 0.6s ease forwards;
    cursor: pointer;
}

@keyframes dashboardFadeIn {
    0% { opacity: 0; transform: scale(0.95) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Carbon Fiber Texture Overlay - made very light */
.octane-card-v3::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(45deg, rgba(0,0,0,0.02) 0px, rgba(0,0,0,0.02) 2px, transparent 2px, transparent 4px);
    pointer-events: none;
    z-index: 0;
}

/* RPM Bar */
.octane-rpm-bar {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.octane-rpm-fill {
    height: 100%;
    background: linear-gradient(90deg, #F59E0B, #D97706, #B45309);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    transition: width 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.octane-card-inner {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.octane-img-container {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #000;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Tire Track effect on image hover */
.octane-tire-mark {
    position: absolute;
    bottom: -100%; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(90deg, rgba(245,158,11,0.2) 0px, rgba(245,158,11,0.2) 5px, transparent 5px, transparent 10px);
    transition: bottom 0.4s ease;
    opacity: 0.8;
}

.octane-card-v3:hover .octane-tire-mark {
    bottom: 0;
}

.octane-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.octane-card-v3:hover .octane-img {
    transform: scale(1.1);
    filter: contrast(1.1) brightness(1.05);
}

.octane-badge-v3 {
    position: absolute;
    top: 5px; left: 5px;
    background: var(--primary-color);
    color: #000;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 3px 6px;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.octane-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.octane-title {
    font-family: 'Alexandria', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.octane-subtitle {
    font-family: 'Alexandria', sans-serif;
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 10px;
}

.octane-telemetry {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.telemetry-item {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--primary-color);
    background: rgba(245, 158, 11, 0.08);
    padding: 3px 8px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.telemetry-item ion-icon {
    font-size: 1rem;
}

.octane-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.octane-price {
    font-family: 'Alexandria', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary-color);
}

.octane-price small {
    font-family: 'Alexandria', sans-serif;
    font-size: 0.75rem;
    color: #888;
}

.octane-ignite-btn {
    background: linear-gradient(45deg, #F59E0B, #D97706);
    color: #000;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: all 0.2s ease;
}

.octane-card-v3:hover .octane-ignite-btn {
    box-shadow: 0 4px 25px rgba(245, 158, 11, 0.6);
    transform: scale(1.05);
}

.drawer-action-btn-v3:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(44, 62, 53, 0.25);
    transform: translateY(-1px);
}
.drawer-action-btn-v3:active {
    transform: translateY(0);
}

/* --- Reviews Section --- */
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reviews-summary {
    display: flex;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 20px;
    border: var(--border-glass);
    box-shadow: var(--shadow-soft);
    gap: 20px;
    align-items: center;
}

.summary-score {
    text-align: center;
    border-left: 1px solid rgba(67, 104, 80, 0.1);
    padding-left: 20px;
}
.summary-score h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    font-weight: 800;
}
.summary-stars {
    display: flex;
    gap: 3px;
    color: var(--accent-gold);
    font-size: 0.85rem;
    justify-content: center;
    margin: 5px 0;
}
.summary-score p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.summary-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.summary-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
}
.summary-row .label {
    width: 50px;
    color: var(--text-muted);
    font-weight: 600;
}
.summary-row .bar {
    flex: 1;
    height: 6px;
    background: rgba(67, 104, 80, 0.05);
    border-radius: 3px;
    overflow: hidden;
}
.summary-row .fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 18px;
    border: var(--border-glass);
    box-shadow: var(--shadow-soft);
}

.reviewer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(67, 104, 80, 0.08);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1.1rem;
    border: 1px solid rgba(67, 104, 80, 0.15);
}

.reviewer-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.reviewer-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}
.reviewer-tag {
    font-size: 0.65rem;
    color: var(--accent-gold-dark);
    font-weight: 700;
}
.review-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.review-rating {
    display: flex;
    gap: 2px;
    color: var(--accent-gold);
    font-size: 0.8rem;
}

.review-text {
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.6;
}

.google-maps-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    border: var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 15px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.google-maps-btn:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}
.google-maps-btn ion-icon {
    font-size: 1.25rem;
    color: var(--accent-gold);
}

/* --- About & Info Section --- */
.about-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.info-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 18px;
    border: var(--border-glass);
    box-shadow: var(--shadow-soft);
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(67, 104, 80, 0.08);
    border: 1px solid rgba(67, 104, 80, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.info-details {
    flex: 1;
}
.info-details h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-main);
}
.info-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.status-open {
    color: #27ae60 !important;
    font-weight: 700;
}
.info-phone {
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 2px;
}

.action-link {
    display: inline-block;
    margin-top: 6px;
    color: var(--accent-gold-dark);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    border-bottom: 1px dashed var(--accent-gold-dark);
}

.services-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 22px;
    border: var(--border-glass);
    box-shadow: var(--shadow-soft);
}
.services-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-main);
    border-right: 3px solid var(--primary-color);
    padding-right: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-main);
}
.service-item ion-icon {
    color: var(--primary-color);
    font-size: 1.15rem;
}

/* --- Floating Action Button --- */
.fab-order {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 15px 25px;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(44, 62, 53, 0.2);
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
}
.fab-order ion-icon {
    font-size: 1.3rem;
    color: #fff;
}
.fab-order:active {
    transform: translateX(-50%) scale(0.95);
}
.fab-order:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 30px rgba(44, 62, 53, 0.3);
}

/* --- Modal Fallback overlay --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44, 62, 53, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--bg-color);
    width: 100%;
    max-height: 85vh;
    border-radius: 24px 24px 0 0;
    padding: 30px 25px;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
    border-top: 1px solid rgba(67, 104, 80, 0.05);
}
.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--card-bg);
    border: var(--border-glass);
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-img-wrap {
    width: 160px;
    height: 160px;
    margin: -60px auto 20px;
    border-radius: 50%;
    position: relative;
    background: var(--card-bg);
    padding: 4px;
    box-shadow: 0 10px 25px rgba(44, 62, 53, 0.15);
    border: var(--border-glass);
}
#modalImg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.modal-badge {
    position: absolute;
    bottom: 5px; right: 0;
    background: var(--accent-gold);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    display: none;
}

.modal-info {
    text-align: center;
}
.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
}
.modal-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 15px;
}
.modal-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

.modal-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}
.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    padding: 8px 14px;
    border-radius: 12px;
    border: var(--border-glass);
    box-shadow: var(--shadow-soft);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-main);
}
.stat ion-icon {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    padding: 12px 20px;
    border-radius: 16px;
    border: var(--border-glass);
    box-shadow: var(--shadow-soft);
}
.modal-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
}
.modal-price small {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.add-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(67, 104, 80, 0.2);
    transition: var(--transition);
}

/* --- Tablet / Desktop Overrides --- */
@media (min-width: 768px) {
    .menu-accordion-v3 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .accordion-item-v3 {
        align-self: flex-start;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .drawer-img-v3 {
        height: 180px;
    }
}

@media (min-width: 768px) {
    .bento-grid-v3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .bento-grid-v3 {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 0 auto;
        gap: 25px;
    }
    .content-container {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* --- Branch Selection Modal --- */
.branch-card {
    background: var(--bg-color);
    border: 1px solid rgba(67, 104, 80, 0.08);
    border-radius: 24px;
    padding: 25px;
    max-width: 450px;
    margin: auto auto 30px;
    text-align: center;
}

.branch-modal-header {
    margin-bottom: 25px;
    text-align: center;
}

.branch-header-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.branch-modal-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.branch-modal-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.branch-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.branch-option-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    border: var(--border-glass);
    border-radius: 16px;
    padding: 15px 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: right;
    width: 100%;
}

.branch-option-btn:hover {
    background: rgba(67, 104, 80, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.branch-option-btn:active {
    transform: scale(0.98);
}

.branch-btn-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.branch-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.branch-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.branch-whatsapp-icon {
    font-size: 1.6rem;
    color: #2ecc71;
    transition: var(--transition);
}

.branch-option-btn:hover .branch-whatsapp-icon {
    transform: scale(1.15);
}
