/* =====================================================================
   We Love Lebanon — Design System (vanilla CSS, no framework)
   Brand: #091e3b (navy) / #ffffff
   Mobile-first build
   ===================================================================== */

:root {
    --navy:        #091e3b;
    --navy-2:      #163964;
    --navy-3:      #1f4a82;
    --white:       #ffffff;
    --bg:          #f6f8fc;
    --bg-2:        #eef2f8;
    --line:        #e3e8f0;
    --ink:         #0d1a2f;
    --ink-2:       #36465f;
    --muted:       #6b7a93;
    --gold:        #d4a23f;
    --green:       #16a34a;
    --green-bg:    #dcfce7;
    --red:         #dc2626;
    --red-bg:      #fee2e2;
    --amber:       #d97706;
    --amber-bg:    #fef3c7;

    --r-sm: 6px;
    --r:    10px;
    --r-lg: 16px;
    --r-xl: 22px;

    --sh-1: 0 1px 2px rgba(9,30,59,.06), 0 1px 3px rgba(9,30,59,.04);
    --sh-2: 0 6px 16px rgba(9,30,59,.08), 0 2px 6px rgba(9,30,59,.04);
    --sh-3: 0 18px 40px rgba(9,30,59,.14), 0 6px 12px rgba(9,30,59,.06);

    --t: 220ms cubic-bezier(.2,.7,.2,1);

    --container: 1200px;
}

/* Font: Tajawal (Arabic/Latin). Loaded via <link> in layout head. */

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: 'Tajawal', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
html[dir="rtl"] body { font-family: 'Tajawal', system-ui, sans-serif; }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
a:hover { color: var(--navy-3); }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4 { font-weight: 700; letter-spacing: -.01em; margin: 0 0 .6em; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.text-muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--sm { padding: 50px 0; }
.section--tight { padding: 30px 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px;
    background: var(--navy); color: var(--white);
    font-weight: 600; border: 2px solid var(--navy);
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
    box-shadow: var(--sh-1);
    white-space: nowrap;
}
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn--sm { padding: 8px 16px; font-size: .9rem; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--danger { background: var(--red); border-color: var(--red); }
.btn--danger:hover { background: #b91c1c; border-color: #b91c1c; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.85); backdrop-filter: saturate(150%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.nav-links {
    display: flex; flex-direction: column; gap: 0;
    list-style: none; padding: 8px 0; margin: 0;
    position: fixed; inset: 72px 0 auto 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    transform: translateY(-110%); transition: transform var(--t);
}
.nav-links a { display: block; padding: 14px 24px; font-weight: 500; color: var(--ink-2); position: relative; }
.nav-links a.active, .nav-links a:hover { color: var(--navy); }
.nav-links a.active::after { display: none; }
.nav-links.open { transform: translateY(0); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: inline-flex; background: transparent; border: 0; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }
.lang-toggle {
    border: 1px solid var(--line); background: var(--white); border-radius: 999px;
    padding: 6px 14px; font-weight: 600; color: var(--navy); transition: all var(--t);
}
.lang-toggle:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

@media (min-width: 881px) {
    .nav-links {
        position: static; flex-direction: row; align-items: center; gap: 28px;
        transform: none; background: transparent; border-bottom: none; padding: 0; inset: auto;
    }
    .nav-links a { display: inline; padding: 0; }
    .nav-links a.active::after {
        display: block; content: ''; position: absolute; left: 0; right: 0; bottom: -22px; height: 3px; background: var(--navy); border-radius: 3px;
    }
    .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; color: var(--white); overflow: hidden;
    background: var(--navy) url('/assets/img/hero.svg') center/cover no-repeat;
    padding: 90px 0 110px;
}
.hero::after {
    content: ''; position: absolute; inset: auto 0 -1px 0; height: 80px;
    background: linear-gradient(to bottom, transparent, var(--white));
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { color: var(--white); }
.hero p { font-size: 1.15rem; opacity: .9; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .badges { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; opacity: .85; }
.hero .badge { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 6px 14px; border-radius: 999px; font-size: .85rem; }

/* ---------- Sections ---------- */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title small { color: var(--gold); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; font-size: .8rem; display: block; margin-bottom: 8px; }
.section-title h2 { margin: 0; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3, .grid--4 { grid-template-columns: 1fr; }
@media (min-width: 581px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 961px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow: hidden; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    box-shadow: var(--sh-1); display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: transparent; }
.card-media { aspect-ratio: 16/10; background: var(--bg-2); position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-badge {
    position: absolute; top: 12px; inset-inline-start: 12px;
    background: var(--gold); color: var(--navy);
    padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: .85rem;
    box-shadow: var(--sh-2);
}
.card-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.1rem; }
.card-body .meta { color: var(--muted); font-size: .9rem; }
.card-body .foot { margin-top: auto; padding-top: 12px; }

/* Category tile */
.cat-tile {
    display: flex; align-items: center; gap: 16px;
    padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
    transition: all var(--t); box-shadow: var(--sh-1);
}
.cat-tile:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--sh-2); }
.cat-tile:hover .cat-icon { background: rgba(255,255,255,.12); color: var(--white); }
.cat-tile:hover .cat-count { color: rgba(255,255,255,.7); }
.cat-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--bg-2); display: grid; place-items: center;
    color: var(--navy); flex: 0 0 auto; transition: all var(--t);
}
.cat-icon svg { width: 28px; height: 28px; }
.cat-name { font-weight: 700; font-size: 1.05rem; }
.cat-count { color: var(--muted); font-size: .85rem; }

/* ---------- Feature row ---------- */
.feature {
    text-align: center; padding: 26px; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--r-lg); transition: all var(--t); box-shadow: var(--sh-1);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.feature-icon {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
    display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--white);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 22px; counter-reset: step; }
