/* ═══════════════════════════════════════════════
   SHOP PAGE — يطابق CategoryPage من ملفات التصميم
═══════════════════════════════════════════════ */

.abaya-shop-page {
	min-height: 100vh;
	padding-bottom: 4rem;
}

/* ─── عنوان الصفحة ─── */
.abaya-shop-page__header {
	padding-top: 1.25rem;
	padding-bottom: 0.75rem;
}
.abaya-shop-page__title {
	font-family: var(--abaya-font-display, 'Amiri', serif);
	font-size: 1.4rem;
	color: #1A1714;
	margin-bottom: 0.25rem;
}
.abaya-shop-page__count {
	font-size: 0.75rem;
	color: #9B9189;
}

/* ─── تبويبات التصنيف ─── */
.abaya-shop-cat-tabs {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
	padding-bottom: 0.75rem;
	margin-bottom: 0.25rem;
}
.abaya-shop-cat-tabs::-webkit-scrollbar { display: none; }

.abaya-shop-cat-tab {
	flex-shrink: 0;
	padding: 0.625rem 1.25rem;
	border-radius: 9999px;
	font-size: 0.78rem;
	color: #9B9189;
	background: #F5EFE6;
	transition: background 0.2s, color 0.2s;
	text-decoration: none;
	white-space: nowrap;
}
.abaya-shop-cat-tab:hover {
	background: #F0E8DF;
	color: #1A1714;
}
.abaya-shop-cat-tab.is-active {
	background: #1A1714;
	color: #fff;
}

/* ─── شريط الفلتر والترتيب ─── */
.abaya-shop-filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 0.75rem 1.25rem;
}

/* زر الفلتر */
.abaya-shop-filter-btn {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	font-size: 0.78rem;
	background: #F5EFE6;
	color: #1A1714;
	transition: background 0.2s;
}
.abaya-shop-filter-btn:hover {
	background: #F0E8DF;
}
.abaya-shop-filter-btn.has-filter {
	background: var(--abaya-primary);
	color: #fff;
}

/* الترتيب */
.abaya-shop-sort {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	color: #9B9189;
	font-size: 0.78rem;
	position: relative;
}
.abaya-shop-sort__label { pointer-events: none; }
.abaya-shop-sort__select {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
}

/* ─── شبكة المنتجات ─── */
.abaya-shop-page__grid-wrap {
	padding-block: 0;
}
.abaya-products-grid--shop {
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
@media (min-width: 640px) {
	.abaya-products-grid--shop { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (min-width: 1024px) {
	.abaya-products-grid--shop { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* ─── حالة عدم وجود منتجات ─── */
.abaya-shop-empty {
	text-align: center;
	padding-block: 5rem;
}
.abaya-shop-empty__text {
	font-size: 0.9rem;
	color: #9B9189;
	margin-bottom: 0.75rem;
}
.abaya-shop-empty__reset {
	color: #C4A882;
	font-size: 0.8rem;
	transition: color 0.2s;
}
.abaya-shop-empty__reset:hover { color: #A8896A; }

/* ─── ترقيم الصفحات ─── */
.abaya-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.375rem;
	margin-top: 2.5rem;
	flex-wrap: wrap;
}
.abaya-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	font-size: 0.82rem;
	color: #1A1714;
	background: #F5EFE6;
	transition: background 0.2s, color 0.2s;
}
.abaya-pagination .page-numbers:hover {
	background: var(--abaya-primary);
	color: #fff;
}
.abaya-pagination .page-numbers.current {
	background: #1A1714;
	color: #fff;
}

/* ═══════════════════════════════════════════════
   FILTER DRAWER — درج الفلتر السفلي
═══════════════════════════════════════════════ */
.abaya-filter-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(26, 23, 20, 0.42);
	z-index: 60;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.abaya-filter-backdrop.is-open {
	display: block;
}

.abaya-filter-drawer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #FAF7F4;
	border-radius: 1.5rem 1.5rem 0 0;
	z-index: 70;
	max-height: 80vh;
	overflow-y: auto;
	transform: translateY(100%);
	transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.abaya-filter-drawer.is-open {
	transform: translateY(0);
}

.abaya-filter-drawer__inner {
	padding: 1.5rem;
	max-width: 480px;
	margin-inline: auto;
}

.abaya-filter-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}
.abaya-filter-drawer__title {
	font-size: 1.1rem;
	font-weight: 500;
	color: #1A1714;
}
.abaya-filter-drawer__close {
	color: #9B9189;
	transition: color 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}
.abaya-filter-drawer__close:hover { color: #1A1714; }

/* مجموعة الفلتر */
.abaya-filter-group {
	margin-bottom: 1.5rem;
}
.abaya-filter-group__title {
	font-size: 0.85rem;
	font-weight: 500;
	color: #1A1714;
	margin-bottom: 0.75rem;
}

/* شرائح الخيارات */
.abaya-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.abaya-filter-chip {
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	background: #F5EFE6;
	color: #9B9189;
	transition: background 0.2s, color 0.2s;
	cursor: pointer;
}
.abaya-filter-chip:hover {
	background: #F0E8DF;
	color: #1A1714;
}
.abaya-filter-chip.is-active {
	background: #1A1714;
	color: #fff;
}

/* أزرار الإجراءات */
.abaya-filter-drawer__actions {
	display: flex;
	gap: 0.75rem;
	margin-top: 2rem;
}
.abaya-filter-action {
	flex: 1;
	padding: 0.875rem;
	border-radius: 9999px;
	font-size: 0.85rem;
	transition: all 0.2s;
	text-align: center;
}
.abaya-filter-action--reset {
	border: 1px solid #1A1714;
	color: #1A1714;
	background: transparent;
}
.abaya-filter-action--reset:hover { background: #F5EFE6; }
.abaya-filter-action--apply {
	background: #1A1714;
	color: #fff;
}
.abaya-filter-action--apply:hover { background: #2d2926; }
