/*
 * Maraton — product-card elements (global):
 * vertical colour dots (right rail), quick add-to-cart and fly-to-cart token.
 */

.product-media,
.mh-showcase-card__media {
	position: relative;
}

/* Remove the white placeholder/skeleton layer that was covering the photos. */
.maraton-home .mh-showcase-card__media,
.mh-showcase-card__media,
.product-media {
	background-image: none !important;
	background-color: transparent !important;
}

.maraton-home .mh-showcase-card__shine {
	display: none !important;
}

.maraton-home .mh-showcase-card__img,
.mh-showcase-card__img,
.product-media img {
	opacity: 1 !important;
}

/* Countdown timers removed everywhere. */
.countdown,
[data-maraton-home-countdown],
[data-countdown-inline],
[data-hot-deals-countdown],
[data-hot-deals-countdown-value],
.mh-hot-deals__clock {
	display: none !important;
}

.mh-card-colors {
	position: absolute;
	top: 50%;
	right: 10px;
	left: auto;
	transform: translateY(-50%);
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
	backdrop-filter: blur(6px);
}

.mh-card-colors__dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1.5px solid rgba(15, 23, 42, 0.16);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
	background-color: #e5e7eb;
	background-size: cover;
	background-position: center;
}

.mh-card-colors__more {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 9px;
	font-weight: 800;
	line-height: 1;
	color: #4b5563;
	background: #f1f5f9;
	border: 1.5px solid rgba(15, 23, 42, 0.12);
}

.mh-card-size-range {
	position: absolute;
	right: auto;
	top: auto;
	left: 50%;
	bottom: 10px;
	z-index: 4;
	padding: 5px 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: #111827;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.25;
	white-space: nowrap;
	writing-mode: horizontal-tb;
	transform: translateX(-50%);
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

/* Quick add ("+") on the card rail. */
.maraton-card-quick {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border-radius: 50%;
	border: 0;
	background: #ffffff;
	color: #ff6414;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.maraton-card-quick:hover,
.maraton-card-quick:focus-visible {
	background: #ff6414;
	color: #fff;
	transform: scale(1.06);
}

.maraton-card-quick svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
}

.maraton-card-quick.is-added {
	background: #22c55e;
	color: #fff;
}

/* Flying token → header cart. */
.maraton-cart-fly {
	position: fixed;
	z-index: 99999;
	width: 42px;
	height: 42px;
	margin: -21px 0 0 -21px;
	border-radius: 50%;
	background: #ff6414 center / cover no-repeat;
	box-shadow: 0 10px 22px rgba(255, 100, 20, 0.4);
	pointer-events: none;
	transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s ease;
}

@media (prefers-reduced-motion: reduce) {
	.maraton-card-quick,
	.maraton-cart-fly {
		transition: none !important;
	}
}
