/* ============================================================
   Custom widgets — countdown / versand-badge / sicherer-kauf
   Used via shortcodes:
	 [zavello_countdown] [zavello_versand_badge] [zavello_sicherer_kauf]
   ============================================================ */


/* ────────────────────────────────────────────────────────────
   1. Countdown timer
   ──────────────────────────────────────────────────────────── */

.zv-cd-wrap {
	background: var(--zv-cd-bg);
	border-radius: var(--zv-radius-sm);
	overflow: hidden;
	font-family: var(--zv-font-system);
	width: 100%;
}

.zv-cd-banner {
	background: var(--zv-cd-banner);
	padding: 11px 16px;
	text-align: center;
	border-bottom: 1px solid var(--zv-cd-border);
}

.zv-cd-banner-text {
	font-size: clamp(12px, 3.5vw, 14px);
	font-weight: var(--zv-fw-black);
	color: var(--zv-color-white);
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.zv-cd-clock {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 18px 12px 20px;
}

.zv-cd-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 60px;
}

.zv-cd-number {
	font-size: clamp(28px, 8vw, 42px);
	font-weight: var(--zv-fw-black);
	color: var(--zv-color-white);
	line-height: 1;
	letter-spacing: -1px;
	font-variant-numeric: tabular-nums;
}

.zv-cd-label {
	font-size: clamp(10px, 2.5vw, 12px);
	color: var(--zv-cd-label);
	font-weight: var(--zv-fw-medium);
	letter-spacing: 0.5px;
	margin-top: 5px;
	text-transform: capitalize;
}

.zv-cd-sep {
	font-size: clamp(24px, 7vw, 38px);
	font-weight: var(--zv-fw-black);
	color: var(--zv-cd-sep);
	padding: 0 4px;
	margin-bottom: 16px;
	line-height: 1;
	user-select: none;
}

@media (max-width: 360px) {
	.zv-cd-unit { min-width: 48px; }
	.zv-cd-sep  { padding: 0 2px; }
}


/* ────────────────────────────────────────────────────────────
   2. Versand-Badge
   ──────────────────────────────────────────────────────────── */

.zv-ship-badge {
	background-color: var(--zv-ship-bg);
	border-radius: 3px;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: 'Roboto', var(--zv-font-system);
	font-size: clamp(12px, 3.5vw, 14px);
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--zv-ship-border);
	gap: 8px;
	overflow: hidden;
}

.zv-ship-left {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	white-space: nowrap;
}

.zv-ship-right {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-shrink: 1;
	min-width: 0;
	overflow: hidden;
}

.zv-ship-right span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.zv-ship-right img {
	width: 24px !important;
	height: 18px !important;
	max-width: 24px !important;
	min-width: 24px !important;
	border-radius: 2px;
	flex-shrink: 0;
	display: inline-block;
	object-fit: cover;
}

.zv-blink-dot {
	width: 9px;
	height: 9px;
	min-width: 9px;
	background-color: var(--zv-ship-dot);
	border-radius: 50%;
	animation: zv-blink 1.2s infinite ease-in-out;
	flex-shrink: 0;
}

@keyframes zv-blink {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0.2; }
}


/* ────────────────────────────────────────────────────────────
   3. Sicherer Kauf seal
   ──────────────────────────────────────────────────────────── */

.zv-gsc-wrap {
	text-align: center;
	padding: 20px 16px 18px;
	font-family: var(--zv-font-system);
}

.zv-gsc-title {
	font-size: 15px;
	font-weight: var(--zv-fw-bold);
	color: var(--zv-color-text);
	margin-bottom: 12px;
	letter-spacing: 0.1px;
}

.zv-gsc-items {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 0;
	overflow: hidden;
	width: 100%;
}

.zv-gsc-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: clamp(10px, 2.8vw, 13px);
	font-weight: var(--zv-fw-medium);
	color: var(--zv-color-text);
	white-space: nowrap;
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
}

