/* Homepage layout v2 — scoped to .p24-home-v2 */

.p24-home-v2 {
	--p24-radius: 12px;
	--p24-radius-sm: 8px;
	--p24-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
	--p24-border: #ececec;
	--p24-bg-soft: #fafafa;
	--p24-bg-gray: #f7f7f7;
	color: var(--color-text);
	background: #fff;
}

.p24-home-v2__container {
	width: min(100%, var(--container-max));
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: 16px;
}

@media (min-width: 768px) {
	.p24-home-v2__container {
		width: calc(100% - 80px);
	}
}

.p24-home-v2__section { padding-block: 40px; }
.p24-home-v2__section--white { background: #fff; }
.p24-home-v2__section--soft { background: var(--p24-bg-soft); }
.p24-home-v2__section--gray { background: var(--p24-bg-gray); }

.p24-home-v2__section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.p24-home-v2__section-title {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.35;
}

.p24-home-v2__section-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--color-primary);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
}

.p24-home-v2__section-link::before {
	content: "";
	width: 6px;
	height: 6px;
	border-top: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: rotate(-45deg);
}

.p24-home-v2__section-link:hover { text-decoration: underline; }

.p24-home-v2__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 22px;
	border-radius: var(--p24-radius-sm);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.p24-home-v2__btn--primary { background: var(--color-primary); color: #fff; border: 0; }
.p24-home-v2__btn--outline { background: #fff; color: var(--color-primary); border: 1px solid var(--color-primary); }
.p24-home-v2__btn--ghost { background: #fff; color: #2d2d2d; border: 1px solid #d8d8d8; min-height: 40px; padding: 8px 16px; font-size: 0.82rem; }
.p24-home-v2__btn--dark { background: #2d2d2d; color: #fff; border: 0; }
.p24-home-v2__btn:hover { opacity: 0.92; }

.p24-home-v2__hero-cta::after,
.p24-home-v2__mini-cta::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-inline-start: 8px;
	border-top: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: rotate(-45deg);
}

/* Hero */
.p24-home-v2__hero { padding-top: 20px; padding-bottom: 24px; }

.p24-home-v2__hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.p24-home-v2__hero-main { min-width: 0; }

.p24-home-v2__hero-slider {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	background: #f3ebe3;
	min-height: 240px;
	box-shadow: var(--p24-shadow);
}

.p24-home-v2__hero-slide { position: relative; min-height: 240px; }

.p24-home-v2__hero-media {
	position: relative;
	min-height: 240px;
	height: 100%;
}

.p24-home-v2__hero-media img,
.p24-home-v2__hero-image {
	width: 100%;
	height: 100%;
	min-height: 240px;
	object-fit: cover;
	display: block;
}

.p24-home-v2__hero-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 28px;
	max-width: 52%;
	background: linear-gradient(270deg, rgba(243, 235, 227, 0) 0%, rgba(243, 235, 227, 0.82) 38%, rgba(243, 235, 227, 0.96) 100%);
}

.p24-home-v2__hero-title {
	margin: 0 0 10px;
	font-size: 1.55rem;
	font-weight: 900;
	color: #2d2d2d;
	line-height: 1.4;
}

.p24-home-v2__hero-subtitle {
	margin: 0 0 18px;
	font-size: 0.88rem;
	line-height: 1.85;
	color: #555;
	max-width: 24rem;
}

.p24-home-v2__hero-pagination {
	bottom: 16px !important;
	inset-inline-start: 28px !important;
	width: auto !important;
}

.p24-home-v2__hero-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: #fff;
	opacity: 0.7;
	margin: 0 4px !important;
}

.p24-home-v2__hero-pagination .swiper-pagination-bullet-active {
	background: var(--color-primary);
	opacity: 1;
	width: 22px;
	border-radius: 999px;
}

/* Mini hero slider */
.p24-home-v2__hero-mini { min-width: 0; }

.p24-home-v2__mini-slider {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	background: #fff3f3;
	min-height: 240px;
	box-shadow: var(--p24-shadow);
	height: 100%;
}

.p24-home-v2__mini-slide,
.p24-home-v2__mini-slide-inner {
	min-height: 240px;
	height: 100%;
}

.p24-home-v2__mini-slide-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 28px 14px 12px 16px;
}

