/**
 * Homepage mobile — layout mockup 2026-07 (solo ≤767px)
 */

@media (max-width: 767px) {
	/* Canvas homepage */
	body.pcp-wm-home-native.theme-woodmart.home {
		background: var(--pcp-blue-bg, #f5f7fa) !important;
		color-scheme: only light;
	}

	body.pcp-wm-home-native .pcp-wm-home,
	body.pcp-wm-home-native .pcp-wm-home__inner {
		background: var(--pcp-blue-bg, #f5f7fa);
	}

	body.pcp-wm-home-native .pcp-wm-home__inner {
		padding-inline: 8px;
	}

	/* Hero — banner full-width, slider unico con frecce e dots */
	body.pcp-wm-home-native .pcp-wm-home__hero-row {
		margin-top: 8px;
	}

	body.pcp-wm-home-native .pcp-wm-home__hero .pcp-drako-hero {
		display: block;
		width: 100%;
	}

	body.pcp-wm-home-native .pcp-wm-home__hero .pcp-drako-hero__main {
		border-radius: 0;
		box-shadow: none;
		overflow: hidden;
		min-height: 0;
		aspect-ratio: auto;
		height: auto;
	}

	body.pcp-wm-home-native .pcp-wm-hero-slider {
		min-height: 0;
		aspect-ratio: auto;
		height: auto;
	}

	body.pcp-wm-home-native .pcp-wm-hero-slide.is-active img {
		width: 100%;
		height: auto;
		aspect-ratio: auto;
		min-height: 0;
		object-fit: contain;
		object-position: center;
		display: block;
		border-radius: 0;
	}

	/* Categorie — griglia 3×2, tile quadrate centrate */
	body.pcp-wm-home-native .pcp-home-cat-strip {
		padding-bottom: 12px;
		background: #ffffff;
		color-scheme: only light;
	}

	body.pcp-wm-home-native .pcp-home-cat-strip__inner {
		padding-inline: 8px;
	}

	body.pcp-wm-home-native .pcp-home-cat-strip__blocks {
		gap: 6px;
		width: 100%;
	}

	body.pcp-wm-home-native .pcp-home-cat-strip__row .pcp-home-cat-strip__track,
	body.pcp-wm-home-native .pcp-home-cat-strip__row--bottom .pcp-home-cat-strip__track {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 6px !important;
		width: 100% !important;
	}

	body.pcp-wm-home-native .pcp-home-cat-strip__link {
		border-radius: 8px;
		background: #111111 !important;
		box-shadow: none;
		aspect-ratio: 1 / 1;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		min-height: 0 !important;
	}

	body.pcp-wm-home-native .pcp-home-cat-strip__link:hover,
	body.pcp-wm-home-native .pcp-home-cat-strip__link:focus-visible {
		transform: none;
		box-shadow: 0 2px 8px rgba(17, 19, 21, 0.25);
	}

	body.pcp-wm-home-native .pcp-home-cat-strip__link img {
		background: #111111 !important;
		object-fit: contain !important;
		object-position: center center !important;
		filter: none !important;
		width: 100% !important;
		height: 100% !important;
		max-width: 100% !important;
	}

	/* Trust bar — stesso design bianco del desktop */
	body.pcp-wm-home-native .pcp-home-trust,
	body.pcp-wm-home-native .pcp-home-trust__inner {
		background: #ffffff !important;
		background-color: #ffffff !important;
	}

	body.pcp-wm-home-native .pcp-home-trust__track {
		background: #ffffff !important;
	}

	/* Sezioni prodotti — header piatto mockup */
	body.pcp-wm-home-native .pcp-home-products {
		gap: 1rem;
		padding-bottom: 0.75rem;
	}

	body.pcp-wm-home-native .pcp-home-products__section .pcp-home-products__header {
		flex-direction: row;
		align-items: center;
		padding: 0.65rem 0.85rem;
		margin-bottom: 0.5rem;
		background: #ffffff !important;
		background-image: none !important;
		border: 1px solid #e8e8e8 !important;
		border-radius: 8px;
		border-left: 4px solid var(--pcp-blue-primary, #2563eb) !important;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
		color-scheme: only light;
		filter: none;
	}

	body.pcp-wm-home-native .pcp-home-products__section .pcp-home-products__heading {
		font-size: 0.95rem;
		font-weight: 700;
		color: var(--pcp-blue-dark, #111315) !important;
		-webkit-text-fill-color: var(--pcp-blue-dark, #111315) !important;
		text-align: left !important;
		text-transform: uppercase;
		letter-spacing: 0.03em;
	}

	body.pcp-wm-home-native .pcp-home-products__section .pcp-home-products__more {
		padding: 0.35rem 0.75rem;
		font-size: 0.75rem;
		font-weight: 600;
		color: var(--pcp-blue-primary, #2563eb) !important;
		-webkit-text-fill-color: var(--pcp-blue-primary, #2563eb) !important;
		background: #fff !important;
		border: 1px solid var(--pcp-blue-primary, #2563eb) !important;
		border-radius: 6px;
	}

	/* Card prodotti: dimensioni da pcp-zagg-home-products.css (no override compatti). */

	body.pcp-wm-home-native .pcp-home-products__badge--nuovo {
		background: var(--pcp-blue-secondary, #3b82f6);
	}

	body.pcp-wm-home-native .pcp-home-products__badge--bestseller,
	body.pcp-wm-home-native .pcp-home-products__badge--hot {
		background: #b45309;
		font-size: 0.55rem;
		padding: 0.15rem 0.3rem;
	}

	/* Brand partner — subito sotto trust bar */
	body.pcp-wm-home-native .pcp-brand-marquee-slot--after-trust {
		margin-top: 0 !important;
		margin-bottom: 8px !important;
		padding-top: 0 !important;
		padding-bottom: 4px !important;
		background: #ffffff !important;
	}

	body.pcp-wm-home-native .pcp-brand-marquee-slot--after-trust .pcp-brand-marquee-bar--logos-only .pcp-brand-marquee-bar__inner {
		padding: 6px 0 8px !important;
	}

	body.pcp-wm-home-native .pcp-brand-marquee-section {
		background: var(--pcp-blue-bg, #f5f7fa);
	}

	body.pcp-wm-home-native h2.pcp-brand-marquee-section-title,
	body.pcp-wm-home-native .pcp-brand-marquee-section-title .elementor-heading-title {
		font-size: 1rem !important;
		padding-top: 0.75rem !important;
		margin-bottom: 0.75rem !important;
		color: var(--pcp-blue-dark, #111315) !important;
		text-transform: uppercase;
		letter-spacing: 0.03em;
	}

	body.pcp-wm-home-native h2.pcp-brand-marquee-section-title::before,
	body.pcp-wm-home-native .pcp-brand-marquee-section-title .elementor-heading-title::before {
		display: none;
	}

	body.pcp-wm-home-native h2.pcp-brand-marquee-section-title::after,
	body.pcp-wm-home-native .pcp-brand-marquee-section-title .elementor-heading-title::after {
		display: none;
	}
}
