/* VM Smart Offers — compact isolated cart/checkout UI. */
.vmso-root,
.vmso-root * {
	box-sizing: border-box !important;
}

.vmso-root {
	--vmso-primary: #0067ed;
	--vmso-primary-hover: #0058cd;
	--vmso-badge: #d92d3e;
	--vmso-success: #0a8f4d;
	--vmso-border: #dfe7f3;
	--vmso-radius: 14px;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #0f1f3d !important;
	font-family: Roboto, Arial, sans-serif !important;
	font-size: 15px !important;
	font-style: normal !important;
	line-height: 1.4 !important;
	text-align: left !important;
}

.vmso-root .vmso-shell {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Top accordion exactly like approved preview */
.vmso-root button.vmso-shell-toggle {
	all: unset !important;
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 13px !important;
	width: 100% !important;
	min-height: 84px !important;
	margin: 0 0 14px !important;
	padding: 15px 18px !important;
	border: 1px solid #dce7f7 !important;
	border-radius: 14px !important;
	background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%) !important;
	color: #0f1f3d !important;
	cursor: pointer !important;
	box-shadow: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

.vmso-root button.vmso-shell-toggle:focus,
.vmso-root button.vmso-shell-toggle:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

.vmso-root .vmso-shell-copy-wrap {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	min-width: 0 !important;
}

.vmso-root .vmso-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 46px !important;
	width: 46px !important;
	height: 50px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 11px !important;
	background: #e5f0ff !important;
	color: var(--vmso-primary) !important;
}

