/* ==========================================================================
   Al-Majd Rugs — تصميم فاتح نضيف مستوحى من ستايل متاجر السجاد العصرية
   خلفية بيضاء + بني/ذهبي كـ accents
   ========================================================================== */

:root {
	--am-dark: #2e1b10;       /* بني غامق (فوتر / بار إعلان) */
	--am-brown: #6b4326;      /* بني */
	--am-gold: #b8863b;       /* ذهبي غامق للتباين على الأبيض */
	--am-gold-soft: #c9a063;  /* ذهبي فاتح */
	--am-cream: #faf7f2;      /* خلفية فاتحة جداً */
	--am-cream-2: #f2ebe0;
	--am-ink: #24211d;        /* نص */
	--am-muted: #8a7d6d;      /* نص ثانوي */
	--am-line: #ece5da;       /* خطوط فاصلة */
	--am-white: #ffffff;
	--am-radius: 12px;
	--am-shadow-sm: 0 2px 10px rgba(46, 27, 16, .06);
	--am-shadow: 0 12px 40px rgba(46, 27, 16, .12);
	--am-container: 1240px;
	--am-bottom-h: 62px;
}

* { box-sizing: border-box; }

/* منع أي سكرول أفقي ناتج عن الدروج الجانبية المخفية */
html { overflow-x: hidden; }

body {
	margin: 0;
	font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif;
	color: var(--am-ink);
	background: var(--am-white);
	line-height: 1.7;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--am-brown); text-decoration: none; }
a:hover { color: var(--am-gold); }

h1, h2, h3, h4 { font-family: "El Messiri", "Tajawal", serif; color: var(--am-dark); line-height: 1.25; }

.am-container { width: 100%; max-width: var(--am-container); margin: 0 auto; padding: 0 22px; }

.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: 0; top: -60px; background: var(--am-dark); color: #fff; padding: 10px 16px; z-index: 100000; transition: top .2s ease; }
.skip-link:focus { top: 0; }

