/* ==========================================================================
   Homepage V2 — Scoped under .homepage-v2
   ========================================================================== */

.homepage-v2 {
	font-family: 'Lato', sans-serif;
	color: #333;
	max-width: 1200px;
	margin: 0 auto;
}

.homepage-v2 *,
.homepage-v2 *::before,
.homepage-v2 *::after {
	box-sizing: border-box;
}

/* ---------- Shared Button Styles ---------- */

.hv2-btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: opacity 0.2s ease;
	cursor: pointer;
}

.hv2-btn:hover {
	opacity: 0.85;
}

.hv2-btn--primary {
	background: #D15851;
	color: #fff;
}

.hv2-btn--accent {
	background: #F9C93E;
	color: #333;
}

.hv2-btn--light {
	background: #fff;
	color: #333;
}


/* ==========================================================================
   Section 1: Hero Carousel
   ========================================================================== */

.hv2-hero {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 1;
}

.hv2-hero__carousel {
	position: relative;
	width: 100%;
	height: 100%;
}

.hv2-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.8s ease;
	z-index: 0;
}

.hv2-hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.hv2-hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hv2-hero__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.35);
	text-align: center;
	padding: 20px;
}

.hv2-hero__heading {
	font-family: 'Varela Round', sans-serif;
	font-size: 42px;
	color: #fff;
	margin: 0 0 20px;
	text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hv2-hero__cta {
	display: inline-block;
	padding: 12px 32px;
	background: #F9C93E;
	color: #333;
	font-weight: 700;
	border-radius: 6px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 15px;
}

.hv2-hero__dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 2;
}

.hv2-hero__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s;
}

.hv2-hero__dot.is-active {
	background: #fff;
}


/* ==========================================================================
   Section 2: Monthly Offer + Subscriptions (side by side)
   ========================================================================== */

.hv2-promo {
	background: #162d31;
}

.hv2-promo__container {
	display: flex;
}

.hv2-promo__monthly {
	flex: 2.2;
	padding: 32px 40px 30px;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.hv2-promo__subs {
	flex: 1;
	background: #5cc0b3;
	padding: 20px 20px 16px;
	text-align: center;
	color: #1a2e30;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hv2-promo__title {
	font-family: 'Varela Round', sans-serif !important;
	font-size: 34px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 5px;
	margin: 0 0 20px;
	color: #fff !important;
}

.hv2-promo__monthly p,
.hv2-promo__monthly .section-closed-message {
	color: rgba(255,255,255,0.85) !important;
}

/* Monthly Offer: two dashed boxes + buttons grid */
.hv2-promo__boxes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 0;
	width: 100%;
}

.hv2-promo__box {
	border: 3px solid rgba(255,255,255,0.65);
	border-radius: 0;
	padding: 18px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: none;
}

.hv2-promo__box p {
	margin: 0;
	font-family: 'Lato', sans-serif !important;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	color: #fff !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hv2-promo__countdown-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: rgba(255,255,255,0.8) !important;
	margin: 0 0 8px !important;
	font-family: 'Lato', sans-serif !important;
}

.hv2-promo__actions {
	display: flex;
	justify-content: space-around;
	margin-top: 12px;
	width: 100%;
}

.hv2-promo__actions .hv2-btn {
	padding: 7px 18px;
	font-size: 10px;
	font-weight: 700;
	text-align: center;
	font-family: 'Lato', sans-serif !important;
	border-radius: 20px;
	letter-spacing: 1px;
	display: inline-block;
	width: auto;
}

.hv2-promo__actions .hv2-btn--accent {
	background: #e2b842;
	color: #fff !important;
}

.hv2-btn--disabled {
	opacity: 0.4;
	cursor: default;
	pointer-events: none;
}

.hv2-btn--outline {
	background: transparent;
	color: rgba(255,255,255,0.25);
	border: 1px solid rgba(255,255,255,0.15);
}

.hv2-btn--outline:hover {
	color: rgba(255,255,255,0.5);
	border-color: rgba(255,255,255,0.3);
}

/* Subscriptions side */
.hv2-promo__subs .hv2-promo__title {
	font-size: 18px;
	letter-spacing: 3px;
	margin-bottom: 8px;
	color: #1a2e30 !important;
}

.hv2-promo__subs p {
	font-family: 'Lato', sans-serif !important;
	font-size: 11px;
	color: #1a2e30 !important;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	line-height: 1.5;
	margin: 0 0 14px;
}

.hv2-promo__subs .hv2-btn--light {
	padding: 7px 20px;
	font-size: 10px;
	font-weight: 700;
	background: #1a2e30;
	color: #fff !important;
	border: 2px solid #1a2e30;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: inline-block !important;
	width: auto !important;
}

.hv2-promo__discount {
	margin-top: auto;
	display: flex;
	align-items: baseline;
	gap: 6px;
	align-self: stretch;
	background: #4aab9d;
	padding: 10px 16px;
	margin: 12px -20px -16px;
}

