/*
Theme Name: Ecomus Child
Theme URI: https://wpecomus.com/
Author: DrFuri
Author URI: http://drfuri.com/
Description: Multipurpose WooCommerce WordPress Theme
Version: 1.0.0
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 7.0
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecomus
Domain Path: /lang/
Tags: one-column, two-columns, left-sidebar, right-sidebar, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
Template: ecomus
*/

.single-product #radio_4745852905,
.single-product #radio_9727768639 {
  margin: 0 0 15px;
  padding: 0;
  font-family: "Albert Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}

.single-product #radio_4745852905 > .wcpa_field_label,
.single-product #radio_9727768639 > .wcpa_field_label {
  margin: 0 0 12px;
  padding: 0;
  color: var(--em-heading-color);
  font: inherit;
}

.single-product #radio_4745852905 .wcpa_field,
.single-product #radio_9727768639 .wcpa_field {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.single-product #radio_4745852905 .wcpa_radio > label,
.single-product #radio_9727768639 .wcpa_radio > label {
  box-sizing: border-box;
  min-height: 45px;
  margin: 0;
  padding: 13px 18px;
  border: 1px solid var(--em-border-color);
  border-radius: 5px;
  background: var(--em-input-bg-color);
  color: var(--em-color__base);
  font: inherit;
  line-height: normal;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.single-product #radio_4745852905 .wcpa_radio > label:hover,
.single-product #radio_9727768639 .wcpa_radio > label:hover {
  border-color: var(--em-input-border-color-hover);
}

.single-product #radio_4745852905 .wcpa_radio.wcpa_selected > label,
.single-product #radio_9727768639 .wcpa_radio.wcpa_selected > label {
  border-color: var(--em-input-border-color-hover);
  background: var(--em-input-bg-color);
  color: var(--em-heading-color);
}

.single-product #radio_4745852905 .wcpa_radio > label:has(input:focus-visible),
.single-product #radio_9727768639 .wcpa_radio > label:has(input:focus-visible) {
  outline: 2px solid var(--em-input-border-color-hover);
  outline-offset: 2px;
}

.single-product #radio_4745852905 .wcpa_option_price,
.single-product #radio_9727768639 .wcpa_option_price {
  margin-left: 4px;
  font: inherit;
}
.single-product #image_6200181200 input:checked + .wcpa_img_wrap {
  outline: 1px solid var(--em-input-border-color-hover) !important;
  outline-offset: 0;
  border-radius: 5px;
}

/* Keep the product price visible, but remove it from the main Add to cart CTA. */
.single-product form.cart > .ecomus-product-atc-group > .single_add_to_cart_button > .price,
.single-product form.cart > .ecomus-product-atc-group > .single_add_to_cart_button > .divide {
  display: none;
}

/* Hide breadcrumb navigation, not page-header titles, on small screens. */
@media (max-width: 767px) {
  .site-breadcrumb,
  .woocommerce-breadcrumb.site-breadcrumb,
  .single-product .ecomus-breadcrumb-navigation-wrapper,
  .single-product div.product .meta-cat {
    display: none !important;
  }
}

/* Desktop */
.single-product div.product .ecomus-product-atc-group {
    flex-wrap: wrap;
}

.single-product div.product
.ecomus-product-atc-group
.single_add_to_cart_button {
    width: auto !important;
    flex: 1 1 0 !important;
}

/* PayPal button */
.ppc-button-wrapper {
    margin-top: 5px;
}

/* Mobile */
@media (max-width: 767px) {
    .single-product div.product
    .ecomus-product-atc-group
    .single_add_to_cart_button {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
}

@media (max-width: 767px) {
    /* Quantity chiếm toàn bộ chiều rộng */
    .single-product div.product .em-product-quantity {
        width: 100%;
        flex: 0 0 100%;
    }

    .single-product div.product .em-product-quantity .quantity {
        display: flex;
        width: 100%;
    }

    .single-product div.product .em-product-quantity .quantity .qty {
        flex: 1;
        width: 100%;
        min-width: 0;
    }

    /* Add to cart chiếm toàn bộ chiều rộng */
    .single-product div.product
    .ecomus-product-atc-group
    .single_add_to_cart_button {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
}
/* quick view - hide price in atc */
#quick-view-modal .single_add_to_cart_button .divide,
#quick-view-modal .single_add_to_cart_button .price {
    display: none !important;
}

/* Quick View has a direct quantity child, unlike the wrapped single-product control. */
#quick-view-modal.single-product .product.product-quickview form.cart > .quantity {
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    flex: 0 0 100% !important;
}

#quick-view-modal.single-product .product.product-quickview form.cart > .quantity .qty {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
}

#quick-view-modal.single-product .product.product-quickview form.cart > .quantity > .ecomus-qty-button {
    flex: 0 0 38px !important;
}


