/* ============================================================
   🐾 HAPPY PUPPY BIG MONITOR RESTORATION
   ============================================================ */

@media screen and (min-width: 1101px) {
  header {
    display: block !important;
    background-color: #f1c40f !important; /* Your Branded Yellow */
    height: 80px !important; /* This creates the "cage" */
    border-bottom: 4px solid #940012 !important;
    position: sticky !important;
    top: 0;
    z-index: 10000;
  }

  /* This pulls the logo to the left and links to the right */
  header nav.container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* 🐾 THE LOGO FIX: This stops the overlap */
  .nav-logo-bubble img {
    height: 55px !important; /* Keeps the paw small and professional */
    width: auto !important;
    display: block !important;
  }

  /* Forces the navigation links (soul, about, etc.) into a row */
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 25px !important;
    list-style: none;
    margin: 0;
    padding: 0;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-links li a {
    text-transform: lowercase; /* Your boutique style */
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
  }
}

/* 2. THE BOUTIQUE BUBBLES (Laptop & Tablet only) */
@media screen and (max-width: 1100px) {
  /* (Keep your existing bubble code here for the laptop/tablet) */
}

/* 2. THE TABLET & LAPTOP SKY ROW (Screens < 1100px) */
@media screen and (max-width: 1100px) {
  /* Kill the heavy yellow background */

  header {
    background: none !important;
    border: none !important;
  }

  /* 🐾 THE SKY ROW: Nudged down 80px to clear the internet bar */
  .nav-links {
    position: fixed !important;
    top: 80px !important; /* 🐾 Clears the browser bar completely */
    left: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important; /* Forces them into a row */
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    z-index: 999999 !important;
    padding: 0 !important;
    pointer-events: auto !important;
  }

  .nav-links li {
    list-style: none !important;
    display: block !important;
  }

  /* 🐾 THE LOGO BUBBLE (Found Casper!) */
  .nav-logo-bubble {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* 🐾 THE LOGO BUBBLE: Changing from White to Yellow */
  .nav-logo-bubble a {
    background-color: #f1c40f !important; /* 🐾 Swapped from #ffffff to Yellow */
    border: 3px solid #940012 !important; /* White border for contrast */
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3) !important;
  }

  .nav-logo-bubble img {
    max-width: 80% !important; /* Slightly larger to fit the yellow vibe */
    max-height: 80% !important;
    object-fit: contain !important;
  }

  /* THE BOUTIQUE BUBBLES */
  .nav-links a:not(.nav-logo-bubble a) {
    background-color: #f1c40f !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3) !important;
    text-decoration: none !important;
    font-size: 0 !important; /* Hides original long text */
  }

  /* BOUTIQUE LABELS */
  .nav-links a::after {
    content: attr(data-label);
    font-size: 0.45rem !important;
    font-weight: 900 !important;
    color: #1a1a1a !important;
    text-transform: uppercase;
    margin-top: 2px;
  }

  /* This "cage" ensures the hover pop ONLY happens on Laptop/Tablet/Phone */
  @media screen and (max-width: 1100px) {
    /* Paste the Boutique Pop code here */
    .nav-links a:hover,
    .nav-logo-bubble a:hover {
      transform: scale(1.15) translateY(-5px) !important;
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4) !important;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    }

    .nav-links a:hover .material-icons {
      transform: scale(1.1);
      color: #b50016 !important;
    }

    .nav-logo-bubble a:hover img {
      transform: rotate(5deg) scale(1.05);
      transition: transform 0.3s ease;
    }
  } /* This bracket closes the size cage */

  .nav-links .material-icons {
    font-size: 20px !important;
    color: #940012 !important;
  }
}
/* 🐾 HOME PAGE HERO: Big Screen & Tablet Cleanup */
@media screen and (min-width: 768px) {
  .hero-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 60px 20px !important;
    min-height: 400px !important;
    background-color: #fff !important; /* Clean boutique background */
    overflow: hidden !important;
  }

  /* 1. The Logo: No more overlapping the text */
  .hero-logo-container {
    margin-bottom: 20px !important;
    z-index: 2 !important;
  }

  .hero-logo-container img {
    height: 150px !important; /* Prominent but controlled */
    width: auto !important;
  }

  /* 2. The Text Content: Clean stacking */
  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    z-index: 3 !important;
  }

  .hero-content h1 {
    font-family: "Merriweather", serif !important;
    color: #940012 !important; /* Brand Red */
    font-size: 3.5rem !important; /* Bold and clear */
    margin: 0 !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
  }

  .hero-content h2 {
    font-family: "Roboto", sans-serif !important;
    color: #333 !important;
    font-size: 1.8rem !important;
    font-weight: 400 !important;
    margin: 0 !important;
  }

  /* 3. The "Peace of Mind" Accent */
  .hero-accent {
    font-family: "Merriweather", serif !important;
    font-style: italic !important;
    color: #940012 !important;
    font-size: 1.4rem !important;
    margin-top: 10px !important;
  }
}
/* ============================================================
   🐾 HAPPY PUPPY FULL-WIDTH HERO FIX 
   ============================================================ */

