/* ----------------------------------------
   Nova Cart Drawer — Phase 6
   ----------------------------------------
   All item-row selectors use #nova-cart-drawer (ID) to beat
   Shoptimizer's .widget_shopping_cart class-based selectors.
   ----------------------------------------
   @package nova-peptides
   ---------------------------------------- */

/* === SHARED CART TOKENS === */

:root {
	--nova-cart-success: #2b8000;
	--nova-cart-error: #b30000;
}

/* === SHARED CART UTILITIES === */

/* Single loading-state rule used by both drawer (.mini_cart_item)
   and cart page (.nova-cart-page-item) via their respective scoped selectors below. */
.nova-updating {
	opacity: 0.5;
	pointer-events: none;
}

/* === OVERLAY === */

.nova-cart-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.nova-drawer-open .nova-cart-overlay {
	opacity: 1;
	visibility: visible;
}

/* === DRAWER PANEL === */

#nova-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	/* width: 440px; */
	width: 600px;
	height: 100vh;
	background: #ffffff;
	z-index: 9999999999;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	display: flex;
	flex-direction: column;
	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

body.nova-drawer-open #nova-cart-drawer {
	transform: translateX(0);
}

/* === DRAWER HEADER === */

#nova-cart-drawer .nova-cart-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px;
	border-bottom: 1px solid var(--nova-border-light, #e5e5e5);
	flex-shrink: 0;
}

#nova-cart-drawer .nova-cart-drawer__title {
	display: inline;
	font-family: var(--nova-font-heading, 'Inter', sans-serif);
	font-size: 24px;
	font-weight: 600;
	color: var(--nova-text-dark, #0a0a0e);
	line-height: 1.2;
	white-space: nowrap;
}

#nova-cart-drawer .nova-cart-drawer__count {
	display: inline;
	font-family: var(--nova-font-heading, 'Inter', sans-serif);
	font-size: 24px;
	font-weight: 600;
	color: var(--nova-text-dark, #0a0a0e);
}

#nova-cart-drawer .nova-cart-drawer__close {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: var(--nova-text-dark, #0a0a0e);
	line-height: 1;
	transition: opacity 0.2s ease;
}

#nova-cart-drawer .nova-cart-drawer__close:hover {
	opacity: 0.6;
}

#nova-cart-drawer .nova-cart-drawer__close svg {
	width: 24px;
	height: 24px;
	display: block;
}

/* === SHIPPING INFO LINK === */

#nova-cart-drawer .nova-cart-drawer__shipping-info {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	font-size: 14px;
	color: var(--nova-text-dark-muted, #6b6b76);
	border-bottom: 1px solid var(--nova-border-light, #e5e5e5);
	flex-shrink: 0;
}

#nova-cart-drawer .nova-cart-drawer__shipping-info svg {
	flex-shrink: 0;
	color: var(--nova-text-dark-muted, #6b6b76);
}

#nova-cart-drawer .nova-cart-drawer__shipping-info a {
	color: var(--nova-text-dark-muted, #6b6b76);
	text-decoration: none;
	font-family: var(--nova-font-body, 'Inter', sans-serif);
}

#nova-cart-drawer .nova-cart-drawer__shipping-info a:hover {
	color: var(--nova-text-dark, #0a0a0e);
}

/* === SHIPPING-INFO TOOLTIP (saved address on hover/tap) === */

#nova-cart-drawer .nova-cart-drawer__shipping-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	margin: 0;
	background: none;
	border: none;
	font: inherit;
	color: var(--nova-text-dark-muted, #6b6b76);
	cursor: pointer;
	text-align: left;
}

#nova-cart-drawer .nova-cart-drawer__shipping-trigger:hover,
#nova-cart-drawer .nova-cart-drawer__shipping-trigger:focus-visible {
	color: var(--nova-text-dark, #0a0a0e);
	outline: none;
}

#nova-cart-drawer .nova-cart-drawer__shipping-info.has-tooltip::after {
	content: "";
	width: 14px;
	height: 14px;
	margin-left: 2px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M4 6l4 4 4-4' stroke='%236b6b76' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.18s ease;
}

#nova-cart-drawer .nova-cart-drawer__shipping-info[data-tooltip-open="true"]::after,
#nova-cart-drawer .nova-cart-drawer__shipping-info.has-tooltip:hover::after,
#nova-cart-drawer .nova-cart-drawer__shipping-info.has-tooltip:focus-within::after {
	transform: rotate(180deg);
}

#nova-cart-drawer .nova-cart-drawer__shipping-tooltip {
	position: absolute;
	top: calc(100% - 4px);
	left: 24px;
	right: 24px;
	z-index: 10;
	padding: 14px 16px;
	background: #ffffff;
	border: 1px solid var(--nova-border-light, #e5e5e5);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(10, 10, 14, 0.12);
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	font-size: 13px;
	line-height: 1.5;
	color: var(--nova-text-dark, #0a0a0e);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
	pointer-events: none;
}

#nova-cart-drawer .nova-cart-drawer__shipping-info.has-tooltip:hover .nova-cart-drawer__shipping-tooltip,
#nova-cart-drawer .nova-cart-drawer__shipping-info.has-tooltip:focus-within .nova-cart-drawer__shipping-tooltip,
#nova-cart-drawer .nova-cart-drawer__shipping-info[data-tooltip-open="true"] .nova-cart-drawer__shipping-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
	pointer-events: auto;
}

#nova-cart-drawer .nova-cart-drawer__shipping-tooltip-title {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--nova-text-dark-muted, #6b6b76);
	margin-bottom: 6px;
}

#nova-cart-drawer .nova-cart-drawer__shipping-tooltip-address {
	font-style: normal;
	margin: 0 0 10px;
}

#nova-cart-drawer .nova-cart-drawer__shipping-tooltip-edit {
	display: inline-block;
	font-size: 12px;
	font-weight: 500;
	color: var(--nova-accent, #8a4fff);
	text-decoration: underline;
}

#nova-cart-drawer .nova-cart-drawer__shipping-tooltip-edit:hover {
	color: var(--nova-accent-hover, #7a3fee);
}

/* === BODY (scrollable mini-cart area) === */

#nova-cart-drawer .nova-cart-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: 0 24px;
	-webkit-overflow-scrolling: touch;
	position: relative;
}

/* Loading overlay — covers visible area via position:sticky */
.nova-cart-drawer__loader {
	display: none;
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 120px;
	background: rgba(255, 255, 255, 0.75);
	z-index: 10;
	align-items: center;
	justify-content: center;
	margin-bottom: -100%;
}

