/* Petmeal Quick Cart Modal — mobile first */
:root {
	--pmcm-green: #58a93f;
	--pmcm-green-dark: #397c2d;
	--pmcm-ink: #252823;
	--pmcm-muted: #777b73;
	--pmcm-line: #e8ebe6;
	--pmcm-soft: #f6f7f4;
	--pmcm-soft-green: #f1f8ee;
	--pmcm-white: #fff;
}

.pmcm-lock {
	overflow: hidden !important;
}

.pmcm-overlay,
.pmcm-overlay * {
	box-sizing: border-box;
}

.pmcm-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
	background: rgba(28, 32, 27, .54);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .28s ease, visibility .28s ease, backdrop-filter .34s ease, -webkit-backdrop-filter .34s ease;
	will-change: opacity;
}

.pmcm-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.pmcm-dialog {
	position: relative;
	width: 100%;
	max-height: min(92dvh, 760px);
	overflow: hidden;
	background: var(--pmcm-white);
	border-radius: 28px 28px 0 0;
	box-shadow: 0 -18px 70px rgba(0, 0, 0, .18);
	transform: translate3d(0, 34px, 0);
	opacity: 0;
	transition: transform .34s cubic-bezier(.2,.82,.24,1), opacity .24s ease, box-shadow .34s ease;
	will-change: transform, opacity;
	font-family: inherit;
	color: var(--pmcm-ink);
}

.pmcm-overlay.is-open .pmcm-dialog {
	transform: translate3d(0, 0, 0);
	opacity: 1;
}

.pmcm-scroll {
	max-height: min(92dvh, 760px);
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.pmcm-handle {
	width: 42px;
	height: 4px;
	margin: 9px auto 2px;
	border-radius: 999px;
	background: #d8dbd5;
}

.pmcm-close {
	position: absolute;
	top: 18px;
	right: 16px;
	z-index: 3;
	width: 40px;
	height: 40px;
	border: 1px solid var(--pmcm-line);
	border-radius: 50%;
	background: rgba(255,255,255,.94);
	color: #5d625a;
	box-shadow: 0 6px 20px rgba(26,31,25,.08);
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: transform .18s ease, background .18s ease, color .18s ease;
}

.pmcm-close::before,
.pmcm-close::after {
	content: '';
	position: absolute;
	width: 15px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.pmcm-close::before { transform: rotate(45deg); }
.pmcm-close::after { transform: rotate(-45deg); }
.pmcm-close:active { transform: scale(.94); }

.pmcm-top {
	padding: 18px 18px 12px;
}

.pmcm-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 48px 12px 0;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--pmcm-green-dark);
}

.pmcm-eyebrow::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pmcm-green);
	box-shadow: 0 0 0 5px rgba(88,169,63,.12);
}

.pmcm-product {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
}

.pmcm-media {
	position: relative;
	width: 92px;
	aspect-ratio: 1 / 1;
	border-radius: 20px;
	background: var(--pmcm-soft);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.pmcm-media::after {
	content: '';
	position: absolute;
	inset: auto 10px 8px;
	height: 10px;
	border-radius: 50%;
	background: rgba(25,30,25,.08);
	filter: blur(5px);
}

.pmcm-image {
	position: relative;
	z-index: 1;
	width: 84%;
	height: 84%;
	object-fit: contain;
	display: block;
}

.pmcm-title {
	margin: 0 0 7px;
	padding-right: 6px;
	font-size: clamp(17px, 4.8vw, 21px);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--pmcm-ink);
}

.pmcm-price {
	font-size: 17px;
	line-height: 1.2;
	font-weight: 800;
	color: var(--pmcm-green-dark);
}

.pmcm-price del {
	margin-right: 5px;
	font-size: 12px;
	font-weight: 600;
	color: #a1a69e;
	opacity: 1;
}
.pmcm-price ins { text-decoration: none; }

.pmcm-description {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--pmcm-muted);
}

.pmcm-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 13px;
}

.pmcm-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 9px;
	border: 1px solid var(--pmcm-line);
	border-radius: 999px;
	background: #fff;
	font-size: 11px;
	line-height: 1;
	font-weight: 700;
	color: #656a62;
}

.pmcm-badge--stock {
	border-color: #d9ecd2;
	background: var(--pmcm-soft-green);
	color: var(--pmcm-green-dark);
}

.pmcm-body {
	padding: 8px 18px 18px;
}

.pmcm-divider {
	height: 1px;
	margin: 2px 0 18px;
	background: var(--pmcm-line);
}

