/* ============ RAHALET - Main Styles ============ */

:root {
    --navy: #1e3a5f;
    --navy-dark: #152d4d;
    --navy-light: #2a4f82;
    --gold: #c8a84b;
    --gold-light: #e8c96a;
    --gold-dark: #a88a35;
    --cream: #faf8f3;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --border-light: rgba(255,255,255,0.1);
    --shadow-sm: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

* { box-sizing: border-box; }

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

#offres { scroll-margin-top: 84px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fc;
    color: var(--text-dark);
    padding-top: 76px;
}

/* ---- Utility ---- */
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-navy { background-color: var(--navy) !important; }
.hover-gold { transition: var(--transition); }
.hover-gold:hover { color: var(--gold) !important; text-decoration: none; }

/* ---- Brand ---- */
.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--navy);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #fff 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Navbar ---- */
#mainNavbar {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
    padding: 12px 0;
}

#mainNavbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
    color: rgba(255,255,255,0.85) !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold-light) !important;
    background: rgba(200,168,75,0.1);
}

.search-input {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: white !important;
    border-radius: 8px !important;
    width: 200px;
    transition: var(--transition);
}

.search-input::placeholder { color: rgba(255,255,255,0.5); }
.search-input:focus {
    width: 260px;
    background: rgba(255,255,255,0.15) !important;
    box-shadow: 0 0 0 3px rgba(200,168,75,0.2);
    outline: none;
}

/* ---- Buttons ---- */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-dark);
    border: none;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200,168,75,0.4);
    color: var(--navy-dark);
}

.btn-navy {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
}

.btn-navy:hover {
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30,58,95,0.4);
    color: white;
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

/* ---- Hero Section ---- */
.hero-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1a3d6e 100%);
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a84b' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200,168,75,0.15);
    border: 1px solid rgba(200,168,75,0.3);
    color: var(--gold-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: white;
}

.hero-title .highlight {
    color: var(--gold-light);
}

.hero-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 520px;
}

/* ---- Hero Search Area ---- */
.hero-search-wrapper {
    max-width: 650px;
    position: relative;
    z-index: 10;
}

.hero-search-box {
    background: #ffffff;
    border-radius: 22px;
    padding: 8px 10px 8px 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(200, 168, 75, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.hero-search-box:focus-within {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35), 0 0 0 2px var(--gold);
    transform: translateY(-2px);
}

.hero-search-icon-badge {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(200, 168, 75, 0.15), rgba(200, 168, 75, 0.05));
    border: 1px solid rgba(200, 168, 75, 0.3);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: var(--transition);
}

.hero-search-box:focus-within .hero-search-icon-badge {
    background: var(--gold);
    color: var(--navy-dark);
    transform: scale(1.05);
}

.hero-search-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.hero-search-micro-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--navy);
    opacity: 0.6;
    margin-bottom: 2px;
    line-height: 1;
}

.hero-search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--navy-dark);
    background: transparent;
    padding: 0;
}

.hero-search-box input::placeholder {
    color: #8c9ba5;
    font-weight: 400;
}

.hero-search-clear {
    color: #adb5bd;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    padding: 4px;
}

.hero-search-clear:hover {
    color: var(--navy);
}

.hero-search-btn {
    border-radius: 14px;
    font-weight: 700;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: none;
    color: var(--navy-dark);
    box-shadow: 0 4px 16px rgba(200, 168, 75, 0.4);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.hero-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 168, 75, 0.55);
    background: linear-gradient(135deg, #f7e39a, var(--gold));
    color: var(--navy-dark);
}

/* Hero Quick Destination Chips */
.hero-chips-header {
    padding: 0 4px;
}