.nova-cart-drawer__loader::after {
	content: '';
	width: 28px;
	height: 28px;
	border: 3px solid var(--nova-border-light, #e4e6f2);
	border-top-color: var(--nova-accent, #8a4fff);
	border-radius: 50%;
	animation: nova-spin 0.6s linear infinite;
}

#nova-cart-drawer .nova-cart-drawer__body.is-loading .nova-cart-drawer__loader {
	display: flex;
}

@keyframes nova-spin {
	to { transform: rotate(360deg); }
}

/* Hide default WC widget title */
#nova-cart-drawer .nova-cart-drawer__body .widgettitle {
	display: none;
}

/* Hide default WC subtotal + buttons — Nova renders its own */
#nova-cart-drawer .woocommerce-mini-cart__total,
#nova-cart-drawer .woocommerce-mini-cart__buttons {
	display: none !important;
}

/* ===================================================================
   MINI-CART ITEM ROWS — Figma layout
   Two-group: [image+info] ←→ [trash+stepper]
   All use #nova-cart-drawer to beat Shoptimizer .widget_shopping_cart
   =================================================================== */

/* Reset the list */
#nova-cart-drawer .woocommerce-mini-cart,
#nova-cart-drawer .cart_list,
#nova-cart-drawer .product_list_widget {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Each product row */
#nova-cart-drawer .mini_cart_item,
#nova-cart-drawer .woocommerce-mini-cart-item {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 16px 0 !important;
	padding-left: 0 !important;
	border-bottom: 1px solid var(--nova-border-light, #e4e6f2) !important;
	list-style: none;
	position: relative;
	overflow: visible !important;
	font-size: 15px;
}

/* --- Left group: thumbnail + info side by side --- */

#nova-cart-drawer .nova-cart-item__left {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1;
	min-width: 0;
}

/* --- Thumbnail --- */

#nova-cart-drawer .nova-cart-item__thumb {
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	border-radius: 16px;
	background: #e4e6f2;
	overflow: hidden;
}

#nova-cart-drawer .nova-cart-item__thumb a {
	display: block;
	line-height: 0;
	width: 100%;
	height: 100%;
}

#nova-cart-drawer .nova-cart-item__thumb img {
	width: 120px !important;
	height: 120px !important;
	max-width: 120px !important;
	object-fit: cover;
	border-radius: 16px;
	display: block;
	float: none !important;
	margin: 0 !important;
}

/* --- Info column: name, category, price --- */

#nova-cart-drawer .nova-cart-item__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#nova-cart-drawer .nova-cart-item__text {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#nova-cart-drawer .nova-cart-item__info .product-name {
	display: block;
	font-family: var(--nova-font-heading, 'Stack Sans Text', 'Inter', sans-serif);
	font-size: 20px;
	font-weight: 500;
	color: var(--nova-text-dark, #0a0a0e);
	line-height: 24px;
}

#nova-cart-drawer .nova-cart-item__info .product-name a {
	color: inherit;
	text-decoration: none;
}

/* --- Category / short description --- */

#nova-cart-drawer .nova-cart-item__desc {
	display: block;
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	font-size: 14px;
	font-weight: 400;
	color: var(--nova-text-dark, #0a0a0e);
	opacity: 0.7;
	line-height: 20px;
}

/* --- Variation meta --- */

#nova-cart-drawer .mini_cart_item dl.variation,
#nova-cart-drawer .mini_cart_item dl.variation p,
#nova-cart-drawer .mini_cart_item .wc-item-meta {
	font-size: 13px;
	color: var(--nova-text-dark-muted, #6b6b76);
	margin: 0;
}

/* --- Price --- */

#nova-cart-drawer .nova-cart-item__price {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--nova-font-heading, 'Stack Sans Text', 'Inter', sans-serif);
	font-size: 20px;
	font-weight: 500;
	color: var(--nova-accent, #8a4fff);
	line-height: 24px;
}


/* Sale: strikethrough old price */
#nova-cart-drawer .nova-cart-item__price del {
	color: var(--nova-text-dark);
	text-decoration: line-through;
	font-family: var(--nova-font-heading, 'Stack Sans Text', 'Inter', sans-serif);
	font-size: 12px;
	font-weight: 300;
	line-height: 16px;
	opacity: 0.5;
	margin-right: 0;
}

#nova-cart-drawer .nova-cart-item__price del .amount {
	text-decoration: line-through;
}

#nova-cart-drawer .nova-cart-item__price ins {
	text-decoration: none;
	color: var(--nova-badge-sale);
	font-weight: 500;
}

#nova-cart-drawer .nova-cart-item__price .amount {
	color: inherit;
	font-weight: inherit;
}

/* Non-sale price (single .amount, no del/ins) */
#nova-cart-drawer .woocommerce-mini-cart-item .amount {
	color: inherit;
	font-weight: inherit;
}

/* --- Global remove-button reset (beats Shoptimizer's .widget_shopping_cart positioning)
   NOTE: Drawer needs #nova-cart-drawer ID specificity to beat Shoptimizer defaults.
   Cart page .nova-cart-page-item__remove is cleaner — do NOT merge these sections. --- */

#nova-cart-drawer .mini_cart_item a.remove,
#nova-cart-drawer .mini_cart_item .remove,
#nova-cart-drawer .mini_cart_item .remove_from_cart_button {
	position: static !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 24px !important;
	height: 24px !important;
	color: rgba(10, 10, 14, 0.35);
	font-size: 0 !important;
	text-decoration: none !important;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	float: none !important;
	transition: color 0.2s ease;
}

#nova-cart-drawer .mini_cart_item a.remove:hover {
	color: var(--nova-text-dark, #0a0a0e);
}

#nova-cart-drawer .mini_cart_item a.remove::before,
#nova-cart-drawer .mini_cart_item a.remove::after {
	display: none !important;
	content: none !important;
	background: none !important;
	mask-image: none !important;
	-webkit-mask-image: none !important;
	width: 0 !important;
	height: 0 !important;
}

#nova-cart-drawer .mini_cart_item a.remove svg {
	display: block;
	width: 24px;
	height: 24px;
}

/* --- Global product-name reset (works with any wrapper) --- */

#nova-cart-drawer .mini_cart_item .product-name {
	display: block !important;
	font-family: var(--nova-font-heading, 'Stack Sans Text', 'Inter', sans-serif) !important;
	font-size: 20px !important;
	font-weight: 500 !important;
	color: var(--nova-text-dark, #0a0a0e) !important;
	line-height: 24px !important;
	max-height: 45px;
    overflow: clip;
}

#nova-cart-drawer .mini_cart_item .product-name a {
	color: inherit !important;
	text-decoration: none !important;
	margin-bottom: 0 !important;
}

/* --- Right column: trash (top) + qty stepper (bottom) --- */