/*Fix popup newsletters*/
/* ===== Popup 15% (ecomus_popup_4719) — Desktop + Mobile ===== */
#ecomus_popup_4719 .ecomus-popup__content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
}
#ecomus_popup_4719 .ecomus-popup__wrapper {
  position: relative !important;
  width: min(calc(100vw - 48px), 520px) !important;
  max-height: calc(100dvh - 48px) !important;
  overflow-y: auto !important;
  background: var(--em-color__light) !important;
  border-radius: var(--em-modal-content-border-radius) !important;
  box-shadow: var(--wp--preset--shadow--natural) !important;
}
/* Chỉ giữ nút close bên trong */
#ecomus_popup_4719 .modal__button-close.outside { display: none !important; }
#ecomus_popup_4719 .modal__button-close.inside {
  display: flex !important;
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 3;
  color: var(--em-heading-color) !important;
  background: var(--em-color__light) !important;
  border: 1px solid var(--em-border-color) !important;
  border-radius: var(--em-rounded-full) !important;
}
#ecomus_popup_4719 .modal__content { padding: 36px !important; }

/* Nội dung Elementor */
#ecomus_popup_4719 .elementor-element-453bcbbb,
#ecomus_popup_4719 .elementor-element-453bcbbb > .e-con-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#ecomus_popup_4719 .elementor-element-649f44ac h4 {
  justify-content: center !important;
  padding: 0 48px 0 0 !important; /* chừa chỗ nút close */
  color: var(--em-heading-color) !important;
  font-size: clamp(22px, 3vw, 28px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  text-align: center !important;
}
#ecomus_popup_4719 .elementor-element-649f44ac .elementor-widget-container { margin: 0 0 10px !important; }
#ecomus_popup_4719 .elementor-element-7d1e2b8f p {
  justify-content: center !important;
  margin: 0 !important;
  color: var(--em-color__base) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  text-align: center !important;
}
#ecomus_popup_4719 .elementor-element-7d1e2b8f .elementor-widget-container { margin: 0 0 22px !important; }

/* Form CF7 */
#ecomus_popup_4719 .ecomus-subscribe-box form > p {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px !important;
  margin: 0 !important;
}
#ecomus_popup_4719 .ecomus-subscribe-box input[type="email"] {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: var(--em-input-padding-y) var(--em-input-padding-x) !important;
  color: var(--em-input-color) !important;
  background: var(--em-input-bg-color) !important;
  border: var(--em-input-border-width) solid var(--em-input-border-color) !important;
  border-radius: var(--em-input-rounded) !important;
}
#ecomus_popup_4719 .ecomus-subscribe-box input[type="submit"] {
  width: auto !important;
  min-height: 48px !important;
  margin: 0 !important;
  color: var(--em-button-color) !important;
  background: var(--em-button-bg-color) !important;
  border-color: var(--em-button-border-color) !important;
  border-radius: var(--em-button-rounded) !important;
}
#ecomus_popup_4719 .ecomus-subscribe-box .wpcf7-spinner { position: absolute !important; }

/* Dòng đồng ý nhận email */
#ecomus_popup_4719 .elementor-element-5041b05 .elementor-widget-container { margin: 18px 0 0 !important; }
#ecomus_popup_4719 .elementor-element-5041b05 p {
  justify-content: center !important;
  margin: 0 !important;
  color: var(--em-color__base) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

/* Focus rõ ràng cho accessibility */
#ecomus_popup_4719 :is(.modal__button-close, input):focus-visible {
  outline: 2px solid var(--em-button-bg-color) !important;
  outline-offset: 2px !important;
}

/* ===== Mobile (≤767px) ===== */
@media (max-width: 767px) {
  #ecomus_popup_4719 .ecomus-popup__content {
    padding: 12px !important;
    padding-bottom: max(12px, env(safe-area-inset-bottom)) !important;
  }
  #ecomus_popup_4719 .ecomus-popup__wrapper {
    width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
  }
  #ecomus_popup_4719 .modal__content { padding: 28px 20px 22px !important; }
  #ecomus_popup_4719 .modal__button-close.inside { top: 10px !important; right: 10px !important; }
  #ecomus_popup_4719 .elementor-element-649f44ac h4 {
    padding: 0 40px 0 0 !important;
    font-size: 22px !important;
  }
  #ecomus_popup_4719 .elementor-element-7d1e2b8f p { font-size: 14px !important; }
  #ecomus_popup_4719 .ecomus-subscribe-box form > p { grid-template-columns: 1fr !important; gap: 10px !important; }
  #ecomus_popup_4719 .ecomus-subscribe-box input[type="submit"] { width: 100% !important; }
}

