/* ==========================================================================
   Qasr Al-Alwan — main stylesheet (RTL first)
   ========================================================================== */

:root {
	--qa-primary: #b03562;
	--qa-primary-dark: #8c2450;
	--qa-primary-soft: #f8dbe5;
	--qa-bg: #fdf3f6;
	--qa-surface: #ffffff;
	--qa-surface-pink: #fff6f8;
	--qa-border: #f1d4de;
	--qa-text: #2b1820;
	--qa-muted: #86707a;
	--qa-gold: #f2b33d;
	--qa-radius: 18px;
	--qa-radius-sm: 12px;
	--qa-shadow: 0 8px 28px rgba(176, 53, 98, .10);
	--qa-font: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
	--qa-container: 1280px;
	--qa-gap: 18px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--qa-font);
	font-size: 15px;
	line-height: 1.7;
	color: var(--qa-text);
	background: var(--qa-bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--qa-primary); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.35; }
[hidden] { display: none !important; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; padding: 10px 16px; z-index: 999;
	background: #fff; top: 10px; right: 10px; border-radius: 8px;
}
:focus-visible { outline: 2px solid var(--qa-primary); outline-offset: 2px; }

.qa-container { width: 100%; max-width: var(--qa-container); margin-inline: auto; padding-inline: 20px; }
.qa-icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.qa-muted { color: var(--qa-muted); font-size: .92em; }
.qa-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); opacity: 0; pointer-events: none; }

/* ---------- Buttons ---------- */
.qa-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .75em 1.7em; border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.qa-btn .qa-icon { width: 1.15em; height: 1.15em; }
.qa-btn--primary { background: var(--qa-primary); color: #fff; }
.qa-btn--primary:hover { background: var(--qa-primary-dark); color: #fff; }
.qa-btn--outline { background: #fff; color: var(--qa-primary); border-color: var(--qa-primary); }
.qa-btn--outline:hover { background: var(--qa-primary); color: #fff; }
.qa-btn--block { width: 100%; }
.qa-btn--sm { padding: .55em 1.3em; font-size: 14px; }
.qa-btn--lg { padding: 1em 1.6em; font-size: 18px; }

.qa-pill {
	display: inline-flex; align-self: flex-start; align-items: center; gap: 6px;
	background: var(--qa-primary-soft); color: var(--qa-primary);
	font-size: 13px; font-weight: 700; padding: 3px 14px; border-radius: 999px;
}

/* ---------- Top bar / ticker ---------- */
.qa-topbar {
	background: linear-gradient(90deg, var(--qa-primary-dark), var(--qa-primary));
	color: #fff; font-size: 13px;
}
.qa-topbar__inner { display: flex; align-items: center; gap: 24px; height: 40px; }
.qa-ticker {
	flex: 1; overflow: hidden; min-width: 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.qa-ticker__track { display: flex; width: max-content; animation: qa-ticker 45s linear infinite; }
.qa-ticker:hover .qa-ticker__track { animation-play-state: paused; }
.qa-ticker__group { display: flex; }
.qa-ticker__item { display: inline-flex; align-items: center; gap: 8px; padding-inline: 34px; white-space: nowrap; }
.qa-ticker__item .qa-icon { width: 18px; height: 18px; opacity: .9; }
.qa-ticker__item.is-highlight { font-weight: 800; color: #fff3c9; }
@keyframes qa-ticker { to { transform: translateX(50%); } }
@keyframes qa-ticker-ltr { to { transform: translateX(-50%); } }
html:not([dir="rtl"]) .qa-ticker__track { animation-name: qa-ticker-ltr; }
.qa-topbar__support { display: inline-flex; align-items: center; gap: 6px; color: #fff; white-space: nowrap; font-weight: 500; }
.qa-topbar__support:hover { color: #fff; opacity: .85; }
.qa-topbar__support .qa-icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.qa-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255, 247, 249, .96);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--qa-border);
}
.admin-bar .qa-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .qa-header { top: 0; } }

.qa-header__main { display: flex; align-items: center; gap: 28px; padding-block: 10px; }
.qa-logo { flex-shrink: 0; }
.qa-logo { line-height: 0; }
.qa-logo img { max-height: 90px; width: auto; }
.qa-logo__text { font-size: 26px; font-weight: 800; color: var(--qa-primary); }

.qa-search {
	flex: 1; max-width: 560px; margin-inline: auto;
	display: flex; align-items: center;
	background: #fff; border: 1px solid var(--qa-border); border-radius: 999px;
	padding: 4px 8px; box-shadow: 0 4px 14px rgba(176, 53, 98, .06);
	transition: border-color .2s, box-shadow .2s;
}
.qa-search:focus-within { border-color: var(--qa-primary); box-shadow: 0 0 0 4px rgba(176, 53, 98, .1); }
.qa-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 6px; outline: none; }
.qa-search input::-webkit-search-cancel-button { display: none; }
.qa-search button { display: flex; border: 0; background: none; padding: 8px; color: var(--qa-primary); cursor: pointer; }
.qa-search button .qa-icon { width: 22px; height: 22px; }

.qa-search { position: relative; }
.qa-search.is-loading button { animation: qa-pulse 1s ease-in-out infinite; }
@keyframes qa-pulse { 50% { opacity: .35; } }
.qa-search__results {
	position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 80;
	background: #fff; border: 1px solid var(--qa-border); border-radius: 18px;
	box-shadow: 0 18px 44px rgba(43, 24, 32, .14); padding: 8px; max-height: min(70vh, 520px); overflow-y: auto;
	animation: qa-drop .2s ease-out;
}
@keyframes qa-drop { from { opacity: 0; transform: translateY(-6px); } }
.qa-sr__label { font-size: 12px; font-weight: 700; color: var(--qa-muted); padding: 8px 10px 4px; }
.qa-sr__cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 6px 8px; }
.qa-sr__cat {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
	background: var(--qa-surface-pink); border: 1px solid var(--qa-border); font-size: 13.5px; font-weight: 600;
}
.qa-sr__cat small { color: var(--qa-muted); font-weight: 400; font-size: 11.5px; }
.qa-sr__tag { background: var(--qa-primary); color: #fff; font-size: 10.5px; padding: 1px 7px; border-radius: 999px; }
.qa-sr__product { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; }
.qa-sr__product img { width: 52px; height: 52px; object-fit: contain; background: var(--qa-surface-pink); border-radius: 10px; padding: 3px; }
.qa-sr__name { font-weight: 700; font-size: 14px; line-height: 1.45; color: var(--qa-text); }
.qa-sr__name em { display: block; font-style: normal; font-size: 11.5px; color: var(--qa-muted); font-weight: 500; }
.qa-sr__product.is-out { opacity: .6; }
.qa-sr__price { font-weight: 800; color: var(--qa-primary); font-size: 14px; white-space: nowrap; text-align: end; }
.qa-sr__price del { display: block; color: var(--qa-muted); font-weight: 400; font-size: 12px; }
.qa-sr__price ins { text-decoration: none; }
.qa-sr__item.is-active, .qa-sr__item:hover { background: var(--qa-primary-soft); color: inherit; }
.qa-sr__all { display: block; text-align: center; padding: 10px; margin-top: 4px; border-top: 1px solid var(--qa-border); font-weight: 700; color: var(--qa-primary); border-radius: 0 0 12px 12px; }
.qa-sr__empty { padding: 18px; text-align: center; color: var(--qa-muted); }
.qa-header__icons { display: flex; align-items: center; gap: 22px; }
.qa-header__icon { position: relative; display: flex; color: var(--qa-primary-dark); }
.qa-header__icon .qa-icon { width: 27px; height: 27px; }
.qa-count {
	position: absolute; top: -8px; right: -10px;
	min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
	background: var(--qa-primary); color: #fff; font-size: 11px; font-weight: 700;
	display: grid; place-items: center; line-height: 1; border: 2px solid #fff;
}

.qa-menu-toggle { display: none; border: 0; background: none; padding: 6px; cursor: pointer; color: var(--qa-primary-dark); }
.qa-menu-toggle .qa-icon { width: 26px; height: 26px; }
.qa-menu-toggle__close { display: none; }
.qa-menu-open .qa-menu-toggle__open { display: none; }
.qa-menu-open .qa-menu-toggle__close { display: block; }

.qa-nav .qa-menu, .qa-nav ul { list-style: none; margin: 0; padding: 0; }
.qa-nav .qa-menu { display: flex; justify-content: center; gap: clamp(18px, 3.4vw, 52px); }
.qa-nav li { position: relative; }
.qa-nav .qa-menu > li > a { display: block; padding: 10px 0 12px; font-weight: 500; font-size: 15.5px; position: relative; }
.qa-nav .qa-menu > li > a::after {
	content: ""; position: absolute; bottom: 0; inset-inline: 0; height: 2.5px; border-radius: 2px;
	background: var(--qa-primary); transform: scaleX(0); transition: transform .25s;
}
.qa-nav .qa-menu > li:hover > a::after,
.qa-nav .current-menu-item > a::after,
.qa-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.qa-nav .current-menu-item > a, .qa-nav .current-menu-ancestor > a { color: var(--qa-primary); }
.qa-nav .sub-menu {
	position: absolute; top: 100%; inset-inline-start: -16px; min-width: 220px; z-index: 5;
	background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius-sm);
	box-shadow: var(--qa-shadow); padding: 8px;
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.qa-nav .sub-menu .sub-menu { top: -8px; inset-inline-start: 100%; }
.qa-nav li:hover > .sub-menu, .qa-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.qa-nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; }
.qa-nav .sub-menu a:hover { background: var(--qa-surface-pink); }

/* ---------- Hero ---------- */
.qa-hero {
	position: relative; overflow: hidden;
	height: clamp(260px, 33vw, 500px);
	background: linear-gradient(120deg, #f7d3df, #fdeef3);
}
.qa-hero__slide {
	position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden;
	opacity: 0; visibility: hidden; transition: opacity .9s, visibility .9s;
}
.qa-hero__bg {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	transform: scale(1.1); transition: transform 8s cubic-bezier(.2, .6, .3, 1);
}
.qa-hero__slide.is-active .qa-hero__bg { transform: scale(1); }
.qa-hero__text > * { opacity: 0; transform: translateY(22px); }
.qa-hero__slide.is-active .qa-hero__text > * { animation: qa-rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.qa-hero__slide.is-active .qa-hero__text > :nth-child(2) { animation-delay: .15s; }
.qa-hero__slide.is-active .qa-hero__text > :nth-child(3) { animation-delay: .3s; }
@keyframes qa-rise { to { opacity: 1; transform: none; } }
.qa-hero { background: radial-gradient(ellipse at 28% 55%, #FFF5F7 0%, #FCE6EB 42%, #F7D3DC 100%); }
.qa-hero__art {
	position: absolute; z-index: 0; top: 50%; inset-inline-end: 4%;
	height: 88%; width: auto; max-width: 54%; object-fit: contain;
	opacity: 0; transform: translateY(-46%) scale(1.04); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.qa-hero__slide.is-active .qa-hero__art { opacity: 1; transform: translateY(-50%); animation: qa-art-float 7s ease-in-out 1.3s infinite; }
@keyframes qa-art-float { 50% { transform: translateY(calc(-50% - 10px)); } }
.qa-hero__eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: .5em;
	font-size: clamp(14px, 1.4vw, 18px); font-weight: 700; color: #B08A58; letter-spacing: .03em;
}
.qa-hero__eyebrow::before { content: ""; width: 34px; height: 1.5px; background: currentColor; }
.qa-hero__slide.is-active .qa-hero__text > :nth-child(4) { animation-delay: .45s; }
.qa-hero__heart { animation: qa-beat 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes qa-beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(.96); } 45% { transform: scale(1.1); } }
.qa-hero .qa-btn--primary { position: relative; overflow: hidden; box-shadow: 0 10px 24px rgba(176, 53, 98, .3); }
.qa-hero .qa-btn--primary::after {
	content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg);
	animation: qa-shine 3.8s ease-in-out infinite 1.2s;
}
@keyframes qa-shine { 0% { left: -60%; } 35%, 100% { left: 130%; } }
.qa-hero__slide.is-active { opacity: 1; visibility: visible; }
.qa-hero__slide > .qa-container { position: relative; z-index: 1; }
.qa-hero__text { max-width: 600px; }
.qa-hero__title {
	margin: 0 0 .35em; font-size: clamp(26px, 4.2vw, 56px); font-weight: 800;
	color: var(--qa-primary-dark); display: flex; align-items: center; gap: .3em; flex-wrap: wrap;
}
.qa-hero__heart { width: .8em; height: .8em; color: var(--qa-primary); stroke-width: 1.4; }
.qa-hero__text p { margin: 0 0 1.3em; font-size: clamp(14px, 1.6vw, 21px); font-weight: 500; }
.qa-hero .qa-btn { padding: .8em 2em; font-size: 16px; }
.qa-hero__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	background: #fff; color: var(--qa-text); display: grid; place-items: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .1); transition: transform .2s;
}
.qa-hero__nav:hover { transform: translateY(-50%) scale(1.06); }
.qa-hero__nav[data-dir="prev"] { right: 18px; }
.qa-hero__nav[data-dir="next"] { left: 18px; }
.qa-hero__dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 3; }
.qa-hero__dots button { width: 9px; height: 9px; border-radius: 5px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .8); transition: width .3s, background .3s; }
.qa-hero__dots button.is-active { width: 24px; background: var(--qa-primary); }

/* ---------- Features strip ---------- */
.qa-home-features { margin-top: 22px; }
.qa-features {
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius);
	padding: 18px 8px;
}
.qa-features__track, .qa-features__group { display: contents; }
.qa-features__clone { display: none; }
.qa-feature { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 4px 14px; border-inline-start: 1px solid var(--qa-border); }
.qa-feature:first-child { border-inline-start: 0; }
.qa-feature > .qa-icon { width: 36px; height: 36px; color: var(--qa-primary); stroke-width: 1.5; }
.qa-feature strong { display: block; font-size: 15px; font-weight: 700; }
.qa-feature span { display: block; font-size: 13px; color: var(--qa-muted); }
/* variant: separate cards (product page) */
.qa-features--cards { background: none; border: 0; padding: 0; gap: 14px; margin-top: 22px; }
.qa-features--cards .qa-feature { background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius-sm); padding: 14px; }
.qa-features--compact .qa-feature span { display: none; }