.hv2-promo__discount-pct {
	font-size: 20px;
	font-weight: 700;
	font-family: 'Varela Round', sans-serif !important;
	color: #1a2e30;
	line-height: 1;
}

.hv2-promo__discount-txt {
	font-size: 9px;
	font-family: 'Lato', sans-serif !important;
	color: #1a2e30;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

/* Countdown */
.hv2-countdown {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 4px 0 0;
}

.hv2-countdown__item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hv2-countdown__number {
	font-size: 36px;
	font-weight: 700;
	font-family: 'Varela Round', sans-serif !important;
	color: #fff;
	min-width: 40px;
	text-align: center;
	line-height: 1;
}

.hv2-countdown__unit {
	font-size: 8px;
	font-family: 'Lato', sans-serif !important;
	color: rgba(255,255,255,0.4);
	text-transform: uppercase;
	margin-top: 4px;
	letter-spacing: 1px;
}


/* ==========================================================================
   Section 3: Category Icons
   ========================================================================== */

.hv2-categories {
	padding: 32px 0;
}

.hv2-categories__grid {
	display: flex;
	justify-content: center;
	gap: 32px;
	flex-wrap: wrap;
}

.hv2-categories__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: #333;
	transition: transform 0.2s;
	min-width: 100px;
}

.hv2-categories__item:hover {
	transform: translateY(-4px);
}

.hv2-categories__icon {
	font-size: 40px;
	margin-bottom: 8px;
	background: #f5f5f5;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hv2-categories__label {
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}


/* ==========================================================================
   Section 4: Promotional Banners
   ========================================================================== */

.hv2-banners {
	padding: 20px 0 40px;
}

.hv2-banners__grid {
	display: flex;
	gap: 16px;
}

/* 1 banner = full width, 2 banners = 50/50 */
.hv2-banners--count-1 .hv2-banners__item {
	flex: 1 1 100%;
}

.hv2-banners--count-2 .hv2-banners__item {
	flex: 1 1 calc(50% - 8px);
}

.hv2-banners__item {
	flex: 1;
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
}

.hv2-banners__img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.hv2-banners__item:hover .hv2-banners__img {
	transform: scale(1.05);
}

.hv2-banners__overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 12px 16px;
	background: linear-gradient(transparent, rgba(0,0,0,0.7));
	color: #fff;
	font-weight: 700;
	font-size: 14px;
}


/* ==========================================================================
   Section 5: Featured Product Sections (Horizontal Scroll)
   ========================================================================== */

.hv2-products {
	padding: 8px 0;
}

