/**
 * Home-only sections: trust bar + product showcase (All Natural style).
 * Scoped to .mto-home-hero — shop/archive styles unchanged.
 */

/* --------------------------------------------------------------------------
   Trust bar (3 columns — existing Elementor content)
   -------------------------------------------------------------------------- */

.mto-home-hero #page-content .elementor-section-wrap > .elementor-top-section:first-child {
	background-color: #f8f8f8 !important;
	padding-top: clamp(40px, 6vw, 72px) !important;
	padding-bottom: clamp(40px, 6vw, 72px) !important;
}

.mto-home-hero #page-content .elementor-section-wrap > .elementor-top-section:first-child .elementor-container {
	max-width: 1200px;
}

.mto-home-hero #page-content .elementor-section-wrap > .elementor-top-section:first-child .tm-modern-heading {
	text-align: center;
}

.mto-home-hero #page-content .elementor-section-wrap > .elementor-top-section:first-child .heading-primary {
	font-family: Butler, "Times New Roman", Georgia, serif;
	font-size: clamp(20px, 2.2vw, 28px);
	font-weight: 500;
	line-height: 1.3;
	color: #000000;
	letter-spacing: -0.02em;
}

.mto-home-hero #page-content .elementor-section-wrap > .elementor-top-section:first-child .heading-description,
.mto-home-hero #page-content .elementor-section-wrap > .elementor-top-section:first-child .heading-description p {
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: #6b6b6b;
	margin: 8px 0 0;
}

/* --------------------------------------------------------------------------
   Product showcase — tabs header
   -------------------------------------------------------------------------- */

.mto-home-hero .elementor-widget-tm-carousel-product-tabs .makeaholic-tabpanel > .makeaholic-tab-content {
	min-height: clamp(320px, 40vw, 460px);
}

.mto-home-hero .mto-showcase-widget {
	--mto-showcase-card-bg: #f3f3f3;
	--mto-showcase-radius: 14px;
	font-family: Inter, sans-serif;
}

.mto-home-hero .mto-showcase-widget .elementor-widget-container {
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
}

.mto-home-hero #page-content .elementor-section:has(> .elementor-container .mto-showcase-widget) {
	padding-top: clamp(48px, 6vw, 80px) !important;
	padding-bottom: clamp(56px, 7vw, 96px) !important;
}

.mto-home-hero .mto-showcase-widget .makeaholic-tabpanel.mto-showcase-tabpanel {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	align-items: end;
	column-gap: 24px;
}

.mto-home-hero .mto-showcase-widget .makeaholic-tabpanel.mto-showcase-tabpanel > .makeaholic-nav-tabs {
	grid-column: 1;
	grid-row: 1;
}

.mto-home-hero .mto-showcase-widget .makeaholic-tabpanel.mto-showcase-tabpanel > .mto-showcase-shop-all {
	grid-column: 2;
	grid-row: 1;
}

.mto-home-hero .mto-showcase-widget .makeaholic-tabpanel.mto-showcase-tabpanel > .makeaholic-tab-content {
	grid-column: 1 / -1;
	grid-row: 2;
}

.mto-home-hero .mto-showcase-widget .makeaholic-nav-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(16px, 3vw, 32px);
	margin: 0 !important;
	border: 0;
}

.mto-home-hero .mto-showcase-widget .makeaholic-nav-tabs li {
	margin: 0 !important;
}

.mto-home-hero .mto-showcase-widget .makeaholic-nav-tabs li a {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	opacity: 1 !important;
}

.mto-home-hero .mto-showcase-widget .makeaholic-nav-tabs li a::after {
	display: none !important;
}

.mto-home-hero .mto-showcase-widget .makeaholic-nav-tabs .nav-tab-title {
	font-family: Inter, sans-serif !important;
	font-size: clamp(18px, 2vw, 22px) !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	color: #b0b0b0 !important;
	letter-spacing: -0.02em;
	text-transform: none;
}

.mto-home-hero .mto-showcase-widget .makeaholic-nav-tabs li.active .nav-tab-title {
	color: #000000 !important;
	font-weight: 600 !important;
}

.mto-home-hero .mto-showcase-widget .makeaholic-nav-tabs li a:hover .nav-tab-title {
	color: #000000 !important;
}

.mto-home-hero .mto-showcase-widget .mto-showcase-shop-all {
	flex-shrink: 0;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #000000;
	text-decoration: none;
	white-space: nowrap;
	padding-bottom: 2px;
}

.mto-home-hero .mto-showcase-widget .mto-showcase-shop-all:hover,
.mto-home-hero .mto-showcase-widget .mto-showcase-shop-all:focus {
	text-decoration: underline;
}

.mto-home-hero .mto-showcase-widget .makeaholic-tabpanel .tab-content {
	padding-top: 28px !important;
}

/* --------------------------------------------------------------------------
   Product cards — larger blocks, home showcase only
   -------------------------------------------------------------------------- */