/*fix css shop-checkout page*/
/* ===== Order Review (Checkout) — đồng bộ theme tokens ===== */
/* Tiêu đề tip */
#order_review .wpslash-tip-title {
  color: var(--em-heading-color) !important;
  background: transparent !important;
  -webkit-text-fill-color: var(--em-heading-color) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  margin: 0 0 10px !important;
}

/* Tip buttons */
#order_review .wpslash-percentage-tip-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
}
#order_review a.wpslash-tip-percentage-btn,
#order_review a.wpslash-tip-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  background-color: var(--em-button-bg-color) !important;
  color: var(--em-button-color) !important;
  -webkit-text-fill-color: var(--em-button-color) !important;
  border: 1px solid var(--em-button-border-color) !important;
  border-radius: var(--em-button-rounded) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: opacity .2s ease !important;
}
#order_review a.wpslash-tip-percentage-btn:hover,
#order_review a.wpslash-tip-submit:hover { opacity: .85 !important; }

/* Form Custom Tip */
#order_review .wpslash-tipping-form-wrapper {
  display: flex !important;
  gap: 8px !important;
  margin: 10px 0 0 !important;
}
#order_review .wpslash-tip-input {
  width: 120px !important;
  min-height: 40px !important;
  padding: var(--em-input-padding-y) var(--em-input-padding-x) !important;
  color: var(--em-heading-color) !important;
  background: var(--em-input-bg-color) !important;
  border: 1px solid var(--em-input-border-color) !important;
  border-radius: var(--em-input-rounded) !important;
}

/* Header bảng */
#order_review .woocommerce-checkout-review-order-table thead th {
  border-bottom: 1px solid var(--em-border-color) !important;
  color: var(--em-heading-color) !important;
}

/* Sản phẩm trong order */
#order_review .checkout-review-product-name {
  font-weight: 600 !important;
  color: var(--em-heading-color) !important;
}
#order_review .checkout-review-product-price {
  color: var(--em-color__base) !important;
  font-weight: 500 !important;
}

/* Metadata addon (wcpa) — canh trái, gọn */
#order_review .wcpa_cart_meta {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  row-gap: 3px !important;
}
#order_review .wcpa_cart_meta_item {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin: 0 !important;
}
#order_review .wcpa_cart_meta_item-label {
  font-weight: 600 !important;
  color: var(--em-heading-color) !important;
  margin: 0 !important;
}
#order_review .wcpa_cart_meta_item-value { color: var(--em-color__base) !important; }
#order_review .wcpa_cart_meta_item-value p { margin: 0 !important; }

/* Discount / coupon — đỏ sale */
#order_review .cart-discount th,
#order_review .cart-discount td { color: var(--em-color-price-sale) !important; }
#order_review .cart-discount .amount {
  color: var(--em-color-price-sale) !important;
  font-weight: 600 !important;
}
#order_review .woocommerce-remove-coupon {
  color: var(--em-color__base) !important;
  font-size: 13px !important;
  text-decoration: underline !important;
  margin-left: 4px !important;
}

/* Total — nổi bật */
#order_review .order-total th,
#order_review .order-total td {
  border-top: 1px solid var(--em-border-color) !important;
  padding-top: 14px !important;
}
#order_review .order-total th {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--em-heading-color) !important;
}
#order_review .order-total .amount {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--em-color-price-sale) !important;
}

/* ===== Mobile (≤767px) ===== */
@media (max-width: 767px) {
  #order_review .wpslash-percentage-tip-buttons { gap: 8px !important; }
  #order_review a.wpslash-tip-percentage-btn,
  #order_review a.wpslash-tip-submit {
    flex: 1 1 45% !important;
    padding: 0 14px !important;
    white-space: nowrap !important;
  }
  #order_review .wpslash-tip-input { width: 100% !important; flex: 1 !important; }
  #order_review .wpslash-tipping-form-wrapper { flex-wrap: wrap !important; }
  #order_review .order-total .amount { font-size: 20px !important; }
	.wpslash-percentage-tip-buttons{    
padding: 0 10px !important;
}

/* Fix: container carousel category bị co lại trên mobile → đè lên Best seller */
  .e-con:has(.elementor-widget-ecomus-categories-carousel) > .e-con-inner {
    display: block !important;
  }
}

/* Checkout-only refinements; the tipping plugin remains unchanged elsewhere. */
body.woocommerce-checkout {
	--checkout-ink: var(--em-heading-color);
	--checkout-muted: var(--em-color__base);
	--checkout-line: var(--em-border-color);
	--checkout-wash: var(--em-color__light);
}

body.woocommerce-checkout #order_review .wpslash-tip-wrapper {
	display: flex !important;
	flex-wrap: wrap !important;
	align-content: flex-start;
	height: auto !important;
	min-height: 0 !important;
	border: 1px solid var(--checkout-line);
	border-radius: 2px;
	box-shadow: none;
	overflow: hidden;
}

