/*!
 * ELECTRO ALIKHWANE – Category Page
 * Design & development: Abdou Ecom – abdouecom.com
 */

.eac {
	--eac-gold: #E3A51A;
	--eac-blue: #1570EF;
	--eac-navy: #0F1E3D;
	--eac-text: #1D2939;
	--eac-muted: #667085;
	--eac-line: #E6EAF2;
	--eac-soft: #F4F7FD;
	--eac-softblue: #EAF2FF;
	--eac-red: #E5484D;
	--eac-cols: 4;
	--eac-mcols: 2;
	--eac-shadow: 0 6px 24px rgba(16, 30, 61, .06);
	--eac-shadow-lg: 0 16px 40px rgba(16, 30, 61, .12);

	direction: rtl;
	text-align: right;
	font-family: "Cairo", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--eac-text);
	max-width: 1280px;
	margin: 0 auto;
	padding: 24px 20px 48px;
	box-sizing: border-box;
	line-height: 1.6;
}
.eac *, .eac *::before, .eac *::after { box-sizing: border-box; }
.eac [hidden] { display: none !important; }
.eac h1, .eac h3, .eac h4, .eac p { margin: 0; font-family: inherit; }
.eac a { text-decoration: none; color: inherit; }
.eac img { max-width: 100%; height: auto; display: block; }
.eac button { font-family: inherit; cursor: pointer; }
.eac ul { list-style: none; margin: 0; padding: 0; }
.eac .eac-ico { flex: none; }
.eac-notices:empty { display: none; }
.eac-notices { margin-bottom: 14px; }