@media screen and (min-width: 1101px) {
  /* 1. Unlocks the master cage so the dogs can reach the edges */
  main.container,
  #passion-hero.container,
  .hero-section {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ============================================================
   🐾 THE UNIVERSAL BREAKOUT (FINAL AFRIHOST FORCE)
   ============================================================ */

  @media screen and (min-width: 1101px) {
    /* 1. UNLOCKS THE MASTER CAGE */
    main {
      max-width: 100% !important;
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow-x: hidden !important;
    }
  }
}
/* ============================================================
   🐾 THE REAL HERO FIX (No More Squat)
   ============================================================ */

@media screen and (min-width: 1101px) {
  /* 1. Targets the ACTUAL top hero section */
  .hero-section {
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    min-height: 650px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  /* 2. Ensures the background image fills the screen */
  .hero-image-container {
    width: 100% !important;
    height: 100% !important;
  }

  .hero-image-container img {
    width: 100vw !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}
/* ============================================================
   🐾 THE PRIMARY PACK: GLASS-TO-GLASS STRETCH (1101px+)
   ============================================================ */

@media screen and (min-width: 1101px) {
  /* 1. Targets the TOP hero only, bypassing the 1200px cage */
  .hero-section {
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    height: 700px !important; /* Adjust height to your liking */
    overflow: hidden !important;
  }

  /* 2. Forces the dog pack to fill the width */
  .hero-image-container,
  .hero-image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center bottom !important;
  }
}
/* 🐾 MOBILE BOTTOM APP NAVIGATION BAR (Bubble-Free & Left Logo) */
@media screen and (max-width: 992px) {
  /* 1. Push the body up so content doesn't hide behind the new 90px bar */
  body {
    padding-bottom: 100px !important;
  }

  /* 2. The Sticky Yellow Bar */
  .main-nav.nav-links {
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: 90px !important;
    background-color: #f1c40f !important; /* Solid Yellow */
    border-top: 4px solid #940012 !important; /* Red Accent Line */
    z-index: 9999 !important;

    /* The Swipeable Layout */
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;

    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important; /* Smooth scrolling on iPhones */
    scrollbar-width: none; /* Hides scrollbar on Firefox */

    padding: 0 15px !important;
    margin: 0 !important;
    gap: 25px !important; /* Space between icons */
  }

  /* Hides scrollbar for Chrome/Safari/Edge */
  .main-nav.nav-links::-webkit-scrollbar {
    display: none;
  }

  /* 3. PINNED LEFT LOGO */
  .main-nav.nav-links .nav-logo-bubble {
    display: flex !important;
    position: sticky !important; /* Pins it to the scroll container */
    left: -15px !important; /* Counteracts the container's 15px padding */
    background-color: #f1c40f !important; /* Solid background hides icons sliding behind it */
    height: 90px !important; /* Matches the bar height */
    padding: 0 15px 0 10px !important; /* Breathing room */
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    flex: 0 0 auto !important;
    /* Adds a subtle shadow so it looks separated from the scrolling buttons */
    box-shadow: 5px 0 10px -5px rgba(0, 0, 0, 0.1) !important;
  }

  /* Strips the bubble styling from the logo */
  .main-nav.nav-links .nav-logo-bubble a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
  }

  .main-nav.nav-links .nav-logo-bubble img {
    height: 55px !important; /* Clean, professional size */
    width: auto !important;
    object-fit: contain !important;
    transform: none !important; /* Stops old hover animations */
  }

  /* 4. THE BUBBLE-FREE ICONS */
  .main-nav.nav-links li {
    flex: 0 0 auto !important; /* Prevents squishing */
    margin: 0 !important;
  }

  /* Strips the yellow bubbles away from the navigation links */
  .main-nav.nav-links a:not(.nav-logo-bubble a) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* Centers the red icons and bumps up the size */
  .main-nav.nav-links .material-icons {
    font-size: 34px !important;
    color: #940012 !important;
    margin-bottom: 2px !important;
    transform: none !important;
  }

  /* Centers the red text directly underneath the icons */
  .main-nav.nav-links a::after {
    content: attr(data-label) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #940012 !important;
    text-transform: uppercase !important;
    margin-top: 2px !important;
  }
}
/* 🐾 MOBILE FIX: ALIGN TEXT TO THE RIGHT OF THE DOG */
@media screen and (max-width: 992px) {
  #passion-hero {
    display: flex !important;
    flex-direction: row !important; /* Forces side-by-side */
    align-items: center !important; /* Vertically centers dog and text */
    padding: 10px !important;
    gap: 15px !important; /* Space between the dog and the text */
  }

  .passion-img {
    width: 140px !important; /* Slightly smaller to fit the side-by-side */
    height: 140px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important; /* Prevents the dog from squishing */
  }

  .passion-text-container {
    flex: 1 !important;
    width: 100% !important; /* Force it to try and fill the row */
    max-width: 90% !important; /* This broadens it significantly */
    padding-right: 15px !important; /* Keeps it from touching the edge of the screen */
    text-align: right !important; /* Keep it left-aligned for better readability */
  }

  .mission-highlight {
    font-size: 1.8rem !important; /* Balanced for the new, broader width */
    color: #940012 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.2 !important;
  }

  .mission-subtext {
    font-size: 0.95rem !important; /* Slightly larger so it fills the broader space */
    color: #333 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }
}
/* ============================================================
   🐾 MOBILE RESPONSIVE FIXES (PHONES & SMALL SCREENS)
   ============================================================ */
@media screen and (max-width: 768px) {
  /* 1. Prevent horizontal overflow and add safe side padding */
  body,
  html {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  section {
    padding: 40px 15px !important;
  }

  /* 2. Force the About Us section to stack vertically instead of squishing */
  .about-container {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .about-content,
  .about-grid {
    grid-template-columns: 1fr !important; /* Stacks text columns into a single clean line */
    gap: 20px !important;
  }

  /* 3. Center and scale down the oval boutique image for phones */
  .boutique-image-container,
  .boutique-image-oval {
    width: 220px !important;
    height: 320px !important;
    margin: 0 auto !important;
    border-radius: 110px !important;
  }

  /* 4. Fix the Hero / Philosophy section text scaling */
  .main-heading.hero-title span.line-one {
    font-size: 2.5rem !important; /* Scales down giant text so it doesn't break */
  }

  .main-heading.hero-title span.line-two {
    font-size: 2rem !important;
  }

  #philosophy h2 {
    font-size: 2.5rem !important;
  }

  /* 5. Fix the Passion Banner overlay on mobile */
  #passion-hero {
    justify-content: center !important;
    text-align: center !important;
    min-height: 450px !important;
  }

  .passion-overlay {
    width: 100% !important;
    padding: 0 20px !important;
    text-align: center !important;
  }

  .mission-highlight {
    font-size: 2rem !important;
  }

  .mission-subtext {
    font-size: 1.1rem !important;
    max-width: 100% !important;
  }

  /* 6. Fix Footer layout for mobile screens */
  .branded-footer {
    height: auto !important;
    background-size: cover !important;
    padding-bottom: 110px !important;
    width: 100% !important;
  }

  /* 6. Fix Footer layout for mobile screens */
  .branded-footer {
    height: auto !important;
    background-size: cover !important;
    padding-bottom: 110px !important;
    width: 100% !important;
  }

  /* --- 🐾 HERO & PHILOSOPHY MOBILE FIX --- */
  #philosophy {
    min-height: auto !important;
    padding-bottom: 50px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  #philosophy::before {
    height: 100% !important;
    background-size: cover !important; /* Stretches the dogs to fit the screen */
    background-position: center top !important;
  }

  #kahu-trigger-container {
    margin-top: 20px !important;
    margin-bottom: 10px !important;
  }

  .philosophy-text-base {
    position: relative !important; /* Stops the box from floating into empty space */
    top: 0 !important;
    left: 0 !important;
    width: 90% !important;
    margin: 20px auto 0 auto !important; /* Centers the box perfectly */
    padding: 25px 20px !important;
    transform: translateY(10px);
  }

  .philosophy-text-base.revealed {
    transform: translateY(0) !important;
  }
}

