/* ═══════════════════════════════════════════════════════════════
   FiLLi Cafe — Country Pages Design System
   Prefix: cy- (country) to avoid collision with fi- (UAE) and sl- (store locator)
   ═══════════════════════════════════════════════════════════════ */

:root {
    --cy-orange: #fc5007;
    --cy-brown: #3f2016;
    --cy-cream: #f9f5f0;
    --cy-warm: #fdf6ef;
    --cy-dark: #1a0e08;
    --cy-gold: #d4a053;
    --cy-text: #555;
    --cy-radius: 16px;

    /* Section spacing — country pages inherit the global --section-pad /
       --section-pad-lg tokens defined in wp-shared-styles.blade.php.
       --cy-section-md is now an alias so existing selectors keep working
       while staying in lockstep with the main-site rhythm. */
    --cy-section-sm: clamp(36px, 5vw, 56px);
    --cy-section-md: var(--section-pad);
    --cy-section-lg: var(--section-pad-lg);
    --cy-gap-sm: clamp(20px, 2.5vw, 28px);
}


/* ── External link icon ── */
.cy-ext-icon { font-size: 0.6em; opacity: 0.5; margin-inline-start: 2px; }
.cy-btn .cy-ext-icon { font-size: 0.85em; opacity: 0.7; }


/* ── Navbar button spacing — logical properties auto-flip on RTL ──
   Replaces the per-direction px literals that used to live in
   country-rtl.css. margin-inline-end = trailing edge in both locales;
   margin-inline-start = leading edge. One rule, two locales. */
header.navbar-section .find-store-btn {
    margin-inline-end: 35px;
    margin-inline-start: 0;
}
header.navbar-section .find-store-btn img {
    margin-inline-end: 12px;
    margin-inline-start: 0;
}
header.navbar-section .menu-margin {
    margin-inline-start: 70px;
    margin-inline-end: 0;
}

/* ── Global site link (header + mobile overlay) ──
   Matches .find-store-btn treatment from partials/wp-shared-styles.blade.php
   so both header CTAs share the same small-caps, 12px/700 FiLLi nav style. */
.cy-global-link {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 700;
    color: var(--cy-brown);
    letter-spacing: 0.06em; text-transform: uppercase;
    text-decoration: none; transition: color 0.2s ease;
    margin-inline-end: 20px;
}
.cy-global-link:hover { color: var(--cy-orange); }
.cy-global-link .bi-globe2 { font-size: 14px; }
.fi-nav-link--global { margin-top: 16px; padding-top: 24px; }


/* ── Utility ── */
.cy-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cy-kicker {
    font-size: 0.62rem; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: var(--cy-orange);
    display: block; margin-bottom: 10px;
}
.cy-section {
    position: relative;
    overflow: hidden;
    padding: var(--cy-section-md) 0;
}
/* Hero is full-bleed — it manages its own vertical sizing, not the section token. */
.cy-hero.cy-section { padding: 0; }


/* ── Reveal animation ── */
.cy-reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.cy-reveal.vis { opacity: 1; transform: none; }
.cy-reveal-d1 { transition-delay: 0.1s; }
.cy-reveal-d2 { transition-delay: 0.2s; }