/* ---------- Sections ---------- */
.qa-section { margin-block: 46px; }
.qa-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.qa-section__title {
	margin: 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; color: var(--qa-primary-dark);
	position: relative; padding-bottom: 8px;
}
.qa-section__title::after {
	content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
	width: 54px; height: 3px; border-radius: 2px; background: var(--qa-primary);
}
.qa-section__more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--qa-primary); }
.qa-section__more .qa-icon { width: 16px; height: 16px; }

/* ---------- Horizontal scroller ---------- */
.qa-scroller { position: relative; }
.qa-scroller__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.qa-scroller__track::-webkit-scrollbar { display: none; }
.qa-scroller__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
	width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
	border: 1px solid var(--qa-border); background: #fff; color: var(--qa-text);
	display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
	transition: opacity .2s;
}
.qa-scroller__nav[data-dir="prev"] { right: -16px; }
.qa-scroller__nav[data-dir="next"] { left: -16px; }
.qa-scroller__nav:disabled { opacity: 0; pointer-events: none; }

/* ---------- Brands ---------- */
.qa-brands { display: flex; gap: 18px; padding: 6px 4px; }
.qa-brand-circle {
	flex: 0 0 auto; width: 124px; height: 124px; border-radius: 50%; overflow: hidden;
	background: #fff; border: 1px solid var(--qa-border); scroll-snap-align: start;
	display: grid; place-items: center; padding: 14px; text-align: center;
	font-weight: 700; color: var(--qa-text); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.qa-wordmark { display: flex; flex-direction: column; align-items: center; gap: 3px; line-height: 1.15; text-align: center; }
.qa-wordmark b {
	font-family: "Montserrat", var(--qa-font); font-weight: 600; font-size: 12.5px; letter-spacing: .12em;
	color: var(--qa-text); text-transform: uppercase; word-break: keep-all; overflow-wrap: normal; hyphens: none;
}
.qa-wordmark small { font-size: 11px; color: var(--qa-muted); font-weight: 500; letter-spacing: 0; }
.qa-brand-circle:hover .qa-wordmark b, .qa-brand-box:hover .qa-wordmark b { color: var(--qa-primary); }
.qa-brand-box .qa-wordmark b { font-size: 14px; }
.qa-brand-hero .qa-wordmark b { font-size: 18px; }
.qa-brand-circle > span, .qa-brand-box > span { font-weight: 800; color: var(--qa-primary-dark); font-size: 14px; line-height: 1.3; }
.qa-brand-circle:hover { border-color: var(--qa-primary); transform: translateY(-3px); box-shadow: var(--qa-shadow); }
.qa-brand-circle img, .qa-brand-box img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }

.qa-cat-brands { margin: 6px 0 22px; padding: 14px 16px 10px; background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius); }
.qa-cat-brands__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.qa-cat-brands__title { font-weight: 800; font-size: 16px; color: var(--qa-primary-dark); }
.qa-cat-brands__count { font-size: 12.5px; color: var(--qa-muted); }
.qa-cat-brands .qa-brands { gap: 12px; padding: 4px 2px 8px; }
.qa-cat-brands .qa-brand-circle { width: 96px; height: 96px; padding: 8px; }
.qa-cat-brands .qa-wordmark b { font-size: 11px; letter-spacing: .08em; }
.qa-cat-brands .qa-wordmark small { font-size: 10px; }
.qa-brand-circle.is-active { border-color: var(--qa-primary); box-shadow: 0 0 0 2px var(--qa-primary) inset, 0 6px 16px rgba(176, 53, 98, .18); }
.qa-brand-circle.is-active .qa-wordmark b { color: var(--qa-primary); }
.qa-brand-circle--all { background: var(--qa-surface-pink); }
.qa-brand-circle--all .qa-wordmark b { font-family: var(--qa-font); letter-spacing: 0; font-size: 15px; font-weight: 800; }
.qa-cat-brands .qa-scroller__nav[data-dir="prev"] { right: -10px; }
.qa-cat-brands .qa-scroller__nav[data-dir="next"] { left: -10px; }
.qa-brand-boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.qa-brand-box {
	height: 88px; padding: 16px 22px; display: grid; place-items: center; text-align: center;
	background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius-sm);
	font-weight: 700; transition: border-color .2s, box-shadow .2s;
}
.qa-brand-box img { max-height: 56px; }
.qa-brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 6px 0 28px; }
.qa-brand-grid .qa-brand-box { height: 100px; }
.qa-brand-hero { width: 150px; height: 150px; margin: 0 0 18px; border-radius: 50%; background: #fff; border: 1px solid var(--qa-border); display: grid; place-items: center; padding: 18px; overflow: hidden; }
.qa-brand-hero img { width: 100%; height: 100%; object-fit: contain; }
.qa-brand-box:hover { border-color: var(--qa-primary); box-shadow: var(--qa-shadow); }

/* ---------- Product grid & card ---------- */
.qa-theme ul.products {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: var(--qa-gap);
}
.qa-theme ul.products::before, .qa-theme ul.products::after { display: none !important; }
.qa-theme ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important; padding: 0 !important; clear: none !important;
}
.qa-theme ul.products.qa-scroller__track {
	display: grid; grid-template-columns: none; grid-auto-flow: column;
	grid-auto-columns: calc((100% - 4 * var(--qa-gap)) / 5); padding: 4px 2px 10px;
}

.qa-card {
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius);
	scroll-snap-align: start; transition: box-shadow .25s, transform .25s;
}
.qa-card:hover { box-shadow: var(--qa-shadow); transform: translateY(-3px); }
.qa-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--qa-surface-pink); }
.qa-card__img { display: block; height: 100%; }
.qa-theme .qa-card__img img { width: 100% !important; height: 100% !important; object-fit: contain; padding: 16px; margin: 0 !important; transition: transform .4s; }
.qa-card:hover .qa-card__img img { transform: scale(1.04); }