@media screen and (max-width: 992px) {
  /* Add clearance so the bottom nav bar never overlaps footer content */
  .branded-footer {
    padding-bottom: 110px !important;
    width: 100% !important;
  }

  .branded-footer .footer-credits-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .branded-footer .designer-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  /* Ensure the Eden Business logo is visible and clickable above the bottom bar */
  .branded-footer .designer-wrap img {
    height: 35px !important;
    width: auto !important;
    display: block !important;
    margin: 5px auto !important;
  }

  .footer-overlay {
    flex-direction: column !important;
    gap: 30px !important;
    padding: 40px 20px !important;
    text-align: center !important;
  }

  .footer-nav-left ul {
    justify-content: center !important;
    gap: 15px !important;
  }

  .designer-wrap {
    align-items: center !important;
  }
}
@media screen and (max-width: 768px) {
  /* 1. Remove Springer Spaniel background image from Passion Hero */
  #passion-hero {
    background-image: none !important;
    background-color: #ffffff !important; /* Clean background for the quote */
    min-height: auto !important;
    padding: 40px 20px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* 2. Remove Oliver background image from Footer */
  .branded-footer {
    background-image: none !important;
    background-color: #ffffff !important;
    height: auto !important; /* Lets content fit naturally without clipping */
    padding-bottom: 110px !important; /* Keeps space above the sticky bottom navbar */
  }
}
@media screen and (max-width: 768px) {
    /* Force rows to stack vertically on mobile */
    .form-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
    }

    /* Ensure each group takes up the full width of the screen */
    .form-group, 
    .groomer-group,
    .form-row > div {
        width: 100% !important;
        flex: none !important; /* Overrides the flex: 1 or flex: 2 rules */
    }

    /* Keep the age, weight, and microchip boxes from staying tiny */
    #petAge, 
    #petWeight, 
    #petGoalWeight,
    #isMicrochipped {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Stack dual-inputs (like the Groomer phone/address or Vet clinic details) */
    .dual-input,
    #catLitterSection .form-group {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    /* Ensure the button groups stack nicely instead of crushing */
    .form-button-group,
    div[style*="display: flex; gap: 10px; margin-top: 20px;"] {
        flex-direction: column !important;
    }
  }

