/* ================================================================
   VIJAYA DENTAL — MOBILE RESPONSIVE OVERRIDES
   Applies on top of style.css for full mobile-friendliness
   ================================================================ */

/* ── Body Scroll Lock when mobile menu is open ─────────────────── */
/* Applied via JS: document.body.classList.add('menu-open') */
html.menu-open {
  overflow: hidden !important;
  height: 100% !important;
}
body.menu-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  left: 0 !important;
  /* top is set dynamically by JS to preserve scroll position */
  right: 0 !important;
  height: 100% !important;
}

body.menu-open .navbar {
  z-index: 20000 !important;
}

body.menu-open .fab-call,
body.menu-open .fab-whatsapp,
body.menu-open .vjd-announcement-bar {
  display: none !important;
}

body.menu-open .nav-links {
  top: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
}

/* ── Global Mobile Touch Improvements ─────────────────────────── */
* {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

/* Ensure inputs are min 16px to avoid iOS zoom */
input, select, textarea {
  font-size: 16px !important;
}

/* ================================================================
   TABLET — max 1024px
   ================================================================ */
@media (max-width: 1024px) {
  /* Promo section */
  .promo-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .promo-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  }

  .appointment-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .appt-left {
    text-align: center;
  }

  .appt-features {
    grid-template-columns: 1fr 1fr !important;
    justify-content: center;
  }
}

/* ================================================================
   MOBILE — max 768px
   ================================================================ */