body.woocommerce-checkout #order_review .wpslash-tip-title {
	flex: 0 0 100% !important;
	box-sizing: border-box;
	width: 100% !important;
	min-width: 100% !important;
	padding: 12px 14px !important;
	background: transparent !important;
	color: var(--checkout-ink) !important;
	-webkit-text-fill-color: var(--checkout-ink) !important;
	font-weight: 600;
}

/* Grid wins over the plugin's percentage widths and keeps all three choices together. */
body.woocommerce-checkout #order_review .wpslash-percentage-tip-buttons {
	flex: 0 0 100% !important;
	box-sizing: border-box;
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	align-items: center !important;
	gap: 8px !important;
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 14px 12px !important;
	flex-wrap: nowrap !important;
}

body.woocommerce-checkout #order_review a.wpslash-tip-percentage-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 0;
	min-height: 38px !important;
	margin: 0 !important;
	padding: 7px 8px !important;
	border: 1px solid var(--em-button-border-color) !important;
	border-radius: 0;
	background-color: var(--em-button-bg-color) !important;
	color: var(--em-button-color) !important;
	-webkit-text-fill-color: var(--em-button-color) !important;
	font-size: 13px !important;
	line-height: 1.15;
	white-space: nowrap;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.woocommerce-checkout #order_review a.wpslash-tip-percentage-btn:hover,
body.woocommerce-checkout #order_review a.wpslash-tip-percentage-btn:focus-visible {
	border-color: var(--em-button-border-color-hover) !important;
	background-color: var(--em-button-bg-color-hover) !important;
	color: var(--em-button-color-hover) !important;
	-webkit-text-fill-color: var(--em-button-color-hover) !important;
	outline: none;
}

body.woocommerce-checkout #order_review a.wpslash-tip-percentage-btn:focus-visible,
body.woocommerce-checkout #payment .wc_payment_method > input[type='radio']:focus-visible + label,
body.woocommerce-checkout .wpslash_tip_remove_btn:focus-visible {
	outline: 2px solid var(--checkout-ink);
	outline-offset: 2px;
}

/* Preserve the plugin's .hidden state; compact the custom amount controls once revealed. */
body.woocommerce-checkout #order_review .wpslash-tipping-form-wrapper.hidden {
	display: none !important;
}

body.woocommerce-checkout #order_review .wpslash-tipping-form-wrapper:not(.hidden) {
	display: flex !important;
	flex: 0 0 100% !important;
	flex-wrap: nowrap !important;
	box-sizing: border-box;
	width: 100% !important;
	min-width: 100% !important;
	align-items: center;
	gap: 8px !important;
	padding: 0 14px 14px !important;
}

body.woocommerce-checkout #order_review .wpslash-tipping-form-wrapper .wpslash-tip-input {
	flex: 1 1 auto !important;
	box-sizing: border-box !important;
	width: auto !important;
	height: 38px !important;
	min-width: 0;
	min-height: 38px !important;
	margin: 0 !important;
	padding: 7px 10px !important;
	border: 1px solid var(--em-input-border-color) !important;
	background-color: var(--em-input-bg-color) !important;
	color: var(--em-input-color) !important;
	-webkit-text-fill-color: var(--em-input-color) !important;
	font-size: 14px !important;
}

body.woocommerce-checkout #order_review .wpslash-tipping-form-wrapper .wpslash-tip-input:hover,
body.woocommerce-checkout #order_review .wpslash-tipping-form-wrapper .wpslash-tip-input:focus {
	border-color: var(--em-input-border-color-hover) !important;
}

body.woocommerce-checkout #order_review a.wpslash-tip-submit {
	flex: 0 0 auto !important;
	box-sizing: border-box !important;
	width: auto !important;
	height: 38px !important;
	min-height: 38px !important;
	margin: 0 !important;
	padding: 7px 15px !important;
	border: 1px solid var(--em-button-border-color) !important;
	background-color: var(--em-button-bg-color) !important;
	color: var(--em-button-color) !important;
	-webkit-text-fill-color: var(--em-button-color) !important;
	font-size: 12px !important;
	line-height: 1.15;
}

body.woocommerce-checkout #order_review a.wpslash-tip-submit:hover,
body.woocommerce-checkout #order_review a.wpslash-tip-submit:focus-visible {
	border-color: var(--em-button-border-color-hover) !important;
	background-color: var(--em-button-bg-color-hover) !important;
	color: var(--em-button-color-hover) !important;
	-webkit-text-fill-color: var(--em-button-color-hover) !important;
}

/* Keep Tip and its quiet remove link together at the price edge. */
body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tr.fee td {
	text-align: right !important;
}