.pmcm-question {
	margin: 0;
	font-size: clamp(22px, 6.3vw, 28px);
	line-height: 1.08;
	font-weight: 850;
	letter-spacing: -.035em;
	color: var(--pmcm-ink);
}

.pmcm-helper {
	margin: 7px 0 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--pmcm-muted);
}

.pmcm-quantity-card {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) 54px;
	align-items: center;
	gap: 8px;
	margin-top: 17px;
	padding: 7px;
	border: 1px solid #e2e9de;
	border-radius: 20px;
	background: var(--pmcm-soft);
}

.pmcm-qty-btn {
	width: 54px;
	height: 54px;
	border: 0;
	border-radius: 16px;
	background: #fff;
	color: var(--pmcm-green-dark);
	box-shadow: 0 5px 18px rgba(29,43,25,.06);
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: transform .14s ease, background .18s ease, color .18s ease;
}
.pmcm-qty-btn--plus {
	background: var(--pmcm-green);
	color: #fff;
}
.pmcm-qty-btn:active { transform: scale(.94); }
.pmcm-qty-btn:disabled { opacity: .38; cursor: default; transform: none; }

.pmcm-quantity-value {
	min-width: 0;
	text-align: center;
}
.pmcm-quantity-number {
	display: block;
	font-size: 25px;
	line-height: 1;
	font-weight: 850;
	color: var(--pmcm-ink);
}
.pmcm-quantity-label {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	font-weight: 700;
	color: #8a8e87;
}

.pmcm-summary {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-top: 15px;
	padding: 13px 2px 0;
}
.pmcm-summary-label {
	font-size: 12px;
	font-weight: 650;
	color: var(--pmcm-muted);
}
.pmcm-summary-value {
	font-size: 18px;
	line-height: 1.1;
	font-weight: 850;
	color: var(--pmcm-ink);
	white-space: nowrap;
}

.pmcm-actions {
	display: grid;
	gap: 9px;
	margin-top: 15px;
}

.pmcm-add {
	position: relative;
	width: 100%;
	min-height: 56px;
	border: 0;
	border-radius: 18px;
	padding: 12px 18px;
	background: var(--pmcm-green);
	color: #fff;
	box-shadow: 0 10px 26px rgba(74,143,53,.20);
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	transition: transform .16s ease, background .18s ease, box-shadow .18s ease;
}
.pmcm-add:hover { background: #4c9837; box-shadow: 0 12px 30px rgba(74,143,53,.27); }
.pmcm-add:active { transform: translateY(1px) scale(.995); }
.pmcm-add:disabled { cursor: wait; opacity: .72; }
.pmcm-add.is-success { background: var(--pmcm-green-dark); }
.pmcm-add__main { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.pmcm-add__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .72; }
.pmcm-add__total { font-size: 13px; opacity: .88; white-space: nowrap; }

.pmcm-continue {
	width: 100%;
	min-height: 44px;
	border: 0;
	background: transparent;
	color: #70756d;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.pmcm-message {
	display: none;
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff2f1;
	font-size: 12px;
	line-height: 1.4;
	color: #9b382f;
}
.pmcm-message.is-visible { display: block; }

.pmcm-skeleton {
	padding: 26px 18px 28px;
}
.pmcm-skeleton__line,
.pmcm-skeleton__box {
	position: relative;
	overflow: hidden;
	background: #eef0ec;
}
.pmcm-skeleton__line::after,
.pmcm-skeleton__box::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
	transform: translateX(-100%);
	animation: pmcmShimmer 1.15s infinite;
}
.pmcm-skeleton__row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; }
.pmcm-skeleton__box { width: 92px; aspect-ratio: 1; border-radius: 20px; }
.pmcm-skeleton__line { height: 13px; border-radius: 999px; margin: 8px 0; }
.pmcm-skeleton__line:nth-child(1) { width: 72%; height: 18px; }
.pmcm-skeleton__line:nth-child(2) { width: 42%; }
.pmcm-skeleton__line:nth-child(3) { width: 88%; margin-top: 20px; }
.pmcm-skeleton__line:nth-child(4) { width: 66%; }

.pmcm-toast {
	position: fixed;
	z-index: 2147483001;
	left: 14px;
	right: 14px;
	bottom: max(16px, env(safe-area-inset-bottom));
	margin: auto;
	max-width: 430px;
	padding: 13px 15px;
	border-radius: 16px;
	background: #253024;
	color: #fff;
	box-shadow: 0 14px 44px rgba(0,0,0,.22);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	transform: translateY(18px);
	opacity: 0;
	pointer-events: none;
	transition: transform .22s ease, opacity .22s ease;
}
.pmcm-toast.is-visible { transform: translateY(0); opacity: 1; }