#nova-cart-drawer .nova-cart-item__actions {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	align-self: stretch;
	min-height: 92px;
	margin-left: 12px;
}

/* Remove / trash button — override Shoptimizer absolute positioning */
#nova-cart-drawer .nova-cart-item__actions .remove,
#nova-cart-drawer .nova-cart-item__actions a.remove,
#nova-cart-drawer .nova-cart-item__actions .remove_from_cart_button,
#nova-cart-drawer .nova-cart-item__actions .nova-cart-item__remove {
	position: static !important;
	flex-shrink: 0;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 24px !important;
	height: 24px !important;
	color: rgba(10, 10, 14, 0.35);
	font-size: 0;
	text-decoration: none;
	transition: color 0.2s ease;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	top: auto !important;
	left: auto !important;
	right: auto !important;
}

#nova-cart-drawer .nova-cart-item__actions .remove:hover,
#nova-cart-drawer .nova-cart-item__actions .nova-cart-item__remove:hover {
	color: var(--nova-text-dark, #0a0a0e);
}

/* Kill Shoptimizer's ::before mask-image icon on .remove */
#nova-cart-drawer .nova-cart-item__actions .remove::before,
#nova-cart-drawer .nova-cart-item__actions .remove::after,
#nova-cart-drawer .nova-cart-item__actions .nova-cart-item__remove::before,
#nova-cart-drawer .nova-cart-item__actions .nova-cart-item__remove::after {
	display: none !important;
	content: none !important;
}

/* SVG trash icon */
#nova-cart-drawer .nova-cart-item__actions .remove svg,
#nova-cart-drawer .nova-cart-item__actions .nova-cart-item__remove svg {
	display: block;
	width: 24px;
	height: 24px;
}

/* Qty stepper in actions column */
#nova-cart-drawer .nova-cart-item__actions .nova-qty {
	display: inline-flex !important;
	align-items: center;
}

/* Loading state — .nova-updating base rule is defined in SHARED CART UTILITIES above. */

/* === PROMO CODE FIELD === */

#nova-cart-drawer .nova-cart-drawer__promo {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px;
	border-top: 1px solid var(--nova-border-light, #e5e5e5);
	border-bottom: 1px solid var(--nova-border-light, #e5e5e5);
	flex-shrink: 0;
}

#nova-cart-drawer .nova-cart-drawer__promo_internal {
	display: flex;
	align-items: center;
	background: var(--nova-surface-light);
    padding: 5px 16px;
    border-radius: 8px;
	width: 100%;
}


#nova-cart-drawer .nova-cart-drawer__promo-icon {
	color: var(--nova-text-dark-muted, #6b6b76);
	flex-shrink: 0;
}

#nova-cart-drawer .nova-cart-drawer__promo-input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 16px;
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	color: var(--nova-text-dark, #0a0a0e);
	background: transparent;
	min-width: 0;
	box-shadow: none;
}

#nova-cart-drawer .nova-cart-drawer__promo-input::placeholder {
	color: var(--nova-text-dark-muted, #6b6b76);
}

#nova-cart-drawer .nova-cart-drawer__promo-apply {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--nova-accent, #8a4fff);
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	padding: 0;
	flex-shrink: 0;
	transition: color 0.2s ease;
}

#nova-cart-drawer .nova-cart-drawer__promo-apply:hover {
	color: var(--nova-accent-hover, #7a3fe6);
}

#nova-cart-drawer .nova-cart-drawer__promo-apply:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Promo feedback message
   Shared pattern: .is-success uses --nova-cart-success, .is-error uses --nova-cart-error */
#nova-cart-drawer .nova-cart-drawer__promo-msg {
	display: none;
	width: 100%;
	padding: 8px 24px;
	font-size: 13px;
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	line-height: 1.4;
}

#nova-cart-drawer .nova-cart-drawer__promo-msg.is-success {
	display: block;
	color: var(--nova-cart-success, #2b8000);
	background: #f1faf1;
}

#nova-cart-drawer .nova-cart-drawer__promo-msg.is-error {
	display: block;
	color: var(--nova-cart-error, #b30000);
	background: #fff5f5;
}

/* === TOTALS (WC Fragment) === */

#nova-cart-drawer .nova-cart-drawer__totals {
	padding: 16px 24px;
	flex-shrink: 0;
}

#nova-cart-drawer .nova-cart-drawer__totals-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px 0;
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	font-size: 15px;
	color: var(--nova-text-dark, #0a0a0e);
}

#nova-cart-drawer .nova-cart-drawer__totals-row--total {
	font-size: 22px;
	font-weight: 700;
	padding-top: 12px;
	margin-top: 6px;
	border-top: 1px solid var(--nova-border-light, #e5e5e5);
}

#nova-cart-drawer .nova-cart-drawer__total-price {
	color: var(--nova-accent, #8a4fff);
}

#nova-cart-drawer .nova-cart-drawer__subtotal-price,
#nova-cart-drawer .nova-cart-drawer__shipping-price,
#nova-cart-drawer .nova-cart-drawer__tax-price {
	font-weight: 500;
}

/* Discount row */
#nova-cart-drawer .nova-cart-drawer__totals-row--discount {
	color: #2e7d32;
}

#nova-cart-drawer .nova-cart-drawer__discount-price {
	font-weight: 500;
	color: #2e7d32;
}

/* === APPLIED COUPON TAGS === */

#nova-cart-drawer .nova-cart-drawer__coupons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-bottom: 12px;
	margin-bottom: 4px;
	border-bottom: 1px solid var(--nova-border-light, #e5e5e5);
}

#nova-cart-drawer .nova-cart-drawer__coupon-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	background: var(--nova-accent, #8a4fff);
	color: #ffffff;
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	font-size: 13px;
	font-weight: 600;
	border-radius: 20px;
	line-height: 1.4;
}

#nova-cart-drawer .nova-cart-drawer__coupon-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.3);
	border: none;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	color: #ffffff;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	transition: background 0.15s ease;
}

#nova-cart-drawer .nova-cart-drawer__coupon-remove:hover {
	background: rgba(255, 255, 255, 0.5);
}

/* === PROCEED TO CHECKOUT CTA === */

/* Button base from .nova-btn .nova-btn--primary .nova-btn--full — only overrides here */
#nova-cart-drawer .nova-cart-drawer__cta {
	display: block;
	margin: 0 24px 16px;
	padding: 0 24px;
	height: 56px;
	line-height: 56px;
	text-align: center;
	font-weight: 600;
	flex-shrink: 0;
	box-sizing: border-box;
	max-width: calc(100% - 48px);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 480px) {
	#nova-cart-drawer .nova-cart-drawer__cta {
		margin: 0 16px 12px;
		max-width: calc(100% - 32px);
		padding: 0 16px;
		font-size: 14px;
	}
}

