/* ===========================================
   Raraphone — Premium CSS Design System
   JustDial Clone | Bootstrap 5 + Custom
   =========================================== */

/* ===== FONTS & ROOT VARIABLES ===== */
:root {
    --rara-primary:    #FF6B35;
    --rara-secondary:  #1A1A2E;
    --rara-accent:     #E94560;
    --rara-dark:       #16213E;
    --rara-light:      #F8F9FA;
    --rara-success:    #27AE60;
    --rara-warning:    #F39C12;
    --rara-info:       #2980B9;
    --rara-muted:      #6C757D;
    --rara-border:     #E9ECEF;
    --shadow-sm:       0 2px 8px rgba(0,0,0,.06);
    --shadow-md:       0 4px 20px rgba(0,0,0,.10);
    --shadow-lg:       0 8px 40px rgba(0,0,0,.14);
    --radius-sm:       8px;
    --radius-md:       12px;
    --radius-lg:       20px;
    --transition:      all .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

/* ===== UTILITY ===== */
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.text-rara { color: var(--rara-primary) !important; }
.bg-rara   { background: var(--rara-primary) !important; }
.text-gradient {
    background: linear-gradient(135deg, var(--rara-primary), var(--rara-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-py { padding: 5rem 0; }

/* ===== HEADER WRAPPER ===== */
.rara-header {
    background: #1A1A2E;
    z-index: 1040;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rara-header.scrolled {
    box-shadow: 0 4px 25px rgba(0,0,0,0.35);
}

/* ===== TOP BAR ===== */
.topbar {
    background: rgba(0,0,0,0.25);
    color: rgba(255,255,255,.9);
    padding: .35rem 0;
    font-size: .78rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar a { color: rgba(255,255,255,.9); text-decoration: none; }
.topbar a:hover { color: var(--rara-primary); }

/* ===== NAVBAR ===== */
.rara-navbar {
    background: transparent;
    padding: .6rem 0;
    transition: var(--transition);
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.3) !important;
    padding: .4rem .65rem;
    border-radius: var(--radius-sm);
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 2px var(--rara-primary);
}

@media (max-width: 1199.98px) {
    .brand-text { font-size: 1.25rem; }
    .rara-navbar .nav-link { font-size: .85rem; padding-left: .4rem !important; padding-right: .4rem !important; }
}

@media (max-width: 991.98px) {
    .topbar { font-size: .75rem; padding: .25rem 0; }
    .topbar .col-md-6 { text-align: center !important; }
    .navbar-collapse {
        background: #16213E;
        padding: 1.25rem;
        border-radius: var(--radius-md);
        margin-top: .75rem;
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(255,255,255,0.12);
    }
    .navbar-collapse .nav-link {
        padding: .65rem 1rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        border-radius: var(--radius-sm);
        display: block;
    }
    .navbar-collapse .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    .navbar-collapse .btn {
        width: 100%;
        margin-left: 0 !important;
        margin-top: .5rem;
        text-align: center;
        display: block;
    }
}

/* Logo */
.navbar-brand { text-decoration: none; display: flex; align-items: center; gap: .5rem; }
.brand-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--rara-primary), var(--rara-accent));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1rem;
}
.brand-text { color: #fff; font-size: 1.4rem; font-weight: 800; letter-spacing: -.5px; }
.brand-accent { color: var(--rara-primary); }

/* Nav search bar */
.nav-search-form { background: rgba(255,255,255,.12); border-radius: 50px; overflow: hidden; }
.nav-city-select {
    background: rgba(255,255,255,.15); border: none; color: #fff;
    border-radius: 0; width: 130px; font-size: .82rem;
    padding: .45rem .75rem;
}
.nav-city-select option { background: var(--rara-secondary); color: #fff; }
.nav-search-input { background: transparent; border: none; color: #fff; font-size: .85rem; padding: .45rem 1rem; }
.nav-search-input::placeholder { color: rgba(255,255,255,.55); }
.nav-search-input:focus { background: transparent; border: none; box-shadow: none; color: #fff; }
.btn-search-nav {
    background: var(--rara-primary); border: none; color: #fff;
    padding: .45rem 1rem; border-radius: 0 50px 50px 0;
    transition: var(--transition);
}
.btn-search-nav:hover { background: var(--rara-accent); color: #fff; }

/* Dropdown */
.mega-dropdown { min-width: 220px; border: none; box-shadow: var(--shadow-md); border-radius: var(--radius-md); padding: .5rem; }
.mega-dropdown .dropdown-item { border-radius: var(--radius-sm); font-size: .85rem; padding: .5rem .75rem; }
.mega-dropdown .dropdown-item:hover { background: rgba(255,107,53,.1); color: var(--rara-primary); }

/* Buttons */
.btn-rara {
    background: linear-gradient(135deg, var(--rara-primary), #ff8c42);
    border: none; color: #fff; border-radius: 50px; font-weight: 600;
    transition: var(--transition);
}
.btn-rara:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,.4); color: #fff; }
.btn-outline-rara {
    border: 2px solid var(--rara-primary); color: var(--rara-primary);
    border-radius: 50px; font-weight: 600; background: transparent;
    transition: var(--transition);
}
.btn-outline-rara:hover { background: var(--rara-primary); color: #fff; transform: translateY(-2px); }

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 40%, #0F3460 100%);
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 8rem 0 5rem;
}
.hero-overlay {
    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='%23FF6B35' fill-opacity='0.04'%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-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center;
    background: rgba(255,107,53,.15); border: 1px solid rgba(255,107,53,.4);
    color: var(--rara-primary); padding: .35rem 1rem;
    border-radius: 50px; font-size: .82rem; font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800; color: #fff; line-height: 1.15;
    margin-bottom: 1rem;
}
.hero-subtitle { color: rgba(255,255,255,.75); font-size: 1.15rem; margin-bottom: 2.5rem; }

/* Hero Search Box */
.hero-search-box { max-width: 750px; margin: 0 auto; }
.hero-search-inner {
    display: flex; align-items: center;
    background: #fff;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.search-city-wrap {
    display: flex; align-items: center; gap: .5rem;
    padding: 0 1rem; min-width: 150px;
    border-right: 2px solid var(--rara-border);
}
.hero-city-select {
    border: none; background: transparent; color: #333;
    font-size: .88rem; font-weight: 500; cursor: pointer;
    padding: .75rem 0; outline: none;
}
.search-query-wrap { display: flex; align-items: center; gap: .5rem; padding: 0 1rem; }
.hero-search-input {
    border: none; background: transparent; font-size: .95rem;
    padding: .85rem 0; width: 100%; outline: none;
}
.hero-search-input:focus { box-shadow: none; border: none; }
.btn-hero-search {
    background: linear-gradient(135deg, var(--rara-primary), var(--rara-accent));
    border: none; color: #fff; font-size: 1rem; font-weight: 600;
    padding: 1rem 2rem; white-space: nowrap;
    transition: var(--transition);
}
.btn-hero-search:hover { opacity: .9; transform: scale(1.02); color: #fff; }

/* Popular tags */
.popular-searches { text-align: center; }
.popular-tag {
    display: inline-block;
    background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.25); border-radius: 50px;
    padding: .2rem .8rem; font-size: .78rem; margin: .15rem;
    text-decoration: none; transition: var(--transition);
}
.popular-tag:hover { background: var(--rara-primary); color: #fff; border-color: var(--rara-primary); }

/* Hero Stats */
.hero-stats {
    display: flex; gap: 2.5rem; justify-content: center;
    margin-top: 3rem;
}
.hero-stat { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--rara-primary); }
.stat-label { color: rgba(255,255,255,.65); font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; }

/* Hero Wave */
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* Animate */
.animate-fade-in-up {
    opacity: 0; transform: translateY(30px);
    animation: fadeInUp .8s forwards;
}
.animate-fade-in-up:nth-child(1){ animation-delay: .1s; }
.animate-fade-in-up:nth-child(2){ animation-delay: .25s; }
.animate-fade-in-up:nth-child(3){ animation-delay: .4s; }
.animate-fade-in-up:nth-child(4){ animation-delay: .55s; }
.animate-fade-in-up:nth-child(5){ animation-delay: .7s; }
@keyframes fadeInUp { to { opacity:1; transform:translateY(0); } }

/* ===== SECTION HEADERS ===== */
.section-badge {
    display: inline-block; background: rgba(255,107,53,.1); color: var(--rara-primary);
    font-size: .75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    padding: .25rem 1rem; border-radius: 50px; margin-bottom: .75rem;
}
.section-badge.light { background: rgba(255,255,255,.15); color: rgba(255,255,255,.8); }
.section-title { font-size: 2rem; font-weight: 800; margin-bottom: .5rem; }
.section-subtitle { color: var(--rara-muted); font-size: 1rem; }

/* ===== CATEGORY CARDS ===== */
.category-card {
    display: flex; flex-direction: column; align-items: center;
    background: #fff; border-radius: var(--radius-md);
    padding: 1.5rem 1rem; border: 2px solid transparent;
    transition: var(--transition); cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.category-card:hover {
    border-color: var(--cat-color, var(--rara-primary));
    transform: translateY(-6px); box-shadow: var(--shadow-md);
}
.cat-icon-wrap {
    width: 60px; height: 60px; border-radius: 15px;
    background: color-mix(in srgb, var(--cat-color, var(--rara-primary)) 15%, transparent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--cat-color, var(--rara-primary));
    margin-bottom: .75rem; transition: var(--transition);
}
.category-card:hover .cat-icon-wrap {
    background: var(--cat-color, var(--rara-primary)); color: #fff;
    transform: scale(1.1);
}
.cat-name { font-weight: 700; font-size: .88rem; color: #333; text-align: center; }
.cat-count { font-size: .72rem; color: var(--rara-muted); }

/* ===== BUSINESS CARDS ===== */
.business-card {
    background: #fff; border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); overflow: hidden;
    transition: var(--transition);
}
.business-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bcard-image { position: relative; height: 180px; overflow: hidden; }
.bcard-image img { width:100%; height:100%; object-fit: cover; transition: transform .4s; }
.business-card:hover .bcard-image img { transform: scale(1.05); }
.bcard-no-image {
    width:100%; height:100%; display: flex; align-items:center; justify-content:center;
    font-size: 2.5rem; color: rgba(255,255,255,.85);
}
.bcard-badge {
    position: absolute; top: .5rem; font-size: .7rem; font-weight: 700;
    padding: .2rem .6rem; border-radius: 50px;
}
.bcard-badge.featured { left: .5rem; background: var(--rara-warning); color: #fff; }
.bcard-badge.verified { right: .5rem; background: var(--rara-success); color: #fff; }
.bcard-body { padding: 1rem; }
.bcard-category { font-size: .72rem; font-weight: 600; color: var(--rara-muted); margin-bottom: .25rem; }
.bcard-title { font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.bcard-title a { color: #333; }
.bcard-title a:hover { color: var(--rara-primary); }
.bcard-tagline { font-size: .78rem; color: var(--rara-muted); margin-bottom: .4rem; }
.bcard-rating { font-size: .8rem; display: flex; align-items: center; gap: .25rem; }
.rating-score { font-weight: 700; color: #333; }
.bcard-location { display: flex; align-items: center; }
.bcard-footer { display: flex; align-items: center; }

/* Business List Card (Search Results) */
.business-list-card {
    background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
    display: flex; gap: 0; overflow: hidden; transition: var(--transition);
}
.business-list-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blcard-image { width: 160px; flex-shrink: 0; overflow: hidden; }
.blcard-image img { width:100%; height:100%; object-fit:cover; }
.blcard-no-img { width:100%; height:100%; min-height:130px; display:flex; align-items:center; justify-content:center; font-size:2rem; color:rgba(255,255,255,.8); }
.blcard-body { flex-grow:1; padding:1rem 1.25rem; }
.blcard-title a { color:#333; text-decoration:none; font-weight:700; font-size:1.05rem; }
.blcard-title a:hover { color:var(--rara-primary); }
.blcard-cat { margin-bottom:.25rem; }
.blcard-rating { display:flex; align-items:center; gap:.25rem; font-size:.85rem; }
.blcard-tagline { font-size:.83rem; }
.blcard-actions { padding:1rem; display:flex; flex-direction:column; justify-content:center; gap:.5rem; min-width:130px; border-left:1px solid var(--rara-border); }

/* ===== SEARCH RESULTS PAGE ===== */
.search-results-page { background: #f5f5f5; min-height: 100vh; }
.search-header-bar { background: var(--rara-secondary); padding: 1rem 0; }
.search-header-bar .form-control, .search-header-bar .form-select { border-radius: 8px; }

/* Filter Sidebar */
.filter-sidebar {
    background: #fff; border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); overflow: hidden;
    position: sticky; top: 80px;
}
.filter-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: .875rem 1rem; border-bottom: 1px solid var(--rara-border);
    font-weight: 700;
}
.filter-group { padding: .875rem 1rem; border-bottom: 1px solid var(--rara-border); }
.filter-group:last-child { border-bottom: none; }
.filter-group-title { font-size: .78rem; font-weight: 700; color: var(--rara-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: .5rem; }
.filter-check { margin-bottom: .3rem; }
.filter-check .form-check-label { font-size: .85rem; cursor: pointer; }
.filter-check .form-check-input:checked { background-color: var(--rara-primary); border-color: var(--rara-primary); }

/* Results bar */
.results-bar { background: #fff; border-radius: var(--radius-sm); padding: .75rem 1rem; box-shadow: var(--shadow-sm); }
.results-count { font-size: .9rem; }

/* ===== BUSINESS DETAIL ===== */
.business-detail-page { background: #f5f5f5; }
.detail-breadcrumb { background: #fff; padding: .5rem 0; border-bottom: 1px solid var(--rara-border); }
.business-header-section { background: #fff; padding: 2rem 0; box-shadow: var(--shadow-sm); }
.business-logo-wrap { background: #f5f5f5; border-radius: 50%; width: 90px; height: 90px; overflow: hidden; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.business-logo { width: 100%; height: 100%; object-fit: cover; }
.business-name { font-size: 1.6rem; font-weight: 800; }
.business-tagline { font-size: .95rem; }
.business-meta { font-size: .88rem; }
.meta-item { display: flex; align-items: center; gap: .35rem; }
.business-rating-row { display: flex; align-items: center; gap: .25rem; }
.verified-badge { background: var(--rara-success); color: #fff; padding: .2rem .7rem; border-radius: 50px; font-size: .72rem; font-weight: 700; }
.featured-badge { background: var(--rara-warning); color: #fff; padding: .2rem .7rem; border-radius: 50px; font-size: .72rem; font-weight: 700; }
.business-contact-card { background: #f8f9fa; border-radius: var(--radius-md); padding: 1rem; }

/* Detail sections */
.detail-section { background: #fff; border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.section-head { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--rara-secondary); }

/* Gallery */
.gallery-img { width: 100%; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); }
.gallery-img:hover { opacity: .9; transform: scale(1.02); }
.gallery-main { height: 280px; }
.gallery-thumb { height: 135px; }

/* Services */
.services-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.service-tag {
    background: rgba(255,107,53,.08); color: var(--rara-primary);
    border: 1px solid rgba(255,107,53,.25); border-radius: 50px;
    padding: .25rem .85rem; font-size: .82rem; font-weight: 500;
}

/* Review */
.review-card { background: #f8f9fa; border-radius: var(--radius-sm); padding: 1rem; margin-bottom: .75rem; }
.rating-summary { display: flex; align-items: center; gap: 2rem; }
.rating-big { text-align: center; }
.rating-num { font-size: 3rem; font-weight: 800; color: var(--rara-primary); line-height: 1; }

/* Star rating input */
.star-rating-input { font-size: 2rem; cursor: pointer; }
.star-input { color: #ddd; transition: color .1s; margin-right: .15rem; }
.star-input:hover, .star-input.active { color: var(--rara-warning); }

/* Sidebar card */
.sidebar-card { background: #fff; border-radius: var(--radius-md); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.sidebar-card-title { font-size: .9rem; font-weight: 700; color: var(--rara-secondary); margin-bottom: 1rem; border-bottom: 1px solid var(--rara-border); padding-bottom: .5rem; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .6rem; font-size: .88rem; }
.info-list li i { width: 16px; text-align: center; margin-top: .15rem; }
.info-list li a { color: #333; text-decoration: none; }
.info-list li a:hover { color: var(--rara-primary); }

/* Similar businesses */
.similar-business-item { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--rara-border); color: #333; }
.similar-business-item:last-child { border-bottom: none; }
.similar-img-wrap { width: 48px; height: 48px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.similar-img-wrap img { width:100%; height:100%; object-fit:cover; }
.similar-no-img { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:.9rem; color:rgba(255,255,255,.8); }

/* ===== HOW IT WORKS ===== */
.bg-gradient-dark { background: linear-gradient(135deg, var(--rara-secondary), var(--rara-dark)); }
.how-step { padding: 2rem 1.5rem; }
.step-icon {
    width: 80px; height: 80px; border-radius: 20px;
    background: rgba(255,107,53,.15); color: var(--rara-primary);
    font-size: 2rem; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.step-number { font-size: .75rem; color: var(--rara-primary); font-weight: 800; letter-spacing: 2px; margin-bottom: .5rem; }
.how-step h5 { color: #fff; font-weight: 700; margin-bottom: .5rem; }
.how-step p { font-size: .88rem; }

/* ===== CITY CARDS ===== */
.city-card {
    background: #fff; border-radius: var(--radius-md); padding: 1.5rem;
    text-align: center; box-shadow: var(--shadow-sm);
    transition: var(--transition); display: block;
}
.city-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-bottom: 3px solid var(--rara-primary); }
.city-icon { font-size: 2rem; color: var(--rara-primary); margin-bottom: .5rem; }
.city-name { font-weight: 700; color: #333; font-size: .95rem; }
.city-count { font-size: .75rem; color: var(--rara-muted); }

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--rara-primary), var(--rara-accent));
    padding: 5rem 0; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255,255,255,.05);
}
.cta-content { position: relative; z-index: 1; }
.text-white-75 { color: rgba(255,255,255,.75); }

/* ===== FOOTER ===== */
.rara-footer { background: #0d0d1a; color: #e2e8f0; }
.rara-footer p, .rara-footer span, .rara-footer div { color: #cbd5e1; }
.rara-footer .text-muted { color: #94a3b8 !important; }
.footer-top { padding: 4rem 0 2rem; }
.footer-brand { font-size: 1.5rem; font-weight: 800; color: #fff; }
.footer-heading { color: #fff; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; color: #cbd5e1; font-size: .88rem; }
.footer-links a { color: #cbd5e1; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--rara-primary); text-decoration: underline; }
.social-links { display: flex; gap: .5rem; }
.social-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.15); color: #fff;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: .85rem; transition: var(--transition);
}
.social-btn:hover { background: var(--rara-primary); color: #fff; transform: translateY(-3px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 1.25rem 0;
}
.footer-bottom p, .footer-bottom small, .footer-bottom a { color: #94a3b8 !important; font-weight: 500; }
.footer-bottom a:hover { color: var(--rara-primary) !important; text-decoration: underline; }

/* ===== SEARCH AUTOCOMPLETE ===== */
.search-suggestions-dropdown {
    position: absolute; top: calc(100% + 4px); left: -1rem; right: 0;
    background: #fff; border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); z-index: 1050; overflow: hidden;
    display: none;
}
.suggestion-group-title {
    font-size: .7rem; font-weight: 700; color: var(--rara-muted);
    text-transform: uppercase; letter-spacing: 1px;
    padding: .5rem 1rem .25rem;
}
.suggestion-item {
    display: flex; align-items: center; gap: .75rem;
    padding: .6rem 1rem; cursor: pointer; transition: var(--transition);
    font-size: .88rem; text-decoration: none; color: #333;
}
.suggestion-item:hover { background: rgba(255,107,53,.06); color: var(--rara-primary); }
.suggestion-item i { color: var(--rara-muted); width: 16px; text-align: center; }

/* ===== AUTH PAGES ===== */
.auth-page-bg { background: linear-gradient(135deg, #f0f2f5 0%, #e8eaf6 100%); min-height: 100vh; }
.auth-card { border-radius: var(--radius-lg) !important; }
.auth-logo { font-size: 1.8rem; font-weight: 800; color: var(--rara-secondary); }
.auth-logo .text-rara { color: var(--rara-primary); }

/* ===== CATEGORY DETAIL CARDS ===== */
.category-detail-card {
    background: #fff; border-radius: var(--radius-md); padding: 1.5rem;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    border-top: 4px solid var(--cat-color, var(--rara-primary));
}
.category-detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cd-icon { font-size: 2.5rem; color: var(--cat-color); margin-bottom: .75rem; }
.cd-name { font-weight: 700; font-size: 1.1rem; margin-bottom: .25rem; }
.cd-subs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.cd-sub-link {
    background: #f5f5f5; color: #555; border-radius: 50px;
    padding: .15rem .65rem; font-size: .72rem; text-decoration: none;
    transition: var(--transition);
}
.cd-sub-link:hover { background: var(--cat-color); color: #fff; }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--rara-primary); color: #fff; border: none;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(255,107,53,.4);
    transition: var(--transition);
}
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,107,53,.5); }
.back-to-top.show { display: flex; }

/* ===== PAGE HEADER (SMALL) ===== */
.page-header-sm { padding: 2rem 0; }
.bg-gradient-rara { background: linear-gradient(135deg, var(--rara-primary), var(--rara-accent)); }

/* ===== PAGINATION ===== */
.pagination .page-link { border-radius: 50px !important; margin: 0 2px; border: none; color: var(--rara-secondary); }
.pagination .page-item.active .page-link { background: var(--rara-primary); color: #fff; }
.pagination .page-link:hover { background: rgba(255,107,53,.1); color: var(--rara-primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-stats { gap: 1.5rem; }
    .stat-number { font-size: 1.5rem; }
    .hero-search-inner { flex-direction: column; border-radius: var(--radius-md); padding: .5rem; gap: .5rem; }
    .search-city-wrap { width: 100%; border-right: none; border-bottom: 1px solid var(--rara-border); justify-content: center; }
    .hero-city-select { width: 100%; }
    .btn-hero-search { width: 100%; border-radius: var(--radius-sm) !important; }
    .blcard-image { display: none; }
    .blcard-actions { border-left: none; border-top: 1px solid var(--rara-border); flex-direction: row; min-width: auto; }
    .business-header-section .col-md-2 { display: none; }
}
@media (max-width: 576px) {
    .section-title { font-size: 1.6rem; }
    .hero-title { font-size: 1.9rem; }
    .hero-section { padding: 6rem 0 4rem; }
}