body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tr.fee td > .amount {
	display: inline !important;
	text-align: inherit;
}

body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .wpslash_tip_remove_btn {
	position: static !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto !important;
	height: auto !important;
	margin-left: 4px !important;
	padding: 0 2px !important;
	border: 0 !important;
	border-radius: 0;
	transform: none !important;
	background: transparent !important;
	color: var(--checkout-muted) !important;
	-webkit-text-fill-color: var(--checkout-muted) !important;
	font-size: 14px !important;
	font-weight: 400;
	line-height: inherit;
	vertical-align: baseline;
	text-decoration: none;
	transition: color 160ms ease, text-decoration-color 160ms ease;
}

body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .wpslash_tip_remove_btn:hover {
	color: var(--checkout-ink) !important;
	-webkit-text-fill-color: var(--checkout-ink) !important;
	text-decoration: underline;
}

/* Cart totals — mirror the checkout price hierarchy without changing shipping methods. */
body.woocommerce-cart .cart_totals .shop_table > tbody > tr > th,
body.woocommerce-cart .cart_totals .shop_table > tbody > tr > td {
	padding: 12px 0 !important;
	border-bottom: 1px solid var(--em-border-color) !important;
	vertical-align: top;
}

body.woocommerce-cart .cart_totals .shop_table > tbody > tr > th {
	color: var(--em-heading-color) !important;
	font-weight: 600 !important;
}

body.woocommerce-cart .cart_totals .shop_table > tbody > tr.cart-subtotal > td,
body.woocommerce-cart .cart_totals .shop_table > tbody > tr.cart-discount > td,
body.woocommerce-cart .cart_totals .shop_table > tbody > tr.fee > td,
body.woocommerce-cart .cart_totals .shop_table > tbody > tr.order-total > td {
	text-align: right !important;
}

/* Keep the subtotal price inline while leaving its separate saving message intact. */
body.woocommerce-cart .cart_totals .shop_table > tbody > tr.cart-subtotal > td > .amount,
body.woocommerce-cart .cart_totals .shop_table > tbody > tr.fee > td > .amount {
	display: inline !important;
}

body.woocommerce-cart .cart_totals .shop_table > tbody > tr.cart-discount > th,
body.woocommerce-cart .cart_totals .shop_table > tbody > tr.cart-discount > td,
body.woocommerce-cart .cart_totals .shop_table > tbody > tr.cart-discount .amount {
	color: var(--em-color-price-sale) !important;
}

body.woocommerce-cart .cart_totals .woocommerce-remove-coupon,
body.woocommerce-cart .cart_totals .wpslash_tip_remove_btn {
	margin-left: 4px !important;
	color: var(--em-color__base) !important;
	font-size: 13px !important;
	font-weight: 400;
	text-decoration: underline;
}

/* Tip price and remove control share the same right-hand price edge as checkout. */
body.woocommerce-cart .cart_totals .wpslash_tip_remove_btn {
	position: static !important;
	display: inline-flex;
	align-items: center;
	width: auto !important;
	height: auto !important;
	padding: 0 2px !important;
	border: 0 !important;
	border-radius: 0;
	transform: none !important;
	background: transparent !important;
	-webkit-text-fill-color: var(--em-color__base) !important;
	font-size: 14px !important;
	line-height: inherit;
	vertical-align: baseline;
	text-decoration: none;
}

body.woocommerce-cart .cart_totals .wpslash_tip_remove_btn:hover {
	color: var(--em-heading-color) !important;
	-webkit-text-fill-color: var(--em-heading-color) !important;
	text-decoration: underline;
}

body.woocommerce-cart .cart_totals .shop_table > tbody > tr.order-total > th,
body.woocommerce-cart .cart_totals .shop_table > tbody > tr.order-total > td {
	padding-top: 14px !important;
	border-top: 1px solid var(--em-border-color) !important;
	border-bottom: 0 !important;
}

body.woocommerce-cart .cart_totals .shop_table > tbody > tr.order-total > th {
	font-size: 16px !important;
	font-weight: 700 !important;
}

body.woocommerce-cart .cart_totals .shop_table > tbody > tr.order-total .amount {
	font-size: 22px !important;
	font-weight: 800 !important;
	color: var(--em-color-price-sale) !important;
}

@media (max-width: 767px) {
	body.woocommerce-cart .cart_totals .shop_table > tbody > tr.order-total .amount {
		font-size: 20px !important;
	}
}

/* Payment methods are clear selectable rows without altering their payment-box contents. */
body.woocommerce-checkout #order_review #payment ul.wc_payment_methods.payment_methods.methods {
	display: grid !important;
	gap: 10px !important;
	padding: 0 !important;
	border: 0 !important;
}