#nova-cart-drawer .nova-cart-drawer__cta:hover,
#nova-cart-drawer .nova-cart-drawer__cta:focus {
	background: var(--nova-accent-hover, #7a3fe6);
	color: #ffffff;
	text-decoration: none;
}

/* === PAYMENT ICONS ===
   NOTE: Drawer uses inline SVGs; cart page uses CSS-only .nova-payment-icon spans.
   These are different implementations — do NOT merge. */

#nova-cart-drawer .nova-cart-drawer__payment-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	padding: 0 24px 24px;
	flex-shrink: 0;
}

#nova-cart-drawer .nova-cart-drawer__payment-icons svg,
#nova-cart-drawer .nova-cart-drawer__payment-icons img {
	height: 24px;
	width: auto;
	max-width: 38px;
	display: block;
}

/* Override SVG's own width/height attrs so aspect ratio is preserved */
#nova-cart-drawer .nova-cart-drawer__payment-icon svg {
	height: 38px !important;
	width: auto !important;
}

/* === SCROLL LOCK === */

body.nova-drawer-open {
	overflow: hidden;
}

/* === EMPTY CART STATE === */

/* Hide drawer footer elements when cart is empty */
#nova-cart-drawer:has(.nova-cart-empty) .nova-cart-drawer__shipping-info,
#nova-cart-drawer:has(.nova-cart-empty) .nova-cart-drawer__promo,
#nova-cart-drawer:has(.nova-cart-empty) .nova-cart-drawer__promo-msg,
#nova-cart-drawer:has(.nova-cart-empty) .nova-cart-drawer__totals,
#nova-cart-drawer:has(.nova-cart-empty) .nova-cart-drawer__cta,
#nova-cart-drawer:has(.nova-cart-empty) .nova-cart-drawer__payment-icons {
	display: none !important;
}

#nova-cart-drawer .nova-cart-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex: 1;
	gap: 32px;
	padding: 48px 24px;
	min-height: 50vh;
}

#nova-cart-drawer .nova-cart-empty__icon {
	display: flex;
	justify-content: center;
	color: var(--nova-accent, #8a4fff);
}

#nova-cart-drawer .nova-cart-empty__icon svg {
	width: 48px;
	height: 40px;
}

#nova-cart-drawer .nova-cart-empty__heading {
	font-family: var(--nova-font-heading, 'Stack Sans Text', 'Inter', sans-serif);
	font-size: 40px;
	font-weight: 400;
	color: var(--nova-text-dark, #0a0a0e);
	line-height: 40px;
	letter-spacing: -0.8px;
	margin: 0;
}

/* Typography matches .nova-body utility — only overrides here */
#nova-cart-drawer .nova-cart-empty__text {
	margin: -24px 0 0;
}

/* Button base from .nova-btn .nova-btn--primary .nova-btn--lg — only overrides here */
#nova-cart-drawer .nova-cart-empty__cta {
	border-radius: 40px;
}

#nova-cart-drawer .nova-cart-empty__cta:hover {
	background: var(--nova-accent-hover, #7a3fe6);
	color: #ffffff;
	text-decoration: none;
}

/* === EMPTY CART STATE — CART PAGE === */

.nova-cart-page .nova-cart-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 32px;
	padding: 80px 24px;
	min-height: 60vh;
}