/* ---------- الأزرار ---------- */
.button, button.button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button, .woocommerce .button.alt,
.woocommerce #respond input#submit, .woocommerce #place_order {
	display: inline-block;
	background: var(--am-dark);
	color: #fff !important;
	border: 1px solid var(--am-dark);
	border-radius: 8px;
	padding: 13px 30px;
	font-family: "Tajawal", sans-serif;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .3px;
	cursor: pointer;
	transition: background .18s ease, border-color .18s ease, transform .1s ease;
}
.button:hover, button.button:hover, .woocommerce a.button:hover,
.woocommerce button.button:hover, .woocommerce .button.alt:hover {
	background: var(--am-brown);
	border-color: var(--am-brown);
	color: #fff !important;
	transform: translateY(-1px);
}
/* زر الشراء الرئيسي (Add to cart / Buy) بلون ذهبي مميّز */
.woocommerce div.product form.cart .button.single_add_to_cart_button,
.woocommerce div.product .button.single_add_to_cart_button {
	background: var(--am-gold);
	border-color: var(--am-gold);
	color: #fff !important;
}
.woocommerce div.product form.cart .button.single_add_to_cart_button:hover {
	background: #a4762f;
	border-color: #a4762f;
}
.button--ghost {
	background: transparent; color: var(--am-dark) !important; border-color: var(--am-dark);
}
.button--ghost:hover { background: var(--am-dark); color: #fff !important; }

/* ==========================================================================
   بار الإعلان العلوي
   ========================================================================== */
.am-announce {
	background: var(--am-dark);
	color: #fff;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .3px;
	padding: 9px 16px;
}
.am-announce a { color: var(--am-gold-soft); }

/* ==========================================================================
   الهيدر (أبيض، لوجو في النص)
   ========================================================================== */
.site-header { background: #fff; border-bottom: 1px solid var(--am-line); position: sticky; top: 0; z-index: 9990; }
.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	min-height: 92px;
}
.site-header__left { display: flex; align-items: center; gap: 10px; justify-content: flex-start; }
.site-header__right { display: flex; align-items: center; gap: 14px; justify-content: flex-end; }

.site-branding { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.site-branding img.custom-logo { max-height: 66px; width: auto; }
.site-title { margin: 0; font-size: 26px; letter-spacing: .5px; }
.site-title a { color: var(--am-dark); }
.site-title a:hover { color: var(--am-gold); }
.site-description { color: var(--am-muted); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }

.header-icon-btn { background: transparent; border: none; color: var(--am-dark); cursor: pointer; padding: 6px; position: relative; display: inline-flex; align-items: center; }
.header-icon-btn:hover { color: var(--am-gold); }

.site-header__burger { display: none; }

/* المنيو الأفقي في النص */
.main-navigation { border-top: 1px solid var(--am-line); }
.main-navigation__inner { display: flex; justify-content: center; }
.main-navigation ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0; padding: 0; }
.main-navigation ul li a {
	display: block; color: var(--am-ink); padding: 15px 16px; font-weight: 600; font-size: 15px;
	border-bottom: 2px solid transparent;
}
.main-navigation ul li a:hover, .main-navigation ul li.current-menu-item a {
	color: var(--am-gold); border-bottom-color: var(--am-gold);
}
.main-navigation li { position: relative; }
.main-navigation ul ul {
	display: none; position: absolute; right: 0; background: #fff; border: 1px solid var(--am-line);
	border-radius: 8px; box-shadow: var(--am-shadow-sm); padding: 6px; min-width: 200px; flex-direction: column; z-index: 60;
}
.main-navigation li:hover > ul { display: flex; }

/* مبدّل اللغة (Polylang) */
.am-lang { display: inline-flex; align-items: center; gap: 6px; }
.am-lang ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.am-lang a { color: var(--am-ink); font-weight: 600; font-size: 14px; }
.am-lang a:hover { color: var(--am-gold); }
.am-lang .current-lang a { color: var(--am-gold); }

/* ==========================================================================
   الهيرو
   ========================================================================== */
.am-hero { position: relative; background: var(--am-cream-2); overflow: hidden; }
.am-hero__media { position: absolute; inset: 0; z-index: 0; }
.am-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.am-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(46,27,16,.62), rgba(46,27,16,.15)); z-index: 1; }
.am-hero__inner { position: relative; z-index: 2; padding: 110px 0; }
.am-hero--noimg { background: linear-gradient(120deg, #34210f, #6b4326); }
.am-hero__eyebrow { display: inline-block; letter-spacing: 3px; font-size: 12px; color: #fff; background: rgba(184,134,59,.85); padding: 5px 16px; border-radius: 999px; margin-bottom: 18px; text-transform: uppercase; }
.am-hero__title { color: #fff; font-size: 46px; margin: 0 0 16px; max-width: 640px; }
.am-hero__desc { max-width: 540px; font-size: 18px; color: #f3ece0; margin: 0 0 26px; }
.am-hero__cta { font-size: 16px; background: var(--am-gold); border-color: var(--am-gold); }
.am-hero__cta:hover { background: #fff; color: var(--am-dark) !important; border-color: #fff; }

/* ==========================================================================
   شارات الثقة
   ========================================================================== */
.am-trust { border-bottom: 1px solid var(--am-line); background: var(--am-cream); }
.am-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; }
.am-trust__item { text-align: center; }
.am-trust__ico { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--am-brown); }
.am-trust__title { font-weight: 700; color: var(--am-dark); font-family: "Tajawal", sans-serif; }
.am-trust__sub { color: var(--am-muted); font-size: 13px; }

/* ==========================================================================
   عناوين الأقسام
   ========================================================================== */
.am-section { padding: 56px 0; }
.am-section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; }
.am-section__head h2 { margin: 0; font-size: 30px; }
.am-section__more { font-weight: 700; color: var(--am-brown); }
.am-section__more:hover { color: var(--am-gold); }

/* كروت الأقسام */
.am-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.am-cat-card { position: relative; border-radius: var(--am-radius); overflow: hidden; box-shadow: var(--am-shadow-sm); }
.am-cat-card img { width: 100%; height: 320px; object-fit: cover; transition: transform .4s ease; }
.am-cat-card:hover img { transform: scale(1.05); }
.am-cat-card__label {
	position: absolute; inset-inline-start: 18px; bottom: 16px; background: rgba(255,255,255,.94);
	color: var(--am-dark); padding: 10px 18px; border-radius: 8px; font-weight: 700; font-family: "El Messiri", serif; font-size: 18px;
}

/* ==========================================================================
   ووكوميرس — الشبكة والكروت
   ========================================================================== */
.woocommerce ul.products, ul.products {
	display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 24px;
	margin: 0 !important; padding: 0 !important; list-style: none;
}
.woocommerce ul.products li.product, ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important;
	background: #fff; border: 1px solid var(--am-line); border-radius: var(--am-radius);
	padding: 0 !important; overflow: hidden; text-align: start;
	transition: box-shadow .2s ease, transform .15s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--am-shadow); }
.woocommerce ul.products li.product a img { border-radius: 0; margin: 0 0 12px; width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px; padding: 0 14px; color: var(--am-ink); font-family: "Tajawal", sans-serif; font-weight: 600; }
.woocommerce ul.products li.product .price { display: block; padding: 6px 14px 0; color: var(--am-brown); font-weight: 700; }
.woocommerce ul.products li.product .button, .woocommerce ul.products li.product .added_to_cart { margin: 12px 14px 16px; border-radius: 8px; }
.woocommerce span.onsale { background: var(--am-gold); color: #fff; border-radius: 999px; min-height: 2.6em; min-width: 2.6em; line-height: 2.6; }

/* صفحة المنتج المفرد — نحافظ على المسافة الجانبية من .am-container */
.am-shop { padding-top: 34px; padding-bottom: 50px; }

/* تخطيط عمودين نظيف: صورة يسار / تفاصيل يمين */
.woocommerce div.product {
	display: flex;
	flex-wrap: wrap;
	gap: 44px;
	align-items: flex-start;
	margin: 0;
}
.woocommerce div.product .woocommerce-product-gallery {
	width: 50% !important;
	float: none !important;
	margin: 0 !important;
}
.woocommerce div.product .woocommerce-product-gallery img { border-radius: 12px; }
.woocommerce div.product .summary {
	width: calc(50% - 44px) !important;
	float: none !important;
	margin: 0 !important;
}
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .up-sells,
.woocommerce div.product .woocommerce-product-details__short-description { width: 100%; }
.woocommerce div.product .related.products, .woocommerce div.product .up-sells { margin-top: 20px; }

.woocommerce div.product .product_title { font-size: 32px; color: var(--am-dark); margin-top: 0; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--am-brown); font-size: 24px; font-weight: 700; }
.woocommerce div.product form.cart { margin-top: 18px; }
.woocommerce div.product form.cart .quantity { margin-inline-end: 10px; }
.woocommerce div.product form.cart div.quantity input.qty { padding: 12px 8px; border: 1px solid var(--am-line); border-radius: 8px; width: 70px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 18px; color: var(--am-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--am-gold); }

@media (max-width: 768px) {
	.woocommerce div.product { gap: 22px; }
	.woocommerce div.product .woocommerce-product-gallery,
	.woocommerce div.product .summary { width: 100% !important; }
}

/* السلة/الدفع */
.woocommerce table.shop_table { border-radius: 10px; overflow: hidden; border-color: var(--am-line); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--am-gold); }