body.woocommerce-checkout #order_review #payment ul.wc_payment_methods.payment_methods.methods > li.wc_payment_method {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) !important;
	align-items: center;
	gap: 0 10px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 13px 14px !important;
	border: 1px solid var(--checkout-line) !important;
	border-radius: 2px !important;
	background: var(--em-input-bg-color) !important;
	transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

body.woocommerce-checkout #order_review #payment .wc_payment_method > input[type='radio'] {
	width: 16px;
	height: 16px;
	margin: 0 !important;
	accent-color: var(--checkout-ink);
}

body.woocommerce-checkout #order_review #payment .wc_payment_method > label {
	padding: 3px 0 !important;
	color: var(--checkout-ink) !important;
	font-weight: 600 !important;
	cursor: pointer;
}

body.woocommerce-checkout #order_review #payment .wc_payment_method:hover {
	border-color: var(--em-input-border-color-hover) !important;
	background: var(--checkout-wash) !important;
}

/* This remains a useful selected-state fallback in browsers without :has support. */
body.woocommerce-checkout #order_review #payment .wc_payment_method > input[type='radio']:checked + label {
	color: var(--checkout-ink) !important;
}

@supports selector(li:has(> input:checked)) {
	body.woocommerce-checkout #order_review #payment ul.wc_payment_methods.payment_methods.methods > li.wc_payment_method:has(> input[type='radio']:checked) {
		border-color: var(--checkout-ink) !important;
		background: var(--em-input-bg-color) !important;
		box-shadow: inset 3px 0 0 var(--checkout-ink) !important;
	}
}

body.woocommerce-checkout #order_review #payment .wc_payment_method > .payment_box {
	grid-column: 1 / -1;
	margin: 10px 0 0 !important;
	padding: 12px !important;
	border-top: 1px solid var(--checkout-line) !important;
	background: var(--checkout-wash) !important;
}

/* A quiet, centered payment-methods signal beneath the final checkout CTA. */
body.woocommerce-checkout #order_review .pws-checkout-payment-trust {
	clear: both;
	display: flex;
	flex: 0 0 100%;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	margin: 12px 0 0 !important;
	padding: 0;
}

body.woocommerce-checkout #order_review .pws-checkout-payment-trust__image {
	display: block;
	width: 285px;
	max-width: 100%;
	height: auto;
}

/* The same trust signal follows the final Cart CTA without affecting its controls. */
body.woocommerce-cart .wc-proceed-to-checkout .pws-checkout-payment-trust {
	clear: both;
	display: flex;
	flex: 0 0 100%;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	margin: 12px 0 0 !important;
	padding: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout .pws-checkout-payment-trust__image {
	display: block;
	width: 285px;
	max-width: 100%;
	height: auto;
}

/* Mobile order review: retain the desktop hierarchy while reducing panel density. */
@media (max-width: 767px) {
	body.woocommerce-checkout #order_review .wpslash-tip-title {
		margin: 0 !important;
		padding: 10px 12px !important;
		font-size: 14px !important;
		line-height: 1.3;
	}

	body.woocommerce-checkout #order_review .wpslash-percentage-tip-buttons {
		align-items: center !important;
		align-content: center !important;
		gap: 6px !important;
		padding: 6px 12px !important;
	}

	body.woocommerce-checkout #order_review a.wpslash-tip-percentage-btn {
		min-height: 42px !important;
		padding: 7px 4px !important;
		font-size: 12px !important;
	}

	body.woocommerce-checkout #order_review .wpslash-tipping-form-wrapper:not(.hidden) {
		gap: 6px !important;
		padding: 0 12px 12px !important;
	}

	body.woocommerce-checkout #order_review .wpslash-tipping-form-wrapper .wpslash-tip-input,
	body.woocommerce-checkout #order_review a.wpslash-tip-submit {
		height: 42px !important;
		min-height: 42px !important;
	}

	body.woocommerce-checkout #order_review .wpslash-tipping-form-wrapper .wpslash-tip-input {
		font-size: 16px !important;
	}

	body.woocommerce-checkout #order_review a.wpslash-tip-submit {
		min-width: 62px;
		padding-right: 10px !important;
		padding-left: 10px !important;
	}

	body.woocommerce-checkout #order_review #payment ul.wc_payment_methods.payment_methods.methods {
		gap: 8px !important;
	}

	body.woocommerce-checkout #order_review #payment ul.wc_payment_methods.payment_methods.methods > li.wc_payment_method {
		gap: 0 8px !important;
		padding: 12px !important;
	}

	body.woocommerce-checkout #order_review #payment .wc_payment_method > .payment_box {
		min-width: 0;
		margin-top: 8px !important;
		padding: 10px !important;
	}

	body.woocommerce-checkout #order_review #payment .wc_payment_method > .payment_box .ppc-button-wrapper,
	body.woocommerce-checkout #order_review #payment .wc_payment_method > .payment_box iframe {
		max-width: 100% !important;
	}

	body.woocommerce-checkout #order_review .pws-checkout-payment-trust {
		margin-top: 10px !important;
	}

	body.woocommerce-cart .wc-proceed-to-checkout .pws-checkout-payment-trust {
		margin-top: 10px !important;
	}
}