/* ── Buttons ── */
.cy-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 13px 30px; border-radius: 50px; border: none; cursor: pointer;
    transition: all 0.3s ease; text-decoration: none; line-height: 1;
}
.cy-btn-fill { background: var(--cy-orange); color: #fff; }
.cy-btn-fill:hover { background: #e04500; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(252,80,7,0.25); color: #fff; }
.cy-btn-dark { background: var(--cy-brown); color: #fff; }
.cy-btn-dark:hover { background: #2e1810; transform: translateY(-2px); color: #fff; }
.cy-btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.3); color: #fff; }
.cy-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.cy-btn-white { background: #fff; color: var(--cy-brown); }
.cy-btn-white:hover, .cy-btn-white:focus, .cy-btn-white:active { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.15); color: var(--cy-brown); text-decoration: none; background: #fff; }
.cy-btn:hover, .cy-btn:focus { text-decoration: none; }


/* ═══ HERO — Full-bleed image, gradient overlay ═══
   Vertical rhythm reads the global --nav-total / --hero-pad-top tokens
   defined in partials/wp-shared-styles.blade.php. Main-site and country
   heroes share one system — no per-country magic numbers. */
.cy-hero {
    position: relative; min-height: var(--hero-h-desktop);
    display: flex; flex-direction: column; justify-content: flex-start;
    background: var(--cy-dark); overflow: hidden;
    padding-top: 0;
    /* margin-top: calc(-1 * var(--nav-total)) is declared globally in
       partials/wp-shared-styles.blade.php as the single source of truth.
       Do not re-declare here — one global rule only. */
}
/* Tablet + mobile hero heights read from the global tokens so every
   hero variant on every page stays in lockstep across breakpoints. */
@media (max-width: 1023px) {
    .cy-hero { min-height: var(--hero-h-tablet); }
}
@media (max-width: 767px) {
    .cy-hero { min-height: var(--hero-h-mobile); }
}
/* Variants re-state .cy-section in the selector so specificity ties with
   .cy-hero.cy-section { padding: 0 } and source order wins — otherwise
   the zero-padding override wipes out the navbar offset padding-top below. */
.cy-hero--compact.cy-section {
    min-height: 45vh;
    justify-content: center;
    padding-top: var(--nav-total);
}
.cy-hero--cream.cy-section {
    background: var(--cy-warm);
    min-height: auto;
    padding: calc(var(--nav-total) + 10px) 0 clamp(24px, 3vw, 36px);
    /* margin-top declared globally in wp-shared-styles.blade.php.
       .cy-hero--cream.cy-section later opts OUT via margin-top:0 in
       country-master.blade.php so the cream flows naturally. */
}
.cy-hero-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
}
.cy-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(26,14,8,0.85) 0%, rgba(26,14,8,0.65) 30%, rgba(26,14,8,0.15) 55%, transparent 70%);
    z-index: 1;
}
.cy-hero-inner {
    position: relative; z-index: 2;
    width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px;
    display: flex; flex-direction: column; justify-content: space-between;
    flex: 1;
}
.cy-hero--compact .cy-hero-inner,
.cy-hero--cream .cy-hero-inner { padding-bottom: 0; flex: initial; }
.cy-hero--cream .cy-hero-text { padding-top: 0; }
/* Hero text top padding is the global --hero-pad-top token (nav + announce
   + --hero-clear breathing). Single source of truth — stays aligned with
   main-site fi-hero-text automatically. */
.cy-hero-text {
    max-width: 600px;
    padding-top: var(--hero-pad-top);
}
.cy-hero-tagline {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.575rem; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase;
    color: rgba(255,255,255,0.8); margin-bottom: 10px;
}
.cy-hero--cream .cy-hero-tagline { color: var(--cy-orange); }
.cy-hero-tagline::before {
    content: ''; display: block; width: 18px; height: 1.5px;
    background: var(--cy-orange);
}
.cy-hero h1 {
    font-size: clamp(1.84rem, 4vw, 3rem);
    font-weight: 900; color: #fff; line-height: 1.1;
    letter-spacing: -0.3px; margin: 0 0 10px;
    text-transform: uppercase;
}
.cy-hero--cream h1 { color: var(--cy-brown); }
.cy-hero h1 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic; font-weight: 400;
    color: var(--cy-orange); text-transform: none;
    letter-spacing: 0;
}
.cy-hero-desc {
    font-size: clamp(0.83rem, 1.03vw, 0.92rem);
    color: rgba(255,255,255,0.85); line-height: 1.65;
    max-width: 415px; margin: 0 0 20px;
}
.cy-hero--cream .cy-hero-desc { color: var(--cy-text); }
.cy-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cy-hero-btns .cy-btn { padding: 10px 23px; font-size: 0.67rem; }


/* ═══ INTRO — Warm brand section ═══
   Values match .fi-intro in resources/views/website/home.blade.php
   (the working main-site layout) so desktop + mobile render identically
   across UAE, Qatar, and US — only prefix differs. */
.cy-intro {
    background: var(--cy-warm);
    padding: clamp(56px, 9vw, 110px) 0;
    /* Cups photo is painted by a real <img> inside .cy-intro-image
       (country/home.blade.php). Background-image approach was removed
       in Phase 2 to eliminate the desktop-bg / mobile-img drift. */
}
/* Image wrapper — locked aspect ratio prevents CLS and guarantees the
   cups photo renders at the same proportions on every breakpoint and
   in every locale. */
.cy-intro-image {
    aspect-ratio: 1689 / 1191;
    border-radius: var(--cy-radius);
    overflow: hidden;
}
.cy-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Removed: legacy `.cy-intro-image img { display: none }` rule that was
   hiding the image on desktop. It was a leftover from the old desktop-
   background-image / mobile-img setup. Phase 3 deleted it so the single
   aspect-ratio-locked <img> now paints at every viewport. */
