.iew-woo-cart-drawer-v2 {
	--iew-woo-cart-drawer-v2-badge-offset-x: 35%;
	--iew-woo-cart-drawer-v2-badge-offset-y: -35%;
	--iew-woo-cart-drawer-v2-backdrop: color-mix(in srgb, var(--e-global-color-secondary, #111827) 38%, transparent);
	--iew-woo-cart-drawer-v2-surface: var(--e-global-color-background, #ffffff);
	--iew-woo-cart-drawer-v2-text: var(--e-global-color-text, #111111);
	--iew-woo-cart-drawer-v2-line: color-mix(in srgb, var(--e-global-color-text, #111111) 8%, transparent);
	--iew-woo-cart-drawer-v2-soft-surface: color-mix(in srgb, var(--e-global-color-text, #111111) 4%, transparent);
	--iew-woo-cart-drawer-v2-shadow: 0 20px 50px color-mix(in srgb, var(--e-global-color-secondary, #111827) 16%, transparent);
	--iew-woo-cart-drawer-v2-shadow-drawer: 0 18px 48px color-mix(in srgb, var(--e-global-color-secondary, #111827) 18%, transparent);
	--iew-woo-cart-drawer-v2-button-bg: color-mix(in srgb, var(--e-global-color-text, #111111) 8%, transparent);
	--iew-woo-cart-drawer-v2-button-primary-bg: var(--e-global-color-primary, #111111);
	--iew-woo-cart-drawer-v2-button-primary-text: var(--e-global-color-background, #ffffff);
	display: inline-flex;
	position: relative;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	line-height: 1;
}

.iew-woo-cart-drawer-v2__trigger {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	max-width: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	color: inherit;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	cursor: pointer;
	text-align: left;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.iew-woo-cart-drawer-v2__trigger-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 0;
	color: inherit;
}

.iew-woo-cart-drawer-v2__trigger-icon i {
	font-size: 22px;
	line-height: 1;
}

.iew-woo-cart-drawer-v2__trigger-icon svg {
	width: 22px;
	height: 22px;
	display: block;
	fill: currentColor;
}

.iew-woo-cart-drawer-v2__trigger-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.iew-woo-cart-drawer-v2__trigger-label,
.iew-woo-cart-drawer-v2__trigger-subtotal {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: inherit;
	line-height: 1.3;
}

.iew-woo-cart-drawer-v2__trigger-subtotal > * {
	margin: 0;
	font: inherit;
	color: inherit;
}

.iew-woo-cart-drawer-v2__trigger-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	min-height: 22px;
	padding: 0 6px;
	line-height: 1;
	box-sizing: border-box;
	flex-shrink: 0;
	border-radius: 999px;
}

.iew-woo-cart-drawer-v2--count-badge .iew-woo-cart-drawer-v2__trigger-count {
	position: absolute;
	top: 0;
	right: 0;
	transform: translate(var(--iew-woo-cart-drawer-v2-badge-offset-x), var(--iew-woo-cart-drawer-v2-badge-offset-y));
	z-index: 2;
}

.iew-woo-cart-drawer-v2--count-inline .iew-woo-cart-drawer-v2__trigger-count {
	position: static;
	transform: none;
}

.iew-woo-cart-drawer-v2--display-icon-only .iew-woo-cart-drawer-v2__trigger-content {
	display: none;
}

.iew-woo-cart-drawer-v2--display-text-only .iew-woo-cart-drawer-v2__trigger-icon {
	display: none;
}

.iew-woo-cart-drawer-v2__portal-scope {
	position: static !important;
	width: 0 !important;
	height: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	overflow: visible !important;
	box-shadow: none !important;
	transform: none !important;
	contain: none !important;
	isolation: auto !important;
	pointer-events: none;
}

.iew-woo-cart-drawer-v2__portal-host {
	position: static !important;
	width: 0 !important;
	height: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	overflow: visible !important;
	z-index: auto !important;
	box-shadow: none !important;
	transform: none !important;
	pointer-events: none;
	contain: none !important;
	isolation: auto !important;
	flex: 0 0 auto !important;
	align-self: auto !important;
}

.iew-woo-cart-drawer-v2__portal-root {
	display: block;
	position: static;
	max-width: none;
	min-width: 0;
	line-height: 1;
	pointer-events: none;
}

.iew-woo-cart-drawer-v2__portal-root .iew-woo-cart-drawer-v2__panel,
.iew-woo-cart-drawer-v2__portal-root .iew-woo-cart-drawer-v2__backdrop {
	pointer-events: none;
}

.iew-woo-cart-drawer-v2__portal-root.is-open .iew-woo-cart-drawer-v2__panel,
.iew-woo-cart-drawer-v2__portal-root.is-open .iew-woo-cart-drawer-v2__backdrop {
	pointer-events: auto;
}

.iew-woo-cart-drawer-v2__backdrop {
	position: fixed;
	inset: 0;
	z-index: 9997;
	background: var(--iew-woo-cart-drawer-v2-backdrop);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

.iew-woo-cart-drawer-v2__panel {
	position: absolute;
	z-index: 9998;
	width: 525px;
	max-width: min(100vw, 525px);
	min-width: 280px;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	color: #111111;
	box-sizing: border-box;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
	overflow: hidden;
}

.iew-woo-cart-drawer-v2--mode-slideout-right .iew-woo-cart-drawer-v2__panel,
.iew-woo-cart-drawer-v2--mode-slideout-left .iew-woo-cart-drawer-v2__panel {
	position: fixed;
	top: 0;
	bottom: 0;
	height: 100dvh;
	max-width: min(100vw, 520px);
	transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
	box-shadow: var(--iew-woo-cart-drawer-v2-shadow-drawer);
	transform: translateX(100%);
}

.iew-woo-cart-drawer-v2--mode-slideout-right .iew-woo-cart-drawer-v2__panel {
	right: 0;
	left: auto;
	transform-origin: right center;
	transform: translateX(100%);
}

.iew-woo-cart-drawer-v2--mode-slideout-left .iew-woo-cart-drawer-v2__panel {
	left: 0;
	right: auto;
	transform-origin: left center;
	transform: translateX(-100%);
}

.iew-woo-cart-drawer-v2--mode-dropdown.iew-woo-cart-drawer-v2--panel-bottom-left .iew-woo-cart-drawer-v2__panel {
	top: calc(100% + 12px);
	left: 0;
	right: auto;
	transform-origin: top left;
}

.iew-woo-cart-drawer-v2--mode-dropdown.iew-woo-cart-drawer-v2--panel-bottom-right .iew-woo-cart-drawer-v2__panel {
	top: calc(100% + 12px);
	right: 0;
	left: auto;
	transform-origin: top right;
}

.iew-woo-cart-drawer-v2--mode-dropdown.iew-woo-cart-drawer-v2--panel-top-left .iew-woo-cart-drawer-v2__panel {
	bottom: calc(100% + 12px);
	left: 0;
	right: auto;
	transform: translateY(-8px);
	transform-origin: bottom left;
}

.iew-woo-cart-drawer-v2--mode-dropdown.iew-woo-cart-drawer-v2--panel-top-right .iew-woo-cart-drawer-v2__panel {
	bottom: calc(100% + 12px);
	right: 0;
	left: auto;
	transform: translateY(-8px);
	transform-origin: bottom right;
}

.iew-woo-cart-drawer-v2--mode-dropdown.is-open .iew-woo-cart-drawer-v2__panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.iew-woo-cart-drawer-v2.is-open .iew-woo-cart-drawer-v2__backdrop {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.iew-woo-cart-drawer-v2--mode-slideout-right.is-open .iew-woo-cart-drawer-v2__panel,
.iew-woo-cart-drawer-v2--mode-slideout-left.is-open .iew-woo-cart-drawer-v2__panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(0);
}

.iew-woo-cart-drawer-v2__panel-header,
.iew-woo-cart-drawer-v2__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 32px;
	box-sizing: border-box;
}

.iew-woo-cart-drawer-v2__panel-header {
	border-bottom: 0;
	padding-bottom: 22px;
}

.iew-woo-cart-drawer-v2__panel-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	min-width: 0;
	margin: 0;
}

.iew-woo-cart-drawer-v2__panel-close,
.iew-woo-cart-drawer-v2__item-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	line-height: 1;
	box-shadow: none;
}

.iew-woo-cart-drawer-v2__panel-close {
	width: 28px;
	height: 28px;
	font-size: 24px;
	flex-shrink: 0;
}

.iew-woo-cart-drawer-v2__content-scroll {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
}

.iew-woo-cart-drawer-v2__body {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 18px 32px 28px;
	flex: 0 0 auto;
	min-height: min-content;
	overflow: visible;
	box-sizing: border-box;
}

.iew-woo-cart-drawer-v2__empty {
	line-height: 1.5;
	color: inherit;
}

.iew-woo-cart-drawer-v2__item {
	--iew-cart-item-image-width: 100px;
	display: grid;
	grid-template-columns: var(--iew-cart-item-image-width) minmax(0, 1fr);
	gap: 30px;
	align-items: start;
	min-width: 0;
}

.iew-woo-cart-drawer-v2__item-image {
	display: block;
	width: 100px;
	height: 125px;
	overflow: hidden;
	border-radius: 0;
	background: #f4f4f4;
}

.iew-woo-cart-drawer-v2__item-image img,
.iew-woo-cart-drawer-v2__item-image svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.iew-woo-cart-drawer-v2__item-main {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	padding-top: 2px;
}

.iew-woo-cart-drawer-v2__item-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) max-content;
	align-items: start;
	gap: 16px;
	min-width: 0;
}

.iew-woo-cart-drawer-v2__item-title {
	display: block;
	min-width: 0;
	text-decoration: none;
	color: #111111;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	word-break: normal;
}

.iew-woo-cart-drawer-v2__item-title:hover,
.iew-woo-cart-drawer-v2__item-title:focus {
	text-decoration: none;
}

.iew-woo-cart-drawer-v2__item-remove {
	font-size: 20px;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.iew-woo-cart-drawer-v2__item-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	color: #111111;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
}

.iew-woo-cart-drawer-v2__item-meta p,
.iew-woo-cart-drawer-v2__item-meta dl,
.iew-woo-cart-drawer-v2__item-meta dd,
.iew-woo-cart-drawer-v2__item-meta dt {
	margin: 0;
}

.iew-woo-cart-drawer-v2__item-price {
	line-height: 1.35;
	font-size: 15px;
	font-weight: 600;
	color: #111111;
	white-space: nowrap;
	text-align: right;
}

.iew-woo-cart-drawer-v2__footer {
	flex-direction: column;
	align-items: stretch;
	margin-top: auto;
	border-top: 0;
	padding-top: 30px;
	padding-bottom: 20px;
}

.iew-woo-cart-drawer-v2__footer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	line-height: 1.4;
}

.iew-woo-cart-drawer-v2__footer-subtotal > * {
	margin: 0;
	font: inherit;
	color: inherit;
}

.iew-woo-cart-drawer-v2__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	width: 100%;
}

.iew-woo-cart-drawer-v2__button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 12px 14px !important; /* Protect against global theme/kit button padding */
	min-height: 44px;
	text-decoration: none;
	border: 0 !important;
	background: var(--iew-woo-cart-drawer-v2-button-bg);
	color: inherit;
	box-sizing: border-box !important;
	text-align: center;
	line-height: 1.3 !important;
}

.iew-woo-cart-drawer-v2__button--primary {
	background: var(--iew-woo-cart-drawer-v2-button-primary-bg);
	color: var(--iew-woo-cart-drawer-v2-button-primary-text);
}

.iew-woo-cart-drawer-v2__button:hover,
.iew-woo-cart-drawer-v2__button:focus {
	text-decoration: none;
	opacity: 0.92;
	transform: translateY(-1px);
}

.iew-woo-cart-drawer-v2.is-loading .iew-woo-cart-drawer-v2__body {
	opacity: 0.65;
}

body.iew-woo-cart-drawer-v2-drawer-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.iew-woo-cart-drawer-v2__panel {
		width: min(92vw, 360px);
	}

	.iew-woo-cart-drawer-v2--mode-slideout-right .iew-woo-cart-drawer-v2__panel,
	.iew-woo-cart-drawer-v2--mode-slideout-left .iew-woo-cart-drawer-v2__panel {
		width: 100vw;
		max-width: 100vw;
	}

	.iew-woo-cart-drawer-v2__panel-header,
	.iew-woo-cart-drawer-v2__body,
	.iew-woo-cart-drawer-v2__footer {
		padding-left: 16px;
		padding-right: 16px;
	}

	.iew-woo-cart-drawer-v2__item {
		--iew-cart-item-image-width: 88px;
		grid-template-columns: var(--iew-cart-item-image-width) minmax(0, 1fr);
		gap: 18px;
	}

	.iew-woo-cart-drawer-v2__item-image {
		width: 88px;
		height: 110px;
	}

	.iew-woo-cart-drawer-v2__actions {
		grid-template-columns: 1fr;
	}
}


/* Extended drawer modes */
.iew-woo-cart-drawer-v2--mode-slideout-top .iew-woo-cart-drawer-v2__panel,
.iew-woo-cart-drawer-v2--mode-slideout-bottom .iew-woo-cart-drawer-v2__panel,
.iew-woo-cart-drawer-v2--mode-fade .iew-woo-cart-drawer-v2__panel {
	position: fixed;
	z-index: 9998;
	max-width: min(100vw, 760px);
	max-height: 100dvh;
}

.iew-woo-cart-drawer-v2--mode-slideout-top .iew-woo-cart-drawer-v2__panel {
	top: 0;
	left: 50%;
	right: auto;
	bottom: auto;
	transform: translate(-50%, -100%);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.iew-woo-cart-drawer-v2--mode-slideout-bottom .iew-woo-cart-drawer-v2__panel {
	bottom: 0;
	left: 50%;
	right: auto;
	top: auto;
	transform: translate(-50%, 100%);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.iew-woo-cart-drawer-v2--mode-fade .iew-woo-cart-drawer-v2__panel {
	top: 50%;
	left: 50%;
	right: auto;
	bottom: auto;
	transform: translate(-50%, -48%) scale(.985);
}

.iew-woo-cart-drawer-v2--mode-slideout-top.is-open .iew-woo-cart-drawer-v2__panel,
.iew-woo-cart-drawer-v2--mode-slideout-top .iew-woo-cart-drawer-v2__portal-root.is-open .iew-woo-cart-drawer-v2__panel {
	transform: translate(-50%, 0);
}

.iew-woo-cart-drawer-v2--mode-slideout-bottom.is-open .iew-woo-cart-drawer-v2__panel,
.iew-woo-cart-drawer-v2--mode-slideout-bottom .iew-woo-cart-drawer-v2__portal-root.is-open .iew-woo-cart-drawer-v2__panel {
	transform: translate(-50%, 0);
}

.iew-woo-cart-drawer-v2--mode-fade.is-open .iew-woo-cart-drawer-v2__panel,
.iew-woo-cart-drawer-v2--mode-fade .iew-woo-cart-drawer-v2__portal-root.is-open .iew-woo-cart-drawer-v2__panel {
	transform: translate(-50%, -50%) scale(1);
}

/* Portal copies receive mode class directly */
.iew-woo-cart-drawer-v2__portal-root.iew-woo-cart-drawer-v2--mode-slideout-top .iew-woo-cart-drawer-v2__panel {
	top: 0; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -100%);
}
.iew-woo-cart-drawer-v2__portal-root.iew-woo-cart-drawer-v2--mode-slideout-top.is-open .iew-woo-cart-drawer-v2__panel {
	transform: translate(-50%, 0);
}
.iew-woo-cart-drawer-v2__portal-root.iew-woo-cart-drawer-v2--mode-slideout-bottom .iew-woo-cart-drawer-v2__panel {
	bottom: 0; left: 50%; right: auto; top: auto; transform: translate(-50%, 100%);
}
.iew-woo-cart-drawer-v2__portal-root.iew-woo-cart-drawer-v2--mode-slideout-bottom.is-open .iew-woo-cart-drawer-v2__panel {
	transform: translate(-50%, 0);
}
.iew-woo-cart-drawer-v2__portal-root.iew-woo-cart-drawer-v2--mode-fade .iew-woo-cart-drawer-v2__panel {
	top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -48%) scale(.985);
}
.iew-woo-cart-drawer-v2__portal-root.iew-woo-cart-drawer-v2--mode-fade.is-open .iew-woo-cart-drawer-v2__panel {
	transform: translate(-50%, -50%) scale(1);
}

.iew-woo-cart-drawer-v2__item-bottom {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin-top: 22px;
}

.iew-woo-cart-drawer-v2__quantity {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	border: 1px solid #c8c8c8;
	border-radius: 2px;
	overflow: hidden;
	background: #ffffff;
	color: #111111;
}

.iew-woo-cart-drawer-v2__quantity-button {
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	width: 32px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
	font: inherit;
	line-height: 1;
}

.iew-woo-cart-drawer-v2__quantity-button:hover,
.iew-woo-cart-drawer-v2__quantity-button:focus-visible {
	background: var(--iew-woo-cart-drawer-v2-soft-surface);
}

.iew-woo-cart-drawer-v2__quantity-value {
	min-width: 30px;
	text-align: center;
	line-height: 1;
}

.iew-woo-cart-drawer-v2__related {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	box-sizing: border-box;
	border-top: 0;
	padding: 36px 32px 24px;
	background: #ece9e3;
}

.iew-woo-cart-drawer-v2__related-heading {
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 18px;
}

.iew-woo-cart-drawer-v2__related-grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(220px, 1fr);
	gap: 12px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	padding-bottom: 3px;
}

.iew-woo-cart-drawer-v2__related-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 7px;
}

.iew-woo-cart-drawer-v2__related-image {
	display: block;
	width: 100%;
	height: 268px;
	overflow: hidden;
	background: #fff;
}

.iew-woo-cart-drawer-v2__related-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.iew-woo-cart-drawer-v2__related-title {
	color: inherit;
	text-decoration: none;
	line-height: 1.25;
	font-size: .9rem;
}

.iew-woo-cart-drawer-v2__related-price {
	font-size: .86rem;
	line-height: 1.2;
}

.iew-woo-cart-drawer-v2__related-add.button {
	margin-top: auto;
	width: 100%;
	min-height: 34px;
	padding: 8px 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: .8rem;
	line-height: 1.1;
}

@keyframes iewCartItemIn {
	0% { opacity: 0; transform: translateY(10px); }
	100% { opacity: 1; transform: translateY(0); }
}
.iew-woo-cart-drawer-v2__item.is-new {
	animation: iewCartItemIn .36s ease both;
}

.iew-woo-cart-drawer-v2.is-loading .iew-woo-cart-drawer-v2__body,
.iew-woo-cart-drawer-v2__portal-root.is-loading .iew-woo-cart-drawer-v2__body {
	opacity: .65;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.iew-woo-cart-drawer-v2__panel,
	.iew-woo-cart-drawer-v2__backdrop,
	.iew-woo-cart-drawer-v2__item.is-new {
		transition: none !important;
		animation: none !important;
	}
}

.iew-woo-cart-drawer-v2__portal-root.is-open .iew-woo-cart-drawer-v2__backdrop {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.iew-woo-cart-drawer-v2__portal-root.is-open .iew-woo-cart-drawer-v2__panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Target default: quantity controls remove by decrementing to zero.
   Dedicated × can be enabled in Elementor when desired. */
.iew-woo-cart-drawer-v2__item-remove {
	display: none;
}
.iew-woo-cart-drawer-v2--show-remove .iew-woo-cart-drawer-v2__item-remove,
.iew-woo-cart-drawer-v2__portal-root.iew-woo-cart-drawer-v2--show-remove .iew-woo-cart-drawer-v2__item-remove {
	display: inline-flex;
}