/* 🐾 VISUAL MENU SLIDER (CUSTOM SCROLLBAR) FOR MOBILE */
@media screen and (max-width: 992px) {
  /* Force smooth horizontal scrolling on phones */
  .dashboard-nav, 
  .nav-links {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important; /* Smooth momentum swipe for iPhones */
    padding-bottom: 6px !important; /* Gives space for the slider line */
  }

  /* 1. The thickness of the slider line */
  .dashboard-nav::-webkit-scrollbar, 
  .nav-links::-webkit-scrollbar {
    height: 6px !important; 
    appearance: none;
  }

  /* 2. The background track (The empty space showing how much room is left) */
  .dashboard-nav::-webkit-scrollbar-track, 
  .nav-links::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.15) !important; 
    border-radius: 10px;
    margin: 0 15px; /* Keeps it neatly inside the screen edges */
  }

  /* 3. The moving slider handle (Happy Puppy Red) */
  .dashboard-nav::-webkit-scrollbar-thumb, 
  .nav-links::-webkit-scrollbar-thumb {
    background: #940012 !important; 
    border-radius: 10px;
  }
}


/* ============================================================
   🐾 HAPPY PUPPY BIG MONITOR RESTORATION
   ============================================================ */
@media screen and (min-width: 1101px) {
  header { display: block !important; background-color: #f1c40f !important; height: 80px !important; border-bottom: 4px solid #940012 !important; position: sticky !important; top: 0; z-index: 10000; }
  header nav.container { display: flex !important; justify-content: space-between !important; align-items: center !important; height: 100% !important; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
  .nav-logo-bubble img { height: 55px !important; width: auto !important; display: block !important; }
  .nav-links { display: flex !important; flex-direction: row !important; gap: 25px !important; list-style: none; margin: 0; padding: 0; visibility: visible !important; opacity: 1 !important; }
  .nav-links li a { text-transform: lowercase; color: #1a1a1a; text-decoration: none; font-weight: 500; }
  main.container, #passion-hero.container, .hero-section { max-width: 100% !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
  main { max-width: 100% !important; width: 100% !important; margin: 0 !important; padding: 0 !important; overflow-x: hidden !important; }
  .hero-section { width: 100vw !important; max-width: none !important; position: relative !important; left: 50% !important; margin-left: -50vw !important; margin-right: -50vw !important; min-height: 650px !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; height: 700px !important; }
  .hero-image-container, .hero-image-container img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center bottom !important; }
}

/* 🐾 HOME PAGE HERO: Big Screen & Tablet Cleanup */
@media screen and (min-width: 768px) {
  .hero-section { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; padding: 60px 20px !important; min-height: 400px !important; background-color: #fff !important; overflow: hidden !important; }
  .hero-logo-container { margin-bottom: 20px !important; z-index: 2 !important; }
  .hero-logo-container img { height: 150px !important; width: auto !important; }
  .hero-content { display: flex !important; flex-direction: column !important; gap: 15px !important; z-index: 3 !important; }
  .hero-content h1 { font-family: "Merriweather", serif !important; color: #940012 !important; font-size: 3.5rem !important; margin: 0 !important; line-height: 1.1 !important; text-transform: uppercase; }
  .hero-content h2 { font-family: "Roboto", sans-serif !important; color: #333 !important; font-size: 1.8rem !important; font-weight: 400 !important; margin: 0 !important; }
  .hero-accent { font-family: "Merriweather", serif !important; font-style: italic !important; color: #940012 !important; font-size: 1.4rem !important; margin-top: 10px !important; }
}

/* ============================================================
   🐾 THE PERFECT BOTTOM APP NAV BAR & UPWARD POPUPS
   ============================================================ */
@media screen and (max-width: 992px) {
  body { padding-bottom: 100px !important; }
  header { background: none !important; border: none !important; height: 0 !important; }

  
  

  /* PINNED LEFT LOGO */
  .main-nav.nav-links .nav-logo-bubble {
    display: flex !important;
    position: sticky !important;
    left: -15px !important;
    background-color: #f1c40f !important;
    height: 90px !important;
    padding: 0 15px 0 10px !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    flex: 0 0 auto !important;
    box-shadow: 5px 0 10px -5px rgba(0, 0, 0, 0.1) !important;
  }
  .main-nav.nav-links .nav-logo-bubble a { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; }
  .main-nav.nav-links .nav-logo-bubble img { height: 55px !important; width: auto !important; object-fit: contain !important; transform: none !important; }

  /* BUBBLE-FREE PARENT ICONS */
  .main-nav.nav-links > li { flex: 0 0 auto !important; margin: 0 !important; }
  .main-nav.nav-links > li > a:not(.nav-logo-bubble a) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    border-radius: 0 !important;
  }
  .main-nav.nav-links > li > a > .material-icons { font-size: 32px !important; color: #940012 !important; margin-bottom: 2px !important; transform: none !important; }
  .main-nav.nav-links > li > a::after { content: attr(data-label) !important; font-size: 0.75rem !important; font-weight: 700 !important; color: #940012 !important; text-transform: uppercase !important; margin-top: 2px !important; }
  #installAppBtn { display: none !important; }

  /* UPWARD POP-UP MENUS (GLASS EFFECT) */
  .nav-dropdown { position: relative !important; }
  
  .dropdown-menu {
    display: none !important; 
    position: absolute !important;
    bottom: 100px !important; /* Pushes up above the bar */
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid #f1c40f !important;
    border-radius: 12px !important;
    padding: 10px !important;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.2) !important;
    min-width: 180px !important;
    z-index: 10000 !important;
    flex-direction: column !important;
    gap: 5px !important;
  }
  
  /* Hover opens menu */
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu,
  .nav-dropdown:active .dropdown-menu {
    display: flex !important;
  }

  /* Clean popup links (No bubbles) */
  .dropdown-menu li { display: block !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
  .dropdown-menu li a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 12px !important;
    color: #333 !important;
    font-size: 0.95rem !important;
    justify-content: flex-start !important;
    background: transparent !important; /* Kills yellow bubbles */
    border-radius: 8px !important;
    box-shadow: none !important;
    width: 100% !important;
  }
  .dropdown-menu li a:hover { background: rgba(148, 0, 18, 0.05) !important; color: #940012 !important; }
  .dropdown-menu li a .material-icons { font-size: 20px !important; margin-right: 10px !important; margin-bottom: 0 !important; color: #940012 !important; }
  .dropdown-menu li a::after { content: none !important; }
}

/* 🐾 MOBILE FIX: ALIGN TEXT TO THE RIGHT OF THE DOG */
@media screen and (max-width: 992px) {
  #passion-hero { display: flex !important; flex-direction: row !important; align-items: center !important; padding: 10px !important; gap: 15px !important; }
  .passion-img { width: 140px !important; height: 140px !important; object-fit: cover !important; border-radius: 50% !important; flex-shrink: 0 !important; }
  .passion-text-container { flex: 1 !important; width: 100% !important; max-width: 90% !important; padding-right: 15px !important; text-align: right !important; }
  .mission-highlight { font-size: 1.8rem !important; color: #940012 !important; margin: 0 0 10px 0 !important; line-height: 1.2 !important; }
  .mission-subtext { font-size: 0.95rem !important; color: #333 !important; line-height: 1.5 !important; margin: 0 !important; }
}

/* ============================================================
   🐾 MOBILE RESPONSIVE FIXES (PHONES & SMALL SCREENS)
   ============================================================ */
@media screen and (max-width: 768px) {
  body, html { overflow-x: hidden !important; width: 100% !important; }
  section { padding: 40px 15px !important; }
  .about-container { flex-direction: column !important; gap: 30px !important; }
  .about-content, .about-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .boutique-image-container, .boutique-image-oval { width: 220px !important; height: 320px !important; margin: 0 auto !important; border-radius: 110px !important; }
  .main-heading.hero-title span.line-one { font-size: 2.5rem !important; }
  .main-heading.hero-title span.line-two { font-size: 2rem !important; }
  #philosophy h2 { font-size: 2.5rem !important; }
  #passion-hero { justify-content: center !important; text-align: center !important; min-height: 450px !important; background-image: none !important; background-color: #ffffff !important; padding: 40px 20px !important; }
  .passion-overlay { width: 100% !important; padding: 0 20px !important; text-align: center !important; }
  .mission-highlight { font-size: 2rem !important; }
  .mission-subtext { font-size: 1.1rem !important; max-width: 100% !important; }
  .branded-footer { height: auto !important; background-size: cover !important; padding-bottom: 110px !important; width: 100% !important; background-image: none !important; background-color: #ffffff !important; }
  #philosophy { min-height: auto !important; padding-bottom: 50px !important; display: flex !important; flex-direction: column !important; justify-content: flex-start !important; }
  #philosophy::before { height: 100% !important; background-size: cover !important; background-position: center top !important; }
  #kahu-trigger-container { margin-top: 20px !important; margin-bottom: 10px !important; }
  .philosophy-text-base { position: relative !important; top: 0 !important; left: 0 !important; width: 90% !important; margin: 20px auto 0 auto !important; padding: 25px 20px !important; transform: translateY(10px); }
  .philosophy-text-base.revealed { transform: translateY(0) !important; }
  
  /* FORM RESPONSIVE FIXES */
  .form-row { flex-direction: column !important; align-items: stretch !important; gap: 15px !important; }
  .form-group, .groomer-group, .form-row > div { width: 100% !important; flex: none !important; }
  #petAge, #petWeight, #petGoalWeight, #isMicrochipped { width: 100% !important; max-width: 100% !important; }
  .dual-input, #catLitterSection .form-group { flex-direction: column !important; align-items: stretch !important; }
  .form-button-group, div[style*="display: flex; gap: 10px; margin-top: 20px;"] { flex-direction: column !important; }
}

@media screen and (max-width: 992px) {
  .branded-footer { padding-bottom: 110px !important; width: 100% !important; }
  .branded-footer .footer-credits-left { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; }
  .branded-footer .designer-wrap { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 8px !important; margin-top: 10px !important; }
  .branded-footer .designer-wrap img { height: 35px !important; width: auto !important; display: block !important; margin: 5px auto !important; }
  .footer-overlay { flex-direction: column !important; gap: 30px !important; padding: 40px 20px !important; text-align: center !important; }
  .footer-nav-left ul { justify-content: center !important; gap: 15px !important; }
  .designer-wrap { align-items: center !important; }

  /* 🐾 VISUAL MENU SLIDER (CUSTOM SCROLLBAR) */
  .dashboard-nav, .nav-links { overflow-x: auto !important; overflow-y: hidden !important; -webkit-overflow-scrolling: touch !important; padding-bottom: 6px !important; }
  .dashboard-nav::-webkit-scrollbar, .nav-links::-webkit-scrollbar { height: 6px !important; appearance: none; }
  .dashboard-nav::-webkit-scrollbar-track, .nav-links::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.15) !important; border-radius: 10px; margin: 0 15px; }
  .dashboard-nav::-webkit-scrollbar-thumb, .nav-links::-webkit-scrollbar-thumb { background: #940012 !important; border-radius: 10px; }
  ul#nav-links.main-nav::-webkit-scrollbar { display: block !important; height: 6px !important; -webkit-appearance: none !important; }
  ul#nav-links.main-nav::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.15) !important; border-radius: 10px !important; margin: 0 30px !important; }
  ul#nav-links.main-nav::-webkit-scrollbar-thumb { background: #940012 !important; border-radius: 10px !important; }
}

/* ============================================================
   🐾 MASTER NAVIGATION UNLOCK (ALL SCREENS)
   ============================================================ */

/* --- 1. DESKTOP & LARGE SCREENS (993px and wider) --- */
@media screen and (min-width: 993px) {
  /* Stop the header from clipping the dropdowns on big monitors */
  header, 
  header nav.container, 
  ul.main-nav.nav-links {
    overflow: visible !important;
  }

  ul.main-nav .nav-dropdown {
    position: relative !important;
  }

  ul.main-nav .dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    
    /* Kahu Smoky Glass */
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    
    min-width: 210px !important;
    border-radius: 12px !important;
    border: none !important;
    border-left: 6px solid #940012 !important;
    padding: 10px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    flex-direction: column !important;
    gap: 4px !important;
    z-index: 99999 !important;
  }

  /* Open on mouse hover OR when clicked/tapped */
  ul.main-nav .nav-dropdown:hover .dropdown-menu,
  ul.main-nav .nav-dropdown.show-dropdown .dropdown-menu {
    display: flex !important;
  }
}

/* --- 2. MOBILE & TABLET BOTTOM BAR (992px and smaller) --- */
@media screen and (max-width: 992px) {
  /* Clean 4-bucket layout with no horizontal scroll clipping */
  ul.main-nav.nav-links {
    overflow: visible !important;
    justify-content: space-around !important;
    gap: 5px !important;
    padding: 0 10px !important;
  }

  ul.main-nav .dropdown-menu {
    display: none !important;
    /* Fixed position escapes the bottom bar completely so it can't be clipped! */
    position: fixed !important;
    bottom: 100px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 85vw !important;
    max-width: 280px !important;
    
    /* Kahu Smoky Glass on Mobile */
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    
    border-radius: 12px !important;
    border: 2px solid #f1c40f !important;
    border-left: 8px solid #940012 !important;
    padding: 12px !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25) !important;
    flex-direction: column !important;
    gap: 6px !important;
    z-index: 999999 !important;
  }

  /* Open when tapped via our JS class */
  ul.main-nav .nav-dropdown.show-dropdown .dropdown-menu {
    display: flex !important;
  }
}

/* --- 3. CLEAN LINKS INSIDE ALL DROPDOWNS (NO BUBBLES) --- */
ul.main-nav .dropdown-menu li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

ul.main-nav .dropdown-menu a {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: transparent !important;
  width: 100% !important;
  height: auto !important;
  padding: 12px 15px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  text-transform: none !important;
}

ul.main-nav .dropdown-menu a:hover,
ul.main-nav .dropdown-menu a:active {
  background: rgba(148, 0, 18, 0.08) !important;
  color: #940012 !important;
}

ul.main-nav .dropdown-menu a .material-icons {
  margin-right: 12px !important;
  margin-bottom: 0 !important;
  font-size: 20px !important;
  color: #940012 !important;
}

ul.main-nav .dropdown-menu a::after {
  content: none !important;
}