.qa-badge {
	position: absolute; top: 10px; right: 10px; z-index: 2;
	background: var(--qa-primary); color: #fff; font-size: 12px; font-weight: 700;
	padding: 2px 10px; border-radius: 7px; line-height: 1.7;
}
.qa-badge--new { background: var(--qa-primary-dark); }
.qa-badge--out { background: #8a7c82; }

.qa-wish {
	position: absolute; top: 9px; left: 9px; z-index: 2;
	width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
	display: grid; place-items: center; background: #fff; color: var(--qa-primary);
	box-shadow: 0 3px 10px rgba(0, 0, 0, .08); transition: transform .2s;
}
.qa-wish .qa-icon { width: 18px; height: 18px; }
.qa-wish:hover { transform: scale(1.1); }
.qa-wish.is-active .qa-icon { fill: currentColor; }
.qa-wish.is-pop { animation: qa-pop .35s; }
@keyframes qa-pop { 50% { transform: scale(1.3); } }

.qa-card__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; text-align: center; }
.qa-card__brand { font-size: 12px; color: var(--qa-muted); font-weight: 500; }
.qa-card__title { margin: 0; font-size: 15.5px; font-weight: 800; line-height: 1.5; color: #1E1016; letter-spacing: 0; }
.qa-card__title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; color: inherit; }
.qa-card__title a:hover { color: var(--qa-primary); }
/* price + button always sit on the same line across a row of cards */
.qa-card__foot { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; }
.qa-theme .qa-card__foot .qa-card__price { min-height: 30px; align-content: center; margin: 6px 0 10px; }
.qa-card__en { font-size: 12.5px; color: var(--qa-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.qa-theme .price, .qa-card__price {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px;
	margin: 6px 0 10px; color: var(--qa-primary); font-weight: 800; font-size: 17px;
}
.qa-theme .price del, .qa-card__price del { order: 2; color: var(--qa-muted); font-weight: 400; font-size: .8em; opacity: 1; }
.qa-theme .price ins, .qa-card__price ins { order: 1; text-decoration: none; background: none; font-weight: 800; }
.qa-card__price .screen-reader-text { order: 3; }
.qa-from { order: 0; font-size: .72em; font-weight: 600; color: var(--qa-muted); }
.qa-theme div.product p.price, .qa-theme div.product span.price { color: var(--qa-primary); }

.qa-theme .qa-card .button {
	margin-top: auto; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 10px 12px; border-radius: 999px; border: 0;
	background: var(--qa-primary-soft); color: var(--qa-primary-dark);
	font-size: 14px; font-weight: 700; line-height: 1.3; transition: background .2s, color .2s;
}
.qa-theme .qa-card .button .qa-icon { width: 17px; height: 17px; }
.qa-theme .qa-card .button:hover { background: var(--qa-primary); color: #fff; }
.qa-theme .qa-card .button.loading { opacity: .6; pointer-events: none; }
.qa-theme .qa-card .button.loading::after { display: none; }
.qa-theme .qa-card .button.added::after { content: "✓"; font-family: inherit; margin: 0; vertical-align: baseline; }
.qa-theme .qa-card .added_to_cart { display: none !important; }

/* ---------- Promos (model pops out of the card) ---------- */
.qa-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 30px; padding-top: 6px; }
.qa-promos:has(.has-person) { padding-top: 64px; }
.qa-promo, .qa-side-banner {
	position: relative; isolation: isolate; display: flex; align-items: center;
	min-height: 260px; padding: 30px 34px; color: var(--qa-text);
	transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.qa-promo:hover { color: var(--qa-text); transform: translateY(-4px); }
.qa-promo__bg {
	position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: var(--qa-radius);
	background: linear-gradient(135deg, #fbe1ea 0%, #f6c4d5 55%, #f0aac2 100%) center / cover no-repeat;
	box-shadow: 0 14px 34px rgba(176, 53, 98, .14);
}
.qa-promo--2 .qa-promo__bg { background-image: linear-gradient(135deg, #fff1f4 0%, #fbd9e3 60%, #f7c6d4 100%); }
.qa-promo--3 .qa-promo__bg { background-image: linear-gradient(135deg, #fbf4ee 0%, #f3e2d8 60%, #ead0c3 100%); }
.qa-promo--4 .qa-promo__bg { background-image: linear-gradient(135deg, #fdeef2 0%, #f6d3dd 60%, #eebccb 100%); }
.qa-promo.has-art { min-height: 250px; }
.qa-promo--full {
	display: block; padding: 0; min-height: 0; border-radius: var(--qa-radius); overflow: hidden;
	box-shadow: 0 14px 34px rgba(176, 53, 98, .14); background: #f6d3dd;
}
.qa-promo--full img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 578; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.qa-promos--grid .qa-promo--1 { grid-column: 1 / -1; }
.qa-promo--full.qa-promo--1 img, .qa-promos--stack .qa-promo--full img { aspect-ratio: auto; object-fit: contain; }
.qa-promos--stack { grid-template-columns: 1fr; }
.qa-promo--full:hover img { transform: scale(1.03); }
.qa-promo__art {
	position: absolute; z-index: 1; bottom: 6%; inset-inline-end: 1%;
	width: 52%; height: 86%; object-fit: contain; object-position: center bottom;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.qa-promo:hover .qa-promo__art, .qa-side-banner:hover .qa-promo__art { transform: translateY(-6px) scale(1.03); }
.qa-side-banner.has-art { margin-top: 0; }
.qa-side-banner.qa-side-banner--full { display: block; padding: 0; min-height: 0; margin-top: 0; align-self: center; border-radius: var(--qa-radius); overflow: hidden; box-shadow: 0 14px 34px rgba(176, 53, 98, .14); }
.qa-side-banner--full img { display: block; width: 100%; height: auto; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.qa-side-banner--full:hover img { transform: scale(1.03); }
.qa-side-banner.has-art h3 { max-width: 48%; }
.qa-promo.has-art .qa-promo__content { max-width: 50%; }
.qa-promo.has-art .qa-promo__badge { top: 16px; inset-inline-end: 44%; }
.qa-promo.has-bg .qa-promo__bg, .qa-side-banner .qa-promo__bg[style] { background-size: cover; }
.qa-promo__blob {
	position: absolute; width: 300px; height: 300px; bottom: -90px; inset-inline-end: -40px; border-radius: 50%;
	background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .25) 60%, transparent 70%);
	animation: qa-breathe 6s ease-in-out infinite;
}
.qa-promo__ring {
	position: absolute; width: 230px; height: 230px; bottom: -40px; inset-inline-end: 10px; border-radius: 50%;
	border: 1.5px dashed rgba(176, 53, 98, .28); animation: qa-spin 30s linear infinite;
}
@keyframes qa-breathe { 50% { transform: scale(1.08); } }
@keyframes qa-spin { to { transform: rotate(360deg); } }

.qa-promo__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 56%; }
.qa-promo__eyebrow {
	font-size: 12.5px; font-weight: 700; color: var(--qa-primary); background: rgba(255, 255, 255, .75);
	padding: 3px 12px; border-radius: 999px; margin-bottom: 4px;
}
.qa-promo__title { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; color: var(--qa-primary-dark); line-height: 1.25; }
.qa-promo__text { font-size: 15.5px; font-weight: 600; margin-bottom: 12px; }
.qa-promo__content .qa-btn { box-shadow: 0 8px 18px rgba(176, 53, 98, .28); }

.qa-promo__person {
	position: absolute; z-index: 1; bottom: 0; inset-inline-end: 3%;
	height: 122%; width: auto; max-width: 48%; object-fit: contain; object-position: bottom;
	filter: drop-shadow(0 12px 20px rgba(140, 36, 80, .18));
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
	-webkit-mask-image: linear-gradient(to top, transparent 0, #000 6%); mask-image: linear-gradient(to top, transparent 0, #000 6%);
}
.qa-promo:hover .qa-promo__person, .qa-side-banner:hover .qa-promo__person { transform: translateY(-6px) scale(1.02); }

.qa-promo__badge {
	position: absolute; z-index: 3; top: 18px; inset-inline-end: 42%;
	width: 86px; height: 86px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: var(--qa-primary); color: #fff; line-height: 1.1; text-align: center;
	box-shadow: 0 10px 22px rgba(176, 53, 98, .35), inset 0 0 0 4px rgba(255, 255, 255, .25);
	animation: qa-float 4s ease-in-out infinite;
}
.qa-promo__badge small { font-size: 11px; font-weight: 500; }
.qa-promo__badge strong { font-size: 22px; font-weight: 800; }
@keyframes qa-float { 50% { transform: translateY(-8px) rotate(-4deg); } }

/* side banner on product page reuses the same parts */
.qa-side-banner { min-height: 260px; margin-top: 60px; }
.qa-side-banner h3 { position: relative; z-index: 2; margin: 0; max-width: 55%; font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: var(--qa-primary-dark); line-height: 1.3; }
.qa-side-banner h3 .qa-icon { width: .7em; height: .7em; color: var(--qa-primary); vertical-align: middle; animation: qa-beat 2.4s ease-in-out infinite; }

/* ---------- Floating WhatsApp / Instagram ---------- */
.qa-float {
	position: fixed; z-index: 95; bottom: calc(20px + env(safe-area-inset-bottom)); left: 20px;
	display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
html:not([dir="rtl"]) .qa-float { left: auto; right: 20px; align-items: flex-end; }
.qa-float__btn {
	position: relative; display: flex; align-items: center; gap: 8px; height: 54px; min-width: 54px; padding: 0 15px;
	border-radius: 999px; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
	transition: transform .25s, box-shadow .25s;
}
.qa-float__btn:hover { color: #fff; transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
.qa-float__btn .qa-icon { width: 26px; height: 26px; }
.qa-float__btn--wa { background: #25D366; }
.qa-float__btn--wa::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; background: #25D366; z-index: -1;
	animation: qa-ring 2.4s ease-out infinite;
}
@keyframes qa-ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.45); opacity: 0; } }
.qa-float__btn--ig { width: 48px; height: 48px; min-width: 48px; padding: 0; justify-content: center; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.qa-float__btn--ig .qa-icon { width: 24px; height: 24px; }
.qa-float__label { font-weight: 700; font-size: 14px; white-space: nowrap; }
.qa-has-bottom-nav .qa-float { bottom: calc(80px + env(safe-area-inset-bottom)); }

/* ---------- Sparkles ---------- */
.qa-sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.qa-sparkle {
	position: absolute; width: 18px; height: 18px; background: #fff; opacity: 0;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.5 5.5 11.4 12 12-6.5.6-11.4 5.5-12 12-.6-6.5-5.5-11.4-12-12C6.5 11.4 11.4 6.5 12 0z'/%3E%3C/svg%3E") center / contain 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 0c.6 6.5 5.5 11.4 12 12-6.5.6-11.4 5.5-12 12-.6-6.5-5.5-11.4-12-12C6.5 11.4 11.4 6.5 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
	animation: qa-twinkle 3.6s ease-in-out infinite;
}
.qa-sparkle--1 { top: 14%; left: 8%; animation-delay: 0s; }
.qa-sparkle--2 { top: 70%; left: 22%; width: 12px; height: 12px; animation-delay: .9s; }
.qa-sparkle--3 { top: 22%; left: 46%; width: 10px; height: 10px; animation-delay: 1.8s; }
.qa-sparkle--4 { top: 12%; right: 10%; width: 14px; height: 14px; animation-delay: 2.5s; }
.qa-sparkle--5 { top: 78%; right: 30%; width: 16px; height: 16px; animation-delay: 1.3s; }
@keyframes qa-twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: .95; transform: scale(1) rotate(45deg); } }

/* ---------- Scroll reveal ---------- */
.qa-js .qa-reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--qa-d, 0ms); }
.qa-js .qa-reveal--zoom { transform: scale(.88); }
.qa-js .qa-reveal.is-in { opacity: 1; transform: none; }
.qa-section__title::after { transition: width .8s cubic-bezier(.2, .7, .2, 1) .2s; }
.qa-js .qa-section__head.qa-reveal:not(.is-in) .qa-section__title::after { width: 0; }

/* little extras */
.qa-count.is-bump { animation: qa-bump .5s; }
@keyframes qa-bump { 40% { transform: scale(1.45); } }
.qa-theme .qa-card .button.added .qa-icon { animation: qa-bump .5s; }
.qa-brand-circle img { transition: transform .4s; }
.qa-brand-circle:hover img { transform: scale(1.08); }

/* ---------- Reviews ---------- */
.qa-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qa-review {
	margin: 0; display: flex; align-items: center; gap: 16px; padding: 20px;
	background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius);
}
.qa-review__avatar {
	width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
	background: var(--qa-primary-soft); color: var(--qa-primary); display: grid; place-items: center;
	font-size: 28px; font-weight: 800; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--qa-border);
}
.qa-review blockquote { margin: 0 0 6px; font-weight: 600; font-size: 15px; }
.qa-review figcaption { font-weight: 800; margin-top: 2px; }
.qa-stars { display: inline-flex; gap: 2px; color: var(--qa-gold); vertical-align: middle; }
.qa-stars .qa-icon { width: 16px; height: 16px; }
.qa-stars .is-off { color: #ecdce2; }

/* ---------- Newsletter / footer ---------- */
.qa-newsletter { margin-top: 60px; background: linear-gradient(90deg, #f6d1de, #fbe7ee 60%, #fdf1f5); overflow: hidden; }
.qa-newsletter__inner { display: grid; grid-template-columns: 1fr minmax(0, 560px) 1fr; align-items: center; gap: 24px; padding-block: 38px; }
.qa-newsletter__img { grid-column: 1; max-height: 170px; width: auto; justify-self: start; }
.qa-newsletter__content { grid-column: 2; text-align: center; }
.qa-newsletter h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; color: var(--qa-primary-dark); }
.qa-newsletter p { margin: 0 0 16px; }
.qa-newsletter__msg { font-weight: 700; padding: 8px 14px; border-radius: 10px; }
.qa-newsletter__msg.is-ok { background: #e6f6ec; color: #23704a; }
.qa-newsletter__msg.is-error { background: #fdeaea; color: #a32727; }
.qa-newsletter__form { display: flex; gap: 10px; }
.qa-newsletter__field {
	flex: 1; display: flex; align-items: center; gap: 8px; padding-inline: 16px;
	background: #fff; border: 1px solid var(--qa-border); border-radius: 999px;
}
.qa-newsletter__field .qa-icon { color: var(--qa-muted); }
.qa-newsletter__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 12px 0; }
.qa-social { grid-column: 3; justify-self: end; display: flex; gap: 12px; flex-wrap: wrap; }
.qa-social a {
	width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
	background: #fff; color: var(--qa-text); transition: background .2s, color .2s;
}
.qa-social a:hover { background: var(--qa-primary); color: #fff; }
.qa-footer__bottom { background: var(--qa-primary-dark); color: #fff; font-size: 13px; }
.qa-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.qa-footer__bottom p { margin: 0; }
.qa-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.qa-footer__menu a:hover { color: #fff; opacity: .8; }
.qa-credit { opacity: .85; }
.qa-credit a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.qa-credit a:hover { color: #fff; opacity: .8; }

/* ---------- Generic pages ---------- */
.qa-page-hero { background: linear-gradient(90deg, #f6d2de, #fcedf2); padding-block: 30px; margin-bottom: 28px; }
.qa-page-hero h1 { margin: 0; font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--qa-primary-dark); }
.qa-page-hero p { margin: 4px 0 0; font-size: 16px; }
.qa-page-hero--cart { min-height: 160px; display: flex; align-items: center; background-size: cover; background-position: left center; }
.qa-page-hero__inner { display: flex; align-items: center; gap: 18px; }
.qa-page-hero__icon .qa-icon { width: 60px; height: 60px; color: var(--qa-primary-dark); stroke-width: 1.4; }
.qa-page-hero__heart .qa-icon { width: 54px; height: 54px; color: var(--qa-primary); stroke-width: 1.2; transform: rotate(-12deg); }
.qa-page-content { padding-bottom: 20px; }
.qa-404 { text-align: center; padding-block: 80px; }
.qa-404 h1 { font-size: 90px; margin: 0; color: var(--qa-primary); }
.qa-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.qa-post-card { background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius); overflow: hidden; }
.qa-post-card__thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.qa-post-card__body { padding: 16px 18px; }
.qa-post-card h2 { font-size: 18px; margin: 0 0 6px; }
.qa-article { background: #fff; border-radius: var(--qa-radius); padding: clamp(18px, 3vw, 36px); border: 1px solid var(--qa-border); }
.qa-article__thumb img { border-radius: var(--qa-radius-sm); margin-bottom: 16px; }
.qa-article__meta { color: var(--qa-muted); font-size: 13px; margin-bottom: 10px; }

/* Currency always on the LEFT of the number (e.g. "ر.ع 11.900"), whatever the store setting. */
.woocommerce-Price-amount bdi {
	display: inline-flex; flex-direction: row; align-items: baseline; gap: .28em;
	direction: ltr; unicode-bidi: isolate; white-space: nowrap;
}
.woocommerce-Price-currencySymbol { order: -1; direction: rtl; unicode-bidi: isolate; font-size: .78em; font-weight: 700; }

/* ==========================================================================
   WooCommerce general overrides
   ========================================================================== */
.qa-shop { padding-bottom: 20px; }
.qa-theme .woocommerce-breadcrumb.qa-breadcrumb {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
	margin: 0; padding: 18px 0; font-size: 13.5px; color: var(--qa-muted);
}
.qa-breadcrumb a { color: var(--qa-text); }
.qa-bc-sep { display: inline-flex; }
.qa-bc-sep .qa-icon { width: 14px; height: 14px; }

.qa-theme .woocommerce-products-header__title { font-size: 28px; font-weight: 800; color: var(--qa-primary-dark); margin: 0 0 10px; }
.qa-theme .woocommerce-result-count { margin: 8px 0 18px; color: var(--qa-muted); font-size: 14px; float: none; display: inline-block; }
.qa-theme .woocommerce-ordering { float: none; display: inline-block; margin: 0 0 18px; margin-inline-start: 16px; }
.qa-theme .woocommerce-ordering select, .qa-theme .woocommerce select, .qa-theme table.variations select {
	appearance: none; -webkit-appearance: none;
	border: 1px solid var(--qa-border); border-radius: 999px; background: #fff;
	padding: 9px 18px 9px 40px; min-width: 200px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1820' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-size: 16px; background-position: left 14px center;
}
.qa-theme nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; margin-top: 30px; }
.qa-theme nav.woocommerce-pagination ul li { border: 0; }
.qa-theme nav.woocommerce-pagination ul li a, .qa-theme nav.woocommerce-pagination ul li span {
	width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
	border-radius: 50%; background: #fff; border: 1px solid var(--qa-border);
}
.qa-theme nav.woocommerce-pagination ul li span.current { background: var(--qa-primary); color: #fff; border-color: var(--qa-primary); }

.qa-theme .woocommerce a.button, .qa-theme .woocommerce button.button,
.qa-theme .woocommerce input.button, .qa-theme .woocommerce #respond input#submit {
	background: var(--qa-primary-soft); color: var(--qa-primary-dark);
	border-radius: 999px; font-weight: 700; padding: .8em 1.6em; font-family: inherit; border: 0;
}
.qa-theme .woocommerce a.button:hover, .qa-theme .woocommerce button.button:hover,
.qa-theme .woocommerce input.button:hover, .qa-theme .woocommerce #respond input#submit:hover {
	background: var(--qa-primary); color: #fff;
}
.qa-theme .woocommerce a.button.alt, .qa-theme .woocommerce button.button.alt,
.qa-theme .woocommerce input.button.alt, .qa-theme .woocommerce #place_order {
	background: var(--qa-primary); color: #fff;
}
.qa-theme .woocommerce a.button.alt:hover, .qa-theme .woocommerce button.button.alt:hover,
.qa-theme .woocommerce #place_order:hover { background: var(--qa-primary-dark); }

.qa-theme .woocommerce form .form-row input.input-text,
.qa-theme .woocommerce form .form-row textarea,
.qa-theme .woocommerce-page form .form-row input.input-text {
	border: 1px solid var(--qa-border); border-radius: 12px; padding: 12px 14px; background: #fff;
}
.qa-theme .woocommerce-message, .qa-theme .woocommerce-info, .qa-theme .woocommerce-error {
	border-top-color: var(--qa-primary); background: #fff; border-radius: var(--qa-radius-sm);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.qa-theme .woocommerce-message::before, .qa-theme .woocommerce-info::before { color: var(--qa-primary); }
.qa-theme .woocommerce span.onsale { display: none; }
.qa-theme .star-rating span::before, .qa-theme p.stars a { color: var(--qa-gold); }

/* checkout / account boxes */
.qa-theme.woocommerce-checkout .qa-page-content form.checkout,
.qa-theme.woocommerce-account .qa-page-content .woocommerce {
	background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius); padding: clamp(16px, 3vw, 32px);
}
.qa-theme #add_payment_method #payment, .qa-theme.woocommerce-checkout #payment { background: var(--qa-surface-pink); border-radius: var(--qa-radius-sm); }

/* ==========================================================================
   Single product
   ========================================================================== */
.qa-single__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 36px; align-items: start; }
.qa-single__summary { display: flex; flex-direction: column; gap: 8px; }
.qa-single__head { display: flex; align-items: center; justify-content: space-between; }
.qa-single__brand { color: var(--qa-primary); font-weight: 800; font-size: 17px; }
.qa-wish--inline { position: static; box-shadow: none; background: none; width: 38px; height: 38px; }
.qa-wish--inline .qa-icon { width: 26px; height: 26px; }
.qa-single__title { margin: 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; }
.qa-single__en { margin: 0; font-size: 17px; font-weight: 600; text-align: right; }
.qa-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.qa-rating__count { color: var(--qa-muted); }
.qa-theme .qa-single__price .price { justify-content: flex-start; font-size: 32px; margin: 4px 0 0; color: var(--qa-primary); }
.qa-theme .qa-single__price .price del { font-size: 19px; }
.qa-theme .qa-single .woocommerce-product-details__short-description {
	font-size: 15.5px; padding: 8px 0 18px; border-bottom: 1px solid var(--qa-border); margin-bottom: 6px;
}
.qa-theme .qa-single .woocommerce-product-details__short-description p { margin: 0 0 4px; }

/* variations */
.qa-theme div.product form.cart { margin: 0; }
.qa-theme div.product form.cart .variations { width: 100%; border: 0; margin: 0 0 16px; }
.qa-theme div.product form.cart .variations tr { display: block; margin-bottom: 10px; }
.qa-theme div.product form.cart .variations th,
.qa-theme div.product form.cart .variations td { display: block; padding: 0; border: 0; text-align: start; line-height: 1.6; }
.qa-theme div.product form.cart .variations th label { font-weight: 800; font-size: 16px; }
.qa-theme div.product form.cart .variations th label::after { content: ":"; }
.qa-theme div.product form.cart .reset_variations { font-size: 13px; color: var(--qa-muted); margin-inline-start: 10px; }
.qa-theme .woocommerce-variation-price { display: none; }
.qa-theme .woocommerce-variation-availability p.stock { margin: 0 0 10px; font-weight: 700; }

.qa-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 12px; }
.qa-swatch {
	width: 36px; height: 36px; border-radius: 50%; padding: 0; cursor: pointer;
	background: var(--qa-swatch, #eee); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--qa-border);
	transition: box-shadow .2s, transform .2s;
}
.qa-swatch:hover { transform: scale(1.08); }
.qa-swatch.is-active { box-shadow: 0 0 0 2px var(--qa-primary); }
.qa-swatch:disabled { opacity: .3; cursor: not-allowed; transform: none; }

/* add to cart row */
.qa-theme div.product form.cart:not(.variations_form),
.qa-theme div.product .woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.qa-theme div.product form.cart::before, .qa-theme div.product form.cart::after { display: none; }
.qa-theme div.product form.cart div.quantity { float: none; margin: 0; }
.qa-theme div.product form.cart .single_add_to_cart_button {
	order: -1; flex: 1; float: none; margin: 0; min-height: 54px;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--qa-primary); color: #fff; border-radius: 14px; font-size: 18px; padding: 12px 24px;
}
.qa-theme div.product form.cart .single_add_to_cart_button::before {
	content: ""; width: 22px; height: 22px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat;
}
.qa-theme div.product form.cart .single_add_to_cart_button:hover { background: var(--qa-primary-dark); }
.qa-theme div.product form.cart .single_add_to_cart_button.disabled { opacity: .55; }
.qa-wish--box { position: static; width: 54px; height: auto; min-height: 54px; border-radius: 14px; border: 1px solid var(--qa-border); box-shadow: none; }
.qa-wish--box .qa-icon { width: 24px; height: 24px; }

/* quantity stepper (product + cart) */
.qa-qty { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--qa-border); border-radius: 14px; overflow: hidden; }
.qa-theme .qa-qty input.qty {
	width: 48px; height: 52px; border: 0; padding: 0; text-align: center; font-weight: 800; font-size: 17px;
	background: transparent; -moz-appearance: textfield; appearance: textfield;
}
.qa-qty input.qty::-webkit-outer-spin-button, .qa-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qa-qty__btn {
	width: 42px; height: 52px; border: 0; background: none; cursor: pointer;
	display: grid; place-items: center; color: var(--qa-text); transition: color .2s, background .2s;
}
.qa-qty__btn:hover { color: var(--qa-primary); background: var(--qa-surface-pink); }
.qa-qty__btn .qa-icon { width: 18px; height: 18px; }

/* gallery */
.qa-gallery { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; }
.qa-gallery--single { grid-template-columns: minmax(0, 1fr); }
.qa-gallery__main {
	position: relative; aspect-ratio: 1 / 1; overflow: hidden;
	background: var(--qa-surface-pink); border: 1px solid var(--qa-border); border-radius: var(--qa-radius);
}
.qa-gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.qa-gallery__main img.is-loading { opacity: .3; }
.qa-gallery__main .qa-badge { right: auto; left: 18px; top: 18px; font-size: 15px; padding: 4px 18px; border-radius: 999px; }
.qa-gallery__zoom {
	position: absolute; bottom: 16px; left: 16px; width: 44px; height: 44px; border-radius: 50%;
	background: #fff; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}
.qa-gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.qa-gallery__thumb {
	padding: 0; cursor: pointer; overflow: hidden; aspect-ratio: 1 / 1;
	background: #fff; border: 1.5px solid var(--qa-border); border-radius: 12px; transition: border-color .2s;
}
.qa-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.qa-gallery__thumb.is-active, .qa-gallery__thumb:hover { border-color: var(--qa-primary); }

/* tabs + side banner */
.qa-single__info { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.qa-single__tabs { background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius); overflow: hidden; }
.qa-theme div.product .woocommerce-tabs { margin: 0; padding: 0; }
.qa-theme div.product .woocommerce-tabs ul.tabs {
	display: flex; overflow-x: auto; margin: 0; padding: 0; border-bottom: 1px solid var(--qa-border); scrollbar-width: none;
}
.qa-theme div.product .woocommerce-tabs ul.tabs::before, .qa-theme div.product .woocommerce-tabs ul.tabs::after { display: none; }
.qa-theme div.product .woocommerce-tabs ul.tabs li {
	flex: 1; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; text-align: center; white-space: nowrap;
	border-inline-start: 1px solid var(--qa-border);
}
.qa-theme div.product .woocommerce-tabs ul.tabs li:first-child { border-inline-start: 0; }
.qa-theme div.product .woocommerce-tabs ul.tabs li::before, .qa-theme div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.qa-theme div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 14px 16px; font-weight: 600; font-size: 14.5px; color: var(--qa-muted); }
.qa-theme div.product .woocommerce-tabs ul.tabs li.active { background: none; box-shadow: inset 0 -2.5px 0 var(--qa-primary); }
.qa-theme div.product .woocommerce-tabs ul.tabs li.active a { color: var(--qa-primary-dark); font-weight: 800; }
.qa-theme div.product .woocommerce-tabs .panel { margin: 0; padding: 22px 26px; font-size: 15.5px; }
.qa-theme div.product .woocommerce-tabs .panel ul, .qa-checklist { list-style: none; padding: 0; margin: 10px 0; }
.qa-theme div.product .woocommerce-tabs .panel ul li, .qa-checklist li { position: relative; padding-inline-start: 28px; margin-bottom: 8px; }
.qa-theme div.product .woocommerce-tabs .panel ul li::before, .qa-checklist li::before {
	content: ""; position: absolute; inset-inline-start: 0; top: .35em; width: 17px; height: 17px; background: var(--qa-primary);
	-webkit-mask: 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.qa-theme #reviews #comments ol.commentlist li .comment-text { border-color: var(--qa-border); border-radius: var(--qa-radius-sm); }
.qa-theme #reviews #comments h2, .qa-theme #reviews #reply-title { font-size: 18px; }

/* related — horizontal cards */
.qa-related ul.products.qa-scroller__track { grid-auto-columns: calc((100% - 3 * var(--qa-gap)) / 4); }
.qa-related .qa-card { display: grid; grid-template-columns: 1fr 1fr; }
.qa-related .qa-card__media { order: 2; aspect-ratio: auto; min-height: 170px; }
.qa-related .qa-card__body { text-align: start; padding: 16px 14px; }
.qa-theme .qa-related .qa-card__price { justify-content: flex-start; }
.qa-theme .qa-related .qa-card .button { white-space: nowrap; font-size: 13px; padding: 9px 10px; }

/* ==========================================================================
   Cart
   ========================================================================== */
.qa-cart__items { display: flex; flex-direction: column; gap: 14px; }
.qa-cart-item {
	position: relative; display: grid; grid-template-columns: 190px minmax(0, 1fr) 230px 44px; gap: 22px; align-items: center;
	background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius); overflow: hidden;
}
.qa-cart-item__img { align-self: stretch; display: grid; place-items: center; padding: 12px; background: var(--qa-surface-pink); }
.qa-cart-item__img img { max-height: 160px; width: auto; object-fit: contain; }
.qa-cart-item__info { padding-block: 16px; }
.qa-cart-item__brand { display: block; color: var(--qa-primary); font-weight: 800; font-size: 18px; }
.qa-cart-item__name { margin: 2px 0; font-size: 17px; font-weight: 500; }
.qa-theme .qa-cart-item dl.variation { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 10px; font-size: 15px; }
.qa-theme .qa-cart-item dl.variation dt, .qa-theme .qa-cart-item dl.variation dd { float: none; margin: 0; padding: 0; font-weight: 400; }
.qa-theme .qa-cart-item dl.variation dd p { margin: 0; }
.qa-cart-item__buy { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-block: 16px; }
.qa-cart-item__price { text-align: center; color: var(--qa-primary); font-size: 22px; font-weight: 800; line-height: 1.3; }
.qa-cart-item__price del { display: block; color: var(--qa-muted); font-size: 14px; font-weight: 400; }
.qa-cart-item__remove { align-self: start; padding-top: 18px; }
.qa-theme .woocommerce a.remove.qa-remove {
	width: auto; height: auto; display: inline-flex; font-size: inherit; line-height: 1;
	color: var(--qa-text) !important; background: none !important; border-radius: 8px; padding: 6px;
}
.qa-theme .woocommerce a.remove.qa-remove:hover { color: var(--qa-primary) !important; background: var(--qa-surface-pink) !important; }
.qa-theme .woocommerce a.remove.qa-remove .qa-icon { width: 22px; height: 22px; }
.qa-cart-item .qa-qty input.qty { height: 44px; }
.qa-cart-item .qa-qty__btn { height: 44px; color: var(--qa-primary); }

.qa-cart__bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; align-items: start; }
.qa-cart__side { display: flex; flex-direction: column; gap: 22px; }
.qa-coupon { background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius); padding: 22px 24px; }
.qa-coupon h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 20px; font-weight: 800; }
.qa-coupon h3 .qa-icon { color: var(--qa-primary); }
.qa-coupon__row { display: flex; gap: 10px; }
.qa-theme .qa-coupon input#coupon_code {
	flex: 1; min-width: 0; border: 1px solid var(--qa-border); border-radius: 12px; padding: 12px 16px; background: var(--qa-surface-pink); width: auto;
}
.qa-theme .woocommerce .qa-coupon button.button {
	background: #fff; color: var(--qa-primary); border: 1.5px solid var(--qa-primary); border-radius: 12px; padding: 0 30px; font-size: 16px;
}
.qa-theme .woocommerce .qa-coupon button.button:hover { background: var(--qa-primary); color: #fff; }
.qa-cart__actions { display: none; }

.qa-summary { background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius); overflow: hidden; }
.qa-summary__title {
	display: flex; align-items: center; gap: 8px; margin: 0; padding: 16px 24px;
	font-size: 20px; font-weight: 800; background: var(--qa-surface-pink); border-bottom: 1px solid var(--qa-border);
}
.qa-summary__title .qa-icon { color: var(--qa-primary); }
.qa-summary__rows { padding: 10px 24px; }
.qa-summary__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; font-size: 15.5px; }
.qa-summary__row > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.qa-summary__row .qa-icon { color: var(--qa-primary); }
.qa-summary__row .woocommerce-remove-coupon { font-size: 12px; color: var(--qa-muted); margin-inline-start: 6px; }
.qa-free { color: var(--qa-primary); font-weight: 800; }
.qa-summary__total {
	display: flex; justify-content: space-between; align-items: center; margin: 0 24px; padding: 14px 0;
	border-top: 1px solid var(--qa-border); font-size: 20px; font-weight: 800;
}
.qa-summary__total .amount { color: var(--qa-primary); font-size: 28px; }
.qa-summary__total small { display: block; font-size: 12px; font-weight: 400; color: var(--qa-muted); }
.qa-theme .qa-summary .wc-proceed-to-checkout { padding: 6px 24px 0; }
.qa-theme .qa-summary .wc-proceed-to-checkout a.checkout-button { display: flex; margin: 0; padding: 16px; border-radius: 12px; font-size: 17px; }
.qa-cart-item__variant { display: block; font-size: 15px; margin-bottom: 8px; }
.qa-summary__secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 18px; font-size: 13.5px; }
.qa-summary__secure .qa-icon { width: 18px; height: 18px; }
.qa-theme .cart-empty.woocommerce-info { text-align: center; padding: 30px; }
.qa-theme .return-to-shop { text-align: center; }