@media (min-width: 761px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 28px; background: var(--bg); border-radius: var(--r-lg); position: relative; }
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute; top: -20px; inset-inline-start: 24px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy); color: var(--white);
    font-weight: 800; display: grid; place-items: center;
    box-shadow: var(--sh-2);
}
.step h3 { margin-top: 18px; }

/* ---------- CTA strip ---------- */
.cta-strip {
    background: var(--navy); color: var(--white); border-radius: var(--r-xl);
    padding: 50px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
    background-image: url('/assets/img/hero.svg'); background-size: cover; background-position: center;
    flex-wrap: wrap;
}
.cta-strip h2 { color: var(--white); margin: 0; }

/* ---------- Hero Slider ---------- */
.hero-slider {
    position: relative; overflow: hidden;
    background: var(--navy); min-height: 280px; max-height: 400px;
}
.hero-slider-track {
    display: flex; height: 100%; transition: transform 500ms cubic-bezier(.4,.2,.2,1);
    min-height: inherit;
}
.hero-slide {
    flex: 0 0 100%; position: relative; min-height: inherit;
    display: flex; align-items: center; justify-content: center;
}
.hero-slide img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover;
}
.hero-slide-overlay {
    position: relative; z-index: 2; text-align: center;
    padding: 24px 16px; max-width: 700px;
    background: rgba(9,30,59,.55); backdrop-filter: blur(4px);
    border-radius: var(--r-xl); margin: 12px;
}
.hero-slide-title {
    color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    margin: 0 0 16px; text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hero-slider .slider-btn {
    background: rgba(255,255,255,.85); color: var(--navy);
    border: 0; width: 44px; height: 44px; z-index: 3;
}
.hero-slider .slider-btn:hover { background: var(--white); transform: translateY(-50%) scale(1.1); }
.hero-slider .slider-dots { z-index: 3; }
.hero-slider .slider-dots button { width: 10px; height: 10px; }
.hero-slider .slider-dots button.active { background: var(--gold); width: 28px; }

@media (min-width: 641px) {
    .hero-slider { min-height: 420px; max-height: 600px; }
    .hero-slide-overlay { padding: 40px 20px; margin: 20px; }
}

/* ---------- Place detail ---------- */
.place-hero { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
@media (min-width: 881px) { .place-hero { grid-template-columns: 1.5fr 1fr; } }
.slider { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); aspect-ratio: 16/10; box-shadow: var(--sh-2); }
.slider-track { display: flex; height: 100%; transition: transform 400ms cubic-bezier(.4,.2,.2,1); }
.slide { flex: 0 0 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.9); color: var(--navy);
    display: grid; place-items: center; box-shadow: var(--sh-2);
}
.slider-btn:hover { background: var(--white); }
.slider-btn--prev { inset-inline-start: 12px; }
.slider-btn--next { inset-inline-end: 12px; }
[dir="rtl"] .slider-btn svg { transform: scaleX(-1); }
.slider-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); padding: 0; }
.slider-dots button.active { background: var(--white); width: 24px; border-radius: 4px; }