@media (max-width: 768px) {

  /* ── Root Variables ── */
  :root {
    --nav-height: 68px !important;
    --space-3xl: 4rem !important;
    --space-2xl: 3rem !important;
    --space-xl: 2rem !important;
    --space-lg: 1.75rem !important;
  }

  /* ── Body ── */
  body {
    overflow-x: hidden;
  }

  /* ── Navbar ── */
  .navbar {
    height: 68px !important;
    min-height: 68px !important;
  }

  .nav-container {
    height: 68px !important;
    padding: 0 1.25rem !important;
  }

  .logo-img,
  .nav-logo img {
    height: 40px !important;
    max-width: 130px !important;
  }

  .logo-main {
    font-size: 0.9rem !important;
  }

  .logo-sub {
    font-size: 0.6rem !important;
  }

  /* Mobile Menu */
  .hamburger {
    display: flex !important;
    position: relative;
    z-index: 19999 !important; /* Just below navbar's 20000 but above everything else */
  }

  .nav-links {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: linear-gradient(160deg, #f8fbff 0%, #eef6ff 60%, #e8f4ff 100%) !important;
    padding: 5rem 2rem 3rem !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    gap: 0.4rem !important;
    z-index: 19000 !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-left: 1px solid rgba(26, 107, 204, 0.08);
  }

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

  /* Branded header inside the menu overlay */
  .nav-links::before {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, #1a6bcc, #3b8ef0);
    border-radius: 4px;
    margin: 0 auto 2rem;
    flex-shrink: 0;
  }

  /* Separator before Book Now CTA */
  .nav-links li:last-child {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 107, 204, 0.12);
    width: 100%;
    max-width: 280px;
    display: flex;
    justify-content: center;
  }

  .nav-link {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 0.85rem 2rem !important;
    border-radius: 14px !important;
    color: var(--text-dark) !important;
    width: 100%;
    max-width: 280px;
    transition: all 0.25s ease !important;
    border: 1.5px solid transparent !important;
    letter-spacing: -0.01em;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(26, 107, 204, 0.08) !important;
    color: var(--primary) !important;
    border-color: rgba(26, 107, 204, 0.15) !important;
  }

  .nav-link::after {
    display: none !important;
  }

  .nav-link.nav-cta {
    margin-top: 0 !important;
    font-size: 1.05rem !important;
    padding: 1rem 2.5rem !important;
    background: linear-gradient(135deg, #1a6bcc, #3b8ef0) !important;
    color: white !important;
    box-shadow: 0 8px 24px rgba(26, 107, 204, 0.35) !important;
    border-radius: 100px !important;
    border-color: transparent !important;
    letter-spacing: 0.01em;
    width: auto;
  }

  .nav-link.nav-cta:hover {
    background: linear-gradient(135deg, #0f4fa3, #1a6bcc) !important;
    box-shadow: 0 12px 32px rgba(26, 107, 204, 0.45) !important;
    transform: translateY(-2px) !important;
  }

  /* ── Hero Section ── */
  .hero {
    height: calc(100svh - 68px) !important;
    min-height: 500px !important;
    max-height: 750px !important;
    margin-top: 68px !important;
  }

  .slide-content {
    padding: 1.5rem 1.25rem 1.25rem 1.25rem !important;
    justify-content: flex-end !important;
    /* Extra bottom padding: leaves room for the bottom arrow+dots row */
    padding-bottom: 5rem !important;
  }

  .slide-overlay {
    background: linear-gradient(to top, rgba(5, 25, 75, 0.90) 0%, rgba(10, 50, 130, 0.65) 50%, rgba(26, 107, 204, 0.15) 100%) !important;
  }

  .slide-badge {
    font-size: 0.75rem !important;
    padding: 0.35rem 1rem !important;
    margin-bottom: 0.75rem !important;
  }

  .slide-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.75rem !important;
  }

  .slide-desc {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    color: rgba(255, 255, 255, 0.88) !important;
  }

  .slide-actions {
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100%;
  }

  .slide-actions .btn-primary,
  .slide-actions .btn-outline {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.9rem 1.5rem !important;
    font-size: 0.95rem !important;
  }

  /* ── Slider arrows: move to bottom, flanking the dots ── */
  /* Prevent arrows from floating over slide text on mobile */
  .slider-btn {
    /* Reset vertical centering from desktop */
    top: auto !important;
    transform: none !important;
    /* Pin to bottom row, same level as dots (bottom: 1.5rem, dots height ~8px) */
    bottom: 1.25rem !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 0.85rem !important;
    /* Keep glass style */
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }

  .slider-btn:hover {
    /* Override desktop hover that uses translateY(-50%) */
    transform: scale(1.1) !important;
  }

  .slider-prev {
    /* Left side of dots row — offset so it doesn't overlap dots */
    left: calc(50% - 80px) !important;
  }

  .slider-next {
    right: calc(50% - 80px) !important;
  }

  /* Dots sit between the two arrows */
  .slider-dots {
    bottom: 1.35rem !important;
  }

  /* ── Trust Indicators ── */
  .trust-indicators {
    padding: 1.5rem 0 !important;
  }

  .trust-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    gap: 0 !important;
  }

  .trust-card {
    flex: none !important;
    width: 100% !important;
    padding: 1.25rem 0.75rem !important;
    border-right: 1px solid rgba(14, 165, 233, 0.1);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
  }

  .trust-divider {
    display: none !important;
  }

  .trust-icon-wrap {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 0.75rem !important;
  }

  .trust-svg {
    width: 26px !important;
    height: 26px !important;
  }

  .trust-stat {
    font-size: 1.6rem !important;
    margin-bottom: 0.25rem !important;
  }

  .trust-label {
    font-size: 0.78rem !important;
  }

  .trust-sub {
    font-size: 0.68rem !important;
  }

  /* ── About Section ── */
  .about {
    padding: var(--space-3xl) 0 !important;
  }

  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .about-img-card {
    height: 260px !important;
    border-radius: 16px !important;
  }

  .about-floating-card {
    display: none !important;
  }

  .about-badge {
    padding: 0.65rem 1rem !important;
  }

  .about-features {
    gap: 0.65rem !important;
  }

  .feature-item {
    padding: 0.85rem 1rem !important;
  }

  /* ── Treatments ── */
  .treatments-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .treatment-img-wrap {
    height: 200px !important;
  }

  .treatment-body {
    padding: 1.25rem !important;
  }

  .treatment-body h3 {
    font-size: 1.1rem !important;
  }

  .treatments-cta {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .treatments-cta .btn-primary,
  .treatments-cta .btn-outline-blue {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* ── Reviews / Testimonials ── */
  .testimonials-wrapper {
    margin: 0 -1rem !important;
  }

  .testimonial-card {
    width: 280px !important;
    padding: 1.4rem !important;
  }

  .testimonial-card p {
    font-size: 0.85rem !important;
  }

  .reviews-cta {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  .reviews-cta .btn-primary,
  .reviews-cta .btn-outline {
    width: 100% !important;
    max-width: 340px !important;
    justify-content: center !important;
  }

  /* ── Why Us ── */
  .why-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.85rem !important;
  }

  .why-card {
    padding: 1.4rem 1rem !important;
  }

  .why-card h3 {
    font-size: 0.92rem !important;
  }

  .why-card p {
    font-size: 0.8rem !important;
  }

  .why-icon {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 1rem !important;
  }

  /* ── Gallery ── */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .gallery-item {
    margin-bottom: 0 !important;
    border-radius: 10px !important;
  }

  /* ── Location ── */
  .location-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .location-map {
    min-height: 280px !important;
    border-radius: 16px !important;
  }

  .map-wrapper,
  .map-wrapper iframe {
    min-height: 280px !important;
  }

  .loc-card {
    padding: 1rem 1.25rem !important;
  }

  /* ── Appointment Form ── */
  .appointment {
    padding: var(--space-2xl) 0 !important;
  }

  .appointment-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .appt-left {
    text-align: center !important;
  }

  .appt-left .section-tag {
    display: inline-block;
  }

  .appt-left .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
  }

  .appt-features {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }

  .appt-features div {
    font-size: 0.82rem !important;
    justify-content: center !important;
  }

  .appt-form-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 20px !important;
  }

  .appt-form-card h3 {
    font-size: 1.15rem !important;
    margin-bottom: 1.25rem !important;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .purpose-toggle {
    flex-direction: row !important;
    gap: 0.75rem !important;
  }

  .toggle-option {
    padding: 0.85rem 0.5rem !important;
  }

  .toggle-option i {
    font-size: 1.2rem !important;
  }

  .toggle-option span {
    font-size: 0.78rem !important;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.85rem 1rem !important;
    font-size: 16px !important; /* Prevent iOS zoom */
    border-radius: 12px !important;
  }

  .btn-send {
    padding: 1rem !important;
    font-size: 1rem !important;
    margin-top: 1rem !important;
  }

  /* ── Promo Banner ── */
  .promo-banner-section {
    padding: var(--space-2xl) 0 !important;
  }

  .promo-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .promo-title {
    font-size: clamp(1.7rem, 6vw, 2.5rem) !important;
  }

  .promo-treatments-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  .promo-treatment-item {
    padding: 0.65rem 0.85rem !important;
    font-size: 0.82rem !important;
  }

  .promo-card {
    padding: 1.75rem 1.25rem !important;
    border-radius: 20px !important;
  }

  /* ── Footer ── */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .footer-col h4 {
    margin-bottom: 0.85rem !important;
  }

  .footer-bottom-flex {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.75rem !important;
  }

  .footer-contact {
    gap: 0.6rem !important;
  }

  /* ── FAB Buttons ── */
  .fab-call {
    bottom: 20px !important;
    right: 20px !important;
    padding: 1rem !important;
    border-radius: 50% !important;
    width: 56px !important;
    height: 56px !important;
    justify-content: center !important;
  }

  .fab-whatsapp {
    bottom: 90px !important;
    right: 20px !important;
    padding: 1rem !important;
    border-radius: 50% !important;
    width: 56px !important;
    height: 56px !important;
    justify-content: center !important;
  }

  .fab-label {
    display: none !important;
  }

  /* ── Modal ── */
  .modal-card {
    padding: 2rem 1.5rem !important;
    border-radius: 20px !important;
    width: 92% !important;
  }

  .modal-card h3 {
    font-size: 1.25rem !important;
  }

  /* ── Consultation Popup (if any) ── */
  .popup-form,
  .consult-popup {
    width: 95% !important;
    max-width: 95vw !important;
    padding: 1.5rem !important;
    border-radius: 20px !important;
  }

  /* ── Blog ── */
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    margin-top: 2rem !important;
  }

  .blog-img-wrap {
    height: 180px !important;
  }

  /* ── Section Headings ── */
  .section-header {
    margin-bottom: 2rem !important;
  }

  .section-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem) !important;
  }

  .section-subtitle {
    font-size: 0.9rem !important;
  }

  .section-wave svg {
    height: 36px !important;
  }

  /* ── Buttons global ── */
  .btn-primary,
  .btn-outline-blue,
  .btn-outline {
    font-size: 0.9rem !important;
    padding: 0.8rem 1.6rem !important;
  }

  /* ── Tooth cursor (disable on mobile) ── */
  .tooth-cursor,
  .tooth-particles {
    display: none !important;
  }

  /* ── Cursor override for mobile ── */
  html, body, a, button, .gallery-item, .nav-link, .btn-primary, .btn-outline {
    cursor: auto !important;
  }
}