.p24-home-v2__mini-dots {
	position: absolute;
	top: 22px;
	inset-inline-end: 14px;
	width: 44px;
	height: 36px;
	background-image: radial-gradient(circle, #d5d5d5 2px, transparent 2px);
	background-size: 10px 10px;
	opacity: 0.85;
	pointer-events: none;
	z-index: 1;
}

.p24-home-v2__mini-header {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	padding-inline-end: 48px;
	margin-top: 4px;
}

.p24-home-v2__mini-title {
	margin: 0 0 4px;
	font-size: 1.2rem;
	font-weight: 900;
	line-height: 1.35;
	color: var(--color-primary);
}

.p24-home-v2__mini-subtitle {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1.35;
	color: #2d2d2d;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.p24-home-v2__mini-body {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px;
	min-height: 0;
	margin-top: auto;
	padding-top: 10px;
}

.p24-home-v2__mini-content {
	position: relative;
	z-index: 3;
	flex: 0 0 auto;
	min-width: 0;
	max-width: 48%;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding-bottom: 4px;
}

.p24-home-v2__mini-cta {
	margin-top: 0;
	white-space: nowrap;
}

.p24-home-v2__mini-media {
	position: relative;
	z-index: 1;
	flex: 0 1 52%;
	min-width: 0;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	align-self: flex-end;
	max-height: 100%;
	pointer-events: none;
}

.p24-home-v2__mini-media img,
.p24-home-v2__mini-image {
	width: 100%;
	height: auto;
	max-height: min(200px, 70%);
	object-fit: contain;
	object-position: bottom center;
	display: block;
	pointer-events: none;
}

.p24-home-v2__mini-pagination {
	bottom: 10px !important;
	inset-inline-start: 0 !important;
	width: 100% !important;
	z-index: 3;
}

.p24-home-v2__mini-pagination .swiper-pagination-bullet {
	width: 6px;
	height: 6px;
	background: #ccc;
	opacity: 0.8;
	margin: 0 3px !important;
}

.p24-home-v2__mini-pagination .swiper-pagination-bullet-active {
	background: var(--color-primary);
	opacity: 1;
}

/* Services */
.p24-home-v2__services { padding-block: 28px; }

.p24-home-v2__services-card {
	background: #fff;
	border: 1px solid var(--p24-border);
	border-radius: var(--p24-radius);
	box-shadow: var(--p24-shadow);
	padding: 18px 14px;
}

.p24-home-v2__services-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p24-home-v2__service-item {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.p24-home-v2__service-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 50, 50, 0.08);
	flex-shrink: 0;
	line-height: 0;
}

.p24-home-v2__service-icon img {
	display: block;
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.p24-home-v2__service-text {
	min-width: 0;
}

.p24-home-v2__service-title { display: block; font-size: 0.82rem; font-weight: 700; line-height: 1.3; }
.p24-home-v2__service-desc { display: block; font-size: 0.68rem; color: var(--color-muted); margin-top: 2px; line-height: 1.35; }

/* Categories */
.p24-home-v2__categories-scroll {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	width: 100%;
	max-width: 100%;
	padding-bottom: 4px;
}

.p24-home-v2__categories-scroll::-webkit-scrollbar { display: none; }

.p24-home-v2__categories-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	gap: 18px;
	width: max-content;
}

.p24-home-v2__category-item {
	flex: 0 0 108px;
	width: 108px;
}

.p24-home-v2__category-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.p24-home-v2__category-icon {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	border: 1px solid var(--p24-border);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: var(--p24-shadow);
}

.p24-home-v2__category-image { width: 100%; height: 100%; object-fit: contain; }
.p24-home-v2__category-placeholder { width: 36px; height: 36px; border-radius: 50%; background: #eee; }
.p24-home-v2__category-name { font-size: 0.82rem; text-align: center; line-height: 1.5; font-weight: 600; }

/* Products */
.p24-home-v2__products-scroll {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	width: 100%;
	max-width: 100%;
}

.p24-home-v2__products-scroll::-webkit-scrollbar { display: none; }

.p24-home-v2__products-grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 14px;
	width: max-content;
}

