/* ================= ZARO PRODUCT PAGE — DYNAMIC CONTENT ================= */

/* Trust Strip */
.zaro-trust-strip {
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
	background: #0D0D0D;
	color: #fff;
	padding: 10px 16px;
	border-radius: 12px 12px 0 0;
	margin-bottom: -1px;
}
.zaro-trust-strip-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #7ED321;
}
.zaro-trust-strip-item img,
.zaro-trust-strip-item svg {
	max-width: 20px !important;
	max-height: 20px !important;
	width: auto !important;
	height: auto !important;
	flex-shrink: 0;
	object-fit: contain;
}
@media (max-width: 600px) {
	.zaro-trust-strip { gap: 12px; padding: 8px 10px; }
	.zaro-trust-strip-item { font-size: 10px; }
	.zaro-trust-strip-item img,
	.zaro-trust-strip-item svg { width: 16px; height: 16px; }
}

/* These live INSIDE .single-product .summary.entry-summary (flex column).
   order values position them relative to: title(1) price(2) form(3)
   short-desc(4) meta(5) — set previously in product-page.css. */
.zaro-countdown-bar { order: 1; width: 100%; margin: 0 0 10px !important; }
.zaro-stock-urgency { order: 2; width: 100%; margin: 0 0 12px !important; }
.zaro-rating-line   { order: 6; margin: 4px 0 8px !important; width: 100%; }
.zaro-feature-grid  { order: 7; width: 100%; margin: 10px 0 14px !important; }
.zaro-free-delivery-line { order: 8; width: 100%; margin: 0 0 10px !important; }
.zaro-summary-accordion  { order: 9; width: 100%; }
.zaro-save-badge    { order: 2.1; }

