/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
}

.woocommerce ul.products li.product a img {
  margin: 0 0 0.5em;
}

/* CART PAGE */

/*Reduce side padding*/

.eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 .eael-cart-coupon-and-collaterals .cart-collaterals {
  padding-left: 2em;
  padding-right: 2em;
}

@media (max-width: 767px) {
  /*Positioning for remove product button*/

  .eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 form.eael-woo-cart-form .eael-woo-cart-table .eael-woo-cart-tr .product-thumbnail .eael-woo-cart-product-remove a {
    left: -2px;
    top: -2px;
  }

  /* Positioning for border of remove product button*/

  .eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 form.eael-woo-cart-form .eael-woo-cart-table .eael-woo-cart-tr .eael-woo-cart-tr-left .eael-woo-cart-td.product-thumbnail .eael-woo-cart-product-remove,
  .eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 form.eael-woo-cart-form .eael-woo-cart-table .eael-woo-cart-tr .eael-woo-cart-tr-right .eael-woo-cart-td.product-thumbnail .eael-woo-cart-product-remove {
    right: 8px;
    top: 4px;
    border: none;
  }

  /* Align product thumbnail and title in same row */

  .eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 form.eael-woo-cart-form .eael-woo-cart-table .eael-woo-cart-tr .eael-woo-cart-tr-left {
    display: flex;
  }

  /* Resize product thumbnail */

  .eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 form.eael-woo-cart-form .eael-woo-cart-table .eael-woo-cart-tr .eael-woo-cart-tr-left .eael-woo-cart-td.product-thumbnail,
  .eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 form.eael-woo-cart-form .eael-woo-cart-table .eael-woo-cart-tr .eael-woo-cart-tr-right .eael-woo-cart-td.product-thumbnail {
    width: 200px;
    height: auto;
    margin: 0 1em 0 0;
  }

  /* Add top padding to make room for back button*/

  .eael-woo-cart .eael-woo-cart-tbody {
    padding-top: 2rem;
  }

  /* Set quantity and subtotal in same line*/

  .eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 form.eael-woo-cart-form .eael-woo-cart-table .eael-woo-cart-tr .eael-woo-cart-tr-right {
    display: flex;
  }

  /* Align subtotal text */

  .eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 form.eael-woo-cart-form .eael-woo-cart-table .eael-woo-cart-tr .eael-woo-cart-tr-right .eael-woo-cart-td.product-subtotal {
    padding-left: 100px;
    text-align: right;
  }

  /*Reduce side padding*/

  .eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 .eael-cart-coupon-and-collaterals .cart-collaterals {
    padding-left: 1em;
    padding-right: 1em;
  }
}

@media (min-width: 768px) {
  /* Add right padding to product title */

  .eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 form.eael-woo-cart-form .eael-woo-cart-table .eael-woo-cart-tbody .eael-woo-cart-tr .eael-woo-cart-tr-left {
    padding-right: 1em;
  }

  /* Add right padding to coupon field */

  .eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 .eael-cart-coupon-and-collaterals .eael-cart-coupon-wrapper {
    padding-right: 20px;
  }
}

/* Add additional bottom padding */

.eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 .eael-cart-coupon-and-collaterals .cart-collaterals .cart_totals,
.eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 .eael-cart-clear-btn .cart-collaterals .cart_totals {
  padding-bottom: 3em;
}

/* Set border for buttons */

.eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 .eael-cart-coupon-and-collaterals .button,
selector .eael-woo-cart-wrapper .eael-cart-coupon-and-collaterals .cart-collaterals .cart_totals .wc-proceed-to-checkout .button {
  border-style: solid;
  border-width: 1px;
  border-color: #47276D;
}

.eael-woo-cart .woocommerce-info {
  margin-top: 3em;
}

/* CHECKOUT PAGE */

.woocommerce .woocommerce-checkout #payment .place-order {
  padding-top: 2rem;
}

/* Ebook link buttons */

a.wpcme-url.wpcme-btn.single_add_to_cart_button.button.alt {
  background-color: var(--e-global-color-e7834ff);
  border-color: var(--e-global-color-e7834ff);
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-radius: 8px 8px 8px 8px;
  padding: 15px 50px 15px 50px;
  /*font-family: "Fira Sans Extra Condensed", sans-serif;*/
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin: 0 15px 15px 0;
}

