/*
 * Storefront (business landing page) phone layout — applies to every theme (1 Classic … 7 Menu).
 * Loaded after business-home-b.css and business-home-themes.css so it wins over per-theme desktop rules.
 * Goal: short, calm pages that get people to "Book Now" — no duplicate booking forms, no explainer
 * sections, swipeable rows instead of stacked full-width cards.
 */
@media (max-width: 767.98px) {
  /* 1. Calmer rhythm: 128px gaps between sections became ~72px. */
  body.biz-home-option-b .biz-section-b {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  body.biz-home-option-b .biz-section-b__head {
    margin-bottom: 16px;
  }

  /* 2. The sticky "Book Now" bar + header button already book; a second Service/Date form is noise. */
  body.biz-home-option-b .biz-quick-book {
    display: none !important;
  }

  /* 3. "Book in 3 Easy Steps" explains what the booking flow now makes obvious. */
  body.biz-home-option-b .biz-steps-b {
    display: none !important;
  }

  /* 4. Services: theme 5 stacks full-width photo cards (~330px each) — make them a swipe row like theme 6.
   *    Themes 1, 2, 4 already use compact stacked rows; 3, 6, 7 have their own compact layouts. */
  body.biz-home-theme-5 .biz-service-b-grid--clinical-cards {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -16px;
    margin-right: -16px;
    padding: 2px 16px 8px;
    grid-template-columns: none;
  }
  body.biz-home-theme-5 .biz-service-b-grid--clinical-cards::-webkit-scrollbar {
    display: none;
  }
  body.biz-home-theme-5 .biz-service-b-grid--clinical-cards > .biz-service-b-card {
    flex: 0 0 74%;
    max-width: 300px;
    min-width: 0;
    scroll-snap-align: start;
  }
  body.biz-home-theme-5 .biz-service-b-grid--clinical-cards .biz-service-b-card__media {
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    max-height: 200px;
  }

  /* 5. Team: same swipe row, shorter photos (3:4 portraits were ~380px tall). */
  body.biz-home-option-b .biz-staff-b-card {
    flex-basis: min(240px, 70vw);
  }
  body.biz-home-option-b .biz-staff-b-card__photo {
    aspect-ratio: 1 / 1;
  }

  /* 6. Portfolio looks: swipe row instead of a stack of tall 4:5 cards. */
  body.biz-home-option-b .biz-looks-b-grid {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -16px;
    margin-right: -16px;
    padding: 2px 16px 8px;
    grid-template-columns: none;
  }
  body.biz-home-option-b .biz-looks-b-grid::-webkit-scrollbar {
    display: none;
  }
  body.biz-home-option-b .biz-looks-b-grid > .biz-look-b {
    flex: 0 0 62%;
    max-width: 260px;
    scroll-snap-align: start;
  }

  /* 7. Footer: the business blurb is already in About; keep the footer short. */
  body.biz-home-option-b .biz-footer-b__about {
    display: none;
  }
  body.biz-home-option-b .biz-footer-b__col ul li:nth-child(n+6) {
    display: none;
  }

  /* Theme 3 hero reserved room for the sticky bar under its booking panel; the next section already clears it. */
  body.biz-home-theme-3 .biz-hero-b--cinema-dark .biz-hero-b__grid {
    padding-bottom: 8px;
  }

  /* Bottom banner: tighter on phones. */
  body.biz-home-option-b .biz-cta-b {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
