/* =========================================================================
   TeraMobiel — main stylesheet
   Logical properties everywhere so RTL (Arabic) and LTR (English) both work.
   ========================================================================= */

:root {
	--bg: #f5f6fb;
	--surface: #ffffff;
	--surface-2: #f0f2f8;
	--surface-3: #e8ebf4;
	--text: #0e1325;
	--text-2: #334155;
	--muted: #5f6880; /* >= 4.66 on --bg, --surface-2 and --surface-3 (was #6b7489: 3.93-4.34). */
	--border: #e3e6ef;
	--primary: #4f46e5;
	--primary-600: #4338ca;
	--primary-soft: #eef0ff;
	--cyan: #06b6d4;
	--accent: #f97316;
	--accent-soft: #fff1e6;
	--accent-ink: #c2410c; /* accent as text/icon on light surfaces: 4.68-5.18 (--accent #f97316 is 2.6-2.8). */
	--success: #059669;
	--success-soft: #e7f8f1;
	--success-ink: #047857; /* text on --surface/--bg/--success-soft: >= 4.99 (AA). --success stays for fills and borders. */
	--primary-fill: #4f46e5; /* fills under white text: 6.29 in both modes (dark --primary is a light text colour). */
	--danger: #e11d48;
	--gini: #0d9488;
	--gini-2: #10b981;
	--gini-ink: #0f766e; /* Gini teal as text on light surfaces: >= 5.07 (--gini is 3.47-3.74). */
	--gold: #f59e0b;
	--grad: linear-gradient(135deg, #4f46e5 0%, #6d5cf6 45%, #06b6d4 100%);
	--radius: 16px;
	--radius-sm: 10px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .05);
	--shadow: 0 6px 24px -8px rgba(15, 23, 42, .14), 0 2px 6px rgba(15, 23, 42, .04);
	--shadow-lg: 0 24px 60px -20px rgba(30, 27, 75, .35);
	--header-h: 72px;
	--container: 1320px;
	--font: "IBM Plex Sans Arabic", "Inter", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	color-scheme: light;
}
html[data-theme="dark"] {
	--bg: #0a0e19;
	--surface: #121827;
	--surface-2: #182033;
	--surface-3: #1f2940;
	--text: #e9edf7;
	--text-2: #c4cbdb;
	--muted: #8d97ad;
	--border: #243049;
	--primary: #818cf8;
	--primary-600: #6366f1;
	--primary-soft: #1d2346;
	--accent-soft: #3a2314;
	--success-soft: #0f2e25;
	--success-ink: #34d399;
	--gini: #14b8a6;
	--gini-ink: #2dd4bf;
	--accent-ink: #fb923c;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
	--shadow: 0 8px 30px -10px rgba(0, 0, 0, .6);
	--shadow-lg: 0 30px 70px -25px rgba(0, 0, 0, .8);
	color-scheme: dark;
}
html[lang="en"] { --font: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
	margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
	font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased;
	transition: background-color .25s, color .25s;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.ico { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .flip-rtl, [dir="rtl"] .section-more .ico, [dir="rtl"] .mega__more .ico, [dir="rtl"] .side-box__more .ico { transform: scaleX(-1); }
.rot-up { transform: rotate(-90deg); }
.rot-down { transform: rotate(90deg); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.skip-link { position: absolute; inset-inline-start: -9999px; top: 0; z-index: 1000; background: var(--primary-fill); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { inset-inline-start: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons, chips, badges ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 20px; border-radius: 12px; border: 1px solid transparent;
	font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
	transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .6); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 26px -8px rgba(79, 70, 229, .7); transform: translateY(-1px); }
.btn-gini { background: linear-gradient(135deg, var(--gini), var(--gini-2)); color: #fff; box-shadow: 0 8px 20px -10px rgba(13, 148, 136, .7); }
.btn-gini:hover { color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: #1e1b4b; }
.btn-light:hover { color: var(--primary); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-3); color: var(--text); }
.btn-wa { background: #22c55e; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn .ico { width: 18px; height: 18px; }
.icon-btn {
	position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
	border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
	transition: background .2s, border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn--sm { width: 30px; height: 30px; border-radius: 8px; }
.icon-btn--sm .ico { width: 16px; height: 16px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 4px; color: var(--muted); font-size: 14px; font-weight: 500; }
.link-btn:hover, .link-btn.is-on { color: var(--primary); }
.link-btn .ico { width: 18px; height: 18px; }
.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
	background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--text-2);
	transition: all .2s;
}
.chip small { color: var(--muted); }
.chip:hover, .chip.is-active { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.chip-sm { padding: 5px 11px; font-size: 13px; }
.badge {
	display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
	font-size: 12px; font-weight: 700; line-height: 1.5;
}
.badge .ico { width: 13px; height: 13px; }
.badge-sale { background: var(--danger); color: #fff; }
.badge-new { background: var(--primary-soft); color: var(--primary); }
.badge-digital { background: var(--success-soft); color: var(--success-ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.pill .ico { width: 16px; height: 16px; }
.pill-digital { background: var(--success-soft); color: var(--success-ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em; opacity: .9; }
.eyebrow .ico { width: 16px; height: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pad { padding: 22px; }
.h-sm { font-size: 18px; margin-bottom: 14px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.row-between .h-sm { margin: 0; }

/* ---------- Top bar ---------- */
.topbar { background: #0e1325; color: #cbd2e6; font-size: 13px; }
html[data-theme="dark"] .topbar { background: #060912; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar__msg { display: flex; align-items: center; gap: 8px; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar__msg .ico { width: 16px; height: 16px; color: #67e8f9; }
.topbar__tools { display: flex; align-items: center; gap: 6px; }
.topbar__link, .lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; color: #cbd2e6; }
.topbar__link .ico, .lang-switch .ico { width: 15px; height: 15px; }
.topbar__link:hover, .lang-switch:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.lang-switch { border: 1px solid rgba(255, 255, 255, .16); font-weight: 600; }
.theme-toggle { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #fde68a; }
.theme-toggle .ico { width: 16px; height: 16px; }
.theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.theme-toggle .i-moon { color: #c7d2fe; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--border); }
.header__in { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; direction: ltr; flex: none; font-family: "Inter", var(--font); }
.logo-text b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo:hover { color: var(--text); }
.custom-logo { max-height: 46px; width: auto; }
.menu-btn { display: none; }
form.search { position: relative; flex: 1; display: flex; align-items: center; max-width: 640px; margin-inline: auto; }
.search__ico { position: absolute; inset-inline-start: 14px; color: var(--muted); pointer-events: none; }
.search__input {
	width: 100%; height: 48px; padding-inline: 44px 104px; border-radius: 14px;
	border: 1.5px solid var(--border); background: var(--surface-2); outline: 0; transition: border-color .2s, background .2s, box-shadow .2s;
}
.search__input:focus { border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px var(--primary-soft); }
.search__btn { position: absolute; inset-inline-end: 5px; height: 38px; padding-inline: 18px; border: 0; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 600; }
.search__results {
	position: absolute; top: calc(100% + 8px); inset-inline: 0; background: var(--surface); border: 1px solid var(--border);
	border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 100; max-height: 70vh; overflow: auto;
}
.sr-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; }
.sr-item:hover, .sr-item.is-focus { background: var(--surface-2); color: var(--text); }
.sr-item img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; background: #fff; }
.sr-item__name { font-weight: 600; font-size: 14px; display: block; }
.sr-item__price { font-size: 13px; color: var(--primary); }
.sr-all { display: block; text-align: center; padding: 10px; font-weight: 600; color: var(--primary); border-top: 1px solid var(--border); margin-top: 6px; }
.sr-empty { padding: 14px; text-align: center; color: var(--muted); }
.header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.cart-count, .cmp-count {
	position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
	background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1;
	border: 2px solid var(--surface);
}
.cart-count[data-n="0"] { display: none; }
.cmp-count { background: var(--primary-fill); }
.btn .cmp-count { position: static; border: 0; background: rgba(255, 255, 255, .25); }

/* Main navigation + mega menu */
.mainnav { border-top: 1px solid var(--border); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 7px; padding: 12px 13px; font-size: 14.5px; font-weight: 600; color: var(--text-2); border-radius: 10px; }
.nav-link .ico { width: 18px; height: 18px; color: var(--muted); }
.nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link { color: var(--primary); }
.nav-item:hover > .nav-link .ico { color: var(--primary); }
.nav-item.is-hot .nav-link { color: var(--accent-ink); }
.nav-item.is-hot .nav-link .ico { color: var(--accent-ink); }
.mega {
	position: absolute; top: 100%; inset-inline-start: 0; z-index: 95; min-width: 760px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 22px;
	padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.mega--sm { min-width: 340px; display: block; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__title { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.mega__brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega__brands a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.mega__brands a:hover { background: var(--surface-2); }
.mega__list { list-style: none; padding: 0; margin: 0 0 16px; }
.mega__list a { display: block; padding: 6px 0; font-size: 14px; color: var(--text-2); }
.mega__list a:hover { color: var(--primary); }
.mega__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--primary); }
.mega__more .ico { width: 16px; height: 16px; }
.mega__promo { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 20px; border-radius: 16px; background: linear-gradient(150deg, var(--gini), #065f46); color: #fff; min-height: 200px; }
.mega__promo .ico { width: 34px; height: 34px; margin-bottom: auto; opacity: .9; }
.mega__promo strong { font-size: 18px; }
.mega__promo span { font-size: 13px; opacity: .85; }
.mega__promo:hover { color: #fff; }
.mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__grid a { display: block; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.mega__grid a:hover { background: var(--surface-2); }
.mega__note { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--success-soft); color: var(--success-ink); font-size: 13px; font-weight: 600; }
.mega__note .ico { width: 16px; height: 16px; }
.brand-ava { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; flex: none; }
.brand-ava img { width: 100%; height: 100%; object-fit: contain; padding: 3px; background: #fff; }
.brand-ava .mono { font-weight: 800; font-size: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: "Inter", var(--font); }
.brand-ava--sm { width: 24px; height: 24px; border-radius: 7px; }
.brand-ava--sm .mono { font-size: 12px; }
.brand-ava--lg { width: 64px; height: 64px; border-radius: 18px; }
.brand-ava--lg .mono { font-size: 28px; }

/* Drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(5, 8, 20, .55); backdrop-filter: blur(2px); }
.drawer__panel {
	position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(86vw, 360px); background: var(--surface);
	display: flex; flex-direction: column; overflow: auto; animation: drawerIn .25s ease;
}
[dir="rtl"] .drawer__panel { animation-name: drawerInR; }
@keyframes drawerIn { from { transform: translateX(-100%); } }
@keyframes drawerInR { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.mnav { list-style: none; margin: 0; padding: 10px; }
.mnav a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; font-weight: 600; }
.mnav a:hover { background: var(--surface-2); }
.mnav .ico { color: var(--primary); }
.mnav__label { margin: 8px 20px 6px; font-size: 12px; color: var(--muted); font-weight: 700; }
.mnav__brands { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.mnav__brands a { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 500; }
.drawer__foot { margin-top: auto; display: grid; gap: 8px; padding: 16px; border-top: 1px solid var(--border); }

/* ---------- Sections ---------- */
.site-main { min-height: 50vh; padding-bottom: 40px; }
.section { margin-top: 44px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-title { display: flex; align-items: center; gap: 10px; font-size: 24px; margin: 0; }
.section-title .ico { width: 26px; height: 26px; color: var(--primary); }
.section-sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.section-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; color: var(--primary); }
.section-more .ico { width: 16px; height: 16px; }
.tabs-pills { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); margin-inline-start: auto; }
.tabs-pills button { border: 0; background: transparent; padding: 7px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tabs-pills button.is-active { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .3s; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 2.2fr 1fr; gap: 16px; margin-top: 20px; }
.hero__slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 400px; background: #1e1b4b; }
.slides { display: flex; height: 100%; transition: transform .6s cubic-bezier(.22, .8, .25, 1); }
.slide { position: relative; flex: 0 0 100%; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 20px; padding: 40px 48px; color: #fff; min-height: 400px; overflow: hidden; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.tone-1::before { background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, .45), transparent 45%), linear-gradient(135deg, #1e1b4b, #4338ca 60%, #6d28d9); }
.tone-2::before { background: radial-gradient(circle at 20% 80%, rgba(16, 185, 129, .45), transparent 45%), linear-gradient(135deg, #042f2e, #0f766e 55%, #0891b2); }
.tone-3::before { background: radial-gradient(circle at 75% 30%, rgba(249, 115, 22, .5), transparent 45%), linear-gradient(135deg, #1c1917, #7c2d12 55%, #be123c); }
.tone-4::before { background: linear-gradient(135deg, #111827, #312e81); }
.slide.has-img::before { background: linear-gradient(90deg, rgba(6, 8, 20, .7), rgba(6, 8, 20, .1)); z-index: 1; }
[dir="rtl"] .slide.has-img::before { background: linear-gradient(270deg, rgba(6, 8, 20, .7), rgba(6, 8, 20, .1)); }
.slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.slide__content { position: relative; z-index: 2; max-width: 480px; }
.slide__eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.slide__title { font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.slide__sub { font-size: 16px; opacity: .85; margin-bottom: 14px; }
.slide__price { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.slide__price del { opacity: .6; font-size: 15px; font-weight: 500; }
.slide__price ins { text-decoration: none; }
.slide__price .woocommerce-Price-amount { color: #fff; }
.slide__media { position: relative; z-index: 1; display: grid; place-items: center; height: 100%; }
.slide__media img { max-height: 330px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); border-radius: 18px; background: #fff; padding: 10px; }
.slider__dots { position: absolute; bottom: 16px; inset-inline-start: 48px; z-index: 3; display: flex; gap: 6px; }
.slider__dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); transition: width .3s, background .3s; }
.slider__dots button.is-active { width: 26px; background: #fff; }
.slider__nav { position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.slider__nav:hover { background: rgba(255, 255, 255, .3); }
.slider__nav.prev { inset-inline-start: 12px; }
.slider__nav.next { inset-inline-end: 12px; }
.slider__nav.prev .ico { transform: scaleX(-1); }
[dir="rtl"] .slider__nav.prev .ico { transform: none; }
[dir="rtl"] .slider__nav.next .ico { transform: scaleX(-1); }
.hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.hero-promo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 22px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; min-height: 190px; }
.hero-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-promo > .ico { position: absolute; top: 20px; inset-inline-end: 20px; width: 64px; height: 64px; opacity: .25; stroke-width: 1.4; }
.hero-promo strong { font-size: 20px; }
.hero-promo span { opacity: .85; font-size: 14px; }
.hero-promo em { font-style: normal; font-weight: 700; font-size: 14px; margin-top: 8px; display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); align-self: flex-start; }
.hero-promo:hover { color: #fff; transform: translateY(-2px); }
.hero-promo { transition: transform .25s; }
.promo-inst { background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .25), transparent 40%), linear-gradient(140deg, #0f766e, #10b981); }
.promo-digital { background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .25), transparent 40%), linear-gradient(140deg, #7c3aed, #db2777); }

/* Category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; margin-top: 24px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; font-weight: 600; font-size: 14px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.cat-tile__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; }
.cat-tile__ico .ico { width: 28px; height: 28px; }
.c1 .cat-tile__ico { background: #eef0ff; color: #4f46e5; }
.c2 .cat-tile__ico { background: #e0f7fb; color: #0891b2; }
.c3 .cat-tile__ico { background: #f5e9ff; color: #9333ea; }
.c4 .cat-tile__ico { background: #ffeef4; color: #e11d48; }
.c5 .cat-tile__ico { background: #fff6e0; color: #d97706; }
.c6 .cat-tile__ico { background: #e7f8f1; color: #059669; }
.c7 .cat-tile__ico { background: #fff1e6; color: #ea580c; }
.c8 .cat-tile__ico { background: #eef2f7; color: #334155; }
html[data-theme="dark"] .cat-tile__ico { background: var(--surface-2) !important; }

/* Brand strip */
.brand-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.brand-chip { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; transition: all .2s; }
.brand-chip:hover { border-color: var(--primary); box-shadow: var(--shadow); color: var(--text); }
.brand-chip .brand-ava { width: 52px; height: 52px; border-radius: 14px; }
.brand-chip .brand-ava .mono { font-size: 22px; }
.brand-chip__name { font-weight: 700; font-size: 14px; }
.brand-chip small { color: var(--muted); font-size: 12px; }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.p-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.p-rail > * { scroll-snap-align: start; }
.p-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; min-width: 0; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.p-card__media { position: relative; background: #fff; aspect-ratio: 1 / 1; border-bottom: 1px solid var(--border); }
html[data-theme="dark"] .p-card__media { background: #f4f5f9; }
.p-card__img { display: grid; place-items: center; width: 100%; height: 100%; padding: 14px; }
.p-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.p-card:hover .p-card__img img { transform: scale(1.05); }
.p-card__badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.p-card__cmp { position: absolute; top: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid #e5e7eb; background: rgba(255, 255, 255, .92); color: #475569; display: grid; place-items: center; opacity: 0; transition: opacity .2s, background .2s, color .2s; }
.p-card__cmp .ico { width: 18px; height: 18px; }
.p-card:hover .p-card__cmp, .p-card__cmp.is-on { opacity: 1; }
.p-card__cmp.is-on { background: var(--primary-fill); color: #fff; border-color: var(--primary-fill); }
.p-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.p-card__brand { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .03em; }
.p-card__title { font-size: 15px; font-weight: 600; margin: 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.p-card__chips { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.p-card__chips li { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 8px; background: var(--surface-2); font-size: 12px; color: var(--text-2); max-width: 100%; }
.p-card__chips li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-card__chips .ico { width: 13px; height: 13px; color: var(--muted); }
.p-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.p-card__price { font-weight: 800; font-size: 16.5px; color: var(--text); line-height: 1.3; }
.p-card__price del { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.p-card__price ins { text-decoration: none; color: var(--danger); }
.p-card__add { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); transition: all .2s; }
.p-card__add:hover { background: var(--primary-fill); color: #fff; }
.p-card__add .ico { width: 20px; height: 20px; }
.p-card__add.loading { opacity: .6; pointer-events: none; }
.p-card__add.added { background: var(--success); color: #fff; }
.p-card .added_to_cart { display: none; }
.p-card__inst { display: flex; align-items: center; gap: 6px; margin-top: 4px; padding: 7px 10px; border-radius: 10px; background: color-mix(in srgb, var(--gini) 10%, transparent); color: var(--gini-ink); font-size: 12.5px; font-weight: 600; }
.p-card__inst .ico { width: 16px; height: 16px; }
.p-card__inst:hover { background: var(--gini); color: #fff; }
.p-card__inst.is-muted { background: var(--surface-2); color: var(--muted); }
.p-card.is-oos .p-card__img img { opacity: .5; }

/* Deals */
.deals { background: linear-gradient(135deg, #fff7ed, #ffe4e6); border-radius: var(--radius-lg); padding: 24px; border: 1px solid #fed7aa; }
html[data-theme="dark"] .deals { background: linear-gradient(135deg, #2a1709, #2b0f19); border-color: #4a2a12; }
.deals__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.deals__head .section-title .ico { color: var(--accent-ink); }
.deals__head .section-more { margin-inline-start: auto; }
.countdown { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 18px; direction: ltr; font-family: "Inter", var(--font); color: var(--danger); }
.countdown span { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 10px; background: var(--danger); color: #fff; font-variant-numeric: tabular-nums; }
.countdown--lg span { min-width: 56px; height: 56px; font-size: 24px; border-radius: 14px; }

/* Budget */
.budget__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.budget__item { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 22px; border-radius: var(--radius); color: #fff; overflow: hidden; font-weight: 800; font-size: 19px; transition: transform .2s; }
.budget__item small { font-weight: 500; font-size: 13px; opacity: .8; }
.budget__item .ico { position: absolute; bottom: 18px; inset-inline-end: 18px; opacity: .8; }
.budget__item:hover { color: #fff; transform: translateY(-3px); }
.b0 { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.b1 { background: linear-gradient(135deg, #10b981, #0d9488); }
.b2 { background: linear-gradient(135deg, #8b5cf6, #d946ef); }
.b3 { background: linear-gradient(135deg, #f97316, #e11d48); }

/* Installment banner */
.inst-banner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; padding: 34px 40px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(circle at 10% 110%, rgba(16, 185, 129, .55), transparent 40%), linear-gradient(135deg, #042f2e, #0f766e); overflow: hidden; }
.inst-banner h2 { font-size: clamp(22px, 2.6vw, 32px); margin: 8px 0; }
.inst-banner p { opacity: .85; }
.inst-banner__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.inst-banner__steps li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); font-weight: 600; }
.inst-banner__steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #0f766e; }

/* Digital cards */
.digital__cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.dcard { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); color: #fff; min-height: 128px; overflow: hidden; transition: transform .2s; }
.dcard:hover { color: #fff; transform: translateY(-3px); }
.dcard__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .18); }
.dcard__name { font-weight: 700; font-size: 15px; margin-top: auto; }
.dcard__tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; opacity: .85; }
.dcard__tag .ico { width: 13px; height: 13px; }
.dcard::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .08); top: -40px; inset-inline-end: -40px; }
.d0 { background: linear-gradient(135deg, #1d4ed8, #0b1f6b); }
.d1 { background: linear-gradient(135deg, #15803d, #064e3b); }
.d2 { background: linear-gradient(135deg, #334155, #0f172a); }
.d3 { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.d4 { background: linear-gradient(135deg, #f59e0b, #b45309); }
.d5 { background: linear-gradient(135deg, #ef4444, #9f1239); }
.d6 { background: linear-gradient(135deg, #1e293b, #4338ca); }
.d7 { background: linear-gradient(135deg, #db2777, #7c3aed); }

.wide-ad, .tera-ad { display: block; border-radius: var(--radius); overflow: hidden; }
.wide-ad img, .tera-ad img { width: 100%; }
.shop-ad { margin-bottom: 20px; }
.ad-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cta-compare__in { display: flex; align-items: center; gap: 20px; padding: 28px 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px dashed color-mix(in srgb, var(--primary) 50%, var(--border)); }
.cta-compare__in > .ico { width: 54px; height: 54px; padding: 12px; border-radius: 16px; background: var(--primary-soft); color: var(--primary); }
.cta-compare__in h2 { font-size: 20px; margin-bottom: 4px; }
.cta-compare__in p { margin: 0; color: var(--muted); }
.cta-compare__in .btn { margin-inline-start: auto; }

/* Trust */
.trust { margin-top: 56px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 26px; }
.trust__item { display: flex; align-items: center; gap: 14px; }
.trust__item > .ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); }
.trust__item strong { display: block; font-size: 15px; }
.trust__item span { font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #0b1020; color: #b6bfd4; padding-top: 48px; }
html[data-theme="dark"] .site-footer { background: #05080f; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.footer__brand p { font-size: 14px; line-height: 1.8; }
.footer__title { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer__links, .footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact .ico { width: 17px; height: 17px; color: #67e8f9; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); font-size: 13px; }
.social-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.footer__bottom { margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.pay-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.pay-chips li { padding: 5px 11px; border-radius: 8px; background: rgba(255, 255, 255, .07); font-size: 12px; font-weight: 600; color: #dbe2f1; }
.copy { margin: 0; font-size: 13px; }
.copy a:hover { color: #fff; }

/* Bottom bar (mobile) */
.bottombar { display: none; }
.fab-stack { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fab-wa { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #22c55e; color: #fff; box-shadow: 0 12px 28px -8px rgba(34, 197, 94, .7); }
.fab-wa .ico { width: 28px; height: 28px; }
.fab-wa:hover { color: #fff; transform: scale(1.05); }

/* Compare bar */
.cmp-bar { position: fixed; bottom: 0; inset-inline: 0; z-index: 85; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px -12px rgba(15, 23, 42, .25); animation: up .25s; }
@keyframes up { from { transform: translateY(100%); } }
.cmp-bar__in { display: flex; align-items: center; gap: 14px; padding-block: 10px; }
.cmp-bar__items { display: flex; gap: 8px; flex: 1; overflow-x: auto; }
.cmp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; font-weight: 600; white-space: nowrap; }
[dir="rtl"] .cmp-pill { padding: 5px 12px 5px 6px; }
.cmp-pill button { border: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; padding: 0; }
.cmp-pill button .ico { width: 13px; height: 13px; }
.cmp-bar__actions { display: flex; gap: 8px; flex: none; }
body.has-cmp .fab-stack { bottom: 86px; }

.toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); z-index: 300; padding: 11px 18px; border-radius: 12px; background: #0e1325; color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); animation: up .2s; }

/* ---------- Breadcrumb & archive ---------- */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding-block: 16px; font-size: 13.5px; color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: .6; }
.archive-hero { display: flex; align-items: center; gap: 18px; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); margin-bottom: 16px; position: relative; overflow: hidden; }
.archive-hero::after { content: ""; position: absolute; inset-inline-end: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--grad); opacity: .1; }
.archive-hero.is-digital::after { background: linear-gradient(135deg, #10b981, #7c3aed); opacity: .16; }
.archive-hero .pill { margin-inline-start: auto; position: relative; z-index: 1; }
.archive-hero__link { margin-inline-start: auto; position: relative; z-index: 1; flex: none; }
.archive-title { font-size: 28px; margin: 0; }
.archive-desc { margin: 6px 0 0; color: var(--muted); }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 24px; align-items: start; }
.shop-filters { position: sticky; top: calc(var(--header-h) + 64px); }
.filters-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters-head strong { display: flex; align-items: center; gap: 8px; }
.filter-box { border: 0; border-top: 1px solid var(--border); padding: 14px 0 6px; margin: 0; }
.filter-box legend { font-weight: 700; font-size: 14px; padding: 0; margin-bottom: 10px; float: inline-start; width: 100%; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; clear: both; }
.price-inputs input, .woocommerce-ordering select { width: 100%; height: 40px; padding-inline: 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.check-list { display: grid; gap: 2px; max-height: 260px; overflow: auto; clear: both; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 8px; cursor: pointer; font-size: 14px; clear: both; }
.check:hover { background: var(--surface-2); }
.check input { width: 17px; height: 17px; accent-color: var(--primary); }
.check small { margin-inline-start: auto; color: var(--muted); }
.filters-actions { display: grid; gap: 8px; margin-top: 12px; }
.shop-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.woocommerce-result-count { margin: 0; color: var(--muted); font-size: 14px; }
.woocommerce-ordering { margin: 0 0 0 auto; margin-inline-start: auto; margin-inline-end: 0; }
.woocommerce-ordering select { width: auto; min-width: 200px; }
.shop-main .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce-pagination { margin-top: 28px; }
.woocommerce-pagination ul { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 0; margin: 0; border: 0 !important; }
.woocommerce-pagination li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; }
.woocommerce-pagination .current { background: var(--primary-fill); color: #fff; border-color: var(--primary-fill); }
.hide-lg { display: none; }
.empty-state { text-align: center; padding: 50px 20px; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius-lg); }
.empty-state > .ico { width: 54px; height: 54px; padding: 12px; border-radius: 16px; background: var(--primary-soft); color: var(--primary); margin: 0 auto 14px; }
.empty-state p { color: var(--muted); }
.big-num { display: block; font-size: 96px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: "Inter", var(--font); }

/* ---------- Single product ---------- */
.pp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.pp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; padding: 24px; }
.pp-gallery__main { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.pp-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: opacity .2s; }
.pp-gallery__badge { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; font-size: 14px; padding: 5px 12px; }
.pp-gallery__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: none; width: 70px; height: 70px; padding: 4px; border-radius: 12px; border: 2px solid var(--border); background: #fff; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-active { border-color: var(--primary); }
.pp-meta-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pp-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); font-size: 14px; }
.pp-title { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.pp-sub { display: flex; align-items: center; gap: 14px; font-size: 13.5px; margin-bottom: 16px; flex-wrap: wrap; }
.pp-rating { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); }
.pp-rating .ico { width: 16px; height: 16px; fill: currentColor; }
.pp-rating b { color: var(--text); }
.key-specs { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.key-specs li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--surface-2); min-width: 0; }
.key-specs__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface); color: var(--primary); flex: none; box-shadow: var(--shadow-sm); }
.key-specs__ico .ico { width: 19px; height: 19px; }
.key-specs__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.key-specs__txt small { color: var(--muted); font-size: 12px; }
.key-specs__txt b { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.pp-short { color: var(--text-2); margin-bottom: 16px; }
.price-box { padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, var(--surface), var(--surface-2)); margin-bottom: 16px; }
.price-box__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-box__price { font-size: 28px; font-weight: 800; line-height: 1.2; }
.price-box__price del { font-size: 16px; color: var(--muted); font-weight: 500; margin-inline-end: 6px; }
.price-box__price ins { text-decoration: none; color: var(--danger); }
.save-tag { padding: 4px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 13px; }
.price-box__stock { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 600; }
.price-box__stock .ico { width: 17px; height: 17px; }
.price-box__stock.in { color: var(--success-ink); }
.price-box__stock.out { color: var(--danger); }
.delivery-line { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 13.5px; color: var(--text-2); }
.delivery-line .ico { width: 18px; height: 18px; color: var(--primary); }
.delivery-line.is-digital .ico { color: var(--success-ink); }
.delivery-line.is-abroad { color: var(--accent-ink); font-weight: 600; }
.delivery-line.is-abroad .ico { color: var(--accent-ink); }
.pp-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-cta .btn:only-child { grid-column: 1 / -1; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }

.pp-tabs { position: sticky; top: calc(var(--header-h) + 52px); z-index: 50; display: flex; gap: 4px; margin: 18px 0; padding: 6px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow-x: auto; }
.pp-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 11px; font-weight: 600; font-size: 14.5px; color: var(--muted); white-space: nowrap; transition: all .2s; }
.pp-tabs a .ico { width: 18px; height: 18px; }
.pp-tabs a:hover { color: var(--text); background: var(--surface-2); }
.pp-tabs a.is-active { background: var(--primary-soft); color: var(--primary); }
.pp-tabs a.tab-buy { margin-inline-start: auto; background: var(--grad); color: #fff; }
.pp-tabs a.tab-buy.is-active { box-shadow: 0 0 0 3px var(--primary-soft); }
.pp-panel { display: none; }
.pp-panel.is-active { display: grid; gap: 16px; animation: fade .3s; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.highlights li { display: flex; gap: 8px; align-items: flex-start; }
.highlights .ico { width: 20px; height: 20px; color: var(--success-ink); margin-top: 2px; }
.prose { font-size: 15.5px; line-height: 1.9; color: var(--text-2); }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.2em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose a { color: var(--primary); text-decoration: underline; }
.spec-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.spec-groups { display: grid; gap: 14px; margin-bottom: 14px; }
.spec-group { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; scroll-margin-top: 150px; }
.spec-group__title { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 16px; font-size: 15px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.spec-group__title .ico { color: var(--primary); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { padding: 11px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--border); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 36%; color: var(--muted); font-weight: 500; }
.spec-table td { font-weight: 500; }
.card > .spec-table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.buy-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: start; }
.buy-box__head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.buy-box__head img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--border); padding: 4px; }
.buy-box__head strong { display: block; font-size: 16px; margin-bottom: 2px; }
.buy-box__head .price-box__price { font-size: 22px; }
.buy-box form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 0; }
.buy-box .quantity { display: flex; }
.buy-box .quantity input.qty { width: 80px; height: 50px; text-align: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); font-weight: 700; }
.buy-box button.single_add_to_cart_button, .woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce #respond input#submit.alt, .woocommerce input.button.alt {
	flex: 1; min-height: 50px; border: 0; border-radius: 12px; background: var(--grad) !important; color: #fff !important; font-weight: 700; font-size: 16px; padding: 12px 22px;
}
.buy-box .variations { width: 100%; margin-bottom: 10px; border: 0; }
.buy-box .variations th, .buy-box .variations td { display: block; padding: 4px 0; text-align: start; }
.buy-box .variations select { width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); padding-inline: 10px; }
.buy-box .single_variation_wrap { width: 100%; }
.buy-box .woocommerce-variation-add-to-cart { display: flex; gap: 10px; }
.buy-box .stock { margin: 0 0 8px; font-weight: 600; }
.pay-options { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.pay-opt strong { display: block; margin-bottom: 2px; }
.pay-opt p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.pay-opt p:last-child { margin: 0; }
.pay-opt__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); flex: none; }
.pay-opt--gini { border-color: color-mix(in srgb, var(--gini) 45%, var(--border)); background: color-mix(in srgb, var(--gini) 6%, var(--surface)); }
.pay-opt--gini .pay-opt__ico { background: var(--gini); color: #fff; }

/* Product aside */
.pp-aside { position: sticky; top: calc(var(--header-h) + 60px); display: grid; gap: 14px; }
.side-ad img { border-radius: var(--radius); }
.side-box { padding: 14px; }
.side-box__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.side-box__head h3 { font-size: 15px; margin: 0; }
.vslider__nav { display: flex; gap: 4px; }
.vslider { list-style: none; margin: 0; padding: 0; max-height: 296px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.vslider::-webkit-scrollbar { display: none; }
.vslider li { scroll-snap-align: start; }
.mini-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.mini-item:hover { background: var(--surface-2); color: var(--text); }
.mini-item img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--border); padding: 3px; flex: none; }
.mini-item__txt { display: flex; flex-direction: column; min-width: 0; }
.mini-item__name { font-size: 13.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-item__price { font-size: 13px; font-weight: 700; color: var(--primary); }
.mini-item__price del { color: var(--muted); font-weight: 400; font-size: 12px; }
.mini-item__price ins { text-decoration: none; }
.side-box__more { display: block; text-align: center; margin-top: 6px; padding: 8px; border-radius: 10px; background: var(--surface-2); font-size: 13px; font-weight: 600; }
.side-promo { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius); background: var(--grad); color: #fff; }
.side-promo:hover { color: #fff; }
.side-promo .ico { width: 34px; height: 34px; }
.side-promo strong { display: block; }
.side-promo small { opacity: .85; }
.buybar { display: none; }

/* ---------- Compare ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: start; vertical-align: top; }
.compare-table tbody th { width: 200px; color: var(--muted); font-weight: 500; position: sticky; inset-inline-start: 0; background: var(--surface); }
.compare-table thead th { position: sticky; top: 0; background: var(--surface); vertical-align: bottom; }
.compare-corner { font-size: 16px; }
.compare-head { position: relative; display: grid; gap: 6px; justify-items: center; text-align: center; }
.compare-head img { width: 120px; height: 120px; object-fit: contain; background: #fff; border-radius: 12px; }
.compare-head strong { font-size: 14px; }
.compare-head .price { font-weight: 800; color: var(--primary); }
.compare-remove { position: absolute; top: 0; inset-inline-end: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; padding: 0; }
.compare-remove .ico { width: 14px; height: 14px; }
.compare-group th { background: var(--surface-2) !important; color: var(--text) !important; font-weight: 700 !important; }
.compare-group th .ico { width: 18px; height: 18px; color: var(--primary); vertical-align: -4px; margin-inline-end: 8px; }

/* ---------- Pages ---------- */
.page-wrap { padding-top: 26px; }
.page-wrap.narrow { max-width: 900px; }
.page-head { margin-bottom: 20px; }
.page-head--center { text-align: center; }
.page-title { display: flex; align-items: center; gap: 10px; font-size: 30px; }
.page-head--center .page-title { justify-content: center; }
.page-title .ico { width: 30px; height: 30px; color: var(--primary); }
.brands-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand-search { position: relative; display: flex; align-items: center; min-width: 300px; }
.brand-search .ico { position: absolute; inset-inline-start: 12px; color: var(--muted); }
.brand-search input { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); padding-inline: 40px 12px; }
.az-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.brand-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 24px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: all .25s; }
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.brand-card__name { font-weight: 800; font-size: 17px; margin-top: 6px; }
.brand-card__count { font-size: 13px; color: var(--muted); }
.brand-card__latest { font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.brand-card__go { position: absolute; top: 12px; inset-inline-end: 12px; color: var(--muted); opacity: 0; transition: opacity .2s; }
.brand-card:hover .brand-card__go { opacity: 1; color: var(--primary); }
.offers-hero, .digital-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 34px 36px; border-radius: var(--radius-lg); color: #fff; margin-bottom: 22px; flex-wrap: wrap; }
.offers-hero { background: radial-gradient(circle at 90% 0, rgba(255, 255, 255, .2), transparent 40%), linear-gradient(135deg, #ea580c, #e11d48); }
.offers-hero .countdown span { background: rgba(255, 255, 255, .2); }
.offers-hero .countdown { color: #fff; }
.digital-hero { background: radial-gradient(circle at 90% 0, rgba(255, 255, 255, .2), transparent 40%), linear-gradient(135deg, #4c1d95, #7c3aed 50%, #db2777); }
.offers-hero h1, .digital-hero h1 { font-size: clamp(26px, 3vw, 38px); margin: 6px 0; }
.offers-hero p, .digital-hero p { opacity: .9; max-width: 620px; margin: 0; }
.digital-hero .pill-digital { background: rgba(255, 255, 255, .18); color: #fff; }
.digital-hero__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.digital-hero__points li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .14); font-weight: 600; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--surface-2); }
.steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-fill); color: #fff; flex: none; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 20px; }
.contact-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.contact-card .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.contact-card span { color: var(--muted); font-size: 14px; }

/* ---------- WooCommerce generic (cart, checkout, account, notices) ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	list-style: none; margin: 0 0 16px; padding: 14px 18px !important; border-radius: 12px; border: 1px solid var(--border) !important; background: var(--surface) !important; color: var(--text) !important; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-message { border-inline-start: 4px solid var(--success) !important; }
.woocommerce-info { border-inline-start: 4px solid var(--primary) !important; }
.woocommerce-error { border-inline-start: 4px solid var(--danger) !important; }
.woocommerce-message .button, .woocommerce-info .button { margin-inline-start: auto; order: 2; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button:not(.is-link) {
	border-radius: 12px !important; background: var(--surface-2) !important; color: var(--text) !important; border: 1px solid var(--border) !important; font-weight: 600 !important; padding: 10px 18px !important;
}
.wc-block-components-button.contained, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--grad) !important; color: #fff !important; border: 0 !important; }
.wc-page { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	background: var(--surface-2) !important; color: var(--text) !important; border-color: var(--border) !important; border-radius: 10px !important;
}
.wc-block-components-text-input label, .wc-block-components-combobox label { color: var(--muted) !important; }
.wc-block-components-sidebar, .wc-block-components-totals-wrapper { border-color: var(--border) !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
#reviews .commentlist { list-style: none; padding: 0; }
#reviews .comment_container { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
#reviews .comment_container img { width: 44px; height: 44px; border-radius: 50%; }
#review_form input[type="text"], #review_form input[type="email"], #review_form textarea { width: 100%; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); padding: 10px; }
#review_form .form-submit input { background: var(--grad); color: #fff; border: 0; border-radius: 12px; padding: 12px 22px; font-weight: 700; }
.star-rating { color: var(--gold); }
.woocommerce-Price-currencySymbol { font-size: .78em; font-weight: 600; margin-inline-start: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.p-rail { grid-auto-columns: calc((100% - 32px) / 3); }
	.cat-tiles { grid-template-columns: repeat(4, 1fr); }
	.pp-layout { grid-template-columns: minmax(0, 1fr); }
	.pp-aside { position: static; grid-template-columns: repeat(2, 1fr); }
	.mega { min-width: 640px; }
}
@media (max-width: 1024px) {
	.nav-link span { font-size: 13.5px; }
	.nav-link { padding: 12px 9px; }
	.hero { grid-template-columns: 1fr; }
	.hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
	.shop-layout { grid-template-columns: 1fr; }
	.hide-lg { display: inline-flex; }
	.shop-filters { position: fixed; inset: 0; z-index: 210; background: rgba(5, 8, 20, .55); display: none; top: 0; }
	.shop-filters.is-open { display: block; }
	.shop-filters .filters-form { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(88vw, 360px); border-radius: 0; overflow: auto; }
	.pp-hero { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.trust__grid { grid-template-columns: 1fr 1fr; }
	.digital__cats { grid-template-columns: repeat(2, 1fr); }
	.budget__grid { grid-template-columns: 1fr 1fr; }
	.inst-banner { grid-template-columns: 1fr; }
	.buy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	:root { --header-h: 64px; }
	.mainnav { display: none; }
	.menu-btn { display: inline-grid; }
	.header__in { gap: 10px; flex-wrap: wrap; height: auto; padding-block: 10px; }
	form.search { order: 3; flex-basis: 100%; max-width: none; }
	.header__actions { margin-inline-start: auto; }
	.hide-sm { display: none !important; }
	.bottombar { position: fixed; bottom: 0; inset-inline: 0; z-index: 88; display: grid; grid-template-columns: repeat(5, 1fr); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
	.bottombar a, .bottombar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; border: 0; background: none; font-size: 11px; font-weight: 600; color: var(--muted); }
	.bottombar .is-active { color: var(--primary); }
	.bottombar .cart-count { top: 2px; inset-inline-end: calc(50% - 22px); }
	body { padding-bottom: 66px; }
	.fab-stack { bottom: 80px; gap: 10px; }
	.fab-wa { width: 48px; height: 48px; }
	.cmp-bar { bottom: 62px; }
	body.has-cmp .fab-stack { bottom: 144px; }
	.pp-tabs { top: 120px; }
	.buybar { position: fixed; bottom: 62px; inset-inline: 0; z-index: 87; display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -12px rgba(15, 23, 42, .3); }
	.buybar__price { font-weight: 800; font-size: 16px; margin-inline-end: auto; }
	.buybar__price del { display: none; }
	.buybar__price ins { text-decoration: none; }
	.single-product .fab-stack { bottom: 140px; }
	.single-product .cmp-bar { bottom: 124px; }
}
@media (max-width: 720px) {
	.container { padding-inline: 14px; }
	.p-grid, .shop-main .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.p-rail { grid-auto-columns: 46%; gap: 10px; }
	.p-card__body { padding: 10px; }
	.p-card__title { font-size: 13.5px; }
	.p-card__price { font-size: 14.5px; }
	.p-card__add { width: 36px; height: 36px; }
	.p-card__chips li:nth-child(n+3) { display: none; }
	.p-card__cmp { opacity: 1; width: 30px; height: 30px; }
	.cat-tiles { grid-template-columns: repeat(4, 1fr); gap: 8px; }
	.cat-tile { padding: 12px 4px; font-size: 12px; }
	.cat-tile__ico { width: 44px; height: 44px; border-radius: 13px; }
	.slide { grid-template-columns: 1fr; padding: 28px 24px 46px; min-height: 360px; }
	.slide__media { position: absolute; inset-inline-end: -30px; bottom: -20px; opacity: .35; height: auto; }
	.slide__media img { max-height: 220px; }
	.slider__dots { inset-inline-start: 24px; }
	.slider__nav { display: none; }
	.hero__side { grid-template-columns: 1fr; }
	.hero-promo { min-height: 140px; }
	.section { margin-top: 32px; }
	.section-title { font-size: 20px; }
	.tabs-pills { order: 3; margin-inline-start: 0; width: 100%; overflow-x: auto; }
	.deals { padding: 16px; }
	.trust__grid, .footer__grid { grid-template-columns: 1fr; }
	.key-specs { grid-template-columns: 1fr 1fr; }
	.highlights { grid-template-columns: 1fr; }
	.pp-hero { padding: 14px; }
	.pp-cta { grid-template-columns: 1fr; }
	.pp-aside { grid-template-columns: 1fr; }
	.ad-pair { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.cta-compare__in { flex-direction: column; text-align: center; }
	.cta-compare__in .btn { margin-inline-start: 0; }
	.spec-table th { width: 42%; }
	.brand-search { min-width: 0; width: 100%; }
	.archive-hero { padding: 18px; flex-wrap: wrap; }
	.archive-title { font-size: 22px; }
	.woocommerce-ordering select { min-width: 0; }
	.topbar__msg span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Mixed Arabic/Latin values: let each value pick its own direction. */
.spec-table td, .compare-table td, .p-card__chips span, .key-specs__txt b, .mini-item__name, .p-card__title, .pp-title, .sr-item__name { unicode-bidi: plaintext; }
[dir="rtl"] .spec-table td, [dir="rtl"] .compare-table td { text-align: right; }
[dir="ltr"] .spec-table td, [dir="ltr"] .compare-table td { text-align: left; }
[dir="rtl"] .key-specs__txt b, [dir="rtl"] .p-card__title, [dir="rtl"] .mini-item__name { text-align: right; }
/* No horizontal scroll in RTL */
html, body { overflow-x: clip; }
.skip-link { position: absolute; top: -200px; inset-inline-start: 12px; inset-inline-end: auto; }
.skip-link:focus { top: 12px; }
.mega { max-width: calc(100vw - 32px); }
.nav-item:nth-last-child(-n+3) .mega { inset-inline-start: auto; inset-inline-end: 0; }

/* ---- v1.0.3: images of any size/aspect stay inside fixed square frames ---- */
.pp-gallery__main { display: block; min-height: 0; }
.pp-gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center; padding: 20px; box-sizing: border-box; }
.pp-gallery__badge { z-index: 3; }
.pp-gallery { min-width: 0; }
.pp-gallery__thumbs { scrollbar-width: thin; }
.thumb { overflow: hidden; }
.p-card__media { overflow: hidden; }
.p-card__img { position: absolute; inset: 0; display: block; padding: 0; }
.p-card__img img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); max-width: none; object-fit: contain; }
.pp-summary, .pp-main, .pp-aside { min-width: 0; }
@media (max-width: 640px) { .pp-gallery__main img { padding: 12px; } }
.p-card__badges, .p-card__cmp { z-index: 2; }

/* ==========================================================================
   v1.0.4 — Dark mode audit: form controls & WooCommerce components
   ========================================================================== */
html[data-theme="dark"] {
	--wc-form-color-background: var(--surface-2);
	--wc-form-color-text: var(--text);
	--wc-form-border-color: var(--border);
	--wc-form-border-width: 1px;
	--wc-form-border-radius: 10px;
}
/* Native fields: never white-on-white */
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="range"]):not([type="color"]):not([type="image"]) {
	background-color: var(--surface-2) !important;
	color: var(--text) !important;
	border-color: var(--border) !important;
}
html[data-theme="dark"] .search-form input { background-color: transparent !important; border-color: transparent !important; }
html[data-theme="dark"] select option,
html[data-theme="dark"] select optgroup { background-color: var(--surface) !important; color: var(--text) !important; }
html[data-theme="dark"] ::placeholder { color: var(--muted) !important; opacity: 1; }
html[data-theme="dark"] input:-webkit-autofill,
html[data-theme="dark"] input:-webkit-autofill:hover,
html[data-theme="dark"] input:-webkit-autofill:focus,
html[data-theme="dark"] textarea:-webkit-autofill,
html[data-theme="dark"] select:-webkit-autofill {
	-webkit-text-fill-color: var(--text) !important;
	-webkit-box-shadow: 0 0 0 1000px var(--surface-2) inset !important;
	caret-color: var(--text);
}
/* Select arrow stays visible on dark background */
html[data-theme="dark"] .buy-box .variations select,
html[data-theme="dark"] .woocommerce div.product form.cart .variations select,
html[data-theme="dark"] .woocommerce-ordering select,
html[data-theme="dark"] .woocommerce form .form-row select {
	-webkit-appearance: none; appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c4cbdb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: left 12px center !important;
	background-size: 14px !important;
	padding-inline-end: 34px !important;
}
html[dir="ltr"][data-theme="dark"] .buy-box .variations select,
html[dir="ltr"][data-theme="dark"] .woocommerce div.product form.cart .variations select,
html[dir="ltr"][data-theme="dark"] .woocommerce-ordering select,
html[dir="ltr"][data-theme="dark"] .woocommerce form .form-row select { background-position: right 12px center !important; }
/* Variation labels, price, stock, reset link */
html[data-theme="dark"] .woocommerce div.product form.cart .variations label,
html[data-theme="dark"] .buy-box .variations th { color: var(--text-2) !important; }
html[data-theme="dark"] .woocommerce div.product .stock.in-stock { color: #34d399 !important; }
html[data-theme="dark"] .woocommerce div.product .stock.out-of-stock { color: #fb7185 !important; }
html[data-theme="dark"] .reset_variations { color: var(--primary) !important; }
html[data-theme="dark"] .woocommerce .quantity .qty { background-color: var(--surface-2) !important; color: var(--text) !important; }

/* select2 / selectWoo (classic checkout country & state) */
html[data-theme="dark"] .select2-container--default .select2-selection--single,
html[data-theme="dark"] .select2-container--default .select2-selection--multiple { background-color: var(--surface-2) !important; border-color: var(--border) !important; }
html[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text) !important; }
html[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__arrow b { border-top-color: var(--text-2) !important; }
html[data-theme="dark"] .select2-dropdown { background-color: var(--surface) !important; border-color: var(--border) !important; color: var(--text) !important; }
html[data-theme="dark"] .select2-container--default .select2-results__option { color: var(--text) !important; }
html[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected],
html[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[data-selected] { background-color: var(--primary-600) !important; color: #fff !important; }
html[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected="true"],
html[data-theme="dark"] .select2-container--default .select2-results__option[data-selected="true"] { background-color: var(--surface-3) !important; }

/* WooCommerce Blocks: cart, checkout, mini-cart */
html[data-theme="dark"] .wc-block-components-text-input input,
html[data-theme="dark"] .wc-block-components-textarea,
html[data-theme="dark"] .wc-blocks-components-select .wc-blocks-components-select__container,
html[data-theme="dark"] .wc-blocks-components-select .wc-blocks-components-select__select,
html[data-theme="dark"] .wc-block-components-combobox .wc-block-components-combobox-control input,
html[data-theme="dark"] .wc-block-components-form .wc-block-components-text-input input { background-color: var(--surface-2) !important; color: var(--text) !important; border-color: var(--border) !important; }
html[data-theme="dark"] .wc-blocks-components-select .wc-blocks-components-select__label,
html[data-theme="dark"] .wc-block-components-text-input label,
html[data-theme="dark"] .wc-block-components-combobox .wc-block-components-combobox-control label { color: var(--muted) !important; background: transparent !important; }
html[data-theme="dark"] .wc-blocks-components-select__expand { fill: var(--text-2) !important; }
html[data-theme="dark"] .wc-block-components-combobox .components-form-token-field__suggestions-list,
html[data-theme="dark"] .wc-block-components-combobox-control .components-form-token-field__suggestions-list { background-color: var(--surface) !important; color: var(--text) !important; border-color: var(--border) !important; }
html[data-theme="dark"] .components-form-token-field__suggestion.is-selected { background-color: var(--primary-600) !important; color: #fff !important; }
html[data-theme="dark"] .wc-block-components-quantity-selector { border-color: var(--border) !important; background: var(--surface-2) !important; }
html[data-theme="dark"] .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
html[data-theme="dark"] .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { background: transparent !important; color: var(--text) !important; }
html[data-theme="dark"] .wc-block-components-radio-control__input,
html[data-theme="dark"] .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { background-color: var(--surface-2) !important; border-color: var(--muted) !important; }
html[data-theme="dark"] .wc-block-components-radio-control__input:checked::before { background: var(--text) !important; }
html[data-theme="dark"] .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--text) !important; }
html[data-theme="dark"] .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
html[data-theme="dark"] .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option { box-shadow: inset 0 0 0 1px var(--border) !important; }
html[data-theme="dark"] .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
html[data-theme="dark"] .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--primary) !important; }
html[data-theme="dark"] .wc-block-components-notice-banner { background-color: var(--surface-2) !important; color: var(--text) !important; border-color: var(--border) !important; }
html[data-theme="dark"] .wc-block-components-notice-banner.is-error { border-color: #fb7185 !important; }
html[data-theme="dark"] .wc-block-components-notice-banner.is-success { border-color: #34d399 !important; }
html[data-theme="dark"] .wc-block-components-notice-banner.is-info,
html[data-theme="dark"] .wc-block-components-notice-banner.is-warning { border-color: var(--gold) !important; }
html[data-theme="dark"] .wc-block-components-notice-banner > svg { fill: var(--text) !important; background-color: transparent !important; }
html[data-theme="dark"] .wc-block-mini-cart__drawer .components-modal__content,
html[data-theme="dark"] .wc-block-mini-cart__drawer .wc-block-mini-cart__footer,
html[data-theme="dark"] .wc-block-components-drawer,
html[data-theme="dark"] .wc-block-components-drawer__content { background-color: var(--surface) !important; color: var(--text) !important; }
html[data-theme="dark"] .wc-block-components-panel,
html[data-theme="dark"] .wc-block-components-totals-item,
html[data-theme="dark"] .wc-block-components-order-summary,
html[data-theme="dark"] .wc-block-components-totals-coupon,
html[data-theme="dark"] .wc-block-cart-items,
html[data-theme="dark"] .wc-block-components-address-card { border-color: var(--border) !important; color: var(--text) !important; background-color: transparent !important; }
html[data-theme="dark"] .wc-block-components-order-summary-item__quantity { background: var(--surface) !important; color: var(--text) !important; border-color: var(--border) !important; box-shadow: none !important; }
html[data-theme="dark"] .wc-block-components-formatted-money-amount,
html[data-theme="dark"] .wc-block-components-product-name,
html[data-theme="dark"] .wc-block-components-totals-item__label,
html[data-theme="dark"] .wc-block-components-title { color: var(--text) !important; }
html[data-theme="dark"] .wc-block-components-product-metadata,
html[data-theme="dark"] .wc-block-components-checkout-step__description { color: var(--muted) !important; }
html[data-theme="dark"] .wc-block-components-skeleton__element,
html[data-theme="dark"] .wc-block-components-loading-mask { background-color: var(--surface-2) !important; }

/* Classic WooCommerce tables, forms, account */
html[data-theme="dark"] .woocommerce table.shop_table,
html[data-theme="dark"] .woocommerce table.shop_table th,
html[data-theme="dark"] .woocommerce table.shop_table td,
html[data-theme="dark"] .woocommerce-cart .cart-collaterals .cart_totals table,
html[data-theme="dark"] .woocommerce table.my_account_orders,
html[data-theme="dark"] .woocommerce-checkout-review-order-table,
html[data-theme="dark"] .woocommerce form.login,
html[data-theme="dark"] .woocommerce form.register,
html[data-theme="dark"] .woocommerce form.checkout_coupon,
html[data-theme="dark"] .woocommerce-checkout #payment { border-color: var(--border) !important; color: var(--text) !important; }
html[data-theme="dark"] .woocommerce-checkout #payment,
html[data-theme="dark"] .woocommerce-checkout #payment div.payment_box { background: var(--surface-2) !important; color: var(--text-2) !important; }
html[data-theme="dark"] .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--surface-2) !important; }
html[data-theme="dark"] .woocommerce table.shop_table tbody th,
html[data-theme="dark"] .woocommerce table.shop_table tfoot td,
html[data-theme="dark"] .woocommerce table.shop_table tfoot th { border-color: var(--border) !important; }
html[data-theme="dark"] .woocommerce form .form-row label,
html[data-theme="dark"] .woocommerce-form__label { color: var(--text-2) !important; }
html[data-theme="dark"] .woocommerce form .form-row .required { color: #fb7185 !important; }
html[data-theme="dark"] .woocommerce-store-notice,
html[data-theme="dark"] p.demo_store { background: var(--primary-600) !important; color: #fff !important; }
html[data-theme="dark"] mark { background: var(--primary-soft); color: var(--text); padding: 0 4px; border-radius: 4px; }
html[data-theme="dark"] code, html[data-theme="dark"] pre, html[data-theme="dark"] kbd { background: var(--surface-2); color: var(--text); }
html[data-theme="dark"] fieldset { border-color: var(--border); }
html[data-theme="dark"] hr { border-color: var(--border); background-color: var(--border); }
html[data-theme="dark"] .woocommerce .star-rating::before { color: var(--surface-3) !important; }
html[data-theme="dark"] #review_form #respond { background: transparent !important; }
html[data-theme="dark"] .comment-form-rating .stars a { color: var(--gold) !important; }
html[data-theme="dark"] .woocommerce-pagination .current { color: #fff !important; }
html[data-theme="dark"] .woocommerce span.onsale { color: #fff !important; }

/* Light tinted boxes that keep inherited (light) text in dark mode */

/* ---------- Installments page (v1.0.4) ---------- */
.btn-ghost-light { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.inst-hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 36px 40px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(circle at 12% 110%, rgba(16, 185, 129, .55), transparent 45%), linear-gradient(135deg, #042f2e, #0f766e); overflow: hidden; }
.inst-hero h1 { margin: 10px 0 12px; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.3; color: #fff; }
.inst-hero p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.9; }
.inst-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.inst-hero__qr { justify-self: center; text-align: center; background: #fff; color: #0f172a; border-radius: 20px; padding: 16px 16px 12px; max-width: 240px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); }
.inst-hero__qr img { width: 200px; height: 200px; display: block; margin: 0 auto; }
.inst-hero__qr p { color: #334155; font-size: 13px; line-height: 1.6; margin: 8px 0 0; }
.inst-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.inst-box { padding: 22px 24px; }
.inst-box h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 19px; }
.inst-box h2 .ico { color: var(--gini-ink); }
.inst-box p { color: var(--text-2); line-height: 1.9; margin: 0 0 10px; }
.inst-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.inst-checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.8; color: var(--text-2); }
.inst-checks .ico { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--gini) 16%, transparent); color: var(--gini-ink); margin-top: 2px; }
.inst-steps li { background: var(--surface); border: 1px solid var(--border); }
.inst-steps strong { display: block; margin-bottom: 4px; }
.inst-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.inst-steps b { background: var(--gini); }
.inst-store { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-color: color-mix(in srgb, var(--gini) 45%, var(--border)); background: color-mix(in srgb, var(--gini) 6%, var(--surface)); }
.inst-link { font-weight: 700; word-break: break-all; }
.inst-link a { color: var(--gini-ink); }
.inst-faq { display: grid; gap: 10px; }
.inst-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 18px; }
.inst-faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.inst-faq summary::-webkit-details-marker { display: none; }
.inst-faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--gini-ink); }
.inst-faq details[open] summary::after { content: "−"; }
.inst-faq details p { margin: 0 0 16px; color: var(--text-2); line-height: 1.9; }
.inst-page .inst-banner h2 { color: #fff; margin: 0 0 8px; }
.inst-page .inst-banner p { color: rgba(255, 255, 255, .88); margin: 0; }
@media (max-width: 900px) {
	.inst-hero { grid-template-columns: 1fr; padding: 26px 22px; }
	.inst-grid { grid-template-columns: 1fr; }
	.inst-store { flex-direction: column; align-items: flex-start; }
}

/* ---------- Classic checkout (v1.0.5) ---------- */
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 24px; align-items: start; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup,
.woocommerce-checkout form.checkout > .woocommerce-error { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.woocommerce-checkout #order_review_heading { grid-column: 2; margin: 0 0 10px; font-size: 18px; }
.woocommerce-checkout #order_review { grid-column: 2; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; position: sticky; top: calc(var(--header-h) + 16px); }
.woocommerce-checkout .col2-set { width: 100%; display: block; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { float: none !important; width: 100% !important; max-width: none; }
.woocommerce-checkout .col2-set .col-2 { margin-top: 10px; }
.woocommerce-checkout h3 { font-size: 18px; margin: 0 0 14px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: flex; flex-wrap: wrap; gap: 0 14px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; float: none !important; width: 100%; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 7px) !important; }
.woocommerce form .form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; line-height: 1.5; }
.woocommerce form .form-row .required { color: var(--danger); text-decoration: none; }
.woocommerce form .form-row .optional { color: var(--muted); font-weight: 400; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--border); font-size: 15px; }
.woocommerce form .form-row textarea { min-height: 96px; }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--danger) !important; }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: color-mix(in srgb, var(--success) 60%, var(--border)) !important; }
#billing_country_field strong { display: flex; align-items: center; min-height: 46px; padding: 0 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 700; }
.tera-ltr, #billing_phone, #billing_email { direction: ltr; text-align: start; }
[dir="rtl"] #billing_phone, [dir="rtl"] #billing_email { text-align: right; }
.woocommerce-checkout .select2-container .select2-selection--single { height: 46px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-inline: 12px; color: var(--text); }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; }
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 14px; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 10px 4px; border-bottom: 1px solid var(--border); text-align: start; vertical-align: top; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: end; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 17px; font-weight: 800; border-bottom: 0; }
.woocommerce-checkout-review-order-table .order-total .amount { color: var(--primary); }
.woocommerce-checkout #payment { background: transparent; border-radius: 12px; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; margin: 0 0 14px; padding: 0; border: 0; display: grid; gap: 10px; }
.woocommerce-checkout #payment ul.payment_methods li { margin: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); line-height: 1.6; }
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.woocommerce-checkout #payment ul.payment_methods li > input { accent-color: var(--primary); margin-inline-end: 6px; }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.woocommerce-checkout #payment ul.payment_methods li img { max-height: 26px; width: auto; vertical-align: middle; margin: 0 !important; }
.woocommerce-checkout #payment div.payment_box { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--surface); color: var(--text-2); font-size: 14px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.payment_box p:last-child { margin-bottom: 0; }
.woocommerce-checkout #payment .place-order { padding: 0; margin: 0; }
.woocommerce-checkout #place_order { width: 100%; min-height: 52px; font-size: 17px !important; background: var(--grad) !important; color: #fff !important; border: 0 !important; border-radius: 14px !important; }
.woocommerce-checkout .woocommerce-privacy-policy-text { font-size: 13px; color: var(--muted); }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 12px; }
.woocommerce-checkout .wayl-channels-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; }
.woocommerce-checkout .wayl-channel-icon { height: 26px; width: auto; background: #fff; border-radius: 6px; padding: 2px 4px; }
@media (max-width: 900px) {
	.woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
	.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
	.woocommerce-checkout #order_review_heading { margin-top: 18px; }
	.woocommerce-checkout #order_review { position: static; }
}
@media (max-width: 560px) {
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100% !important; }
	.woocommerce-checkout #customer_details { padding: 16px; }
}

/* =========================================================================
 * 1.0.6 — Blog & phone reviews
 * ========================================================================= */
.post-wrap { padding-top: 0; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.post-layout.has-aside { grid-template-columns: minmax(0, 1fr) 320px; }
.post-main { min-width: 0; max-width: 860px; }
.post-head { margin-bottom: 18px; }
.post-cat { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 12.5px; font-weight: 700; margin-bottom: 10px; }
.post-title { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.35; margin: 0 0 12px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13.5px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .ico { width: 16px; height: 16px; }
.post-cover { margin: 0 0 20px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); aspect-ratio: 16 / 9; display: grid; place-items: center; }
.post-cover img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.post-body { font-size: 16.5px; line-height: 2; }
.post-body h2 { font-size: 24px; margin: 1.8em 0 .6em; padding-inline-start: 14px; border-inline-start: 4px solid var(--primary); line-height: 1.4; }
.post-body h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.post-body > :first-child { margin-top: 0; }
.post-body img { border-radius: var(--radius); }
.post-body figure { margin: 1.4em 0; }
.post-body figcaption { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.post-body .wp-block-image img { background: var(--surface-2); }
.post-body .wp-block-gallery, .post-body .rv-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.post-body .rv-gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post-body .wp-block-table, .post-body .rv-specs { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 1.2em 0; }
.post-body .wp-block-table table { margin: 0; }
.post-body th, .post-body td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: start; vertical-align: top; }
.post-body tr:last-child th, .post-body tr:last-child td { border-bottom: 0; }
.post-body tbody tr:nth-child(odd) { background: var(--surface-2); }
.post-body td:first-child { font-weight: 700; color: var(--text); width: 34%; }
.post-body .wp-block-table figcaption { padding: 8px; }

/* Verdict / score */
.rv-verdict:not(.rv-block) { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 20px; margin: 1.2em 0; border-radius: var(--radius); background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); }

.rv-verdict:not(.rv-block) p { margin: 0; color: var(--text); }
.rv-verdict:not(.rv-block) strong { display: block; font-size: 17px; margin-bottom: 4px; }
.rv-bars { list-style: none; padding: 0 !important; margin: 1.2em 0; display: grid; gap: 10px; }
.rv-bars li { display: grid; grid-template-columns: 130px 1fr 42px; gap: 12px; align-items: center; font-size: 14.5px; }
.rv-bars .bar { height: 9px; border-radius: 99px; background: var(--surface-3, var(--border)); overflow: hidden; }
.rv-bars .bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.rv-bars b { text-align: end; color: var(--text); }

/* Pros / cons */

/* Buy CTA inside the article */
.rv-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; margin: 1.6em 0; border-radius: var(--radius); background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.rv-cta__text { flex: 1 1 240px; line-height: 1.6; }
.rv-cta__text strong { display: block; font-size: 18px; }
.rv-cta__text span { opacity: .92; font-size: 14.5px; }
.prose .rv-cta a, .rv-cta a { text-decoration: none; }

.rv-note { padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); border-inline-start: 4px solid var(--accent); margin: 1.2em 0; font-size: 15px; }

/* FAQ */
.rv-faq details { border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin: 10px 0; background: var(--surface); }
.rv-faq summary { cursor: pointer; font-weight: 700; color: var(--text); }
.rv-faq details[open] summary { margin-bottom: 6px; }
.rv-faq details p { margin: 0; }

/* Sidebar buy box */
.post-aside { position: sticky; top: calc(var(--header-h) + 18px); }
.buy-box { padding: 18px; display: grid; gap: 10px; text-align: center; }
.buy-box__label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.buy-box__img { display: block; aspect-ratio: 1; border-radius: var(--radius); background: var(--surface-2); overflow: hidden; }
.buy-box__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.buy-box__title { font-size: 16.5px; margin: 4px 0 0; line-height: 1.5; }
.buy-box__price { font-size: 22px; font-weight: 800; color: var(--text); }
.buy-box__price del { font-size: 14px; color: var(--muted); font-weight: 500; }
.buy-box__price ins { text-decoration: none; }
.buy-box__stock { font-size: 13px; font-weight: 600; }
.buy-box__stock.is-in { color: var(--success-ink); }
.buy-box__stock.is-out { color: var(--danger); }

/* Related + archive cards */
.post-related { margin-top: 40px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__img { display: block; aspect-ratio: 16 / 10; background: var(--surface-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.post-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-card__body .post-cat { align-self: flex-start; margin: 0; }
.post-card__title { font-size: 17px; line-height: 1.5; margin: 4px 0 0; }
.post-card__title a:hover { color: var(--primary); }
.post-card__excerpt { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.8; }
.post-card__date { margin-top: auto; padding-top: 6px; font-size: 12.5px; color: var(--muted); }
.page-desc { color: var(--muted); margin-top: 6px; }

/* Mobile sticky buy bar */
.buy-bar { display: none; }
@media (max-width: 1024px) {
	.post-layout.has-aside { grid-template-columns: minmax(0, 1fr); }
	.post-aside { position: static; max-width: 420px; }
	.post-main { max-width: none; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.buy-bar { position: fixed; bottom: 62px; inset-inline: 0; z-index: 87; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -12px rgba(15, 23, 42, .3); }
	.buy-bar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
	.buy-bar__info strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.buy-bar__price { font-weight: 800; font-size: 15px; }
	.buy-bar__price del { display: none; }
	.buy-bar__price ins { text-decoration: none; }
	body.has-buy-bar { padding-bottom: 132px; }
	body.has-buy-bar .fab-stack { bottom: 140px; }
}
@media (max-width: 640px) {
	.post-body { font-size: 15.5px; }
	.post-body h2 { font-size: 20px; }
	.post-grid { grid-template-columns: 1fr; }
	
	.rv-verdict:not(.rv-block) { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.rv-bars li { grid-template-columns: 96px 1fr 36px; font-size: 13.5px; }
	.post-body .rv-gallery { grid-template-columns: repeat(2, 1fr); }
	.post-body td:first-child { width: 40%; }
	.rv-cta { flex-direction: column; align-items: stretch; text-align: center; }
	
}

/* =========================================================================
 * 1.0.7 — Phone review layout (.rv)
 * ========================================================================= */
.rv-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 120; pointer-events: none; }
.rv-progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .1s linear; }
html[dir="rtl"] .rv-progress i { margin-inline-start: 0; }

.rv { --rv-gap: 22px; }
.rv-hero { position: relative; overflow: hidden; padding-bottom: 26px; background:
	radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 70%),
	radial-gradient(700px 380px at 0% 110%, color-mix(in srgb, var(--cyan) 18%, transparent), transparent 70%),
	var(--surface); border-bottom: 1px solid var(--border); }
.rv-hero .breadcrumb { padding-block: 14px 6px; }
.rv-hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; padding-block: 10px 18px; }
.rv-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; font-weight: 700; }
.rv-kicker__tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--grad); color: #fff; box-shadow: 0 8px 20px -10px rgba(79, 70, 229, .8); }
.rv-kicker__tag .ico { width: 15px; height: 15px; }
.rv-kicker a { padding: 6px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.rv-title { font-size: clamp(26px, 3.6vw, 44px); line-height: 1.3; margin: 0 0 14px; letter-spacing: -.01em; }
.rv-sub { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.9; color: var(--text-2); margin: 0 0 18px; max-width: 62ch; }
.rv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.rv-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.rv-meta .ico { width: 16px; height: 16px; }
.rv-author { color: var(--text); font-weight: 700; }
.rv-author__logo { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.rv-author__logo .ico { width: 16px; height: 16px; }
.rv-hero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.rv-hero__price { display: grid; gap: 2px; }
.rv-hero__price small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.rv-hero__price strong { font-size: 26px; font-weight: 800; line-height: 1.2; }
.rv-hero__price del { font-size: 15px; color: var(--muted); font-weight: 500; }
.rv-hero__price ins { text-decoration: none; }
.rv-stock { font-size: 12.5px; font-weight: 700; }
.rv-stock.is-in { color: var(--success-ink); }
.rv-stock.is-out { color: var(--danger); }
.rv-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.rv-buttons.is-stack { display: grid; }
.rv-buttons.is-stack .btn { width: 100%; }
.rv-hero__media { position: relative; display: grid; place-items: center; min-height: 360px; }
.rv-hero__glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); opacity: .18; filter: blur(40px); }
.rv-hero__img { position: relative; width: 100%; max-width: 420px; max-height: 440px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(15, 23, 42, .28)); }
.rv-hero__score { position: absolute; inset-block-end: 6%; inset-inline-start: 2%; padding: 8px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-lg); }

.rv-ring { position: relative; width: var(--s); height: var(--s); }
.rv-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rv-ring circle { fill: none; stroke-width: 10; }
.rv-ring__bg { stroke: var(--surface-3); }
.rv-ring__fg { stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.rv-ring__val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.rv-ring__val b { font-size: calc(var(--s) * .28); font-weight: 800; color: var(--text); }
.rv-ring__val small { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }

.rv-keys { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rv-keys li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); min-width: 0; }
.rv-keys__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.rv-keys__ico .ico { width: 20px; height: 20px; }
.rv-keys li > span:last-child { display: grid; min-width: 0; }
.rv-keys small { color: var(--muted); font-size: 12px; font-weight: 600; }
.rv-keys b { font-size: 14.5px; overflow-wrap: anywhere; }

.rv-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 30px; align-items: start; padding-top: 30px; }
.rv-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.rv-toc { padding: 6px 8px; }
.rv-toc summary { display: flex; align-items: center; gap: 8px; padding: 10px 10px; font-weight: 800; cursor: pointer; list-style: none; }
.rv-toc summary::-webkit-details-marker { display: none; }
.rv-toc summary .ico { width: 18px; height: 18px; color: var(--primary); }
.rv-toc ol { list-style: none; margin: 0; padding: 0 0 8px; counter-reset: toc; }
.rv-toc li a { position: relative; display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.rv-toc li a::before { counter-increment: toc; content: counter(toc); flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; background: var(--surface-2); color: var(--muted); }
.rv-toc li a:hover { background: var(--surface-2); color: var(--text); }
.rv-toc li a.is-active { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.rv-toc li a.is-active::before { background: var(--primary-fill); color: #fff; }
.rv-sidebuy { padding: 14px; display: grid; gap: 8px; text-align: center; }
.rv-sidebuy__img { display: block; aspect-ratio: 4 / 3; background: var(--surface-2); border-radius: 12px; overflow: hidden; }
.rv-sidebuy__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.rv-sidebuy__name { font-weight: 700; font-size: 14.5px; line-height: 1.5; }
.rv-sidebuy__price { font-weight: 800; font-size: 19px; }
.rv-sidebuy__price del { font-size: 13px; color: var(--muted); }
.rv-sidebuy__price ins { text-decoration: none; }

.rv-main { min-width: 0; display: grid; gap: var(--rv-gap); }
.rv-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(18px, 2.6vw, 30px); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 20px); }
.rv-sec__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rv-sec__head h2 { margin: 0; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; flex: 1; }
.rv-sec__ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 22px -12px rgba(79, 70, 229, .9); }
.rv-sec__ico .ico { width: 22px; height: 22px; }
.rv-sec__score { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 700; }
.rv-sec__score b { font-size: 17px; }
.rv-prose { font-size: 16.5px; line-height: 2.05; color: var(--text-2); }
.rv-prose > :first-child { margin-top: 0; }
.rv-prose > :last-child { margin-bottom: 0; }
.rv-prose p { margin: 0 0 1em; }
.rv-prose strong { color: var(--text); }
.rv-prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.rv-prose ul { padding-inline-start: 1.2em; }
.rv-prose li { margin: .3em 0; }
.rv-sec__grid.has-specs { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.rv-figure { margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--surface-2), var(--surface-3)); aspect-ratio: 16 / 10; display: grid; place-items: center; }
.rv-figure img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.rv-specbox { border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); padding: 14px 16px; position: sticky; top: calc(var(--header-h) + 18px); }
.rv-specbox h3 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; margin: 0 0 8px; color: var(--text); }
.rv-specbox h3 .ico { width: 18px; height: 18px; color: var(--primary); }
.rv-specbox dl { margin: 0; display: grid; }
.rv-specbox dl > div { padding: 9px 0; border-bottom: 1px dashed var(--border); }
.rv-specbox dl > div:last-child { border-bottom: 0; }
.rv-specbox dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.rv-specbox dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.6; }

.rv-glance { margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 18px; border-radius: var(--radius); background: linear-gradient(135deg, var(--primary-soft), color-mix(in srgb, var(--cyan) 10%, var(--surface))); border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent); }
.rv-glance__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rv-glance h3 { font-size: 15px; margin: 0 0 6px; }
.rv-glance h3.is-pro { color: var(--success-ink); }
.rv-glance h3.is-con { color: var(--danger); }

.rv-ticks { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 8px; }
.rv-ticks li { position: relative; padding-inline-start: 30px; line-height: 1.7; font-size: 15px; color: var(--text); }
.rv-ticks li::before { position: absolute; inset-inline-start: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; }
.rv-ticks.is-pro li::before { content: "✓"; background: var(--success-soft); color: var(--success-ink); }
.rv-ticks.is-con li::before { content: "✕"; background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); }

.rv-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius-lg); background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); }
.rv-cta__img { width: 84px; height: 84px; border-radius: 16px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.rv-cta__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.rv-cta__text { display: grid; gap: 4px; line-height: 1.5; }
.rv-cta__text strong { font-size: 18px; }
.rv-cta__text span { font-size: 14.5px; opacity: .95; }
.rv-cta__text del { opacity: .7; }
.rv-cta__text ins { text-decoration: none; }
.rv-buttons.is-light .btn-primary { background: #fff; color: #1e1b4b; box-shadow: none; }
.rv-buttons.is-light .btn-gini { box-shadow: none; border-color: rgba(255, 255, 255, .5); }

.rv-gallery { display: grid; gap: 12px; }
.rv-gallery__main { aspect-ratio: 16 / 10; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface-3)); display: grid; place-items: center; overflow: hidden; }
.rv-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 22px; transition: opacity .2s; }
.rv-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.rv-gallery__thumbs button { flex: none; width: 76px; height: 76px; border-radius: 14px; border: 2px solid var(--border); background: var(--surface-2); padding: 4px; cursor: pointer; transition: border-color .2s; }
.rv-gallery__thumbs button.is-active, .rv-gallery__thumbs button:hover { border-color: var(--primary); }
.rv-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }

.rv-fullspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.rv-fullspecs .spec-group { margin: 0; scroll-margin-top: 120px; }
.rv-more { margin: 16px 0 0; }
.rv-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary); }
.rv-more .ico { width: 16px; height: 16px; }
html[dir="rtl"] .rv-more .ico { transform: scaleX(-1); }

.rv-rating { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--surface-2); }
.rv-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rv-bars li { display: grid; grid-template-columns: 150px 1fr 40px; gap: 14px; align-items: center; font-size: 14.5px; font-weight: 600; }
.rv-bars__bar { height: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.rv-bars__bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.rv-bars b { text-align: end; font-size: 15px; }
.rv-note { margin: 12px 0 18px; font-size: 13px; color: var(--muted); }
.rv-pc, .rv-who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rv-pc__col, .rv-who__col { padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.rv-pc__col.is-pro, .rv-who__col.is-pro { border-top: 4px solid var(--success); background: linear-gradient(180deg, var(--success-soft), var(--surface) 60%); }
.rv-pc__col.is-con, .rv-who__col.is-con { border-top: 4px solid var(--danger); background: linear-gradient(180deg, color-mix(in srgb, var(--danger) 8%, var(--surface)), var(--surface) 60%); }
.rv-pc h3, .rv-who h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 17px; }
.rv-pc h3 .ico { width: 20px; height: 20px; }
.rv-pc .is-pro h3 { color: var(--success-ink); }
.rv-pc .is-con h3 { color: var(--danger); }
.rv-who { margin-bottom: 18px; }

.rv-cmp-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius); }
.rv-cmp { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px; }
.rv-cmp th, .rv-cmp td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.rv-cmp tbody th { text-align: start; color: var(--muted); font-weight: 600; white-space: nowrap; background: var(--surface-2); }
.rv-cmp thead th { background: var(--surface-2); }
.rv-cmp thead a { display: grid; justify-items: center; gap: 6px; font-weight: 700; color: var(--text); line-height: 1.4; }
.rv-cmp thead img { width: 74px; height: 74px; object-fit: contain; }
.rv-cmp .is-main { background: color-mix(in srgb, var(--primary) 7%, var(--surface)); }
.rv-cmp thead .is-main { box-shadow: inset 0 3px 0 var(--primary); }
.rv-cmp tr:last-child th, .rv-cmp tr:last-child td { border-bottom: 0; }
.rv-cmp del { display: block; font-size: 12px; color: var(--muted); }
.rv-cmp ins { text-decoration: none; }

.rv-final { margin-top: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px; border-radius: var(--radius-lg); background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); }
.rv-final .rv-ring { background: var(--surface); border-radius: 50%; padding: 4px; }
.rv-final__text { display: grid; gap: 4px; }
.rv-final__text strong { font-size: 20px; }
.rv-final__text span { font-size: 22px; font-weight: 800; }
.rv-final__text del { font-size: 14px; opacity: .7; }
.rv-final__text ins { text-decoration: none; }
.rv-final__text small { opacity: .9; font-size: 13px; }

.rv-faq { display: grid; gap: 10px; }
.rv-faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); transition: background .2s; }
.rv-faq details[open] { background: var(--surface); box-shadow: var(--shadow-sm); }
.rv-faq summary { position: relative; padding: 15px 18px; padding-inline-end: 48px; font-weight: 700; cursor: pointer; list-style: none; line-height: 1.6; }
.rv-faq summary::-webkit-details-marker { display: none; }
.rv-faq summary::after { content: "+"; position: absolute; inset-inline-end: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.rv-faq details[open] summary::after { content: "−"; }
.rv-faq details p { margin: 0; padding: 0 18px 16px; line-height: 1.9; color: var(--text-2); }

.post-after { padding-bottom: 20px; }
.single-post .rv + * { margin-top: 0; }

@media (max-width: 1200px) {
	.rv-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 22px; }
	.rv-sec__grid.has-specs { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 1024px) {
	.rv-hero__in { grid-template-columns: 1fr; gap: 10px; }
	.rv-hero__media { order: -1; min-height: 260px; }
	.rv-hero__img { max-height: 300px; }
	.rv-keys { grid-template-columns: repeat(2, 1fr); }
	.rv-layout { grid-template-columns: 1fr; padding-top: 20px; }
	.rv-side { position: static; }
	.rv-sidebuy { display: none; }
	.rv-toc details:not([open]) ol { display: none; }
	.rv-sec__grid.has-specs { grid-template-columns: 1fr; }
	.rv-specbox { position: static; }
	.rv-specbox dl { grid-template-columns: 1fr 1fr; column-gap: 16px; }
	.rv-fullspecs { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.rv-hero__buy { flex-direction: column; align-items: stretch; }
	.rv-hero__buy .rv-buttons { display: grid; grid-template-columns: 1fr 1fr; }
	.rv-hero__buy .btn { padding-inline: 10px; font-size: 14.5px; }
	.rv-hero__score { inset-inline-start: 0; transform: scale(.82); transform-origin: bottom left; }
	.rv-keys li { padding: 10px; gap: 10px; }
	.rv-keys__ico { width: 34px; height: 34px; }
	.rv-prose { font-size: 15.5px; line-height: 1.95; }
	.rv-glance { grid-template-columns: 1fr; justify-items: center; text-align: start; }
	.rv-glance__lists, .rv-pc, .rv-who { grid-template-columns: 1fr; }
	.rv-glance__lists { width: 100%; }
	.rv-rating { grid-template-columns: 1fr; justify-items: center; }
	.rv-rating .rv-bars { width: 100%; }
	.rv-bars li { grid-template-columns: 110px 1fr 34px; font-size: 13.5px; }
	.rv-cta, .rv-final { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.rv-cta .rv-buttons, .rv-final .rv-buttons { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
	/* Two buttons side by side must fit small phones ("Buy in installments" is long in English). */
	.rv-hero__buy .rv-buttons, .rv-cta .rv-buttons, .rv-final .rv-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rv-buttons .btn { min-width: 0; white-space: normal; text-align: center; line-height: 1.3; }
	.rv-cta .rv-buttons .btn, .rv-final .rv-buttons .btn { padding-inline: 10px; font-size: 14.5px; }
	.rv-specbox dl { grid-template-columns: 1fr; }
	.rv-sec__ico { width: 40px; height: 40px; }
}

/* 1.0.8 — review polish: image card, bidi, sticky sidebar */
.rv-hero__card { position: relative; width: min(100%, 440px); aspect-ratio: 1; border-radius: 36px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: grid; place-items: center; overflow: hidden; }
.rv-hero__card .rv-hero__img { width: 100%; height: 100%; max-height: none; object-fit: contain; padding: 22px; filter: none; }
.rv-hero__score { z-index: 2; }
.rv-figure, .rv-gallery__main, .rv-sidebuy__img, .rv-cta__img, .rv-gallery__thumbs button { background: #fff; }
.rv-keys b, .rv-specbox dd, .rv-cmp td, .rv-fullspecs .spec-table td, .rv-hero__price strong, .rv-sidebuy__price, .rv-cta__text span, .rv-final__text span { unicode-bidi: plaintext; }
html[dir="rtl"] .rv-keys b, html[dir="rtl"] .rv-specbox dd, html[dir="rtl"] .rv-fullspecs .spec-table td { text-align: right; }
html[dir="ltr"] .rv-keys b, html[dir="ltr"] .rv-specbox dd, html[dir="ltr"] .rv-fullspecs .spec-table td { text-align: left; }
.rv-side { top: calc(var(--header-h) + 66px); max-height: calc(100vh - var(--header-h) - 86px); overflow-y: auto; scrollbar-width: thin; padding-bottom: 4px; }
.admin-bar .rv-side { top: calc(var(--header-h) + 98px); max-height: calc(100vh - var(--header-h) - 118px); }
.rv-specbox { top: calc(var(--header-h) + 66px); }
.rv-block { scroll-margin-top: calc(var(--header-h) + 70px); }
.rv-sidebuy__img { aspect-ratio: 16 / 10; }
.rv-cmp td { white-space: nowrap; }
.rv-cmp td.is-main { font-weight: 600; }
@media (max-width: 1024px) {
	.rv-side { max-height: none; overflow: visible; }
	.rv-hero__card { width: min(100%, 340px); }
}
@media (max-width: 720px) {
	.rv-cmp td { white-space: normal; }
	.rv-hero__card { width: min(100%, 300px); border-radius: 28px; }
}
/* 1.0.10 — keep wide tables inside their scroll box on small screens */
.rv-main { grid-template-columns: minmax(0, 1fr); }
.rv-block, .rv-sec__grid > * { min-width: 0; }

/* =========================================================================
 * 1.1.0 — Discovery: articles menu, Top 10, gaming FPS, watches, influencers
 * ========================================================================= */
.mega--discover { grid-template-columns: 1.6fr 1fr; min-width: 620px; }
.mega__posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mega__posts a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--text); }
.mega__posts a:hover { background: var(--surface-2); color: var(--primary); }
.mega__thumb { flex: none; width: 54px; height: 54px; border-radius: 10px; background: #fff; border: 1px solid var(--border); overflow: hidden; display: grid; place-items: center; }
.mega__thumb img { width: 100%; height: 100%; object-fit: contain; }
.mega__empty { color: var(--muted); font-size: 14px; }
.mega__list--icons a { display: flex; align-items: center; gap: 8px; }
.mega__list--icons .ico { width: 18px; height: 18px; color: var(--primary); }
.home-articles .post-grid--home { grid-template-columns: repeat(4, 1fr); }

.dx-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); color: #fff; margin-bottom: 22px; background: radial-gradient(circle at 92% 0, rgba(255, 255, 255, .22), transparent 42%), var(--grad); box-shadow: var(--shadow); }
.dx-hero--game { background: radial-gradient(circle at 92% 0, rgba(255, 255, 255, .2), transparent 42%), linear-gradient(135deg, #7c3aed, #db2777); }
.dx-hero--watch { background: radial-gradient(circle at 92% 0, rgba(255, 255, 255, .2), transparent 42%), linear-gradient(135deg, #0f766e, #0284c7); }
.dx-hero--video { background: radial-gradient(circle at 92% 0, rgba(255, 255, 255, .2), transparent 42%), linear-gradient(135deg, #dc2626, #f97316); }
.dx-hero__text { max-width: 720px; }
.dx-hero h1 { font-size: clamp(26px, 3.2vw, 40px); margin: 8px 0 10px; line-height: 1.3; color: #fff; }
.dx-hero p { margin: 0 0 14px; opacity: .93; line-height: 1.9; }
.dx-hero .btn-primary { background: #fff; color: #1e1b4b; box-shadow: none; }
.dx-hero__badge { flex: none; width: 110px; height: 110px; border-radius: 30px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); }
.dx-hero__badge .ico { width: 56px; height: 56px; color: #fff; }

.dx-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 14px; scrollbar-width: thin; }
.dx-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.dx-tab .ico { width: 18px; height: 18px; color: var(--primary); }
.dx-tab:hover { border-color: var(--primary); color: var(--primary); }
.dx-tab.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -10px rgba(79, 70, 229, .8); }
.dx-tab.is-active .ico { color: #fff; }
.dx-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(16px, 2.4vw, 26px); margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.dx-panel[hidden] { display: none; }
.dx-panel__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dx-panel__head h2 { margin: 0; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; }
.dx-panel__head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.dx-panel__ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.dx-panel__ico .ico { width: 24px; height: 24px; }
.dx-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dx-rank__item { display: grid; grid-template-columns: 44px 88px minmax(0, 1fr) 150px 170px; gap: 16px; align-items: center; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: box-shadow .2s, border-color .2s; }
.dx-rank__item:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); box-shadow: var(--shadow-sm); }
.dx-rank__item.is-top { background: linear-gradient(90deg, var(--primary-soft), var(--surface) 70%); }
html[dir="rtl"] .dx-rank__item.is-top { background: linear-gradient(270deg, var(--primary-soft), var(--surface) 70%); }
.dx-rank__n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: var(--surface-2); color: var(--text); }
.is-top .dx-rank__n { background: var(--grad); color: #fff; }
.dx-rank__img { display: block; width: 88px; height: 88px; border-radius: 14px; background: #fff; border: 1px solid var(--border); overflow: hidden; }
.dx-rank__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.dx-rank__brand { font-size: 12px; font-weight: 700; color: var(--primary); }
.dx-rank__body h3 { margin: 2px 0 6px; font-size: 16px; line-height: 1.5; }
.dx-rank__body h3 a:hover { color: var(--primary); }
.dx-rank__specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dx-rank__specs li { padding: 3px 9px; border-radius: 999px; background: var(--surface-2); font-size: 12px; color: var(--text-2); unicode-bidi: plaintext; }
.dx-rank__metric { text-align: center; padding: 10px; border-radius: 14px; background: var(--primary-soft); }
.dx-rank__metric b { display: block; font-size: 19px; color: var(--primary); unicode-bidi: plaintext; }
.dx-rank__metric small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.dx-rank__buy { display: grid; gap: 6px; justify-items: stretch; text-align: center; }
.dx-rank__price { font-weight: 800; font-size: 16px; }
.dx-rank__price del { font-size: 12px; color: var(--muted); }
.dx-rank__price ins { text-decoration: none; }
.dx-stock { font-size: 12px; font-weight: 700; }
.dx-stock.is-in { color: var(--success-ink); }
.dx-stock.is-out { color: var(--danger); }
.dx-inst { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--success-ink); }
.dx-inst .ico { width: 15px; height: 15px; }
.dx-note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.8; margin: 16px 0 0; }
.dx-note .ico { flex: none; width: 17px; height: 17px; margin-top: 3px; }

.dx-picker { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(16px, 2.4vw, 26px); margin-bottom: 18px; }
.dx-step { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 0 0 12px; }
.dx-step span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 14px; }
.dx-games { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.dx-game { display: grid; justify-items: center; gap: 6px; padding: 14px 10px; border-radius: var(--radius); border: 2px solid var(--border); background: var(--surface); text-align: center; transition: border-color .2s, transform .2s; }
.dx-game:hover { border-color: color-mix(in srgb, var(--primary) 50%, var(--border)); transform: translateY(-2px); }
.dx-game.is-active { border-color: var(--primary); background: var(--primary-soft); }
.dx-game__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #7c3aed, #db2777); color: #fff; }
.dx-game__ico .ico { width: 24px; height: 24px; }
.dx-game__name { font-weight: 800; font-size: 14px; line-height: 1.4; color: var(--text); }
.dx-game small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.dx-fps { display: flex; flex-wrap: wrap; gap: 10px; }
.dx-fps__opt { min-width: 90px; display: grid; justify-items: center; padding: 10px 16px; border-radius: 14px; border: 2px solid var(--border); background: var(--surface); }
.dx-fps__opt b { font-size: 24px; line-height: 1.1; color: var(--text); }
.dx-fps__opt small { font-size: 11px; font-weight: 700; color: var(--muted); }
.dx-fps__opt:hover { border-color: var(--primary); }
.dx-fps__opt.is-active { background: linear-gradient(135deg, #7c3aed, #db2777); border-color: transparent; }
.dx-fps__opt.is-active b, .dx-fps__opt.is-active small { color: #fff; }
.dx-results { scroll-margin-top: calc(var(--header-h) + 70px); }
.dx-results__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dx-results__head h2 { margin: 0; font-size: clamp(18px, 2vw, 22px); }
.dx-count { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 13px; }
p.dx-count { margin: 0 0 12px; }
.dx-fpscard { position: relative; display: grid; gap: 6px; align-content: start; }
.dx-fpsbadge { position: absolute; z-index: 3; top: 10px; inset-inline-end: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: linear-gradient(135deg, #7c3aed, #db2777); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 6px 16px -8px rgba(124, 58, 237, .9); }
.dx-fpsbadge .ico { width: 15px; height: 15px; }
.dx-other { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.6; text-align: center; }
.dx-empty { text-align: center; padding: 42px 20px; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius-lg); }
.dx-empty > .ico { width: 58px; height: 58px; padding: 13px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); margin: 0 auto 12px; }
.dx-empty h3 { margin: 0 0 8px; }
.dx-empty p { color: var(--muted); max-width: 560px; margin: 0 auto 16px; line-height: 1.9; }

.dx-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.dx-toolbar .dx-chips { margin: 0; }
.dx-chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; font-size: 13.5px; color: var(--text-2); }
.dx-chip:hover { border-color: var(--primary); color: var(--primary); }
.dx-chip.is-active { background: var(--primary-fill); border-color: var(--primary-fill); color: #fff; }
.dx-sort label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.dx-sort select { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.dx-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 20px; }
.dx-pages a { min-width: 40px; height: 40px; padding: 0 10px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; }
.dx-pages a.is-active { background: var(--primary-fill); border-color: var(--primary-fill); color: #fff; }

.dx-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.dx-video { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.dx-video__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #0b1020; cursor: pointer; overflow: hidden; }
.dx-video__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.dx-video__media:hover img { transform: scale(1.04); }
.dx-video__play { position: absolute; inset: 0; display: grid; place-items: center; }
.dx-video__play .ico { width: 64px; height: 64px; color: #fff; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .5)); }
.dx-video__frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: #000; }
.dx-video__ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; }
.dx-video__body { padding: 14px 16px 16px; display: grid; gap: 8px; }
.dx-video__title { margin: 0; font-size: 16px; line-height: 1.6; }
.dx-video__by { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.dx-video__by .ico { width: 16px; height: 16px; }
.dx-video__by a { color: var(--primary); font-weight: 700; }
.dx-video__prod { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: var(--surface-2); }
.dx-video__prod img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 8px; }
.dx-video__prod span { display: grid; font-size: 13px; font-weight: 700; line-height: 1.5; }
.dx-video__prod b { color: var(--primary); unicode-bidi: plaintext; }
.dx-video__prod del { display: none; }
.dx-video__prod ins { text-decoration: none; }
.dx-pf { justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #fff; background: #64748b; }
.dx-pf-youtube { background: #e11d48; }
.dx-pf-tiktok { background: #111827; }
.dx-pf-instagram { background: linear-gradient(45deg, #f59e0b, #db2777, #7c3aed); }
.dx-pf-facebook { background: #2563eb; }
.dx-pf-snapchat { background: #eab308; color: #111; }
.dx-video__ph.dx-pf-youtube, .dx-video__ph.dx-pf-tiktok, .dx-video__ph.dx-pf-instagram, .dx-video__ph.dx-pf-facebook, .dx-video__ph.dx-pf-snapchat { border-radius: 0; font-size: 24px; }

.dx-form { padding: clamp(18px, 3vw, 30px); scroll-margin-top: calc(var(--header-h) + 70px); }
.dx-form__head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.dx-form__head h2 { margin: 0; font-size: 22px; }
.dx-form__head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.dx-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dx-field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--text); }
.dx-field input, .dx-field select, .dx-field textarea { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 500; }
.dx-field input:focus, .dx-field select:focus, .dx-field textarea:focus { outline: 2px solid color-mix(in srgb, var(--primary) 40%, transparent); border-color: var(--primary); }
.dx-field--wide { grid-column: 1 / -1; }
.dx-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); line-height: 1.8; }
.dx-check input { margin-top: 5px; }
.dx-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dx-alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; font-weight: 700; font-size: 14px; }
.dx-alert.is-ok { background: var(--success-soft); color: var(--success-ink); }
.dx-alert.is-err { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); }

@media (max-width: 1200px) {
	.dx-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dx-rank__item { grid-template-columns: 40px 76px minmax(0, 1fr) 140px; }
	.dx-rank__buy { grid-column: 3 / -1; grid-template-columns: repeat(4, auto); align-items: center; justify-content: start; }
	.dx-rank__img { width: 76px; height: 76px; }
	.home-articles .post-grid--home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
	.dx-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.dx-hero__badge { display: none; }
	.dx-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dx-fps__opt { min-width: 72px; padding: 8px 12px; }
	.dx-rank__item { grid-template-columns: 34px 64px minmax(0, 1fr); gap: 10px; padding: 10px; }
	.dx-rank__n { width: 32px; height: 32px; font-size: 15px; }
	.dx-rank__img { width: 64px; height: 64px; }
	.dx-rank__metric { grid-column: 2 / -1; display: flex; align-items: baseline; justify-content: space-between; padding: 8px 12px; text-align: start; }
	.dx-rank__buy { grid-column: 1 / -1; grid-template-columns: 1fr auto; justify-items: start; text-align: start; }
	.dx-rank__buy .btn { justify-self: end; }
	.dx-videos { grid-template-columns: 1fr; }
	.dx-form__grid { grid-template-columns: 1fr; }
	.home-articles .post-grid--home { grid-template-columns: 1fr; }
}
/* Ten top-level items: drop the icons before the row gets too wide. */
@media (max-width: 1280px) and (min-width: 861px) {
	.nav-link { padding: 12px 8px; gap: 0; }
	.nav-link .ico { display: none; }
}

/* =========================================================================
 * 1.2.0 — Header & footer at every screen width (AR + EN)
 * ========================================================================= */
/* Top bar: the message shrinks with an ellipsis, links never wrap. */
.topbar__msg { flex: 1 1 auto; min-width: 0; }
.topbar__msg span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__tools { flex: none; }
.topbar__link, .lang-switch { white-space: nowrap; }
@media (max-width: 600px) {
	.topbar { font-size: 12px; }
	.topbar__in { gap: 8px; }
	.topbar__msg .ico { display: none; }
	.topbar__link, .lang-switch { padding: 4px 7px; gap: 4px; }
	.topbar__link .ico { display: none; }
}

/* Mega menus open under the whole navigation bar, so they never leave the screen. */
.mainnav > .container { position: relative; }
.nav-item.has-mega { position: static; }
.nav-item.has-mega:has(> .mega--sm) { position: relative; }
.nav-item.has-mega > .mega:not(.mega--sm) { inset-inline-start: 20px; inset-inline-end: auto; max-width: calc(100% - 40px); }
.nav-item.has-mega:last-child > .mega:not(.mega--sm) { inset-inline-start: auto; inset-inline-end: 20px; }
.nav-item.has-mega > .mega--sm { min-width: 0; width: 340px; max-width: calc(100vw - 32px); }
.nav-item.has-mega > .mega::before { content: ""; position: absolute; inset-inline: 0; top: -14px; height: 14px; }

/* Ten top-level items: compact steps instead of overflowing. */
@media (max-width: 1365px) and (min-width: 861px) {
	.nav-link { padding: 12px 8px; gap: 0; }
	.nav-link .ico { display: none; }
}
@media (max-width: 1100px) and (min-width: 861px) {
	.nav-list { gap: 0; justify-content: space-between; }
	.nav-link { padding: 11px 5px; font-size: 13.5px; }
}

/* Footer: brand + four link columns on desktop, two columns of links on phones. */
.footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 28px; }
@media (max-width: 1100px) {
	.footer__grid { grid-template-columns: repeat(4, 1fr); }
	.footer__brand { grid-column: 1 / -1; max-width: 640px; }
}
@media (max-width: 860px) {
	.footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
}
@media (max-width: 600px) {
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__grid > :last-child { grid-column: 1 / -1; }
	.footer__links, .footer__contact { font-size: 13.5px; }
	.footer__bottom-in { justify-content: center; text-align: center; }
	.pay-chips { justify-content: center; }
}

/* Influencer videos on the home page, product page and filtered list */
.dx-videos--home { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.dx-videos--home .dx-video__title { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.creator-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius-lg); border: 1px dashed color-mix(in srgb, var(--primary) 45%, var(--border)); background: linear-gradient(135deg, var(--primary-soft), var(--surface) 70%); color: var(--text); }
.creator-cta:hover { border-style: solid; color: var(--text); }
.creator-cta__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #dc2626, #f97316); color: #fff; }
.creator-cta__ico .ico { width: 24px; height: 24px; }
.creator-cta__text { display: grid; gap: 2px; line-height: 1.6; }
.creator-cta__text strong { font-size: 16px; }
.creator-cta__text span { font-size: 13.5px; color: var(--muted); }
.dx-anchor { scroll-margin-top: calc(var(--header-h) + 70px); }
.dx-prodfilter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.dx-prodfilter__img { width: 72px; height: 72px; border-radius: 14px; background: #fff; border: 1px solid var(--border); overflow: hidden; }
.dx-prodfilter__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.dx-prodfilter__text { display: grid; gap: 2px; min-width: 0; }
.dx-prodfilter__text small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.dx-prodfilter__text strong { font-size: 17px; line-height: 1.4; }
.dx-prodfilter__text span { font-weight: 800; color: var(--primary); unicode-bidi: plaintext; }
.dx-prodfilter__text del { display: none; }
.dx-prodfilter__text ins { text-decoration: none; }
.dx-prodfilter__actions { display: flex; gap: 8px; flex-wrap: wrap; }

.pp-media { display: grid; gap: 8px; margin-top: 12px; }
.pp-media__video { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 8px; padding-inline-end: 14px; border-radius: 16px; border: 1px solid color-mix(in srgb, #dc2626 30%, var(--border)); background: linear-gradient(135deg, color-mix(in srgb, #dc2626 9%, var(--surface)), var(--surface) 75%); color: var(--text); transition: box-shadow .2s, transform .2s; }
.pp-media__video:hover { color: var(--text); box-shadow: var(--shadow); transform: translateY(-1px); }
.pp-media__thumb { position: relative; width: 92px; aspect-ratio: 16 / 10; border-radius: 11px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #dc2626, #f97316); }
.pp-media__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-media__thumb .ico { position: relative; width: 32px; height: 32px; color: #fff; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .5)); }
.pp-media__text { display: grid; gap: 2px; line-height: 1.5; }
.pp-media__text strong { font-size: 15px; }
.pp-media__text small { font-size: 12.5px; color: var(--muted); }
.pp-media__chev { width: 18px; height: 18px; color: var(--muted); }
.pp-media__review { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); font-weight: 700; font-size: 14px; color: var(--text); }
.pp-media__review > .ico:first-child { width: 20px; height: 20px; color: var(--primary); }
.pp-media__review span { flex: 1; }
.pp-media__review:hover { border-color: var(--primary); color: var(--primary); }

@media (max-width: 1200px) {
	.dx-videos--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.dx-videos--home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.dx-videos--home .dx-video__body { padding: 10px; gap: 6px; }
	.dx-videos--home .dx-video__by, .dx-videos--home .dx-video__prod span b { font-size: 12px; }
	.dx-videos--home .dx-video__prod { padding: 6px; gap: 6px; }
	.dx-videos--home .dx-video__prod img { width: 34px; height: 34px; }
	.dx-videos--home .dx-video__prod span { font-size: 11.5px; }
	.creator-cta { grid-template-columns: auto 1fr; }
	.creator-cta .btn { grid-column: 1 / -1; justify-self: stretch; }
	.dx-prodfilter { grid-template-columns: auto 1fr; }
	.dx-prodfilter__actions { grid-column: 1 / -1; }
	.dx-prodfilter__actions .btn { flex: 1; }
}
.dx-video__ph { align-items: end; justify-items: start; padding: 10px 12px; font-size: 14px !important; letter-spacing: .02em; opacity: .95; }
.dx-video__title, .dx-video__prod span { unicode-bidi: plaintext; }

/* =========================================================================
 * 1.3.0 — Currency switcher, gift cards (CardV)
 * ========================================================================= */

[data-conv] bdi { white-space: nowrap; }

/* Gift card product page */
.card-test { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; font-size: 14px; }
html[data-theme="dark"] .card-test { background: rgba(251, 146, 60, .12); color: #fdba74; border-color: rgba(251, 146, 60, .3); }
.card-test .ico, .card-region-note .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.card-region-note { display: flex; gap: 8px; align-items: flex-start; margin: -6px 0 16px; padding: 10px 12px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 13.5px; line-height: 1.7; }
.card-facts b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-redeem [dir="ltr"] { text-align: left; }
.card-redeem .btn { margin-top: 8px; }

.amount-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin: 0 0 14px; }
.amount-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 10px 8px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); color: inherit; font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.amount-chip b { font-size: 15px; font-family: Inter, system-ui, sans-serif; overflow-wrap: anywhere; text-align: center; }
.amount-chip span { font-size: 12.5px; color: var(--muted); }
.amount-chip span .price { color: inherit; font-size: inherit; }
.amount-chip span del { display: none; }
.amount-chip:hover { border-color: var(--primary); }
.amount-chip.is-on { border-color: var(--primary); background: var(--primary-soft); }
.amount-chip.is-on span { color: var(--primary); }
.amount-chip.is-off { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.variations_form.has-chips table.variations { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.variations_form.has-chips .woocommerce-variation-price { margin-bottom: 10px; font-size: 20px; font-weight: 700; }
.cardv-amount { margin-bottom: 14px; }
.cardv-amount__row { display: flex; align-items: center; gap: 8px; }
.cardv-amount__input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); color: inherit; font-size: 16px; }
.cardv-amount__input:focus { outline: none; border-color: var(--primary); }
.cardv-amount__currency { font-weight: 700; font-family: Inter, system-ui, sans-serif; }
.cardv-amount__price { margin: 8px 0 0; font-size: 18px; font-weight: 700; }
.cardv-amount__hint { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

/* Drawn gift card (cards without an image) */
.gc-art { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; width: 88%; max-width: 520px; aspect-ratio: 1.586; margin: auto; padding: 7% 8%; border-radius: 7% / 11%; color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .22), transparent 55%), linear-gradient(135deg, var(--gc-a, #4f46e5), var(--gc-b, #1e1b4b)); box-shadow: 0 12px 28px rgba(15, 23, 42, .25); overflow: hidden; text-align: start; container-type: inline-size; isolation: isolate; }
.gc-art::after { content: ""; position: absolute; inset-inline-end: -18%; bottom: -38%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .08); z-index: -1; }
.gc-art__chip { position: absolute; top: 14%; inset-inline-start: 8%; width: 13%; aspect-ratio: 1.3; border-radius: 3cqw; background: linear-gradient(135deg, #fde68a, #c99a1a); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.gc-art__cur { position: absolute; top: 12%; inset-inline-end: 8%; font-style: normal; font-weight: 800; font-size: 7cqw; letter-spacing: .04em; opacity: .9; font-family: Inter, system-ui, sans-serif; }
.gc-art b { font-size: 10.5cqw; font-weight: 800; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-art small { font-size: 6cqw; opacity: .88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-card__img:has(.gc-art), .pp-gallery__main:has(.gc-art) { display: flex; align-items: center; justify-content: center; }
.gc-art { flex: none; }
.pp-gallery__main .gc-art { width: 82%; }
.buy-box__head .gc-art, .mini-item .gc-art, .rv-sidebuy__img .gc-art, .dx-rank__img .gc-art { width: 64px; padding: 6px 7px; border-radius: 7px; box-shadow: none; }
.buy-box__head .gc-art b, .mini-item .gc-art b { font-size: 13cqw; }
.buy-box__head .gc-art small, .buy-box__head .gc-art__cur, .mini-item .gc-art small, .mini-item .gc-art__cur { display: none; }
.woocommerce-cart-form .product-thumbnail .gc-art, .wc-block-components-product-image .gc-art { width: 72px; padding: 6px 8px; border-radius: 8px; box-shadow: none; }
.gc-art b { unicode-bidi: isolate; }

/* =========================================================================
 * 1.4.0 — Currency by location (IQD in Iraq, USD elsewhere)
 * ========================================================================= */
.cur-wait [data-iqd]:not([data-conv]), .cur-wait .cardv-amount__price { visibility: hidden; }
.cardv-amount__conv { margin: 4px 0 0; font-weight: 700; font-size: 17px; }
.cur-usd .cardv-amount__price { font-size: 13px; font-weight: 500; color: var(--muted); }
.cur-pay-note { margin: 0 0 16px; }

/* Gift card filter bar */
.cf-bar { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(130px, 1fr)) auto; gap: 10px; align-items: center; margin: 0 0 22px; padding: 14px; }
.cf-field { position: relative; display: block; min-width: 0; margin: 0; }
.cf-field input, .cf-field select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; }
.cf-field select { padding-inline-end: 30px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7489' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: left 10px center; }
[dir="ltr"] .cf-field select { background-position: right 10px center; }
.cf-field input:focus, .cf-field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.cf-search .ico { position: absolute; inset-inline-start: 12px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.cf-search input { padding-inline-start: 38px; }
.cf-actions { display: flex; align-items: center; gap: 10px; }
.cf-actions .btn { height: 44px; }
.cf-reset { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.cf-reset .ico { width: 15px; height: 15px; }
.cf-reset:hover { color: var(--primary); }
.cf-count { margin: 0 0 12px; color: var(--muted); font-weight: 600; }
.cf-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 22px; }
.cf-page { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-weight: 600; }
.cf-page.is-on { background: var(--primary-fill); border-color: var(--primary-fill); color: #fff; }
.cf-gap { display: grid; place-items: center; min-width: 24px; color: var(--muted); }
@media (max-width: 1100px) {
	.cf-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cf-search { grid-column: 1 / -1; }
	.cf-actions { grid-column: 1 / -1; justify-content: flex-end; }
}
@media (max-width: 600px) {
	.cf-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 8px; }
	.cf-actions { justify-content: space-between; }
	.cf-actions .btn { flex: 1; }
}

/* Sliders */
.slider { position: relative; }
.slider__btn { position: absolute; top: 38%; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: 0 6px 16px rgba(15, 23, 42, .14); cursor: pointer; transition: opacity .2s; }
.slider__btn .ico { width: 18px; height: 18px; }
.slider__btn--prev { inset-inline-start: -14px; }
.slider__btn--next { inset-inline-end: -14px; }
.slider__btn:disabled { opacity: 0; pointer-events: none; }
.slider.is-static .slider__btn { display: none; }
[dir="ltr"] .flip-ltr { transform: scaleX(-1); }
.p-rail { scrollbar-width: none; }
.p-rail::-webkit-scrollbar { display: none; }
.p-rail--2rows { grid-template-rows: repeat(2, auto); grid-auto-columns: calc((100% - 64px) / 5); }
@media (max-width: 1100px) { .p-rail--2rows { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (max-width: 860px) {
	.slider__btn { display: none; }
	.p-rail--2rows { grid-auto-columns: 44%; }
}

/* Home gift card rows */
.dg-block { margin-top: 26px; }
.dg-block:first-of-type { margin-top: 6px; }
.dg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dg-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 17px; }
.dg-head .dg-title { margin: 0; }
.dg-title .ico { width: 20px; height: 20px; color: var(--primary); }

/* Gift card amount picker */
.amount-picker { position: relative; margin: 0 0 16px; }
.amount-picker__label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.amount-picker__btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; text-align: start; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.amount-picker__btn:hover, .amount-picker.is-open .amount-picker__btn { border-color: var(--primary); }
.amount-picker__btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--primary-soft); border-color: var(--primary); }
.amount-picker__value { flex: 1; font-size: 17px; font-weight: 700; font-family: Inter, "IBM Plex Sans Arabic", system-ui, sans-serif; }
.amount-picker__price { color: var(--primary); font-weight: 700; white-space: nowrap; }
.amount-picker__price .price, .amount-picker__p .price { color: inherit; font-size: inherit; margin: 0; }
.amount-picker__chev { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; color: var(--muted); transition: transform .2s; }
.amount-picker.is-open .amount-picker__chev { transform: rotate(180deg); }
.amount-picker__list { position: absolute; z-index: 30; inset-inline: 0; top: calc(100% + 6px); max-height: min(320px, 55vh); overflow: auto; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 40px rgba(15, 23, 42, .18); }
.amount-picker__list:focus { outline: none; }
.amount-picker__opt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; cursor: pointer; }
.amount-picker__opt b { font-size: 15px; font-family: Inter, "IBM Plex Sans Arabic", system-ui, sans-serif; }
.amount-picker__opt small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amount-picker__p { font-weight: 700; white-space: nowrap; }
.amount-picker__opt:hover, .amount-picker__opt.is-active { background: var(--surface-2); }
.amount-picker__opt.is-on { background: var(--primary-soft); color: var(--primary); }
.amount-picker__opt.is-off { opacity: .45; cursor: not-allowed; }
.variations_form.has-picker table.variations { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.variations_form.has-picker .woocommerce-variation-price { display: none; }

/* Written page content under data pages */
.page-seo__body { max-width: 920px; margin-inline: auto; }
.page-seo__body h2 { font-size: 22px; margin-top: 0; }
.page-seo__body h3 { font-size: 18px; margin-top: 22px; }
.page-seo__img { float: inline-end; width: 160px; margin: 0 0 12px; margin-inline-start: 18px; }
.page-seo__img img { width: 100%; height: auto; border-radius: 14px; background: #fff; }
@media (max-width: 600px) { .page-seo__img { float: none; width: 140px; margin: 0 auto 12px; } }

/* =========================================================================
 * 1.4.5 — Block cart / checkout fixes (mobile, RTL)
 * ========================================================================= */
/* Notice close button: a small × instead of an empty coloured pill. */
.wc-block-components-notice-banner__dismiss, .wc-block-components-notice-banner .wc-block-components-button.wc-block-components-notice-banner__dismiss {
	background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 4px !important; width: 28px !important; height: 28px !important; min-height: 0 !important; color: inherit !important; border-radius: 8px !important; flex: none;
}
.wc-block-components-notice-banner__dismiss svg { fill: currentColor !important; width: 18px; height: 18px; }
.wc-block-components-notice-banner { align-items: flex-start; border-radius: 14px !important; }
.wc-block-components-notice-banner__content { min-width: 0; overflow-wrap: anywhere; }

/* Cart rows never wider than the screen; the line total stays visible. */
.wp-block-woocommerce-cart, .wc-block-cart { max-width: 100%; }
.wc-block-cart-items { width: 100%; table-layout: fixed; }
.wc-block-cart-items__row { grid-template-columns: 72px minmax(0, 1fr) auto !important; column-gap: 12px; }
.wc-block-cart-item__product, .wc-block-cart-item__wrap { min-width: 0 !important; }
.wc-block-cart-item__total { min-width: 0; white-space: nowrap; }
.wc-block-cart-item__image img { width: 100%; height: auto; border-radius: 10px; }
.wc-block-components-product-name { overflow-wrap: anywhere; }
.wc-block-components-product-metadata__description { display: none; }
@media (max-width: 600px) {
	.wc-block-cart-items__row { grid-template-columns: 60px minmax(0, 1fr) !important; }
	.wc-block-cart-item__total { grid-column: 2 !important; grid-row: auto !important; justify-self: start !important; text-align: start !important; margin-top: 6px; }
	.wc-block-cart-items__header .wc-block-cart-items__header-total { display: none; }
}

/* Hosting chat button: above the sticky buy / checkout bars on phones. */
@media (max-width: 860px) {
	.tera-lift-chat { bottom: calc(var(--tera-lift, 84px) + env(safe-area-inset-bottom, 0px)) !important; }
}

/* 1.4.8 — Homepage gift section: categories limited to two rows (4 columns → 8 tiles; 2 columns → 4). */
.digital__cats--home { margin-bottom: 4px; }
@media (max-width: 1024px) {
	.digital__cats--home > .dcard:nth-child(n+5) { display: none; }
}
/* Card pictures are wide: show the whole card inside the square box, centred. */
.p-card__img img.tera-card-img { object-fit: contain; object-position: center; }

/* Visually hidden, readable by screen readers and search engines (1.4.15) */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;word-wrap:normal!important}

/* «هاتف لكل ميزانية» as price tabs (1.4.17) */
button.budget__item { border: 0; font: inherit; font-weight: 800; font-size: 19px; text-align: start; cursor: pointer; }
.budget__item:focus-visible { outline: 3px solid var(--primary, #4f46e5); outline-offset: 3px; }
.budget__item.is-active { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--text); transform: translateY(-3px); }
.budget__item:not(.is-active) { opacity: .78; }
.budget__item:not(.is-active):hover { opacity: 1; }
.budget__panel { margin-top: 18px; }
.budget__all { display: inline-flex; margin-top: 12px; }

/* Wholesale page (1.4.17) */
.ws-hero { background: radial-gradient(circle at 12% 110%, rgba(37, 211, 102, .45), transparent 45%), linear-gradient(135deg, #1e1b4b, #4f46e5); }
.ws-hero__card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .12); text-align: center; }
.ws-hero__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #25d366; color: #fff; }
.ws-hero__ico .ico { width: 32px; height: 32px; }
.ws-hero__card strong { font-size: 18px; color: #fff; }
.ws-hero__card a { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: .5px; }
.ws-hero__card small { color: rgba(255, 255, 255, .8); }

/* Partners page — اعمل معنا (1.4.24): reuses the wholesale/installments components */
.pt-page .inst-banner h2 { color: #fff; margin: 8px 0; }
.pt-page .inst-banner p { color: rgba(255, 255, 255, .88); margin: 0; line-height: 1.9; }
.pt-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pt-svc { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.pt-svc h3 { margin: 4px 0 0; font-size: 18px; }
.pt-svc > p { margin: 0; color: var(--text-2); line-height: 1.8; font-size: 14.5px; }
.pt-svc .inst-checks { font-size: 14px; gap: 8px; }
.pt-svc__ico, .pt-how__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.pt-svc__ico .ico, .pt-how__ico .ico { width: 24px; height: 24px; }
.pt-svc__cta { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pt-svc__more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; color: var(--primary); }
.pt-svc__more .ico { width: 16px; height: 16px; }
[dir="rtl"] .pt-svc__more .ico { transform: scaleX(-1); }
.pt-supplier { background: radial-gradient(circle at 90% 120%, rgba(37, 211, 102, .35), transparent 45%), linear-gradient(135deg, #1e1b4b, #312e81); }
.pt-supplier .inst-banner__steps b { color: #312e81; }
.pt-supplier__btn { margin-top: 18px; }
.pt-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.pt-how__item { display: flex; flex-direction: column; gap: 8px; padding: 20px; color: var(--text); transition: transform .15s ease, border-color .15s ease; }
.pt-how__item:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--text); }
.pt-how__item strong { font-size: 16px; }
.pt-how__item span:last-child { color: var(--text-2); font-size: 14px; line-height: 1.8; }
.pt-page #pt-start { scroll-margin-top: calc(var(--header-h, 70px) + 16px); }
@media (max-width: 1100px) { .pt-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.pt-services { grid-template-columns: 1fr; }
	.pt-page .inst-banner { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) { .pt-how__item, .pt-how__item:hover { transition: none; transform: none; } }
[dir="rtl"] .pt-hero .btn:first-child .ico { transform: scaleX(-1); }

/* Tera AI Agent (1.4.26): header pill, drawer button, floating button, help page */
.ai-pill { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 800; font-size: 13.5px; letter-spacing: .2px; color: #fff; background: linear-gradient(135deg, var(--primary-fill), #7c3aed 55%, #db2777); box-shadow: 0 8px 20px -10px rgba(124, 58, 237, .8); white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease; }
.ai-pill .ico { width: 18px; height: 18px; }
.ai-pill:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(124, 58, 237, .9); }
.ai-btn { color: #fff; background: linear-gradient(135deg, var(--primary-fill), #7c3aed 55%, #db2777); border: 0; }
.ai-btn:hover { color: #fff; }
.fab-ai { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary-fill), #7c3aed 55%, #db2777); box-shadow: 0 12px 26px -8px rgba(124, 58, 237, .75); transition: transform .15s ease; }
.fab-ai .ico { width: 24px; height: 24px; }
.fab-ai:hover { color: #fff; transform: scale(1.06); }
.fab-ai__tip { position: absolute; inset-inline-end: calc(100% + 10px); top: 50%; transform: translateY(-50%); padding: 6px 10px; border-radius: 8px; background: #0e1325; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.fab-ai:hover .fab-ai__tip, .fab-ai:focus-visible .fab-ai__tip { opacity: 1; }

.aia-page .inst-hero { align-items: center; }
.aia-hero__art { flex: 0 1 380px; min-width: 0; }
.aia-art { width: 100%; height: auto; display: block; direction: ltr; }
.aia-art__win { fill: var(--surface); stroke: var(--border); }
.aia-art__bar { fill: var(--surface-2); }
.aia-art__dot { fill: var(--border); }
.aia-art__side { fill: var(--surface-2); }
.aia-art__card { fill: var(--surface-2); stroke: var(--border); }
.aia-art__field { fill: var(--surface); stroke: var(--border); }
.aia-art__img { fill: color-mix(in srgb, var(--primary) 12%, var(--surface)); }
.aia-art__phone { fill: var(--primary-fill); opacity: .85; }
.aia-art__line { fill: var(--border); }
.aia-art__user, .aia-art__btn, .aia-art__hl, .aia-art__logo { fill: var(--primary-fill); }
.aia-art__ok { fill: var(--success-ink); }
.aia-art__knob { fill: #fff; }
.aia-art__on, .aia-art__okt { fill: #fff; }
.aia-art__ink { fill: var(--text); }
.aia-art__mute { fill: var(--muted); }
.aia-art__price, .aia-art__brand { fill: var(--primary); }
.aia-art__pulse, .aia-art__pulse-f { animation: aia-pulse 2.4s ease-in-out infinite; }
.aia-art__pulse-f { stroke: var(--primary); stroke-width: 2; }
@keyframes aia-pulse { 50% { opacity: .55; } }
.aia-hero .aia-art { filter: drop-shadow(0 24px 40px rgba(15, 23, 42, .35)); }

.aia-off { display: flex; gap: 10px; align-items: center; margin-top: 18px; border-color: var(--accent); }
.aia-prompts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.aia-prompt { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 14.5px; line-height: 1.7; text-align: start; cursor: pointer; transition: border-color .15s ease, transform .15s ease; }
.aia-prompt .ico { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--primary); }
.aia-prompt:hover { border-color: var(--primary); transform: translateY(-1px); }
.aia-knows { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.aia-knows li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; font-weight: 700; }
.aia-knows .ico { width: 16px; height: 16px; color: var(--primary); }

/* First-use guidance on the AI agent page */
.aia-first { padding: 18px 20px; margin-bottom: 18px; border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); }
.aia-first h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 16.5px; }
.aia-first h3 .ico { width: 20px; height: 20px; color: var(--primary); flex: none; }
.aia-first > p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.85; }
.aia-first__ex { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; margin: 14px 0 4px; }
.aia-first__row { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.aia-first__tag { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
.aia-first__tag .ico { width: 14px; height: 14px; }
.is-ok .aia-first__tag { color: var(--success-ink); background: color-mix(in srgb, var(--success) 14%, transparent); }
.is-no .aia-first__tag { color: var(--danger, #b91c1c); background: color-mix(in srgb, var(--danger, #dc2626) 12%, transparent); }
.is-ok .aia-prompt { border-color: color-mix(in srgb, var(--success) 55%, var(--border)); }
.aia-first__q { margin: 0; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--border); color: var(--text-2); font-size: 14.5px; line-height: 1.7; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--danger, #dc2626) 60%, transparent); }
.aia-first__then { margin: 14px 0 0 !important; font-weight: 700; color: var(--text) !important; }
.aia-first .aia-knows { margin-top: 8px; }
.aia-first .aia-prompt { width: 100%; }
.aia-first > .aia-prompt { margin-top: 8px; }

.aia-platform { scroll-margin-top: calc(var(--header-h, 70px) + 16px); }
.aia-platform__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.aia-platform__head .section-title { margin: 0; }
.aia-badge { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: var(--success-ink); background: color-mix(in srgb, var(--success) 14%, transparent); }
.aia-badge--wait { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.aia-url { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; margin-bottom: 16px; }
.aia-url__label { font-weight: 800; font-size: 14px; }
.aia-url code { flex: 1 1 280px; min-width: 0; overflow-wrap: anywhere; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; }
.aia-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.aia-steps li { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; }
.aia-steps figure { margin: 0; padding: 14px; background: var(--surface-2); }
.aia-steps li > div { position: relative; padding: 16px 18px 18px; }
.aia-steps b { position: absolute; top: -16px; inset-inline-start: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--primary-fill); font-size: 15px; box-shadow: 0 0 0 4px var(--surface); }
.aia-steps h3 { margin: 6px 0 6px; font-size: 16px; }
.aia-steps p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.8; }
.aia-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; color: var(--text-2); font-size: 13.5px; line-height: 1.8; }
.aia-note .ico { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--primary); }
.aia-wait { display: grid; grid-template-columns: minmax(0, 280px) 1fr; gap: 20px; align-items: center; }
.aia-wait figure { margin: 0; }
.aia-wait p { margin: 0 0 6px; line-height: 1.9; }
@media (max-width: 1000px) {
	.aia-steps { grid-template-columns: 1fr; max-width: 560px; }
	.aia-hero__art { display: none; }
}
@media (max-width: 680px) {
	.ai-pill { height: 36px; padding: 0 10px; font-size: 12.5px; gap: 4px; }
	.ai-pill .ico { width: 16px; height: 16px; }
	.aia-wait { grid-template-columns: 1fr; }
	.fab-ai { width: 44px; height: 44px; }
}
@media (max-width: 380px) {
	.ai-pill span { display: none; }
	.ai-pill { width: 36px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.aia-art__pulse, .aia-art__pulse-f { animation: none; }
	.ai-pill, .fab-ai, .aia-prompt { transition: none; }
}