/* wishlist page */
.qa-wishlist__empty { text-align: center; padding: 50px 20px; background: #fff; border: 1px solid var(--qa-border); border-radius: var(--qa-radius); }
.qa-wishlist__empty > .qa-icon { width: 54px; height: 54px; color: var(--qa-primary); margin: 0 auto 8px; }
.qa-wishlist__empty p { font-size: 18px; margin: 0 0 16px; }
.qa-wishlist__loading { text-align: center; color: var(--qa-muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.qa-theme ul.products.qa-scroller__track { grid-auto-columns: calc((100% - 3 * var(--qa-gap)) / 4); }
	.qa-related ul.products.qa-scroller__track { grid-auto-columns: calc((100% - 2 * var(--qa-gap)) / 3); }
	.qa-brand-boxes { grid-template-columns: repeat(4, 1fr); }
	.qa-cart-item { grid-template-columns: 150px minmax(0, 1fr) 200px 40px; gap: 16px; }
}

/* ---------- Bottom nav (mobile only) ---------- */
.qa-bottom-nav, .qa-nav__head, .qa-overlay { display: none; }

/* ---------- Tablet & mobile ---------- */
@media (max-width: 900px) {
	/* header & menu — same style as v1.0: row [menu][logo …][icons], search below, menu drops down */
	.qa-topbar__support { display: none; }
	.qa-header__main { flex-wrap: wrap; gap: 14px; padding-block: 10px; }
	.qa-menu-toggle { display: flex; }
	.qa-logo { margin-inline-end: auto; }
	.qa-logo img { max-height: 54px; }
	.qa-header__icons { gap: 16px; }
	.qa-search { order: 3; flex-basis: 100%; max-width: none; }
	.qa-nav { display: none; border-top: 1px solid var(--qa-border); max-height: calc(100vh - 140px); overflow-y: auto; }
	.qa-menu-open .qa-nav { display: block; }
	.qa-nav .qa-menu { flex-direction: column; gap: 0; padding-block: 8px; }
	.qa-nav .qa-menu > li > a { padding: 12px 4px; border-bottom: 1px solid var(--qa-border); }
	.qa-nav .qa-menu > li > a::after { display: none; }
	.qa-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 16px 0 0; min-width: 0; }

	/* optional bottom navigation bar (Customizer → صفحات خاصة) */
	body.qa-has-bottom-nav { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.qa-has-bottom-nav .qa-bottom-nav {
		display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 90;
		background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
		border-top: 1px solid var(--qa-border); box-shadow: 0 -6px 20px rgba(176, 53, 98, .07);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.qa-bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 11.5px; font-weight: 500; color: var(--qa-muted); }
	.qa-bottom-nav a.is-active { color: var(--qa-primary); font-weight: 700; }
	.qa-bottom-nav__icon { position: relative; display: flex; }
	.qa-bottom-nav__icon .qa-icon { width: 24px; height: 24px; }
	.qa-bottom-nav a.is-active .qa-icon { stroke-width: 2.2; }
	.qa-bottom-nav .qa-count { top: -6px; right: -10px; min-width: 17px; height: 17px; font-size: 10px; }

	/* layout */
	.qa-features { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
	.qa-feature { border: 0; justify-content: flex-start; }
	.qa-promos, .qa-reviews { grid-template-columns: 1fr; }
	.qa-promos { gap: 26px; }
	.qa-single__top { grid-template-columns: 1fr; gap: 20px; }
	.qa-gallery { order: -1; grid-template-columns: 1fr; }
	.qa-gallery__thumbs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
	.qa-gallery__thumb { flex: 0 0 64px; }
	.qa-single__info { grid-template-columns: 1fr; }
	.qa-cart__bottom { grid-template-columns: 1fr; }
	.qa-newsletter__inner { grid-template-columns: 1fr; text-align: center; }
	.qa-newsletter__img { display: none; }
	.qa-newsletter__content, .qa-social { grid-column: 1; justify-self: center; }
}

/* ---------- Phones ---------- */
@media (max-width: 700px) {
	:root { --qa-gap: 10px; --qa-radius: 16px; }
	body { font-size: 14.5px; }
	.qa-container { padding-inline: 14px; }
	.qa-section { margin-block: 30px; }
	.qa-section__head { margin-bottom: 12px; }
	.qa-section__title { font-size: 19px; padding-bottom: 6px; }
	.qa-section__title::after { width: 36px; }

	/* edge-to-edge carousels with a peek of the next item */
	.qa-scroller__nav { display: none; }
	.qa-scroller__track { margin-inline: -14px; padding-inline: 14px !important; scroll-padding-inline: 14px; }

	/* hero: text sits on a soft fade at the bottom so it's always readable */
	.qa-hero { height: 380px; }
	.qa-hero__slide { align-items: flex-end; }
	.qa-hero__bg { background-position: 30% center; }
	.qa-hero { height: 430px; }
	.qa-hero__art { top: 5%; inset-inline-end: auto; left: 50%; right: auto; height: 50%; max-width: 92%; transform: translateX(-50%) scale(1.04); }
	.qa-hero__slide.is-active .qa-hero__art { transform: translateX(-50%); animation: qa-art-float-m 7s ease-in-out 1.3s infinite; }
	@keyframes qa-art-float-m { 50% { transform: translateX(-50%) translateY(-8px); } }
	.qa-hero__eyebrow { justify-content: center; }
	.qa-hero__slide::after {
		content: ""; position: absolute; inset: 0;
		background: linear-gradient(to top, rgba(253, 243, 246, .97) 0%, rgba(253, 243, 246, .85) 34%, rgba(253, 243, 246, 0) 62%);
	}
	.qa-hero__text { max-width: none; text-align: center; padding-bottom: 38px; }
	.qa-hero__title { justify-content: center; font-size: 27px; margin-bottom: .2em; }
	.qa-hero__text p { font-size: 14px; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.qa-hero .qa-btn { padding: .75em 1.8em; font-size: 15px; }
	.qa-hero__nav { display: none; }
	.qa-hero__dots { bottom: 12px; }

	/* features: slow endless marquee */
	.qa-home-features { margin-top: 14px; }
	.qa-features, .qa-features--cards {
		display: block; overflow: hidden; background: none; border: 0; padding: 2px 0; margin-inline: -14px;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
		mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	}
	.qa-features__track { display: flex; width: max-content; animation: qa-ticker 22s linear infinite; }
	html:not([dir="rtl"]) .qa-features__track { animation-name: qa-ticker-ltr; }
	.qa-features:active .qa-features__track { animation-play-state: paused; }
	.qa-features__group, .qa-features__clone { display: flex; gap: 8px; padding-inline-end: 8px; }
	.qa-feature, .qa-features--cards .qa-feature {
		flex: 0 0 auto; gap: 8px; padding: 8px 14px 8px 16px;
		background: #fff; border: 1px solid var(--qa-border); border-radius: 999px;
		box-shadow: 0 3px 10px rgba(176, 53, 98, .06);
	}
	.qa-feature:first-child { border-inline-start: 1px solid var(--qa-border); }
	.qa-feature > .qa-icon { width: 22px; height: 22px; }
	.qa-feature strong { font-size: 13px; white-space: nowrap; }
	.qa-feature span { display: none; }

	/* brands */
	.qa-brands { gap: 10px; }
	.qa-brand-circle { width: 88px; height: 88px; padding: 6px; font-size: 12px; }
	.qa-brand-circle .qa-wordmark b { font-size: 10px; letter-spacing: .06em; }
	.qa-brand-circle .qa-wordmark small { font-size: 9.5px; }
	.qa-brand-box .qa-wordmark b { font-size: 11px; letter-spacing: .08em; }
	.qa-brand-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.qa-cat-brands { margin-inline: -14px; border-radius: 0; border-inline: 0; padding: 12px 14px 6px; }
	.qa-cat-brands .qa-brand-circle { width: 76px; height: 76px; padding: 5px; }
	.qa-cat-brands .qa-wordmark b { font-size: 9px; letter-spacing: .05em; }
	.qa-cat-brands .qa-wordmark small { font-size: 8.5px; }
	.qa-brand-circle--all .qa-wordmark b { font-size: 13px; }
	.qa-brand-grid .qa-brand-box { height: 72px; }
	.qa-brand-hero { width: 110px; height: 110px; }
	.qa-brand-boxes { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.qa-brand-box { height: 62px; padding: 10px; font-size: 12px; }
	.qa-brand-box img { max-height: 34px; }

	/* product cards */
	.qa-theme ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qa-theme ul.products.qa-scroller__track, .qa-related ul.products.qa-scroller__track { grid-auto-columns: 44%; }
	.qa-card { border-radius: 14px; }
	.qa-card:hover { transform: none; }
	.qa-theme .qa-card__img img { padding: 10px; }
	.qa-badge { top: 8px; right: 8px; font-size: 11px; padding: 1px 8px; }
	.qa-wish { top: 6px; left: 6px; width: 30px; height: 30px; }
	.qa-wish .qa-icon { width: 16px; height: 16px; }
	.qa-card__body { padding: 8px 9px 10px; gap: 2px; }
	.qa-card__brand { font-size: 11px; }
	.qa-card__title { font-size: 14px; font-weight: 800; }
	/* shorter cards on phones */
	.qa-card__media { aspect-ratio: 1 / .82; min-height: 0; overflow: hidden; }
	.qa-card__img { position: absolute; inset: 0; }
	.qa-theme .qa-card__img img { padding: 8px; }
	.qa-card__body { padding: 7px 8px 9px; gap: 1px; }
	.qa-card__brand { font-size: 10.5px; line-height: 1.4; }
	.qa-card__title { line-height: 1.42; }
	.qa-card__title a { min-height: 2.84em; }
	.qa-theme .qa-card__foot .qa-card__price {
		min-height: 36px; margin: 2px 0 6px; flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 0; line-height: 1.25; font-size: 14.5px;
	}
	.qa-theme .qa-card__foot .qa-card__price del { font-size: 11px; }
	.qa-card__price .qa-from { display: none; }
	.qa-theme .qa-card .button { min-height: 32px; padding: 6px; font-size: 12px; }
	.qa-card__en { display: none; }
	.qa-theme .qa-card__price { font-size: 15px; margin: 4px 0 8px; gap: 2px 6px; }
	.qa-theme .qa-card .button { font-size: 12.5px; padding: 8px 6px; gap: 4px; }
	.qa-theme .qa-card .button .qa-icon { width: 15px; height: 15px; }
	.qa-related .qa-card { display: flex; }
	.qa-related .qa-card__media { order: 0; aspect-ratio: 1 / 1; min-height: 0; }
	.qa-related .qa-card__body { text-align: center; }
	.qa-theme .qa-related .qa-card__price { justify-content: center; }

	/* promos */
	.qa-promos { gap: 22px; padding-top: 0; }
	.qa-promos:has(.has-person) { gap: 48px; padding-top: 42px; }
	.qa-promo, .qa-side-banner { min-height: 190px; padding: 20px 18px; }
	.qa-promo__content { max-width: 60%; }
	.qa-promo__title { font-size: 21px; }
	.qa-promo__text { font-size: 13px; margin-bottom: 8px; }
	.qa-promo__person { max-width: 46%; height: 118%; inset-inline-end: 0; }
	.qa-promo.has-art { min-height: 200px; }
	.qa-promo--full { min-height: 0; padding: 0; }
	.qa-promo--full img { aspect-ratio: auto !important; height: auto; object-fit: contain; } /* never crop on phones */
	.qa-promo.has-art .qa-promo__content { max-width: 54%; }
	.qa-promo__art { width: 50%; height: 80%; bottom: 8%; inset-inline-end: -2%; }
	.qa-promo.has-art .qa-promo__badge { inset-inline-end: 40%; }
	.qa-promo__badge { width: 64px; height: 64px; top: 10px; inset-inline-end: 40%; }
	.qa-promo__badge strong { font-size: 17px; }
	.qa-promo__badge small { font-size: 9.5px; }
	.qa-promo__blob { width: 220px; height: 220px; }
	.qa-promo__ring { width: 170px; height: 170px; }

	/* reviews: swipe */
	.qa-reviews { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; }
	.qa-reviews::-webkit-scrollbar { display: none; }
	.qa-review { flex: 0 0 84%; scroll-snap-align: center; padding: 16px; gap: 12px; }
	.qa-review__avatar { width: 58px; height: 58px; font-size: 22px; }
	.qa-review blockquote { font-size: 14px; }

	/* newsletter / footer */
	.qa-newsletter { margin-top: 36px; }
	.qa-newsletter__inner { padding-block: 26px; gap: 16px; }
	.qa-newsletter h2 { font-size: 20px; }
	.qa-newsletter p { font-size: 13.5px; }
	.qa-newsletter__form { flex-direction: column; }
	.qa-social a { width: 38px; height: 38px; }
	.qa-footer__bottom-inner { justify-content: center; text-align: center; }

	/* floating buttons: compact on phones */
	.qa-float { left: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); gap: 10px; }
	.qa-float__label { display: none; }
	.qa-float__btn { height: 50px; min-width: 50px; padding: 0; justify-content: center; }
	.qa-float__btn--ig { width: 44px; height: 44px; min-width: 44px; }

	/* page hero */
	.qa-page-hero { padding-block: 20px; margin-bottom: 18px; }
	.qa-page-hero--cart { min-height: 110px; }
	.qa-page-hero__heart { display: none; }
	.qa-page-hero__icon .qa-icon { width: 40px; height: 40px; }
	.qa-page-hero p { font-size: 13.5px; }

	/* single product */
	.qa-theme .woocommerce-breadcrumb.qa-breadcrumb { padding: 10px 0; font-size: 12px; }
	.qa-gallery__main { border-radius: 16px; }
	.qa-gallery__main .qa-badge { top: 12px; left: 12px; font-size: 13px; padding: 3px 14px; }
	.qa-single__title { font-size: 21px; }
	.qa-single__en { font-size: 14px; }
	.qa-theme .qa-single__price .price { font-size: 26px; }
	.qa-theme div.product form.cart .single_add_to_cart_button { font-size: 16px; min-height: 50px; padding: 10px 14px; }
	.qa-theme .qa-qty input.qty { width: 38px; height: 48px; }
	.qa-qty__btn { width: 36px; height: 48px; }
	.qa-wish--box { width: 50px; min-height: 50px; }
	.qa-swatch { width: 32px; height: 32px; }
	.qa-theme table.variations select { min-width: 0; width: 100%; }
	.qa-theme div.product .woocommerce-tabs ul.tabs li { flex: 0 0 auto; }
	.qa-theme div.product .woocommerce-tabs ul.tabs li a { padding: 12px 14px; font-size: 13.5px; }
	.qa-theme div.product .woocommerce-tabs .panel { padding: 16px; font-size: 14.5px; }
	.qa-side-banner h3 { font-size: 24px; }

	/* cart */
	.qa-cart-item { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding-inline-end: 12px; }
	.qa-cart-item__img { grid-row: span 2; padding: 8px; }
	.qa-cart-item__img img { max-height: 100px; }
	.qa-cart-item__info { padding: 12px 0 0; padding-inline-end: 34px; }
	.qa-cart-item__brand { font-size: 14.5px; }
	.qa-cart-item__name { font-size: 14.5px; }
	.qa-cart-item__variant { font-size: 13px; margin-bottom: 4px; }
	.qa-cart-item__buy { flex-direction: row; justify-content: space-between; padding: 0 0 12px; }
	.qa-cart-item__price { font-size: 17px; }
	.qa-cart-item__remove { position: absolute; top: 8px; left: 8px; padding: 0; }
	.qa-cart-item .qa-qty input.qty { height: 38px; width: 34px; }
	.qa-cart-item .qa-qty__btn { height: 38px; width: 32px; }
	.qa-coupon { padding: 16px; }
	.qa-coupon h3, .qa-summary__title { font-size: 17px; }
	.qa-theme .woocommerce .qa-coupon button.button { padding: 0 18px; }
	.qa-summary__rows { padding: 8px 16px; }
	.qa-summary__total { margin: 0 16px; font-size: 17px; }
	.qa-summary__total .amount { font-size: 23px; }
	.qa-theme .qa-summary .wc-proceed-to-checkout { padding: 6px 16px 0; }
	.qa-theme .qa-summary .wc-proceed-to-checkout a.checkout-button { font-size: 15px; padding: 14px; }
	.qa-btn--lg { font-size: 16px; padding: .85em 1.4em; }
}

@media (prefers-reduced-motion: reduce) {
	.qa-hero__text > *, .qa-reveal { opacity: 1 !important; transform: none !important; }
	.qa-features { overflow-x: auto !important; }
	.qa-features__clone { display: none !important; }
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
