
@media (max-width: 767px) {
  /* ===== HOMEPAGE featured products = one-up scroll-snap slider ===== */
  body.home .hfe-woo-products-grid.hfe-woo-products-grid.hfe-woo-products-grid {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body.home .hfe-woo-products-grid::-webkit-scrollbar { display: none !important; }
  body.home .hfe-woo-products-grid .hfe-product-item {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    scroll-snap-align: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    padding: 20px 22px 24px !important;
  }
  body.home .hfe-woo-products-grid .hfe-product-item .hfe-product-image { width: 72% !important; margin: 0 auto 16px !important; }
  body.home .hfe-woo-products-grid .hfe-product-item .hfe-product-image img {
    width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; object-fit: cover !important; border-radius: var(--solas-radius-rect, 4px) !important; display: block !important;
  }
  body.home .hfe-woo-products-grid .hfe-product-category { font-size: 11px !important; letter-spacing: .14em !important; }
  body.home .hfe-woo-products-grid .woocommerce-loop-product__title { font-size: 19px !important; line-height: 1.25 !important; min-height: 0 !important; }
  body.home .hfe-woo-products-grid .solas-six-badge { font-size: 10px !important; padding: 3px 10px !important; }
  body.home .hfe-woo-products-grid .hfe-product-price,
  body.home .hfe-woo-products-grid .hfe-product-price .woocommerce-Price-amount { font-size: 17px !important; white-space: nowrap !important; }
  body.home .hfe-woo-products-grid a.button {/* solas-size: small */
    width: auto !important; min-width: 55% !important; box-sizing: border-box !important;
    padding: var(--solas-btn-pad-sm, 12px 16px) !important; font-size: 13px !important; line-height: 1.2 !important; min-height: 46px !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
  }
  body.home .solas-cat-slider-wrap { position: relative !important; }
  body.home .solas-cat-arrow {
    display: flex !important;
    position: absolute !important;
    top: var(--solas-arrow-top, 30%) !important;
    transform: translateY(-50%) !important;
    z-index: 6 !important;
    width: 42px !important; height: 42px !important; border-radius: 50% !important;
    background: var(--solas-surface-dark, #0B2349) !important; color: #fff !important; border: none !important;
    align-items: center !important; justify-content: center !important; cursor: pointer !important;
    box-shadow: 0 6px 16px rgba(30,69,116,.30) !important; -webkit-tap-highlight-color: transparent;
  }
  body.home .solas-cat-arrow svg { width: 20px !important; height: 20px !important; flex-shrink: 0 !important; }
  body.home .solas-cat-arrow--prev { left: 6px !important; }
  body.home .solas-cat-arrow--next { right: 6px !important; }
  body.home .solas-cat-arrow:active { background: var(--solas-surface-dark, #0B2349) !important; }

  /* ===== Shop / catalog listing (and any non-home grid) = clean 2-per-row grid ===== */
  body:not(.home) .hfe-woo-products-grid.hfe-woo-products-grid.hfe-woo-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    overflow: visible !important;
    flex-wrap: wrap !important;
  }
  body:not(.home) .hfe-woo-products-grid .hfe-product-item {
    flex: none !important; width: auto !important; max-width: none !important;
    padding: 10px !important;
    scroll-snap-align: none !important;
  }
  body:not(.home) .hfe-woo-products-grid .hfe-product-item .hfe-product-image { width: auto !important; margin: 0 0 10px !important; }
  body:not(.home) .hfe-woo-products-grid .hfe-product-item .hfe-product-image img {
    width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; object-fit: cover !important; display: block !important;
  }
  body:not(.home) .hfe-woo-products-grid .woocommerce-loop-product__title { font-size: 13px !important; line-height: 1.3 !important; }
  body:not(.home) .hfe-woo-products-grid .hfe-product-price,
  body:not(.home) .hfe-woo-products-grid .hfe-product-price .woocommerce-Price-amount { font-size: 13px !important; }
  body:not(.home) .hfe-woo-products-grid .hfe-product-category { font-size: 10px !important; }
  body:not(.home) .hfe-woo-products-grid .solas-six-badge { font-size: 9px !important; padding: 2px 7px !important; }
  body:not(.home) .hfe-woo-products-grid a.button {/* solas-size: small */
    width: 100% !important; min-width: 0 !important; box-sizing: border-box !important;
    padding: var(--solas-btn-pad-sm, 12px 16px) !important; font-size: 12px !important; line-height: 1.2 !important; min-height: 44px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
  }
}
/* arrows never show on desktop or on non-home pages */
.solas-cat-arrow { display: none !important; }

/* ===== MOBILE-TAP-HIGHLIGHT-FIX: remove grey box that flashes over tabs/cards on tap ===== */
html { -webkit-tap-highlight-color: transparent; }
a, button, [role="button"], input, label, select, textarea,
.coa-chip, .coa-test-card, #solas-coa a, #solas-coa button,
.menu-item a, .elementor-item, .hfe-nav-menu a, li.product a {
  -webkit-tap-highlight-color: transparent !important;
}

/* ===== MOBILE-MENU-ACTIVE-BG-FIX: remove Elementor's grey bar behind current dropdown menu item (keeps blue active underline) ===== */
.elementor-nav-menu--dropdown .elementor-item.elementor-item-active,
.elementor-nav-menu--dropdown a.elementor-item.elementor-item-active,
.elementor-nav-menu--dropdown a.current,
.elementor-nav-menu--dropdown .elementor-item:hover,
.elementor-nav-menu--dropdown .elementor-item:focus {
  background-color: transparent !important;
}