.place-info { padding: 4px 0; }
.place-info h1 { margin: 0 0 6px; }
.discount-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #fff3cf, #ffe8a3);
    color: #7a5a00; padding: 10px 18px; border-radius: 999px;
    font-weight: 800; font-size: 1.05rem; margin: 8px 0 18px;
    border: 1px solid #f1d57a;
}
.contact-row {
    display: flex; align-items: center; gap: 12px; padding: 14px;
    background: var(--bg); border-radius: var(--r); margin-bottom: 10px; transition: all var(--t);
}
.contact-row:hover { background: var(--bg-2); transform: translateX(4px); }
[dir="rtl"] .contact-row:hover { transform: translateX(-4px); }
.contact-row svg { width: 22px; height: 22px; color: var(--navy); flex-shrink: 0; }
.contact-row strong { color: var(--ink); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); font-size: .95rem; }
.form-control {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r);
    background: var(--white); transition: border-color var(--t), box-shadow var(--t);
    font-size: 1rem;
}
.form-control:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(9,30,59,.08); }
.form-control.is-error { border-color: var(--red); }
.error-text { color: var(--red); font-size: .85rem; margin-top: 4px; }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 601px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Flash messages ---------- */
.flash { padding: 14px 18px; border-radius: var(--r); margin-bottom: 18px; font-weight: 500; }
.flash--success { background: var(--green-bg); color: #14532d; border: 1px solid #bbf7d0; }
.flash--error   { background: var(--red-bg);   color: #7f1d1d; border: 1px solid #fecaca; }
.flash--info    { background: #dbeafe;         color: #1e3a8a; border: 1px solid #bfdbfe; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy); color: #cfd8e8; padding: 60px 0 30px; margin-top: 80px;
}
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
@media (min-width: 481px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 881px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer a { color: #cfd8e8; }
.site-footer a:hover { color: var(--white); }
.footer-brand img { height: 50px; margin-bottom: 14px; }
.brand-seal { height: 52px; width: auto; display: block; }
.brand-seal--footer { height: 70px; }
.footer-socials { display: flex; gap: 12px; margin-top: 14px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-socials a:hover { background: var(--white); color: var(--navy); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .9rem; color: #94a3b8; }

/* ---------- Verify page ---------- */
.verify-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.verify-card { max-width: 480px; width: 100%; text-align: center; background: var(--white); border-radius: var(--r-xl); padding: 40px 30px; box-shadow: var(--sh-3); border: 1px solid var(--line); }
.verify-state { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; }
.verify-state svg { width: 64px; height: 64px; }
.verify-state--ok { background: var(--green-bg); color: var(--green); }
.verify-state--bad { background: var(--red-bg); color: var(--red); }
.verify-card h1 { font-size: 1.8rem; margin-bottom: 8px; }
.verify-card .msg { color: var(--muted); margin-bottom: 22px; }
.verify-meta { background: var(--bg); border-radius: var(--r); padding: 18px; text-align: start; }
.verify-meta dt { color: var(--muted); font-size: .85rem; }
.verify-meta dd { margin: 0 0 12px; font-weight: 600; font-size: 1.05rem; }
.verify-clock { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); font-size: .85rem; margin-top: 16px; }

/* ---------- Animations ---------- */
.js .fade-in { opacity: 0; transform: translateY(20px); transition: opacity 600ms, transform 600ms; }
.js .fade-in.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .js .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; inset-inline-start: -9999px; }
.skip-link:focus { inset-inline-start: 10px; top: 10px; background: var(--navy); color: var(--white); padding: 8px 12px; border-radius: 6px; z-index: 100; }

/* ---------- RTL tweaks ---------- */
[dir="rtl"] .hero { background-position: left center; }

/* =====================================================================
   MODERN REDESIGN (Makhsoom-inspired layout)
   ===================================================================== */

/* Top utility bar ------------------------------------------------- */
.topbar {
    background: #f1f4f9;
    border-bottom: 1px solid var(--line);
    font-size: .78rem;
    color: var(--ink-2);
}
.topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; height: auto; padding: 8px 0; flex-wrap: wrap;
}
.topbar a { color: var(--ink-2); transition: color var(--t); }
.topbar a:hover { color: var(--navy); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; }
.topbar-link svg { width: 14px; height: 14px; }
.topbar-sep { color: var(--line); }

@media (min-width: 641px) {
    .topbar { font-size: .85rem; }
    .topbar-inner { height: 40px; padding: 0; }
    .topbar-left, .topbar-right { gap: 18px; }
}

/* Modern header with search -------------------------------------- */
.site-header.modern {
    background: var(--white);
    backdrop-filter: none;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(9,30,59,.02);
}
.header-row {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
}
.header-row .brand img { height: 56px; }
.header-row .brand img.brand-seal { height: 60px; }
.header-row .brand { gap: 12px; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; }
.brand-mark svg { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; color: var(--navy); }
.brand-text-1 { font-size: 13px; font-weight: 600; letter-spacing: .2px; }
.brand-text-2 { font-size: 16px; font-weight: 800; letter-spacing: .2px; margin-top: 2px; }
.brand-mark svg { width: 36px; height: 36px; }
[dir="rtl"] .brand-text-1, [dir="rtl"] .brand-text-2 { font-family: 'Tajawal',system-ui,sans-serif; }

@media (min-width: 641px) {
    .brand-text-1 { font-size: 16px; }
    .brand-text-2 { font-size: 20px; }
    .brand-mark svg { width: 44px; height: 44px; }
}

.search-form {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
    grid-column: 1 / -1;
    order: 3;
}
.search-form input[type="search"] {
    flex: 1;
    border: 2px solid var(--gold);
    border-inline-end: 0;
    border-radius: 12px 0 0 12px;
    padding: 14px 18px;
    font-size: 1rem;
    background: #f6f8fc;
    color: var(--ink);
    outline: none;
    min-width: 0;
}
[dir="rtl"] .search-form input[type="search"] {
    border-radius: 0 12px 12px 0;
}
.search-form input[type="search"]:focus {
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(212,162,63,.12);
}
.search-form button {
    border: 2px solid var(--gold);
    background: var(--gold);
    color: var(--navy);
    padding: 0 22px;
    border-radius: 0 12px 12px 0;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background var(--t);
}
[dir="rtl"] .search-form button {
    border-radius: 12px 0 0 12px;
}
.search-form button:hover { background: #c8951f; border-color: #c8951f; }
.search-form button svg { width: 22px; height: 22px; }

.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.header-actions .btn--sm { padding: 9px 18px; }

@media (min-width: 881px) {
    .header-row {
        grid-template-columns: auto 1fr auto;
        gap: 28px;
    }
    .search-form {
        max-width: 720px;
        grid-column: auto;
        order: 0;
    }
    .header-actions { justify-self: auto; }
}

/* Modern nav row (categories nav under header) */
.subnav {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.subnav-inner {
    display: flex; align-items: center; gap: 6px;
    overflow-x: auto; padding: 4px 0;
    scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-inner a {
    padding: 12px 14px;
    font-weight: 500;
    color: var(--ink-2);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color var(--t), border-color var(--t);
}
.subnav-inner a:hover { color: var(--navy); }
.subnav-inner a.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
}

/* Toolbar (filter + sort) ---------------------------------------- */
.toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin: 8px 0 22px; flex-wrap: wrap;
}
.toolbar-title { font-size: 1.6rem; font-weight: 700; margin: 0; color: var(--ink); }
.toolbar-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sort-group { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.sort-select {
    appearance: none; -webkit-appearance: none;
    padding: 10px 38px 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a93' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 12px center / 16px;
    font-weight: 600; color: var(--ink); min-width: 180px;
    cursor: pointer; transition: border-color var(--t), box-shadow var(--t);
}
[dir="rtl"] .sort-select {
    padding: 10px 14px 10px 38px;
    background-position: left 12px center;
}
.sort-select:hover { border-color: var(--navy-3); }
.sort-select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(9,30,59,.08); }

/* Chip row -------------------------------------------------------- */
.chip-row {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: 28px;
}
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink-2);
    font-weight: 600; font-size: .92rem;
    transition: all var(--t);
    cursor: pointer;
    white-space: nowrap;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    box-shadow: var(--sh-2);
}
.chip svg { width: 16px; height: 16px; }

/* 2-column modern grid ------------------------------------------- */
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 721px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }

/* Deal/Place card (Makhsoom-style) ------------------------------- */
.deal-card {
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-1);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    height: 100%;
}
.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-3);
    border-color: transparent;
}
.deal-card-media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-2);
}
.deal-card-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.deal-card:hover .deal-card-media img { transform: scale(1.06); }
.deal-card-badge {
    position: absolute;
    top: 14px; inset-inline-start: 14px;
    background: linear-gradient(135deg, var(--gold), #b3851f);
    color: var(--navy);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: .88rem;
    box-shadow: var(--sh-2);
    letter-spacing: .01em;
}
.deal-card-rating {
    position: absolute;
    top: 14px; inset-inline-end: 14px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(4px);
    color: var(--ink);
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .82rem;
    display: inline-flex; align-items: center; gap: 4px;
    box-shadow: var(--sh-1);
}
.deal-card-rating svg { width: 14px; height: 14px; color: var(--gold); fill: var(--gold); }
.deal-card-body {
    padding: 18px 20px 14px;
    display: flex; flex-direction: column; gap: 10px;
    flex: 1;
}
.deal-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
    line-height: 1.35;
    /* clamp 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.deal-card-business {
    color: var(--ink-2);
    font-size: .95rem;
    font-weight: 600;
    margin: 0;
}
.deal-card-location {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--muted);
    font-size: .88rem;
}
.deal-card-location svg { width: 14px; height: 14px; flex-shrink: 0; }
.deal-card-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--bg-2);
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
}
.deal-card-discount {
    color: var(--green);
    font-weight: 800;
    font-size: 1.15rem;
}
.deal-card-cta {
    color: var(--navy);
    font-weight: 700;
    font-size: .9rem;
    display: inline-flex; align-items: center; gap: 4px;
    transition: gap var(--t);
}
.deal-card:hover .deal-card-cta { gap: 8px; }
.deal-card-cta svg { width: 14px; height: 14px; }
[dir="rtl"] .deal-card-cta svg { transform: scaleX(-1); }

/* Compact slim hero (Makhsoom style) ----------------------------- */
.slim-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
    color: var(--white);
    padding: 50px 0 60px;
    position: relative;
    overflow: hidden;
}
.slim-hero::after {
    content: ''; position: absolute; inset: 0;
    background: url('/assets/img/hero.svg') center/cover no-repeat;
    opacity: .15; pointer-events: none;
}
.slim-hero-inner { position: relative; z-index: 1; text-align: center; }
.slim-hero h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    color: var(--white);
    margin-bottom: 10px;
}
.slim-hero p {
    font-size: 1.1rem;
    opacity: .9;
    max-width: 620px;
    margin: 0 auto 22px;
}
.slim-hero .badges { justify-content: center; }

