/**
 * 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;
	}

	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: clamp(160px, 50vw, 360px);
		aspect-ratio: 2 / 1;
	}

	body.pcp-wm-home-native .pcp-wm-hero-slider {
		min-height: clamp(160px, 50vw, 360px);
		aspect-ratio: 2 / 1;
		height: auto;
	}

	body.pcp-wm-home-native .pcp-wm-hero-slide.is-active img {
		width: 100%;
		height: auto;
		aspect-ratio: 2 / 1;
		min-height: clamp(160px, 50vw, 360px);
		object-fit: cover;
		object-position: center;
		border-radius: 0;
	}

	/* Trust badges — 3 colonne, icona sopra testo */
	body.pcp-wm-home-native .pcp-home-trust__inner {
		padding: 12px 0;
	}

	body.pcp-wm-home-native .pcp-home-trust__track {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
		overflow: visible;
		padding: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: transparent;
	}

	body.pcp-wm-home-native .pcp-home-trust__item {
		flex: unset;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 6px;
		padding: 8px 4px;
		border-right: 0;
	}

	body.pcp-wm-home-native .pcp-home-trust__item:nth-child(n + 4) {
		display: none;
	}

	body.pcp-wm-home-native .pcp-home-trust__icon {
		width: 36px;
		height: 36px;
		border-radius: 50%;
		background: var(--pcp-blue-primary-soft, rgba(37, 99, 235, 0.1));
		border: 0;
	}

	body.pcp-wm-home-native .pcp-home-trust__icon svg,
	body.pcp-wm-home-native .pcp-home-trust__icon .pcp-trust-icon-svg {
		fill: none !important;
		stroke: var(--pcp-blue-primary, #2563eb);
		stroke-width: 1.75;
		width: 18px;
		height: 18px;
	}

	body.pcp-wm-home-native .pcp-home-trust__text {
		align-items: center;
	}

	body.pcp-wm-home-native .pcp-home-trust__title {
		font-size: 9px;
		font-weight: 700;
		line-height: 1.25;
		color: var(--pcp-blue-dark, #111315);
		text-transform: uppercase;
		letter-spacing: 0.02em;
	}

	body.pcp-wm-home-native .pcp-home-trust__subtitle {
		display: none;
	}

	/* Categorie — griglia 3×2 nera precisa */
	body.pcp-wm-home-native .pcp-home-cat-strip {
		padding-bottom: 12px;
		background: var(--pcp-blue-bg, #f5f7fa);
	}

	body.pcp-wm-home-native .pcp-home-cat-strip__inner {
		padding-inline: 0;
	}

	body.pcp-wm-home-native .pcp-home-cat-strip__blocks {
		gap: 6px;
	}

	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));
		gap: 6px;
	}

	body.pcp-wm-home-native .pcp-home-cat-strip__link {
		border-radius: 4px;
		background: var(--pcp-blue-dark, #111315);
		box-shadow: none;
	}

	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: var(--pcp-blue-dark, #111315);
		aspect-ratio: 1 / 1;
		object-fit: cover;
	}

	/* 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__header {
		flex-direction: row;
		align-items: center;
		padding: 0.5rem 0;
		margin-bottom: 0.5rem;
		background: transparent;
		border: 0;
		border-radius: 0;
		border-left: 0;
		box-shadow: none;
	}

	body.pcp-wm-home-native .pcp-home-products__heading {
		font-size: 1rem;
		font-weight: 700;
		color: var(--pcp-blue-dark, #111315);
		text-transform: uppercase;
		letter-spacing: 0.03em;
	}

	body.pcp-wm-home-native .pcp-home-products__more {
		padding: 0;
		font-size: 0.78rem;
		font-weight: 600;
		color: var(--pcp-blue-primary, #2563eb) !important;
		background: transparent;
		border: 0;
		border-radius: 0;
	}

	body.pcp-wm-home-native .pcp-home-products__more:hover,
	body.pcp-wm-home-native .pcp-home-products__more:focus-visible {
		background: transparent;
		color: var(--pcp-blue-primary-hover, #1d4ed8) !important;
		text-decoration: underline !important;
	}

	/* Griglia prodotti — mockup (base: pcp-zagg-home-products.css @767px) */
	body.pcp-wm-home-native .pcp-home-products__grid--component,
	body.pcp-wm-home-native .pcp-home-products__grid--pc {
		gap: 6px;
	}

	body.pcp-wm-home-native .pcp-home-products__card {
		border-radius: 6px;
		border-color: rgba(0, 0, 0, 0.06);
		box-shadow: none;
	}

	body.pcp-wm-home-native .pcp-home-products__card:hover {
		transform: none;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	}

	body.pcp-wm-home-native .pcp-home-products__image-link {
		padding: 0.4rem 0.4rem 0 !important;
	}

	body.pcp-wm-home-native .pcp-home-products__body {
		padding: 0.35rem 0.4rem 0.5rem !important;
		gap: 0.2rem !important;
	}

	body.pcp-wm-home-native .pcp-home-products__title {
		font-size: 0.62rem !important;
		line-height: 1.25;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	body.pcp-wm-home-native .pcp-home-products__sku,
	body.pcp-wm-home-native .pcp-home-products__meta,
	body.pcp-wm-home-native .pcp-home-products__stock {
		display: none;
	}

	body.pcp-wm-home-native .pcp-home-products__price {
		font-size: 0.72rem !important;
		font-weight: 700;
		color: var(--pcp-blue-primary, #2563eb) !important;
	}

	body.pcp-wm-home-native .pcp-home-products__price del {
		font-size: 0.58rem;
		color: var(--pcp-blue-muted, #687280) !important;
	}

	body.pcp-wm-home-native .pcp-home-products__price ins {
		color: var(--pcp-blue-primary, #2563eb) !important;
		text-decoration: none;
	}

	body.pcp-wm-home-native .pcp-home-products__cart {
		margin-top: 0.35rem !important;
		padding: 0.38rem 0.25rem !important;
		font-size: 0.55rem !important;
		border-radius: 4px !important;
		background: var(--pcp-blue-primary, #2563eb) !important;
		line-height: 1.1 !important;
	}

	body.pcp-wm-home-native .pcp-home-products__cart:hover {
		background: var(--pcp-blue-primary-hover, #1d4ed8) !important;
	}

	body.pcp-wm-home-native .pcp-home-products__badge--promo {
		background: var(--pcp-blue-primary, #2563eb);
		font-size: 0.55rem;
		padding: 0.15rem 0.3rem;
	}

	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 */
	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;
	}
}