.hero-chips-title {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-chips-hint {
    font-size: 0.72rem;
}

.hero-scroll-chips {
    padding: 4px 2px 8px;
    mask-image: linear-gradient(to right, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 88%, transparent 100%);
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-chip:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(200, 168, 75, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.hero-chip-active {
    background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
    border-color: var(--gold) !important;
    color: var(--navy-dark) !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(200, 168, 75, 0.5) !important;
    transform: translateY(-1px);
}

.hero-chip-active i {
    color: var(--navy-dark) !important;
}

/* Chip icon color accents */
.chip-icon-gold { color: #facc15; }
.chip-icon-green { color: #4ade80; }
.chip-icon-red { color: #f87171; }
.chip-icon-amber { color: #fbbf24; }
.chip-icon-sand { color: #fb923c; }
.chip-icon-cyan { color: #38bdf8; }
.chip-icon-blue { color: #60a5fa; }

/* Mobile Drawer Search (Navbar collapse) */
.mobile-drawer-search-inner {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(200, 168, 75, 0.35);
    border-radius: 50px;
    padding: 6px 6px 6px 14px;
    transition: var(--transition);
}

.mobile-drawer-search-inner:focus-within {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 15px rgba(200, 168, 75, 0.3);
}

.mobile-drawer-input {
    border: none;
    outline: none;
    background: transparent;
    color: white;
    font-size: 0.9rem;
    flex: 1;
}

.mobile-drawer-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

/* Mobile Filter Accordion Button in Feed */
.mobile-filter-btn {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy)) !important;
    border: 1px solid rgba(200, 168, 75, 0.3) !important;
    transition: all 0.25s ease;
}

.mobile-filter-btn:hover,
.mobile-filter-btn:active {
    border-color: var(--gold) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.mobile-filter-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(200, 168, 75, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item .stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.hero-card-float {
    position: absolute;
    background: white;
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatAnim 4s ease-in-out infinite;
}

.hero-card-float.card-1 { top: 60px; right: 0; animation-delay: 0s; }
.hero-card-float.card-2 { bottom: 120px; right: 40px; animation-delay: 1.5s; }
.hero-card-float.card-3 { top: 200px; left: 0; animation-delay: 0.8s; }

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

/* ---- Categories Section ---- */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin: 16px auto;
}

.category-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.category-card:hover::before { transform: scaleX(1); }

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(200,168,75,0.2);
}

.category-card.active {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,168,75,0.15);
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ---- Package Cards ---- */
.package-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.package-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.package-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.package-card:hover .package-card-img img {
    transform: scale(1.08);
}

.package-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
}

.package-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-omra {
    background: linear-gradient(135deg, #6f42c1, #9969e0);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-hajj {
    background: linear-gradient(135deg, #198754, #28a745);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-discount {
    background: linear-gradient(135deg, #dc3545, #e85d70);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-featured {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-dark);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
}

.package-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-agency-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.package-agency-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.08);
}

.package-agency-name {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.package-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.package-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.package-price-section {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.package-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
}

.package-price .currency {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.package-old-price {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

/* ---- Agency Cards ---- */
.agency-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.06);
    height: 100%;
}

.agency-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.agency-cover {
    height: 140px;
    overflow: hidden;
    position: relative;
}

.agency-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agency-cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.agency-logo-wrap {
    position: relative;
    margin-top: -32px;
    padding: 0 20px;
}

.agency-logo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    background-color: #fff;
}

.agency-logo-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--navy-dark);
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.agency-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(25,135,84,0.1);
    color: #198754;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}

.star-rating {
    color: var(--gold);
    font-size: 0.85rem;
}

/* ---- Search Box ---- */
.search-section {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.06);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.filter-chip-active,
.filter-chip:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: rgba(200,168,75,0.08);
}

/* ---- Boutique Page (Facebook Style) ---- */
.boutique-header-wrapper {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.boutique-cover-card {
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 16px 16px;
    background: #eef1f5;
}

.boutique-cover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.boutique-agency-logo {
    width: 124px;
    height: 124px;
    border-radius: 50% !important;
    object-fit: cover;
    border: 4px solid #ffffff !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    background-color: #ffffff;
}

.boutique-agency-logo-placeholder {
    width: 124px;
    height: 124px;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: 4px solid #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--navy-dark);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

/* ---- Dashboard ---- */
.dashboard-sidebar {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    min-height: 100vh;
    padding: 24px 0;
}

.dashboard-sidebar .nav-link {
    color: rgba(255,255,255,0.75);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 0;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    color: white;
    background: rgba(255,255,255,0.1);
    border-left-color: var(--gold);
}

.dashboard-sidebar .nav-link i {
    font-size: 1.1rem;
    width: 22px;
}

[data-admin-unread-badge][hidden] { display: none !important; }

.admin-message-notification {
    position: fixed;
    right: 20px;
    bottom: 88px;
    z-index: 1060;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(440px, calc(100vw - 32px));
    padding: 14px 16px;
    color: #fff;
    background: var(--navy-dark);
    border: 1px solid rgba(255,255,255,.15);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(10, 24, 44, .28);
}

.admin-message-notification[hidden] { display: none; }
.admin-message-notification > i { color: var(--gold-light); font-size: 1.25rem; }
.admin-message-notification a { display: inline-block; margin-left: 4px; color: var(--gold-light); white-space: nowrap; }
.admin-message-notification .btn-close { flex: 0 0 auto; }

@media (max-width: 575.98px) {
    .admin-message-notification { right: 12px; bottom: 82px; gap: 8px; padding: 12px; font-size: .85rem; }
    .admin-message-notification a { white-space: normal; }
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-card-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.stat-card-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---- Status Badges ---- */
.status-active { background: rgba(25,135,84,0.1); color: #198754; }
.status-pending { background: rgba(255,193,7,0.15); color: #856404; }
.status-suspended { background: rgba(220,53,69,0.1); color: #dc3545; }
.status-confirmed { background: rgba(25,135,84,0.1); color: #198754; }
.status-cancelled { background: rgba(220,53,69,0.1); color: #dc3545; }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ---- Forms ---- */
.form-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
}

.form-label { font-weight: 600; color: var(--navy); font-size: 0.88rem; }

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,168,75,0.15);
}

.section-divider-left {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin: 12px 0 20px;
}

/* ---- Footer ---- */
.footer-section {
    background: linear-gradient(135deg, #0f1c2d 0%, #1a2d45 100%);
    padding: 70px 0 0;
}

.footer-links { padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); }

/* ---- Messages ---- */
.messages-container {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 1040;
}

.alert { border-radius: 0; border: none; padding: 14px 0; font-size: 0.9rem; }
.alert-success { background: linear-gradient(90deg, rgba(25,135,84,0.95), rgba(40,167,69,0.95)); color: white; }
.alert-info { background: linear-gradient(90deg, rgba(13,202,240,0.95), rgba(0,180,216,0.95)); color: white; }
.alert-warning { background: linear-gradient(90deg, rgba(255,193,7,0.95), rgba(255,145,0,0.95)); color: #212529; }
.alert-danger { background: linear-gradient(90deg, rgba(220,53,69,0.95), rgba(185,0,0,0.95)); color: white; }

/* ---- Skeleton / Animations ---- */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: 8px;
}

/* ---- App-Style Mobile Bottom Navigation Bar ---- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    background: rgba(21, 45, 77, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1040;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
}

.mobile-nav-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.68rem;
    font-weight: 500;
    padding: 6px 2px;
    border-radius: 12px;
    transition: var(--transition);
    min-width: 0;
    max-width: 100%;
}

.mobile-nav-item span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
    transition: transform 0.2s ease;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--gold-light);
}

.mobile-nav-item.active i {
    transform: scale(1.15);
    color: var(--gold);
}

/* Dashboard mobile navigation: compact shortcuts with a TikTok-style menu drawer. */
.dashboard-bottom-nav .dashboard-menu-toggle {
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.dashboard-mobile-menu {
    --bs-offcanvas-width: min(340px, 88vw);
    z-index: 1060;
    width: var(--bs-offcanvas-width) !important;
    overflow-y: auto;
    background: linear-gradient(180deg, var(--navy), var(--navy-dark));
    border-left: 1px solid rgba(255,255,255,.12);
    box-shadow: -12px 0 36px rgba(10,24,44,.24);
}

.dashboard-mobile-menu .offcanvas-header {
    padding: 20px 20px 14px;
}

.dashboard-mobile-menu .offcanvas-body {
    overflow-y: auto;
    padding-right: 12px;
    padding-left: 12px;
}

.dashboard-mobile-menu .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
}

.dashboard-mobile-menu .nav-link:hover,
.dashboard-mobile-menu .nav-link:focus-visible {
    background: rgba(255,255,255,.1);
}

/* Mobile Sticky Booking Bar on Package Detail */
.mobile-sticky-booking {
    position: fixed;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1030;
}

.mobile-booking-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
}

.mobile-booking-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Mobile Scrollable Chips / Tabs Strip */
.mobile-scroll-chips {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.mobile-scroll-chips::-webkit-scrollbar {
    display: none;
}

/* ---- Professional Mobile Responsive Architecture ---- */
@media (max-width: 991px) {
    body {
        padding-top: 64px;
        padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    }
    .hero-section {
        min-height: auto;
        padding: 50px 0 40px;
    }
    .hero-visual { display: none; }
    .hero-stats {
        gap: 16px;
        padding: 16px 20px;
        background: rgba(255, 255, 255, 0.07);
        border-radius: 16px;
    }
    .stat-item .stat-num { font-size: 1.5rem; }
    .stat-item .stat-label { font-size: 0.75rem; }
    .dashboard-sidebar { min-height: auto; }

    /* Navbar mobile collapse drawer */
    #mainNavbar {
        padding: 8px 0;
        z-index: 1050;
    }
    #mainNavbar .navbar-brand {
        min-width: 0;
        margin-right: 0;
    }
    #mainNavbar .brand-text {
        font-size: 1.2rem;
    }
    #mainNavbar .navbar-toggler {
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
    }
    #mainNavbar .navbar-toggler:focus {
        box-shadow: 0 0 0 2px rgba(226, 194, 114, 0.65);
    }
    .navbar-collapse {
        background: var(--navy-dark);
        border-radius: 0 0 16px 16px;
        padding: 12px 16px 16px;
        margin: 8px -12px 0;
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top: 0;
        max-height: calc(100vh - 72px);
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    #mainNavbar .navbar-nav {
        gap: 4px;
    }
    #mainNavbar .navbar-nav .nav-link {
        min-height: 46px;
        display: flex;
        align-items: center;
        padding: 10px 12px;
        font-size: 1rem;
    }
    #mainNavbar .navbar-nav .dropdown-menu {
        margin: 4px 0 8px;
        padding: 6px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
    }
    #mainNavbar .navbar-nav .dropdown-item {
        min-height: 42px;
        display: flex;
        align-items: center;
        color: rgba(255, 255, 255, 0.88);
        border-radius: 8px;
    }
    #mainNavbar .navbar-nav .dropdown-item:hover,
    #mainNavbar .navbar-nav .dropdown-item:focus {
        color: var(--gold-light);
        background: rgba(200, 168, 75, 0.12);
    }
    #mainNavbar .mobile-drawer-search-inner {
        min-height: 48px;
    }
    #mainNavbar .mobile-drawer-input {
        min-width: 0;
    }
    #mainNavbar .mobile-drawer-search .btn {
        white-space: nowrap;
    }
    #mainNavbar .navbar-collapse > .d-flex:last-child {
        padding-top: 12px;
        margin-top: 12px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
    #mainNavbar .navbar-collapse .dropdown > .btn {
        min-height: 44px;
    }
}