.p24-home-v2__product-card {
	position: relative;
	border: 1px solid var(--p24-border);
	border-radius: var(--p24-radius);
	background: #fff;
	box-shadow: var(--p24-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	flex: 0 0 calc(50vw - 23px);
	width: calc(50vw - 23px);
}

.p24-home-v2__product-badge {
	position: absolute;
	top: 10px;
	inset-inline-end: 10px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 0.72rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}

.p24-home-v2__product-badge--bestseller { background: var(--color-primary); }
.p24-home-v2__product-badge--new { background: #28a745; }

.p24-home-v2__product-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	padding: 20px;
	background: #ececec;
}

.p24-home-v2__product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.p24-home-v2__product-body {
	padding: 0 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.p24-home-v2__product-name {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.65;
	color: var(--color-text);
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 4.9em;
}

.p24-home-v2__product-name a {
	color: inherit;
	text-decoration: none;
}

.p24-home-v2__product-name a:hover {
	color: var(--color-primary);
}

.p24-home-v2__product-footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 6px;
}

.p24-home-v2__product-price {
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--color-text);
	line-height: 1.35;
	min-width: 0;
}

.p24-home-v2__product-price .price {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.p24-home-v2__product-price .price ins {
	text-decoration: none;
	color: inherit;
}

.p24-home-v2__product-price del,
.p24-home-v2__product-price .price del { color: var(--color-muted); font-weight: 400; font-size: 0.78rem; }

.p24-home-v2__product-cart-wrap .pish-product-card__add-to-cart {
	margin: 0;
	position: static;
	inset: auto;
	flex-shrink: 0;
}

.p24-home-v2__product-cart-wrap .pish-product-card__add-to-cart a {
	width: 42px;
	height: 42px;
	padding: 0;
	border-radius: 10px;
	background: rgba(255, 50, 50, 0.1);
	color: var(--color-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.p24-home-v2__product-cart-wrap .pish-product-card__add-to-cart a:hover,
.p24-home-v2__product-cart-wrap .pish-product-card__add-to-cart a:focus-visible {
	background: rgba(255, 50, 50, 0.18);
	color: var(--color-primary);
}

.p24-home-v2__product-cart-wrap .pish-cart-icon {
	display: block;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

/* Discount */
.p24-home-v2__discount {
	--p24-discount-aspect: 887 / 59;
}

.p24-home-v2__discount.p24-home-v2__section {
	padding-block: 0;
}

.p24-home-v2__products + .p24-home-v2__discount {
	padding-top: 0;
}

.p24-home-v2__discount + .p24-home-v2__products {
	padding-top: 24px;
}

.p24-home-v2__discount .p24-home-v2__container {
	padding-block: 0;
}

.p24-home-v2__discount-banner {
	display: block;
	line-height: 0;
	text-decoration: none;
	width: 100%;
	aspect-ratio: var(--p24-discount-aspect);
	overflow: hidden;
	border-radius: var(--p24-radius);
	box-shadow: var(--p24-shadow);
}

.p24-home-v2__discount-banner picture {
	display: block;
	width: 100%;
	height: 100%;
}

.p24-home-v2__discount-banner .p24-home-v2__discount-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.p24-home-v2__products.p24-home-v2__section--white {
	padding-bottom: 20px;
}

.p24-home-v2__discount-inner {
	position: relative;
	display: grid;
	gap: 16px;
	align-items: center;
	background: linear-gradient(90deg, #fff 0%, #fff8f8 100%);
	border: 1px solid #f0e0e0;
	border-radius: var(--p24-radius);
	box-shadow: var(--p24-shadow);
	overflow: hidden;
	padding: 20px;
	min-height: 140px;
}

.p24-home-v2__discount-media-link { display: block; }
.p24-home-v2__discount-media img { width: 100%; height: auto; display: block; border-radius: var(--p24-radius-sm); }
.p24-home-v2__discount-title { margin: 0 0 8px; font-size: 1.35rem; font-weight: 900; color: var(--color-primary); line-height: 1.4; }
.p24-home-v2__discount-desc { margin: 0 0 14px; color: var(--color-muted); line-height: 1.7; font-size: 0.9rem; }

.p24-home-v2__discount-percent {
	position: absolute;
	inset-inline-end: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 5rem;
	font-weight: 900;
	color: rgba(255, 50, 50, 0.1);
	line-height: 1;
	pointer-events: none;
}

/* Blog */
.p24-home-v2__blog-scroll {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	width: 100%;
	max-width: 100%;
}

.p24-home-v2__blog-scroll::-webkit-scrollbar { display: none; }

.p24-home-v2__blog-grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 14px;
	width: max-content;
}

.p24-home-v2__blog-card {
	border: 1px solid var(--p24-border);
	border-radius: var(--p24-radius);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--p24-shadow);
	flex: 0 0 calc(50vw - 23px);
	width: calc(50vw - 23px);
}

.p24-home-v2__blog-link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.p24-home-v2__blog-media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f0f0f0;
}

.p24-home-v2__blog-image { width: 100%; height: 100%; object-fit: cover; display: block; }

.p24-home-v2__blog-body {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.p24-home-v2__blog-cat { font-size: 0.75rem; color: var(--color-primary); font-weight: 700; }

.p24-home-v2__blog-title {
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.p24-home-v2__blog-date { font-size: 0.75rem; color: var(--color-muted); margin-top: auto; }

/* About */
.p24-home-v2__about-card {
	background: #fff;
	border: 1px solid var(--p24-border);
	border-radius: 16px;
	padding: 28px 20px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.p24-home-v2__about-grid {
	display: grid;
	gap: 24px;
	align-items: center;
}

.p24-home-v2__about-media {
	display: flex;
	align-items: center;
	justify-content: center;
}

.p24-home-v2__about-image {
	width: 100%;
	max-width: 320px;
	height: auto;
	display: block;
	object-fit: contain;
}

.p24-home-v2__about-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.p24-home-v2__about-title {
	margin: 0 0 14px;
	font-size: 1.5rem;
	font-weight: 900;
	line-height: 1.4;
	color: var(--color-text);
}

.p24-home-v2__about-text {
	margin: 0 0 22px;
	line-height: 1.9;
	color: var(--color-muted);
	font-size: 0.92rem;
	max-width: 42ch;
}

.p24-home-v2__about-btn {
	min-width: 220px;
}

.p24-home-v2__about-side {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.p24-home-v2__stats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 14px;
	direction: rtl;
}

.p24-home-v2__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0;
	padding: 0;
}

.p24-home-v2__stat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
}

.p24-home-v2__stat-icon img {
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.p24-home-v2__stat-value {
	display: block;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--color-primary);
	line-height: 1.3;
	margin-top: 6px;
}

.p24-home-v2__stat-label {
	display: block;
	font-size: 0.76rem;
	color: var(--color-muted);
	line-height: 1.4;
	margin-top: 4px;
}

@media (min-width: 768px) {
	.p24-home-v2__container { padding-inline: 24px; }
	.p24-home-v2__section { padding-block: 52px; }
	.p24-home-v2__section-title { font-size: 1.5rem; }
	.p24-home-v2__hero-grid:not(:has(.p24-home-v2__hero-mini)) {
		grid-template-columns: 1fr;
	}
	.p24-home-v2__hero-grid {
		grid-template-columns: minmax(0, 2.75fr) minmax(260px, 1fr);
		gap: 18px;
		align-items: stretch;
	}
	.p24-home-v2__hero-slider,
	.p24-home-v2__hero-slide,
	.p24-home-v2__hero-media,
	.p24-home-v2__hero-media img,
	.p24-home-v2__mini-slider,
	.p24-home-v2__mini-slide,
	.p24-home-v2__mini-slide-inner { min-height: 380px; }
	.p24-home-v2__mini-title { font-size: 1.3rem; }
	.p24-home-v2__mini-subtitle { font-size: 0.92rem; }
	.p24-home-v2__mini-media img { max-height: min(300px, 80%); }
	.p24-home-v2__hero-title { font-size: 1.9rem; }
	.p24-home-v2__services-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
	.p24-home-v2__services-card { padding: 22px 24px; }
	.p24-home-v2__service-item { gap: 14px; }
	.p24-home-v2__service-icon { width: 48px; height: 48px; }
	.p24-home-v2__service-icon img { width: 28px; height: 28px; }
	.p24-home-v2__service-title { font-size: 0.95rem; }
	.p24-home-v2__service-desc { font-size: 0.78rem; }
	.p24-home-v2__categories-scroll {
		overflow: visible;
		margin-inline: 0;
		padding-inline: 0;
		scroll-padding-inline: 0;
	}
	.p24-home-v2__categories-grid {
		display: grid;
		grid-template-columns: repeat(9, minmax(0, 1fr));
		width: auto;
		min-width: 0;
		gap: 12px;
	}
	.p24-home-v2__category-item { flex: none; width: auto; }
	.p24-home-v2__category-icon { width: 76px; height: 76px; }
	.p24-home-v2__category-name { font-size: 0.76rem; }
	.p24-home-v2__products-scroll {
		overflow: visible;
		margin-inline: 0;
		padding-inline: 0;
		scroll-padding-inline: 0;
	}
	.p24-home-v2__products-grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: auto;
		gap: 18px;
	}
	.p24-home-v2__product-card {
		flex: none;
		width: auto;
	}
	.p24-home-v2__discount-inner { grid-template-columns: auto 1fr auto; padding: 24px 28px; min-height: 160px; }
	.p24-home-v2__blog-scroll {
		overflow: visible;
		margin-inline: 0;
		padding-inline: 0;
		scroll-padding-inline: 0;
	}
	.p24-home-v2__blog-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: auto;
		gap: 18px;
	}
	.p24-home-v2__blog-card {
		flex: none;
		width: auto;
	}
	.p24-home-v2__about-grid {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) minmax(0, 0.95fr);
		gap: 20px;
		align-items: center;
	}
	.p24-home-v2__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
}