/* Floating WhatsApp button --------------------------------------- */
.float-wa {
    position: fixed;
    bottom: 16px;
    inset-inline-end: 16px;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: grid; place-items: center;
    box-shadow: 0 8px 24px rgba(37,211,102,.35), 0 2px 6px rgba(0,0,0,.1);
    z-index: 40;
    transition: transform var(--t), box-shadow var(--t);
}
.float-wa:hover {
    transform: scale(1.08);
    color: var(--white);
    box-shadow: 0 12px 32px rgba(37,211,102,.45), 0 4px 8px rgba(0,0,0,.12);
}
.float-wa svg { width: 26px; height: 26px; }

@media (min-width: 481px) {
    .float-wa { width: 58px; height: 58px; bottom: 24px; inset-inline-end: 24px; }
    .float-wa svg { width: 30px; height: 30px; }
}

/* Modern footer (lighter, simpler) ------------------------------- */
.site-footer.modern {
    background: #fafbfd;
    color: var(--ink-2);
    border-top: 1px solid var(--line);
    margin-top: 60px;
    padding: 50px 0 24px;
}
.site-footer.modern h4 { color: var(--navy); }
.site-footer.modern a { color: var(--ink-2); }
.site-footer.modern a:hover { color: var(--navy); }
.footer-grid.modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 36px;
}
@media (min-width: 481px) { .footer-grid.modern { grid-template-columns: 1fr 1fr; } }
@media (min-width: 881px) { .footer-grid.modern { grid-template-columns: repeat(4, 1fr); } }
.footer-col-links { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.footer-follow { text-align: center; padding-top: 8px; }
.footer-follow h4 { margin-bottom: 16px; text-align: center; }
.footer-follow .socials {
    display: flex; gap: 14px; justify-content: center;
}
.footer-follow .socials a {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line);
    display: grid; place-items: center;
    color: var(--ink-2);
    transition: all var(--t);
}
.footer-follow .socials a:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transform: translateY(-2px);
}
.footer-follow .socials svg { width: 18px; height: 18px; }
.site-footer.modern .footer-bottom {
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding-top: 18px;
}