@media (max-width: 768px) {
    /* Fluid typography for small screens */
    .hero-title {
        font-size: clamp(1.85rem, 7vw, 2.6rem);
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem !important;
    }

    /* Boutique Facebook style responsive on mobile */
    .boutique-cover-card {
        height: 170px;
        border-radius: 0 0 12px 12px;
    }
    .boutique-agency-logo,
    .boutique-agency-logo-placeholder {
        width: 96px !important;
        height: 96px !important;
        font-size: 2.2rem !important;
    }
    .boutique-header-wrapper {
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    /* Agency directory cards on mobile */
    .agency-cover {
        height: 130px;
    }
    .agency-card {
        margin-bottom: 1rem;
    }

    /* Touch-friendly inputs: prevent iOS auto-zoom */
    input, select, textarea, .form-control, .form-select {
        font-size: 16px !important;
    }

    /* Cards and spacing */
    .form-card {
        padding: 20px 16px;
        border-radius: 14px;
    }

    /* Footer responsive padding to avoid overlap with bottom nav */
    .footer-section {
        padding-top: 40px;
        padding-bottom: 80px;
    }
}

@media (max-width: 576px) {
    /* Luxury Search Box on Mobile Phones */
    .hero-search-wrapper {
        margin-top: -6px;
    }
    .hero-search-box {
        padding: 6px 6px 6px 12px;
        border-radius: 18px;
        gap: 8px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 0 1.5px rgba(200, 168, 75, 0.35);
    }
    .hero-search-icon-badge {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 11px;
        font-size: 0.95rem;
    }
    .hero-search-box input {
        font-size: 0.92rem;
    }
    .hero-search-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
        padding: 0 !important;
        border-radius: 12px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero-chips-title {
        font-size: 0.72rem;
    }
    .hero-chip {
        padding: 6px 13px;
        font-size: 0.78rem;
        gap: 6px;
    }

    /* Stats on phones */
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
        gap: 8px;
    }

    /* Boutique header avatar overlap on small phones */
    .boutique-cover-card {
        height: 140px;
    }
    .boutique-agency-logo,
    .boutique-agency-logo-placeholder {
        width: 84px !important;
        height: 84px !important;
        font-size: 1.9rem !important;
        border-width: 3px !important;
    }
}

