/*
 * Bell & Lyons Insurance — Mobile Homepage Redesign
 * Insuretech-style category card layout, inspired by SmartFinancial reference.
 * Only active at max-width: 768px. Desktop layout is unchanged.
 *
 * Design philosophy:
 *   - Clean white cards on a light grey (#f4f5f7) background
 *   - Navy (#1B2A4A) text, blue (#2163d1) accents
 *   - Strong tap targets, 2-column card grid
 *   - Modern insuretech feel: subtle shadows, rounded corners, icon + label
 */

/* ─── MOBILE ONLY ───────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Offset anchor-scroll targets so sticky header never covers them */
  html {
    scroll-padding-top: 56px !important;
  }

  /* ── 1. HEADER — compact insuretech style ───────────────── */
  /* Override the existing header to match reference:
     hamburger left | logo center | phone icon right */
  .topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 200 !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(27, 42, 74, 0.09) !important;
    box-shadow: 0 1px 8px rgba(27, 42, 74, 0.07) !important;
  }

  .nav {
    padding: 0 !important;
  }

  .nav-top {
    display: grid !important;
    grid-template-columns: 52px 1fr 52px !important;
    align-items: center !important;
    min-height: 56px !important;
    padding: 0 8px !important;
  }

  /* Hamburger — left column */
  .nav-hamburger {
    display: flex !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    width: 40px !important;
    height: 40px !important;
    border: none !important;
    background: none !important;
    border-radius: 8px !important;
    padding: 8px !important;
    cursor: pointer !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    transition: background 150ms ease !important;
  }

  .nav-hamburger:hover {
    background: rgba(27, 42, 74, 0.06) !important;
  }

  .nav-hamburger span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background: #1B2A4A !important;
    border-radius: 2px !important;
  }

  /* Logo — center column */
  .brand {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    align-self: center !important;
  }

  .brand-logo {
    height: 48px !important;
    width: auto !important;
    display: block !important;
  }

  /* Phone icon button — right column */
  .nav-meta {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }

  /* Hide text links in nav-meta, show only phone icon */
  .nav-meta-link {
    display: none !important;
  }

  /* Phone link — show as icon button */
  .nav-phone {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: #2163d1 !important;
    border-radius: 10px !important;
    color: transparent !important;
    font-size: 0 !important;
    text-decoration: none !important;
    border: none !important;
    position: relative !important;
    flex-shrink: 0 !important;
    transition: background 150ms ease !important;
  }

  .nav-phone:hover {
    background: #1a52b8 !important;
    opacity: 1 !important;
    text-decoration: none !important;
  }

  /* Phone icon via pseudo-element */
  .nav-phone::after {
    content: "" !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center/contain no-repeat !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  /* Hide desktop nav-links band */
  .nav-links {
    display: none !important;
  }

  /* ── 2. MOBILE HERO — category card section ───────────────── */

  /* The mobile category section is injected via HTML */
  .mobile-category-hero {
    background: #ffffff !important;
    padding: 24px 16px 8px !important;
  }

  .mobile-category-hero-head {
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .mobile-category-hero-avatar {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid rgba(33, 99, 209, 0.15) !important;
    flex-shrink: 0 !important;
  }

  .mobile-category-hero-text h1 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #1B2A4A !important;
    margin: 0 0 2px !important;
    line-height: 1.3 !important;
  }

  .mobile-category-hero-text p {
    font-size: 0.82rem !important;
    color: #5A6A82 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
  }

  /* ── 3. CATEGORY CARD GRID ────────────────────────────────── */

  .mobile-category-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding: 0 0 20px !important;
  }

  .mobile-cat-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 22px 12px 18px !important;
    border: 1.5px solid rgba(27, 42, 74, 0.07) !important;
    box-shadow: 0 2px 8px rgba(27, 42, 74, 0.06) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    color: #1B2A4A !important;
    gap: 10px !important;
    min-height: 110px !important;
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }

  .mobile-cat-card:hover,
  .mobile-cat-card:active {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(33, 99, 209, 0.14) !important;
    border-color: rgba(33, 99, 209, 0.25) !important;
    text-decoration: none !important;
    color: #1B2A4A !important;
  }

  .mobile-cat-card:active {
    transform: scale(0.97) !important;
  }

  /* Category icon — illustrated SVG style (SmartFinancial-inspired, yellow #f8c312) */
  .mobile-cat-icon {
    width: 80px !important;
    height: 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
    border: none !important;
    padding: 0 !important;
  }

  .mobile-cat-icon img {
    width: 80px !important;
    height: 72px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .mobile-cat-icon svg {
    width: 80px !important;
    height: 72px !important;
    fill: none !important;
  }

  .mobile-cat-label {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    color: #1B2A4A !important;
    text-align: center !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  /* ── 4. LEO CHATBOT SECTION — HIDDEN on mobile homepage ─────── */
  /* Cards redirect to product pages; Leo is not shown on the homepage on mobile */

  .top-leo-chat-section,
  #page-chatbot,
  #leo-stage {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  /* Leo header bar */
  .chatbot-panel-head {
    padding: 14px 18px !important;
    border-bottom: 1px solid rgba(27, 42, 74, 0.07) !important;
    flex-shrink: 0 !important;
    background: #fff !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* Back button inside Leo panel header (injected by JS) */
  .leo-back-btn {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: none !important;
    border: none !important;
    padding: 6px 8px !important;
    border-radius: 8px !important;
    color: #2163d1 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 140ms ease !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
  }

  .leo-back-btn:hover {
    background: rgba(33, 99, 209, 0.07) !important;
  }

  .leo-back-btn svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
  }

  /* Chatbot presence row */
  .chatbot-presence {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: left !important;
  }

  .home-chat-avatar-wrap {
    flex-shrink: 0 !important;
  }

  .home-chat-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }

  .home-chat-online-dot {
    width: 9px !important;
    height: 9px !important;
    bottom: 1px !important;
    right: 1px !important;
  }

  .chatbot-presence strong {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
  }

  .chatbot-presence p {
    font-size: 0.75rem !important;
    margin: 0 !important;
    color: #3a9e5f !important;
  }

  /* Message log */
  .assistant-log {
    flex: 1 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 16px 16px 8px !important;
    gap: 10px !important;
  }

  /* Input bar */
  .assistant-input {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 14px 14px !important;
    border-top: 1px solid rgba(27, 42, 74, 0.07) !important;
    background: #fff !important;
    flex-shrink: 0 !important;
    margin-top: auto !important;
  }

  .assistant-input input {
    flex: 1 !important;
    min-height: 48px !important;
    height: 48px !important;
    font-size: 16px !important;
    border-radius: 999px !important;
    padding: 12px 18px !important;
    border: 1.5px solid rgba(27, 42, 74, 0.14) !important;
    background: #f8f9fb !important;
  }

  /* ── 5. HOW IT WORKS — mobile style ───────────────────────── */
  .compare-showcase {
    background: #ffffff !important;
    padding: 24px 0 20px !important;
    border-top: 1px solid rgba(27, 42, 74, 0.07) !important;
  }

  .compare-showcase-shell {
    padding: 0 18px !important;
  }

  /* Hide original h2 on mobile, show mobile-hiw-heading instead */
  .compare-showcase-head h2 {
    display: none !important;
  }
  .mobile-hiw-heading {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-bottom: 4px !important;
  }
  .mobile-hiw-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #1B2A4A !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    display: block !important;
  }
  .mobile-hiw-underline {
    display: block !important;
    height: 3px !important;
    background: #2163d1 !important;
    border-radius: 2px !important;
    margin-top: 6px !important;
    /* Width will be set by JS or we use a fixed value matching 'How It Works' at 1.5rem */
    width: 9.5ch !important; /* 'How It Works' is ~9.5 characters wide */
  }
  /* Hide visual/illustration on mobile */
  .compare-showcase-visual {
    display: none !important;
  }

  .compare-showcase-layout {
    display: block !important;
  }

  .compare-showcase-heading {
    display: none !important;
  }

  .compare-step {
    padding: 16px 0 !important;
    border-bottom: 1px solid rgba(27, 42, 74, 0.07) !important;
  }

  .compare-step:last-of-type {
    border-bottom: none !important;
  }

  .compare-step strong {
    display: block !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1B2A4A !important;
    margin-bottom: 4px !important;
  }

  .compare-step p {
    font-size: 0.9rem !important;
    color: #5A6A82 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
  }

  /* ── 6. ARTICLES — SmartFinancial-style list ──────────────── */
  .auto-article-section {
    background: #ffffff !important;
    padding: 28px 0 32px !important;
    border-top: 1px solid rgba(27, 42, 74, 0.07) !important;
  }

  .auto-article-head {
    padding: 0 18px 20px !important;
  }

  .auto-article-head h2 {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #1B2A4A !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  /* Vertical list of rows */
  .auto-article-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  /* Each row: square thumbnail left + bold title right */
  .auto-article-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 16px 18px !important;
    border-bottom: 1px solid #ebebeb !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: background 120ms ease !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .auto-article-card:last-of-type {
    border-bottom: none !important;
  }

  .auto-article-card:active {
    background: #f7f7f7 !important;
  }

  /* Square thumbnail — prominent, like SmartFinancial */
  .auto-article-thumb {
    width: 110px !important;
    height: 110px !important;
    min-width: 110px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: #f0f0f0 !important;
  }

  .auto-article-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 10px !important;
    display: block !important;
    transform: none !important;
    transition: none !important;
  }

  .auto-article-copy {
    flex: 1 !important;
    min-width: 0 !important;
    padding-top: 2px !important;
  }

  /* Category badge — small, muted */
  .auto-article-meta {
    margin-bottom: 6px !important;
  }

  .auto-article-badge {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: #8a96aa !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
  }

  /* Title — bold and prominent, matching SmartFinancial */
  .auto-article-copy h3 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1B2A4A !important;
    line-height: 1.38 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* ── 7. CARRIERS SECTION ─────────────────────────────────── */

  .mobile-carriers-section {
    background: #ffffff !important;
    padding: 24px 18px 20px !important;
    border-top: 1px solid rgba(27, 42, 74, 0.07) !important;
  }

  .mobile-carriers-label {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #8a96aa !important;
    text-align: center !important;
    margin: 0 0 16px !important;
    letter-spacing: 0.01em !important;
    line-height: 1.4 !important;
  }

  .mobile-carriers-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px 10px !important;
    align-items: center !important;
    justify-items: center !important;
  }

  .mobile-carrier-logo {
    width: 100% !important;
    max-width: 130px !important;
    height: 44px !important;   /* 480:160 = 3:1 ratio, displayed at 130x44 */
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    opacity: 1 !important;
  }

  /* ── 8. COMPARE SECTION ───────────────────────────────────── */

  .mobile-compare-section {
    background: #ffffff !important;
    padding: 28px 18px 0 !important;
    border-top: 1px solid rgba(27, 42, 74, 0.07) !important;
    text-align: center !important;
  }

  .mobile-compare-heading {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #1B2A4A !important;
    line-height: 1.25 !important;
    margin: 0 0 20px !important;
    letter-spacing: -0.01em !important;
  }

  .mobile-compare-img {
    width: 100% !important;
    max-width: 420px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  /* ── 9. CATEGORY SECTION — hidden on desktop ──────────────── */

  /* The mobile-category-hero section is visible only on mobile */
  .mobile-category-hero {
    display: block !important;
  }

  /* Leo section: when category cards are visible, add a section label */
  .mobile-leo-section-label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 16px 18px 0 !important;
    background: #f4f5f7 !important;
  }

  .mobile-leo-section-label span {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #8a96aa !important;
  }

  .mobile-leo-section-label::before {
    content: "" !important;
    flex: 1 !important;
    height: 1px !important;
    background: rgba(27, 42, 74, 0.1) !important;
    display: none !important;
  }

}

