
/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --font-base: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body,
button, input, select, textarea { 
  font-family: var(--font-base);
  line-height: 1.5;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-base); }

/* WooCommerce bits inherit */
.woocommerce, .woocommerce-page { font-family: var(--font-base); }

.woocommerce ul.products li.product a img,
.woocommerce .related ul.products li.product a img,
.woocommerce .upsells ul.products li.product a img {
  width: 100%;
  height: auto;
  max-height: 185px;
  object-fit: contain;
}

.woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  background: white;
}

@media (max-width: 767px) {
  .woocommerce-product-gallery__image img {
    max-height: 300px;
  }
}

.price-block {
  margin-top: 0.5rem;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem;
}
.price-row.is-member .label {
  font-weight: 800;
  font-size: 14px;
}
.price-row.is-member .price {
  margin-bottom: 0px !important;
}
.price-row.is-member .price .currency {
  font-size: 0.75rem;
  margin-right: 0.25rem;
  font-weight: 800;
}
.price-row.is-member .price .amount {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #dc9814;
}

.price-divider {
  height: 1px;
  background: #e5e7eb;
}

.price-row.is-regular .label {
  font-size: 14px;
  color: gray;
}
.price-row.is-regular .price {
  color: #9ca3af;
  margin-bottom: 0px !important;
  color: gray;
}
.price-row.is-regular .price .currency {
  font-size: 0.75rem;
  margin-right: 0.25rem;
  color: gray;
}
.price-row.is-regular .price .amount {
  font-size: 0.75rem;
  color: gray;
}
.price .strike {
  text-decoration: line-through;
}

.product .member-price-plugin-line {
  display: none !important;
}

.woocommerce-card__header .price-block ~ .price,
.woocommerce-card__header .price-block ~ p.price {
  display: none !important;
}

ul.products li.product .price-block ~ .price,
ul.products li.product .price-block ~ p.price {
  display: none !important;
}

.price-info {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid #9ca3af;
  background: transparent;
  color: white;
  font-size: 0.7rem;
  line-height: 1;
  cursor: help;
  padding: 0;
  background: black;
}
.price-info:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.price-tooltip {
  position: absolute;
  left: 0;
  top: 100%;
  transform: translateY(6px);
  z-index: 30;
  max-width: 260px;
  background: #111827;
  color: #fff;
  padding: 0.5rem 0.6rem;
  font-size: 0.75rem;
  line-height: 1.3;
  border-radius: 0.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
}

.price-info:hover + .price-tooltip {
  opacity: 1;
  pointer-events: auto;
}

.product p.stock {
  text-align: right;
}
.product-widget {
  padding-top: unset !important;
}
div.product .summary form.cart {
  margin-bottom: 0px !important;
}
.first-payment-date {
  margin-bottom: 0px !important;
}
li.menu-item-product p.product__categories,
li.product p.product__categories {
  display: none;
}

.ywcas-popover-results
  .popover-content
  .wp-block-yith-filled-block
  .ywcas-search-results.list {
  margin-top: 0px !important;
}
.ywcas-popover-results
  .popover-content
  .wp-block-yith-filled-block
  .ywcas-search-results
  .search-result-item
  .search-result-item__thumbnail {
  width: 70px !important;
}

@media (max-width: 767px) {
  .price-row.is-member .label {
    font-size: 13px;
  }
  .price-info {
    width: 12px;
    height: 12px;
    font-size: 0.5rem;
  }
  .price-row.is-member .price .amount {
    font-size: 0.85rem;
  }
  .price-row.is-member .price .currency {
    font-size: 0.55rem;
  }
  .price-row.is-regular .label {
    font-size: 13px;
  }

  .ywcas-search-mobile .search-result-add-to-cart{
     display:none;
   }
}

.ywcas-search-mobile{
   z-index: 9999999 !important;
}

.sale-item {
    background-color: #e63870 !important;
}