@media (min-width: 992px) {
	.p24-home-v2__section-title { font-size: 1.625rem; }
	.p24-home-v2__hero-grid { grid-template-columns: minmax(0, 2.8fr) minmax(280px, 1fr); }
	.p24-home-v2__hero-slider,
	.p24-home-v2__hero-slide,
	.p24-home-v2__hero-media,
	.p24-home-v2__hero-media img,
	.p24-home-v2__mini-slider,
	.p24-home-v2__mini-slide,
	.p24-home-v2__mini-slide-inner { min-height: 430px; }
	.p24-home-v2__mini-title { font-size: 1.35rem; }
	.p24-home-v2__mini-subtitle { font-size: 0.95rem; }
	.p24-home-v2__mini-media img { max-height: min(340px, 82%); }
	.p24-home-v2__categories-grid { gap: 14px; }
	.p24-home-v2__category-icon { width: 88px; height: 88px; }
	.p24-home-v2__category-name { font-size: 0.82rem; }
	.p24-home-v2__products-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
	.p24-home-v2__product-name { font-size: 0.82rem; min-height: 5.1em; }
	.p24-home-v2__product-price { font-size: 1rem; }
	.p24-home-v2__blog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
	.p24-home-v2__section-title { font-size: 1.75rem; }
	.p24-home-v2__hero-title { font-size: 2rem; }
	.p24-home-v2__hero-slider,
	.p24-home-v2__hero-slide,
	.p24-home-v2__hero-media,
	.p24-home-v2__hero-media img,
	.p24-home-v2__mini-slider,
	.p24-home-v2__mini-slide,
	.p24-home-v2__mini-slide-inner { min-height: 440px; }
	.p24-home-v2__mini-media img { max-height: min(350px, 84%); }
}

