/*
 * MOBILE RESPONSIVE ENHANCEMENTS — Hawksbill Technik
 * =====================================================
 * ADDITIVE ONLY. Zero desktop layout changes.
 * Pure media-query overrides for 320px – 768px.
 *
 * Breakpoints used:
 *   768px  — tablet portrait / small tablet
 *   480px  — large mobile
 *   375px  — standard iPhone
 *   320px  — smallest supported width
 */

/* ============================================================
   0. GLOBAL BASE — prevents horizontal scroll on all screens
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;  /* prevent iOS font inflation */
}

img, video, svg {
  max-width: 100%;
  height: auto;
}

/* ============================================================
   1. HEADER & NAVBAR
   ============================================================ */
@media (max-width: 768px) {
  /* Prevent logo from overflowing */
  .header .logo h1 {
    font-size: clamp(18px, 5vw, 26px);
  }

  /* "Get Best Quote" CTA — smaller on mobile */
  .header .btn-getstarted {
    font-size: 12px;
    padding: 7px 14px;
    white-space: nowrap;
  }

  /* Search bar already hidden via service-search.css @media 1199px */
  /* Ensure header container doesn't overflow */
  .header .container {
    flex-wrap: nowrap;
    gap: 8px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 480px) {
  .header .logo span {
    font-size: 26px;
  }

  .header .logo h1 {
    font-size: 18px;
  }

  /* Push CTA to hide on very small screens (hamburger is enough) */
  .header .btn-getstarted {
    display: none;
  }
}

/* ============================================================
   2. MODERN HERO SECTION
   ============================================================ */
@media (max-width: 768px) {
  .modern-hero {
    padding: 60px 0 40px;
  }

  .modern-hero-headline {
    font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
    line-height: 1.2;
  }

  .modern-hero-subtext {
    font-size: clamp(0.88rem, 3.5vw, 1rem);
    line-height: 1.65;
  }

  .modern-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .modern-hero-actions a {
    text-align: center;
    width: 100%;
  }

  /* Hide bento grid on mobile — text content is enough */
  .hero-bento-wrapper {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .modern-hero {
    padding: 48px 0 32px;
  }

  .modern-hero-headline {
    font-size: clamp(1.6rem, 9vw, 2rem) !important;
  }
}

/* ============================================================
   3. HERO STATS / ORIGINAL HERO
   ============================================================ */
@media (max-width: 768px) {
  .stats-grid.bento-style {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    min-height: 120px;
  }

  .hero-headline {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    line-height: 1.25;
  }

  .hero-text {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats-grid.bento-style {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   4. BRAND MARQUEE
   ============================================================ */
@media (max-width: 768px) {
  .clients-marquee {
    padding: 30px 0;
  }

  .clients-marquee h3 {
    font-size: 1.1rem;
  }

  .marquee-content img {
    height: 36px;
    margin: 0 20px;
  }
}

/* ============================================================
   5. ABOUT SECTION
   ============================================================ */
@media (max-width: 768px) {
  .about-images-wrapper {
    margin-bottom: 32px;
  }

  .about-images-wrapper .image-main img,
  .about-images-wrapper .image-offset img {
    width: 100%;
  }

  /* Hide offset image on very small screens to avoid clutter */
  .image-offset {
    display: none;
  }

  .experience-badge {
    bottom: 10px;
    right: 10px;
  }

  .newsletter-card {
    flex-direction: column !important;
  }

  .newsletter-card .card-image {
    width: 100% !important;
    height: 160px;
    overflow: hidden;
  }

  .newsletter-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .stats-row {
    gap: 20px;
    flex-wrap: wrap;
  }

  .action-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .action-buttons a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================
   6. SERVICES SECTION (index.html cards)
   ============================================================ */
@media (max-width: 768px) {
  .service-card {
    padding: 28px 20px;
  }

  .service-card h3 {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }
}

/* ============================================================
   7. PORTFOLIO / PRODUCT SHOWCASE
   ============================================================ */
@media (max-width: 768px) {
  .portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 0;
  }

  .portfolio-filters li {
    font-size: 0.82rem;
    padding: 6px 14px;
  }

  .project-card .image-wrapper {
    height: 200px;
  }

  .cta-section {
    padding: 28px 20px;
    text-align: center;
  }

  .cta-content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .cta-buttons-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ============================================================
   8. INDUSTRIES SECTION
   ============================================================ */
@media (max-width: 768px) {
  .industries-served {
    padding: 50px 0;
  }

  .industries-served .section-heading,
  .process-section .section-heading,
  .case-studies .section-heading,
  .certifications-section .section-heading,
  .faq-section .section-heading,
  .comparison-section .section-heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .industries-served .section-desc,
  .process-section .section-desc,
  .case-studies .section-desc,
  .certifications-section .section-desc,
  .faq-section .section-desc,
  .comparison-section .section-desc {
    font-size: 0.92rem;
    margin-bottom: 32px;
  }
}

/* ============================================================
   9. HOW IT WORKS (PROCESS)
   ============================================================ */
@media (max-width: 768px) {
  .process-section {
    padding: 50px 0;
  }

  .process-step .step-card-inner {
    padding: 24px 16px 20px;
  }
}

/* ============================================================
   10. CASE STUDIES
   ============================================================ */
@media (max-width: 480px) {
  .case-study-card .results-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .case-study-card .card-body-content {
    padding: 20px;
  }
}

/* ============================================================
   11. CERTIFICATIONS
   ============================================================ */
@media (max-width: 768px) {
  .certifications-section {
    padding: 50px 0;
  }

  .cert-card {
    padding: 24px 18px;
  }

  .compliance-strip {
    padding: 20px 16px;
    gap: 16px;
  }
}

/* ============================================================
   12. FAQ
   ============================================================ */
@media (max-width: 768px) {
  .faq-section {
    padding: 50px 0;
  }

  .faq-sidebar {
    padding: 28px 20px;
    margin-bottom: 28px;
    border-radius: 16px;
  }

  .faq-sidebar h3 {
    font-size: 1.3rem;
  }

  .faq-sidebar .faq-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .faq-accordion .accordion-button {
    font-size: 0.88rem;
    padding: 14px 18px;
  }

  .faq-accordion .accordion-body {
    padding: 0 18px 16px;
    font-size: 0.86rem;
  }
}

/* ============================================================
   13. COMPARISON TABLE
   ============================================================ */
@media (max-width: 768px) {
  .comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table {
    min-width: 480px; /* allow scroll rather than squish */
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 12px 16px;
    font-size: 0.82rem;
  }
}

/* ============================================================
   14. CONTACT SECTION
   ============================================================ */
@media (max-width: 768px) {
  /* Ensure inputs don't trigger zoom on iOS (font-size ≥ 16px) */
  .php-email-form input,
  .php-email-form textarea,
  .php-email-form select,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px !important;
  }

  /* Full-width form buttons */
  .php-email-form button[type="submit"] {
    width: 100%;
  }

  /* Contact info stack */
  .contact .info-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   15. SERVICE DETAILS PAGE — SIDEBAR & LAYOUT
   ============================================================ */
@media (max-width: 768px) {
  /* Collapse to single column */
  .services-page-layout {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  /* Add mobile sidebar toggle button */
  .services-sidebar {
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    display: none;
  }

  .services-sidebar.open {
    display: block;
  }

  /* Service item grid: single column on phones */
  .svc-items-grid {
    grid-template-columns: 1fr !important;
    padding: 0 12px 24px;
  }

  .svc-item-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }

  .svc-item-card-icon {
    flex-shrink: 0;
  }

  /* Hero */
  .svc-sub-hero {
    min-height: 220px;
    margin: 0 0 24px;
  }

  .svc-sub-hero-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .svc-back-btn,
  .svc-breadcrumb,
  .svc-items-heading {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Modal full-screen on mobile */
  .svc-modal-card {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100dvh;
    border-radius: 0;
    margin: 0;
  }

  #svc-enquiry-modal {
    align-items: flex-end;
  }

  /* Enquiry form */
  .svc-form-row {
    grid-template-columns: 1fr !important;
  }

  .svc-enquire-all-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   16. INLINE NAVBAR SEARCH — already hidden at 1199px
       Ensure search dropdown doesn't overflow viewport
   ============================================================ */
@media (max-width: 768px) {
  .nav-search-dropdown {
    width: 92vw;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ============================================================
   17. ENQUIRY MODAL (both product + service)
   ============================================================ */
@media (max-width: 768px) {
  .modal-card,
  .svc-modal-card {
    max-height: 96dvh;
    overflow-y: auto;
  }
}

/* ============================================================
   18. GENERAL SECTION PADDING SCALE
   ============================================================ */
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .section-title p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 40px 0;
  }
}

/* ============================================================
   19. FOOTER
   ============================================================ */
@media (max-width: 480px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer .footer-top {
    padding-bottom: 28px;
  }

  .footer .social-links {
    flex-wrap: wrap;
  }

  .footer .footer-newsletter form .position-relative {
    flex-direction: column;
    gap: 10px;
  }

  .footer .footer-newsletter form .btn-subscribe {
    position: static;
    width: 100%;
    height: 44px;
    border-radius: 8px;
  }
}

/* ============================================================
   20. SCROLL-TOP BUTTON — better tap target
   ============================================================ */
@media (max-width: 768px) {
  .scroll-top {
    width: 44px;
    height: 44px;
    right: 16px;
    bottom: 16px;
  }
}

/* ============================================================
   21. PERFORMANCE — reduce heavy animations on mobile
       (opacity/transform only — no layout triggers)
   ============================================================ */
@media (max-width: 768px) {
  /* Reduce hover lifts to 0 on touch — they don't release properly */
  .industry-card:hover,
  .cert-card:hover,
  .case-study-card:hover,
  .service-card:hover,
  .project-card:hover,
  .svc-item-card:hover {
    transform: none;
  }

  /* Shorten AOS animation duration */
  [data-aos] {
    transition-duration: 400ms !important;
  }
}

/* ============================================================
   22. TOUCH TARGET MINIMUM (44px)
   ============================================================ */
@media (max-width: 768px) {
  .navmenu a,
  .service-link,
  .svc-nav-link-parent,
  .svc-nav-link-child,
  .btn-getstarted,
  .btn-modern-primary,
  .btn-modern-outline,
  .svc-back-btn,
  .faq-cta-btn,
  button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ============================================================
   23. NO HORIZONTAL SCROLL GUARD
   ============================================================ */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Tables that could overflow */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================================
   24. HERO SECTION — Centered, Premium, Professional
   ============================================================ */

/* ── More generous vertical breathing room ── */
.modern-hero {
  padding: 120px 0 100px !important;
}

/* ── Headline: tighter, more confident ── */
.modern-hero-headline {
  font-size: clamp(2.4rem, 4.5vw, 4rem) !important;
  font-weight: 300 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
  color: #0f172a !important;
  margin-bottom: 1.25rem !important;
  max-width: 620px;
}

/* Bold accent on the second line */
.modern-hero-headline span {
  font-weight: 700 !important;
  color: #0f172a !important;
}

/* ── Subtext: muted, narrow column, readable ── */
.modern-hero-subtext {
  font-size: 1.05rem !important;
  line-height: 1.72 !important;
  color: #4b5563 !important;
  max-width: 520px !important;
  margin-bottom: 2.25rem !important;
  font-weight: 400;
}

/* ── Buttons: premium proportions ── */
.modern-hero-actions {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  flex-wrap: nowrap;
  align-items: center;
}

/* Primary: brand accent, confident */
.btn-modern-primary {
  background-color: var(--accent-color, #0ea5e9) !important;
  color: #ffffff !important;
  border: 1.5px solid var(--accent-color, #0ea5e9) !important;
  padding: 12px 28px !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  transition: background 0.28s ease, transform 0.22s ease, box-shadow 0.28s ease !important;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 0 !important;
}

.btn-modern-primary:hover {
  background-color: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3) !important;
}

/* Secondary: outlined, refined */
.btn-modern-outline {
  background-color: transparent !important;
  color: var(--accent-color, #0ea5e9) !important;
  border: 1.5px solid var(--accent-color, #0ea5e9) !important;
  padding: 12px 28px !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  transition: border-color 0.28s ease, background 0.28s ease, color 0.28s ease, transform 0.22s ease !important;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 0 !important;
}

.btn-modern-outline:hover {
  background-color: var(--accent-color, #0ea5e9) !important;
  border-color: var(--accent-color, #0ea5e9) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

/* ── Mobile rules ── */
@media (max-width: 991px) {
  .modern-hero {
    padding: 72px 0 56px !important;
    text-align: center;
  }

  .modern-hero-headline {
    font-size: clamp(1.9rem, 7.5vw, 2.8rem) !important;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .modern-hero-subtext {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .modern-hero-actions {
    justify-content: center !important;
  }
}

@media (max-width: 600px) {
  .modern-hero {
    padding: 56px 0 40px !important;
  }

  .modern-hero-headline {
    font-size: clamp(1.65rem, 9vw, 2.2rem) !important;
  }

  /* Full-width stacked buttons on phones */
  .modern-hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
  }

  .btn-modern-primary,
  .btn-modern-outline {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 48px !important;
  }
}

/* ============================================================
   25. MOBILE SEARCH — Trigger Icon Button
   ============================================================ */

/* Hidden on desktop — shown only when hamburger/mobile layout is active */
.mobile-search-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--nav-color, #475569);
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
  /* Ensure consistent tap target */
  padding: 0;
  line-height: 1;
}

.mobile-search-trigger:hover,
.mobile-search-trigger:focus-visible {
  color: var(--accent-color, #0ea5e9);
  background: rgba(14, 165, 233, 0.08);
  outline: none;
}

.mobile-search-trigger:focus-visible {
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3);
}

/* Show on tablet + mobile (same breakpoint as hamburger menu) */
@media (max-width: 1199px) {
  .mobile-search-trigger {
    display: flex;
  }
}

/* On very small screens, make it slightly smaller to avoid overflow */
@media (max-width: 380px) {
  .mobile-search-trigger {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* ============================================================
   26. MOBILE SEARCH — Full-Width Slide-Down Overlay
   ============================================================ */

.mobile-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998; /* below mobile nav (9997+) but above page content */
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14, 165, 233, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* Slide-down animation state: CLOSED */
  transform: translateY(-100%);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
  /* Use pointer-events none when closed so clicks pass through */
  pointer-events: none;
}

/* OPEN state — triggered by JS adding .is-open */
.mobile-search-overlay.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Hidden attribute fallback: override display:none when JS hasn't run */
/* (we use `hidden` initially; JS removes it and adds .is-open) */
.mobile-search-overlay[hidden] {
  display: block !important; /* keep in render tree so transition works */
}

/* Inner padding wrapper */
.mso-inner {
  padding: 16px 16px 20px;
  max-width: 700px;
  margin: 0 auto;
  /* Push content below sticky header height (~60-70px) */
  padding-top: calc(env(safe-area-inset-top, 0px) + 72px);
}

/* Input row */
.mso-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  padding: 10px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mso-input-wrap:focus-within {
  border-color: var(--accent-color, #0ea5e9);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.14);
  background: #ffffff;
}

/* Search icon inside input row */
.mso-icon {
  font-size: 1rem;
  color: #94a3b8;
  flex-shrink: 0;
  pointer-events: none;
}

/* The actual text input */
.mso-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;         /* ≥16px prevents iOS zoom */
  color: var(--heading-color, #1e293b);
  font-family: inherit;
  min-width: 0;
  caret-color: var(--accent-color, #0ea5e9);
}

.mso-input::placeholder {
  color: #94a3b8;
}

/* Close "×" button */
.mso-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: none;
  background: #e2e8f0;
  color: #64748b;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.18s ease, color 0.18s ease;
  padding: 0;
  line-height: 1;
}

.mso-close-btn:hover {
  background: var(--accent-color, #0ea5e9);
  color: #ffffff;
}

.mso-close-btn:focus-visible {
  outline: 2px solid var(--accent-color, #0ea5e9);
  outline-offset: 2px;
}

/* ── Mobile Search Results Dropdown ──────────────────────── */

.mso-dropdown {
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  max-height: 55vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  -webkit-overflow-scrolling: touch;
  /* Hidden when empty */
  display: none;
}

.mso-dropdown.active {
  display: block;
}

/* Reuse exact same nsd-* classes from the desktop dropdown */
.mso-dropdown .nsd-header {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  padding: 4px 8px 6px;
}

.mso-dropdown .nsd-item {
  border-radius: 8px;
}

.mso-dropdown .nsd-item:hover,
.mso-dropdown .nsd-item.focus {
  background: rgba(14, 165, 233, 0.08);
}

.mso-dropdown .nsd-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  /* Larger tap target on mobile */
  min-height: 52px;
}

.mso-dropdown .nsd-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(14, 165, 233, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mso-dropdown .nsd-icon i {
  font-size: 1rem;
  color: var(--accent-color, #0ea5e9);
}

.mso-dropdown .nsd-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mso-dropdown .nsd-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading-color, #1e293b);
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.mso-dropdown .nsd-cat {
  font-size: 0.72rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mso-dropdown .nsd-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.mso-dropdown mark.nsd-hl {
  background: #fef08a;
  color: #1e293b;
  font-weight: 700;
  padding: 0 1px;
  border-radius: 2px;
}

.mso-dropdown .nsd-empty {
  font-size: 0.85rem;
  color: #64748b;
  padding: 18px 12px;
  text-align: center;
}

/* ── Hide overlay on desktop (it should NEVER show there) ── */
@media (min-width: 1200px) {
  .mobile-search-overlay {
    display: none !important;
  }
  .mobile-search-trigger {
    display: none !important;
  }
}