.vmso-root svg {
	display: block !important;
	width: 19px !important;
	height: 19px !important;
	margin: 0 !important;
	padding: 0 !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.9 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

.vmso-root .vmso-shell-copy {
	display: block !important;
	min-width: 0 !important;
}

.vmso-root .vmso-shell-copy strong,
.vmso-root .vmso-shell-copy small {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-family: inherit !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.vmso-root .vmso-shell-copy strong {
	color: #101c36 !important;
	font-size: 16.5px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
}

.vmso-root .vmso-shell-copy small {
	margin-top: 2px !important;
	color: #65708a !important;
	font-size: 12.5px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
}

.vmso-root .vmso-shell-chevron {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 20px !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	color: #15223b !important;
	transition: transform .18s ease !important;
}

.vmso-root .vmso-shell-chevron svg {
	width: 16px !important;
	height: 16px !important;
	stroke-width: 2 !important;
}

.vmso-root .vmso-shell-toggle[aria-expanded="false"] .vmso-shell-chevron {
	transform: rotate(-90deg) !important;
}

.vmso-root .vmso-shell-panel {
	display: grid !important;
	gap: 10px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.vmso-root .vmso-shell-panel[hidden] {
	display: none !important;
}

/* Main offer card */
.vmso-root .vmso-offer {
	display: block !important;
	overflow: hidden !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #e0e7f0 !important;
	border-radius: 14px !important;
	background: #ffffff !important;
	box-shadow: none !important;
}

.vmso-root .vmso-offer-head {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 14px 18px 10px !important;
	border: 0 !important;
	background: #ffffff !important;
}

.vmso-root .vmso-offer-label {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	min-width: 0 !important;
}

.vmso-root .vmso-offer-label > strong {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #101c36 !important;
	background: transparent !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.vmso-root .vmso-badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto !important;
	min-height: 28px !important;
	margin: 0 !important;
	padding: 5px 11px !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #d92d3e !important;
	background: #ffe8e8 !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	white-space: nowrap !important;
}

.vmso-root .vmso-more {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	flex: 0 0 auto !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--vmso-primary) !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
}

.vmso-root .vmso-more-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 14px !important;
	height: 14px !important;
}

.vmso-root .vmso-more-icon svg {
	width: 13px !important;
	height: 13px !important;
	stroke-width: 2 !important;
}

.vmso-root .vmso-offer-body {
	display: block !important;
	margin: 0 !important;
	padding: 0 13px 13px !important;
	border: 0 !important;
	background: #ffffff !important;
}

/* Bordered inner area from the approved design */
.vmso-root .vmso-product-line {
	display: grid !important;
	grid-template-columns: 64px minmax(0, 1fr) 96px 108px !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	min-height: 82px !important;
	margin: 0 !important;
	padding: 10px 0 12px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.vmso-root .vmso-product-thumb {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: hidden !important;
	width: 64px !important;
	height: 64px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #e7edf5 !important;
	border-radius: 10px !important;
	background: #ffffff !important;
}

.vmso-root .vmso-product-thumb img,
.vmso-root .vmso-product-image {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	object-fit: contain !important;
	box-shadow: none !important;
}

.vmso-root .vmso-product-copy {
	display: block !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.vmso-root .vmso-product-copy strong,
.vmso-root .vmso-product-copy small {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-family: inherit !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.vmso-root .vmso-product-copy strong {
	overflow: hidden !important;
	color: #101c36 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

.vmso-root .vmso-product-copy small {
	margin-top: 4px !important;
	color: #667085 !important;
	font-size: 11.5px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
}

.vmso-root .vmso-price {
	display: block !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: right !important;
	white-space: nowrap !important;
}

.vmso-root .vmso-price del,
.vmso-root .vmso-price strong {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	font-family: inherit !important;
	white-space: nowrap !important;
}

.vmso-root .vmso-price del {
	color: #0067ed !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	text-decoration-line: line-through !important;
	text-decoration-color: #dc2626 !important;
	text-decoration-thickness: 2px !important;
}

.vmso-root .vmso-price strong {
	margin-top: 2px !important;
	color: #dc2626 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
}

.vmso-root .vmso-price .amount,
.vmso-root .vmso-price bdi,
.vmso-root .vmso-price .woocommerce-Price-currencySymbol,
.vmso-root .vmso-saving .amount,
.vmso-root .vmso-saving bdi,
.vmso-root .vmso-saving .woocommerce-Price-currencySymbol {
	color: inherit !important;
	font: inherit !important;
	line-height: inherit !important;
	white-space: nowrap !important;
}

.vmso-root button.vmso-action {
	all: unset !important;
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	width: 108px !important;
	height: 46px !important;
	margin: 0 !important;
	padding: 10px 12px !important;
	border: 1px solid var(--vmso-primary) !important;
	border-radius: 10px !important;
	color: #ffffff !important;
	background: var(--vmso-primary) !important;
	font-family: Roboto, Arial, sans-serif !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.15 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	white-space: nowrap !important;
	cursor: pointer !important;
	box-shadow: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	transition: background-color .18s ease, border-color .18s ease !important;
}

.vmso-root button.vmso-action:hover {
	border-color: var(--vmso-primary-hover) !important;
	background: var(--vmso-primary-hover) !important;
	color: #ffffff !important;
}

.vmso-root button.vmso-action:focus,
.vmso-root button.vmso-action:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

.vmso-root button.vmso-action:disabled {
	cursor: wait !important;
	opacity: .7 !important;
}

.vmso-root button.vmso-action svg {
	width: 15px !important;
	height: 15px !important;
}

.vmso-root button.vmso-action > span {
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	color: inherit !important;
	background: transparent !important;
	font: inherit !important;
	text-transform: inherit !important;
	letter-spacing: inherit !important;
}

.vmso-root button.vmso-action.is-loading > span:first-child {
	width: 15px !important;
	height: 15px !important;
	border: 2px solid rgba(255, 255, 255, .45) !important;
	border-top-color: #ffffff !important;
	border-radius: 50% !important;
	animation: vmso-spin .8s linear infinite !important;
}

.vmso-root button.vmso-action.is-loading > span:first-child svg {
	display: none !important;
}

.vmso-root .vmso-saving {
	display: flex !important;
	align-items: center !important;
	gap: 9px !important;
	width: 100% !important;
	min-height: 40px !important;
	margin: 4px 0 0 !important;
	padding: 10px 13px !important;
	border: 1px solid #d8efdf !important;
	border-radius: 10px !important;
	color: #078d4c !important;
	background: linear-gradient(90deg, #eefbf3 0%, #f5fff8 100%) !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
}

.vmso-root .vmso-saving-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 18px !important;
	width: 18px !important;
	height: 18px !important;
}

.vmso-root .vmso-saving-icon svg {
	width: 17px !important;
	height: 17px !important;
	stroke-width: 2 !important;
}

.vmso-root .vmso-error {
	margin: 8px 0 0 !important;
	padding: 8px 10px !important;
	border: 0 !important;
	border-radius: 8px !important;
	color: #a61b2b !important;
	background: #fff1f2 !important;
	font-family: inherit !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	text-align: center !important;
}

.vmso-root .vmso-success {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 150px !important;
	margin: 0 !important;
	padding: 20px 16px !important;
	border: 0 !important;
	background: #ffffff !important;
	text-align: center !important;
}

.vmso-root .vmso-success[hidden],
.vmso-root .vmso-topbar[hidden],
.vmso-root .vmso-content[hidden] {
	display: none !important;
}

.vmso-root .vmso-success-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 52px !important;
	height: 52px !important;
	margin: 0 0 10px !important;
	border-radius: 50% !important;
	color: var(--vmso-success) !important;
	background: #ecf9f1 !important;
}

.vmso-root .vmso-success-icon svg {
	width: 28px !important;
	height: 28px !important;
}

.vmso-root .vmso-success > strong {
	margin: 0 !important;
	color: #101c36 !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 700 !important;
}

.vmso-root .vmso-success p {
	margin: 5px 0 0 !important;
	padding: 0 !important;
	color: #667085 !important;
	font-family: inherit !important;
	font-size: 11.5px !important;
}

.vmso-locked-quantity {
	display: inline-block !important;
	white-space: nowrap !important;
}

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

@media (max-width: 1024px) {
	.vmso-root .vmso-offer {
		border-radius: 6px !important;
	}

	.vmso-root .vmso-offer-head {
		padding: 12px 14px 9px !important;
	}

	.vmso-root .vmso-offer-label > strong {
		font-size: 16px !important;
	}

	.vmso-root .vmso-offer-body {
		padding: 0 14px 14px !important;
	}

	.vmso-root .vmso-product-line {
		grid-template-columns: 72px minmax(0, 1fr) 92px 112px !important;
		gap: 12px !important;
		padding: 10px 0 12px !important;
	}

	.vmso-root .vmso-product-thumb {
		width: 72px !important;
		height: 72px !important;
		border-radius: 6px !important;
	}

	.vmso-root .vmso-product-copy strong {
		font-size: 15px !important;
		white-space: normal !important;
	}

	.vmso-root .vmso-product-copy small {
		font-size: 12.5px !important;
	}

	.vmso-root .vmso-price del {
		font-size: 12px !important;
	}

	.vmso-root .vmso-price strong {
		font-size: 15px !important;
	}

	.vmso-root button.vmso-action {
		border-radius: 6px !important;
	}

	.vmso-root .vmso-saving {
		border-radius: 6px !important;
		font-size: 12.5px !important;
	}
}

/* Mobile = the compact stacked version from the approved reference */
@media (max-width: 767px) {
	.vmso-root button.vmso-shell-toggle {
		min-height: 74px !important;
		margin-bottom: 8px !important;
		padding: 12px 14px !important;
		border-radius: 11px !important;
	}

	.vmso-root .vmso-shell-copy-wrap {
		gap: 8px !important;
	}

	.vmso-root .vmso-icon {
		flex-basis: 38px !important;
		width: 44px !important;
		height: 44px !important;
		border-radius: 8px !important;
	}

	.vmso-root .vmso-icon svg {
		width: 16px !important;
		height: 16px !important;
	}

	.vmso-root .vmso-shell-copy strong {
		font-size: 13.5px !important;
	}

	.vmso-root .vmso-shell-copy small {
		font-size: 11.5px !important;
	}

	.vmso-root .vmso-offer {
		border-radius: 6px !important;
	}

	.vmso-root .vmso-offer-head {
		padding: 10px 12px 8px !important;
	}

	.vmso-root .vmso-offer-label {
		gap: 6px !important;
	}

	.vmso-root .vmso-offer-label > strong {
		font-size: 14px !important;
	}

	.vmso-root .vmso-badge {
		min-height: 20px !important;
		padding: 3px 7px !important;
		font-size: 9px !important;
	}

	.vmso-root .vmso-more {
		display: none !important;
	}

	.vmso-root .vmso-offer-body {
		padding: 0 12px 12px !important;
	}

	.vmso-root .vmso-product-line {
		grid-template-columns: 60px minmax(0, 1fr) auto !important;
		grid-template-areas:
			"thumb copy price"
			"button button button" !important;
		gap: 10px !important;
		min-height: 0 !important;
		padding: 10px 0 12px !important;
		border-radius: 0 !important;
	}

	.vmso-root .vmso-product-thumb {
		grid-area: thumb !important;
		width: 56px !important;
		height: 56px !important;
		border-radius: 6px !important;
	}

	.vmso-root .vmso-product-copy {
		grid-area: copy !important;
	}

	.vmso-root .vmso-product-copy strong {
		font-size: 13px !important;
		line-height: 1.22 !important;
		white-space: normal !important;
	}

	.vmso-root .vmso-product-copy small {
		margin-top: 3px !important;
		font-size: 12px !important;
	}

	.vmso-root .vmso-price {
		grid-area: price !important;
	}

	.vmso-root .vmso-price del {
		font-size: 10.5px !important;
	}

	.vmso-root .vmso-price strong {
		font-size: 13px !important;
	}

	.vmso-root button.vmso-action {
		grid-area: button !important;
		width: 100% !important;
		height: 40px !important;
		padding: 9px 12px !important;
		border-radius: 6px !important;
		font-size: 11.5px !important;
	}

	.vmso-root button.vmso-action svg {
		width: 14px !important;
		height: 14px !important;
	}

	.vmso-root .vmso-saving {
		min-height: 38px !important;
		padding: 9px 10px !important;
		border-radius: 6px !important;
		font-size: 10.5px !important;
	}

	.vmso-root .vmso-saving-icon {
		flex-basis: 14px !important;
		width: 15px !important;
		height: 15px !important;
	}

	.vmso-root .vmso-saving-icon svg {
		width: 13px !important;
		height: 13px !important;
	}
}


/* Heading weight and font adjustment */
.vmso-root .vmso-shell-copy strong,
.vmso-root .vmso-offer-label > strong {
	font-weight: 600 !important;
	font-family: Roboto, Arial, sans-serif !important;
}


/* ===== VM Smart Offers final visual override =====
 * Scoped only to .vmso-root. Keeps offer logic untouched.
 */
.vmso-root .vmso-offer-body .vmso-product-line {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.vmso-root .vmso-offer-body .vmso-price del,
.vmso-root .vmso-offer-body .vmso-price del .amount,
.vmso-root .vmso-offer-body .vmso-price del bdi,
.vmso-root .vmso-offer-body .vmso-price del .woocommerce-Price-currencySymbol {
    color: #0067ed !important;
    text-decoration-line: line-through !important;
    text-decoration-color: #dc2626 !important;
    text-decoration-thickness: 2px !important;
}

.vmso-root .vmso-offer-body .vmso-price > strong,
.vmso-root .vmso-offer-body .vmso-price > strong .amount,
.vmso-root .vmso-offer-body .vmso-price > strong bdi,
.vmso-root .vmso-offer-body .vmso-price > strong .woocommerce-Price-currencySymbol {
    color: #dc2626 !important;
}

@media (max-width: 1024px) {
    .vmso-root .vmso-offer {
        border-radius: 6px !important;
    }

    .vmso-root .vmso-product-thumb,
    .vmso-root button.vmso-action,
    .vmso-root .vmso-saving {
        border-radius: 6px !important;
    }
}

@media (max-width: 767px) {
    .vmso-root .vmso-product-copy strong {
        font-size: 13px !important;
        line-height: 1.25 !important;
    }

    .vmso-root .vmso-product-copy small {
        font-size: 12px !important;
    }

    .vmso-root .vmso-product-thumb {
        width: 56px !important;
        height: 56px !important;
    }

    .vmso-root .vmso-price del {
        font-size: 10.5px !important;
    }

    .vmso-root .vmso-price > strong {
        font-size: 13px !important;
    }
}
