/* Enhanced UI for Flatsome child theme. Version 4.1.0 */

/* Enhanced ecommerce UI for Flatsome child theme. Version 4.1.0 */

/* Keep Flatsome in control of columns/sliders, but stabilize the custom product cards. */
.productwidgetsectiontouse,
.productwidgetsectiontouse .products,
.productwidgetsectiontouse .row {
  overflow: visible !important;
}

.productwidgetsectiontouse .product-small.bh-product-loop-item,
.productwidgetsectiontouse .bh-product-loop-item {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin-bottom: 30px !important;
}

.productwidgetsectiontouse > .product-small.bh-product-loop-item,
.productwidgetsectiontouse .row > .product-small.bh-product-loop-item,
.productwidgetsectiontouse .products > .product-small.bh-product-loop-item {
  padding-left: 13px !important;
  padding-right: 13px !important;
}

.bh-product-loop-item > .col-inner {
  height: 100%;
}

.woocommerce .products .bh-product-loop-item,
.product-small.bh-product-loop-item,
.bh-product-loop-item {
  margin-bottom: 30px;
}

.bh-product-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 548px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 15px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bh-product-card:hover {
  border-color: #4e9369;
  box-shadow: 0 14px 32px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.bh-product-image-link {
  position: relative;
  display: block;
  color: inherit;
  height: 220px;
  min-height: 0;
  padding: 18px 18px 0;
  text-decoration: none !important;
}

.bh-product-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bh-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.bh-flavor-badges {
  position: absolute;
  z-index: 5;
  top: 14px;
  left: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  pointer-events: none;
}

.bh-flavor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  max-width: 140px;
  min-height: 18px;
  padding: 3px 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.bh-flavor-badge.badge-1 { background: #c01767; }
.bh-flavor-badge.badge-2 { background: #8c22ce; }
.bh-flavor-badge.badge-3 { background: #afc20c; }
.bh-flavor-badge.badge-4 { background: #0f9e79; }

.bh-sale-badge {
  position: absolute;
  z-index: 6;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #d64231;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  padding: 7px 9px;
}

.bh-product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  text-align: center;
  padding: 8px 18px 18px;
}

.bh-product-category {
  min-height: 16px;
  margin: 0 0 6px;
  color: #777;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bh-product-title {
  min-height: 48px;
  max-height: 50px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #111;
  margin: 0 auto 7px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none !important;
}

.bh-product-title:hover { color: #1b8656; }

.bh-product-rating {
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.bh-product-rating .star-rating {
  margin: 0;
  color: #ffa64d;
  font-size: 14px;
  letter-spacing: .5px;
}

.bh-empty-stars:before,
.bh-empty-stars span:before { color: #ffa64d; }

.bh-card-meta-badges {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 1px 0 11px;
}

.bh-card-meta-badges.is-empty { visibility: hidden; }

.bh-meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 7px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.bh-meta-pill.bh-strain { background: #069d73; }
.bh-meta-pill.bh-strain.is-sativa { background: #ffc151; color: #fff; }
.bh-meta-pill.bh-strain.is-hybrid { background: #9563d3; }
.bh-meta-pill.bh-strain.is-cbd { background: #40b72c; }
.bh-meta-pill.bh-thc { background: #060606; }
.bh-meta-pill.bh-cbd { background: #49bc19; }

.bh-batch-date {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.bh-variation-chips {
  min-height: 90px;
  display: flex;
  justify-content: center;
  align-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 16px;
}

.bh-variation-chips.is-empty { visibility: hidden; }

.bh-variation-chip {
  width: 43px;
  height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #d4d4d4;
  background: #fff;
  color: #333;
  font-size: 12px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.bh-variation-chip:hover,
.bh-variation-chip.is-active {
  border-color: #4e9369;
  background: #4e9369;
  color: #fff;
  box-shadow: 0 5px 14px rgba(78,147,105,.25);
}

.bh-card-bottom {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  margin-top: auto;
  margin-bottom: 17px;
}

.bh-card-price-html,
.bh-card-price-html .amount,
.bh-card-price-html ins .amount {
  color: #f00000;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.15;
  text-decoration: none;
}

.bh-card-price-html del {
  display: block;
  margin-bottom: 3px;
  opacity: 1;
  text-decoration: none;
}

.bh-card-price-html del .amount {
  color: #111;
  font-size: 16px;
  font-weight: 700;
  text-decoration: line-through;
}

.bh-card-price-html ins {
  display: block;
  text-decoration: none;
}

.bh-card-price-divider {
  width: 1px;
  height: 38px;
  background: #aaa;
  opacity: .75;
}

.bh-card-gram-wrap {
  color: #222;
  line-height: 1.2;
}

.bh-card-ppg {
  min-height: 20px;
  font-size: 16px;
  font-weight: 400;
}

.bh-card-tax-note {
  margin-top: 2px;
  font-size: 12px;
}

.bh-product-button.button,
.bh-product-button.button.primary {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 999px !important;
  background: #4e9369 !important;
  border-color: #4e9369 !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: none;
}

.bh-product-button.button:hover,
.bh-product-button.button.primary:hover {
  background: #347a50 !important;
  border-color: #347a50 !important;
  color: #fff !important;
}

.bh-home-products-section .col-inner > .button.bh-view-all,
.button.bh-view-all {
  float: right;
  margin-top: 18px;
  margin-right: 4px;
  color: #327246 !important;
  font-size: 16px;
  font-weight: 800;
  text-transform: none;
}

/* Single product styling */
.single-product.bh-enhanced-ui .product-main {
  background: #fff;
  padding-top: 36px;
  padding-bottom: 44px;
}

.single-product.bh-enhanced-ui .product-main .row.content-row,
.single-product.bh-enhanced-ui .product-main .row {
  max-width: 1110px;
}

.single-product.bh-enhanced-ui .product-gallery,
.single-product.bh-enhanced-ui .product-images,
.single-product.bh-enhanced-ui .product-thumbnails {
  text-align: center;
}

.single-product.bh-enhanced-ui .product-info .product-title,
.single-product.bh-enhanced-ui .summary .product_title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: #222;
  margin-bottom: 8px;
}

.bh-single-meta-block { margin: 8px 0 12px; }
.bh-single-badges { justify-content: flex-start; margin-bottom: 9px; }
.bh-single-batch { min-height: 0; justify-content: flex-start; margin: 0; font-size: 13px; }

.bh-single-short-intro {
  margin: 13px 0 10px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}
.bh-single-short-intro p:last-child { margin-bottom: 0; }

.bh-single-info-card {
  width: 100%;
  max-width: 520px;
  margin: 14px 0 22px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 9px;
  box-shadow: 0 4px 16px rgba(0,0,0,.09);
  padding: 16px 18px;
}

.bh-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 13px;
}
.bh-info-row:last-child { margin-bottom: 0; }
.bh-info-icon {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: #edf4ef;
  position: relative;
}
.bh-info-icon:after {
  content: '';
  position: absolute;
  left: 8px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4e9369;
}
.bh-info-content strong {
  display: block;
  color: #222;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}
.bh-info-content em {
  display: block;
  color: #555;
  font-size: 13px;
  line-height: 1.4;
  font-style: normal;
}

.bh-single-purchase-panel { margin-top: 18px; }
.bh-single-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
  padding: 14px 0;
  margin: 12px 0 16px;
}
.bh-single-price-label { color: #222; font-weight: 700; }
.bh-single-main-price,
.bh-single-main-price .amount,
.bh-single-main-price ins .amount {
  color: #222;
  font-size: 17px;
  font-weight: 800;
}
.bh-single-main-price del { opacity: .8; margin-right: 8px; }
.bh-single-order-notice {
  color: #2eaf30;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}

.single-product .variations_form.bh-enhanced-variation-form table.variations { display: none !important; }
.bh-single-variation-picker { margin: 4px 0 20px; }
.bh-selected-weight { margin-bottom: 11px; color: #222; font-size: 14px; font-weight: 600; }
.bh-selected-weight strong { font-weight: 900; }
.bh-single-variation-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
}
.bh-single-variation-chip {
  width: 64px;
  min-height: 88px;
  border: 0;
  background: transparent;
  color: #222;
  padding: 0;
  text-align: center;
  cursor: pointer;
}
.bh-single-chip-circle {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  border-radius: 999px;
  border: 1px solid #d5d5d5;
  background: #fff;
  color: #333;
  font-size: 13px;
  transition: all .18s ease;
}
.bh-single-variation-chip:hover .bh-single-chip-circle,
.bh-single-variation-chip.is-active .bh-single-chip-circle {
  border-color: #4e9369;
  background: #4e9369;
  color: #fff;
  box-shadow: 0 5px 14px rgba(78,147,105,.22);
}
.bh-single-chip-price,
.bh-single-chip-ppg {
  display: block;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}
.bh-single-chip-ppg { font-weight: 600; }

.single-product .single_add_to_cart_button.button,
.single-product .single_add_to_cart_button.button.alt {
  min-height: 48px;
  min-width: 300px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-radius: 999px !important;
  background: #4e9369 !important;
  border-color: #4e9369 !important;
  color: #fff !important;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.single-product .single_add_to_cart_button .bh-add-price {
  min-width: 86px;
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.55);
  text-align: right;
}
.single-product .quantity input[type="number"] { border-radius: 999px; }
.single-product .woocommerce-variation-price { display: none !important; }
.single-product .product_meta { display: none !important; }

/* Cart / checkout / account quick polish */
.woocommerce-cart .shop_table,
.woocommerce-checkout-review-order-table,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.cart-collaterals .cart_totals,
.checkout_coupon,
.woocommerce-checkout #order_review {
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.045);
  overflow: hidden;
}
.woocommerce-cart .button,
.woocommerce-checkout .button,
.woocommerce-account .button {
  border-radius: 999px !important;
  background: #4e9369 !important;
  border-color: #4e9369 !important;
  color: #fff !important;
  font-weight: 800;
}
.woocommerce-cart .button:hover,
.woocommerce-checkout .button:hover,
.woocommerce-account .button:hover {
  background: #347a50 !important;
  border-color: #347a50 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 10px; }
.woocommerce-account .woocommerce-MyAccount-navigation li { list-style: none; margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: #222;
  font-weight: 700;
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: #edf6f0;
  color: #347a50;
}
.woocommerce-account .woocommerce-MyAccount-content { padding: 22px; }

/* UX Builder homepage helper styling */
.bh-home-hero-section .bh-hero-slide h1 {
  color: #fff;
  font-size: clamp(42px, 5vw, 82px);
  line-height: .95;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.04em;
  margin-bottom: 18px;
}
.bh-home-hero-section .bh-hero-slide h1 span { color: #83d33e; }
.bh-home-hero-section .bh-hero-slide p { max-width: 560px; color: rgba(255,255,255,.88); font-size: 18px; }
.bh-trust-strip .featured-box,
.bh-why-choose .featured-box { height: 100%; }
.bh-category-grid-section h2,
.bh-home-products-section h2,
.bh-why-choose h2,
.bh-blog-section h2 {
  color: #202020;
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  text-align: center;
}
.bh-category-tile { border-radius: 4px; overflow: hidden; }
.bh-category-tile h3 { color: #9a6b12; font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.bh-member-banner h2,
.bh-flash-deals-banner h2 { color: #fff; font-size: clamp(32px, 4vw, 58px); font-weight: 900; text-transform: uppercase; margin-bottom: 4px; }
.bh-member-banner h3 { color: #ffd860; font-size: clamp(24px, 3vw, 46px); font-weight: 900; text-transform: uppercase; }
.bh-flash-deals-banner p { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 1199px) {
  .productwidgetsectiontouse.row,
  .productwidgetsectiontouse .row,
  .productwidgetsectiontouse.products,
  .productwidgetsectiontouse .products,
  ul.products.productwidgetsectiontouse { gap: 20px !important; }
  .bh-product-title { font-size: 17px; }
  .bh-meta-pill { font-size: 10px; padding-left: 7px; padding-right: 7px; }
}

@media (max-width: 849px) {
  .productwidgetsectiontouse.row,
  .productwidgetsectiontouse .row,
  .productwidgetsectiontouse.products,
  .productwidgetsectiontouse .products,
  ul.products.productwidgetsectiontouse { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px !important; }
  .bh-product-card { min-height: 535px; }
  .bh-product-image-link { height: 205px; padding: 16px 14px 0; }
  .bh-product-card-body { padding-left: 14px; padding-right: 14px; }
  .bh-product-title { font-size: 16px; min-height: 42px; max-height: 44px; }
  .bh-meta-pill { font-size: 10px; min-height: 24px; padding: 6px 7px; }
  .bh-card-bottom { gap: 9px; }
  .bh-card-price-html,
  .bh-card-price-html .amount,
  .bh-card-price-html ins .amount { font-size: 18px; }
  .bh-card-ppg { font-size: 14px; }
  .bh-card-tax-note { font-size: 11px; }
  .bh-product-button.button { min-height: 44px; font-size: 12px; letter-spacing: .035em; }
  .bh-single-info-card { max-width: none; }
}

@media (max-width: 549px) {
  .productwidgetsectiontouse.row,
  .productwidgetsectiontouse .row,
  .productwidgetsectiontouse.products,
  .productwidgetsectiontouse .products,
  ul.products.productwidgetsectiontouse { grid-template-columns: 1fr; }
  .woocommerce .products li.product.bh-product-loop-item,
  .bh-product-loop-item { margin-bottom: 20px; }
  .bh-product-card { min-height: auto; }
  .bh-product-image-link { height: 230px; }
  .bh-flavor-badge { min-width: 92px; font-size: 10px; padding: 3px 9px; }
  .bh-variation-chip { width: 42px; height: 42px; font-size: 12px; }
  .bh-card-bottom { grid-template-columns: 1fr 1px 1fr; gap: 9px; }
  .single-product .single_add_to_cart_button.button { width: 100%; min-width: 0; }
}

/* Four-card homepage look when the normal UX Products widget is used. */
.productwidgetsectiontouse .bh-product-card {
  max-width: 100%;
}

.productwidgetsectiontouse .bh-product-title {
  font-size: 18px;
}

.productwidgetsectiontouse .bh-card-meta-badges {
  flex-wrap: wrap;
}

@media (min-width: 850px) {
  .productwidgetsectiontouse .product-small.bh-product-loop-item.large-3 {
    flex-basis: 25% !important;
    max-width: 25% !important;
  }
}

@media (max-width: 849px) {
  .productwidgetsectiontouse .product-small.bh-product-loop-item {
    flex-basis: 50% !important;
    max-width: 50% !important;
  }
}

@media (max-width: 549px) {
  .productwidgetsectiontouse .product-small.bh-product-loop-item {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}