@media (max-width: 480px) {
	body.woocommerce-checkout #order_review .wpslash-percentage-tip-buttons {
		gap: 6px !important;
		padding-right: 10px !important;
		padding-left: 10px !important;
	}

	body.woocommerce-checkout #order_review a.wpslash-tip-percentage-btn {
		min-height: 42px !important;
		padding-right: 4px !important;
		padding-left: 4px !important;
		font-size: 12px !important;
	}

	body.woocommerce-checkout #order_review .wpslash-tipping-form-wrapper:not(.hidden) {
		gap: 6px !important;
		padding-right: 10px !important;
		padding-left: 10px !important;
	}

	body.woocommerce-checkout #order_review a.wpslash-tip-submit {
		padding-right: 11px !important;
		padding-left: 11px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.woocommerce-checkout .wpslash-percentage-tip-buttons a.wpslash-tip-percentage-btn,
	body.woocommerce-checkout .wpslash-tipping-form-wrapper .wpslash-tip-submit,
	body.woocommerce-checkout .woocommerce-checkout-review-order-table .wpslash_tip_remove_btn,
	body.woocommerce-checkout #payment .wc_payment_method {
		transition: none;
	}
}

/* Align the cart's horizontal rhythm with checkout. */
body.woocommerce-cart .woocommrece-cart-content {
	box-sizing: border-box;
	width: calc(100% - 100px);
	max-width: 1440px;
	margin-right: auto;
	margin-left: auto;
}

@media (max-width: 767px) {
	body.woocommerce-cart .site-content .woocommrece-cart-content {
		width: 100% !important;
		padding-right: 16px !important;
		padding-left: 16px !important;
	}
}

/* Keep the cart's Elementor recommendation sections aligned with checkout. */
body.woocommerce-cart .elementor-element-25fe117,
body.woocommerce-cart .elementor-element-27d1789 {
	display: block !important;
	box-sizing: border-box;
	width: calc(100% - 100px) !important;
	max-width: 1440px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.woocommerce-cart .elementor-element-25fe117 > .e-con-inner,
body.woocommerce-cart .elementor-element-27d1789 > .e-con-inner {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

@media (max-width: 767px) {
	body.woocommerce-cart .elementor-element-25fe117,
	body.woocommerce-cart .elementor-element-27d1789 {
		width: 100% !important;
		padding-right: 16px !important;
		padding-left: 16px !important;
	}
}

/* Keep ordinary page titles compact without altering product or archive headers. */
.page-header.page-header--page {
	--em-page-header-padding-top: 34.5px;
	--em-page-header-padding-bottom: 34.5px;
	padding-top: 34.5px !important;
	padding-bottom: 34.5px !important;
}

/* Cart UX — scoped child-theme improvements. */
body.woocommerce-cart .cart_totals {
	box-sizing: border-box;
	padding: 0 !important;
	border: 1px solid var(--em-border-color);
	border-radius: 6px;
	background: var(--em-input-bg-color);
}

body.woocommerce-cart .cart_totals > h2 {
	margin: 0 0 18px;
	font-size: 22px;
	line-height: 1.2;
}


body.woocommerce-cart .wc-proceed-to-checkout {
	margin-top: 20px;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin: 0 !important;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

body.woocommerce-cart .wcpa_cart_meta {
	display: grid;
	row-gap: 3px;
	margin: 8px 0 0;
	padding: 0;
}

body.woocommerce-cart .wcpa_cart_meta_item {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 !important;
	padding: 0;
	line-height: 1.35;
}

body.woocommerce-cart .wcpa_cart_meta_item-label,
body.woocommerce-cart .wcpa_cart_meta_item-value,
body.woocommerce-cart .wcpa_cart_meta_item-value > p {
	margin: 0 !important;
	padding: 0 !important;
	line-height: inherit;
}

body.woocommerce-cart .wcpa_cart_meta_item-label,
body.woocommerce-cart .wcpa_cart_meta_item-value {
	font-weight: 400;
}

body.woocommerce-cart .pws-cart-color {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

body.woocommerce-cart .pws-cart-color__swatch {
	display: inline-block;
	box-sizing: border-box;
	width: 18px;
	height: 18px;
	border: 1px solid rgba(0, 0, 0, 0.35);
	border-radius: 50%;
}

body.woocommerce-cart .pws-cart-color__name {
	line-height: 1.25;
}

body.woocommerce-cart .pws-cart-disclosure {
	margin-top: 18px;
	border-top: 1px solid var(--em-border-color);
}

body.woocommerce-cart .pws-cart-disclosure__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 44px;
	padding: 8px 0;
	border: 0;
	background: transparent;
	color: var(--em-heading-color);
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

body.woocommerce-cart .pws-cart-disclosure__icon {
	width: 9px;
	height: 9px;
	margin-right: 4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 160ms ease;
}

body.woocommerce-cart .pws-cart-disclosure__toggle[aria-expanded='true'] .pws-cart-disclosure__icon {
	transform: rotate(225deg) translate(-2px, -1px);
}

body.woocommerce-cart .pws-cart-disclosure .coupon,
body.woocommerce-cart .pws-cart-disclosure #order_comments_field {
	margin: 0 0 16px;
}

body.woocommerce-cart .pws-cart-disclosure .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

body.woocommerce-cart .pws-cart-disclosure .coupon[hidden],
body.woocommerce-cart .pws-cart-disclosure #order_comments_field[hidden] {
	display: none !important;
}

body.woocommerce-cart .pws-cart-disclosure .coupon .input-text {
	flex: 1 1 180px;
	min-height: 44px;
}

body.woocommerce-cart .pws-cart-disclosure .coupon .button {
	min-height: 44px;
}

body.woocommerce-cart .pws-cart-disclosure #order_comments_field label {
	display: block;
	margin-bottom: 7px;
	font-weight: 600;
}

body.woocommerce-cart .pws-cart-disclosure #order_comments {
	min-height: 108px;
}

