
.vmo-pp-modal-open,
.vmo-pp-drawer-open {
	overflow: hidden;
}

.vmo-pp-modal,
.vmo-pp-drawer {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	font-family: Poppins, Arial, sans-serif;
}

.vmo-pp-modal.is-visible,
.vmo-pp-drawer.is-visible {
	display: block;
}

.vmo-pp-modal__backdrop,
.vmo-pp-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.64);
	backdrop-filter: blur(10px);
}

.vmo-pp-modal__dialog {
	position: relative;
	z-index: 2;
	width: min(92vw, 620px);
	margin: 8vh auto 0;
	background: #ffffff;
	border-radius: 28px;
	box-shadow: 0 35px 80px rgba(15, 23, 42, 0.22);
	padding: 62px 32px 30px;
	text-align: center;
}

.vmo-pp-drawer__panel {
	position: absolute;
	inset: 0;
	width: 100%;
	background:
		linear-gradient(180deg, rgba(241, 245, 249, 0.95) 0%, rgba(255, 255, 255, 0.98) 220px),
		#ffffff;
	display: flex;
	flex-direction: column;
	transform: translateY(20px);
	opacity: 0;
	transition: transform 0.24s ease, opacity 0.24s ease;
}

.vmo-pp-drawer.is-visible .vmo-pp-drawer__panel {
	transform: translateY(0);
	opacity: 1;
}

.vmo-pp-modal__close,
.vmo-pp-drawer__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 50px;
	height: 50px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
	color: #0f172a;
	font-size: 0;
	line-height: 1;
	cursor: pointer;
	z-index: 5;
}

.vmo-pp-close-icon {
	display: block;
	font-family: Arial, sans-serif;
	font-size: 32px;
	line-height: 1;
	font-weight: 400;
}

.vmo-pp-modal__animation {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(420px, 96vw);
	min-height: 148px;
	margin: 4px auto 12px;
	overflow: visible;
}

.vmo-pp-modal__image {
	display: block;
	width: 96px;
	height: 96px;
	margin: 0 auto;
	object-fit: contain;
}

.vmo-pp-modal__image--processing {
	width: min(205px, 42vw) !important;
	max-width: none !important;
	height: auto;
	max-height: none !important;
	transform: scale(1.7) !important;
	transform-origin: center;
}

.vmo-pp-modal__animation.is-hidden {
	display: none;
}

.vmo-pp-modal__title,
.vmo-pp-drawer__title {
	margin: 0 0 10px;
	font-size: 30px;
	line-height: 1.42 !important;
	color: #0f172a;
	font-weight: 700;
}

.vmo-pp-modal__title {
	padding: 0 54px; letter-spacing: -0.01em;
}

.vmo-pp-drawer__title {
	font-size: clamp(30px, 4vw, 44px);
	max-width: 740px;
	padding-right: 36px;
}

.vmo-pp-modal__body,
.vmo-pp-drawer__body {
	font-size: 16px;
	line-height: 1.7;
	color: #475569;
}

.vmo-pp-modal__body {
	padding: 0 16px;
}

.vmo-pp-modal__body p,
.vmo-pp-drawer__body p {
	margin: 0 0 12px;
}

.vmo-pp-drawer__header,
.vmo-pp-drawer__items,
.vmo-pp-drawer__footer {
	width: min(100%, 1040px);
	margin: 0 auto;
	box-sizing: border-box;
}

.vmo-pp-drawer__header {
	padding: 34px 32px 20px;
}

.vmo-pp-drawer__eyebrow {
	display: none;
}

.vmo-pp-drawer__summary {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.vmo-pp-drawer__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(148, 163, 184, 0.22);
	color: #0f172a;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}

.vmo-pp-drawer__chip.is-accent {
	background: rgba(97, 206, 112, 0.12);
	color: #15803d;
	border-color: rgba(97, 206, 112, 0.22);
}

.vmo-pp-drawer__chip.is-strong {
	background: #0f172a;
	color: #ffffff;
	border-color: #0f172a;
}

.vmo-pp-drawer__items {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 0 32px 24px;
}

.vmo-pp-drawer__item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	padding: 18px 22px;
	margin-bottom: 14px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
	border: 1px solid rgba(226, 232, 240, 0.9);
}

.vmo-pp-drawer__thumb img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 24px;
	background: #f8fafc;
}

.vmo-pp-drawer__name {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	color: #0f172a;
}

.vmo-pp-drawer__subline {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	font-size: 13px;
	color: #64748b;
}

.vmo-pp-drawer__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 9px;
	border-radius: 999px;
	background: rgba(97, 206, 112, 0.15);
	color: #15803d;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.vmo-pp-drawer__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.vmo-pp-drawer__price {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: flex-end;
	gap: 10px;
	white-space: nowrap;
}

.vmo-pp-drawer__price-original {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	color: #e5a0a8;
	text-decoration-line: line-through;
	text-decoration-thickness: 1px;
	text-decoration-color: currentColor;
}

