/* DivyaKart v29: live search, consistent quantities and clear wishlist icons. */

.wishlist-button,
.wishlist-header-button > span {
  font-family: "Segoe UI Symbol", "Arial Unicode MS", Arial, sans-serif !important;
}

.wishlist-button {
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(49, 94, 66, .16) !important;
  background: rgba(255, 255, 255, .96) !important;
  color: #315e42 !important;
}

.wishlist-button > span {
  display: block !important;
  font-size: 20px !important;
  line-height: 1 !important;
  transform: translateY(-1px);
}

.wishlist-button.saved {
  border-color: rgba(184, 43, 58, .2) !important;
  color: #b82b3a !important;
}

.qty-button:disabled {
  background: #dfe6e1 !important;
  color: #829087 !important;
  cursor: default !important;
}

@media (max-width: 800px) {
  .delivery-bar small {
    color: #315e42 !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
  }

  .wishlist-button {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
  }

  .wishlist-button > span {
    font-size: 19px !important;
  }

  .quantity-control {
    min-width: 82px !important;
    height: 32px !important;
    grid-template-columns: 27px 28px 27px !important;
  }

  .quantity-control .qty-button {
    width: 27px !important;
    height: 32px !important;
    font-size: 18px !important;
  }

  /* Search results replace promotional sections while the user is typing. */
  body.search-results-view main#appMain > section:not(.collection-section) {
    display: none !important;
  }

  body.search-results-view .collection-section {
    display: block !important;
    min-height: calc(100dvh - 165px) !important;
    padding: 15px 12px calc(82px + env(safe-area-inset-bottom)) !important;
    background: #f5f6f7 !important;
  }

  body.search-results-view .collection-heading {
    display: flex !important;
    margin-bottom: 12px !important;
  }

  body.search-results-view .collection-heading .eyebrow {
    display: none !important;
  }

  body.search-results-view .collection-heading h2 {
    font-size: 18px !important;
  }

  body.search-results-view footer,
  body.search-results-view .mobile-help-menu {
    display: none !important;
  }
}