/* Keep cart thumbnails at the native compact size instead of allowing table layout to stretch them. */
body.woocommerce-cart table.woocommerce-cart-form__contents td.product-thumbnail,
body.woocommerce-cart table.woocommerce-cart-form__contents td.product-thumbnail a,
body.woocommerce-cart table.woocommerce-cart-form__contents td.product-thumbnail img {
	width: 90px !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents td.product-thumbnail img {
	display: block;
	height: auto;
	width: 90px !important;
	max-width: 100%;
}

/* Quantity changes require this form submission; keep it aligned with coupon actions. */
body.woocommerce-cart .woocommerce-cart-form .actions .em-button-update-cart {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 156px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid var(--em-heading-color);
	border-radius: 5px;
	background-color: transparent;
	color: var(--em-heading-color);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

body.woocommerce-cart .woocommerce-cart-form .actions .em-button-update-cart:hover:not(:disabled),
body.woocommerce-cart .woocommerce-cart-form .actions .em-button-update-cart:focus-visible:not(:disabled) {
	border-color: var(--em-color__dark);
	background-color: var(--em-color__dark);
	color: var(--em-color__light);
}

@media (min-width: 768px) {
	body.woocommerce-cart table.woocommerce-cart-form__contents td.actions {
		display: table-cell;
		width: 100% !important;
		box-sizing: border-box;
		text-align: right;
	}

	body.woocommerce-cart .woocommerce-cart-form .actions > .pws-cart-disclosure,
	body.woocommerce-cart .woocommerce-cart-form .actions > .coupon {
		display: block;
		width: 100%;
		margin: 0;
		text-align: left;
	}

	body.woocommerce-cart .woocommerce-cart-form .actions .em-button-update-cart {
		float: none;
		margin: 12px 0 0;
	}
}

body.woocommerce-cart .woocommerce-cart-form .actions .em-button-update-cart:focus-visible {
	outline: 2px solid var(--em-heading-color);
	outline-offset: 2px;
}

body.woocommerce-cart .woocommerce-cart-form .actions .em-button-update-cart:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

/* The chevron is decorative; pointer events belong to its toggle button. */
body.woocommerce-cart .pws-cart-disclosure__icon {
	pointer-events: none;
}

body.woocommerce-cart .woocommerce-cart-form .quantity,
body.woocommerce-cart .woocommerce-cart-form .quantity .qty,
body.woocommerce-cart .woocommerce-cart-form .quantity button {
	min-height: 44px;
}

@media (max-width: 767px) {

	body.woocommerce-cart .cart_totals > h2 {
		font-size: 20px;
	}

	body.woocommerce-cart .woocommerce-cart-form .product-remove .remove {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding: 0 10px;
	}

	body.woocommerce-cart .woocommerce-cart-form .actions .em-button-update-cart {
		width: 100%;
		margin-top: 12px;
		margin-left: 0;
	}

	body.woocommerce-cart .woocommerce-cart-form .actions > .pws-cart-disclosure {
		flex: 0 0 100%;
		width: 100%;
	}

	body.woocommerce-cart .pws-cart-disclosure__toggle {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.woocommerce-cart .pws-cart-disclosure__icon {
		transition: none;
	}
}