.cy-intro-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: center;
}
.cy-intro h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 900; color: var(--cy-brown);
    line-height: 1.12; margin: 0 0 20px;
}
.cy-intro h2 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic; color: var(--cy-orange);
}
.cy-intro p {
    font-size: 0.95rem; line-height: 1.85; color: var(--cy-text); margin-bottom: 14px;
}
.cy-intro-values {
    display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap;
}
.cy-value {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.78rem; font-weight: 700; color: var(--cy-brown);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.cy-value i { color: var(--cy-orange); font-size: 1rem; }


/* ═══ ABOUT EXTRA — Optional CMS-driven secondary about block ═══ */
.cy-about-extra {
    background: #fff;
    /* padding inherited from .cy-section. */
}
.cy-about-extra .cy-reveal { max-width: 760px; margin: 0 auto; text-align: center; }
.cy-about-extra h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 900; color: var(--cy-brown);
    line-height: 1.12; margin: 0 0 20px;
}
.cy-about-extra h2 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic; color: var(--cy-orange);
}
.cy-about-extra p {
    font-size: 0.95rem; line-height: 1.85; color: var(--cy-text); margin-bottom: 14px;
}
.cy-about-extra .cy-btn { margin-top: 12px; }


/* ═══ MENU PREVIEW — Horizontal scroll cards ═══ */
.cy-menu-section {
    background: #fff;
    /* padding inherited from .cy-section. */
}
.cy-menu-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 36px;
}
.cy-menu-head h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 900;
    color: var(--cy-brown); margin: 0; text-transform: uppercase;
}
.cy-menu-head h2 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic; color: var(--cy-orange);
}
.cy-menu-scroll {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: 12px; scrollbar-width: none;
}
.cy-menu-scroll::-webkit-scrollbar { display: none; }
.cy-mcard {
    flex: 0 0 280px; scroll-snap-align: start;
    border-radius: var(--cy-radius); overflow: hidden;
    position: relative; aspect-ratio: 3/4; background: var(--cy-dark);
    text-decoration: none;
}
.cy-mcard img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.cy-mcard:hover img { transform: scale(1.07); }
.cy-mcard-ov {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(26,14,8,0.85) 0%, transparent 55%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.cy-mcard-ov span {
    font-size: 0.58rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--cy-orange); margin-bottom: 4px;
}
.cy-mcard-ov h3 {
    font-size: 1.1rem; font-weight: 800; color: #fff;
    margin: 0; text-transform: uppercase;
}
/* Fallback: no image */
.cy-mcard--fallback {
    background: linear-gradient(135deg, var(--cy-brown) 0%, var(--cy-dark) 100%);
    display: flex; align-items: center; justify-content: center;
}
.cy-mcard--fallback i {
    font-size: 3rem; color: rgba(255,255,255,0.15);
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}


/* ═══ STORES STRIP — Dark section with scroll cards ═══ */
.cy-stores-section {
    background: var(--cy-brown);
    /* padding inherited from .cy-section. */
    text-align: center;
}
/* Internal spacing between map / view-all button within the stores section.
   Replaces inline style="margin-top:32px;" that was on two wrappers. */
.cy-stores-section .cy-map-wrap,
.cy-stores-section .cy-stores-cta { margin-top: var(--cy-gap-sm); }
.cy-stores-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900;
    color: #fff; margin: 0 0 8px; text-transform: uppercase;
}
.cy-stores-section h2 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic; color: var(--cy-gold);
}
.cy-stats-row {
    display: flex; justify-content: center; gap: clamp(28px, 6vw, 72px);
    margin-bottom: 36px; flex-wrap: wrap;
}
.cy-stat { text-align: center; }
.cy-stat-num {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
    color: #fff; line-height: 1;
}
.cy-stat-num em { font-style: normal; color: var(--cy-orange); }
.cy-stat-label {
    font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,0.35); font-weight: 600; margin-top: 4px;
}
.cy-store-strip {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; padding-bottom: 12px; margin-bottom: 24px;
}
.cy-store-strip::-webkit-scrollbar { display: none; }
.cy-store-slide {
    flex: 0 0 280px; scroll-snap-align: start;
    position: relative; border-radius: var(--cy-radius);
    overflow: hidden; aspect-ratio: 4/3; cursor: pointer;
    text-decoration: none; display: block;
}
.cy-store-slide img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.cy-store-slide:hover img { transform: scale(1.04); }
.cy-store-slide-ov {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 32px 24px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    display: flex; align-items: flex-end; justify-content: space-between;
}
.cy-store-slide-info h3 {
    font-size: 0.95rem; font-weight: 800; color: #fff;
    text-transform: uppercase; margin: 0 0 3px; letter-spacing: 0.02em;
    text-align: start;
}
.cy-store-slide-info span {
    font-size: 0.7rem; color: rgba(255,255,255,0.7); font-weight: 500;
}
/* Fallback: no cover image */
.cy-store-slide--fallback {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    display: flex; align-items: center; justify-content: center;
}
.cy-store-slide--fallback i {
    font-size: 2.5rem; color: rgba(255,255,255,0.12);
}