/* ---- Swiper ---- */
.swiper-pagination-bullet-active { background: var(--gold); }
.swiper-button-next, .swiper-button-prev { color: var(--gold); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---- Review Stars ---- */
.rating-input { display: flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { font-size: 1.5rem; color: #ddd; cursor: pointer; transition: var(--transition); }
.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label { color: var(--gold); }

/* ---- Map placeholder ---- */
.map-placeholder {
    background: linear-gradient(135deg, #e8eef5, #d1dce9);
    border-radius: var(--radius);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* ---- Pagination ---- */
.pagination .page-link { color: var(--navy); border-color: rgba(0,0,0,0.1); }
.pagination .page-link:hover { background: var(--navy); color: white; border-color: var(--navy); }
.pagination .page-item.active .page-link { background: var(--navy); border-color: var(--navy); }

/* ---- Shared form fields (dashboard/_field.html) ---- */
.bs-label { display: block; font-weight: 600; color: var(--text-dark); font-size: 0.84rem; margin-bottom: 7px; }
.bs-req { color: #dc3545; margin-left: 3px; }
.bs-field .form-control, .bs-field .form-select {
    border-radius: 12px; border: 1.5px solid #e4e8ef; padding: 11px 14px;
    font-size: 0.9rem; background-color: #fbfcfd; transition: var(--transition);
}
.bs-field .form-control:hover, .bs-field .form-select:hover { border-color: #cfd6e2; }
.bs-field .form-control:focus, .bs-field .form-select:focus {
    background-color: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,168,75,0.15);
}
.bs-field textarea.form-control { resize: vertical; min-height: 130px; line-height: 1.6; }
.bs-input-icon { position: relative; }
.bs-input-icon > i {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: #9aa6b8; pointer-events: none; font-size: 0.95rem; transition: color .2s;
}
.bs-input-icon .form-control, .bs-input-icon .form-select { padding-left: 40px; }
.bs-input-icon:focus-within > i { color: var(--gold-dark); }
.bs-help { font-size: 0.74rem; color: var(--text-muted); margin-top: 6px; }
.bs-error { font-size: 0.76rem; color: #dc3545; margin-top: 6px; display: flex; gap: 5px; align-items: center; }
.bs-field.has-error .form-control, .bs-field.has-error .form-select { border-color: #dc3545; background-color: #fff8f8; }
.bs-counter { font-size: 0.72rem; color: var(--text-muted); float: right; font-weight: 500; }
.bs-input-suffix { position: relative; }
.bs-input-suffix .form-control { padding-right: 46px; }
.bs-suffix {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    font-size: 0.78rem; font-weight: 700; color: #9aa6b8; pointer-events: none;
}

/* ==== Shared dashboard form layout (boutique settings, package form) ==== */
/* ---------- Header ---------- */
.bs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.bs-crumb { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 6px; }
.bs-crumb a { color: var(--text-muted); text-decoration: none; }
.bs-crumb a:hover { color: var(--navy); }
.bs-title { font-weight: 700; color: var(--navy); font-size: 1.75rem; margin: 0; }
.bs-sub { color: var(--text-muted); margin: 4px 0 0; }
.bs-btn-soft {
    background: #fff; border: 1px solid rgba(15,30,60,0.12); color: var(--navy);
    font-weight: 600; font-size: 0.88rem; border-radius: 12px; padding: 9px 16px;
}
.bs-btn-soft:hover { border-color: var(--navy); color: var(--navy); background: #fff; }

/* ---------- Section nav ---------- */
.bs-tabs {
    display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
    background: #fff; border: 1px solid rgba(15,30,60,0.06); border-radius: 14px;
    padding: 6px; margin-bottom: 20px; box-shadow: 0 2px 12px rgba(15,30,60,0.04);
}
.bs-tabs::-webkit-scrollbar { display: none; }
.bs-tabs a {
    flex: 1 0 auto; text-align: center; white-space: nowrap;
    padding: 9px 14px; border-radius: 10px; font-size: 0.84rem; font-weight: 600;
    color: var(--text-muted); text-decoration: none; transition: var(--transition);
}
.bs-tabs a:hover { color: var(--navy); background: #f4f6fa; }
.bs-tabs a.active { background: var(--navy); color: #fff; }
.bs-tabs a i { margin-right: 6px; }

/* ---------- Section cards ---------- */
.bs-card {
    background: #fff; border-radius: 18px; padding: 28px;
    border: 1px solid rgba(15,30,60,0.06); box-shadow: 0 2px 12px rgba(15,30,60,0.05);
    margin-bottom: 20px; scroll-margin-top: 90px;
}
.bs-card-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #f0f2f6; }
.bs-card-icon {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(200,168,75,0.14); color: var(--gold-dark); font-size: 1.15rem;
}
.bs-card-title { font-weight: 700; color: var(--navy); font-size: 1.02rem; margin: 0; }
.bs-card-desc { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }


/* ---------- Uploaders ---------- */
.bs-drop {
    position: relative; display: flex; align-items: center; gap: 16px;
    border: 2px dashed #dbe1ea; border-radius: 16px; padding: 16px;
    background: #fbfcfd; cursor: pointer; transition: var(--transition); min-height: 104px;
}
.bs-drop:hover, .bs-drop.drag { border-color: var(--gold); background: rgba(200,168,75,0.05); }
.bs-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.bs-drop:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,168,75,0.15); }
.bs-drop-logo {
    width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
    background: #eef1f6; display: flex; align-items: center; justify-content: center;
    color: #9aa6b8; font-size: 1.6rem; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.bs-drop-cover {
    width: 120px; height: 72px; border-radius: 12px; flex-shrink: 0; overflow: hidden;
    background: #eef1f6; display: flex; align-items: center; justify-content: center;
    color: #9aa6b8; font-size: 1.6rem;
}
.bs-drop-logo img, .bs-drop-cover img { width: 100%; height: 100%; object-fit: cover; }
.bs-drop-text { font-size: 0.84rem; color: var(--text-dark); font-weight: 600; }
.bs-drop-text span { color: var(--gold-dark); }
.bs-drop-hint { font-size: 0.74rem; color: var(--text-muted); font-weight: 400; margin-top: 2px; }
.bs-drop-file { font-size: 0.74rem; color: #198754; margin-top: 4px; display: none; }

/* ---------- Completion ---------- */
.bs-progress-card { background: #fff; border-radius: 18px; padding: 20px; margin-top: 16px; border: 1px solid rgba(15,30,60,0.06); box-shadow: 0 2px 12px rgba(15,30,60,0.05); }
.bs-ring {
    --p: 0; width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
    background: conic-gradient(var(--gold) calc(var(--p) * 1%), #eef1f6 0);
    display: flex; align-items: center; justify-content: center;
}
.bs-ring > span {
    width: 50px; height: 50px; border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem; color: var(--text-dark);
}
.bs-check { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.bs-check li { font-size: 0.76rem; display: flex; align-items: center; gap: 6px; color: var(--text-muted); }
.bs-check li.ok { color: var(--text-dark); }
.bs-check li i { font-size: 0.85rem; }
.bs-check li.ok i { color: #198754; }
.bs-check li:not(.ok) i { color: #c3cad6; }

/* ---------- Alerts ---------- */
.bs-alert { display: flex; gap: 14px; align-items: center; border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; border: 1px solid; }
.bs-alert i { font-size: 1.25rem; }
.bs-alert.warn { background: #fffbeb; border-color: rgba(255,193,7,0.35); color: #7a5800; }
.bs-alert.err { background: #fff5f5; border-color: rgba(220,53,69,0.3); color: #b02a37; }

/* ---------- Sticky save bar ---------- */
.bs-savebar {
    position: sticky; bottom: 16px; z-index: 10;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
    border: 1px solid rgba(15,30,60,0.08); border-radius: 16px;
    padding: 12px 14px 12px 20px; box-shadow: 0 12px 30px rgba(15,30,60,0.12);
}
.bs-savebar-msg { font-size: 0.84rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.bs-savebar-msg .dot { width: 8px; height: 8px; border-radius: 50%; background: #c3cad6; }
.bs-savebar.dirty .bs-savebar-msg { color: var(--text-dark); font-weight: 500; }
.bs-savebar.dirty .bs-savebar-msg .dot { background: #ffc107; }
.bs-savebar .btn-gold { border-radius: 12px; padding: 10px 26px; font-weight: 700; }

@media (max-width: 575.98px) {
    .bs-card { padding: 20px; }
    .bs-title { font-size: 1.4rem; }
    .bs-check { grid-template-columns: 1fr; }
}

/* ---------- Sticky side column ---------- */
.bs-aside { position: sticky; top: 96px; }

/* ==========================================================================
   Mobile & responsive refinements (applies site-wide)
   ========================================================================== */

/* iOS Safari zooms the page when focusing an input under 16px — prevent it. */
@media (max-width: 767.98px) {
    .form-control, .form-select, .bs-field .form-control, .bs-field .form-select,
    input[type="text"], input[type="email"], input[type="password"], input[type="number"],
    input[type="tel"], input[type="url"], input[type="search"], input[type="date"], textarea, select {
        font-size: 16px !important;
    }
}

@media (max-width: 767.98px) {
    body:has(.mobile-sticky-booking) { padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
    .package-detail-page #bookingSection { position: static !important; top: auto !important; scroll-margin-top: 92px; }
    .boutique-header-wrapper .sf-profilebar,
    .boutique-header-wrapper .sf-profilebar > *,
    .boutique-header-wrapper .sf-titles { min-width: 0; max-width: 100%; }
    .boutique-header-wrapper .sf-titles h2 { overflow-wrap: anywhere; line-height: 1.2; }
}

/* Comfortable tap targets */
@media (pointer: coarse) {
    .btn-sm { min-height: 36px; }
    .ft-btn { width: 36px; height: 36px; }
}

/* --- Tables that become cards on phones (add .table-stack + data-label on <td>) --- */
@media (max-width: 767.98px) {
    .table-responsive:has(> .table-stack) { overflow: visible; }
    .table-stack { border-collapse: separate; margin-bottom: 0; }
    .table-stack thead { display: none; }
    .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
    .table-stack > :not(caption) > * > * { box-shadow: none !important; background: transparent !important; }
    .table-stack tr {
        background: #fff; border: 1px solid #e9edf3; border-radius: 14px;
        padding: 12px 14px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(15,30,60,0.05);
    }
    .table-stack td {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 8px 0 !important; border: 0; border-top: 1px dashed #edf0f4;
        text-align: right !important; font-size: 0.85rem; min-width: 0;
    }
    .table-stack td::before {
        content: attr(data-label); flex-shrink: 0; text-align: left;
        font-size: 0.7rem; font-weight: 600; color: var(--text-muted);
        text-transform: uppercase; letter-spacing: 0.4px;
    }
    .table-stack td > * { min-width: 0; }
    .table-stack td.ts-main { display: block; text-align: left !important; border-top: 0; padding: 0 0 10px !important; }
    .table-stack td.ts-main::before { display: none; }
    .table-stack td.ts-actions .d-flex { justify-content: flex-end; flex-wrap: wrap; }
    .table-stack td.ts-actions .btn { min-width: 40px; }
}

/* --- Section tabs: keep labels readable and allow touch scrolling --- */
@media (max-width: 575.98px) {
    nav.bs-tabs, nav.sf-tabs {
        justify-content: flex-start; flex-wrap: nowrap; gap: 4px; padding: 5px;
        overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch; scrollbar-width: none; touch-action: pan-x;
    }
    nav.bs-tabs::-webkit-scrollbar, nav.sf-tabs::-webkit-scrollbar { display: none; }
    nav.bs-tabs a, nav.sf-tabs a {
        flex: 0 0 auto; min-width: 44px; display: inline-flex; flex-direction: row;
        align-items: center; justify-content: center; gap: 6px; padding: 9px 11px;
        font-size: 0.76rem; line-height: 1.2; white-space: nowrap; text-align: center;
    }
    nav.bs-tabs a i, nav.sf-tabs a i { margin: 0 !important; font-size: 0.95rem; }
    nav.bs-tabs a .ft-badge, nav.sf-tabs a .n { display: none; }
    .ft-tabs, .sf-tabs { top: 72px; }
}

/* --- Storefront header on phones --- */
@media (max-width: 575.98px) {
    .boutique-cover-card { height: 180px; }
    .sf-profilebar { margin-top: -44px !important; }
    .sf-stats { padding: 18px 8px; border-radius: 16px; }
    .sf-stat .v { font-size: 1.35rem; }
    .sf-stat .l { font-size: 0.72rem; }
}

/* --- Home page categories: 3 compact cards per row --- */
@media (max-width: 575.98px) {
    .category-card { padding: 14px 6px; border-radius: 14px; }
    .category-card .category-icon { width: 46px; height: 46px; border-radius: 13px; font-size: 1.2rem; margin-bottom: 8px; }
    .category-card h6, .category-card .fw-600, .category-card .fw-700 { font-size: 0.78rem; }
}

/* --- Dashboard "Services & atouts" rows on phones --- */
@media (max-width: 575.98px) {
    .ft-row:not(.ft-card) > .ft-ic { display: none; }
    .ft-row textarea.form-control { min-height: 88px !important; }
    .ft-catalog .ft-chip { font-size: 0.76rem; padding: 8px 9px; gap: 7px; }
}

/* --- Generic safety nets --- */
img, video { max-width: 100%; }
.bs-card, .pe-card, .pf-card, .dh-card, .form-card { min-width: 0; }
@media (max-width: 575.98px) {
    .bs-card, .pe-card { padding: 18px; border-radius: 16px; }
    .bs-card-head { gap: 10px; margin-bottom: 18px; padding-bottom: 14px; }
    .bs-card-icon { width: 36px; height: 36px; font-size: 1rem; }
    .bs-savebar { bottom: 74px; padding: 10px; }          /* sit above the mobile bottom nav */
    .bs-savebar-msg { display: none; }
    .bs-savebar > div { width: 100%; }
    .bs-savebar .btn { flex: 1; }
    .bs-head { margin-bottom: 18px; }
    .bs-head > .btn { width: 100%; justify-content: center; }
}

/* Sticky save bars must clear the mobile bottom nav (shown below 768px) */
@media (max-width: 767.98px) {
    .bs-savebar, .pe-savebar { bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* Utility used across templates but never defined (badges rendered white-on-light) */
.text-navy { color: var(--navy) !important; }

/* Inactive filter chips looked like plain blue links */
.filter-chip { color: var(--text-dark); background: #fff; border-color: #e4e8ef; }

@media (max-width: 767.98px) {
    /* Stacked-table cells: label on the left, all values grouped on the right */
    .table-stack td { justify-content: flex-start; flex-wrap: wrap; row-gap: 4px; }
    .table-stack td::before { margin-right: auto; }
    .table-stack td.ts-main { display: block; }
    .table-stack td > .d-flex { justify-content: flex-end; }
    .table-stack td .text-center { text-align: right; }

    /* Filter chip rows scroll sideways instead of wrapping */
    .d-flex:has(> .filter-chip) { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .d-flex:has(> .filter-chip)::-webkit-scrollbar { display: none; }
    .filter-chip { white-space: nowrap; flex-shrink: 0; padding: 7px 14px; font-size: 0.8rem; }
}

/* Keep validation markers visible on horizontally scrolling tabs. */
@media (max-width: 575.98px) {
    nav.bs-tabs a .ft-err-dot { display: none; }
    nav.bs-tabs a.has-err .ft-err-dot { display: block; position: absolute; margin: 0; }
    nav.bs-tabs a.has-err { position: relative; color: #dc3545; }
}

/* Short tab labels on phones */
.lbl-s { display: none; }
@media (max-width: 575.98px) {
    .lbl-l { display: none; }
    .lbl-s { display: inline; }
    nav.bs-tabs a, nav.sf-tabs a { overflow-wrap: normal; letter-spacing: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.fo { position: relative; padding-top: 0; overflow: hidden; }
.fo::before {
    content: ""; position: absolute; right: -120px; top: 80px; width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(200,168,75,0.10), transparent 70%); pointer-events: none;
}
.fo-news {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin-top: 56px; padding: 26px 30px; border-radius: 20px;
    background: linear-gradient(135deg, rgba(200,168,75,0.16), rgba(200,168,75,0.05));
    border: 1px solid rgba(200,168,75,0.25);
}
.fo-news-text { display: flex; align-items: center; gap: 16px; }
.fo-news-ic {
    width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: var(--gold); color: var(--navy-dark); font-size: 1.4rem;
}
.fo-news h5 { color: #fff; font-weight: 700; margin: 0 0 3px; font-size: 1.08rem; }
.fo-news p { color: rgba(255,255,255,0.6); margin: 0; font-size: 0.86rem; }
.fo-news-form { display: flex; gap: 8px; flex: 1 1 340px; max-width: 440px; }
.fo-news-form input {
    flex: 1; min-width: 0; border-radius: 12px; border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.07); color: #fff; padding: 11px 16px; font-size: 0.92rem; outline: none;
    transition: var(--transition);
}
.fo-news-form input::placeholder { color: rgba(255,255,255,0.45); }
.fo-news-form input:focus { border-color: var(--gold); background: rgba(255,255,255,0.1); }
.fo-news-form .btn { border-radius: 12px; padding: 11px 22px; font-weight: 700; white-space: nowrap; }

.fo-main { padding: 52px 0 36px; }
.fo-about { color: rgba(255,255,255,0.58); font-size: 0.9rem; line-height: 1.7; max-width: 360px; }
.fo-title {
    color: #fff; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px;
}
.fo-contact { list-style: none; padding: 0; margin: 18px 0 0; }
.fo-contact li { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.fo-contact li i {
    width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.07); color: var(--gold-light); font-size: 0.85rem;
}
.fo-contact a { color: rgba(255,255,255,0.75); text-decoration: none; }
.fo-contact a:hover { color: var(--gold-light); }
.fo-social { display: flex; gap: 8px; margin-top: 18px; }
.fo-social a {
    width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.8); transition: var(--transition);
}
.fo-social a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-2px); }
.fo-social:empty { display: none; }
.fo .footer-links a { position: relative; }
.fo .footer-links a:hover { padding-left: 4px; }
.fo-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0 24px;
    color: rgba(255,255,255,0.45); font-size: 0.82rem;
}
.fo-made i { color: #e25563; margin: 0 2px; font-size: 0.75rem; }

@media (max-width: 767.98px) {
    .fo-news { margin-top: 36px; padding: 20px; border-radius: 16px; }
    .fo-news-form { max-width: none; flex-basis: 100%; }
    .fo-main { padding: 36px 0 20px; }
    .fo-bottom { justify-content: center; text-align: center; }
}

/* ==========================================================================
   Static pages (about, contact, FAQ, legal)
   ========================================================================== */
.pg-hero {
    position: relative; overflow: hidden; color: #fff; padding: 64px 0 88px;
    background:
        radial-gradient(circle at 85% 20%, rgba(200,168,75,0.28) 0%, transparent 42%),
        radial-gradient(circle at 10% 110%, rgba(42,79,130,0.9) 0%, transparent 55%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.pg-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 24px 24px;
}
.pg-hero .container { position: relative; z-index: 1; }
.pg-crumb { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.pg-crumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.pg-crumb a:hover { color: var(--gold-light); }
.pg-hero h1 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 2.6rem; margin: 0 0 10px; }
.pg-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 640px; margin: 0; }
.pg-body { margin-top: -48px; position: relative; z-index: 2; padding-bottom: 72px; }
.pg-card {
    background: #fff; border-radius: 20px; padding: 32px; border: 1px solid rgba(15,30,60,0.06);
    box-shadow: 0 10px 30px rgba(15,30,60,0.07);
}
.pg-card + .pg-card { margin-top: 24px; }
.pg-h2 { font-weight: 700; color: var(--navy); font-size: 1.4rem; margin-bottom: 12px; }
.pg-lead { color: #4a5568; line-height: 1.8; font-size: 0.98rem; }
.pg-ic {
    width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(200,168,75,0.14); color: var(--gold-dark); font-size: 1.3rem; flex-shrink: 0;
}
/* legal text */
.pg-legal h2 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.pg-legal h2:first-child { margin-top: 0; }
.pg-legal p, .pg-legal li { color: #4a5568; line-height: 1.8; font-size: 0.93rem; }
.pg-legal ul { padding-left: 20px; }
.pg-toc { position: sticky; top: 96px; }
.pg-toc a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--text-muted); text-decoration: none; font-size: 0.86rem; }
.pg-toc a:hover { background: #f4f6fa; color: var(--navy); }
.pg-updated { font-size: 0.8rem; color: var(--text-muted); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 767.98px) {
    .pg-hero { padding: 40px 0 72px; }
    .pg-hero h1 { font-size: 1.9rem; }
    .pg-hero p { font-size: 0.95rem; }
    .pg-card { padding: 22px; border-radius: 16px; }
    .pg-body { padding-bottom: 40px; }
}

/* ---- Password Visibility Toggle ---- */
.password-wrapper input {
    padding-right: 48px !important;
}

.toggle-password-btn {
    cursor: pointer;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transition: color 0.2s ease, transform 0.15s ease;
}

.toggle-password-btn:hover {
    color: var(--navy) !important;
}

.toggle-password-btn:active {
    transform: translateY(-50%) scale(0.92);
}

/* ---- Main navigation refinement ---- */
#mainNavbar {
    padding: 13px 0;
    border-bottom: 1px solid rgba(232, 201, 106, 0.2);
    box-shadow: 0 8px 26px rgba(11, 28, 49, 0.12);
}

#mainNavbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(11, 28, 49, 0.2);
}

#mainNavbar .navbar-brand {
    flex: 0 0 auto;
    margin-right: 1rem;
}

#mainNavbar .brand-icon {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 13px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.16);
}

#mainNavbar .brand-text {
    font-size: 1.48rem;
    letter-spacing: -0.025em;
}

#mainNavbar .navbar-nav {
    align-items: center;
    gap: 3px;
}

#mainNavbar .navbar-nav .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 11px;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    white-space: nowrap;
}

#mainNavbar .navbar-nav .nav-link i {
    font-size: 0.94rem;
    opacity: 0.88;
}

#mainNavbar .navbar-nav .nav-link:hover,
#mainNavbar .navbar-nav .nav-link.active {
    color: #f5d77f !important;
    background: rgba(255, 255, 255, 0.075);
}

#mainNavbar .navbar-nav .nav-link.active::after {
    position: absolute;
    right: 12px;
    bottom: 3px;
    left: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-light);
    content: "";
}

#mainNavbar .search-mini .search-input {
    width: 185px;
    height: 39px;
    padding-left: 14px;
    border-radius: 999px !important;
    font-size: 0.82rem;
}

#mainNavbar .search-mini .search-input:focus {
    width: 220px;
}

#mainNavbar .search-mini .btn {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    padding: 0;
    border-radius: 50%;
}

#mainNavbar .navbar-collapse .dropdown-menu {
    margin-top: 10px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(8, 21, 38, 0.24);
}

#mainNavbar .navbar-collapse .dropdown-item {
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
}

#mainNavbar .navbar-collapse .dropdown-item:focus-visible,
#mainNavbar .navbar-nav .nav-link:focus-visible {
    outline: 3px solid rgba(232, 201, 106, 0.65);
    outline-offset: 2px;
}

#mainNavbar .navbar-collapse .dropdown > .btn {
    min-height: 40px;
    padding: 7px 12px;
    border-color: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-weight: 600;
}

#mainNavbar .navbar-collapse > .d-flex > .d-flex > .btn {
    min-height: 40px;
    padding: 8px 15px !important;
    border-radius: 10px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    #mainNavbar {
        padding: 8px 0;
    }

    #mainNavbar .navbar-collapse {
        margin-top: 10px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 16px;
    }

    #mainNavbar .navbar-nav {
        align-items: stretch;
        gap: 3px;
    }

    #mainNavbar .navbar-nav .nav-link.active::after {
        right: auto;
        bottom: 9px;
        left: 12px;
        width: 3px;
        height: 26px;
    }

    #mainNavbar .navbar-nav .nav-link {
        min-height: 46px;
        padding: 10px 12px;
    }
}

/* Collapse the full navigation at tablet widths before its links and actions crowd. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    #mainNavbar { padding: 8px 0; }
    #mainNavbar .navbar-toggler {
        width: 44px; height: 44px; margin-left: auto; padding: 0;
        display: inline-flex; align-items: center; justify-content: center;
        border-radius: 10px; background: rgba(255,255,255,.08);
    }
    #mainNavbar .navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(226,194,114,.65); }
    #mainNavbar .navbar-collapse {
        margin-top: 10px; padding: 12px 16px 16px;
        max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px);
        overflow-y: auto; overscroll-behavior: contain;
        background: var(--navy-dark); border: 1px solid rgba(255,255,255,.12);
        border-radius: 16px; box-shadow: var(--shadow-lg);
    }
    #mainNavbar .navbar-nav { align-items: stretch; gap: 3px; }
    #mainNavbar .navbar-nav .nav-link { min-height: 46px; padding: 10px 12px; }
    #mainNavbar .navbar-nav .nav-link.active::after {
        right: auto; bottom: 9px; left: 12px; width: 3px; height: 26px;
    }
    #mainNavbar .navbar-collapse > .d-flex:last-child {
        padding-top: 12px; margin-top: 12px !important;
        border-top: 1px solid rgba(255,255,255,.12);
    }
}

/* App-like mobile navigation drawer */
.mobile-drawer-header,
.mobile-nav-backdrop { display: none; }

@media (max-width: 1199.98px) {
    #mainNavbar {
        z-index: 1050;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    #mainNavbar .navbar-toggler { position: relative; z-index: 1062; }
    #mainNavbar #navbarNav.navbar-collapse {
        position: fixed;
        z-index: 1061;
        inset: 0 auto 0 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: min(88vw, 390px);
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        margin: 0;
        padding: calc(18px + env(safe-area-inset-top, 0px)) 18px calc(22px + env(safe-area-inset-bottom, 0px));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        background: linear-gradient(155deg, var(--navy-dark) 0%, #102b4d 100%);
        border: 0;
        border-right: 1px solid rgba(255,255,255,.14);
        border-radius: 0 24px 24px 0;
        box-shadow: 20px 0 60px rgba(3,12,25,.34);
        transform: translate3d(-105%,0,0);
        visibility: hidden;
        pointer-events: none;
        transition: transform .28s cubic-bezier(.2,.75,.25,1), visibility .28s;
        touch-action: pan-y;
    }
    #mainNavbar #navbarNav.navbar-collapse.is-open {
        transform: translate3d(0,0,0);
        visibility: visible;
        pointer-events: auto;
    }
    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 52px;
        margin-bottom: 14px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }
    .mobile-drawer-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #fff;
        font-size: 1.15rem;
        font-weight: 800;
        text-decoration: none;
    }
    .mobile-drawer-brand-icon {
        display: grid;
        width: 36px;
        height: 36px;
        place-items: center;
        border-radius: 12px;
        background: var(--gold);
        color: var(--navy-dark);
    }
    .mobile-drawer-close {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 13px;
        background: rgba(255,255,255,.07);
        color: #fff;
        font-size: 1rem;
    }
    .mobile-drawer-close:hover { background: rgba(255,255,255,.14); }
    #mainNavbar #navbarNav .navbar-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        gap: 8px;
        margin: 0 !important;
    }
    #mainNavbar #navbarNav .navbar-nav .nav-item.dropdown { grid-column: 1 / -1; }
    #mainNavbar #navbarNav .navbar-nav .nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 84px;
        padding: 10px 5px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 16px;
        background: rgba(255,255,255,.045);
        color: rgba(255,255,255,.9);
        font-size: .75rem;
        font-weight: 600;
        line-height: 1.25;
        text-align: center;
    }
    #mainNavbar #navbarNav .navbar-nav .nav-link i { width: auto; margin: 0 !important; color: var(--gold-light); font-size: 1.35rem; }
    #mainNavbar #navbarNav .navbar-nav .dropdown-toggle { flex-direction: row; justify-content: flex-start; min-height: 48px; padding: 10px 12px; font-size: .88rem; text-align: left; }
    #mainNavbar #navbarNav .navbar-nav .dropdown-toggle i { font-size: 1rem; }
    #mainNavbar #navbarNav .navbar-nav .nav-link:hover,
    #mainNavbar #navbarNav .navbar-nav .nav-link:focus-visible,
    #mainNavbar #navbarNav .navbar-nav .nav-link.active {
        border-color: rgba(226,194,114,.24);
        background: rgba(226,194,114,.11);
        color: #fff;
    }
    #mainNavbar #navbarNav .navbar-nav .nav-link:focus-visible,
    #mainNavbar #navbarNav a:focus-visible,
    #mainNavbar #navbarNav button:focus-visible,
    #mainNavbar .navbar-toggler:focus-visible,
    .mobile-drawer-close:focus-visible {
        outline: 3px solid var(--gold-light);
        outline-offset: 2px;
    }
    #mainNavbar #navbarNav .navbar-nav .nav-link.active::after { display: none; }
    #mainNavbar #navbarNav .navbar-nav .dropdown-menu {
        position: static;
        width: 100%;
        margin: 6px 0 2px;
        padding: 6px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 14px;
        background: rgba(0,0,0,.16);
    }
    #mainNavbar #navbarNav .navbar-nav .dropdown-item {
        display: flex;
        align-items: center;
        min-height: 46px;
        border-radius: 10px;
        color: rgba(255,255,255,.9);
    }
    #mainNavbar #navbarNav .navbar-nav .dropdown-item:hover,
    #mainNavbar #navbarNav .navbar-nav .dropdown-item:focus-visible {
        background: rgba(226,194,114,.12);
        color: var(--gold-light);
    }
    #mainNavbar #navbarNav .mobile-drawer-search { margin: 14px 0 4px !important; }
    #mainNavbar #navbarNav .mobile-drawer-search-inner {
        min-height: 52px;
        padding: 5px 6px 5px 13px;
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 14px;
        background: rgba(255,255,255,.07);
    }
    #mainNavbar #navbarNav .mobile-drawer-input { min-width: 0; color: #fff; }
    #mainNavbar #navbarNav .mobile-drawer-input::placeholder { color: rgba(255,255,255,.58); }
    #mainNavbar #navbarNav > .d-flex:last-child {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px !important;
        margin-top: 16px !important;
        padding-top: 16px;
        border-top: 1px solid rgba(255,255,255,.12);
    }
    #mainNavbar #navbarNav .navbar-collapse > .d-flex:last-child,
    #mainNavbar #navbarNav > .d-flex:last-child {
        padding-top: 16px;
    }
    #mainNavbar #navbarNav > .d-flex:last-child > a,
    #mainNavbar #navbarNav > .d-flex:last-child > .dropdown > a {
        min-height: 48px;
        border-radius: 12px;
    }
    .mobile-nav-backdrop:not([hidden]) {
        position: fixed;
        z-index: 1049;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
        background: rgba(5,12,23,.62);
        opacity: 1;
        animation: mobile-nav-backdrop-in .2s ease-out both;
    }
    body.mobile-nav-open {
        position: fixed;
        top: var(--mobile-nav-scroll-top, 0);
        width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 767.98px) {
    #mainNavbar #navbarNav.navbar-collapse { width: min(90vw, 390px); }
    #navbarNav .drawer-bottom-nav-duplicate { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    #mainNavbar #navbarNav.navbar-collapse { transition: none; }
    .mobile-nav-backdrop:not([hidden]) { animation: none; }
}

@keyframes mobile-nav-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