/* About — compact desktop banner (reference layout) */
@media (min-width: 1024px) {
	.p24-home-v2__about.p24-home-v2__section {
		padding-block: 16px;
	}

	.p24-home-v2__about-card {
		padding: 18px 40px;
		border-radius: 16px;
		box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
	}

	.p24-home-v2__about-grid {
		grid-template-columns: minmax(0, 26fr) minmax(0, 38fr) minmax(0, 36fr);
		gap: 14px;
		align-items: center;
	}

	.p24-home-v2__about-media {
		justify-content: center;
		align-items: center;
	}

	.p24-home-v2__about-image {
		width: 280px;
		max-width: 280px;
		max-height: 168px;
		height: auto;
		object-fit: contain;
	}

	.p24-home-v2__about-content {
		align-items: center;
		justify-content: center;
		width: 100%;
	}

	.p24-home-v2__about-title {
		margin: 0 0 8px;
		font-size: 1.25rem;
		font-weight: 700;
		line-height: 1.3;
	}

	.p24-home-v2__about-text {
		margin: 0 0 10px;
		font-size: 0.75rem;
		line-height: 1.9;
		max-width: 100%;
		width: 100%;
	}

	.p24-home-v2__about-btn.p24-home-v2__btn {
		width: 180px;
		min-width: 180px;
		min-height: 38px;
		height: 38px;
		padding: 0 12px;
		border-radius: 8px;
		font-size: 0.8125rem;
		font-weight: 600;
	}

	.p24-home-v2__about-side {
		justify-content: center;
		align-items: stretch;
	}

	.p24-home-v2__stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 4px;
		width: 100%;
	}

	.p24-home-v2__stat-icon {
		width: 32px;
		height: 32px;
	}

	.p24-home-v2__stat-icon img {
		width: 30px;
		height: 30px;
	}

	.p24-home-v2__stat-value {
		font-size: 1.0625rem;
		font-weight: 800;
		margin-top: 5px;
	}

	.p24-home-v2__stat-label {
		font-size: 0.6875rem;
		margin-top: 4px;
		line-height: 1.3;
	}
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.p24-home-v2__about-card {
		padding: 16px 24px;
	}

	.p24-home-v2__about-grid {
		grid-template-columns: minmax(0, 24fr) minmax(0, 42fr) minmax(0, 34fr);
		gap: 10px;
	}

	.p24-home-v2__about-title {
		margin-bottom: 6px;
		font-size: 1.1875rem;
	}

	.p24-home-v2__about-text {
		margin-bottom: 8px;
		line-height: 1.8;
	}

	.p24-home-v2__about-image {
		width: 250px;
		max-width: 250px;
		max-height: 155px;
	}
}