/* ═══ FRANCHISE CTA — Orange banner ═══ */
.cy-cta {
    background: var(--cy-orange);
    padding: var(--cy-section-sm) 0;
    text-align: center; position: relative; overflow: hidden;
}
.cy-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}
.cy-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900;
    color: #fff; margin: 0 0 6px; text-transform: uppercase; position: relative;
}
.cy-cta h2 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic; text-transform: none;
}
.cy-cta p {
    font-size: 0.95rem; color: rgba(255,255,255,0.8);
    margin-bottom: 24px; position: relative;
}


/* ═══ CONTACT PAGE ═══ */
.cy-contact-hero {
    position: relative;
    min-height: 50vh; display: flex; align-items: center;
    background: linear-gradient(155deg, #0d0705 0%, #1a0e08 35%, #3f2016 100%);
    overflow: hidden;
    padding: clamp(120px, 18vh, 200px) 0 clamp(60px, 10vh, 120px);
    /* margin-top pull-up is declared once in the global hero selector
       list in partials/wp-shared-styles.blade.php. No page-level copy. */
}
.cy-contact-hero .cy-wrap { position: relative; z-index: 2; }
.cy-contact-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
    color: #fff; margin: 0 0 12px; text-transform: uppercase;
}
.cy-contact-hero h1 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic; color: var(--cy-orange); text-transform: none;
}
.cy-contact-hero p {
    font-size: 0.95rem; color: rgba(255,255,255,0.6);
    max-width: 480px; line-height: 1.7;
}
.cy-contact-cards {
    padding: clamp(48px, 8vw, 80px) 0 clamp(56px, 10vw, 100px);
    background: var(--cy-cream);
}
.cy-contact-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; max-width: 900px; margin: 0 auto;
}
.cy-contact-card {
    background: #fff; border-radius: var(--cy-radius);
    padding: 40px 32px; text-align: center;
    border: 1px solid rgba(63,32,22,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none; display: flex; flex-direction: column;
    align-items: center; color: inherit;
}
.cy-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(63,32,22,0.08);
    color: inherit;
}
.cy-contact-card__icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--cy-warm); display: flex;
    align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.cy-contact-card__icon i {
    font-size: 1.4rem; color: var(--cy-orange);
}
.cy-contact-card h3 {
    font-size: 1rem; font-weight: 800; color: var(--cy-brown);
    margin: 0 0 8px; text-transform: uppercase;
}
.cy-contact-card p {
    font-size: 0.85rem; color: var(--cy-text); line-height: 1.7; margin: 0 0 16px;
}
.cy-contact-card .cy-contact-link {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: var(--cy-orange); text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    transition: gap 0.3s;
}
.cy-contact-card:hover .cy-contact-link { gap: 10px; }


/* ═══ MENU PAGE — Empty state ═══ */
.cy-empty-state {
    text-align: center; padding: 80px 20px;
}
.cy-empty-state img {
    max-width: 300px; width: 100%; margin-bottom: 32px;
    border-radius: var(--cy-radius); opacity: 0.9;
}
.cy-empty-state h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 900;
    color: var(--cy-brown); margin: 0 0 12px;
}
.cy-empty-state h2 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic; color: var(--cy-orange);
}
.cy-empty-state p {
    font-size: 1rem; color: var(--cy-text); margin-bottom: 24px;
    line-height: 1.7;
}


/* ═══ POPULAR MENU ITEMS (store detail) ═══ */
.cy-popular-menu {
    padding: 40px 0; background: var(--cy-cream);
}
.cy-popular-menu h2 {
    font-size: 1.2rem; font-weight: 800; color: var(--cy-brown);
    text-transform: uppercase; margin: 0 0 20px;
}
.cy-popular-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.cy-popular-item {
    background: #fff; border-radius: 12px; padding: 16px;
    text-align: center; text-decoration: none; display: block;
    transition: transform 0.3s;
}
.cy-popular-item:hover { transform: translateY(-3px); }
.cy-popular-item img {
    width: 60px; height: 60px; border-radius: 50%;
    object-fit: cover; margin-bottom: 8px;
}
.cy-popular-item h4 {
    font-size: 0.75rem; font-weight: 700; color: var(--cy-brown);
    margin: 0; line-height: 1.3;
}