.hv2-products__title {
	font-family: 'Varela Round', sans-serif;
	font-size: 18px;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.hv2-products__scroll {
	overflow: visible;
}

/* Override cc-extensions .product-section heavy spacing */
.homepage-v2 .hv2-products__scroll.product-section {
	--grid-column-gap: 10px !important;
	--grid-row-gap: 10px !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.homepage-v2 .product-section .product {
	--grid-column-gap: 10px !important;
	--grid-row-gap: 10px !important;
}

.hv2-products__row {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 10px;
	padding-bottom: 4px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.hv2-products__row::-webkit-scrollbar {
	display: none;
}

/* Override product card sizing for horizontal scroll */
.homepage-v2 .hv2-products__row .ecs-post-loop {
	flex: 0 0 calc(25% - 8px);
	scroll-snap-align: start;
	min-width: unset;
	max-width: none;
}

/* Tighten product card internal spacing */
.homepage-v2 .ecs-post-loop {
	padding: 0;
	margin: 0;
}

.homepage-v2 .ecs-post-loop .elementor-section {
	padding: 0 !important;
	margin: 0 !important;
}

.homepage-v2 .ecs-post-loop .elementor-container {
	padding: 0 !important;
	margin: 0 !important;
}

.homepage-v2 .ecs-post-loop .elementor-column {
	padding: 0 !important;
	margin: 0 !important;
}

.homepage-v2 .ecs-post-loop .elementor-widget-wrap,
.homepage-v2 .ecs-post-loop .elementor-widget-container,
.homepage-v2 .ecs-post-loop .elementor-element {
	padding: 0 !important;
	margin: 0 !important;
}

.homepage-v2 .ecs-post-loop .product-data {
	padding: 4px;
}

.homepage-v2 .ecs-post-loop .product-title h3 {
	font-size: 13px;
	margin: 4px 0;
}

.homepage-v2 .ecs-post-loop .bbd {
	font-size: 11px;
	margin-top: 2px;
}

.homepage-v2 .ecs-post-loop .elementor-add-to-cart {
	margin: 0 !important;
	padding: 0 !important;
}

.homepage-v2 .ecs-post-loop .product-image {
	margin: 0;
}

/* Reset any Elementor grid on the product row */
.homepage-v2 .hv2-products__row .elementor-grid {
	display: contents;
}


/* ==========================================================================
   Section 6: Value Props
   ========================================================================== */

.hv2-value-props {
	padding: 48px 0;
	text-align: center;
}

.hv2-value-props__heading {
	font-family: 'Varela Round', sans-serif;
	font-size: 28px;
	font-style: italic;
	margin: 0 0 32px;
}

.hv2-value-props__grid {
	display: flex;
	gap: 32px;
}

.hv2-value-props__item {
	flex: 1;
	text-align: center;
}

.hv2-value-props__icon {
	font-size: 40px;
	display: block;
	margin-bottom: 12px;
}

.hv2-value-props__item h3 {
	font-family: 'Varela Round', sans-serif;
	font-size: 18px;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.hv2-value-props__item p {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	margin: 0;
}


/* ==========================================================================
   Section 7: Catering CTA
   ========================================================================== */

.hv2-catering {
	background-color: #2c2c2c;
	padding: 60px 0;
	text-align: center;
	border-radius: 12px;
}

.hv2-catering__content {
	max-width: 600px;
	margin: 0 auto;
}

.hv2-catering__content h2 {
	font-family: 'Varela Round', sans-serif;
	font-size: 28px;
	color: #fff;
	margin: 0 0 12px;
}

.hv2-catering__content p {
	color: #ddd;
	font-size: 16px;
	margin: 0 0 20px;
}


/* ==========================================================================
   Section 8: Testimonials
   ========================================================================== */

.hv2-testimonials {
	padding: 48px 0;
	text-align: center;
}

.hv2-testimonials__heading {
	font-family: 'Varela Round', sans-serif;
	font-size: 28px;
	font-style: italic;
	margin: 0 0 32px;
}

.hv2-testimonials__grid {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.hv2-testimonials__grid::-webkit-scrollbar {
	display: none;
}

.hv2-testimonials__card {
	flex: 0 0 calc(33.33% - 16px);
	scroll-snap-align: start;
	background: #f9f9f9;
	border-radius: 12px;
	padding: 32px 24px;
	text-align: center;
}

.hv2-testimonials__quote {
	font-size: 48px;
	color: #D15851;
	line-height: 1;
	display: block;
	margin-bottom: 8px;
}

.hv2-testimonials__text {
	font-size: 15px;
	line-height: 1.6;
	color: #555;
	margin: 0 0 16px;
	font-style: italic;
}

.hv2-testimonials__author {
	font-size: 14px;
	margin: 0;
}

.hv2-testimonials__author strong {
	display: block;
	color: #333;
}

.hv2-testimonials__author span {
	color: #888;
	font-size: 13px;
}


/* ==========================================================================
   Section 9: Recipe / Cooking Time
   ========================================================================== */

.hv2-recipe {
	background-size: cover;
	background-position: center;
	padding: 80px 0;
	text-align: center;
	position: relative;
	border-radius: 12px;
}

.hv2-recipe::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.hv2-recipe__content {
	position: relative;
	z-index: 1;
	max-width: 600px;
	margin: 0 auto;
}

.hv2-recipe__label {
	font-family: 'Varela Round', sans-serif;
	font-size: 16px;
	color: #F9C93E;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0 0 8px;
}

.hv2-recipe__title {
	font-family: 'Varela Round', sans-serif;
	font-size: 32px;
	color: #fff;
	margin: 0 0 24px;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.hv2-hero__heading {
		font-size: 32px;
	}

	.homepage-v2 .hv2-products__row .ecs-post-loop {
		flex: 0 0 calc(33.33% - 7px);
	}

	.hv2-testimonials__card {
		flex: 0 0 calc(50% - 12px);
	}
}

@media (max-width: 768px) {
	.hv2-hero__heading {
		font-size: 24px;
	}

	.hv2-promo__container {
		flex-direction: column;
	}

	.hv2-banners__grid {
		flex-direction: column;
	}

	.hv2-banners__img {
		height: 160px;
	}

	.homepage-v2 .hv2-products__row .ecs-post-loop {
		flex: 0 0 calc(50% - 5px);
	}

	.hv2-value-props__grid {
		flex-wrap: wrap;
	}

	.hv2-value-props__item {
		flex: 0 0 calc(50% - 16px);
	}

	.hv2-categories__grid {
		gap: 16px;
	}

	.hv2-categories__icon {
		width: 60px;
		height: 60px;
		font-size: 28px;
	}

	.hv2-testimonials__card {
		flex: 0 0 calc(80% - 12px);
	}

	.hv2-countdown__number {
		font-size: 28px;
		padding: 6px 10px;
		min-width: 44px;
	}
}

@media (max-width: 480px) {
	.hv2-value-props__item {
		flex: 0 0 100%;
	}

	.hv2-categories__grid {
		justify-content: space-around;
	}

	.hv2-categories__item {
		min-width: 80px;
	}
}