/* ==========================================================================
   آراء العملاء
   ========================================================================== */
.am-reviews { background: var(--am-cream); }
.am-reviews__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.am-review { background: #fff; border: 1px solid var(--am-line); border-radius: var(--am-radius); padding: 22px; box-shadow: var(--am-shadow-sm); }
.am-review__stars { color: var(--am-gold); font-size: 15px; margin-bottom: 10px; letter-spacing: 2px; }
.am-review__name { font-weight: 700; color: var(--am-dark); margin-bottom: 6px; }
.am-review__text { color: var(--am-muted); font-size: 14px; }

/* ==========================================================================
   المدونة / صفحات عامة
   ========================================================================== */
.am-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding: 34px 0; }
.am-card-post { background: #fff; border: 1px solid var(--am-line); border-radius: var(--am-radius); overflow: hidden; }
.am-card-post__body { padding: 18px; }
.am-card-post__title { font-size: 19px; margin: 0 0 8px; }
.am-card-post__meta { color: var(--am-muted); font-size: 13px; margin-bottom: 8px; }
.am-single, .am-404 { padding: 46px 0; }
.am-single { max-width: 820px; }
.am-404 h1 { font-size: 96px; margin: 0; color: var(--am-gold); }
.page-header { padding: 34px 0 0; }
.page-title { font-size: 32px; }

.am-search-form { display: flex; gap: 8px; max-width: 440px; }
.am-search-form__field { flex: 1; padding: 12px 16px; border: 1px solid var(--am-line); border-radius: 8px; background: #fff; }
.am-search-form__submit { border: 1px solid var(--am-dark); background: var(--am-dark); color: #fff; border-radius: 8px; padding: 0 22px; cursor: pointer; }

/* ==========================================================================
   الفوتر
   ========================================================================== */
.site-footer { background: var(--am-dark); color: #efe6d6; margin-top: 50px; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 50px 22px; }
.site-footer h4, .site-footer .widget-title { color: #fff; font-size: 17px; margin: 0 0 14px; }
.site-footer a { color: #d8c9b0; }
.site-footer a:hover { color: var(--am-gold-soft); }
.site-footer__brand p { color: #cdbfa8; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { padding: 5px 0; }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: 13px; text-align: center; color: #cdbfa8; }

/* ==========================================================================
   الطبقة والدروج (شمال قائمة / يمين سلة)
   ========================================================================== */
.am-overlay { position: fixed; inset: 0; background: rgba(46,27,16,.5); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 99998; }
.am-overlay.is-open { opacity: 1; visibility: visible; }
.am-drawer { position: fixed; top: 0; bottom: 0; width: min(88vw, 380px); background: #fff; z-index: 99999; display: flex; flex-direction: column; box-shadow: var(--am-shadow); transition: transform .28s cubic-bezier(.22,.61,.36,1); }
.am-drawer--left { left: 0; transform: translateX(-105%); }
.am-drawer--left.is-open { transform: translateX(0); }
.am-drawer--right { right: 0; transform: translateX(105%); }
.am-drawer--right.is-open { transform: translateX(0); }
.am-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--am-line); }
.am-drawer__title { font-family: "El Messiri", serif; font-size: 19px; font-weight: 700; color: var(--am-dark); }
.am-drawer__close { background: transparent; border: none; color: var(--am-dark); font-size: 30px; line-height: 1; cursor: pointer; padding: 0 6px; }
.am-drawer__close:hover { color: var(--am-gold); }
.am-drawer__nav { overflow-y: auto; flex: 1; padding: 6px 0; }
.am-drawer__menu { list-style: none; margin: 0; padding: 0; }
.am-drawer__menu li { border-bottom: 1px solid var(--am-line); }
.am-drawer__menu li a { display: block; padding: 15px 22px; color: var(--am-ink); font-weight: 600; }
.am-drawer__menu li a:hover { background: var(--am-cream); color: var(--am-gold); }
.am-drawer__foot { padding: 16px 22px; border-top: 1px solid var(--am-line); }
.am-drawer__phone { font-weight: 700; color: var(--am-brown); }

.am-cart-drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.am-cart-drawer__body .cart_list { list-style: none; margin: 0; padding: 0; }
.am-cart-drawer__body .woocommerce-mini-cart__buttons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.am-cart-drawer__body .woocommerce-mini-cart__buttons .button { flex: 1; text-align: center; }
.am-cart-drawer__body .woocommerce-mini-cart__total { font-size: 17px; padding: 10px 0; border-top: 1px dashed var(--am-gold); margin-top: 10px; }
.am-empty { color: var(--am-muted); text-align: center; padding: 30px 0; }

/* ==========================================================================
   الشريط السفلي (موبايل)
   ========================================================================== */
.am-bottom-bar { display: none; }

@media (max-width: 980px) {
	.main-navigation { display: none; }
	.site-header__burger { display: inline-flex; }
	.site-header__inner { grid-template-columns: auto 1fr auto; min-height: 72px; }
	.site-branding { align-items: flex-start; }
	.am-hero__title { font-size: 32px; }
	.am-trust__grid { grid-template-columns: repeat(2, 1fr); }
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(2, 1fr); }
	.am-cats { grid-template-columns: 1fr; }
	.am-reviews__grid { grid-template-columns: repeat(2, 1fr); }
	.am-posts { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	.am-bottom-bar {
		display: flex; position: fixed; bottom: 0; left: 0; right: 0; height: var(--am-bottom-h);
		background: #fff; border-top: 1px solid var(--am-line); z-index: 9997; box-shadow: 0 -6px 20px rgba(46,27,16,.08);
		padding-bottom: env(safe-area-inset-bottom, 0);
	}
	.am-bottom-bar__item { flex: 1; background: transparent; border: none; color: var(--am-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; text-decoration: none; cursor: pointer; position: relative; padding: 6px 0; }
	.am-bottom-bar__item:hover, .am-bottom-bar__item:focus { color: var(--am-gold); }
	body { padding-bottom: var(--am-bottom-h); }
	.am-reviews__grid, .am-trust__grid { grid-template-columns: 1fr; }
	.am-hero__inner { padding: 70px 0; }
}

/* ==========================================================================
   الأيقونات (SVG mask)
   ========================================================================== */
.am-ico { width: 24px; height: 24px; display: inline-block; background-color: currentColor; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.am-ico--home { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 12 3l9 6.5V21a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 12 3l9 6.5V21a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.am-ico--shop { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9h18l-1 11a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z'/%3E%3Cpath d='M8 9V6a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9h18l-1 11a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z'/%3E%3Cpath d='M8 9V6a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.am-ico--menu { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E"); }
.am-ico--cart { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2 3h3l2.6 12.4a1 1 0 0 0 1 .8h9.7a1 1 0 0 0 1-.78L22 7H6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2 3h3l2.6 12.4a1 1 0 0 0 1 .8h9.7a1 1 0 0 0 1-.78L22 7H6'/%3E%3C/svg%3E"); }
.am-ico--user { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.am-ico--search { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); }

.am-cart-count {
	position: absolute; top: -4px; inset-inline-end: -6px; min-width: 18px; height: 18px; padding: 0 4px;
	background: var(--am-gold); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.am-bottom-bar__item .am-cart-count { top: 2px; inset-inline-end: calc(50% - 22px); }
