/* Promo line under product title (checkout + mini-cart) */
.apwc-buy-more-note {
	display: block;
	margin-top: 0.35em;
	margin-bottom: 0;
	max-width: 100%;
	font-size: 0.8125rem;
	line-height: 1.35;
	color: #0d4f3c;
	font-weight: 500;
	clear: both;
}

.woocommerce-checkout-review-order-table .product-name .apwc-buy-more-note {
	margin-top: 0.4em;
}

/* Checkout: promo line sits in product-total cell, under price */
.woocommerce-checkout-review-order-table td.product-total .apwc-buy-more-note--under-price {
	display: block;
	margin-top: 0.4em;
	text-align: inherit;
}

.astra-cart-drawer .woocommerce-mini-cart-item .apwc-buy-more-note,
.woocommerce-mini-cart-item .apwc-buy-more-note {
	margin-top: 0.25em;
	font-size: 12px;
}

.moderncart-cart-item-product-name .apwc-buy-more-note {
	margin-top: 0.3em;
	font-size: 12px;
}

.moderncart-price .apwc-buy-more-note--under-price {
	display: block;
	margin-top: 0.35em;
	font-size: 12px;
}

/* Buy X Get Y — nudge when one item away from free unit */
.apwc-bxgy-nudge {
	display: block;
	margin-top: 0.35em;
	max-width: 100%;
	font-size: 0.8125rem;
	line-height: 1.35;
	color: #1d4ed8;
	font-weight: 600;
	clear: both;
}

.moderncart-price .apwc-bxgy-nudge,
.woocommerce-mini-cart-item .apwc-bxgy-nudge {
	font-size: 12px;
}

.woocommerce-checkout-review-order-table td.product-total .apwc-bxgy-nudge {
	margin-top: 0.35em;
	text-align: inherit;
}

/* Checkout-only override: keep BXGY nudge compact text link, not a large button. */
.woocommerce-checkout-review-order-table td.product-total button.apwc-bxgy-nudge--action {
	display: inline;
	width: auto;
	max-width: 100%;
	margin-top: 0.3em;
	padding: 0 !important;
	min-height: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 12px !important;
	line-height: 1.3 !important;
	font-weight: 600;
	color: #1d4ed8 !important;
	text-align: inherit;
}

button.apwc-bxgy-nudge--action {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	text-align: inherit;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

button.apwc-bxgy-nudge--action:disabled,
button.apwc-bxgy-nudge--action.is-loading {
	opacity: 0.55;
	cursor: progress;
	text-decoration: none;
}

/* Mini-cart drawer (Astra + generic) — item meta one line */
.astra-cart-drawer .woocommerce-mini-cart-item dl.variation,
.astra-cart-drawer .woocommerce-mini-cart-item dl.woocommerce-item-data,
.woocommerce-mini-cart-item dl.variation,
.woocommerce-mini-cart-item dl.woocommerce-item-data {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 6px !important;
	margin: 6px 0 0 !important;
}

.astra-cart-drawer .woocommerce-mini-cart-item dl.variation dt,
.astra-cart-drawer .woocommerce-mini-cart-item dl.woocommerce-item-data dt,
.astra-cart-drawer .woocommerce-mini-cart-item dl.variation dd,
.astra-cart-drawer .woocommerce-mini-cart-item dl.woocommerce-item-data dd,
.woocommerce-mini-cart-item dl.variation dt,
.woocommerce-mini-cart-item dl.woocommerce-item-data dt,
.woocommerce-mini-cart-item dl.variation dd,
.woocommerce-mini-cart-item dl.woocommerce-item-data dd {
	display: inline !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	white-space: nowrap !important;
	line-height: 1.2 !important;
	font-size: 12px !important;
}

/* Cart page */
.woocommerce-cart .woocommerce-cart-form dl.variation,
.woocommerce-cart .woocommerce-cart-form dl.woocommerce-item-data {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 6px !important;
	margin: 6px 0 0 !important;
}

.woocommerce-cart .woocommerce-cart-form dl.variation dt,
.woocommerce-cart .woocommerce-cart-form dl.woocommerce-item-data dt,
.woocommerce-cart .woocommerce-cart-form dl.variation dd,
.woocommerce-cart .woocommerce-cart-form dl.woocommerce-item-data dd {
	display: inline !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.25 !important;
	font-size: 12px !important;
}

/* Checkout order review */
.woocommerce-checkout-review-order-table dl.variation,
.woocommerce-checkout-review-order-table dl.woocommerce-item-data {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 6px !important;
	margin: 6px 0 0 !important;
}

.woocommerce-checkout-review-order-table dl.variation dt,
.woocommerce-checkout-review-order-table dl.woocommerce-item-data dt,
.woocommerce-checkout-review-order-table dl.variation dd,
.woocommerce-checkout-review-order-table dl.woocommerce-item-data dd {
	display: inline !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	white-space: nowrap !important;
	line-height: 1.2 !important;
	font-size: 12px !important;
}

/* Promo meta value — dark green */
.woocommerce-mini-cart-item dl.woocommerce-item-data dd,
.woocommerce-cart-form dl.woocommerce-item-data dd,
.woocommerce-checkout-review-order-table dl.woocommerce-item-data dd {
	color: #0d4f3c !important;
	font-weight: 500;
}

/* Old / new price */
.apwc-price.apwc-price--promo del.apwc-old-price,
.woocommerce-checkout-review-order-table del.apwc-old-price,
.astra-cart-drawer del.apwc-old-price,
.woocommerce-mini-cart-item del.apwc-old-price,
.woocommerce-cart del.apwc-old-price {
	opacity: 0.55;
	margin-inline-start: 6px;
	text-decoration-thickness: 2px;
}

.apwc-price.apwc-price--promo ins.apwc-new-price,
.woocommerce-checkout-review-order-table ins.apwc-new-price,
.astra-cart-drawer ins.apwc-new-price,
.woocommerce-mini-cart-item ins.apwc-new-price,
.woocommerce-cart ins.apwc-new-price {
	text-decoration: none;
	font-weight: 600;
	color: #15803d !important;
	background: transparent !important;
}

.apwc-price.apwc-price--promo ins.apwc-new-price .amount,
.woocommerce-checkout-review-order-table ins.apwc-new-price .amount,
.astra-cart-drawer ins.apwc-new-price .amount,
.woocommerce-mini-cart-item ins.apwc-new-price .amount,
.woocommerce-cart ins.apwc-new-price .amount {
	color: #15803d !important;
	background: transparent !important;
}

