/* Podxmas upsell / cross-sell merchandising */

.podxmas-upsell-grid-title,
.podxmas-gift-set .podxmas-upsell-grid-title,
.podxmas-empty-cart-grid .podxmas-upsell-grid-title,
.podxmas-thankyou-grid .podxmas-upsell-grid-title {
	margin: 0 0 1rem;
	font-size: 1.125rem;
	font-weight: 800;
	color: #121212;
}

.podxmas-upsell-products {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.podxmas-gift-set-wrap {
	margin-top: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid #eee;
}

.podxmas-gift-set-title {
	margin: 0 0 0.5rem;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #888;
}

.podxmas-gift-set-strip {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
}

.podxmas-gift-set-item {
	flex: 1 1 0;
	min-width: 0;
	max-width: 33.333%;
}

.podxmas-gift-set-link {
	display: block;
	text-decoration: none;
}

.podxmas-gift-set-img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	height: auto;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #eee;
	background: #fff;
}

.podxmas-gift-set-link .podxmas-save-badge,
.podxmas-gift-set-link .onsale {
	display: none !important;
}

/* Free shipping bar */
.podxmas-free-ship-bar {
	margin: 0 0 0.85rem;
	padding: 0.65rem 0.75rem;
	background: #f8f8f8;
	border: 1px solid #eee;
	border-radius: 8px;
}

.podxmas-free-ship-bar-text {
	margin: 0 0 0.45rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #333;
}

.podxmas-free-ship-bar-text--done {
	color: #0a7a3e;
}

.podxmas-free-ship-bar-track {
	height: 6px;
	background: #e8e8e8;
	border-radius: 999px;
	overflow: hidden;
}

.podxmas-free-ship-bar-fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #121212, #444);
	border-radius: 999px;
	transition: width 0.25s ease;
}

/* Mini-cart cross-sells */
.podxmas-mini-cart-cross-sells {
	margin: 0 0 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid #eee;
}

.podxmas-mini-cart-cross-sells-title {
	margin: 0 0 0.5rem;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #888;
}

.podxmas-mini-cart-cross-sells-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.podxmas-mini-cart-cross-sell + .podxmas-mini-cart-cross-sell {
	margin-top: 0.5rem;
}

.podxmas-mini-cart-cross-sell-link {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	gap: 0.5rem;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

.podxmas-mini-cart-cross-sell-img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 6px;
}

.podxmas-mini-cart-cross-sell-name {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.25;
	color: #121212;
}

.podxmas-mini-cart-cross-sell-price {
	font-size: 0.75rem;
	font-weight: 700;
	color: #555;
	white-space: nowrap;
}

/* Empty cart bestsellers */
.podxmas-cart-empty-bestsellers {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}

/* Checkout order bump */
.podxmas-order-bump {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	background: #fafafa;
	border: 1.5px dashed #ccc;
	border-radius: 8px;
}

.podxmas-order-bump-label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0;
	cursor: pointer;
}

.podxmas-order-bump-input {
	margin-top: 0.2rem;
	flex-shrink: 0;
}

.podxmas-order-bump-copy {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	font-size: 0.875rem;
	line-height: 1.35;
}

.podxmas-order-bump-price {
	font-size: 0.8125rem;
	font-weight: 700;
	color: #121212;
}

/* Thank you upsell */
.podxmas-thankyou-upsell {
	margin: 2rem 0 0;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}

.podxmas-thankyou-upsell-meta {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	text-align: center;
}

.podxmas-thankyou-upsell-meta a {
	font-weight: 600;
}

body.podxmas-cart-page .podxmas-free-ship-bar {
	margin-bottom: 1rem;
}

@media (max-width: 849px) {
	.podxmas-upsell-products.columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
