/* ═══════════════════════════════════════════════════════════════
   پیشروموبایل — صفحه اصلی  (home.css v1.0.0)
   ═══════════════════════════════════════════════════════════════ */

:root {
	--hm-accent:   #F5A623;
	--hm-accent-d: #e09415;
	--hm-red:      #e53e3e;
	--hm-ink:      #1a1a1a;
	--hm-muted:    #6b7280;
	--hm-border:   #eceef1;
	--hm-bg:       #f4f6f9;
	--hm-card:     #ffffff;
	--hm-radius:   12px;
	--hm-radius-s: 8px;
	--hm-shadow:   0 2px 10px rgba(0,0,0,.06);
	--hm-shadow-h: 0 8px 28px rgba(0,0,0,.13);
	--hm-dur:      .2s;
}

/* ── Base ── */
.ph-home {
	background: var(--hm-bg);
	direction: rtl;
}

.ph-container {
	max-width: var(--pishro-max, 1600px);
	margin-inline: auto;
	padding-inline: var(--pishro-gutter, 24px);
}

.ph-section {
	padding-block: 36px;
}

/* ── Section head ── */
.ph-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 16px;
	margin-bottom: 22px;
}

.ph-section-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--hm-ink);
	margin: 0;
	position: relative;
	padding-bottom: 8px;
}

.ph-section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 44px;
	height: 3px;
	background: var(--hm-accent);
	border-radius: 2px;
}

.ph-section-more {
	font-size: .82rem;
	color: var(--hm-accent);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 500;
	white-space: nowrap;
	transition: color var(--hm-dur) ease;
}

.ph-section-more:hover { color: var(--hm-accent-d); }

/* ══════════════════════════════════════════════════════════════
   ۱. SLIDER
══════════════════════════════════════════════════════════════ */

.ph-slider-wrap {
	padding-block: 20px;
}

/* اسلایدر تمام‌عرضِ لبه‌به‌لبه، چسبیده زیر هدر — سبکِ مدرنِ تکنولایف/کالاتیک */
.ph-slider-wrap--full {
	padding: 0;
}

.ph-slider {
	position: relative;
	/* بنرِ پهن‌وکوتاهِ مدرن (کوتاه‌تر از قبل برای ظاهرِ سبک‌تر) */
	aspect-ratio: 1552 / 440;
	overflow: hidden;
	background: #eef0f4;
	border-radius: var(--hm-radius);
}

.ph-slider-wrap--full .ph-slider {
	border-radius: 0;
}

.ph-slider__track {
	height: 100%;
}

.ph-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .65s ease;
	z-index: 1;
	display: block;
	text-decoration: none;
}

a.ph-slider__slide { cursor: pointer; }

.ph-slider__slide.is-active {
	opacity: 1;
	z-index: 2;
}

.ph-slider__bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Arrows */
.ph-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255,255,255,.15);
	border: 1px solid rgba(255,255,255,.25);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	backdrop-filter: blur(4px);
	transition: background var(--hm-dur) ease;
	font-size: 1.1rem;
}

.ph-slider__arrow:hover { background: rgba(255,255,255,.3); }
.ph-slider__arrow--prev { right: 20px; }
.ph-slider__arrow--next { left: 20px; }

/* Dots */
.ph-slider__dots {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	z-index: 10;
}

.ph-slider__dot {
	width: 8px;
	height: 8px;
	border-radius: 4px;
	background: rgba(255,255,255,.45);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: all .3s ease;
}

.ph-slider__dot.is-active {
	background: #fff;
	width: 26px;
}

/* ══════════════════════════════════════════════════════════════
   ۲. CATEGORIES — نوار رنگارنگ ویبرنت (بند انگشتی)
   هر آیتم رنگ اختصاصی خود را با متغیر --cat دریافت می‌کند.
══════════════════════════════════════════════════════════════ */

.ph-cats {
	background: var(--hm-card);
	padding-block: 18px;
	border-bottom: 1px solid var(--hm-border);
}

.ph-cats__strip {
	display: flex;
	gap: 22px;
	justify-content: safe center;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-block: 6px;
	padding-inline: 2px;
	max-width: 1180px;
	margin-inline: auto;
}

.ph-cats__strip::-webkit-scrollbar { display: none; }

.ph-cat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	flex: 0 0 auto;
	text-decoration: none;
	transition: transform var(--hm-dur) ease;
}