@media (max-width: 1024px) {
  a.wpcme-url.wpcme-btn.single_add_to_cart_button.button.alt {
    font-size: 14px;
  }
}

/* Cart button theming */

.elementor-1727 .elementor-element.elementor-element-9a6f559 .cart button,
.elementor-1727 .elementor-element.elementor-element-9a6f559 .cart .button {
  /*font-family: "Fira Sans Extra Condensed", sans-serif;*/
  font-family: "Barlow", sans-serif;
}

/* Hide "View cart" button that appears after pressing add to cart, breaking UI layout */

a.added_to_cart.wc-forward {
  display: none !important;
}

/* -----------------------------------------
   Product variation swatch theming
------------------------------------------ */

span.wpcvs-term.wpcvs-tippy-tooltip.tippy--top {
  background-color: #efefef;
  height: auto;
  border-radius: 8px;
}

table.variations.wpcvs-initialized tbody tr {
  display: block !important;
  margin-bottom: 1.2em !important;
}

table.variations.wpcvs-initialized th.label,
table.variations.wpcvs-initialized td {
  display: block !important;
  width: 100%;
  background: transparent;
  text-align: left;
}

/* SELECTED STATE (applies to both types) */

.wpcvs-terms .wpcvs-term.wpcvs-selected {
  border-width: 1.5px !important;
  box-shadow: rgba(99, 99, 99, 0.3) 0px 0px 3px 2px;
}

/* Remove default checkmark marker */

.wpcvs-terms .wpcvs-term.wpcvs-selected .wpcvs-term-inner:before {
  display: none !important;
}

.wpcvs-term-inner {
  padding: 0px;
  font-size: 1.1em;
  height: auto !important;
  min-height: 34px;
  border-radius: 8px;
}

/* IMAGE VARIATIONS (.wpcvs-type-image) → no padding */

.wpcvs-terms.wpcvs-type-image .wpcvs-term-inner {
  padding: 0px;
}

/* TEXT VARIATIONS (.wpcvs-type-button) → auto width, independent from image styles */

.wpcvs-terms.wpcvs-type-button .wpcvs-term {
  width: auto !important;
  height: auto;
  padding: 0;
  border-radius: 8px;
}

.wpcvs-terms.wpcvs-type-button .wpcvs-term .wpcvs-term-inner {
  padding: 8px 12px;
  border-radius: 8px;
  min-height: 34px;
  font-size: 1.1em;
}

/* IMAGE VARIATIONS (.wpcvs-type-image) → fixed size, round edges, non-clipping border */

.wpcvs-terms.wpcvs-type-image .wpcvs-term {
  width: 60px;
  /* base square size */
  height: 60px;
  padding: 0;
  border-radius: 10px;
  overflow: visible;
  /* avoid border clipping */
}

.wpcvs-terms.wpcvs-type-image .wpcvs-term {
  width: 60px;
  height: 60px;
  background-color: #efefef;
  border-radius: 8px;
}

.wpcvs-terms.wpcvs-type-image .wpcvs-term-inner {
  border-radius: 20px;
  padding: 0px;
}

.wpcvs-terms.wpcvs-type-image .wpcvs-term-image {
  flex: 0 0 60px;
}

.wpcvs-terms.wpcvs-type-image .wpcvs-term-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.wpcvs-terms.wpcvs-type-image .wpcvs-term .wpcvs-term-image {
  flex: 0 0 60px;
}

.wpcvs-terms.wpcvs-type-image .wpcvs-term .wpcvs-term-image img {
  border-radius: 8px;
}

/* FIX: enlarge selected image slightly for border */

.wpcvs-terms.wpcvs-type-image .wpcvs-term.wpcvs-selected {
  width: 63px;
  /* 60px + border space */
  height: 63px;
}

