/**
 * Wall Art v2 Bidirectional Bundles (`Complete the Wall` & `Complete the Space`).
 *
 * Quiet-luxury styling:
 * - Warm off-white `#FAF8F5`, espresso `#1E1B18`, sage `#EEF2EC` / `#3D4E3B`.
 * - Crisp custom checkbox using inline SVG thin `✓` icon, `10px` radius / `44px` buttons.
 * - Zero emoji; clean responsive layout on both Wall Art v2 PDPs and matched Desk Mat PDPs.
 */

.pu-wa2-bundle-card {
	margin-top: 16px;
	padding: 18px;
	border-radius: 12px;
	background: #FAF8F5;
	border: 1px solid rgba(30, 27, 24, 0.13);
	color: #1E1B18;
	font-family: var(--pdp-sans, "DM Sans", "Inter", sans-serif);
	box-sizing: border-box;
}

.pu-wa2-bundle-card * {
	box-sizing: border-box;
}

.pu-wa2-bundle-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.pu-wa2-bundle-eyebrow {
	margin: 0 0 3px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: rgba(30, 27, 24, 0.58);
}

.pu-wa2-bundle-title {
	margin: 0;
	font-family: var(--pdp-serif, "Playfair Display", Georgia, serif);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	color: #1E1B18;
}

.pu-wa2-bundle-from {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 600;
	color: rgba(30, 27, 24, 0.72);
	white-space: nowrap;
}

.pu-wa2-wall-badge {
	flex: 0 0 auto;
	padding: 4px 10px;
	border-radius: 999px;
	background: #EEF2EC;
	color: #3D4E3B;
	border: 1px solid rgba(61, 78, 59, 0.22);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.1;
	white-space: nowrap;
}

.pu-wa2-wall-badge[hidden] {
	display: none !important;
}

.pu-wa2-wall-sub {
	margin: 0 0 12px;
	font-size: 12.5px;
	line-height: 1.4;
	color: rgba(30, 27, 24, 0.68);
}

/* Complete the Wall List */
.pu-wa2-wall-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pu-wa2-wall-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid rgba(30, 27, 24, 0.11);
	background: #FFFFFF;
	cursor: pointer;
	transition: border-color 0.16s ease, opacity 0.16s ease, background-color 0.16s ease;
}

.pu-wa2-wall-item:hover {
	border-color: rgba(61, 78, 59, 0.45);
}

.pu-wa2-wall-item.is-unchecked {
	opacity: 0.56;
	background: #FCFBF8;
}