/* ── Desktop: hide mobile-only elements ─────────────────────── */
@media (min-width: 769px) {
  .mobile-category-hero,
  .mobile-carriers-section,
  .mobile-compare-section {
    display: none !important;
  }
  .mobile-leo-section-label {
    display: none !important;
  }
  .leo-back-btn {
    display: none !important;
  }
  /* Restore desktop heading, hide mobile replacement */
  .mobile-hiw-heading {
    display: none !important;
  }
  .compare-showcase-head h2 {
    display: block !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Bell & Lyons — Mobile UX Updates
   ═══════════════════════════════════════════════════════════════
   
   WHERE TO ADD: Paste this entire block at the END of
   wp-content/themes/bell-lyons-chatbot/assets/css/mobile-home.css
   (inside the existing @media (max-width: 768px) block, before the 
   closing brace — or after it as a new @media block)
   
   WHAT IT DOES:
   1. Bigger logo in header
   2. Bigger cards filling the full screen
   3. Fixes broken hamburger menu
   4. Clean single-line nav drawer with section headers
   5. Sticky "Get a Quote" CTA
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ──────────────────────────────────────────────────────────
     1. BIGGER LOGO
     ────────────────────────────────────────────────────────── */
  .brand-logo {
    height: 72px !important;
    width: auto !important;
    display: block !important;
    max-height: 72px !important;
  }

  .nav-top {
    min-height: 64px !important;
  }

  /* ──────────────────────────────────────────────────────────
     2. TIGHTER LEO GREETING (more room for cards)
     ────────────────────────────────────────────────────────── */
  .mobile-category-hero {
    padding: 14px 14px 0 !important;
  }

  .mobile-category-hero-head {
    margin-bottom: 10px !important;
    gap: 10px !important;
  }

  .mobile-category-hero-avatar {
    width: 40px !important;
    height: 40px !important;
  }

  .mobile-category-hero-text h1 {
    font-size: 1rem !important;
    margin: 0 0 1px !important;
    line-height: 1.2 !important;
  }

  .mobile-category-hero-text p {
    font-size: 0.75rem !important;
  }

  /* ──────────────────────────────────────────────────────────
     3. BIGGER CARDS — FILL THE ENTIRE SCREEN
     ────────────────────────────────────────────────────────── */
  .mobile-category-grid {
    gap: 10px !important;
    padding: 0 !important;
    /* Fill remaining viewport: 100vh minus header(64px) minus greeting(~66px) */
    min-height: calc(100dvh - 64px - 66px) !important;
    grid-auto-rows: 1fr !important;
  }

  .mobile-cat-card {
    padding: 10px 8px 8px !important;
    border-radius: 14px !important;
    gap: 4px !important;
    min-height: 0 !important;
  }

  .mobile-cat-icon {
    width: 100px !important;
    height: 100px !important;
  }

  .mobile-cat-icon img {
    width: 100px !important;
    height: 100px !important;
  }

  .mobile-cat-icon svg {
    width: 100px !important;
    height: 100px !important;
  }

  .mobile-cat-label {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
  }

  /* ──────────────────────────────────────────────────────────
     4. FIX BROKEN HAMBURGER MENU
     
     The bug: header-redesign.css has .nav-drawer { display:none }
     which overrides the @media rule in site.css.
     This override ensures the drawer is visible on mobile.
     ────────────────────────────────────────────────────────── */
  .nav-drawer {
    display: grid !important;
    align-content: start !important;
    gap: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: min(84vw, 360px) !important;
    height: 100dvh !important;
    padding: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 20px 50px rgba(16, 37, 66, 0.18) !important;
    transform: translateX(-100%) !important;
    transition: transform 220ms ease !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    /* Reset the broken properties from header-redesign.css */
    opacity: 1 !important;
    pointer-events: auto !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    top: 0 !important;
    left: 0 !important;
  }

  body.nav-drawer-open .nav-drawer {
    transform: translateX(0) !important;
  }

  body.nav-drawer-open {
    overflow: hidden !important;
  }

  .nav-drawer-backdrop {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(9, 24, 43, 0.42) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 180ms ease !important;
    z-index: 9999 !important;
  }

  body.nav-drawer-open .nav-drawer-backdrop {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* ──────────────────────────────────────────────────────────
     5. CLEAN SINGLE-LINE NAV MENU
     ────────────────────────────────────────────────────────── */

  /* Drawer header */
  .nav-drawer-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 20px 16px !important;
    border-bottom: 1px solid rgba(27, 42, 74, 0.08) !important;
  }

  .nav-drawer-brand .brand-logo,
  .nav-drawer .brand-logo {
    height: 52px !important;
    width: auto !important;
    max-height: 52px !important;
  }

  .nav-drawer-close {
    width: 34px !important;
    height: 34px !important;
    border: 1px solid rgba(27, 42, 74, 0.1) !important;
    border-radius: 8px !important;
    font-size: 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: #102542 !important;
    cursor: pointer !important;
  }

  /* Section headers: INSURANCE, COMPANY */
  .nav-drawer-section-label {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: #2064CA !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 18px 20px 8px !important;
    margin: 0 !important;
    display: block !important;
  }

  .nav-drawer-section-label:first-child {
    padding-top: 14px !important;
  }

  .nav-drawer-section-label:not(:first-child) {
    border-top: 1px solid rgba(27, 42, 74, 0.08) !important;
    margin-top: 6px !important;
    padding-top: 20px !important;
  }

  /* Single-line nav items */
  .nav-drawer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    flex: 1 !important;
  }

  .nav-drawer-links a {
    padding: 13px 20px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #102542 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: none !important;
    border-top: none !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1.3 !important;
  }

  .nav-drawer-links a::after {
    content: "\203A" !important; /* › chevron */
    font-size: 1.2rem !important;
    color: #c4cdd9 !important;
    font-weight: 400 !important;
    margin-left: 8px !important;
  }

  .nav-drawer-links a:hover,
  .nav-drawer-links a:active {
    background: rgba(32, 100, 202, 0.06) !important;
    text-decoration: none !important;
    color: #102542 !important;
  }

  /* Hide the meta section in drawer — it's redundant */
  .nav-drawer-meta {
    display: none !important;
  }

  /* Footer: CTA + language selector */
  .nav-drawer-footer {
    padding: 16px 20px 32px !important;
    margin-top: auto !important;
    border-top: 1px solid rgba(27, 42, 74, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .nav-drawer-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 18px !important;
    background: #2064CA !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(32, 100, 202, 0.18) !important;
  }

  .nav-drawer-langs {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  .nav-drawer-lang {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    color: #8c9ab0 !important;
    padding: 4px 6px !important;
  }

  .nav-drawer-lang.is-active {
    color: #102542 !important;
  }

  /* ──────────────────────────────────────────────────────────
     6. STICKY "GET A QUOTE" BUTTON
     ────────────────────────────────────────────────────────── */
  .mobile-sticky-cta {
    position: fixed !important;
    left: 14px !important;
    right: 14px !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px) !important;
    z-index: 190 !important;
    opacity: 0 !important;
    transform: translateY(12px) !important;
    pointer-events: none !important;
    transition: opacity 180ms ease, transform 180ms ease !important;
  }

  .mobile-sticky-cta.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  .mobile-sticky-cta a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 52px !important;
    border-radius: 14px !important;
    background: #2064CA !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 14px 34px rgba(16, 37, 66, 0.22) !important;
  }

  /* ── Hide TranslatePress floating language bar on mobile ── */
  .trp-language-switcher,
  .trp-language-switcher-container {
    display: none !important;
  }

}