/**
 * Mobile home app shell (≤767px).
 * First block sizing = Plan / Trust / Search mockup.
 * Scrolled content = Explore Dubai / promo / reviews / blog / CTA mockup.
 * Desktop layout stays unchanged.
 */
:root {
  --m-blue: #1a478a;
  --m-blue-bright: #1a56db;
  --m-orange: #f8731f;
  --m-ink: #0f172a;
  --m-muted: #64748b;
  --m-line: #e8eef5;
  --m-soft: #f3f5f8;
}

.m-only {
  display: none !important;
}

@media (max-width: 767px) {
  .m-only {
    display: block !important;
  }

  body.m-home-app {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    --m-navy: var(--m-blue);
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  html {
    overflow-x: hidden;
    max-width: 100%;
    overscroll-behavior-x: none;
  }

  /* Hero banner: true edge-to-edge cover (no left/right empty bands) */
  body.m-home-app .hero {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }
  body.m-home-app .home-banner-host--hero-bg,
  body.m-home-app #home-banner-slider {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  body.m-home-app .home-banner-host--hero-bg .home-banner,
  body.m-home-app .home-banner-host--hero-bg .home-banner--skeleton,
  body.m-home-app .home-banner-host--hero-bg .home-banner__viewport,
  body.m-home-app .home-banner-host--hero-bg .home-banner__slide,
  body.m-home-app .home-banner-host--hero-bg .home-banner__link,
  body.m-home-app .home-banner-host--hero-bg .home-banner picture,
  body.m-home-app .home-banner-host--hero-bg .home-banner img,
  body.m-home-app .home-banner-host--hero-bg picture,
  body.m-home-app .home-banner-host--hero-bg img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  body.m-home-app .site-header {
    background: #fff;
    border-bottom: 1px solid var(--m-line);
    box-shadow: none;
  }
  body.m-home-app .site-header__inner {
    min-height: 3.35rem;
  }
  body.m-home-app .btn-signin,
  body.m-home-app .btn-header-saves {
    display: none !important;
  }
  body.m-home-app .m-header-search {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 0;
    background: transparent;
    color: var(--m-blue);
    font-size: 1.15rem;
    cursor: pointer;
  }

  /* —— Hero —— */
  body.m-home-app .hero {
    min-height: min(48vh, 360px);
    align-items: flex-end;
    padding: 0 1.1rem 1.25rem;
  }
  body.m-home-app .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 37, 64, 0.12) 0%,
      rgba(10, 37, 64, 0.45) 55%,
      rgba(10, 37, 64, 0.78) 100%
    );
  }
  body.m-home-app .hero__inner {
    align-items: flex-start;
    text-align: left;
  }
  body.m-home-app .hero__title-desktop {
    display: none !important;
  }
  body.m-home-app .hero__title-mobile {
    display: block !important;
  }
  body.m-home-app .hero__title {
    font-size: clamp(1.65rem, 6.2vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin: 0 0 0.4rem;
    text-align: left;
    max-width: 15ch;
    min-height: 0;
  }
  body.m-home-app .hero__subtitle {
    display: block !important;
    margin: 0 0 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    font-weight: 500;
  }
  body.m-home-app .hero__cta {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    padding: 0.82rem 1.2rem;
    border-radius: 999px;
    background: var(--m-orange);
    color: #fff;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(248, 115, 31, 0.32);
  }
  body.m-home-app .hero > .hero__inner > .search-card {
    display: none !important;
  }

  /* —— Categories —— */
  .m-home-categories {
    padding: 1.2rem 1rem 0.25rem;
  }
  .m-home-categories__title {
    margin: 0 0 0.85rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--m-blue);
  }
  .m-home-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
  .m-home-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 5.35rem;
    padding: 0.65rem 0.3rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--m-line);
    box-shadow: 0 4px 14px rgba(26, 71, 138, 0.06);
    text-decoration: none;
    color: var(--m-ink);
    text-align: center;
  }
  .m-home-cat__icon {
    width: 2.55rem;
    height: 2.55rem;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 1.05rem;
    overflow: hidden;
    flex-shrink: 0;
  }
  .m-home-cat__icon--orange {
    background: #fff1e6;
    color: var(--m-orange);
  }
  .m-home-cat__icon--blue {
    background: #eaf0fb;
    color: var(--m-blue);
  }
  .m-home-cat__icon--photo {
    background: #e8eef5;
    padding: 0;
  }
  .m-home-cat__icon--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .m-home-cat__label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--m-blue);
    line-height: 1.2;
  }

  /* —— Explore Dubai cards —— */
  body.m-home-app .home-below-search {
    padding: 0.85rem 0 0.25rem;
  }
  body.m-home-app .home-section {
    padding-left: 1rem;
    padding-right: 0;
  }
  body.m-home-app .home-section__heading,
  body.m-home-app .home-section__head {
    padding-right: 1rem;
  }
  body.m-home-app #you-might-like h2,
  body.m-home-app #you-might-like .home-section__title,
  body.m-home-app #home-below-search h2,
  body.m-home-app #home-below-search .home-section__title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--m-blue) !important;
  }
  body.m-home-app #you-might-like .home-section__subtitle,
  body.m-home-app #home-below-search .home-section__subtitle {
    display: none !important;
  }
  body.m-home-app .home-section__more {
    color: var(--m-blue) !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
  }
  body.m-home-app .home-card-wrap {
    width: min(72vw, 15.5rem);
  }
  body.m-home-app .home-card {
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  body.m-home-app .home-card__media,
  body.m-home-app .home-card__img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
  }
  body.m-home-app .home-card img,
  body.m-home-app .home-card__img {
    border-radius: 14px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
  }
  body.m-home-app .home-card__title {
    margin: 0.55rem 0 0.2rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--m-blue);
    line-height: 1.25;
  }
  body.m-home-app .home-card__rating,
  body.m-home-app .home-card__quote,
  body.m-home-app .home-card__dots,
  body.m-home-app .home-card__reviews {
    display: none !important;
  }
  body.m-home-app .home-card__price,
  body.m-home-app .home-card__price strong {
    color: var(--m-orange) !important;
    font-weight: 800 !important;
    font-size: 0.95rem;
  }
  body.m-home-app .home-card__price {
    margin: 0;
  }
  body.m-home-app .home-card__save {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    background: transparent;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    display: grid;
    place-items: center;
    padding: 0;
  }
  body.m-home-app .home-card__rating-badge {
    position: absolute;
    left: 0.55rem;
    bottom: 0.55rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.22rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--m-ink);
    font-size: 0.72rem;
    font-weight: 750;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }

  /* —— Desert Safari promo —— */
  .m-home-promo {
    margin: 1rem 0 0.35rem;
    border-radius: 0;
    overflow: hidden;
    min-height: 9.5rem;
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    text-decoration: none;
    background: #1a1a1a center / cover no-repeat;
    box-shadow: none;
  }
  .m-home-promo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 20, 40, 0.72) 0%, rgba(8, 20, 40, 0.25) 70%);
  }
  .m-home-promo__inner {
    position: relative;
    z-index: 1;
    padding: 1.15rem 1.1rem;
    color: #fff;
  }
  .m-home-promo__title {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
    font-weight: 800;
  }
  .m-home-promo__price {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    opacity: 0.95;
  }
  .m-home-promo__btn {
    display: inline-flex;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: var(--m-orange);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 750;
  }

  /* —— Plan My Dubai Day —— */
  .m-home-planner {
    margin: 1.15rem 1rem 0.75rem;
    padding: 1.35rem 1rem 1.2rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #f5f7fb 0%, #eef2f8 100%);
    border: 1px solid #e4ebf4;
    text-align: center;
    box-shadow: 0 10px 28px rgba(26, 71, 138, 0.06);
  }
  .m-home-planner__title {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--m-blue);
    line-height: 1.3;
  }
  .m-home-planner__sub {
    margin: 0.35rem 0 0.95rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--m-muted);
  }
  .m-home-planner__tags {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0 0.1rem 0.45rem;
    margin: 0 0 0.95rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .m-home-planner__tags::-webkit-scrollbar {
    display: none;
  }
  .m-home-tag {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 4.75rem;
    padding: 0.75rem 0.7rem;
    border-radius: 14px;
    border: 1px solid #dde5f0;
    background: #fff;
    color: var(--m-blue);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(26, 71, 138, 0.05);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  }
  .m-home-tag.is-selected {
    border-color: var(--m-blue);
    box-shadow: 0 0 0 1.5px var(--m-blue), 0 6px 14px rgba(26, 71, 138, 0.12);
    transform: translateY(-1px);
  }
  .m-home-tag__icon {
    width: 1.55rem;
    height: 1.55rem;
    display: block;
    font-size: 0;
    line-height: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .m-home-tag__icon--family {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232f6feb'%3E%3Ccircle cx='9' cy='7' r='2.2'/%3E%3Ccircle cx='15.5' cy='7.5' r='1.8'/%3E%3Cpath d='M4.5 18.5c.4-3 2.4-4.5 4.5-4.5s4.1 1.5 4.5 4.5'/%3E%3Cpath d='M13.2 18.2c.25-2.1 1.55-3.2 2.9-3.2 1.5 0 2.7 1.2 3 3.2'/%3E%3C/svg%3E");
  }
  .m-home-tag__icon--couple {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e5484d'%3E%3Cpath d='M12 20.4l-1.2-1.1C6.4 15.1 3.5 12.5 3.5 9.4 3.5 7 5.4 5.2 7.8 5.2c1.4 0 2.7.7 3.4 1.7.7-1 2-1.7 3.4-1.7 2.4 0 4.3 1.8 4.3 4.2 0 3.1-2.9 5.7-7.3 9.9L12 20.4z'/%3E%3C/svg%3E");
  }
  .m-home-tag__icon--friends {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2330a46c'%3E%3Ccircle cx='8' cy='8' r='2.2'/%3E%3Ccircle cx='16' cy='8' r='2.2'/%3E%3Cpath d='M3.8 18.5c.5-2.8 2.3-4.2 4.2-4.2s3.7 1.4 4.2 4.2'/%3E%3Cpath d='M11.8 18.5c.5-2.8 2.3-4.2 4.2-4.2s3.7 1.4 4.2 4.2'/%3E%3C/svg%3E");
  }
  .m-home-tag__icon--budget {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5a524'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm1 15h-2v-1.1c-1.5-.3-2.6-1.3-2.7-2.9h1.9c.1.8.6 1.3 1.7 1.3 1 0 1.5-.4 1.5-1.1 0-.7-.4-1-1.6-1.4-1.8-.6-3-1.3-3-3.1 0-1.5 1.1-2.6 2.7-2.9V5h2v1.1c1.4.3 2.4 1.3 2.5 2.8h-1.9c-.1-.7-.6-1.2-1.5-1.2-.9 0-1.4.4-1.4 1 0 .6.4 1 1.7 1.4 1.9.7 2.9 1.5 2.9 3.2 0 1.6-1.1 2.7-2.8 3V17z'/%3E%3C/svg%3E");
  }
  .m-home-tag__icon--luxury {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238e4ec6'%3E%3Cpath d='M12 2.8l2.1 4.4 4.9.7-3.5 3.4.8 4.8L12 13.8 7.7 16.1l.8-4.8L5 7.9l4.9-.7L12 2.8z'/%3E%3C/svg%3E");
  }
  .m-home-planner__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border: 0;
    border-radius: 999px;
    background: var(--m-blue);
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
  }

  /* —— Trust strip (mockup 1) —— */
  .m-home-trust {
    margin: 0 1rem 0.85rem;
    padding: 0.85rem 0.65rem;
    border-radius: 14px;
    background: var(--m-soft);
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    text-align: center;
  }
  .m-home-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
  }
  .m-home-trust__icon {
    width: 1.7rem;
    height: 1.7rem;
    display: block;
    font-size: 0;
    line-height: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .m-home-trust__icon--licensed {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a56db'%3E%3Cpath d='M12 2l7 3v6.5c0 4.4-2.9 8.3-7 9.5-4.1-1.2-7-5.1-7-9.5V5l7-3zm-1.1 13.2l5.4-5.4-1.4-1.4-4 4-2-2-1.4 1.4 3.4 3.4z'/%3E%3C/svg%3E");
  }
  .m-home-trust__icon--support {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a56db'%3E%3Cpath d='M12 3a8 8 0 00-8 8v2.5A2.5 2.5 0 006.5 16H8v-5H5.1A6.9 6.9 0 0112 5.1 6.9 6.9 0 0118.9 11H16v5h1.5a2.5 2.5 0 002.5-2.5V11a8 8 0 00-8-8zm-3 12v2a3 3 0 003 3h1v-2h-1a1 1 0 01-1-1v-2H9z'/%3E%3C/svg%3E");
  }
  .m-home-trust__icon--secure {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a56db'%3E%3Cpath d='M17 9h-1V7a4 4 0 10-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zM9 7a3 3 0 016 0v2H9V7zm3 10.2A1.8 1.8 0 1113.8 15 1.8 1.8 0 0112 17.2z'/%3E%3C/svg%3E");
  }
  .m-home-trust__icon--instant {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a56db'%3E%3Cpath d='M11 2L4.5 13H11l-1 9 8.5-13H12l-1-9z'/%3E%3C/svg%3E");
  }
  .m-home-trust__text {
    margin: 0;
    font-size: 0.62rem;
    line-height: 1.2;
    color: var(--m-blue);
    font-weight: 600;
  }
  .m-home-trust__text strong {
    display: block;
    font-weight: 800;
  }

  /* —— Search pill (compact mobile) —— */
  .m-home-search-wrap {
    padding: 0 1rem 1.15rem;
    position: relative;
    z-index: 40;
  }
  body.m-home-search-stuck .m-home-search-wrap {
    position: sticky;
    top: 0;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  }
  .m-home-search-wrap .search-card {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 999px !important;
    padding: 0.28rem 0.28rem 0.28rem 0.75rem !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
    box-shadow: 0 6px 18px rgba(26, 71, 138, 0.1) !important;
    border: 1px solid var(--m-line) !important;
    background: #fff !important;
  }
  .m-home-search-wrap .search-tabs,
  .m-home-search-wrap #panel-packages,
  .m-home-search-wrap #panel-rides,
  .m-home-search-wrap .search-hint,
  .m-home-search-wrap .field label {
    display: none !important;
  }
  .m-home-search-wrap .search-panels {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .m-home-search-wrap .search-panel,
  .m-home-search-wrap #panel-tours,
  .m-home-search-wrap .search-panel.is-active {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.4rem !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
  }
  .m-home-search-ico {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
  }
  .m-home-search-wrap #panel-tours .field {
    flex: 1 1 auto !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0.05rem !important;
  }
  .m-home-search-wrap .emirate-combobox {
    position: relative;
    width: 100%;
  }
  .m-home-search-wrap #tour-dest {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    width: 100% !important;
    font-size: 0.82rem !important;
    font-weight: 650 !important;
    color: var(--m-ink) !important;
    line-height: 1.2 !important;
  }
  .m-home-search-wrap #tour-dest::placeholder {
    color: #94a3b8;
    font-weight: 550;
    opacity: 1;
  }
  .m-home-search-eg {
    display: block;
    font-size: 0.62rem;
    line-height: 1.15;
    color: #a0aec0;
    font-weight: 500;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m-home-search-wrap .search-submit-wrap {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
  }
  .m-home-search-wrap .btn-search,
  .m-home-search-wrap #btn-search-tours {
    width: 2.35rem !important;
    height: 2.35rem !important;
    min-width: 2.35rem !important;
    max-width: 2.35rem !important;
    min-height: 2.35rem !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: var(--m-blue-bright) !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 0 !important;
    position: relative !important;
    box-shadow: none !important;
    flex: 0 0 2.35rem !important;
  }
  .m-home-search-wrap .btn-search::before {
    content: "⌕";
    font-size: 1.05rem;
    line-height: 1;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
  }

  /* —— Reviews slider —— */
  .m-home-reviews {
    padding: 0.35rem 0 0.85rem 1rem;
  }
  .m-home-reviews .m-home-sec-head {
    padding-right: 1rem;
  }
  .m-home-reviews__rail {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-right: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .m-home-reviews__rail::-webkit-scrollbar {
    display: none;
  }
  .m-home-reviews__loading,
  .m-home-blog__loading,
  .m-home-empty {
    margin: 0;
    padding: 0.85rem 0.2rem;
    color: var(--m-muted);
    font-size: 0.88rem;
  }
  .m-home-sec-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.75rem;
  }
  .m-home-sec-head h2 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--m-blue);
  }
  .m-home-sec-head a {
    color: var(--m-blue);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
  }
  .m-home-review-card {
    flex: 0 0 min(82vw, 17.5rem);
    scroll-snap-align: start;
    border: 1px solid #e6ebf2;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    background: #fff;
  }
  .m-home-review-card__top {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
  }
  .m-home-review-card__avatar {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    object-fit: cover;
    background: #e8eef5;
    color: var(--m-blue);
    font-size: 0.72rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .m-home-review-card__meta {
    flex: 1;
    min-width: 0;
  }
  .m-home-review-card__name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--m-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m-home-review-card__stars {
    color: #f5a524;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
  }
  .m-home-review-card__badge,
  .m-home-review-card__google {
    font-size: 0.78rem;
    font-weight: 800;
    color: #4285f4;
    flex-shrink: 0;
  }
  .m-home-review-card__quote {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #334155;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .m-home-review-card__tour {
    margin: 0.45rem 0 0;
    font-size: 0.72rem;
    color: var(--m-muted);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* —— Blog —— */
  .m-home-blog {
    padding: 0.25rem 0 0.85rem 1rem;
  }
  .m-home-blog .m-home-sec-head {
    padding-right: 1rem;
  }
  .m-home-blog__rail {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-right: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .m-home-blog__rail::-webkit-scrollbar {
    display: none;
  }
  .m-home-blog__card {
    flex: 0 0 9.5rem;
    height: 11.5rem;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    background: #1e293b center / cover no-repeat;
  }
  .m-home-blog__card--empty {
    flex-basis: min(70vw, 14rem);
    align-items: center;
    justify-content: center;
    background: var(--m-soft);
  }
  .m-home-blog__card--empty span {
    color: var(--m-blue) !important;
  }
  .m-home-blog__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72));
  }
  .m-home-blog__card span {
    position: relative;
    z-index: 1;
    padding: 0.75rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 750;
    line-height: 1.25;
  }

  /* —— Ready CTA —— */
  .m-home-ready {
    margin: 0.35rem 1rem 1.25rem;
    padding: 1rem;
    border-radius: 16px;
    background: var(--m-blue);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .m-home-ready__icon {
    width: 2.1rem;
    height: 2.1rem;
    flex-shrink: 0;
    display: block;
    font-size: 0;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2l2.2 6.8H21l-5.5 4 2.1 6.7L12 15.8 6.4 19.5l2.1-6.7L3 8.8h6.8L12 2z'/%3E%3C/svg%3E");
  }
  .m-home-ready__copy {
    flex: 1;
    min-width: 0;
  }
  .m-home-ready__copy strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
  }
  .m-home-ready__copy span {
    display: block;
    font-size: 0.72rem;
    opacity: 0.9;
    line-height: 1.3;
  }
  .m-home-ready__btn {
    flex-shrink: 0;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: var(--m-orange);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
  }

  body.m-home-app .home-seo,
  body.m-home-app .why-book,
  body.m-home-app #explore-near,
  body.m-home-app #recently-viewed {
    display: none !important;
  }

  /* —— Bottom nav (4 tabs) —— */
  .m-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    padding: 0.4rem 0.2rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--m-line);
    backdrop-filter: blur(10px);
  }
  .m-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.3rem 0.1rem;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 750;
  }
  .m-bottom-nav a.is-active {
    color: var(--m-blue-bright);
  }
  .m-bottom-nav__icon {
    width: 1.35rem;
    height: 1.35rem;
    display: block;
    font-size: 0;
    line-height: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  .m-bottom-nav__icon--home {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3.2L3 11h2.5v8.5h5V14h3v5.5h5V11H21L12 3.2z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3.2L3 11h2.5v8.5h5V14h3v5.5h5V11H21L12 3.2z'/%3E%3C/svg%3E");
  }
  .m-bottom-nav__icon--explore {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 100 20 10 10 0 000-20zm3.7 6.3l-2.1 6.3-6.3 2.1 2.1-6.3 6.3-2.1z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 100 20 10 10 0 000-20zm3.7 6.3l-2.1 6.3-6.3 2.1 2.1-6.3 6.3-2.1z'/%3E%3C/svg%3E");
  }
  .m-bottom-nav__icon--bookings {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 3h10a2 2 0 012 2v15l-7-3-7 3V5a2 2 0 012-2zm2 4v2h6V7H9zm0 4v2h6v-2H9z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 3h10a2 2 0 012 2v15l-7-3-7 3V5a2 2 0 012-2zm2 4v2h6V7H9zm0 4v2h6v-2H9z'/%3E%3C/svg%3E");
  }
  .m-bottom-nav__icon--account {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12a4.5 4.5 0 100-9 4.5 4.5 0 000 9zm0 2c-4 0-8 2-8 5.5V21h16v-1.5C20 16 16 14 12 14z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12a4.5 4.5 0 100-9 4.5 4.5 0 000 9zm0 2c-4 0-8 2-8 5.5V21h16v-1.5C20 16 16 14 12 14z'/%3E%3C/svg%3E");
  }

  body.m-home-app .whatsapp-float {
    bottom: calc(4.9rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (min-width: 768px) {
  .hero__title-mobile,
  .hero__subtitle,
  .hero__cta,
  .m-header-search,
  .m-bottom-nav,
  .m-home-categories,
  .m-home-planner,
  .m-home-trust,
  .m-home-search-wrap,
  .m-home-promo,
  .m-home-reviews,
  .m-home-blog,
  .m-home-ready {
    display: none !important;
  }
  .hero__title-desktop {
    display: inline !important;
  }
}