.vmo-pp-drawer__price-current {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: #166534;
}

.vmo-pp-drawer__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.28);
	background: #ffffff;
	color: #475569;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.vmo-pp-drawer__remove:hover {
	background: #f8fafc;
	color: #0f172a;
	border-color: rgba(100, 116, 139, 0.28);
}

.vmo-pp-drawer__remove[disabled],
.vmo-pp-drawer__remove.is-loading {
	opacity: 0.55;
	cursor: wait;
}

.vmo-pp-drawer__empty {
	padding: 24px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(226, 232, 240, 0.9);
	color: #64748b;
	font-size: 16px;
	line-height: 1.65;
}

.vmo-pp-drawer__footer {
	position: sticky;
	bottom: 0;
	padding: 20px 32px 46px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 20%, #ffffff 100%);
	backdrop-filter: blur(18px);
}

.vmo-pp-drawer__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 22px;
	margin-bottom: 14px;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
	font-size: 15px;
	color: #0f172a;
}

.vmo-pp-drawer__total-value {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: flex-end;
	gap: 10px;
}

.vmo-pp-drawer__total-original {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	color: #e5a0a8;
	text-decoration-line: line-through;
	text-decoration-thickness: 1px;
	text-decoration-color: currentColor;
}

.vmo-pp-drawer__total-current {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.1;
	color: #166534;
}

.vmo-pp-drawer__note {
	margin-bottom: 14px;
}

.vmo-pp-drawer__note:empty {
	display: none;
}

.vmo-pp-drawer__warning {
	padding: 16px 18px;
	border-radius: 22px;
	background: #fff7ed;
	color: #9a3412;
	font-size: 14px;
	line-height: 1.6;
	border: 1px solid rgba(251, 146, 60, 0.18);
}

.vmo-pp-modal__actions,
.vmo-pp-drawer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 0;
	margin-bottom: 4px;
}

.vmo-pp-modal__action,
.vmo-pp-drawer__action,
.vmo-pp-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	padding: 16px 26px;
	border-radius: 999px;
	border: 0;
	background: #0f172a;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.vmo-pp-modal__action:hover,
.vmo-pp-drawer__action:hover,
.vmo-pp-trigger:hover {
	transform: translateY(-1px);
	opacity: 0.97;
	color: #ffffff;
}

.vmo-pp-modal__action.is-secondary,
.vmo-pp-drawer__action.is-secondary {
	background: #ffffff;
	color: #0f172a;
	border: 1px solid rgba(148, 163, 184, 0.24);
	box-shadow: none;
}

