/* SpeedaCure Mobile Catalogue Quick UI v1 */
@media (max-width: 820px) {
  body.sc-catalogue-mobile-ready {
    background: #f5f8f6 !important;
    padding-bottom: calc(8rem + env(safe-area-inset-bottom, 0px)) !important;
    overflow-x: hidden;
  }

  body.sc-catalogue-mobile-ready main {
    padding-bottom: 8rem !important;
  }

  body.sc-catalogue-mobile-ready .site-header {
    position: sticky !important;
    top: 0;
    z-index: 1500;
    background: rgba(255,255,255,.98) !important;
    border-bottom: 1px solid #e7ece9;
    box-shadow: 0 4px 18px rgba(16,48,32,.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  body.sc-catalogue-mobile-ready .site-header .header-main {
    display: grid !important;
    grid-template-columns: 44px minmax(0,1fr) 44px !important;
    grid-template-areas:
      "menu brand cart"
      "search search search" !important;
    gap: 8px 10px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    padding: calc(8px + env(safe-area-inset-top,0px)) 12px 10px !important;
    box-sizing: border-box;
  }

  body.sc-catalogue-mobile-ready .site-header .mobile-toggle {
    grid-area: menu !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border: 1px solid #e4ebe7 !important;
    border-radius: 13px !important;
    background: #f7faf8 !important;
  }

  body.sc-catalogue-mobile-ready .site-header .brand {
    grid-area: brand !important;
    justify-self: center !important;
    min-width: 0;
  }

  body.sc-catalogue-mobile-ready .site-header .brand img {
    width: auto !important;
    max-width: 178px !important;
    max-height: 46px !important;
    object-fit: contain !important;
  }

  body.sc-catalogue-mobile-ready .site-header .location-btn,
  body.sc-catalogue-mobile-ready .site-header .icon-link:not(.cart-link) {
    display: none !important;
  }

  body.sc-catalogue-mobile-ready .site-header .cart-link {
    grid-area: cart !important;
    justify-self: end !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e4ebe7 !important;
    border-radius: 13px !important;
    background: #f7faf8 !important;
    font-size: 0 !important;
    position: relative !important;
    overflow: visible !important;
  }

  body.sc-catalogue-mobile-ready .site-header .cart-link small {
    display: none !important;
  }

  body.sc-catalogue-mobile-ready .site-header .search-bar {
    grid-area: search !important;
    width: 100% !important;
    height: 46px !important;
    display: grid !important;
    grid-template-columns: 30px minmax(0,1fr) auto !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 5px 0 10px !important;
    border: 1px solid #dce7e1 !important;
    border-radius: 14px !important;
    background: #f3f7f5 !important;
    box-sizing: border-box;
  }

  body.sc-catalogue-mobile-ready .site-header .search-bar input {
    min-width: 0 !important;
    width: 100% !important;
    height: 42px !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    font-size: 15px !important;
  }

  body.sc-catalogue-mobile-ready .site-header .search-bar button {
    min-height: 36px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #078b45 !important;
    color: #fff !important;
    font-weight: 800 !important;
  }

  body.sc-catalogue-mobile-ready .site-header .nav-row {
    display: none !important;
  }

  body.sc-catalogue-mobile-ready .sc-mobile-redundant-search,
  body.sc-catalogue-mobile-ready .sc-mobile-duplicate-catalogue {
    display: none !important;
  }

  body.sc-catalogue-mobile-ready .sc-mobile-catalogue-heading {
    width: calc(100% - 24px);
    margin: 16px auto 10px;
  }

  body.sc-catalogue-mobile-ready .sc-mobile-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: #738078;
    font-size: 12px;
  }

  body.sc-catalogue-mobile-ready .sc-mobile-breadcrumbs a {
    color: #078b45;
    text-decoration: none;
    font-weight: 700;
  }

  body.sc-catalogue-mobile-ready .sc-mobile-catalogue-heading h1,
  body.sc-catalogue-mobile-ready main h1 {
    margin: 0 !important;
    color: #17251e !important;
    font-size: 25px !important;
    line-height: 1.12 !important;
    font-weight: 850 !important;
    letter-spacing: -.025em !important;
  }

  body.sc-catalogue-mobile-ready select[name="sort"],
  body.sc-catalogue-mobile-ready select[id*="sort" i],
  body.sc-catalogue-mobile-ready select[class*="sort" i] {
    min-height: 44px !important;
    max-width: 170px !important;
    border: 1px solid #dfe7e2 !important;
    border-radius: 12px !important;
    background: #fff !important;
    padding: 0 34px 0 12px !important;
    color: #33453b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
  }

  body.sc-catalogue-mobile-ready .product-grid,
  body.sc-catalogue-mobile-ready .products-grid,
  body.sc-catalogue-mobile-ready [data-product-grid],
  body.sc-catalogue-mobile-ready .category-product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px !important;
    width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-bottom: 2rem !important;
  }

  body.sc-catalogue-mobile-ready .product-card,
  body.sc-catalogue-mobile-ready .product-item,
  body.sc-catalogue-mobile-ready .sc-product-card {
    min-width: 0 !important;
    overflow: hidden !important;
    border: 1px solid #e4ebe7 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 3px 14px rgba(20,55,36,.05) !important;
  }

  body.sc-catalogue-mobile-ready .product-card button,
  body.sc-catalogue-mobile-ready .product-item button,
  body.sc-catalogue-mobile-ready .sc-product-card button {
    min-height: 44px !important;
    border-radius: 11px !important;
  }

  body.sc-catalogue-mobile-ready .sc-mobile-nav__item {
    min-width: 44px !important;
    min-height: 56px !important;
  }

  body.sc-catalogue-mobile-ready [class*="feedback" i],
  body.sc-catalogue-mobile-ready .sc-pwa-install {
    bottom: calc(82px + env(safe-area-inset-bottom,0px)) !important;
  }
}