.zv-gsc-item .zv-gsc-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.zv-gsc-check {
	width: 20px;
	height: 20px;
	background: var(--zv-color-text);
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.zv-gsc-check svg {
	width: 13px;
	height: 13px;
	fill: var(--zv-color-white);
}


/* ────────────────────────────────────────────────────────────
   4. Trustpilot-style review cards (helper classes — optional use)
   Apply via Elementor HTML widget if you want the exact original style.
   ──────────────────────────────────────────────────────────── */

.zv-tp-section {
	font-family: var(--zv-font-tp);
	padding: 48px 20px 56px;
	background: linear-gradient(
		180deg,
		var(--zv-color-white) 0%,
		var(--zv-tp-green-light) 50%,
		var(--zv-color-white) 100%
	);
}

.zv-tp-card {
	background: var(--zv-color-white);
	border-radius: var(--zv-radius-2xl);
	overflow: hidden;
	box-shadow: var(--zv-shadow-tp-card);
	transition: transform var(--zv-duration) var(--zv-ease),
	            box-shadow var(--zv-duration) var(--zv-ease);
	max-width: 560px;
	margin: 16px auto;
}

.zv-tp-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--zv-shadow-tp-hover);
}

.zv-tp-card-img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.zv-tp-card-body { padding: 20px 20px 18px; }

.zv-tp-mini-stars { display: flex; gap: 3px; margin-bottom: 8px; }

.zv-tp-mini-star {
	width: 22px;
	height: 22px;
	background: var(--zv-tp-green);
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.zv-tp-mini-star.is-empty { background: var(--zv-tp-green-empty); }

.zv-tp-mini-star svg { width: 14px; height: 14px; fill: var(--zv-color-white); }

.zv-tp-card-date {
	font-size: 12px;
	color: var(--zv-tp-text-date);
	margin-bottom: 12px;
	font-weight: var(--zv-fw-regular);
}

.zv-tp-card-quote {
	font-size: 15px;
	color: var(--zv-tp-text-quote);
	line-height: 1.6;
	font-style: italic;
	margin-bottom: 16px;
}

.zv-tp-divider {
	height: 1px;
	background: var(--zv-tp-green-divider);
	margin-bottom: 14px;
}

.zv-tp-author-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.zv-tp-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--zv-tp-green);
	color: var(--zv-color-white);
	font-weight: var(--zv-fw-semibold);
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.zv-tp-author-name {
	font-weight: var(--zv-fw-semibold);
	color: var(--zv-tp-text-main);
}


/* ────────────────────────────────────────────────────────────
   5. Video testimonials shortcode: [zavello_video_reviews]
   Based on the PageFly custom HTML block supplied for Zavello.
   ──────────────────────────────────────────────────────────── */

.vt-section *,
.vt-section *::before,
.vt-section *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.vt-section {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	padding: 48px 0 56px;
	overflow: hidden;
	background: #fff;
}

.vt-heading {
	font-size: clamp(22px, 5vw, 32px);
	font-weight: 800;
	color: #0f0f0f;
	letter-spacing: 0;
	line-height: 1.15;
	padding: 0 20px;
	margin-bottom: 28px;
}

.vt-track-outer {
	width: 100%;
	overflow: hidden;
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
}

.vt-track-outer:active { cursor: grabbing; }

.vt-track {
	display: flex;
	gap: 14px;
	padding: 0 20px 8px;
	width: max-content;
	will-change: transform;
	transition: none;
}

.vt-card {
	position: relative;
	flex: 0 0 auto;
	width: clamp(170px, 44vw, 220px);
	aspect-ratio: 9 / 16;
	border-radius: 18px;
	overflow: hidden;
	background: #1a1a1a;
	box-shadow: 0 4px 20px rgba(0,0,0,.15);
	transition: transform .25s ease, box-shadow .25s ease;
}

.vt-card:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 10px 32px rgba(0,0,0,.22);
}

.vt-card video,
.vt-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vt-play-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.18);
	transition: opacity .2s;
}

.vt-card.is-playing .vt-play-overlay {
	opacity: 0;
	pointer-events: none;
}

.vt-play-btn {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255,255,255,.92);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 12px rgba(0,0,0,.25);
	transition: transform .15s;
}

.vt-play-btn:hover { transform: scale(1.1); }

.vt-play-btn svg {
	width: 20px;
	height: 20px;
	fill: #111;
	margin-left: 3px;
}

.vt-card-footer-gradient {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 45%;
	background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
	pointer-events: none;
}

