/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.9
	Stable tag: 3.4.9
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/

/* WooCommerce: square product images with hover zoom */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.woocommerce ul.products li.product a,
.woocommerce-page ul.products li.product a {
	overflow: hidden;
}

.woocommerce ul.products li.product a:hover img,
.woocommerce-page ul.products li.product a:hover img {
	transform: scale(1.06);
}

/* Sophia product template: remove the Cruelty Free benefit/icon globally */
.sophia-benefit-grid .sophia-benefit:nth-child(3) {
	display: none !important;
}

.sophia-benefit-grid {
	grid-template-columns: repeat(4, 1fr) !important;
}

/* WooCommerce single product: hover zoom */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
	overflow: hidden;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce-page div.product div.images .woocommerce-product-gallery__image img {
	transition: transform 0.35s ease !important;
	transform-origin: center center;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:hover img,
.woocommerce-page div.product div.images .woocommerce-product-gallery__image:hover img {
	transform: scale(1.12) !important;
}


/* Sophia homepage: Customers Favourites product cards */
.home .elementor-element-1fc44dc > .e-con-inner {
  width: min(100% - 32px, 1600px);
  max-width: 1600px;
  margin-inline: auto;
}

.home .elementor-element-4de40af ul.products {
  align-items: stretch;
  gap: 18px;
}

.home .elementor-element-4de40af ul.products li.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 12px 12px 14px;
  margin: 0;
  background: #fff;
  border: 1px solid #f4dce3;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(88, 45, 58, .08);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.home .elementor-element-4de40af ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: #edb8c6;
  box-shadow: 0 12px 28px rgba(88, 45, 58, .14);
}

.home .elementor-element-4de40af ul.products li.product > a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  overflow: visible;
}

.home .elementor-element-4de40af ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 8px;
  margin: 0 0 12px;
  background: #fff;
  border-radius: 10px;
}

.home .elementor-element-4de40af ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 8px;
  padding: 0;
  overflow: hidden;
  color: #241b1e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home .elementor-element-4de40af ul.products li.product .price {
  display: block;
  margin: auto 0 12px;
  color: #bf617a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.home .elementor-element-4de40af ul.products li.product .button {
  width: 100%;
  margin: 0;
  padding: 11px 10px;
  color: #fff;
  background: #d97791;
  border: 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.home .elementor-element-4de40af ul.products li.product .button:hover {
  color: #fff;
  background: #bd5f78;
}

@media (max-width: 767px) {
  .home .elementor-element-1fc44dc > .e-con-inner {
    width: min(100% - 20px, 1600px);
  }
  .home .elementor-element-4de40af ul.products {
    gap: 12px;
  }
  .home .elementor-element-4de40af ul.products li.product {
    padding: 9px 9px 11px;
    border-radius: 11px;
  }
  .home .elementor-element-4de40af ul.products li.product .woocommerce-loop-product__title {
    min-height: 40px;
    font-size: 12px;
  }
  .home .elementor-element-4de40af ul.products li.product .price {
    font-size: 14px;
  }
}


/* Sophia homepage: Just In product cards */
.home .elementor-element-52d1fab {
  width: min(100% - 32px, 1600px);
  max-width: 1600px;
  margin-inline: auto;
}

.home .elementor-element-73be932 ul.products {
  align-items: stretch;
  gap: 18px;
}

.home .elementor-element-73be932 ul.products li.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 12px 12px 14px;
  margin: 0;
  background: #fff;
  border: 1px solid #f4dce3;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(88, 45, 58, .08);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.home .elementor-element-73be932 ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: #edb8c6;
  box-shadow: 0 12px 28px rgba(88, 45, 58, .14);
}

.home .elementor-element-73be932 ul.products li.product > a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  overflow: visible;
}

.home .elementor-element-73be932 ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 8px;
  margin: 0 0 12px;
  background: #fff;
  border-radius: 10px;
}

.home .elementor-element-73be932 ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
  min-height: 44px;
  margin: 0 0 8px;
  padding: 0;
  overflow: hidden;
  color: #241b1e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home .elementor-element-73be932 ul.products li.product .price {
  display: block;
  margin: auto 0 12px;
  color: #bf617a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.home .elementor-element-73be932 ul.products li.product .button {
  width: 100%;
  margin: 0;
  padding: 11px 10px;
  color: #fff;
  background: #d97791;
  border: 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.home .elementor-element-73be932 ul.products li.product .button:hover {
  color: #fff;
  background: #bd5f78;
}

@media (max-width: 767px) {
  .home .elementor-element-52d1fab {
    width: min(100% - 20px, 1600px);
  }
  .home .elementor-element-73be932 ul.products {
    gap: 12px;
  }
  .home .elementor-element-73be932 ul.products li.product {
    padding: 9px 9px 11px;
    border-radius: 11px;
  }
  .home .elementor-element-73be932 ul.products li.product .woocommerce-loop-product__title {
    min-height: 40px;
    font-size: 12px;
  }
  .home .elementor-element-73be932 ul.products li.product .price {
    font-size: 14px;
  }
}

/* Sophia GLOBAL product cards: 5px image inset + larger square image */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.elementor-widget-woocommerce-products ul.products li.product,
.elementor-widget-wc-archive-products ul.products li.product {
  box-sizing: border-box;
  padding: 5px 5px 14px !important;
}

.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product > a.woocommerce-LoopProduct-link,
.elementor-widget-woocommerce-products ul.products li.product > a.woocommerce-LoopProduct-link,
.elementor-widget-wc-archive-products ul.products li.product > a.woocommerce-LoopProduct-link {
  overflow: visible;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img,
.elementor-widget-woocommerce-products ul.products li.product a img,
.elementor-widget-wc-archive-products ul.products li.product a img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}