/* ================================================================
   SMALL MOBILE — max 480px
   ================================================================ */
@media (max-width: 480px) {

  /* Hero */
  .hero {
    min-height: 480px !important;
  }

  .slide-title {
    font-size: clamp(1.4rem, 8vw, 2rem) !important;
  }

  .slide-desc {
    font-size: 0.85rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .slide-content {
    padding: 1rem !important;
    padding-bottom: 3rem !important;
  }

  /* Trust — 1 column on very small screens */
  .trust-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .trust-card {
    padding: 1rem 0.5rem !important;
  }

  /* Why Us — 1 column */
  .why-grid {
    grid-template-columns: 1fr !important;
  }

  .why-card {
    padding: 1.25rem 1rem !important;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .why-icon {
    margin: 0 0 0.85rem 0 !important;
  }

  /* Gallery — 2 col */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  /* Promo treatments — 1 col */
  .promo-treatments-grid {
    grid-template-columns: 1fr !important;
  }

  /* Form purpose toggle */
  .purpose-toggle {
    flex-direction: row !important;
  }

  /* Appointment features */
  .appt-features {
    grid-template-columns: 1fr !important;
    text-align: left !important;
  }

  .appt-features div {
    justify-content: flex-start !important;
  }

  /* Footer */
  .footer-rating {
    display: block !important;
    text-align: center;
  }

  /* FABs — smaller */
  .fab-call,
  .fab-whatsapp {
    width: 50px !important;
    height: 50px !important;
  }

  .fab-whatsapp {
    bottom: 82px !important;
  }

  /* Lightbox */
  .lightbox-prev,
  .lightbox-next {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }

  .lightbox-prev {
    left: 0.5rem !important;
  }

  .lightbox-next {
    right: 0.5rem !important;
  }

  /* Modal */
  .modal-card {
    padding: 1.75rem 1.25rem !important;
    width: 95% !important;
  }

  /* Buttons — full width when stacked */
  .slide-actions .btn-primary,
  .slide-actions .btn-outline {
    padding: 0.85rem 1.25rem !important;
    font-size: 0.9rem !important;
  }
}

/* ================================================================
   EXTRA SMALL — max 360px (older Android phones)
   ================================================================ */
@media (max-width: 360px) {
  .slide-title {
    font-size: 1.35rem !important;
  }

  .nav-link {
    font-size: 1.1rem !important;
    padding: 0.75rem 1.5rem !important;
  }

  .trust-stat {
    font-size: 1.4rem !important;
  }

  .section-title {
    font-size: 1.35rem !important;
  }

  .appt-form-card {
    padding: 1.25rem 1rem !important;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem 0.85rem !important;
  }
}

/* ================================================================
   GENERAL SAFE ZONE — Prevent horizontal scroll always
   ================================================================ */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

.section-container {
  padding-left: max(1rem, env(safe-area-inset-left)) !important;
  padding-right: max(1rem, env(safe-area-inset-right)) !important;
}

/* Safe area for FABs on iOS notch devices */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 768px) {
    .fab-call {
      bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    }
    .fab-whatsapp {
      bottom: calc(90px + env(safe-area-inset-bottom)) !important;
    }
  }
}

