/**
 * Rate2Rate — Home page polish (electro-child). Loaded on the front page only.
 * Pure CSS on top of Electro; keeps the brand yellow. Delete this file to revert.
 */
body.home {
	--r2r-yellow: #fed700;
	--r2r-ink: #1d1d1f;
	--r2r-muted: #6b7280;
	--r2r-line: #eceef1;
	--r2r-radius: 16px;
	--r2r-shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 14px rgba(16,24,40,.06);
	--r2r-shadow-hover: 0 6px 24px rgba(16,24,40,.14);
	background: #f6f7f9;
}

/* Hero slider */
body.home .home-v8-slider { margin-top: 12px; }
body.home .home-v8-slider .rev_slider_wrapper,
body.home .home-v8-slider rs-module-wrap { border-radius: var(--r2r-radius); overflow: hidden; box-shadow: var(--r2r-shadow); }

/* Intro line */
body.home .r2r-home-intro { margin: 1.5rem auto 1.25rem; }
body.home .r2r-home-intro__title { letter-spacing: -.01em; }

/* App promo banners (overrides Electro's v8 featured-first-banner layout) */
body.home .home-v8-da-block { margin: 0 0 1.75rem; }
body.home .home-v8-da-block .da-block.columns-3 {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
	margin: 0 0 1.75rem; overflow: visible;
}
body.home .home-v8-da-block .da-block.columns-3 > .da,
body.home .home-v8-da-block .da-block.columns-3 > .da:first-child {
	flex: none; width: auto; max-width: none; padding: 0; margin: 0;
}
body.home .home-v8-da-block .da-block.columns-3 .da .da-inner,
body.home .home-v8-da-block .da-block.columns-3 .da:first-child .da-inner {
	background: #fff; border: 1px solid var(--r2r-line); border-radius: var(--r2r-radius);
	box-shadow: var(--r2r-shadow); overflow: hidden; height: 100%;
	max-height: none; min-height: 150px; padding: 0;
	transition: transform .2s ease, box-shadow .2s ease;
}
body.home .home-v8-da-block .da-block.columns-3 .da .da-inner:hover { transform: translateY(-3px); box-shadow: var(--r2r-shadow-hover); }
body.home .home-v8-da-block .da-block.columns-3 .da .da-media {
	display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: var(--r2r-ink); width: 100%; margin: 0;
}
body.home .home-v8-da-block .da-block.columns-3 .da .da-media-left,
body.home .home-v8-da-block .da-block.columns-3 .da:first-child .da-media-left {
	flex: 0 0 36%; max-width: 36%; padding: 0; margin: 0;
}
body.home .home-v8-da-block .da-block.columns-3 .da .da-media-body,
body.home .home-v8-da-block .da-block.columns-3 .da:first-child .da-media-body {
	flex: 1 1 auto; max-width: none; padding: 0; min-width: 0;
}
body.home .home-v8-da-block .da-block.columns-3 .da img,
body.home .home-v8-da-block .da-block.columns-3 .da:first-child img {
	transform: none; width: 100%; height: auto; max-height: 170px; object-fit: contain; display: block;
}
body.home .home-v8-da-block .da-block.columns-3 .da .da-text {
	font-size: 1rem; line-height: 1.35; font-weight: 500; letter-spacing: 0; color: var(--r2r-ink); text-transform: uppercase;
}
body.home .home-v8-da-block .da-block.columns-3 .da .da-text strong { font-weight: 800; }
body.home .home-v8-da-block .da-block.columns-3 .da .da-action {
	display: inline-flex; margin-top: 12px; padding: 8px 18px; border-radius: 999px; line-height: 1.2;
	background: var(--r2r-yellow); color: var(--r2r-ink); font-weight: 700; font-size: .85rem; white-space: nowrap;
}

/* Product sections */
body.home .section-products-carousel {
	background: #fff; border: 1px solid var(--r2r-line); border-radius: var(--r2r-radius);
	box-shadow: var(--r2r-shadow); padding: 18px 18px 8px; margin-bottom: 24px;
}
body.home .section-products-carousel > header {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	border: 0; margin-bottom: 14px; padding: 0;
}
body.home .section-products-carousel > header h2 {
	font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; margin: 0; padding: 0 0 0 12px;
	border: 0; border-left: 4px solid var(--r2r-yellow); line-height: 1.2;
}
body.home .section-products-carousel > header .action-text {
	font-size: .8rem; font-weight: 700; color: var(--r2r-ink); background: #f3f4f6;
	padding: 7px 14px; border-radius: 999px; white-space: nowrap; transition: background .2s;
}
body.home .section-products-carousel > header .action-text:hover { background: var(--r2r-yellow); }

/* Product cards */
body.home .section-products-carousel .products .product {
	border-radius: 12px; border: 1px solid var(--r2r-line); background: #fff;
	transition: box-shadow .2s ease, transform .2s ease;
}
body.home .section-products-carousel .products .product:hover { box-shadow: var(--r2r-shadow-hover); transform: translateY(-2px); }
body.home .section-products-carousel .products .product img { border-radius: 8px; }
body.home .section-products-carousel .products .product .woocommerce-loop-product__title,
body.home .section-products-carousel .products .product h2 { font-size: .85rem; line-height: 1.35; color: var(--r2r-ink); }
body.home .section-products-carousel .products .product ins { text-decoration: none; font-weight: 800; color: var(--r2r-ink); }
body.home .section-products-carousel .products .product del { color: var(--r2r-muted); font-size: .85em; }

/* Carousel arrows */
body.home .section-products-carousel .owl-nav button {
	border-radius: 50%; background: #fff !important; box-shadow: var(--r2r-shadow); border: 1px solid var(--r2r-line) !important;
}

/* Mobile */
@media (max-width: 991px) {
	body.home .home-v8-da-block .da-block.columns-3 { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	body.home .section-products-carousel { padding: 14px 12px 6px; border-radius: 14px; margin-bottom: 16px; }
	body.home .section-products-carousel > header h2 { font-size: 1.05rem; }
	body.home .section-products-carousel > header .action-text { padding: 6px 12px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
	body.home * { transition: none !important; }
}