@keyframes pmcmShimmer { to { transform: translateX(100%); } }



/* Motion system: short, tactile and mobile-first */
.pmcm-content--product .pmcm-eyebrow,
.pmcm-content--product .pmcm-media,
.pmcm-content--product .pmcm-title,
.pmcm-content--product .pmcm-price,
.pmcm-content--product .pmcm-description,
.pmcm-content--product .pmcm-badges,
.pmcm-content--product .pmcm-divider,
.pmcm-content--product .pmcm-question,
.pmcm-content--product .pmcm-helper,
.pmcm-content--product .pmcm-quantity-card,
.pmcm-content--product .pmcm-summary,
.pmcm-content--product .pmcm-actions {
	animation: pmcmReveal .38s cubic-bezier(.2,.78,.25,1) both;
}

.pmcm-content--product .pmcm-eyebrow { animation-delay: .03s; }
.pmcm-content--product .pmcm-media { animation-name: pmcmMediaReveal; animation-delay: .05s; }
.pmcm-content--product .pmcm-title { animation-delay: .08s; }
.pmcm-content--product .pmcm-price { animation-delay: .11s; }
.pmcm-content--product .pmcm-description { animation-delay: .14s; }
.pmcm-content--product .pmcm-badges { animation-delay: .17s; }
.pmcm-content--product .pmcm-divider { animation-delay: .15s; }
.pmcm-content--product .pmcm-question { animation-delay: .18s; }
.pmcm-content--product .pmcm-helper { animation-delay: .20s; }
.pmcm-content--product .pmcm-quantity-card { animation-name: pmcmQuantityReveal; animation-delay: .22s; }
.pmcm-content--product .pmcm-summary { animation-delay: .25s; }
.pmcm-content--product .pmcm-actions { animation-delay: .28s; }

.pmcm-content--product .pmcm-badge {
	animation: pmcmBadgeReveal .34s cubic-bezier(.2,.78,.25,1) both;
	animation-delay: calc(.19s + (var(--pmcm-badge-index, 0) * .045s));
}

.pmcm-content--error .pmcm-question,
.pmcm-content--error .pmcm-helper,
.pmcm-content--error .pmcm-actions {
	animation: pmcmReveal .28s ease-out both;
}
.pmcm-content--error .pmcm-helper { animation-delay: .04s; }
.pmcm-content--error .pmcm-actions { animation-delay: .08s; }

.pmcm-quantity-card {
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.pmcm-quantity-card.is-changing {
	animation: pmcmQuantityPulse .32s cubic-bezier(.2,.78,.25,1);
}

.pmcm-quantity-number,
.pmcm-summary-value,
.pmcm-add__total {
	transform-origin: center;
}
.pmcm-quantity-number.is-changing,
.pmcm-summary-value.is-changing,
.pmcm-add__total.is-changing {
	animation: pmcmValueUp .30s cubic-bezier(.2,.78,.25,1);
}
.pmcm-quantity-number.is-changing.is-down,
.pmcm-summary-value.is-changing.is-down,
.pmcm-add__total.is-changing.is-down {
	animation-name: pmcmValueDown;
}

.pmcm-qty-btn:not(:disabled):hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(29,43,25,.10);
}
.pmcm-qty-btn--plus:not(:disabled):hover {
	background: #4d9a38;
}

.pmcm-close:hover {
	background: #f7f8f5;
	color: var(--pmcm-green-dark);
	transform: rotate(4deg);
}

.pmcm-add {
	overflow: hidden;
	isolation: isolate;
}
.pmcm-add > * {
	position: relative;
	z-index: 2;
}
.pmcm-add::after {
	content: '';
	position: absolute;
	z-index: 1;
	top: -45%;
	bottom: -45%;
	left: -40%;
	width: 34%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
	transform: skewX(-18deg) translateX(-220%);
	opacity: 0;
	pointer-events: none;
}
.pmcm-add.is-loading::after {
	opacity: 1;
	animation: pmcmButtonSweep .9s ease-in-out infinite;
}
.pmcm-add.is-success {
	animation: pmcmSuccess .38s cubic-bezier(.2,.9,.25,1);
}
.pmcm-add.is-success .pmcm-add__dot {
	animation: pmcmDotSuccess .44s cubic-bezier(.2,.9,.25,1);
}

