input.ecwid-search-widget__input[type="text"] {
  border: solid 1.5px;
}

/*align the featured products title to the left*/
.ec-store.ec-store__category-page.ec-store__category-page--0 .ec-page-title.ec-page-title__featured-products {
  font-size: 18px !important;
  text-align: left;
}

/*category title font*/
.ec-store.ec-store__category-page.ec-store__category-page .ec-page-title h1 {
  font-size: 18px !important;
  align: left !important;
  padding-top: 25px !important;
}

/*change "You Might Also Like" font size */
.ec-size .ec-store .ec-header-h4.ec-related-products__title {
  font-size: 18px;
  align: left !important;
}

/*change "You Might Also Like" align left */
.ec-store .ec-header-h4.ec-related-products__title {
  align: left !important;
}

/* Hide the lower search box on Ecwid search results page only */
html#ecwid_html body#ecwid_body .ecwid-productBrowser-SearchPage .grid__search.ec-search.search--has-results,
html#ecwid_html body#ecwid_body .ec-store--search-page .grid__search.ec-search.search--has-results {
  display: none !important;
}

/* Hide lower Ecwid search box on search page and search results page */
html#ecwid_html body#ecwid_body .ecwid-productBrowser-SearchPage .grid__search.ec-search {
  display: none !important;
}

/* Hide original search page title text */
html#ecwid_html body#ecwid_body .ecwid-productBrowser-SearchPage h1.page-title__name.ec-header-h1,
html#ecwid_html body#ecwid_body .ec-store--search-page h1.page-title__name.ec-header-h1 {
  font-size: 0 !important;
  line-height: 0 !important;
}

/* Replace Search Results Page Header */
html#ecwid_html body#ecwid_body .ecwid-productBrowser-SearchPage h1.page-title__name.ec-header-h1::before,
html#ecwid_html body#ecwid_body .ec-store--search-page h1.page-title__name.ec-header-h1::before {
  content: "Search Results";
  font-size: 18px;
  line-height: 1.3;
  display: inline-block;
}

html#ecwid_html body#ecwid_body .ec-size.ec-size--l .ec-store h1,
html#ecwid_html body#ecwid_body .ec-size.ec-size--l .ec-store .ec-header-h1 {
  font-size: 18px;
}

html#ecwid_html body#ecwid_body .recently-viewed-title {
  font-size: 18px !important;
}

html#ecwid_html body#ecwid_body .ec-size .ec-store h1,
html#ecwid_html body#ecwid_body .ec-size .ec-store .ec-header-h1 {
  padding-top: 25px !important;
  font-size: 18px;
}

html#ecwid_html body#ecwid_body .ec-size:not(.ec-size--s) .ec-store .ec-related-products__title {
  text-align: left;
}

html#ecwid_html body#ecwid_body .ec-size.ec-size--l .ec-store h1,
html#ecwid_html body#ecwid_body .ec-size.ec-size--l .ec-store .ec-header-h1 {
  font-size: 18px;
}

html#ecwid_html body#ecwid_body .recently-viewed-title {
  font-size: 18px !important;
}

html#ecwid_html body#ecwid_body .ec-size .ec-store h1,
html#ecwid_html body#ecwid_body .ec-size .ec-store .ec-header-h1 {
  padding-top: 25px !important;
  font-size: 18px;
}

html#ecwid_html body#ecwid_body .ec-size:not(.ec-size--s) .ec-store .ec-related-products__title {
  text-align: left;
}

/* Hiding the upfront cost of shipping */
.ec-size .ec-store.ec-store__cart-page .ec-cart-summary__row--shipping {
  display: none !important;
}

.ec-size .ecwid-productBrowser-ElmCheckoutShippingAddressPage .ec-store__checkout-page .ec-cart-summary__row--shipping {
  display: none !important;
}

.ec-size .ec-store.ec-store__cart-page .ec-cart-summary__row--total {
  display: none !important;
}

.ec-size .ecwid-productBrowser-ElmCheckoutShippingAddressPage .ec-store__checkout-page .ec-cart-summary__row--total {
  display: none !important;
}

/* Add Account deletion email request */
.ec-cart__step.ec-cart-step.ec-cart-step--simple.ec-cart-step--no-action.ec-cart-step--customer-group:before {
  display: block;
  user-select: text !important;
  content: "To delete your account and all personal information send an email request to hello@supplypartners.co.za";
  color: #4A4A4A;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 20px;
}

/* CODE TO SELECT COUNTRY, CHANGED TO JAVASCRIPT AND MOVED TO WORDPRESS HEADER & FOOTER - FOOTER */
/* Hide all countries except South Africa */
.ec-form__cell.ec-form__cell--country div.form-control--select select option:not([value="ZA"]) {
  display: none !important;
}

/* Hide the entire country field after South Africa is selected */
.ec-size .ec-form__cell--country {
  display: none !important;
}

/* Change specific checkout button to blue with white text */
.ec-cart__button > div:nth-child(1) > button:nth-child(1) {
  background-color: #1B6DC1 !important;
  border-color: #1B6DC1 !important;
}

.ec-cart__button > div:nth-child(1) > button:nth-child(1) > span:nth-child(1) {
  color: white !important;
}

/* Hover effect */
.ec-cart__button > div:nth-child(1) > button:nth-child(1):hover {
  background-color: #155a9e !important;
  border-color: #155a9e !important;
}

/*Keep Catergory Page 100% even if just one product*/
.ecwid .ec-size {
  min-width: 100% !important;
}

/* DARK MODE - PRODUCT TITLE MORE VISIBLE */
@media (prefers-color-scheme: dark) {
  .product-details__product-title,
.product-details__product-title.ec-header-h3,
.ec-store .product-details__product-title {
    color: #f5f5f5 !important;
  }
}