/* ================================================================
   INNER TREATMENT PAGES — Mobile Fixes
   (rct-hero, content-grid, feature-card, faq-card, hero-mini)
   ================================================================ */

/* Inner page hero sections (treatment pages) */
@media (max-width: 768px) {
  /* Treatment page hero (e.g., .rct-hero, styled inline) */
  [class$="-hero"],
  .rct-hero,
  .hero-mini,
  section[style*="padding: 180px"],
  section[style*="padding:180px"] {
    padding: 110px 0 60px !important;
  }

  section[style*="padding: 120px"],
  section[style*="padding:120px"] {
    padding: 100px 0 50px !important;
  }

  /* Hero text in inner pages */
  .rct-hero h1,
  .hero-mini h1,
  [class$="-hero"] h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem) !important;
  }

  [class$="-hero"] p,
  .rct-hero p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  /* Hero CTA buttons on inner pages */
  [class$="-hero"] div[style*="display: flex"],
  .rct-hero div[style*="display: flex"] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  /* Content grid (2-col article layouts on treatment pages) */
  .content-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .content-section {
    padding: 3rem 0 !important;
  }

  /* Feature cards on treatment pages */
  .feature-card {
    padding: 1.5rem !important;
    border-radius: 16px !important;
  }

  /* FAQ cards */
  .faq-card {
    padding: 1.25rem !important;
  }

  .faq-card h3 {
    font-size: 1rem !important;
  }

  /* Detailed text content on treatment pages */
  .detailed-text {
    font-size: 0.95rem !important;
  }

  .detailed-text h3 {
    font-size: 1.5rem !important;
    margin-top: 2rem !important;
  }

  .detailed-text h4 {
    font-size: 1.15rem !important;
  }

  /* Content img on treatment pages */
  .content-img {
    border-radius: 16px !important;
  }

  /* Inline flex CTAs on treatment pages */
  div[style*="display: flex"][style*="gap: 1rem"][style*="justify-content: center"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  /* Hero mini (about, gallery pages) */
  .hero-mini {
    padding: 100px 0 50px !important;
  }

  .hero-mini h1 {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
  }

  /* Features grid in treatment pages (3-col) */
  .features-grid,
  div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  /* Stats / number grids */
  div[style*="grid-template-columns: repeat(4"],
  div[style*="grid-template-columns: 1fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Appointment page special */
  .appt-page-grid {
    grid-template-columns: 1fr !important;
  }

  /* Gallery page grid override */
  .gallery-masonry {
    columns: 2 !important;
  }
}

@media (max-width: 480px) {
  /* Inner page heroes on very small phones */
  [class$="-hero"],
  .rct-hero {
    padding: 90px 0 40px !important;
  }

  .hero-mini {
    padding: 90px 0 40px !important;
  }

  /* Features grid — 1 col on very small */
  .features-grid {
    grid-template-columns: 1fr !important;
  }

  /* Treatments CTA inline */
  .treatments-cta[style] {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
  }
}

@media (max-width: 1024px) {
  :root {
    --vjd-ab-height: 40px;
  }
  .vjd-announcement-bar {
    padding: 0 1rem;
    gap: 1rem;
    height: var(--vjd-ab-height);
  }
  .vjd-ab-text {
    font-size: 0.85rem;
  }
  .vjd-ab-highlight {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  :root {
    --vjd-ab-height: 84px;
  }
  .vjd-announcement-bar {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 8px 1rem;
    height: var(--vjd-ab-height);
  }
  .vjd-ab-text {
    flex-wrap: wrap;
    justify-content: center;
  }
  .vjd-ab-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --vjd-ab-height: 80px;
  }
  .vjd-announcement-bar {
    padding: 6px 0.75rem;
    gap: 4px;
    height: var(--vjd-ab-height);
  }
  .vjd-ab-text {
    font-size: 0.8rem;
  }
  .vjd-ab-highlight {
    font-size: 0.8rem;
    padding: 0.1rem 0.35rem;
  }
  .vjd-ab-btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }
}