.pmcm-message {
	display: block;
	max-height: 0;
	margin-top: 0;
	padding-top: 0;
	padding-bottom: 0;
	overflow: hidden;
	opacity: 0;
	transform: translateY(-5px);
	transition: max-height .24s ease, margin-top .24s ease, padding .24s ease, opacity .2s ease, transform .24s ease;
}
.pmcm-message.is-visible {
	max-height: 120px;
	margin-top: 12px;
	padding: 10px 12px;
	opacity: 1;
	transform: translateY(0);
	animation: pmcmErrorNudge .3s ease-out;
}

.pmcm-toast.is-visible {
	animation: pmcmToastPop .3s cubic-bezier(.2,.9,.25,1) both;
}

@keyframes pmcmReveal {
	from { opacity: 0; transform: translate3d(0, 10px, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes pmcmMediaReveal {
	0% { opacity: 0; transform: translate3d(0, 12px, 0) scale(.92); }
	70% { opacity: 1; transform: translate3d(0, -2px, 0) scale(1.015); }
	100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes pmcmBadgeReveal {
	from { opacity: 0; transform: translate3d(0, 7px, 0) scale(.96); }
	to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes pmcmQuantityReveal {
	0% { opacity: 0; transform: translate3d(0, 12px, 0) scale(.97); }
	70% { opacity: 1; transform: translate3d(0, -1px, 0) scale(1.008); }
	100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes pmcmQuantityPulse {
	0%, 100% { border-color: #e2e9de; box-shadow: 0 0 0 rgba(88,169,63,0); }
	45% { border-color: rgba(88,169,63,.45); box-shadow: 0 0 0 5px rgba(88,169,63,.07); }
}

@keyframes pmcmValueUp {
	0% { opacity: .45; transform: translate3d(0, 7px, 0) scale(.94); }
	65% { opacity: 1; transform: translate3d(0, -1px, 0) scale(1.04); }
	100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes pmcmValueDown {
	0% { opacity: .45; transform: translate3d(0, -7px, 0) scale(.94); }
	65% { opacity: 1; transform: translate3d(0, 1px, 0) scale(1.04); }
	100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes pmcmButtonSweep {
	0% { transform: skewX(-18deg) translateX(-220%); }
	100% { transform: skewX(-18deg) translateX(520%); }
}

@keyframes pmcmSuccess {
	0% { transform: scale(1); }
	45% { transform: scale(.985); }
	75% { transform: scale(1.012); }
	100% { transform: scale(1); }
}

@keyframes pmcmDotSuccess {
	0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,.38); }
	60% { transform: scale(1.35); box-shadow: 0 0 0 8px rgba(255,255,255,0); }
	100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

@keyframes pmcmErrorNudge {
	0%, 100% { transform: translateX(0); }
	30% { transform: translateX(-4px); }
	60% { transform: translateX(3px); }
}

@keyframes pmcmToastPop {
	0% { opacity: 0; transform: translate3d(0, 18px, 0) scale(.97); }
	70% { opacity: 1; transform: translate3d(0, -2px, 0) scale(1.006); }
	100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@media (min-width: 640px) {
	.pmcm-overlay {
		align-items: center;
		padding: 24px;
	}
	.pmcm-dialog {
		width: min(560px, 100%);
		border-radius: 30px;
		box-shadow: 0 30px 90px rgba(0,0,0,.24);
		transform: translate3d(0, 18px, 0) scale(.975);
	}
	.pmcm-overlay.is-open .pmcm-dialog { transform: translate3d(0,0,0) scale(1); }
	.pmcm-handle { display: none; }
	.pmcm-top { padding: 28px 28px 15px; }
	.pmcm-body { padding: 8px 28px 26px; }
	.pmcm-product { grid-template-columns: 112px minmax(0,1fr); gap: 20px; }
	.pmcm-media { width: 112px; border-radius: 24px; }
	.pmcm-title { font-size: 22px; }
	.pmcm-description { font-size: 13.5px; }
	.pmcm-question { font-size: 30px; }
	.pmcm-quantity-card { grid-template-columns: 58px minmax(0,1fr) 58px; padding: 8px; border-radius: 22px; }
	.pmcm-qty-btn { width: 58px; height: 58px; border-radius: 17px; }
	.pmcm-actions { margin-top: 18px; }
	.pmcm-add { min-height: 60px; border-radius: 19px; font-size: 15px; }
}



/* v1.0.2 — richer transitions without sacrificing mobile performance */
.pmcm-overlay.is-closing {
	pointer-events: none;
}

.pmcm-overlay.is-closing .pmcm-dialog {
	transform: translate3d(0, 46px, 0) scale(.985);
	opacity: 0;
}

.pmcm-content {
	transform-origin: 50% 20%;
}

.pmcm-content.is-entering {
	animation: pmcmContentSwap .34s cubic-bezier(.2,.82,.24,1) both;
}

.pmcm-content.is-leaving {
	animation: pmcmContentLeave .16s ease both;
}

.pmcm-handle {
	transition: width .25s ease, background-color .25s ease, opacity .25s ease;
}

.pmcm-overlay.is-open .pmcm-handle {
	animation: pmcmHandleIntro .42s .08s cubic-bezier(.2,.82,.24,1) both;
}

.pmcm-image {
	opacity: 0;
	transform: scale(.96);
	transition: opacity .28s ease, transform .4s cubic-bezier(.2,.82,.24,1);
}

.pmcm-image.is-loaded {
	opacity: 1;
	transform: scale(1);
}

.pmcm-media {
	transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.pmcm-media:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(31, 39, 29, .08);
}

.pmcm-badge {
	transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.pmcm-badge:hover {
	transform: translateY(-1px);
}

.pmcm-qty-btn {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.pmcm-qty-btn::after {
	content: '';
	position: absolute;
	inset: 50% auto auto 50%;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: currentColor;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0);
	pointer-events: none;
}

.pmcm-qty-btn.is-tapped::after {
	animation: pmcmTapRipple .42s ease-out;
}

.pmcm-summary-value,
.pmcm-add__total,
.pmcm-quantity-number,
[data-pmcm-add-label] {
	transition: opacity .16s ease, transform .2s cubic-bezier(.2,.82,.24,1);
}

.pmcm-add.is-loading .pmcm-add__main {
	animation: pmcmLoadingBreath .9s ease-in-out infinite alternate;
}

.pmcm-dialog.is-confirmed {
	animation: pmcmDialogConfirm .46s cubic-bezier(.2,.9,.25,1);
}

.pmcm-dialog.is-confirmed .pmcm-media {
	animation: pmcmMediaConfirm .46s cubic-bezier(.2,.9,.25,1);
}

.pmcm-continue {
	transition: color .18s ease, transform .18s ease, opacity .18s ease;
}
.pmcm-continue:hover { color: var(--pmcm-green-dark); }
.pmcm-continue:active { transform: scale(.985); }

.pmcm-close:focus-visible,
.pmcm-qty-btn:focus-visible,
.pmcm-add:focus-visible,
.pmcm-continue:focus-visible {
	outline: 3px solid rgba(88,169,63,.22);
	outline-offset: 3px;
}

@keyframes pmcmContentSwap {
	0% { opacity: 0; transform: translate3d(0, 8px, 0) scale(.992); filter: blur(2px); }
	100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

@keyframes pmcmContentLeave {
	from { opacity: 1; transform: translate3d(0,0,0); }
	to { opacity: 0; transform: translate3d(0,-5px,0); }
}

@keyframes pmcmHandleIntro {
	0% { width: 24px; opacity: 0; transform: translateY(-3px); }
	100% { width: 42px; opacity: 1; transform: translateY(0); }
}

@keyframes pmcmTapRipple {
	0% { opacity: .18; transform: translate(-50%, -50%) scale(0); }
	70% { opacity: .08; }
	100% { opacity: 0; transform: translate(-50%, -50%) scale(8); }
}

@keyframes pmcmLoadingBreath {
	from { opacity: .66; transform: translateX(0); }
	to { opacity: 1; transform: translateX(2px); }
}

@keyframes pmcmDialogConfirm {
	0%, 100% { transform: translate3d(0,0,0) scale(1); }
	45% { transform: translate3d(0,-2px,0) scale(1.008); }
}

@keyframes pmcmMediaConfirm {
	0%,100% { transform: scale(1); }
	45% { transform: scale(1.045) rotate(-1deg); }
}

@media (min-width: 640px) {
	.pmcm-overlay.is-closing .pmcm-dialog {
		transform: translate3d(0, 14px, 0) scale(.97);
	}
}

@media (prefers-reduced-motion: reduce) {
	.pmcm-overlay,
	.pmcm-overlay *,
	.pmcm-toast {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
	.pmcm-skeleton__line::after,
	.pmcm-skeleton__box::after,
	.pmcm-add::after { animation: none !important; }
}