.pu-wa2-wall-check-input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.pu-wa2-wall-check-box {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	border-radius: 6px;
	border: 1.5px solid rgba(30, 27, 24, 0.34);
	background: #FFFFFF;
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pu-wa2-wall-check-box svg {
	opacity: 0;
	transition: opacity 0.12s ease;
}

.pu-wa2-wall-check-input:checked + .pu-wa2-wall-check-box {
	background: #3D4E3B;
	border-color: #3D4E3B;
}

.pu-wa2-wall-check-input:checked + .pu-wa2-wall-check-box svg {
	opacity: 1;
}

.pu-wa2-wall-check-input:focus-visible + .pu-wa2-wall-check-box {
	outline: 2px solid #3D4E3B;
	outline-offset: 2px;
}

.pu-wa2-wall-thumb,
.pu-wa2-bundle-thumb {
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	border-radius: 8px;
	overflow: hidden;
	background: #F1EDE5;
	border: 1px solid rgba(30, 27, 24, 0.08);
	display: block;
}

.pu-wa2-wall-thumb img,
.pu-wa2-bundle-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pu-wa2-wall-meta {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.pu-wa2-wall-name-row {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.pu-wa2-wall-name,
.pu-wa2-bundle-name {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.3;
	color: #1E1B18;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

a.pu-wa2-wall-name:hover,
a.pu-wa2-bundle-name:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pu-wa2-wall-current-tag {
	align-self: flex-start;
	padding: 2px 7px;
	border-radius: 999px;
	background: #F4F0E8;
	border: 1px solid rgba(30, 27, 24, 0.10);
	font-size: 10.5px;
	font-weight: 600;
	color: rgba(30, 27, 24, 0.72);
}

.pu-wa2-wall-price,
.pu-wa2-space-price {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	white-space: nowrap;
	font-size: 13.5px;
}

.pu-wa2-bundle-reg {
	color: rgba(30, 27, 24, 0.45);
	font-size: 12px;
	font-weight: 400;
	text-decoration: line-through;
}

.pu-wa2-bundle-sale,
ins.pu-wa2-bundle-sale {
	color: #1E1B18;
	font-weight: 700;
	text-decoration: none;
}

.pu-wa2-wall-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(30, 27, 24, 0.10);
}

.pu-wa2-wall-total-wrap {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pu-wa2-wall-count {
	font-size: 11.5px;
	font-weight: 500;
	color: rgba(30, 27, 24, 0.62);
}

.pu-wa2-wall-total {
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	font-size: 15px;
}

/* Complete the Space Layout */
.pu-wa2-space-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.pu-wa2-bundle-thumb {
	flex: 0 0 68px;
	width: 68px;
	height: 68px;
}

.pu-wa2-space-info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pu-wa2-space-select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	height: 38px;
	padding: 0 26px 0 10px;
	border-radius: 8px;
	border: 1px solid rgba(30, 27, 24, 0.22);
	background: #FFFFFF;
	color: #1E1B18;
	font-size: 12.5px;
	font-weight: 500;
	text-overflow: ellipsis;
}

.pu-wa2-bundle-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 12px;
}

button.pu-wa2-bundle-btn,
a.pu-wa2-bundle-btn--link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 10px !important;
	border: 1px solid #1E1B18 !important;
	background: #1E1B18 !important;
	color: #FAF8F5 !important;
	font-family: var(--pdp-sans, "DM Sans", "Inter", sans-serif);
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

button.pu-wa2-bundle-btn:hover,
a.pu-wa2-bundle-btn--link:hover {
	background: #3D4E3B !important;
	border-color: #3D4E3B !important;
	color: #FFFFFF !important;
}

button.pu-wa2-bundle-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.pu-wa2-bundle-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 14px;
	border-radius: 10px;
	border: 1px solid rgba(30, 27, 24, 0.22);
	background: #FFFFFF;
	color: #1E1B18;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.16s ease, background-color 0.16s ease;
}

.pu-wa2-bundle-link:hover {
	border-color: #1E1B18;
	background: #FCFBF8;
}

.pu-wa2-bundle-status {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	margin: 10px 0 0;
	padding: 8px 11px;
	border-radius: 8px;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.4;
}

.pu-wa2-bundle-status[hidden] {
	display: none !important;
}

.pu-wa2-bundle-status.is-success {
	background: #EEF2EC;
	color: #3D4E3B;
	border: 1px solid rgba(61, 78, 59, 0.22);
}

.pu-wa2-bundle-status.is-error {
	background: #FDF2F0;
	color: #8A2C22;
	border: 1px solid rgba(138, 44, 34, 0.22);
}

.pu-wa2-bundle-cart-link {
	color: #1E1B18;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
	margin-left: auto;
}

@media (max-width: 540px) {
	.pu-wa2-bundle-card {
		padding: 15px 14px;
		margin-top: 12px;
	}
	.pu-wa2-space-select {
		font-size: 12px;
		padding: 0 22px 0 9px;
	}
	.pu-wa2-bundle-head,
	.pu-wa2-wall-footer {
		flex-direction: column;
		align-items: stretch;
	}
	.pu-wa2-wall-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
	.pu-wa2-bundle-actions {
		flex-direction: column;
		align-items: stretch;
	}
	button.pu-wa2-bundle-btn,
	a.pu-wa2-bundle-btn--link,
	.pu-wa2-bundle-link {
		width: 100%;
	}
}