/* ================= HERO ================= */
.eac-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	align-items: center;
	gap: 24px;
	min-height: 270px;
	padding: 30px 36px;
	border-radius: 24px;
	overflow: hidden;
	background:
		radial-gradient(60% 120% at 0% 100%, rgba(21, 112, 239, .14), transparent 60%),
		radial-gradient(40% 80% at 100% 0%, rgba(227, 165, 26, .14), transparent 60%),
		linear-gradient(135deg, #F7F9FE 0%, #EEF4FF 100%);
	border: 1px solid var(--eac-line);
}
.eac-hero-text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.eac-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--eac-muted); }
.eac-crumbs a:hover { color: var(--eac-blue); }
.eac-crumbs .eac-ico { color: #98A2B3; }
.eac-crumbs span { color: var(--eac-navy); font-weight: 700; }
.eac-hero-badge {
	align-self: flex-start;
	display: inline-flex; align-items: center; gap: 6px;
	background: #FFF4D6; color: #B07A00;
	font-size: 13px; font-weight: 700;
	padding: 4px 14px; border-radius: 999px;
}
.eac-hero-badge .eac-ico { color: var(--eac-gold); }
.eac-hero-title { font-size: 38px; font-weight: 800; color: var(--eac-navy); line-height: 1.3; }
.eac-hero-desc { color: #475467; font-size: 15.5px; max-width: 620px; }
.eac-hero-desc p { margin: 0; }
.eac-hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.eac-hero-stats span {
	display: inline-flex; align-items: center; gap: 6px;
	background: #fff; border: 1px solid var(--eac-line); border-radius: 12px;
	padding: 6px 14px; font-size: 13.5px; font-weight: 600; color: var(--eac-text);
	box-shadow: 0 2px 8px rgba(16, 30, 61, .04);
}
.eac-hero-stats .eac-ico { color: var(--eac-blue); }
.eac-hero-stats b { color: var(--eac-blue); font-size: 16px; font-weight: 800; }

.eac-hero-visual { position: relative; height: 220px; display: flex; align-items: center; justify-content: center; }
.eac-blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.eac-blob-1 { width: 210px; height: 210px; background: linear-gradient(135deg, rgba(21, 112, 239, .18), rgba(21, 112, 239, .05)); }
.eac-blob-2 { width: 70px; height: 70px; background: radial-gradient(circle at 35% 30%, #FFD45C, var(--eac-gold)); top: 6px; left: 14%; opacity: .9; }
.eac-hero-img { position: relative; z-index: 1; max-height: 220px; width: auto; border-radius: 18px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(16, 30, 61, .18)); }
.eac-hero-icon { position: relative; z-index: 1; color: var(--eac-blue); }
.eac-col-item {
	position: absolute; z-index: 1;
	width: 150px; height: 150px; border-radius: 20px; overflow: hidden;
	background: #fff; border: 4px solid #fff; box-shadow: var(--eac-shadow-lg);
	transition: transform .4s ease;
}
.eac-col-item img { width: 100%; height: 100%; object-fit: cover; }
.n1 .eac-col-0 { width: 190px; height: 190px; }
.n2 .eac-col-0 { transform: translateX(55px) rotate(-6deg); }
.n2 .eac-col-1 { transform: translateX(-55px) rotate(6deg); }
.n3 .eac-col-0 { transform: translateX(95px) translateY(10px) rotate(-8deg); }
.n3 .eac-col-1 { z-index: 2; width: 170px; height: 170px; transform: translateY(-6px); }
.n3 .eac-col-2 { transform: translateX(-95px) translateY(10px) rotate(8deg); }
.eac-hero:hover .n3 .eac-col-0 { transform: translateX(105px) translateY(6px) rotate(-10deg); }
.eac-hero:hover .n3 .eac-col-2 { transform: translateX(-105px) translateY(6px) rotate(10deg); }

/* ================= SUBCATS ================= */
.eac-subcats-wrap { margin-top: 18px; }
.eac-subcats {
	display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 8px;
	scrollbar-width: thin; scrollbar-color: #D0D5DD transparent; scroll-snap-type: x proximity;
}
.eac-subcat {
	flex: none; scroll-snap-align: start;
	display: flex; align-items: center; gap: 10px;
	background: #fff; border: 1.5px solid var(--eac-line); border-radius: 16px;
	padding: 8px 10px 8px 18px;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.eac-subcat:hover { transform: translateY(-2px); box-shadow: var(--eac-shadow); border-color: #C9DAFB; }
.eac-subcat.is-active { border-color: var(--eac-blue); background: var(--eac-softblue); }
.eac-subcat-img {
	width: 46px; height: 46px; border-radius: 12px; overflow: hidden;
	background: var(--eac-soft); color: var(--eac-blue); display: grid; place-items: center; flex: none;
}
.eac-subcat-img img { width: 100%; height: 100%; object-fit: cover; }
.eac-subcat-txt strong { display: block; font-size: 14.5px; font-weight: 800; color: var(--eac-navy); white-space: nowrap; }
.eac-subcat-txt small { display: block; font-size: 12px; color: var(--eac-muted); }

/* ================= LAYOUT ================= */
.eac-layout { display: grid; gap: 26px; margin-top: 22px; align-items: start; }
.eac-layout.has-sidebar { grid-template-columns: 270px minmax(0, 1fr); }
.eac-layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }

/* ---------- Sidebar ---------- */
.eac-sidebar { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; }
.eac-sidebar-head { display: none; }
.eac-box { background: #fff; border: 1px solid var(--eac-line); border-radius: 16px; padding: 16px; }
.eac-filters { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.eac-box-title {
	font-size: 15.5px; font-weight: 800; color: var(--eac-navy);
	margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--eac-line);
	position: relative;
}
.eac-box-title::after {
	content: ""; position: absolute; bottom: -1px; right: 0; width: 34px; height: 2px; background: var(--eac-gold); border-radius: 2px;
}

.eac-cats li { margin: 0; }
.eac-cats a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 7px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--eac-text);
	transition: background .2s ease, color .2s ease;
}
.eac-cats a:hover { background: var(--eac-soft); color: var(--eac-blue); }
.eac-cats em {
	font-style: normal; font-size: 12px; font-weight: 700; color: var(--eac-muted);
	background: var(--eac-soft); border-radius: 999px; padding: 0 9px; min-width: 28px; text-align: center;
}
.eac-cats li.is-active > a { background: var(--eac-softblue); color: var(--eac-blue); }
.eac-cats li.is-active > a em { background: var(--eac-blue); color: #fff; }
.eac-cats .eac-cats { margin: 2px 14px 4px 0; padding-right: 10px; border-right: 2px solid var(--eac-line); }
.eac-cats .eac-cats a { font-size: 13.5px; font-weight: 500; }

/* Dual range */
.eac-range { position: relative; height: 28px; margin: 4px 4px 10px; direction: ltr; }
.eac-range-track { position: absolute; top: 12px; left: 0; right: 0; height: 5px; border-radius: 4px; background: var(--eac-line); }
.eac-range-fill { position: absolute; top: 0; bottom: 0; background: var(--eac-blue); border-radius: 4px; }
.eac-range input[type=range] {
	position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none;
	-webkit-appearance: none; appearance: none; height: 28px;
}
.eac-range input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%;
	background: #fff; border: 3px solid var(--eac-blue); box-shadow: 0 2px 8px rgba(21, 112, 239, .35); cursor: grab;
}
.eac-range input[type=range]::-moz-range-thumb {
	pointer-events: auto; width: 16px; height: 16px; border-radius: 50%;
	background: #fff; border: 3px solid var(--eac-blue); cursor: grab;
}
.eac-range input[type=range]::-webkit-slider-runnable-track { background: none; }
.eac-range input[type=range]::-moz-range-track { background: none; }
.eac-price-inputs { display: flex; align-items: center; gap: 8px; }
.eac-price-inputs label { flex: 1; position: relative; margin: 0; }
.eac-price-inputs small { position: absolute; top: -9px; right: 10px; background: #fff; padding: 0 4px; font-size: 11px; color: var(--eac-muted); }
.eac .eac-price-inputs input {
	width: 100%; height: 40px; border: 1.5px solid var(--eac-line); border-radius: 10px; padding: 0 10px;
	font-family: inherit; font-weight: 700; font-size: 14px; color: var(--eac-navy); text-align: center; background: #fff;
	box-shadow: none; outline: none; margin: 0; -moz-appearance: textfield;
}
.eac .eac-price-inputs input:focus { border-color: var(--eac-blue); }
.eac-price-inputs input::-webkit-outer-spin-button, .eac-price-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.eac-price-inputs > span { color: #98A2B3; }

/* Checkboxes */
.eac-check { display: flex; align-items: center; gap: 10px; padding: 6px 2px; font-size: 14px; font-weight: 600; cursor: pointer; margin: 0; }
.eac-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.eac-check > .eac-ind {
	width: 20px; height: 20px; border-radius: 6px; border: 2px solid #D0D5DD; flex: none; position: relative;
	transition: background .2s ease, border-color .2s ease;
}
.eac-radio > .eac-ind { border-radius: 50%; }
.eac-check input:checked + .eac-ind { background: var(--eac-blue); border-color: var(--eac-blue); }
.eac-check input:checked + .eac-ind::after {
	content: ""; position: absolute; top: 2px; left: 5.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.eac-radio input:checked + .eac-ind::after { top: 4px; left: 4px; width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.eac-check input:focus-visible + .eac-ind { box-shadow: 0 0 0 3px rgba(21, 112, 239, .25); }
.eac-check small { color: var(--eac-muted); font-size: 12.5px; }

.eac-filter-actions { display: flex; flex-direction: column; gap: 8px; }
.eac-filter-actions .eac-btn { flex: none; width: 100%; height: 46px; font-size: 15px; }
.eac-reset { text-align: center; color: var(--eac-red); font-weight: 700; font-size: 13.5px; padding: 4px; }

/* ---------- Toolbar ---------- */
.eac-toolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	background: #fff; border: 1px solid var(--eac-line); border-radius: 16px; padding: 10px 14px; margin-bottom: 16px;
}
.eac-toolbar-start, .eac-toolbar-end { display: flex; align-items: center; gap: 12px; }
.eac-count { font-size: 14px; color: var(--eac-muted); }
.eac-count b { color: var(--eac-navy); }
.eac-open-filters {
	display: none; align-items: center; gap: 6px;
	border: 1.5px solid var(--eac-line); background: #fff; border-radius: 10px; height: 40px; padding: 0 14px;
	font-weight: 700; font-size: 14px; color: var(--eac-navy);
}
.eac-open-filters b { background: var(--eac-blue); color: #fff; border-radius: 999px; font-size: 11px; padding: 0 7px; }
.eac-sort { margin: 0; }
.eac-select { position: relative; display: block; margin: 0; }
.eac .eac-select select {
	-webkit-appearance: none; appearance: none; height: 40px; min-width: 210px;
	border: 1.5px solid var(--eac-line); border-radius: 10px; background: #fff;
	padding: 0 14px 0 36px; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--eac-navy); cursor: pointer;
	box-shadow: none; outline: none; margin: 0;
}
.eac .eac-select select:focus { border-color: var(--eac-blue); }
.eac-select .eac-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--eac-muted); }
.eac-view { display: flex; gap: 4px; background: var(--eac-soft); border-radius: 10px; padding: 3px; }
.eac-view button { width: 36px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--eac-muted); display: grid; place-items: center; }
.eac-view button.is-active { background: #fff; color: var(--eac-blue); box-shadow: 0 1px 4px rgba(16, 30, 61, .1); }

.eac-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.eac-chip {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--eac-softblue); color: var(--eac-blue) !important; border-radius: 999px;
	padding: 5px 12px; font-size: 13px; font-weight: 700; transition: background .2s ease;
}
.eac-chip:hover { background: #D6E4FF; }

/* ================= GRID & CARDS ================= */
.eac-grid { display: grid; grid-template-columns: repeat(var(--eac-cols), minmax(0, 1fr)); gap: 18px; }
.eac-layout.has-sidebar .eac-grid { grid-template-columns: repeat(calc(var(--eac-cols) - 1), minmax(0, 1fr)); }
.eac-grid[data-view="dense"] { grid-template-columns: repeat(var(--eac-cols), minmax(0, 1fr)) !important; gap: 14px; }
.eac-layout.no-sidebar .eac-grid[data-view="dense"] { grid-template-columns: repeat(calc(var(--eac-cols) + 1), minmax(0, 1fr)) !important; }

.eac-card {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--eac-line); border-radius: 18px; overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
	animation: eac-up .5s ease both;
}
.eac-card:hover { transform: translateY(-4px); box-shadow: var(--eac-shadow-lg); border-color: #D6E4FF; }
.eac-card-media {
	position: relative; aspect-ratio: 1 / 1; overflow: hidden; margin: 8px 8px 0; border-radius: 14px;
	background: radial-gradient(120% 90% at 50% 20%, #FFFFFF 0%, #F0F3F8 75%, #E8ECF2 100%);
}
.eac-card-img { position: absolute; inset: 0; display: block; }
.eac-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease, transform .6s ease; }
.eac-card:hover .eac-card-img img.eac-img-main { transform: scale(1.06); }
.eac-img-hover { opacity: 0; }
.eac-card:hover .has-hover .eac-img-hover { opacity: 1; }
.eac-card:hover .has-hover .eac-img-main { opacity: 0; }

.eac-off {
	position: absolute; top: 10px; right: 10px; z-index: 2;
	background: radial-gradient(circle at 35% 30%, #FFD45C, var(--eac-gold) 70%); color: var(--eac-navy);
	font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 999px; direction: ltr;
	box-shadow: 0 4px 10px rgba(227, 165, 26, .35);
}
.eac-flag {
	position: absolute; top: 42px; right: 10px; z-index: 2;
	background: var(--eac-blue); color: #fff; font-size: 11.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px;
}
.eac-off + .eac-flag { top: 42px; }
.eac-card-media > .eac-flag:first-child { top: 10px; }
.eac-flag-out { background: var(--eac-navy); }
.eac-heart {
	position: absolute; top: 10px; left: 10px; z-index: 2;
	width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92);
	color: var(--eac-red); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(16, 30, 61, .1);
	transition: transform .2s ease;
}
.eac-heart:hover { transform: scale(1.1); }
.eac-heart.is-on .eac-ico path { fill: currentColor; }
.eac-heart.is-pop { animation: eac-pop .35s ease; }
.eac-quick {
	position: absolute; bottom: 10px; left: 50%; z-index: 2;
	transform: translate(-50%, 140%); opacity: 0;
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	background: rgba(15, 30, 61, .88); color: #fff !important; backdrop-filter: blur(6px);
	font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px;
	transition: transform .3s ease, opacity .3s ease;
}
.eac-card:hover .eac-quick { transform: translate(-50%, 0); opacity: 1; }
.eac-card.is-out .eac-card-img img { filter: grayscale(.6); opacity: .7; }

.eac-card-body { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px 14px; flex: 1; }
.eac-card-cat { font-size: 12px; font-weight: 700; color: var(--eac-blue); opacity: .85; }
.eac-card-title { font-size: 15px; font-weight: 800; line-height: 1.45; color: var(--eac-navy); min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eac-card-title a:hover { color: var(--eac-blue); }
.eac-card-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--eac-muted); }
.eac-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 2px; }
.eac-card-price small { width: 100%; font-size: 11.5px; color: var(--eac-muted); margin-bottom: -4px; }
.eac-price { color: var(--eac-blue); font-weight: 800; line-height: 1.2; }
.eac-price .eac-num { font-size: 21px; }
.eac-price .eac-cur { font-size: 14px; }
.eac-card-price del { color: #98A2B3; font-size: 13.5px; font-weight: 600; }

.eac-card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.eac-btn {
	flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	height: 40px; border-radius: 11px; font-size: 13.5px; font-weight: 800; border: 0; white-space: nowrap;
	transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease, filter .2s ease;
}
.eac-btn:hover { transform: translateY(-1px); }
.eac-btn-cart { border: 1.5px solid var(--eac-gold); color: #B07A00 !important; background: #fff; }
.eac-btn-cart:hover { background: var(--eac-gold); color: #fff !important; }
.eac-btn-order { background: linear-gradient(180deg, #2B82FF, var(--eac-blue)); color: #fff !important; box-shadow: 0 6px 14px rgba(21, 112, 239, .28); }
.eac-btn-order:hover { filter: brightness(1.06); }
.eac-btn-ghost { background: var(--eac-soft); color: var(--eac-navy) !important; }
.eac-btn.loading { opacity: .7; pointer-events: none; }
.eac-btn.loading .eac-ico { animation: eac-spin .8s linear infinite; }
.eac-btn.added { background: #ECFDF3; border-color: #12B76A; color: #067647 !important; }
.eac .added_to_cart { display: none !important; }

/* Pagination */
.eac-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.eac-pagination .page-numbers {
	min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px;
	display: grid; place-items: center; background: #fff; border: 1.5px solid var(--eac-line);
	font-weight: 800; font-size: 15px; color: var(--eac-navy); transition: all .2s ease;
}
.eac-pagination a.page-numbers:hover { border-color: var(--eac-blue); color: var(--eac-blue); }
.eac-pagination .page-numbers.current { background: var(--eac-blue); border-color: var(--eac-blue); color: #fff; box-shadow: 0 6px 14px rgba(21, 112, 239, .28); }
.eac-pagination .page-numbers.dots { border: 0; background: none; }

/* Empty */
.eac-empty { text-align: center; background: #fff; border: 1px dashed #D0D5DD; border-radius: 18px; padding: 50px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.eac-empty-ico { width: 84px; height: 84px; border-radius: 50%; background: var(--eac-softblue); color: var(--eac-blue); display: grid; place-items: center; margin-bottom: 6px; }
.eac-empty h3 { font-size: 20px; font-weight: 800; color: var(--eac-navy); }
.eac-empty p { color: var(--eac-muted); margin-bottom: 10px; }
.eac-empty .eac-btn { flex: none; padding: 0 26px; height: 46px; }

/* Features */
.eac-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.eac-feature {
	display: flex; align-items: center; gap: 14px;
	background: #fff; border: 1px solid var(--eac-line); border-radius: 16px; padding: 16px 18px;
	transition: transform .2s ease, box-shadow .2s ease;
}
.eac-feature:hover { transform: translateY(-3px); box-shadow: var(--eac-shadow); }
.eac-feature-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--eac-softblue); color: var(--eac-blue); display: grid; place-items: center; flex: none; }
.eac-feature strong { display: block; font-size: 15px; font-weight: 800; color: var(--eac-navy); }
.eac-feature small { display: block; font-size: 12.5px; color: var(--eac-muted); }

/* Stars */
.eac-stars { display: inline-flex; gap: 1px; direction: ltr; }
.eac-star { position: relative; display: inline-flex; line-height: 0; }
.eac-star .eac-ico { color: #E4E7EC; }
.eac-star::before {
	content: ""; position: absolute; inset: 0; width: var(--f); background: #F5A623;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3L2.9 9.5l6.3-.9L12 2.8z'/%3E%3C/svg%3E") left center / auto 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3L2.9 9.5l6.3-.9L12 2.8z'/%3E%3C/svg%3E") left center / auto 100% no-repeat;
}

/* Toast */
.eac-toast {
	position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 99999;
	display: flex; align-items: center; gap: 14px;
	background: var(--eac-navy); color: #fff; border-radius: 14px; padding: 12px 18px;
	box-shadow: var(--eac-shadow-lg); font-weight: 700; font-size: 14.5px; animation: eac-up .3s ease;
	direction: rtl;
}
.eac-toast a { color: var(--eac-gold) !important; text-decoration: underline; white-space: nowrap; }
.eac-toast .eac-ico { color: #32D583; }

/* Animations */
@keyframes eac-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes eac-spin { to { transform: rotate(360deg); } }
@keyframes eac-pop { 50% { transform: scale(1.3); } }
.eac-card:nth-child(2) { animation-delay: .04s; }
.eac-card:nth-child(3) { animation-delay: .08s; }
.eac-card:nth-child(4) { animation-delay: .12s; }
.eac-card:nth-child(5) { animation-delay: .16s; }
.eac-card:nth-child(6) { animation-delay: .2s; }

/* ================= Responsive ================= */
@media (max-width: 1180px) {
	.eac-layout.has-sidebar .eac-grid { grid-template-columns: repeat(min(3, calc(var(--eac-cols) - 1)), minmax(0, 1fr)); }
	.eac-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.eac { padding: 14px 12px 40px; }
	.eac-hero { grid-template-columns: 1fr; padding: 22px 18px; min-height: 0; }
	.eac-hero-visual { height: 170px; order: -1; }
	.eac-col-item { width: 120px; height: 120px; }
	.n3 .eac-col-1 { width: 136px; height: 136px; }
	.n3 .eac-col-0 { transform: translateX(80px) translateY(8px) rotate(-8deg); }
	.n3 .eac-col-2 { transform: translateX(-80px) translateY(8px) rotate(8deg); }
	.eac-hero-img { max-height: 170px; }
	.eac-blob-1 { width: 160px; height: 160px; }
	.eac-hero-title { font-size: 28px; }

	.eac-layout.has-sidebar { grid-template-columns: 1fr; }
	.eac-open-filters { display: inline-flex; }
	.eac-sidebar {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 99990;
		width: min(340px, 88vw); overflow-y: auto; background: #F7F9FE;
		padding: 0 14px 20px; transform: translateX(105%); transition: transform .3s ease;
		box-shadow: var(--eac-shadow-lg);
	}
	.eac-sidebar.is-open { transform: translateX(0); }
	.eac-sidebar-head {
		display: flex; align-items: center; justify-content: space-between;
		position: sticky; top: 0; z-index: 2; background: #F7F9FE; padding: 16px 2px 10px;
	}
	.eac-sidebar-head strong { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; color: var(--eac-navy); }
	.eac-close-filters { border: 0; background: #fff; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--eac-navy); box-shadow: var(--eac-shadow); }
	.eac-filter-actions { position: sticky; bottom: -20px; background: #F7F9FE; padding: 10px 0 20px; }
	.eac-overlay { position: fixed; inset: 0; z-index: 99980; background: rgba(10, 18, 38, .5); animation: eac-fade .25s ease; }

	.eac-grid, .eac-layout.has-sidebar .eac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@keyframes eac-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 680px) {
	.eac-grid, .eac-layout.has-sidebar .eac-grid,
	.eac-grid[data-view="dense"], .eac-layout.no-sidebar .eac-grid[data-view="dense"] { grid-template-columns: repeat(var(--eac-mcols), minmax(0, 1fr)) !important; gap: 10px; }
	.eac-view { display: none; }
	.eac-toolbar { padding: 8px 10px; }
	.eac-toolbar-start { width: 100%; justify-content: space-between; }
	.eac-toolbar-end { width: 100%; }
	.eac-sort, .eac-select, .eac .eac-select select { width: 100%; min-width: 0; }
	.eac-count { font-size: 13px; }
	.eac-card { border-radius: 14px; }
	.eac-card-media { margin: 6px 6px 0; border-radius: 10px; }
	.eac-card-body { padding: 10px; gap: 3px; }
	.eac-card-title { font-size: 13.5px; }
	.eac-price .eac-num { font-size: 18px; }
	.eac-card-actions { flex-direction: column; gap: 6px; }
	.eac-card-actions .eac-btn { flex: none; width: 100%; }
	.eac-btn { height: 38px; font-size: 13px; }
	.eac-heart { width: 32px; height: 32px; }
	.eac-quick { display: none; }
	.eac-features { grid-template-columns: 1fr 1fr; gap: 10px; }
	.eac-feature { flex-direction: column; text-align: center; padding: 14px 8px; gap: 8px; }
	.eac-feature-ico { width: 46px; height: 46px; }
	.eac-subcat { padding: 6px 8px 6px 14px; }
	.eac-subcat-img { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
	.eac *, .eac *::before, .eac *::after { animation: none !important; transition: none !important; }
}

/* ---------- Inside the Electro Alikhwane site-wide shell (v1.1) ---------- */
@media (max-width: 980px) {
	.eakh-site .eac-toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
.eac-layout > *, .eac-hero > * { min-width: 0; }
