/* Restored Poco homepage: the browser-saved HTML contains Swiper's previous
 * runtime state. Dynamic WooCommerce cards therefore use the same responsive
 * column count directly, preventing a stale state from stretching one card
 * across the full module. */
.ntpanel-restored-home #mz-product-listing-37208710 .swiper-wrapper,
.ntpanel-restored-home #mz-product-listing-39208716 .swiper-wrapper,
.ntpanel-restored-home #mz-product-listing-70208727 .swiper-wrapper {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	transform: none !important;
}

.ntpanel-restored-home #mz-product-listing-37208710 .swiper-slide,
.ntpanel-restored-home #mz-product-listing-39208716 .swiper-slide,
.ntpanel-restored-home #mz-product-listing-70208727 .swiper-slide {
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
}

.ntpanel-restored-home #mz-product-listing-37208710 .mz-tab-listing-navigation,
.ntpanel-restored-home #mz-product-listing-39208716 .mz-tab-listing-navigation,
.ntpanel-restored-home #mz-product-listing-70208727 .mz-tab-listing-navigation {
	display: none;
}

.ntpanel-restored-home #mz-article-listing-73208730 .swiper-wrapper {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	transform: none !important;
}

.ntpanel-restored-home #mz-article-listing-73208730 .swiper-slide {
	width: auto !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	margin: 0 !important;
}

.ntpanel-restored-home #mz-article-listing-73208730 .swiper,
.ntpanel-restored-home #mz-article-listing-73208730 .article-thumb {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
}

.ntpanel-restored-home #mz-article-listing-73208730 .swiper-pager {
	display: none;
}

@media (max-width: 1199.98px) {
	.ntpanel-restored-home #mz-product-listing-37208710 .swiper-wrapper,
	.ntpanel-restored-home #mz-product-listing-39208716 .swiper-wrapper,
	.ntpanel-restored-home #mz-product-listing-70208727 .swiper-wrapper {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 991.98px) {
	.ntpanel-restored-home #mz-product-listing-37208710 .swiper-wrapper,
	.ntpanel-restored-home #mz-product-listing-39208716 .swiper-wrapper,
	.ntpanel-restored-home #mz-product-listing-70208727 .swiper-wrapper {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ntpanel-restored-home #mz-article-listing-73208730 .swiper-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.ntpanel-restored-home #mz-product-listing-37208710 .swiper-wrapper,
	.ntpanel-restored-home #mz-product-listing-39208716 .swiper-wrapper,
	.ntpanel-restored-home #mz-product-listing-70208727 .swiper-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.ntpanel-restored-home #mz-article-listing-73208730 .swiper-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		width: 100% !important;
	}

	.ntpanel-restored-home #mz-article-listing-73208730 .article-thumb .image img {
		width: 100%;
		height: auto;
		aspect-ratio: 359 / 221;
		object-fit: cover;
	}

	.ntpanel-restored-home #mz-article-listing-73208730 .article-thumb .caption {
		padding: 8px 0 0;
	}

	.ntpanel-restored-home #mz-article-listing-73208730 .article-thumb .metadata {
		display: block;
		min-height: 0;
		margin: 0;
	}

	.ntpanel-restored-home #mz-article-listing-73208730 .article-thumb .metadata .author,
	.ntpanel-restored-home #mz-article-listing-73208730 .article-thumb .metadata .comment,
	.ntpanel-restored-home #mz-article-listing-73208730 .article-thumb .description {
		display: none;
	}

	.ntpanel-restored-home #mz-article-listing-73208730 .article-thumb .metadata .timestamp {
		display: inline-block !important;
		width: auto !important;
		height: auto !important;
		max-width: calc(100% - 8px);
		margin: -14px 0 6px !important;
		padding: 3px 7px !important;
		border-radius: 2px;
		font-size: 10px !important;
		line-height: 1.2 !important;
		font-weight: 700;
		white-space: nowrap !important;
		overflow: visible;
	}

	.ntpanel-restored-home #mz-article-listing-73208730 .article-thumb .title {
		margin: 0;
		font-size: 13px;
		line-height: 1.35;
		font-weight: 700;
	}

	.ntpanel-restored-home #mz-article-listing-73208730 .article-thumb .title a {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
}