/* Category mini-tile (icon + name, compact) ---------------------- */
.cat-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 481px) { .cat-mini-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 881px) { .cat-mini-grid { grid-template-columns: repeat(6, 1fr); } }
.cat-mini {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 22px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    text-align: center;
    transition: all var(--t);
    box-shadow: var(--sh-1);
}
.cat-mini:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--sh-2);
}
.cat-mini:hover .cat-mini-icon {
    background: rgba(255,255,255,.14);
    color: var(--white);
}
.cat-mini-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f4f6fb, #e8edf5);
    color: var(--navy);
    display: grid; place-items: center;
    transition: all var(--t);
}
.cat-mini-icon svg { width: 26px; height: 26px; }
.cat-mini-name { font-weight: 700; font-size: .95rem; }

/* Form-page card panel ------------------------------------------ */
.page-head {
    text-align: center;
    margin-bottom: 30px;
}
.page-head .eyebrow {
    display: inline-block;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: 10px;
}
.page-head h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 8px;
    color: var(--ink);
}
.page-head p { color: var(--muted); margin: 0 auto; max-width: 620px; font-size: 1.02rem; }

.card-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-2);
    padding: 24px 18px;
}
@media (min-width: 601px) { .card-panel { padding: 36px 38px; border-radius: var(--r-xl); } }

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
}
@media (min-width: 601px) { .info-grid { grid-template-columns: 1fr 1fr; } }