.vt-caption {
	position: absolute;
	bottom: 68px;
	left: 12px;
	right: 12px;
	font-size: 11px;
	color: rgba(255,255,255,.82);
	font-weight: 500;
	line-height: 1.4;
	text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

.vt-caption--feature {
	font-size: 14px;
	font-weight: 800;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .5px;
	bottom: 80px;
}

.vt-author {
	position: absolute;
	bottom: 14px;
	left: 12px;
	right: 12px;
}

.vt-author-name {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
	text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.vt-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #1d9bf0;
	flex-shrink: 0;
}

.vt-badge svg {
	width: 10px;
	height: 10px;
	fill: #fff;
}

.vt-author-product {
	font-size: 11px;
	color: rgba(255,255,255,.72);
	margin-top: 2px;
	font-weight: 400;
}

.vt-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 18px;
	padding: 0 20px;
}

.vt-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #d0d0d0;
	transition: background .3s, transform .3s;
}

.vt-dot.active {
	background: #111;
	transform: scale(1.3);
}

@media (min-width: 768px) {
	.vt-card { width: clamp(180px, 18vw, 210px); }
	.vt-heading { padding: 0 40px; }
	.vt-track { padding: 0 40px 8px; }
	.vt-dots { display: none; }
}


/* ────────────────────────────────────────────────────────────
   6. Trustpilot photo reviews shortcode: [zavello_trustpilot_reviews]
   Based on the PageFly custom HTML block supplied for Zavello.
   ──────────────────────────────────────────────────────────── */

.tp-section *,
.tp-section *::before,
.tp-section *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.tp-section {
	font-family: 'DM Sans', -apple-system, sans-serif;
	background: transparent;
	padding: 48px 20px 56px;
	overflow: hidden;
}

.tp-header {
	text-align: center;
	margin-bottom: 32px;
}

.tp-header h2 {
	font-size: clamp(24px, 6vw, 34px);
	font-weight: 700;
	color: #0d1f1a;
	letter-spacing: 0;
	margin-bottom: 10px;
}

.tp-logo-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 20px;
}

.tp-logo-star {
	width: 28px;
	height: 28px;
}

.tp-logo-text {
	font-size: 20px;
	font-weight: 600;
	color: #0d1f1a;
	letter-spacing: 0;
}

.tp-rating-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.tp-stars-big {
	display: flex;
	gap: 4px;
}

.tp-star-box {
	width: 36px;
	height: 36px;
	background: #00b67a;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tp-star-box svg {
	width: 22px;
	height: 22px;
	fill: #fff;
}

.tp-score {
	font-size: 22px;
	font-weight: 700;
	color: #0d1f1a;
}

.tp-count {
	font-size: 15px;
	color: #5a7a70;
	font-weight: 400;
}

.tp-verified-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1.5px solid #c2e6d8;
	border-radius: 50px;
	padding: 7px 18px;
	font-size: 14px;
	font-weight: 600;
	color: #00b67a;
}

.tp-verified-pill svg {
	width: 16px;
	height: 16px;
	fill: #00b67a;
}

.tp-track-outer {
	max-width: 560px;
	margin: 0 auto;
}

.tp-track {
	display: flex;
	flex-direction: column;
	gap: 16px;
	will-change: transform;
}

.tp-card {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 2px 16px rgba(0,0,0,.07);
	transition: transform .25s ease, box-shadow .25s ease;
}

.tp-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 28px rgba(0,0,0,.12);
}

.tp-card-img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.tp-card-body {
	padding: 20px 20px 18px;
}

.tp-mini-stars {
	display: flex;
	gap: 3px;
	margin-bottom: 8px;
}

.tp-mini-star {
	width: 22px;
	height: 22px;
	background: #00b67a;
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tp-mini-star svg {
	width: 14px;
	height: 14px;
	fill: #fff;
}

.tp-card-date {
	font-size: 12px;
	color: #9ab5ac;
	margin-bottom: 12px;
	font-weight: 400;
}

.tp-card-quote {
	font-size: 15px;
	color: #1a3530;
	line-height: 1.6;
	font-style: italic;
	margin-bottom: 16px;
}

.tp-divider {
	height: 1px;
	background: #eef5f2;
	margin-bottom: 14px;
}

.tp-author-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tp-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #00b67a;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	flex-shrink: 0;
}

.tp-author-name {
	font-size: 15px;
	font-weight: 700;
	color: #0d1f1a;
}

@media (min-width: 600px) {
	.tp-section { padding: 56px 40px 64px; }
}