.mto-home-hero .mto-showcase-widget .makeaholic-product .product-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--mto-showcase-card-bg);
	border-radius: var(--mto-showcase-radius);
	overflow: hidden;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .product-wrapper:hover .product-main-image img {
	transform: none;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .product-thumbnail {
	position: static;
	margin: 0;
	padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px) 0;
	min-height: clamp(260px, 32vw, 360px);
	flex: 1 1 auto;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .thumbnail {
	background: transparent;
	min-height: clamp(200px, 26vw, 300px);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .thumbnail img {
	width: auto !important;
	height: auto !important;
	max-height: clamp(200px, 26vw, 300px);
	max-width: 100%;
	object-fit: contain;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .product-hover-image {
	display: none;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .product-actions {
	top: 12px;
	right: 12px;
	left: auto;
	bottom: auto;
	padding: 0;
	flex-direction: row;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .compare-btn,
.mto-home-hero .mto-showcase-widget .makeaholic-product .quick-view-btn {
	display: none !important;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .wishlist-btn a {
	width: 36px;
	height: 36px;
	line-height: 36px;
	background: transparent !important;
	box-shadow: none;
	border: 0;
	color: #000000 !important;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .wishlist-btn a::before {
	font-size: 18px;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .onsale {
	top: 12px;
	left: 12px;
	right: auto;
	min-height: auto;
	padding: 4px 8px;
	border-radius: 4px;
	background: #ffffff;
	color: #e01616;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .woocommerce_loop_add_to_cart_wrap {
	position: absolute;
	right: 20px;
	bottom: 20px;
	left: auto;
	width: auto;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	z-index: 6;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .woocommerce_loop_add_to_cart_wrap a,
.mto-home-hero .mto-showcase-widget .makeaholic-product .woocommerce_loop_add_to_cart_wrap .mto-showcase-quick-add {
	display: inline-block;
	height: auto;
	line-height: 1.3;
	padding: 0 !important;
	background: transparent !important;
	color: #000000 !important;
	border: 0 !important;
	font-family: Inter, sans-serif;
	font-size: 12px !important;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: underline;
	-webkit-line-clamp: unset;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .woocommerce_loop_add_to_cart_wrap a::before,
.mto-home-hero .mto-showcase-widget .makeaholic-product .woocommerce_loop_add_to_cart_wrap .mto-showcase-quick-add::before {
	display: none !important;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .product-info {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	align-items: end;
	gap: 2px 16px;
	padding: 16px 20px 20px;
	text-align: left;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .woocommerce-loop-product__title {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	font-family: Inter, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: #000000;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .mto-showcase-product-cat {
	grid-column: 1;
	grid-row: 2;
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #000000;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .price {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: end;
	justify-self: end;
	margin: 0 !important;
	text-align: right;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .price .amount,
.mto-home-hero .mto-showcase-widget .makeaholic-product .price ins .amount {
	font-family: Inter, sans-serif;
	font-size: 15px !important;
	font-weight: 500;
	line-height: 1.3;
	color: #000000;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .price del .amount {
	font-size: 13px !important;
	color: #9e9e9e;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .reviews-wrap {
	display: none;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .product-wrapper:hover .price {
	opacity: 0;
	visibility: hidden;
}

.mto-home-hero .mto-showcase-widget .makeaholic-product .product-wrapper:hover .woocommerce_loop_add_to_cart_wrap {
	opacity: 1;
	visibility: visible;
}

/* Fewer, wider slides */
.mto-home-hero .mto-showcase-widget .swiper-slide {
	width: calc(25% - 18px) !important;
}

.mto-home-hero .mto-showcase-widget .swiper-container {
	overflow: visible;
}

.mto-home-hero .mto-showcase-widget .swiper-pagination-wrap {
	margin-top: 24px;
}

@media (max-width: 1200px) {
	.mto-home-hero .mto-showcase-widget .swiper-slide {
		width: calc(33.333% - 16px) !important;
	}
}

@media (max-width: 900px) {
	.mto-home-hero .mto-showcase-widget .makeaholic-tabpanel.mto-showcase-tabpanel {
		grid-template-columns: 1fr;
		row-gap: 12px;
	}

	.mto-home-hero .mto-showcase-widget .makeaholic-tabpanel.mto-showcase-tabpanel > .mto-showcase-shop-all {
		grid-column: 1;
		grid-row: 2;
		justify-self: start;
	}

	.mto-home-hero .mto-showcase-widget .makeaholic-tabpanel.mto-showcase-tabpanel > .makeaholic-tab-content {
		grid-row: 3;
	}

	.mto-home-hero .mto-showcase-widget .swiper-slide {
		width: calc(50% - 12px) !important;
	}
}

@media (max-width: 600px) {
	.mto-home-hero #page-content .elementor-section-wrap > .elementor-top-section:first-child .elementor-column {
		margin-bottom: 24px;
	}

	.mto-home-hero .mto-showcase-widget .swiper-slide {
		width: 88% !important;
	}

	.mto-home-hero .mto-showcase-widget .makeaholic-product .product-thumbnail {
		min-height: 240px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mto-home-hero .mto-showcase-widget .makeaholic-product .price,
	.mto-home-hero .mto-showcase-widget .makeaholic-product .woocommerce_loop_add_to_cart_wrap {
		transition: none;
	}
}