/* ═══ RESPONSIVE ═══ */
@media (max-width: 991px) {
    /* Mobile: grid stacks to 1 column. The <img> still uses the single
       aspect-ratio container declared above, so rendering parity with
       desktop is preserved. No background-image toggling needed. */
    .cy-intro {
        padding-top: 0;
    }
    .cy-intro-grid { grid-template-columns: 1fr; gap: 24px; }
    /* .cy-intro-image img is already width:100% / height:100% / object-fit:cover
       from the base rule above. Mobile inherits that — no override needed. */
    .cy-store-slide { flex: 0 0 260px; }
    .cy-contact-grid { grid-template-columns: 1fr; max-width: 400px; }
    .cy-popular-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══ FOOTER — Override inherited Bootstrap utility spacing to match country rhythm ═══
   country-master.blade.php uses .pt-lg-7 .pb-lg-7 .pt-5 .pb-5 on the footer
   (5rem / 3rem from styles.min.css). That's a different scale than the country
   sections above it. We override with the shared token so the CTA → Footer →
   Footer-bottom transition is intentional, not accidental. */
.main-section.footer-section.pt-lg-7 { padding-top: var(--cy-section-md) !important; }
.main-section.footer-section.pb-lg-7 { padding-bottom: var(--cy-section-md) !important; }
.main-section.footer-section.pt-5 { padding-top: var(--cy-section-md) !important; }
.main-section.footer-section.pb-5 { padding-bottom: var(--cy-section-md) !important; }
.main-section.footer-bottom.pt-lg-5 { padding-top: var(--cy-section-sm) !important; }
.main-section.footer-bottom.pb-lg-5 { padding-bottom: var(--cy-section-sm) !important; }
.main-section.footer-bottom.pt-4 { padding-top: var(--cy-section-sm) !important; }
.main-section.footer-bottom.pb-4 { padding-bottom: var(--cy-section-sm) !important; }

@media (max-width: 767px) {
    .cy-store-slide { flex: 0 0 240px; }
    .cy-mcard { flex: 0 0 240px; }
    .cy-menu-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 575px) {
    .cy-wrap { padding: 0 16px; }
    .cy-hero-inner { padding: 0 16px; }
    .cy-hero h1 { font-size: 2rem; }
    .cy-hero-desc { font-size: 0.88rem; max-width: 100%; }
    .cy-hero-btns .cy-btn { padding: 10px 18px; font-size: 0.62rem; }
    .cy-hero-img { object-position: 70% center; }
    .cy-hero-overlay {
        background: linear-gradient(180deg, rgba(26,14,8,0.85) 0%, rgba(26,14,8,0.7) 35%, rgba(26,14,8,0.3) 60%, rgba(26,14,8,0.5) 100%) !important;
    }
    /* Phase 2: hero sizes from content + --hero-pad-top. The previous
       min-height: 56vh clamp was removed because when the announcement
       bar was active, hero content could exceed 56vh and get clipped.
       Content-driven sizing is the single source of truth. */
    .cy-hero {
        padding-bottom: clamp(32px, 8vw, 56px);
    }
    /* .cy-hero-text padding-top is provided by --hero-pad-top token.
       Mobile value adapts automatically via the breakpoint override of
       --hero-clear in partials/wp-shared-styles.blade.php. */
    .cy-hero--cream { min-height: 0 !important; height: auto; }
    .cy-intro h2 { font-size: 1.5rem; }
    .cy-stores-section h2 { font-size: 1.5rem; }
    .cy-stat-num { font-size: clamp(2rem, 8vw, 2.8rem); }
    .cy-cta h2 { font-size: 1.3rem; }
    .cy-contact-hero h1 { font-size: 1.8rem; }
    .cy-store-slide { flex: 0 0 220px; }
    .cy-popular-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ── Language switcher chip ──────────────────────────────────
   Rendered in the navbar on bilingual country pages (e.g. Qatar).
   Base styles live here (not country-rtl.css) so the LTR variant
   gets the same pill treatment as RTL. */
.cy-lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 32px;
    border-radius: 980px;
    border: 1.5px solid rgba(63, 32, 22, 0.15);
    padding: 0 12px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cy-brown, #3f2016);
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

.cy-lang-switch:hover {
    background: var(--cy-orange, #fc5007);
    color: #fff;
    border-color: var(--cy-orange, #fc5007);
}

/* Mobile chip — rendered inside .nav-menu next to the hamburger so
   the language switch stays reachable without opening the overlay.
   Desktop still uses the chip inside .header-main-right > #navbar-list. */
.cy-lang-switch--mobile {
    margin-inline-end: 10px;
}
@media (min-width: 992px) {
    .cy-lang-switch--mobile { display: none !important; }
}
