/**
 * Watermelon — Mobile homepage (PDP-aligned app UI)
 * Scoped to body.wm-home-page · max-width 991.98px only
 */

@media (max-width: 991.98px) {
  body.wm-home-page {
    --wm-home-ink: var(--wm-ink, #2e473b);
    --wm-home-muted: var(--wm-muted, #6b7c72);
    --wm-home-line: var(--wm-line, #dce5dc);
    --wm-home-soft: var(--wm-mint-soft, #e8f2e7);
    --wm-home-bg: var(--wm-app-bg, #f3f7f3);
    --wm-home-surface: var(--wm-app-surface, #ffffff);
    --wm-home-radius: var(--wm-app-radius, 14px);
    --wm-home-gap: 8px;
    background: var(--wm-home-bg) !important;
  }

  body.wm-home-page .wm-home {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Bottom clearance comes from .wm-tabbar-spacer in the layout */
    padding: 0;
  }

  /* ── Shared card panels (matches wm-pdp__tabs / wm-pdp__hero) ── */
  body.wm-home-page .wm-home-card {
    margin: 0 10px;
    width: auto;
    max-width: none;
    padding: 10px !important;
    background: var(--wm-home-surface);
    border: 1px solid var(--wm-home-line);
    border-radius: var(--wm-home-radius);
    box-shadow: 0 3px 12px rgba(46, 71, 59, 0.05);
  }

  body.wm-home-page .wm-home-card--hero {
    padding: 8px !important;
    margin-bottom: 0;
  }

  body.wm-home-page .wm-home-card--cats {
    padding: 8px 0 10px !important;
    overflow: hidden;
  }

  body.wm-home-page .wm-home-card--promos {
    padding: 10px !important;
  }

  body.wm-home-page .wm-home-card--trust {
    padding: 10px !important;
    margin-bottom: 2px;
  }

  /* ── Section headers (PDP meta / related head style) ── */
  body.wm-home-page .wm-home-section-head {
    margin: 0 0 6px;
    padding: 0 12px;
  }

  body.wm-home-page .wm-home-section-head--inset {
    padding: 0;
    margin-bottom: 8px;
  }

  body.wm-home-page .wm-home-section-head__eyebrow {
    margin: 0 0 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wm-home-muted);
    line-height: 1.2;
  }

  body.wm-home-page .wm-home-section-head__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--wm-home-ink);
  }

  body.wm-home-page .wm-home-section-head__sub {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--wm-home-muted);
  }

  body.wm-home-page .section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.wm-home-page .section-title,
  body.wm-home-page .shop-section-title,
  body.wm-home-page .wm-home-latest__desktop-title {
    display: none !important;
  }

  body.wm-home-page .wm-home-section-head {
    display: block;
  }

  /* ── Hero (inside card, like PDP gallery panel) ── */
  body.wm-home-page .wm-home-hero-wrap {
    padding: 0;
  }

  body.wm-home-page #Gslider {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #eef3ee;
    box-shadow: none;
  }

  body.wm-home-page #Gslider .carousel-inner,
  body.wm-home-page #Gslider .carousel-item {
    height: min(28vh, 180px) !important;
    max-height: 180px !important;
  }

  body.wm-home-page #Gslider .carousel-item::before {
    background: linear-gradient(
      180deg,
      rgba(15, 24, 20, 0.05) 0%,
      rgba(15, 24, 20, 0.35) 50%,
      rgba(15, 24, 20, 0.72) 100%
    ) !important;
  }

  body.wm-home-page #Gslider .carousel-item > img {
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }

  body.wm-home-page #Gslider .carousel-caption {
    left: 12px !important;
    right: 12px !important;
    bottom: 24px !important;
    top: auto !important;
    transform: none !important;
    text-align: left !important;
  }

  body.wm-home-page #Gslider .carousel-caption h1 {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    margin-bottom: 4px !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  }

  body.wm-home-page #Gslider .carousel-caption p {
    font-size: 0.85rem !important;
    font-weight: 500;
    opacity: 0.95;
    margin: 0 !important;
  }

  body.wm-home-page #Gslider .carousel-indicators {
    bottom: 10px !important;
    margin: 0;
  }

  body.wm-home-page #Gslider .carousel-indicators li {
    width: 6px !important;
    height: 6px !important;
    border-radius: 999px !important;
    margin: 0 3px !important;
    background: rgba(255, 255, 255, 0.45) !important;
    transition: width 0.2s ease, background 0.2s ease;
  }

  body.wm-home-page #Gslider .carousel-indicators li.active {
    width: 20px !important;
    background: #fff !important;
  }

  body.wm-home-page #Gslider .carousel-control-prev,
  body.wm-home-page #Gslider .carousel-control-next {
    width: 28px !important;
    height: 28px !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50%;
    opacity: 1;
    box-shadow: 0 2px 10px rgba(46, 71, 59, 0.12);
  }

  body.wm-home-page #Gslider .carousel-control-prev {
    left: 8px !important;
  }

  body.wm-home-page #Gslider .carousel-control-next {
    right: 8px !important;
  }

  /* ── Categories ── */
  body.wm-home-page .wm-home-cats {
    padding: 0 !important;
  }

  body.wm-home-page .wm-home-cats .container-fluid {
    padding: 0 !important;
    max-width: none;
  }

  body.wm-home-page .wm-home-cats .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    margin: 0 !important;
    padding: 0 10px 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  body.wm-home-page .wm-home-cats .row::-webkit-scrollbar {
    display: none;
  }

  body.wm-home-page .wm-home-cats .row > [class*="col-"] {
    flex: 0 0 58% !important;
    max-width: 58% !important;
    width: 58% !important;
    padding: 0 !important;
    scroll-snap-align: start;
  }

  body.wm-home-page .wm-home-cats .single-banner {
    position: relative;
    min-height: 100px !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    border: 0;
    box-shadow: 0 4px 14px rgba(46, 71, 59, 0.08);
  }

  body.wm-home-page .wm-home-cats .single-banner::before {
    background: linear-gradient(
      180deg,
      rgba(15, 24, 20, 0.05) 0%,
      rgba(15, 24, 20, 0.55) 100%
    ) !important;
  }

  body.wm-home-page .wm-home-cats .single-banner img {
    object-fit: cover;
  }

  body.wm-home-page .wm-home-cats .single-banner .content {
    top: auto !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 12px !important;
  }

  body.wm-home-page .wm-home-cats .single-banner h3 {
    margin: 0 0 6px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
  }

  body.wm-home-page .wm-home-cats .single-banner a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 12px !important;
    min-height: 32px;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--wm-home-ink) !important;
    background: #fff !important;
    border-radius: 8px !important;
    border: 0 !important;
  }

  /* ── Trending ── */
  body.wm-home-page .wm-home-trending {
    padding: 0 !important;
  }

  body.wm-home-page .wm-home-trending > .container {
    /* inherits .wm-home-card */
  }

  body.wm-home-page .wm-home-trending .row {
    margin: 0;
  }

  body.wm-home-page .wm-home-trending .product-info .nav-main {
    margin-bottom: 12px !important;
    text-align: left !important;
  }

  body.wm-home-page .wm-home-trending .filter-tope-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 8px;
    margin: 0 0 12px !important;
    padding: 0 0 4px !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border: 0 !important;
    width: 100% !important;
  }

  body.wm-home-page .wm-home-trending .filter-tope-group::-webkit-scrollbar {
    display: none;
  }

  /* Size-pill style filters (same as PDP) */
  body.wm-home-page .wm-home-trending .filter-tope-group .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    margin: 0 !important;
    padding: 6px 11px !important;
    min-height: 32px;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--wm-home-ink) !important;
    background: #fff !important;
    border: 1px solid var(--wm-home-line) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  body.wm-home-page .wm-home-trending .filter-tope-group .btn.how-active1 {
    background: var(--wm-home-ink) !important;
    color: #fff !important;
    border-color: var(--wm-home-ink) !important;
    box-shadow: 0 6px 14px rgba(46, 71, 59, 0.18);
  }

  body.wm-home-page .wm-home-app-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 0 !important;
    position: relative !important;
    height: auto !important;
  }

  body.wm-home-page .wm-home-trending .isotope-grid,
  body.wm-home-page .wm-home-trending .tab-content.isotope-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.wm-home-page .wm-home-app-grid .isotope-item {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.wm-home-page .isotope-item.wm-home-hidden {
    display: none !important;
  }

  /* ── Product cards (home) — compact 2-col grid footer ── */
  body.wm-home-page .wm-home-trending .wm-product-card,
  body.wm-home-page .wm-home-hot .wm-product-card,
  body.wm-home-page .wm-home-hot-grid .wm-product-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: end;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    border: 1px solid var(--wm-home-line) !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: none !important;
    transform: none !important;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .product-img,
  body.wm-home-page .wm-home-hot .wm-product-card .product-img,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-img {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 6px 6px 0 !important;
    background: #fff;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .product-img > a,
  body.wm-home-page .wm-home-hot .wm-product-card .product-img > a,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-img > a {
    padding: 8px !important;
    border-radius: 10px;
    background: #f4f7f4;
    aspect-ratio: 1 / 1;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .product-img > a img,
  body.wm-home-page .wm-home-hot .wm-product-card .product-img > a img,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-img > a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .product-img > a::after,
  body.wm-home-page .wm-home-hot .wm-product-card .product-img > a::after,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-img > a::after {
    display: none;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .button-head,
  body.wm-home-page .wm-home-trending .wm-product-card .product-action,
  body.wm-home-page .wm-home-hot .wm-product-card .button-head,
  body.wm-home-page .wm-home-hot .wm-product-card .product-action,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .button-head,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-action {
    display: none !important;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .product-content,
  body.wm-home-page .wm-home-hot .wm-product-card .product-content,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-content {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    padding: 8px 4px 10px 8px !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .product-content h3,
  body.wm-home-page .wm-home-hot .wm-product-card .product-content h3,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-content h3 {
    margin: 0 !important;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .product-content h3 a,
  body.wm-home-page .wm-home-hot .wm-product-card .product-content h3 a,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-content h3 a {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--wm-home-ink) !important;
    text-transform: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .product-price,
  body.wm-home-page .wm-home-hot .wm-product-card .product-price,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-price {
    margin: 0 !important;
    line-height: 1.2;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .wm-price-current,
  body.wm-home-page .wm-home-hot .wm-product-card .wm-price-current,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .wm-price-current {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--wm-home-ink) !important;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .product-price del,
  body.wm-home-page .wm-home-hot .wm-product-card .product-price del,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-price del {
    display: none;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .wm-save-badge,
  body.wm-home-page .wm-home-hot .wm-product-card .wm-save-badge {
    display: none;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .product-action-2,
  body.wm-home-page .wm-home-hot .wm-product-card .product-action-2,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-action-2 {
    position: static !important;
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    padding: 0 8px 10px 0;
    width: auto !important;
  }

  /* Trust panel hidden on mobile — see .wm-home-trust { display:none } below */

  body.wm-home-page .wm-home-trending .wm-product-card .product-action-2 a,
  body.wm-home-page .wm-home-hot .wm-product-card .product-action-2 a,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-action-2 a {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    background: var(--wm-home-ink) !important;
    box-shadow: 0 2px 8px rgba(46, 71, 59, 0.18);
  }

  body.wm-home-page .wm-home-trending .wm-product-card .product-img a span,
  body.wm-home-page .wm-home-hot .wm-product-card .product-img a span,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-img a span {
    top: 12px !important;
    left: 12px !important;
    font-size: 11px !important;
    font-weight: 700;
    padding: 4px 8px !important;
    border-radius: 6px;
  }

  body.wm-home-page .wm-home-trending .wm-product-card .product-img a span.out-of-stock,
  body.wm-home-page .wm-home-hot .wm-product-card .product-img a span.out-of-stock,
  body.wm-home-page .wm-home-hot-grid .wm-product-card .product-img a span.out-of-stock {
    background: #4a5d52 !important;
    color: #fff !important;
  }

  /* Sold-out cards: title + price use full footer row */
  body.wm-home-page .wm-home-trending .wm-product-card:not(:has(.product-action-2)) .product-content,
  body.wm-home-page .wm-home-hot .wm-product-card:not(:has(.product-action-2)) .product-content,
  body.wm-home-page .wm-home-hot-grid .wm-product-card:not(:has(.product-action-2)) .product-content {
    grid-column: 1 / -1;
    padding-right: 8px !important;
  }

  /* ── Promo banners ── */
  body.wm-home-page .wm-home-promos {
    padding: 0 !important;
  }

  body.wm-home-page .wm-home-promos .container {
    /* inherits .wm-home-card */
  }

  body.wm-home-page .wm-home-promos .row > [class*="col-"] {
    margin-bottom: 12px;
    padding: 0;
  }

  body.wm-home-page .wm-home-promos .single-banner {
    min-height: 140px !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 12px;
    overflow: hidden;
    border: 0;
    box-shadow: 0 6px 18px rgba(46, 71, 59, 0.08);
  }

  body.wm-home-page .wm-home-promos .single-banner::before {
    background: linear-gradient(
      180deg,
      rgba(15, 24, 20, 0) 0%,
      rgba(15, 24, 20, 0.65) 100%
    ) !important;
  }

  body.wm-home-page .wm-home-promos .single-banner .content {
    top: auto !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px !important;
  }

  body.wm-home-page .wm-home-promos .single-banner p {
    margin-bottom: 4px !important;
    font-size: 11px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
  }

  body.wm-home-page .wm-home-promos .single-banner h3 {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
  }

  body.wm-home-page .wm-home-promos .single-banner a {
    margin-top: 8px !important;
    padding: 7px 14px !important;
    min-height: 32px;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--wm-home-ink) !important;
    background: #fff !important;
    border-radius: 8px !important;
    width: auto !important;
  }

  /* ── Hot items grid ── */
  body.wm-home-page .wm-home-hot {
    padding: 0 !important;
  }

  body.wm-home-page .wm-home-hot > .container {
    /* inherits .wm-home-card */
  }

  body.wm-home-page .wm-home-hot-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  /* ── Latest arrivals (mobile uses product-card grid) ── */
  body.wm-home-page .wm-home-latest {
    padding: 0 0 4px !important;
  }

  body.wm-home-page .wm-home-latest__mobile-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card {
    margin-bottom: 0 !important;
    height: auto !important;
  }

  /* Reuse trending card layout for latest mobile grid */
  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: end;
    border: 1px solid var(--wm-home-line) !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: none !important;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .product-img {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 6px 6px 0 !important;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .product-img > a {
    padding: 8px !important;
    border-radius: 10px;
    background: #f4f7f4;
    aspect-ratio: 1 / 1;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .product-img > a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .button-head,
  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .product-action {
    display: none !important;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .product-content {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    padding: 8px 4px 10px 8px !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .product-content h3 {
    margin: 0 !important;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .product-content h3 a {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .wm-save-badge {
    display: none;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .wm-price-current {
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .product-price del {
    display: none;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .product-action-2 {
    position: static !important;
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    padding: 0 8px 10px 0;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .product-action-2 a {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    background: var(--wm-home-ink) !important;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card:not(:has(.product-action-2)) .product-content {
    grid-column: 1 / -1;
    padding-right: 8px !important;
  }

  body.wm-home-page .wm-home-latest__mobile-grid .wm-product-card .product-img a span {
    top: 12px !important;
    left: 12px !important;
    font-size: 11px !important;
    padding: 4px 8px !important;
    border-radius: 6px;
  }

  /* Trust strip — hide on mobile (cleaner app home) */
  body.wm-home-page .wm-home-trust {
    display: none !important;
  }

  /* Footer minimal on home — hidden via mobile-app on all mobile pages */
  body.wm-home-page .footer.wm-footer .footer-top {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  body.wm-home-page #Gslider .carousel-inner,
  body.wm-home-page #Gslider .carousel-item {
    height: min(26vh, 168px) !important;
    max-height: 168px !important;
  }

  body.wm-home-page .wm-home-cats .row > [class*="col-"] {
    flex: 0 0 62% !important;
    max-width: 62% !important;
    width: 62% !important;
  }
}

/* Desktop: keep legacy homepage layout; hide mobile-only headers */
@media (min-width: 992px) {
  body.wm-home-page .wm-home-section-head {
    display: none !important;
  }
}