.vmo-pp-drawer__action[data-vmo-create-order="1"] {
	background: linear-gradient(180deg, #34d399 0%, #22c55e 100%);
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	padding-top: 18px;
	padding-bottom: 18px;
	box-shadow: 0 18px 36px rgba(34, 197, 94, 0.24);
}

.vmo-pp-drawer__action[data-vmo-create-order="1"]:hover {
	color: #ffffff;
	box-shadow: 0 22px 42px rgba(34, 197, 94, 0.28);
}

.vmo-pp-drawer__action[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.vmo-pp-trigger {
	position: fixed;
	left: 50%;
	right: auto;
	bottom: 20px;
	transform: translateX(-50%);
	z-index: 999998;
	width: min(calc(100vw - 32px), 420px);
	max-width: calc(100vw - 32px);
	min-width: 0;
	padding-left: 20px;
	padding-right: 20px;
}

.vmo-pp-trigger:hover {
	transform: translateX(-50%) translateY(-1px);
}


@media (max-width: 767px) {
	.vmo-pp-modal__dialog {
		width: min(94vw, 520px);
		padding: 58px 20px 24px;
		margin-top: 5vh;
		border-radius: 22px;
	}

	.vmo-pp-modal__title,
	.vmo-pp-drawer__title {
		font-size: 24px;
		line-height: 1.48 !important;
	}

	.vmo-pp-modal__title {
		padding: 0 54px 0 10px;
	}

	.vmo-pp-modal__body {
		padding: 0 8px;
	}

	.vmo-pp-modal__animation {
		width: min(420px, 96vw);
		min-height: 154px;
		height: auto;
	}

	.vmo-pp-modal__image--processing {
		width: min(180px, 46vw) !important;
		max-width: none !important;
		max-height: none !important;
		transform: scale(1.8) !important;
	}

	.vmo-pp-modal__image {
		width: 84px;
		height: 84px;
	}

	.vmo-pp-modal__close,
	.vmo-pp-drawer__close {
		top: 14px;
		right: 14px;
		width: 52px;
		height: 52px;
	}

	.vmo-pp-close-icon {
		font-size: 28px;
	}

	.vmo-pp-drawer__header {
		padding: 28px 18px 14px;
	}

	.vmo-pp-drawer__items {
		padding: 0 18px 18px;
	}

	.vmo-pp-drawer__footer {
		padding: 16px 18px 38px;
	}

	.vmo-pp-drawer__item {
		grid-template-columns: 72px minmax(0, 1fr);
		grid-template-areas:
			"thumb meta"
			"thumb aside";
		gap: 14px;
		padding: 14px;
		border-radius: 22px;
	}

	.vmo-pp-drawer__thumb {
		grid-area: thumb;
	}

	.vmo-pp-drawer__thumb img {
		width: 72px;
		height: 72px;
		border-radius: 18px;
	}

	.vmo-pp-drawer__meta {
		grid-area: meta;
	}

	.vmo-pp-drawer__aside {
		grid-area: aside;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		gap: 12px;
	}

	.vmo-pp-drawer__price {
		align-items: baseline;
		gap: 8px;
	}

	.vmo-pp-drawer__price-original {
		font-size: 13px;
	}

	.vmo-pp-drawer__price-current {
		font-size: 16px;
	}

	.vmo-pp-drawer__total-value {
		gap: 8px;
	}

	.vmo-pp-drawer__total-original {
		font-size: 13px;
	}

	.vmo-pp-drawer__total-current {
		font-size: 22px;
	}

	.vmo-pp-drawer__remove {
		margin-left: auto;
		padding: 8px 11px;
		font-size: 12px;
		white-space: nowrap;
	}

	.vmo-pp-modal__action,
	.vmo-pp-drawer__action {
		width: 100%;
		min-width: 0;
	}

	.vmo-pp-trigger {
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		width: min(calc(100vw - 32px), 420px);
		max-width: calc(100vw - 32px);
		min-width: 0;
		padding-left: 20px;
		padding-right: 20px;
	}
}


.vmo-pp-modal--success .vmo-pp-modal__animation {
	min-height: 132px;
	margin: 4px auto 10px;
}

.vmo-pp-modal--success .vmo-pp-modal__image {
	width: 120px;
	height: 120px;
}

.vmo-pp-modal--success .vmo-pp-modal__title {
	max-width: 460px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.5 !important;
}

@media (max-width: 767px) {
	.vmo-pp-modal--success .vmo-pp-modal__animation {
		min-height: 116px;
		margin: 0 auto 8px;
	}

	.vmo-pp-modal--success .vmo-pp-modal__image {
		width: 104px;
		height: 104px;
	}

	.vmo-pp-modal--success .vmo-pp-modal__title {
		line-height: 1.54 !important;
	}
}



/* 2.0.10 final mobile/product UI polish */
.vmo-pp-modal__close,
.vmo-pp-drawer__close {
	width: 46px;
	height: 46px;
}

.vmo-pp-close-icon {
	font-size: 30px;
}

.vmo-pp-drawer__subline,
.vmo-pp-drawer__badge {
	display: none !important;
}

.vmo-pp-drawer__meta {
	display: flex;
	align-items: center;
	min-height: 100%;
}

.vmo-pp-drawer__name {
	margin: 0;
}

.vmo-pp-drawer__price {
	gap: 12px;
}

.vmo-pp-drawer__price-original {
	font-size: 16px;
}

.vmo-pp-drawer__price-current {
	font-size: 22px;
}

/* 2.0.10 price/button size polish */
.vmo-pp-drawer__price-original,
.vmo-pp-drawer__price-current {
	font-size: 22px;
	line-height: 1.1;
}

.vmo-pp-drawer__total-original,
.vmo-pp-drawer__total-current {
	font-size: 24px;
	line-height: 1.1;
}

.vmo-pp-drawer__action {
	font-size: 19px;
	line-height: 1.2;
}

.vmo-pp-drawer__action[data-vmo-create-order="1"] {
	font-size: 21px;
}


/* 2.0.10 mobile viewport scroll lock */
.vmo-pp-modal,
.vmo-pp-drawer {
	height: 100vh;
	height: 100dvh;
	min-height: 100vh;
	min-height: 100dvh;
	max-height: 100vh;
	max-height: 100dvh;
	overflow: hidden;
}

.vmo-pp-drawer__panel {
	position: fixed;
	inset: 0;
	height: 100vh;
	height: 100dvh;
	min-height: 100vh;
	min-height: 100dvh;
	max-height: 100vh;
	max-height: 100dvh;
	overflow: hidden;
	overscroll-behavior: none;
}

.vmo-pp-drawer__header,
.vmo-pp-drawer__footer {
	flex: 0 0 auto;
}

.vmo-pp-drawer__items {
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

html.vmo-pp-modal-open,
html.vmo-pp-drawer-open,
body.vmo-pp-modal-open,
body.vmo-pp-drawer-open {
	overflow: hidden;
}

body.vmo-pp-scroll-lock {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
	overflow: hidden;
}

@media (max-width: 767px) {
	.vmo-pp-drawer__panel {
		padding-top: env(safe-area-inset-top, 0px);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}

	.vmo-pp-drawer__items {
		padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	}

	.vmo-pp-drawer__footer {
		padding-bottom: calc(38px + env(safe-area-inset-bottom, 0px));
	}
}