.nova-cart-page .nova-cart-empty__icon {
	display: flex;
	justify-content: center;
	color: var(--nova-accent, #8a4fff);
}

.nova-cart-page .nova-cart-empty__icon svg {
	width: 48px;
	height: 40px;
}

.nova-cart-page .nova-cart-empty__heading {
	font-family: var(--nova-font-heading, 'Stack Sans Text', 'Inter', sans-serif);
	font-size: 40px;
	font-weight: 400;
	color: var(--nova-text-dark, #0a0a0e);
	line-height: 40px;
	letter-spacing: -0.8px;
	margin: 0;
}

/* Typography matches .nova-body utility — only overrides here */
.nova-cart-page .nova-cart-empty__text {
	margin: -24px 0 0;
}

/* Button base from .nova-btn .nova-btn--primary .nova-btn--lg — only overrides here */
.nova-cart-page .nova-cart-empty__cta {
	border-radius: 40px;
}

.nova-cart-page .nova-cart-empty__cta:hover {
	background: var(--nova-accent-hover, #7a3fe6);
	color: #ffffff;
	text-decoration: none;
}

/* ===================================================================
   DRAWER CROSS-SELLS — compact horizontal-scroll cards inside drawer
   =================================================================== */

.nova-drawer-cross-sells {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--nova-border-light, #e5e5e5);
}

.nova-drawer-cross-sells__title {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--nova-text-secondary, #666);
	margin: 0 0 12px;
	padding: 0 24px;
}

/* Horizontal compact-card strip */
.nova-drawer-cross-sells__track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding: 0 24px 16px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.nova-drawer-cross-sells__track::-webkit-scrollbar {
	display: none;
}

.nova-drawer-cross-sells__track .nova-cs-card {
	scroll-snap-align: start;
}

/* Header row: title + nav buttons */
.nova-drawer-cross-sells__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 24px;
	margin-bottom: 12px;
}

/* Move title margin into the header layout */
.nova-drawer-cross-sells__header .nova-drawer-cross-sells__title {
	margin: 0;
	padding: 0;
}

/* Nav button group */
.nova-drawer-cross-sells__nav {
	display: flex;
	gap: 4px;
	flex-shrink: 0;
}

/* Prev/next buttons — drawer */
.nova-drawer-cross-sells__prev,
.nova-drawer-cross-sells__next {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1.5px solid var(--nova-text-dark, #0a0a0e);
	border-radius: 50%;
	background: #f4f5f7;
	color: var(--nova-text-dark, #0a0a0e);
	cursor: pointer;
	padding: 0;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	flex-shrink: 0;
}

.nova-drawer-cross-sells__prev:hover:not(:disabled),
.nova-drawer-cross-sells__next:hover:not(:disabled) {
	background: var(--nova-accent, #8a4fff);
	border-color: var(--nova-accent, #8a4fff);
	color: #ffffff;
}

.nova-drawer-cross-sells__prev:disabled,
.nova-drawer-cross-sells__next:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

@media (max-width: 480px) {
	.nova-drawer-cross-sells__title {
		padding: 0 16px;
	}

	.nova-drawer-cross-sells__header {
		padding: 0 16px;
	}

	.nova-drawer-cross-sells__track {
		padding: 0 16px 14px;
		gap: 12px;
	}
}

/* === MOBILE RESPONSIVE === */

@media (max-width: 780px) {
	#nova-cart-drawer {
		width: 440px;
	}
}

/* ── Mobile drawer rows: structural rework (2026-05-07) ──
   Desktop layout (trash top-right + stepper bottom-right + 92px min-height)
   leaves a hollow vertical column on phones and squeezes the title. On mobile
   we collapse trash + stepper into a single bottom-right row, drop the
   min-height, tighten gaps, and pill-ify the bulk-discount note. */

@media (max-width: 768px) {

	/* Tighter row padding */
	#nova-cart-drawer .mini_cart_item,
	#nova-cart-drawer .woocommerce-mini-cart-item {
		padding: 12px 0 !important;
		align-items: flex-start !important;
	}

	#nova-cart-drawer .nova-cart-item__left {
		gap: 12px;
	}

	/* Title gets the full width — info column stack tightens */
	#nova-cart-drawer .nova-cart-item__info {
		gap: 6px;
	}

	#nova-cart-drawer .nova-cart-item__text {
		gap: 4px;
	}

	#nova-cart-drawer .mini_cart_item .product-name,
	#nova-cart-drawer .nova-cart-item__info .product-name {
		font-size: 16px !important;
		line-height: 20px !important;
		max-height: 40px;
	}

	#nova-cart-drawer .nova-cart-item__desc {
		font-size: 12px;
		line-height: 16px;
	}

	#nova-cart-drawer .nova-cart-item__price {
		font-size: 16px;
		line-height: 20px;
	}

	/* Right column: row instead of column, no min-height — trash sits next
	   to the qty stepper at the row's natural baseline. */
	#nova-cart-drawer .nova-cart-item__actions {
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		min-height: 0;
		gap: 8px;
		margin-left: 8px;
		align-self: flex-end; /* anchor to bottom of row */
	}

	#nova-cart-drawer .nova-cart-item__actions .remove,
	#nova-cart-drawer .nova-cart-item__actions a.remove {
		width: 20px !important;
		height: 20px !important;
	}

	#nova-cart-drawer .nova-cart-item__actions .remove svg,
	#nova-cart-drawer .nova-cart-item__actions a.remove svg {
		width: 20px;
		height: 20px;
	}

	/* Bulk discount → compact pill.
	   WC renders this as <dl class="variation"><dt>Bulk Discount:</dt><dd>...</dd></dl>.
	   Hide the dt label and pill-ify the dd value. */
	#nova-cart-drawer .mini_cart_item dl.variation {
		display: inline-flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 4px;
		margin: 0;
	}

	#nova-cart-drawer .mini_cart_item dl.variation dt {
		display: none;
	}

	#nova-cart-drawer .mini_cart_item dl.variation dd,
	#nova-cart-drawer .mini_cart_item dl.variation dd p {
		display: inline;
		margin: 0;
		padding: 0;
		font-size: 11px;
		line-height: 1.3;
		font-weight: 500;
		color: var(--nova-accent, #8a4fff);
	}

	#nova-cart-drawer .mini_cart_item dl.variation dd {
		display: inline-flex;
		padding: 3px 8px;
		border-radius: 999px;
		background: rgba(138, 79, 255, 0.10);
	}

	/* Hide loyalty earn pill on mobile — reduces drawer body height
	   significantly. Customers still see the chip in the header and the
	   tab in My Account, so the message isn't lost. */
	#nova-cart-drawer .nova-cart-loyalty-pill,
	#nova-cart-drawer .nova-cart-drawer__loyalty {
		display: none !important;
	}

	/* Drawer header X close — smaller hit area */
	#nova-cart-drawer .nova-cart-drawer__close svg {
		width: 20px;
		height: 20px;
	}

	/* Promo code row — tighter */
	#nova-cart-drawer .nova-cart-drawer__promo {
		padding: 10px 16px;
	}

	#nova-cart-drawer .nova-cart-drawer__promo_internal {
		padding: 4px 12px;
		border-radius: 6px;
	}

	#nova-cart-drawer .nova-cart-drawer__promo-input,
	#nova-cart-drawer .nova-cart-drawer__promo-apply {
		font-size: 14px;
		line-height: 20px;
	}

	/* Proceed to Checkout — shorter button */
	#nova-cart-drawer .nova-cart-drawer__cta {
		height: 48px;
		line-height: 48px;
		font-size: 15px;
		margin: 0 16px 12px;
		max-width: calc(100% - 32px);
		padding: 0 16px;
	}

	/* Qty stepper — shrink the small variant for the drawer.
	   Aligns trash icon visually since both now sit at ~32px tall. */
	#nova-cart-drawer .nova-qty--sm .nova-qty__input {
		width: 88px;
		height: 32px;
		font-size: 14px;
		line-height: 20px;
	}

	#nova-cart-drawer .nova-qty--sm .nova-qty__btn svg {
		width: 14px;
		height: 14px;
	}

	#nova-cart-drawer .nova-qty--sm .nova-qty__minus { margin-right: -29px; }
	#nova-cart-drawer .nova-qty--sm .nova-qty__plus { margin-left: -29px; }

	/* Trash hit area now matches stepper button height — fixes misalignment */
	#nova-cart-drawer .nova-cart-item__actions .remove,
	#nova-cart-drawer .nova-cart-item__actions a.remove {
		width: 32px !important;
		height: 32px !important;
	}

	#nova-cart-drawer .nova-cart-item__actions .remove svg,
	#nova-cart-drawer .nova-cart-item__actions a.remove svg {
		width: 18px;
		height: 18px;
	}
}

@media (max-width: 480px) {
	#nova-cart-drawer {
		width: 100vw;
	}

	#nova-cart-drawer .nova-cart-item__thumb {
		width: 72px;
		height: 72px;
	}

	#nova-cart-drawer .nova-cart-item__thumb img {
		width: 72px !important;
		height: 72px !important;
		max-width: 72px !important;
	}
}


/* =================================================================
   DEDICATED CART PAGE — Figma node 468:2410
   Two-column: left 768px (items), right 504px (order summary)
   ================================================================= */

/* ── Header: white state on cart page ──────────────────────────── */

.woocommerce-cart #masthead.site-header {
	background-color: var(--nova-bg-white, #ffffff);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: 0 1px 0 rgba(10, 10, 14, 0.08);
}

.woocommerce-cart .nova-logo-light {
	display: none;
}

.woocommerce-cart .nova-logo-blue {
	display: block;
}