.zaro-countdown-bar {
	background: #fdecec;
	border: 1.5px solid #f3b8b8;
	border-radius: 10px;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 8px;
	box-sizing: border-box;
	max-width: 100%;
	overflow: hidden;
}
.zaro-countdown-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex-shrink: 1; }
.zaro-countdown-label { color: #B91C1C; font-weight: 700; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zaro-countdown-subtitle { color: #b06b6b; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zaro-countdown-clock { display: flex; gap: 5px; flex-shrink: 0; }
.zaro-countdown-unit {
	background: #fff;
	border-radius: 8px;
	padding: 4px 7px;
	text-align: center;
	min-width: 36px;
}
.zaro-countdown-unit span { display: block; font-weight: 800; font-size: 17px; color: #B91C1C; white-space: nowrap; }
.zaro-countdown-unit small { font-size: 7.5px; color: #888; }
@media (max-width: 380px) {
	.zaro-countdown-unit { min-width: 30px; padding: 3px 5px; }
	.zaro-countdown-unit span { font-size: 14px; }
}

.zaro-stock-urgency {
	background: #fdecec;
	color: #b91c1c;
	font-size: 13px;
	font-weight: 600;
	border-radius: 8px;
	padding: 8px 14px;
	box-sizing: border-box;
	animation: zaro-stock-blink 1.8s ease-in-out infinite;
}
@keyframes zaro-stock-blink {
	0%, 100% {
		background: #fdecec;
		box-shadow: 0 0 0 rgba(185,28,28,0);
	}
	50% {
		background: #fbdcdc;
		box-shadow: 0 0 10px rgba(185,28,28,0.25);
	}
}

.zaro-rating-line {
	display: flex;
	align-items: center;
	gap: 6px;
}
.zaro-rating-stars { color: #f5a623; font-size: 15px; letter-spacing: 1px; }
.zaro-rating-value { font-weight: 700; font-size: 14px; color: #1a1a1a; }
.zaro-rating-count { font-size: 12px; color: #888; }

.zaro-save-badge {
	display: inline-block;
	background: #eafcf0;
	color: #178a3d;
	font-weight: 700;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 20px;
	margin-left: 10px;
}

.zaro-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}
.zaro-feature-grid-item {
	background: #f7f7f7;
	border-radius: 10px;
	padding: 10px 6px;
	text-align: center;
}
.zaro-feature-grid-icon {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 8px;
	color: #1a1a1a;
}
.zaro-feature-grid-icon img,
.zaro-feature-grid-icon svg {
	max-width: 28px !important;
	max-height: 28px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
	display: block;
}
.zaro-feature-grid-item strong { display: block; font-size: 11px; color: #1a1a1a; }
.zaro-feature-grid-item span { display: block; font-size: 9.5px; color: #888; margin-top: 2px; }
@media (max-width: 480px) {
	.zaro-feature-grid { grid-template-columns: repeat(2, 1fr); }
	.zaro-countdown-clock { gap: 4px; }
	.zaro-countdown-unit { min-width: 32px; padding: 3px 5px; }
	.zaro-countdown-unit span { font-size: 13px; }
	.zaro-countdown-label { font-size: 10.5px; }
}

/* FAQ accordion */
.zaro-faq-section { margin-top: 10px; }
.zaro-faq-section h2 { font-size: 20px; font-weight: 800; color: #1a1a1a; margin-bottom: 14px; }
.zaro-faq-item {
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 12px 16px;
	margin-bottom: 10px;
	background: #fafafa;
}
.zaro-faq-item summary {
	cursor: pointer;
	font-weight: 700;
	color: #1a1a1a;
	font-size: 14px;
	list-style: none;
}
.zaro-faq-item summary::-webkit-details-marker { display: none; }
.zaro-faq-item summary::after { content: '+'; float: right; color: #1fae4d; font-weight: 800; }
.zaro-faq-item[open] summary::after { content: '−'; }
.zaro-faq-answer { margin-top: 8px; font-size: 13px; color: #444; line-height: 1.7; }

/* Review videos */
.zaro-review-videos { margin-top: 30px; }
.zaro-review-videos-header h2 { font-size: 20px; font-weight: 800; color: #1a1a1a; margin-bottom: 14px; }
.zaro-review-videos-track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding-bottom: 6px;
}
.zaro-review-video-card { flex: 0 0 140px; text-align: center; }
.zaro-review-video-thumb {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 1/1;
	cursor: pointer;
	background: #000;
}
.zaro-review-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.zaro-review-play-btn {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 40px; height: 40px;
	background: rgba(0,0,0,0.6);
	color: #fff;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 14px;
}
.zaro-review-name { font-size: 12px; font-weight: 600; margin: 6px 0 2px; color: #1a1a1a; }
.zaro-review-rating { font-size: 11px; color: #f5a623; margin: 0; }

/* Sticky bottom bar — sits at the very bottom on product pages (mobile only) */
.zaro-sticky-bar {
	position: fixed;
	bottom: 0; left: 0; width: 100%;
	background: #fff;
	border-top: 1px solid #eee;
	box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
	display: none !important;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	z-index: 9996;
}
@media (max-width: 768px) {
	.zaro-sticky-bar.zaro-sticky-visible { display: flex !important; }
}
.zaro-sticky-qty {
	display: flex;
	align-items: center;
	border: 1.5px solid #ddd;
	border-radius: 8px;
	flex-shrink: 0;
}
.zaro-sticky-qty button {
	width: 32px; height: 40px;
	background: none; border: none;
	font-size: 16px; font-weight: 700;
	cursor: pointer;
}
.zaro-sticky-qty-value { width: 28px; text-align: center; font-weight: 600; font-size: 14px; }
.zaro-sticky-order-now,
.zaro-sticky-add-cart {
	flex: 1;
	height: 40px;
	border: none;
	border-radius: 8px;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	cursor: pointer;
}
.zaro-sticky-order-now { background: #0D0D0D; color: #fff; }
.zaro-sticky-add-cart { background: #1fae4d; color: #fff; }

/* ================= RELATED PRODUCTS — SAFE FULL BLEED (MOBILE) ================= */
html, body {
	overflow-x: hidden !important;
}
@media (max-width: 768px) {
	.single-product .related.products.zaro-related-fullwidth {
		width: calc(100% + 40px) !important;
		max-width: calc(100% + 40px) !important;
		margin-left: -20px !important;
		margin-right: -20px !important;
		padding-left: 12px !important;
		padding-right: 12px !important;
		box-sizing: border-box !important;
		border-radius: 0 !important;
		background: #fff !important;
	}
	.single-product .related.products.zaro-related-fullwidth .zaro-carousel-wrap {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}

/* ================= HIDE OLD FLOATING WHATSAPP/CART ON MOBILE SINGLE-PRODUCT ================= */
@media (max-width: 768px) {
	.single-product .zaro-floating-buttons {
		display: none !important;
	}
}
/* Stock urgency — pcs badge */
.zaro-pcs-badge {
	display: inline-block;
	background: #B91C1C;
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	padding: 2px 8px;
	border-radius: 6px;
	margin: 0 2px;
}

/* Save badge — reparented inline into .price via JS */
.single-product .summary p.price .zaro-save-badge {
	vertical-align: middle;
	font-size: 12px;
}

/* Free delivery line */
.zaro-free-delivery-line {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #444;
}
.zaro-free-delivery-line strong { color: #1fae4d; }

/* Description / Key Features accordions inside summary */
.zaro-summary-accordion {
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 10px 14px;
	margin-bottom: 10px;
	background: #fff;
}
.zaro-summary-accordion summary {
	cursor: pointer;
	font-weight: 700;
	color: #1a1a1a;
	font-size: 14px;
	list-style: none;
}
.zaro-summary-accordion summary::-webkit-details-marker { display: none; }
.zaro-summary-accordion summary::after { content: '▾'; float: right; color: #1fae4d; }
.zaro-summary-accordion[open] summary::after { content: '▴'; }
.zaro-summary-accordion-body { margin-top: 8px; font-size: 13px; color: #444; line-height: 1.7; }
/* Guarantee title stays first — this file loads after product-page.css,
   so this wins any lingering order conflict. */
.single-product .summary h1.product_title { order: 1 !important; }
.single-product .woocommerce-product-details__short-description {
	display: none !important;
}