/* -----------------------------------------
   Product Page WooCommerce Image Zoom
------------------------------------------ */

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .zoomImg {
  display: none !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img {
  pointer-events: auto !important;
}

/* -----------------------------------------
   Product Page On Sale banner
------------------------------------------ */

.woocommerce .elementor-widget-woocommerce-product-images .onsale {
  border-radius: 4px !important;
  padding: 0em 0.5em !important;
  background-color: #467FF7 !important;
}

/* -----------------------------------------
   Product variation selection
------------------------------------------ */

.wpcvs-selected-value {
	font-weight: 400;	
}


/* -----------------------------------------
   Product added to cart notice
------------------------------------------ */
.e-woocommerce-notices-wrapper {
	display: none;
}


/* -----------------------------------------
   Hide price in composite products
------------------------------------------ */
.dd-desc .woocommerce-Price-amount {
    display: none;
}


/* -----------------------------------------
   Style blockquotes
------------------------------------------ */
blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 1em 1.8em 1em 3em; /* extra left space */
  position: relative;
  font-style: italic;
}

blockquote:before {
  content: "“";
  font-size: 4em;
  color: #ccc;
  position: absolute;
  left: 10px;
  top: -10px;
}

blockquote:after {
  content: "”";
  font-size: 4em;
  color: #ccc;
  position: absolute;
  right: 10px;
  bottom: -30px;
}

blockquote p {
  margin: 0;
}

blockquote:before,
blockquote:after {
  font-family: "Georgia", serif;
}

/* -----------------------------------------
   Theming for product quantity fields
------------------------------------------ */
/* =====================================================
   Quantity field:  -  1  +   (Single Product)
   ===================================================== */

/* Base layout */
.single-product form.cart .quantity {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
}

/* - / + buttons */
.single-product form.cart .qty-btn {
  min-width: 36px;
  padding: 0 10px !important;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: #d5d1d5 !important;
  color: #000 !important;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

/* Quantity input */
.single-product form.cart .quantity input.qty {
  width: 60px;
  margin: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  text-align: center;
  font-size: 16px;
  -moz-appearance: textfield;
}

/* Equal height */
.single-product form.cart .qty-btn,
.single-product form.cart .quantity input.qty {
  height: 46px;
}

/* Hover / active states */
.single-product form.cart .qty-btn:hover,
.single-product form.cart .qty-btn:active {
  background-color: #47276D !important;
  color: #FFFFFF !important;
}

/* Remove stuck hover on mobile */
@media (hover: none) {
  .single-product form.cart .qty-btn:hover {
    background-color: #d5d1d5 !important;
    color: #000 !important;
  }
}

/* Hide number spinners */
/* Chrome, Safari, Edge */
.single-product form.cart input.qty::-webkit-outer-spin-button,
.single-product form.cart input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.single-product form.cart input.qty {
  -moz-appearance: textfield;
}

.single-product form.cart button.qty-btn.qty-plus {
	margin-right: 20px;
}

.woocommerce-variation-add-to-cart .quantity .input-text:focus, .elementor-product-composite .cart .quantity .input-text:focus {
    outline: none;
}

/* =====================================================
   Mobile layout (Full-width quantity + button stacking)
   ===================================================== */
@media (max-width: 480px) {

  /* Main add-to-cart wrapper */
  .woocommerce-variation-add-to-cart, .elementor-add-to-cart.elementor-product-composite .cart {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* Quantity row */
  .woocommerce-variation-add-to-cart .quantity, .elementor-add-to-cart.elementor-product-composite .cart .quantity {
    width: 100%;
    display: flex;
    align-items: center;
		margin-bottom: 10px !important;
  }

  /* Minus / plus buttons */
  .woocommerce-variation-add-to-cart .quantity .qty-btn, .elementor-add-to-cart.elementor-product-composite .cart .quantity .qty-btn {
    flex: 0 0 48px;
    height: 44px;
    font-size: 20px;
  }

  /* Quantity input expands to fill */
  .woocommerce-variation-add-to-cart .quantity input.qty, .elementor-add-to-cart.elementor-product-composite .cart .quantity input.qty {
    flex: 1;
    width: 100%;
    height: 44px;
    text-align: center;
    font-size: 18px;
  }

  /* Add to cart button on its own row */
  .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    width: 100%;
    display: block;
  }	
	
		/* Remove desktop margin */
	.single-product form.cart button.qty-btn.qty-plus {
		margin-right: 0px;
	}
		
	/* =====================================================
	   Mobile layout – Composite Products (WP Clever)
  	 ===================================================== */

		
}