/* Place page polish ---------------------------------------------- */
.place-info { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-1); }
@media (min-width: 881px) { .place-info { padding: 24px 26px; } }

/* Empty state ---------------------------------------------------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg);
    border-radius: var(--r-lg);
    border: 1px dashed var(--line);
}
.empty-state svg { width: 56px; height: 56px; color: var(--muted); opacity: .5; margin-bottom: 14px; }
.empty-state p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Search hint / breadcrumb --------------------------------------- */
.breadcrumb {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { opacity: .5; }

/* Merchant Registration Wizard --------------------------------- */
.wizard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 20px; margin-top: 28px; }
@media (min-width: 601px) { .wizard { padding: 36px; border-radius: var(--r-xl); } }

.wizard-progress { display: flex; gap: 4px; margin-bottom: 32px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.wizard-step-pill { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; cursor: pointer; font-size: .8rem; color: var(--muted); transition: all var(--t); flex: 1; justify-content: center; }
.wizard-step-label { display: none; }
@media (min-width: 641px) { .wizard-step-pill { padding: 8px 14px; font-size: .9rem; } .wizard-step-label { display: inline; } }
.wizard-step-pill:hover { background: var(--bg); }
.wizard-step-pill.active { background: var(--navy); color: var(--white); }
.wizard-step-pill.done { color: var(--green); }
.wizard-step-pill.done .wizard-step-num { background: var(--green-bg); color: var(--green); }
.wizard-step-num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: var(--bg-2); flex-shrink: 0; }
.wizard-step-pill.active .wizard-step-num { background: rgba(255,255,255,.2); color: var(--white); }
.wizard-step-title { font-size: 1.25rem; margin: 0 0 20px; }
.wizard-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }

.hours-grid { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.hours-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: 0; }
@media (min-width: 521px) { .hours-row { grid-template-columns: 140px 80px 1fr; gap: 12px; } }
.hours-day { font-weight: 600; font-size: .95rem; }
.hours-closed { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); cursor: pointer; }
.hours-closed input { width: 16px; height: 16px; }
.hours-times { display: flex; align-items: center; gap: 8px; }
.hours-times .form-control { padding: 6px 10px; font-size: .9rem; width: auto; min-width: 0; max-width: 100px; }
.hours-sep { color: var(--muted); }
@media (min-width: 521px) { .hours-times .form-control { max-width: none; } }

.wizard-summary { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-top: 20px; }
.wizard-summary h3 { font-size: 1.05rem; margin: 0 0 12px; }
.checkbox-inline { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.checkbox-inline input { width: 18px; height: 18px; }

/* Print-friendly tweaks ------------------------------------------ */
@media print {
    .topbar, .subnav, .float-wa, .site-footer, .nav-toggle, .search-form, .header-actions { display: none !important; }
    .site-header.modern { border: 0; }
    body { background: #fff; }
}