@media (max-width: 479.98px) {
	.ntpanel-restored-home #mz-product-listing-37208710 .ntpanel-product-card .product-thumb-top,
	.ntpanel-restored-home #mz-product-listing-39208716 .ntpanel-product-card .product-thumb-top,
	.ntpanel-restored-home #mz-product-listing-70208727 .ntpanel-product-card .product-thumb-top {
		min-height: 0 !important;
		height: auto !important;
		flex-basis: auto !important;
		aspect-ratio: 1 / 1;
	}

	.ntpanel-restored-home #mz-product-listing-37208710 .ntpanel-product-card .image,
	.ntpanel-restored-home #mz-product-listing-39208716 .ntpanel-product-card .image,
	.ntpanel-restored-home #mz-product-listing-70208727 .ntpanel-product-card .image {
		min-height: 0 !important;
		height: 100% !important;
		flex-basis: auto !important;
	}

	.ntpanel-restored-home #mz-product-listing-37208710 .ntpanel-product-card .panel-card-caption,
	.ntpanel-restored-home #mz-product-listing-39208716 .ntpanel-product-card .panel-card-caption,
	.ntpanel-restored-home #mz-product-listing-70208727 .ntpanel-product-card .panel-card-caption {
		padding: 8px !important;
	}

	.ntpanel-restored-home #mz-product-listing-37208710 .ntpanel-product-card .panel-card-code,
	.ntpanel-restored-home #mz-product-listing-39208716 .ntpanel-product-card .panel-card-code,
	.ntpanel-restored-home #mz-product-listing-70208727 .ntpanel-product-card .panel-card-code {
		display: none;
	}

	.ntpanel-restored-home #mz-product-listing-37208710 .ntpanel-product-card .panel-card-caption .title,
	.ntpanel-restored-home #mz-product-listing-39208716 .ntpanel-product-card .panel-card-caption .title,
	.ntpanel-restored-home #mz-product-listing-70208727 .ntpanel-product-card .panel-card-caption .title {
		margin: 0 0 4px !important;
		font-size: 13px !important;
		line-height: 1.3;
	}

	.ntpanel-restored-home #mz-product-listing-37208710 .ntpanel-product-card .panel-card-use,
	.ntpanel-restored-home #mz-product-listing-39208716 .ntpanel-product-card .panel-card-use,
	.ntpanel-restored-home #mz-product-listing-70208727 .ntpanel-product-card .panel-card-use {
		min-height: 0;
		margin: 0 0 6px;
		font-size: 10px;
		line-height: 1.35;
	}

	.ntpanel-restored-home #mz-product-listing-37208710 .ntpanel-product-card .panel-card-specs,
	.ntpanel-restored-home #mz-product-listing-39208716 .ntpanel-product-card .panel-card-specs,
	.ntpanel-restored-home #mz-product-listing-70208727 .ntpanel-product-card .panel-card-specs {
		gap: 3px;
		padding: 6px 0;
	}

	.ntpanel-restored-home #mz-product-listing-37208710 .ntpanel-product-card .panel-card-specs span,
	.ntpanel-restored-home #mz-product-listing-39208716 .ntpanel-product-card .panel-card-specs span,
	.ntpanel-restored-home #mz-product-listing-70208727 .ntpanel-product-card .panel-card-specs span,
	.ntpanel-restored-home #mz-product-listing-37208710 .ntpanel-product-card .panel-card-specs strong,
	.ntpanel-restored-home #mz-product-listing-39208716 .ntpanel-product-card .panel-card-specs strong,
	.ntpanel-restored-home #mz-product-listing-70208727 .ntpanel-product-card .panel-card-specs strong {
		font-size: 10px !important;
	}

	.ntpanel-restored-home #mz-product-listing-37208710 .ntpanel-product-card .panel-card-foot,
	.ntpanel-restored-home #mz-product-listing-39208716 .ntpanel-product-card .panel-card-foot,
	.ntpanel-restored-home #mz-product-listing-70208727 .ntpanel-product-card .panel-card-foot {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		margin-top: 6px !important;
		padding-top: 6px;
	}

	.ntpanel-restored-home #mz-product-listing-37208710 .ntpanel-product-card .panel-card-foot .price-new,
	.ntpanel-restored-home #mz-product-listing-39208716 .ntpanel-product-card .panel-card-foot .price-new,
	.ntpanel-restored-home #mz-product-listing-70208727 .ntpanel-product-card .panel-card-foot .price-new {
		font-size: 13px !important;
	}

	.ntpanel-restored-home #mz-product-listing-37208710 .ntpanel-product-card .panel-card-availability,
	.ntpanel-restored-home #mz-product-listing-39208716 .ntpanel-product-card .panel-card-availability,
	.ntpanel-restored-home #mz-product-listing-70208727 .ntpanel-product-card .panel-card-availability {
		font-size: 10px !important;
	}
}