.ph-cat__circle {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg,
		color-mix(in srgb, var(--cat, #6366f1) 18%, transparent) 0%,
		color-mix(in srgb, var(--cat, #6366f1) 8%, transparent) 100%);
	border: 2px solid color-mix(in srgb, var(--cat, #6366f1) 25%, transparent);
	box-shadow: 0 2px 8px color-mix(in srgb, var(--cat, #6366f1) 20%, transparent);
	transition: background var(--hm-dur) ease, border-color var(--hm-dur) ease, box-shadow var(--hm-dur) ease;
}

.ph-cat__circle i {
	font-size: 28px;
	color: var(--cat, #6366f1);
	transition: color var(--hm-dur) ease;
	line-height: 1;
}

.ph-cat:hover { transform: translateY(-5px); }

.ph-cat:hover .ph-cat__circle {
	background: var(--cat, #6366f1);
	border-color: color-mix(in srgb, var(--cat, #6366f1) 90%, transparent);
	box-shadow: 0 8px 22px color-mix(in srgb, var(--cat, #6366f1) 50%, transparent);
}

.ph-cat:hover .ph-cat__circle i { color: #fff; }

.ph-cat__name {
	font-size: .72rem;
	font-weight: 700;
	color: #374151;
	text-align: center;
	max-width: 78px;
	line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════
   ۳. PRODUCT CARD — pishro-card در کاروسل خانه
   (markup یکسان با صفحه فروشگاه؛ CSS vars + container اینجا تعریف می‌شوند)
══════════════════════════════════════════════════════════════ */

.ph-carousel .pishro-card {
	--ps-accent: #F5A623;
	--ps-accent-d: #e09415;
	--ps-ink: #1a202c;
	--ps-ink-2: #2d3748;
	--ps-muted: #6b7280;
	--ps-border: #e9ebef;
	--ps-soft: #f6f7f9;
	--ps-card: #fff;
	--ps-red: #e53e3e;
	--ps-radius: 14px;
	--ps-shadow-lg: 0 12px 34px rgba(20,30,55,.13);

	display: flex;
	flex-direction: column;
	background: var(--ps-card);
	border: 1px solid var(--ps-border);
	border-radius: var(--ps-radius);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	height: 100%;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

.ph-carousel .pishro-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--ps-shadow-lg);
	border-color: #e0e3e8;
}

.ph-carousel .pishro-card__img-link {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	aspect-ratio: 1 / 1;
	padding: 10px;
}

.ph-carousel .pishro-card__img-link img,
.ph-carousel .pishro-card__media img {
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	transition: transform .35s ease;
}

.ph-carousel .pishro-card:hover .pishro-card__media img { transform: scale(1.05); }

/* ══════════════════════════════════════════════════════════════
   ۴. CAROUSEL
══════════════════════════════════════════════════════════════ */

.ph-carousel {
	position: relative;
}

.ph-carousel__track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	/* اسنپِ نرم (نه mandatory) تا مومنتوم و اسکرولِ آزاد مثلِ دیجی‌کالا نجنگد */
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-block: 4px 8px;
	cursor: grab;
	overscroll-behavior-x: contain;
}

.ph-carousel__track.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	user-select: none;
}

/* حین درگ، انتخاب متن/کشیدن تصویر داخل کارت‌ها غیرفعال شود */
.ph-carousel__track.is-dragging * {
	pointer-events: none;
	user-select: none;
}

/* درگِ بومیِ عکس/لینک را خاموش کن تا grab-to-scroll با موس نشکند */
.ph-carousel__track img,
.ph-carousel__track a {
	-webkit-user-drag: none;
	user-select: none;
}

.ph-carousel__track::-webkit-scrollbar { display: none; }

.ph-carousel__item {
	flex: 0 0 240px;
	scroll-snap-align: start;
}

.ph-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-60%);
	z-index: 5;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--hm-card);
	border: 1px solid var(--hm-border);
	color: var(--hm-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--hm-shadow);
	transition: all var(--hm-dur) ease;
	font-size: 1rem;
}

.ph-carousel__arrow:hover {
	background: var(--hm-accent);
	color: #fff;
	border-color: var(--hm-accent);
}

.ph-carousel__arrow--prev { right: -18px; }
.ph-carousel__arrow--next { left: -18px; }

.ph-carousel__arrow.is-hidden { display: none; }

/* ══════════════════════════════════════════════════════════════
   ۵. AMAZING DEALS — طراحی فشرده (کارت معرفی کنار کاروسل)
══════════════════════════════════════════════════════════════ */

.ph-deals2 { padding-block: 22px; }

.ph-deals2__row {
	display: flex;
	gap: 16px;
	align-items: stretch;
}

/* کارت معرفی (راست، RTL) */
.ph-deals2__intro {
	flex: 0 0 196px;
	background: linear-gradient(150deg, #e53e3e 0%, #f5a623 100%);
	border-radius: var(--hm-radius);
	padding: 18px 16px;
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 13px;
	justify-content: center;
	box-shadow: 0 6px 20px rgba(229,62,62,.22);
}

.ph-deals2__fire {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(255,255,255,.2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
}

.ph-deals2__title {
	font-size: 1.18rem;
	font-weight: 800;
	line-height: 1.45;
	margin: 0;
	color: #fff;
}

.ph-deals2__timer {
	display: flex;
	align-items: center;
	gap: 5px;
}

.ph-deals2__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: rgba(255,255,255,.18);
	border-radius: 9px;
	padding: 6px 0 4px;
	min-width: 42px;
}

.ph-deals2__unit b {
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.ph-deals2__unit i {
	font-size: .58rem;
	font-style: normal;
	opacity: .85;
	margin-top: 3px;
}

.ph-deals2__colon {
	font-size: 1.05rem;
	font-weight: 800;
	opacity: .8;
	margin-top: -8px;
}

.ph-deals2__more {
	color: #fff;
	font-size: .82rem;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 2px;
}

.ph-deals2__more:hover { color: #fff; opacity: .85; }

.ph-deals2__carousel {
	flex: 1 1 0;
	min-width: 0;
}

.ph-deals2__carousel .ph-carousel__arrow--prev { right: -10px; }
.ph-deals2__carousel .ph-carousel__arrow--next { left: -10px; }

@media (max-width: 768px) {
	.ph-deals2__row {
		flex-direction: column;
		gap: 8px;
		background: linear-gradient(150deg, #e53e3e 0%, #f5a623 100%);
		border-radius: var(--hm-radius);
		padding: 10px 11px 9px;
		box-shadow: 0 6px 20px rgba(229,62,62,.22);
	}
	.ph-deals2__intro {
		display: grid;
		flex: 0 0 auto;
		grid-template-columns: auto 1fr auto;
		grid-template-areas:
			"fire title title"
			"timer timer more";
		align-items: center;
		align-content: start;
		column-gap: 8px;
		row-gap: 5px;
		padding: 0;
		background: none;
		box-shadow: none;
		border-radius: 0;
	}
	.ph-deals2__fire { grid-area: fire; width: 26px; height: 26px; font-size: .85rem; border-radius: 7px; }
	.ph-deals2__title {
		grid-area: title;
		font-size: .92rem;
	}
	.ph-deals2__title br { display: none; }
	.ph-deals2__timer { grid-area: timer; justify-self: start; gap: 3px; }
	.ph-deals2__unit { min-width: 27px; padding: 3px 0 2px; border-radius: 6px; }
	.ph-deals2__unit b { font-size: .8rem; }
	.ph-deals2__unit i { font-size: .46rem; margin-top: 1px; }
	.ph-deals2__colon { font-size: .72rem; margin-top: -5px; }
	.ph-deals2__more { grid-area: more; justify-self: end; font-size: .68rem; margin-top: 0; }
	.ph-deals2__carousel .ph-carousel__track { padding-block: 0 4px; }
}

@media (max-width: 480px) {
	.ph-deals2__title { font-size: .84rem; }
}

/* ══════════════════════════════════════════════════════════════
   ۶. TABS
══════════════════════════════════════════════════════════════ */

.ph-tabs {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.ph-tab {
	padding: 6px 16px;
	border: 1px solid var(--hm-border);
	border-radius: 100px;
	background: var(--hm-card);
	color: var(--hm-muted);
	font-size: .8rem;
	font-weight: 500;
	cursor: pointer;
	transition: all var(--hm-dur) ease;
	white-space: nowrap;
	font-family: inherit;
}

.ph-tab:hover {
	border-color: var(--hm-accent);
	color: var(--hm-accent);
}

.ph-tab.is-active {
	background: var(--hm-accent);
	border-color: var(--hm-accent);
	color: #fff;
}

.ph-tab.is-loading {
	opacity: .6;
	cursor: wait;
}

/* ══════════════════════════════════════════════════════════════
   ۷. BANNERS
══════════════════════════════════════════════════════════════ */

.ph-banners {
	padding-block: 12px;
}

.ph-banners__grid {
	display: grid;
	gap: 14px;
}

.ph-banners--4col .ph-banners__grid { grid-template-columns: repeat(4, 1fr); }
.ph-banners--2col .ph-banners__grid { grid-template-columns: repeat(2, 1fr); }
.ph-banners--3col .ph-banners__grid { grid-template-columns: repeat(3, 1fr); }

.ph-banner {
	display: block;
	position: relative;
	border-radius: var(--hm-radius);
	overflow: hidden;
	text-decoration: none;
	color: #fff;
	transition: transform var(--hm-dur) ease, box-shadow var(--hm-dur) ease;
	min-height: 130px;
}

.ph-banners--2col .ph-banner  { min-height: 190px; }
.ph-banners--3col .ph-banner  { min-height: 155px; }

/* بنرِ عکس‌دار (متن + CTA داخلِ تصویر): نسبتِ ثابت تا طرح در هیچ عرضی کراپ نشود */
.ph-banner--img { min-height: 0; }
.ph-banners--4col .ph-banner--img { aspect-ratio: 3 / 2; }
.ph-banners--3col .ph-banner--img { aspect-ratio: 2 / 1; }
.ph-banners--2col .ph-banner--img { aspect-ratio: 2 / 1; }

.ph-banner:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 34px rgba(0,0,0,.22);
}

.ph-banner__bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ph-banner__badge {
	position: relative;
	display: inline-block;
	background: rgba(255,255,255,.22);
	font-size: .68rem;
	font-weight: 700;
	padding: 3px 11px;
	border-radius: 100px;
	margin-bottom: 8px;
	z-index: 2;
}

.ph-banner__content {
	position: relative;
	z-index: 2;
	padding: 20px 20px;
}

.ph-banner__title {
	font-size: .95rem;
	font-weight: 700;
	margin: 0 0 5px;
	line-height: 1.3;
	text-shadow: 0 1px 4px rgba(0,0,0,.25);
}

.ph-banners--2col .ph-banner__title { font-size: 1.2rem; }

.ph-banner__sub {
	font-size: .75rem;
	opacity: .85;
	margin: 0 0 12px;
	line-height: 1.4;
}

.ph-banner__cta {
	font-size: .75rem;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	opacity: .9;
	font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   ۸. BRANDS
══════════════════════════════════════════════════════════════ */

.ph-brands {
	background: var(--hm-card);
	padding-block: 24px;
}

/* برندها تمام‌عرض: کانتینر بدون سقف عرض */
.ph-brands .ph-container {
	max-width: none;
}

.ph-brands__carousel { position: relative; }

.ph-brands__track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: none;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-block: 4px;
}

.ph-brands__track::-webkit-scrollbar { display: none; }

.ph-brand-item {
	flex: 0 0 188px;
	height: 118px;
	border: 1px solid var(--hm-border);
	border-radius: var(--hm-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	padding: 10px 16px;
	transition: all var(--hm-dur) ease;
	background: var(--hm-card);
}

.ph-brand-item:hover {
	border-color: var(--hm-accent);
	box-shadow: 0 6px 20px rgba(245,166,35,.18);
	transform: translateY(-3px);
}

/* لوگوها به‌صورت پیش‌فرض رنگی (بدون grayscale) */
.ph-brand-item img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: transform var(--hm-dur) ease;
}

.ph-brand-item:hover img {
	transform: scale(1.06);
}

.ph-brand-item__name {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--hm-ink);
	letter-spacing: .3px;
	transition: color var(--hm-dur) ease;
}

.ph-brand-item:hover .ph-brand-item__name {
	color: var(--hm-accent);
}

/* ══════════════════════════════════════════════════════════════
   ۹. BLOG
══════════════════════════════════════════════════════════════ */

.ph-blog {
	background: var(--hm-card);
	padding-block: 36px;
}

.ph-blog__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.ph-blog-card {
	border: 1px solid var(--hm-border);
	border-radius: var(--hm-radius);
	overflow: hidden;
	background: var(--hm-card);
	transition: box-shadow var(--hm-dur) ease, transform var(--hm-dur) ease;
	display: flex;
	flex-direction: column;
}

.ph-blog-card:hover {
	box-shadow: var(--hm-shadow-h);
	transform: translateY(-3px);
}

.ph-blog-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	flex-shrink: 0;
}

.ph-blog-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.ph-blog-card:hover .ph-blog-card__img {
	transform: scale(1.05);
}

.ph-blog-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--hm-border) 0%, var(--hm-bg) 100%);
}

.ph-blog-card__body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.ph-blog-card__cat {
	font-size: .7rem;
	font-weight: 600;
	color: var(--hm-accent);
	text-decoration: none;
	background: rgba(245,166,35,.1);
	padding: 3px 10px;
	border-radius: 100px;
	display: inline-block;
	width: max-content;
	max-width: 100%;
}

.ph-blog-card__title {
	font-size: .88rem;
	font-weight: 700;
	margin: 0;
	line-height: 1.45;
}

.ph-blog-card__title a {
	color: var(--hm-ink);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ph-blog-card__title a:hover { color: var(--hm-accent); }

.ph-blog-card__excerpt {
	font-size: .76rem;
	color: var(--hm-muted);
	margin: 0;
	line-height: 1.65;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ph-blog-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--hm-border);
	gap: 8px;
}

.ph-blog-card__date {
	font-size: .7rem;
	color: var(--hm-muted);
	display: flex;
	align-items: center;
	gap: 4px;
}

.ph-blog-card__read {
	font-size: .76rem;
	color: var(--hm-accent);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	white-space: nowrap;
}

.ph-blog-card__read:hover { color: var(--hm-accent-d); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */

/* ── 1280px ── */
@media (max-width: 1280px) {
	.ph-carousel__item { flex: 0 0 224px; }
}

/* ── 1024px / تبلت افقی ── */
@media (max-width: 1024px) {
	.ph-banners--4col .ph-banners__grid { grid-template-columns: repeat(2, 1fr); }

	.ph-blog__grid { grid-template-columns: repeat(2, 1fr); }

	.ph-carousel__arrow--prev { right: -14px; }
	.ph-carousel__arrow--next { left: -14px; }
}

/* ── 768px / موبایل ── */
@media (max-width: 768px) {
	.ph-section { padding-block: 22px; }

	.ph-slider-wrap { padding-block: 14px; }
	.ph-slider { height: auto; aspect-ratio: 768 / 260; border-radius: 14px; }
	.ph-slider__arrow { display: none; }

	.ph-cats { padding-block: 12px; }
	.ph-cats__strip { gap: 14px; justify-content: flex-start; }
	.ph-cat__circle { width: 60px; height: 60px; }
	.ph-cat__circle i { font-size: 25px; }
	.ph-cat__name { font-size: .68rem; max-width: 70px; }

	.ph-deals__head { padding: 14px 14px 12px; }
	.ph-timer-wrap { margin-inline-start: 0; width: 100%; order: 3; justify-content: center; }
	.ph-deals .ph-carousel { padding: 14px 14px 16px; }

	.ph-section-head { margin-bottom: 16px; }
	.ph-tabs { gap: 4px; }
	.ph-tab { padding: 5px 12px; font-size: .76rem; }

	.ph-banners--4col .ph-banners__grid,
	.ph-banners--3col .ph-banners__grid { grid-template-columns: repeat(2, 1fr); }
	.ph-banners--2col .ph-banners__grid { grid-template-columns: 1fr; }

	.ph-carousel__arrow { display: none; }
	.ph-carousel__item { flex: 0 0 180px; }

	.ph-brand-item { flex: 0 0 144px; height: 96px; }
	.ph-brand-item__name { font-size: 1rem; }

	.ph-blog__grid { grid-template-columns: 1fr; }
}

/* ── 480px / موبایل کوچک ── */
@media (max-width: 480px) {
	.ph-banners--4col .ph-banners__grid,
	.ph-banners--3col .ph-banners__grid,
	.ph-banners--2col .ph-banners__grid { grid-template-columns: 1fr; }

	.ph-carousel__item { flex: 0 0 164px; }
	.ph-section-title { font-size: 1rem; }
}