.woocommerce-cart .nova-nav-menu li a,
.woocommerce-cart .nova-nav-link {
	color: var(--nova-text-dark, #0a0a0e);
}

.woocommerce-cart .nova-search-form {
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: 1px solid rgba(10, 10, 14, 0.2);
	box-shadow: none;
}

.woocommerce-cart .nova-search-icon {
	color: var(--nova-text-dark, #0a0a0e);
}

.woocommerce-cart .nova-search-input,
.woocommerce-cart .nova-search-form input[type="search"] {
	color: var(--nova-text-dark, #0a0a0e);
}

.woocommerce-cart .nova-search-input::placeholder,
.woocommerce-cart .nova-search-form input[type="search"]::placeholder {
	color: rgba(10, 10, 14, 0.5);
	opacity: 1;
}

.woocommerce-cart .nova-account-icon,
.woocommerce-cart .nova-cart-link {
	color: var(--nova-text-dark, #0a0a0e);
}

.woocommerce-cart .hamburger-bar {
	background: var(--nova-text-dark, #0a0a0e);
}

/* ── Page wrapper ──────────────────────────────────────────────── */

.nova-cart-page {
	background: #ffffff;
	padding: 0 56px 80px;
	max-width: var(--nova-max-page-width, 1440px);
	margin: 0 auto;
}

/* ── Page header ───────────────────────────────────────────────── */

.nova-cart-page__header {
	padding: 24px 0 0;
}

/* Typography inherits from .nova-heading-xl utility — only layout overrides here.
   Re-declare font-size to prevent nova-heading-xl responsive breakpoints (1024px/768px)
   from overriding the cart page's own 640px breakpoint. */
.nova-cart-page__title {
	font-size: 56px;
	line-height: 56px;
	letter-spacing: -1.68px;
	margin: 0 0 8px;
	padding: 0;
}

.nova-cart-page__count {
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: rgba(10, 10, 14, 0.7);
	margin: 0 0 24px;
}

/* ── Two-column layout ─────────────────────────────────────────── */

.nova-cart-page__body {
	display: flex;
	align-items: flex-start;
	gap: 56px;
}

.nova-cart-page__items {
	flex: 1 1 0;
	min-width: 0;
}

.nova-cart-page__summary {
	flex: 0 0 460px;
	min-width: 0;
	position: sticky;
	top: 120px;
}

/* ── Cart item row ─────────────────────────────────────────────── */

.nova-cart-page-item {
	display: flex;
	align-items: center;
	gap: 64px;
	padding: 24px 0;
	border-bottom: 1px solid #e4e6f2;
}

.nova-cart-page-item:last-of-type {
	border-bottom: none;
}

/* Image + info group */

.nova-cart-page-item__main {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 32px;
	min-width: 0;
}

.nova-cart-page-item__image {
	flex-shrink: 0;
	width: 176px;
	height: 176px;
	border-radius: 16px;
	background: #e4e6f2;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nova-cart-page-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nova-cart-page-item__image a {
	display: block;
	width: 100%;
	height: 100%;
}

.nova-cart-page-item__info {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.nova-cart-page-item__text {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nova-cart-page-item__name,
.nova-cart-page-item__name a {
	display: block;
	font-family: var(--nova-font-heading, 'Stack Sans Text', sans-serif);
	font-size: 28px;
	font-weight: 500;
	line-height: 32px;
	color: var(--nova-text-dark, #0a0a0e);
	text-decoration: none;
}

.nova-cart-page-item__name a:hover {
	color: var(--nova-accent, #8a4fff);
}

/* Typography similar to .nova-body — using rgba for color here */
.nova-cart-page-item__desc {
	display: block;
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: rgba(10, 10, 14, 0.7);
}

/* Price — WC outputs <del> + <ins> for sale items */

.nova-cart-page-item__price {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.nova-cart-page-item__price span,
.nova-cart-page-item__price .woocommerce-Price-amount {
	font-family: var(--nova-font-heading, 'Stack Sans Text', sans-serif);
	font-size: 28px;
	font-weight: 500;
	line-height: 32px;
	color: var(--nova-accent, #8a4fff);
}

.nova-cart-page-item__price del {
	font-family: var(--nova-font-heading, 'Stack Sans Text', sans-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	color: var(--nova-text-dark);
	opacity: 0.45;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(10, 10, 14, 0.5);
	align-self: center;
}

.nova-cart-page-item__price del .woocommerce-Price-amount,
.nova-cart-page-item__price del .woocommerce-Price-currencySymbol {
	font-size: 16px;
	font-weight: 400;
	color: inherit;
}

.nova-cart-page-item__price ins {
	text-decoration: none;
}

.nova-cart-page-item__price ins .woocommerce-Price-amount {
	color: var(--nova-badge-sale);
}

.nova-cart-page-item__price ins .woocommerce-Price-currencySymbol {
	color: var(--nova-badge-sale);
}

/* Trash + qty stepper column */

.nova-cart-page-item__actions {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	height: 120px;
	align-items: flex-end;
	justify-content: space-between;
}

.nova-cart-page-item__remove {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--nova-text-dark, #0a0a0e);
	text-decoration: none;
	transition: color 0.15s ease, opacity 0.15s ease;
}

.nova-cart-page-item__remove:hover {
	color: var(--nova-accent, #8a4fff);
}

.nova-cart-page-item__remove svg path {
	fill: currentColor;
}

/* Cart-page qty stepper: larger pill than drawer */

.nova-qty--cart-page.nova-qty--sm .nova-qty__input {
	width: 120px;
	height: 48px;
	font-size: 20px;
	font-weight: 400;
	line-height: 32px;
}

.nova-qty--cart-page.nova-qty--sm .nova-qty__minus {
	margin-right: -42px;
}

.nova-qty--cart-page.nova-qty--sm .nova-qty__plus {
	margin-left: -42px;
}

.nova-qty--cart-page.nova-qty--sm .nova-qty__btn svg {
	width: 16px;
	height: 16px;
}

/* Loading state — .nova-updating base rule is defined in SHARED CART UTILITIES at top of file. */

/* ── Order Summary card ─────────────────────────────────────────── */

/* Surface matches .nova-surface-card (bg + border + radius) — unique layout here */
.nova-cart-page-summary {
	background: var(--nova-surface-light);
	border: 1px solid var(--nova-border-light);
	border-radius: var(--nova-radius-card);
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Typography inherits from .nova-heading-md utility — only overrides here */
.nova-cart-page-summary__title {
	margin: 0;
	padding: 0;
}

/* Applied coupon chips */

.nova-cart-page-coupons {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nova-cart-page-coupon-chip {
	background: #e5ffd9;
	border: 1px solid #2b8000;
	border-radius: 8px;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nova-cart-page-coupon-chip__left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nova-cart-page-coupon-chip__code {
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	font-size: 20px;
	font-weight: 500;
	line-height: 24px;
	color: var(--nova-text-dark, #0a0a0e);
	letter-spacing: 0.5px;
}

.nova-cart-page-coupon-remove {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: var(--nova-text-dark, #0a0a0e);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.15s ease;
	flex-shrink: 0;
}

.nova-cart-page-coupon-remove:hover {
	opacity: 0.6;
}

/* Coupon input form */

.nova-cart-page__coupon-form {
	display: flex;
	gap: 8px;
	align-items: center;
}

.nova-cart-page__coupon-input {
	flex: 1;
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	font-size: 14px;
	line-height: 20px;
	color: var(--nova-text-dark, #0a0a0e);
	background: #ffffff;
	border: 1px solid #c9ccd6;
	border-radius: 40px;
	padding: 10px 16px;
	outline: none;
	transition: border-color 0.15s ease;
}

.nova-cart-page__coupon-input:focus {
	border-color: var(--nova-accent, #8a4fff);
}

.nova-cart-page__coupon-input::placeholder {
	color: rgba(10, 10, 14, 0.4);
}

.nova-cart-page__coupon-apply {
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	color: #ffffff;
	background: var(--nova-accent, #8a4fff);
	border: none;
	border-radius: 40px;
	padding: 10px 20px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease;
	flex-shrink: 0;
}

.nova-cart-page__coupon-apply:hover {
	background: var(--nova-accent-hover, #7a3fee);
}

.nova-cart-page__coupon-apply:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Coupon message feedback
   Shared pattern: .is-success uses --nova-cart-success, .is-error uses --nova-cart-error */
.nova-cart-page__coupon-msg {
	font-size: 13px;
	line-height: 18px;
	margin: -12px 0 0;
	min-height: 0;
}

.nova-cart-page__coupon-msg.is-success {
	color: var(--nova-cart-success, #2b8000);
}

.nova-cart-page__coupon-msg.is-error {
	color: var(--nova-cart-error, #b30000);
}

/* Cost rows */

.nova-cart-page-costs {
	display: flex;
	flex-direction: column;
}

.nova-cart-page-cost-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 12px 0;
}

.nova-cart-page-cost-row--border {
	border-bottom: 1px solid #c9ccd6;
}

.nova-cart-page-cost-group {
	display: flex;
	flex-direction: column;
	padding: 0;
}

.nova-cart-page-cost-group.nova-cart-page-cost-row--border {
	border-bottom: 1px solid #c9ccd6;
}

.nova-cart-page-cost-group .nova-cart-page-cost-row {
	padding: 8px 0;
}

.nova-cart-page-cost-group .nova-cart-page-cost-row:first-child {
	padding-top: 12px;
}

.nova-cart-page-cost-group .nova-cart-page-cost-row:last-child {
	padding-bottom: 12px;
}

.nova-cart-page-cost-row__label {
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: var(--nova-text-dark, #0a0a0e);
}

.nova-cart-page-cost-row__value {
	font-family: var(--nova-font-body, 'Inter', sans-serif);
	font-size: 14px;
	font-weight: 400;
	line-height: 16px;
	color: var(--nova-text-dark, #0a0a0e);
	text-align: right;
}

.nova-cart-page-cost-row__value--bold {
	font-weight: 600;
}

.nova-cart-page-cost-row__value--green {
	color: #2b8000;
}

/* Total row */

.nova-cart-page-cost-row--total {
	padding: 12px 0;
}

.nova-cart-page-cost-row--total .nova-cart-page-cost-row__label,
.nova-cart-page-cost-row--total .nova-cart-page-cost-row__value {
	font-family: var(--nova-font-heading, 'Stack Sans Text', sans-serif);
	font-size: 28px;
	font-weight: 500;
	line-height: 32px;
	color: var(--nova-accent, #8a4fff);
}

/* Strip WC amount wrapper styles inside totals */

.nova-cart-page-costs .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

/* Checkout button + payment icons */

.nova-cart-page-summary__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Button base from .nova-btn .nova-btn--primary .nova-btn--lg .nova-btn--full — only overrides here */
.nova-cart-page-summary__checkout-btn {
	text-align: center;
	border-radius: 40px;
	box-sizing: border-box;
}

.nova-cart-page-summary__checkout-btn:hover,
.nova-cart-page-summary__checkout-btn:focus {
	background: var(--nova-accent-hover, #7a3fee);
	color: #ffffff;
	text-decoration: none;
}

/* Payment method icon badges */

.nova-cart-page-summary__payment-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.nova-payment-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 24px;
	border-radius: 4px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.3px;
	overflow: hidden;
	flex-shrink: 0;
}

.nova-payment-icon--visa {
	background: #1434cb;
	color: #ffffff;
	font-size: 11px;
	font-style: italic;
	letter-spacing: 1px;
}

.nova-payment-icon--mc {
	background: #ffffff;
	border: 1px solid #ebebeb;
	position: relative;
}

.nova-payment-icon-mc-left,
.nova-payment-icon-mc-right {
	position: absolute;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	top: 50%;
	transform: translateY(-50%);
}

.nova-payment-icon-mc-left {
	background: #eb001b;
	left: 8px;
}

.nova-payment-icon-mc-right {
	background: #f79e1b;
	right: 8px;
	mix-blend-mode: multiply;
}

.nova-payment-icon--paypal {
	background: #ffffff;
	border: 1px solid #ebebeb;
	font-size: 8px;
	font-weight: 800;
	color: #003087;
	letter-spacing: -0.2px;
}

.nova-payment-icon--paypal-gold {
	color: #009cde;
}

.nova-payment-icon--applepay {
	background: #000000;
	color: #ffffff;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: -0.3px;
}

.nova-payment-icon--amex {
	background: #006fcf;
	color: #ffffff;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

/* ── Responsive ─────────────────────────────────────────────────── */

@media ( max-width: 1200px ) {
	.nova-cart-page {
		padding: 0 32px 80px;
	}

	.nova-cart-page__body {
		gap: 32px;
	}

	.nova-cart-page__items {
		flex: 1;
	}

	.nova-cart-page__summary {
		flex: 0 0 420px;
	}
}

@media ( max-width: 960px ) {
	.nova-cart-page__body {
		flex-direction: column;
	}

	.nova-cart-page__items,
	.nova-cart-page__summary {
		flex: none;
		width: 100%;
	}

	.nova-cart-page__summary {
		position: static;
	}

	.nova-cart-page-item__image {
		width: 120px;
		height: 120px;
	}

	.nova-cart-page-item__name,
	.nova-cart-page-item__name a {
		font-size: 20px;
		line-height: 28px;
	}
}

@media ( max-width: 640px ) {
	.nova-cart-page {
		padding: 0 20px 60px;
	}

	.nova-cart-page__title {
		font-size: 40px;
		line-height: 44px;
	}

	.nova-cart-page-item {
		gap: 24px;
	}

	.nova-cart-page-item__image {
		width: 88px;
		height: 88px;
		border-radius: 10px;
	}

	.nova-cart-page-item__main {
		gap: 16px;
	}

	.nova-cart-page-summary {
		padding: 24px;
	}
}

/* ── Cart page small phone refinement (added 2026-05-07, Plan 29-07) ── */
@media ( max-width: 480px ) {
	.nova-cart-page {
		padding: 0 16px 48px;
	}

	.nova-cart-page__title {
		font-size: 32px;
		line-height: 36px;
		letter-spacing: -0.6px;
	}

	.nova-cart-page-item {
		gap: 16px;
	}

	.nova-cart-page-item__image {
		width: 72px;
		height: 72px;
		border-radius: 8px;
	}

	.nova-cart-page-item__name,
	.nova-cart-page-item__name a {
		font-size: 16px;
		line-height: 22px;
	}

	.nova-cart-page-item__main {
		gap: 12px;
	}

	.nova-cart-page-summary {
		padding: 20px 16px;
	}
}

.woocommerce-cart-form {
	width: 100% !important;
}

.col-full{
	max-width: 100% !important;
}

/* All-Sales-Final notice — cart + checkout */
.nova-all-sales-final {
    font-size: 12px;
    line-height: 1.5;
    color: var(--nova-text-dark);
    opacity: 0.75;
    border-left: 3px solid var(--nova-accent);
    padding: 8px 12px;
    margin: 0 0 12px;
    border-radius: var(--nova-radius-sm, 4px);
}
.nova-all-sales-final a {
    color: var(--nova-accent);
    text-decoration: underline;
}

/* ── Cross-sell strip (shared: cart page + drawer) ── */
.nova-cart-upsell {
    padding: 24px 0;
    border-top: 1px solid var(--nova-border-light);
}

.nova-cart-upsell__heading {
    font-family: var(--nova-font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--nova-text-dark);
    margin: 0 0 16px;
}

.nova-cart-upsell__strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.nova-cart-upsell__strip::-webkit-scrollbar {
    display: none;
}

/* ── Compact cross-sell card ── */
.nova-cs-card {
    position: relative;
    flex: 0 0 140px;
    width: 140px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Stretched-link pattern: the anchor covers the whole card to make the
   image + name + price clickable, while the ATC button sits above it
   (z-index) so its click reaches WC's add-to-cart delegate without being
   intercepted by the link. */
.nova-cs-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.nova-cs-card__btn,
.nova-cs-card .nova-oos-badge {
    position: relative;
    z-index: 2;
}

.nova-cs-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(138, 79, 255, 0.18);
    text-decoration: none;
}

.nova-cs-card__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f4f2fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
    box-sizing: border-box;
}

.nova-cs-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nova-cs-card__body {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nova-cs-card__name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0a0a0e;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nova-cs-card__price {
    font-size: 0.6875rem;
    color: rgba(10, 10, 14, 0.55);
    margin: 0 0 auto;
}

.nova-cs-card__price del {
    opacity: 0.5;
}

.nova-cs-card__btn {
    display: block;
    text-align: center;
    background: var(--nova-accent, #8a4fff);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 6px 8px;
    border-radius: 50px;
    margin-top: 10px;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Drawer variant — slightly narrower */
.nova-cs-card--drawer {
    flex: 0 0 145px;
    width: 145px;
}

/* ── Shipping insurance checkbox ── */
.nova-cart-insurance {
    padding: 12px 0;
    border-top: 1px solid var(--nova-border-light);
    margin-bottom: 8px;
}

.nova-cart-insurance__label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-family: var(--nova-font-body);
    font-size: 14px;
    color: var(--nova-text-dark);
}

.nova-cart-insurance__cb {
    margin-top: 2px;
    accent-color: var(--nova-accent);
    cursor: pointer;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.nova-cart-insurance__price {
    font-weight: 600;
}

.nova-cart-insurance__microcopy {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--nova-text-muted);
    line-height: 1.4;
}

/* Insurance as a cost row on the cart page */
.nova-cart-page-cost-row--insurance {
    cursor: default;
}

.nova-cart-page-cost-row__label--checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.nova-cart-page-cost-row__label--checkbox .nova-cart-insurance__cb {
    margin-top: 0;
    flex-shrink: 0;
}

/* Insurance row inside the drawer totals fragment */
.nova-cart-drawer__totals-row--insurance {
    cursor: default;
}

.nova-cart-drawer__totals-row-label--checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.nova-cart-drawer__totals-row-label--checkbox .nova-cart-insurance__cb {
    margin-top: 0;
    flex-shrink: 0;
    accent-color: var(--nova-accent);
    width: 15px;
    height: 15px;
}

/* ── Empty cart state ── */
.nova-cart-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.nova-cart-empty-state__heading {
    font-family: var(--nova-font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--nova-text-dark);
    margin: 0 0 12px;
}

.nova-cart-empty-state__body {
    font-family: var(--nova-font-body);
    font-size: 16px;
    color: var(--nova-text-dark-muted);
    margin: 0 0 24px;
}

.nova-cart-empty-state__cta {
    display: inline-block;
}

/* =============================================================================
   Cart-page cross-sells responsive override
   The base layout lives in cart-checkout.css, but the live site serves the
   minified `cart-checkout.min.css` (Customizer minify toggle = yes) so source
   edits don't ship until gulp rebuilds. nova-cart.css is global, never
   minified, and version-busted by filemtime() — placing the responsive rules
   here guarantees they apply on every environment without a build step.
   Mirrors `.nova-pdp-related__grid` treatment: 2-up at tablet, single-column
   at mobile.
   ============================================================================= */
@media (max-width: 1024px) {
    .nova-cross-sells__nav { display: none; }

    .nova-cross-sells__viewport { overflow: visible; }

    .nova-cross-sells__grid {
        flex-wrap: wrap;
        gap: 16px;
        transform: none !important;
    }

    .nova-cross-sells__grid .nova-product-card,
    .nova-cross-sells__grid .nova-shop-card {
        width: calc(50% - 8px) !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: 0 0 auto;
    }
}

@media (max-width: 767px) {
    .nova-cross-sells { padding-top: 32px; }

    .nova-cross-sells__header { margin-bottom: 16px; }

    .nova-cross-sells__title {
        font-size: 18px;
        line-height: 1.3;
    }

    /* Single-column stack — same pattern PDP related uses at this breakpoint. */
    .nova-cross-sells__grid .nova-product-card,
    .nova-cross-sells__grid .nova-shop-card {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .nova-cross-sells__title {
        font-size: 16px;
    }
}