/* Keep the 3 promo banners stable even when users upload large images.
 * Poco original spacing: #entry_208710 margin-bottom 1.875rem (top gap),
 * each promo widget margin-bottom 1.875rem (bottom gap). Grid removes per-item
 * margins — restore symmetric 1.875rem on the section wrapper instead. */
.ntpanel-restored-home #entry_208711 {
	padding-top: 0 !important;
	padding-bottom: 1.875rem !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.ntpanel-restored-home #entry_208711 > .entry-section {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.875rem;
	align-items: stretch;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.ntpanel-restored-home #entry_208712,
.ntpanel-restored-home #entry_208713,
.ntpanel-restored-home #entry_208714 {
	min-width: 0;
	margin: 0 !important;
}

.ntpanel-restored-home #entry_208711 .widget-banner,
.ntpanel-restored-home #entry_208711 .widget-banner > a,
.ntpanel-restored-home #entry_208711 .hover-effect {
	display: block;
	height: 100%;
}

.ntpanel-restored-home #entry_208711 .hover-effect {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	aspect-ratio: 380 / 215;
	background: #f2f2f5;
}

.ntpanel-restored-home #entry_208711 img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 991.98px) {
	.ntpanel-restored-home #entry_208711 > .entry-section {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}

	.ntpanel-restored-home #entry_208714 {
		grid-column: 1 / -1;
	}
}

/* Homepage category wall: keep one compact row with many circular thumbs. */
.ntpanel-restored-home #entry_208707 .swiper {
	overflow: hidden;
}

.ntpanel-restored-home #entry_208707 .figure-img-wrapper {
	width: 100%;
	max-width: 132px;
	aspect-ratio: 1;
	margin-left: auto;
	margin-right: auto;
}

.ntpanel-restored-home #entry_208707 .figure-img-wrapper img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 767.98px) {
	.ntpanel-restored-home #mz-category-wall-nav74208707 {
		display: none;
	}

	.ntpanel-restored-home #mz-category-wall74208707 {
		margin-bottom: 0;
	}

	.ntpanel-restored-home #entry_208707 .figure-img-wrapper {
		margin-bottom: 0.5rem;
	}

	.ntpanel-restored-home #entry_208707 .figure h4 {
		font-size: 12px;
		line-height: 1.25;
		font-weight: 600;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
}

@media (max-width: 575.98px) {
	.ntpanel-restored-home {
		overflow-x: hidden;
	}

	.ntpanel-restored-home #entry_208699,
	.ntpanel-restored-home #entry_208700,
	.ntpanel-restored-home #mz-slider-96208700,
	.ntpanel-restored-home #mz-slider-96208700 .swiper-slide,
	.ntpanel-restored-home #mz-slider-96208700 .slide-image {
		width: 100% !important;
		max-width: 100% !important;
	}

	.ntpanel-restored-home #entry_208701 {
		display: grid !important;
		width: 100%;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.ntpanel-restored-home #entry_208701 img {
		display: block;
		width: 100%;
		height: auto;
	}

	.ntpanel-restored-home #entry_208717 {
		padding-top: 2rem !important;
		padding-bottom: 2rem !important;
	}

	.ntpanel-restored-home #entry_208718 {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-bottom: 1.25rem !important;
		align-items: stretch;
	}

	.ntpanel-restored-home #entry_208719,
	.ntpanel-restored-home #entry_208724 {
		width: 100% !important;
		max-width: none !important;
		flex: none !important;
		order: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.ntpanel-restored-home #entry_208721 {
		grid-column: 1 / -1;
		order: 1 !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.ntpanel-restored-home #entry_208720 img,
	.ntpanel-restored-home #entry_208725 img {
		display: block;
		width: 100% !important;
		height: auto !important;
		border-radius: 4px;
	}

	.ntpanel-restored-home #entry_208711 > .entry-section {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.ntpanel-restored-home #entry_208714 {
		grid-column: 1 / -1;
	}
}

/* LCP fix: show first hero slide before Swiper deferred init */
#mz-slider-96208700 {
	aspect-ratio: 770 / 530;
	overflow: hidden;
	background: #eceff1;
}
#mz-slider-96208700:not(.swiper-initialized) .swiper-slide:first-child {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	position: relative !important;
	z-index: 1 !important;
}
#mz-slider-96208700:not(.swiper-initialized) .swiper-slide:first-child .slide-image {
	display: block !important;
	width: 100%;
	height: auto;
}