@media (max-width: 767px) {
	.p24-home-v2__hero-grid { grid-template-columns: 1fr; }
	.p24-home-v2__hero-mini { order: 2; }
	.p24-home-v2__hero-content {
		max-width: 100%;
		padding: 18px;
		background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 70%);
		justify-content: flex-end;
	}
	.p24-home-v2__hero-title { font-size: 1.25rem; }

	.p24-home-v2__categories-scroll {
		margin-inline: -16px;
		padding-inline: 16px;
		scroll-padding-inline: 16px;
	}

	.p24-home-v2__categories-grid {
		gap: 14px;
		min-width: min-content;
	}

	.p24-home-v2__products-scroll {
		margin-inline: -16px;
		padding-inline: 16px;
		scroll-padding-inline: 16px;
	}

	.p24-home-v2__products-grid {
		gap: 12px;
	}

	.p24-home-v2__product-card {
		flex-basis: calc(50vw - 22px);
		width: calc(50vw - 22px);
	}

	.p24-home-v2__product-body {
		padding: 0 12px 12px;
	}

	.p24-home-v2__product-thumb {
		padding: 14px;
	}

	.p24-home-v2__product-name {
		font-size: 0.72rem;
		-webkit-line-clamp: 3;
		min-height: 3.6em;
	}

	.p24-home-v2__product-price {
		font-size: 0.85rem;
	}

	.p24-home-v2__blog-scroll {
		margin-inline: -16px;
		padding-inline: 16px;
		scroll-padding-inline: 16px;
	}

	.p24-home-v2__blog-grid {
		gap: 12px;
	}

	.p24-home-v2__blog-card {
		flex-basis: calc(50vw - 22px);
		width: calc(50vw - 22px);
	}

	.p24-home-v2__blog-body {
		padding: 12px;
	}

	.p24-home-v2__blog-title {
		font-size: 0.78rem;
		-webkit-line-clamp: 3;
	}

	.p24-home-v2__blog-cat,
	.p24-home-v2__blog-date {
		font-size: 0.68rem;
	}
}
