/* font also declared here (not only inline) so cache/optimizer plugins that strip inline styles keep it */
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/vazirmatn-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
/* =========================================================
   Etminan Tel — base styles (phase 1: tokens, header, mega menu, footer, mobile nav)
   ========================================================= */

:root {
  --et-red: #E53250;
  --et-red-2: #F0435E;
  --et-red-d: #C81E3E;
  --et-red-soft: #FDE8EC;
  --et-violet: #7B5CF0;
  --et-violet-2: #8B6CFF;
  --et-violet-d: #6A4BE0;
  --et-violet-soft: rgba(123, 92, 240, .12);
  --et-green: #22B573;
  --et-tone-red: var(--et-red);
  --et-tone-violet: var(--et-violet);
  --et-tone-amber: #F59E0B;
  --et-tone-green: #16A36A;
  --et-tone-blue: #2F80ED;
  --et-ink: #1E1C2A;
  --et-ink-2: #3E3B4F;
  --et-muted: #55526A;
  --et-muted-2: #67647C; /* 5:1 on the page background (WCAG AA) */
  --et-line: #EFEFF4;
  --et-line-2: #E6E5EE;
  --et-soft: #F4F4F7;
  --et-soft-2: #F7F7FA;
  --et-bg: #F6F6F9;
  --et-white: #FFFFFF;
  --et-grad-red: linear-gradient(135deg, var(--et-red-2), var(--et-red-d));
  --et-grad-violet: linear-gradient(140deg, var(--et-violet-2), var(--et-violet-d));
  --et-shadow: 0 14px 44px rgba(30, 28, 42, .09);
  --et-shadow-sm: 0 8px 20px rgba(30, 28, 42, .07);
  --et-r-sm: 14px;
  --et-r: 22px;
  --et-r-lg: 30px;
  --et-r-xl: 36px;
  --et-max: 1290px;
  --et-pad: 24px;
  --et-font: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
  --et-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.et {
  margin: 0;
  font-family: var(--et-font, 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif);
  font-size: 15px;
  line-height: 1.9;
  color: var(--et-ink);
  background: var(--et-bg);
  direction: rtl;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
:where(body.et) :where(button, input, select, textarea) { font-family: inherit; font-size: inherit; color: inherit; }
:where(body.et) :where(a) { color: inherit; text-decoration: none; }
:where(body.et) :where(img, svg, video) { max-width: 100%; height: auto; vertical-align: middle; }
:where(body.et) :where(h1, h2, h3, h4) { line-height: 1.5; margin: 0 0 .5em; font-weight: 900; }
:where(body.et) :where(p) { margin: 0 0 1em; }
:where(body.et) :focus-visible { outline: 2px solid var(--et-violet); outline-offset: 2px; border-radius: 8px; }
.et-ico { flex-shrink: 0; }
.et-sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.et-skip { position: absolute; top: -60px; right: 16px; z-index: 999; padding: 10px 16px; border-radius: 12px; background: var(--et-ink); color: #fff; }
.et-skip:focus { top: 12px; }
.et-container { width: 100%; max-width: var(--et-max); margin-inline: auto; padding-inline: var(--et-pad); }

/* soft page glows */
.et-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.et-bg::before, .et-bg::after { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; filter: blur(120px); opacity: .22; }
.et-bg::before { top: -260px; right: -200px; background: #FF8FA3; }
.et-bg::after { top: 40vh; left: -260px; background: #A08BFF; }

/* ---------- small building blocks ---------- */
.et-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 16px; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .25s var(--et-ease), box-shadow .25s; }
.et-btn--red { background: var(--et-grad-red); color: #fff !important; box-shadow: 0 12px 26px rgba(229, 50, 80, .28); }
.et-btn--dark { background: var(--et-ink); color: #fff !important; }
.et-btn--ghost { background: #fff; color: var(--et-ink) !important; box-shadow: var(--et-shadow-sm); }
.et-btn:hover { transform: translateY(-2px); }
.et-pill { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 12px rgba(30, 28, 42, .06); }
.et-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--et-violet); box-shadow: 0 0 0 4px rgba(123, 92, 240, .15); flex-shrink: 0; }
.et-badge-ico { width: 40px; height: 40px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.et-badge-ico.is-red { background: var(--et-grad-red); box-shadow: 0 8px 18px rgba(229, 50, 80, .35); }
.et-badge-ico.is-violet { background: var(--et-grad-violet); box-shadow: 0 8px 18px rgba(106, 75, 224, .35); }
.lift { transition: transform .35s var(--et-ease), box-shadow .35s var(--et-ease); }
.lift:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(30, 28, 42, .1); }

/* ---------- announcement ---------- */
.et-ann-wrap { padding-top: 12px; }
.et-ann { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; height: 44px; padding: 0 16px; border-radius: 16px; overflow: hidden; border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, #FF8FA3, var(--et-red) 45%, var(--et-violet)) border-box; }
.et-ann > * { position: relative; }
.et-ann .et-ann__glow { position: absolute; top: -40px; bottom: -40px; left: -20px; width: 220px; background: linear-gradient(120deg, #FF8FA3, var(--et-violet)); filter: blur(34px); opacity: .45; }
.et-ann .et-ann__sweep { position: absolute; top: 0; bottom: 0; width: 30%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.75), rgba(255,255,255,0)); transform: skewX(-15deg); animation: et-sweep 4.5s ease-in-out infinite; }
.et-ann__badge { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 999px; background: linear-gradient(120deg, var(--et-red-2), var(--et-red-d)); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; }
.et-ann__badge i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.et-ann__ico { color: var(--et-violet); }
.et-ann__t { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.et-ann__short { display: none; }
@keyframes et-sweep { 0% { right: -40%; } 60%, 100% { right: 120%; } }

/* ---------- sticky glass header ---------- */
.et-hdr-wrap { position: sticky; top: 10px; z-index: 50; margin-top: 12px; }
.admin-bar .et-hdr-wrap { top: 42px; }
.et-hdr-wrap.is-held { pointer-events: none; }
.et-hdr-wrap.is-held > * { pointer-events: auto; }
.et-hdr {
  position: relative; display: flex; flex-direction: column;
  padding: 10px 12px 0 14px; border-radius: 26px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: var(--et-shadow), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
}
.et-hdr__glow { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -1; pointer-events: none; }
.et-hdr__glow i { position: absolute; top: -30px; bottom: -30px; width: 220px; filter: blur(42px); opacity: .28; }
.et-hdr__glow i:first-child { right: -30px; background: linear-gradient(145deg, #FF8FA3, var(--et-red)); }
.et-hdr__glow i:last-child { left: -30px; background: linear-gradient(145deg, #A08BFF, var(--et-violet-d)); opacity: .3; }
.et-hdr__row { display: flex; align-items: center; gap: 14px; }
.et-hdr__acts { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-right: auto; }
.et-hdr__cart { width: auto !important; padding: 0 14px !important; border-radius: 16px !important; font-size: 14px; font-weight: 800; }
.et-hdr__cart .et-cart-count { position: static !important; transform: none !important; }
.et-hdr__bar { display: grid; grid-template-rows: 1fr; overflow: hidden; transition: grid-template-rows .35s var(--et-ease), opacity .25s; }
.et-hdr:not(.is-compact):not(.is-anim) .et-hdr__bar { overflow: visible; } /* dropdowns may leave the bar once it is fully open */
.et-hdr__barin { min-height: 0; display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 0; border-top: 1px solid rgba(30, 28, 42, .06); }
.et-hdr.is-compact .et-hdr__bar { grid-template-rows: 0fr; opacity: 0; overflow: hidden; pointer-events: none; }
.et-hdr.is-compact .et-hdr__barin { overflow: hidden; margin-top: 0; padding: 0; border-top-color: transparent; }
.et-hdr__barin { transition: margin .35s var(--et-ease), padding .35s var(--et-ease); }
.et-hdr.is-compact { padding-bottom: 10px; }
.et-hdr { transition: padding .35s var(--et-ease); }
.et-hdr__sep { width: 1px; height: 26px; background: rgba(30, 28, 42, .1); margin: 0 6px; flex-shrink: 0; }
.et-hdr__bar .et-nav { flex: 1; min-width: 0; flex-wrap: nowrap; }
.et-nav__more[hidden] { display: none; }
.et-nav__more .et-nav__sub { right: auto; left: 0; }
.et-nav__more .et-nav__subin .et-nav__item { width: 100%; }
.et-nav__more .et-nav__subin .et-nav__link { width: 100%; height: 42px; box-shadow: none; }
.et-nav__more .et-nav__subin .et-nav__link::after { display: none; }
.et-nav__more .et-nav__subin .et-nav__sub { position: static; opacity: 1; visibility: inherit; transform: none; padding: 0 12px 0 0; min-width: 0; }
.et-nav__more .et-nav__subin .et-nav__subin { box-shadow: none; border: 0; padding: 0; background: none; }
.et-nav__more .et-nav__subin .et-nav__caret { display: none; }
.et-hdr__bar .et-nav__link { height: 44px; }
.et-hdr__phone { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 6px 0 14px; border-radius: 14px; flex-shrink: 0; font-weight: 800; font-size: 14px; color: var(--et-ink); transition: background .2s; }
.et-hdr__phone span { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: var(--et-violet-soft); color: var(--et-violet-d); }
.et-hdr__phone:hover { background: #fff; }
.et-hdr__logo { display: flex; align-items: center; flex-shrink: 0; padding: 0 4px; }
.et-hdr__logo img { height: 40px; width: auto; display: block; mix-blend-mode: multiply; }
.et-hdr__burger { display: none; width: 44px; height: 44px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .85); cursor: pointer; align-items: center; justify-content: center; flex-shrink: 0; }
.et-hdr__megabtn {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; flex-shrink: 0;
  border: 0; border-radius: 16px; cursor: pointer; font-size: 14px; font-weight: 800;
  background: var(--et-ink); color: #fff; transition: background .25s, box-shadow .25s;
}
.et-hdr__megabtn[aria-expanded="true"] { background: var(--et-grad-violet); box-shadow: 0 10px 24px rgba(106, 75, 224, .35); }
.et-hdr__megabtn[aria-expanded="true"] .et-hdr__caret { transform: rotate(180deg); }
.et-hdr__caret { transition: transform .25s; }
.et-nav { display: flex; align-items: center; gap: 2px; }
.et-nav__item { position: relative; }
.et-nav__link { border: 0; background: none; font-family: inherit; cursor: pointer; position: relative; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 10px 0 12px; border-radius: 16px; color: var(--et-ink-2); font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.et-nav__ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, #fff); transition: background .25s, color .25s, transform .3s var(--et-ease); }
.et-nav__link::after { content: ""; position: absolute; right: 50%; bottom: 5px; width: 0; height: 3px; border-radius: 3px; background: var(--tone); transform: translateX(50%); transition: width .3s var(--et-ease); }
.et-nav__item:hover > .et-nav__link, .et-nav__link:focus-visible, .et-nav__link.is-current { background: #fff; color: var(--et-ink); box-shadow: 0 8px 20px rgba(30, 28, 42, .07); }
.et-nav__item:hover .et-nav__ico, .et-nav__link.is-current .et-nav__ico { background: var(--tone); color: #fff; transform: rotate(-8deg) scale(1.05); }
.et-nav__link.is-current::after { width: 18px; }
.et-nav__link.is-hot .et-nav__t { background: linear-gradient(90deg, var(--et-red), #FF7A59); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 900; }
.et-nav__chip { font-style: normal; font-size: 10px; font-weight: 900; color: #fff; background: var(--et-grad-red); padding: 2px 7px; border-radius: 999px; box-shadow: 0 4px 10px rgba(229, 50, 80, .35); animation: et-chip 2.4s ease-in-out infinite; }
@keyframes et-chip { 0%, 70%, 100% { transform: none; } 80% { transform: rotate(-8deg) scale(1.08); } 90% { transform: rotate(6deg); } }
.et-nav__link.is-new::before { content: ""; position: absolute; top: 8px; left: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--et-red); box-shadow: 0 0 0 3px var(--et-red-soft); }
.et-nav__caret { transition: transform .25s; opacity: .6; }
.et-nav__item:hover .et-nav__caret { transform: rotate(180deg); }
.et-nav__sub { position: absolute; top: 100%; right: 0; padding-top: 12px; min-width: 230px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--et-ease), visibility .2s; z-index: 5; }
.et-nav__item:hover > .et-nav__sub, .et-nav__item:focus-within > .et-nav__sub, .et-nav__more.is-open > .et-nav__sub { opacity: 1; visibility: visible; transform: none; }
.et-nav__subin { padding: 8px; border-radius: 20px; background: rgba(255, 255, 255, .96); border: 1px solid var(--et-line); box-shadow: var(--et-shadow); display: flex; flex-direction: column; gap: 2px; }
.et-nav__sl { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; font-size: 13.5px; font-weight: 600; color: var(--et-ink-2); transition: background .2s, color .2s, padding .2s; }
.et-nav__sl:hover, .et-nav__sl.is-current { background: color-mix(in srgb, var(--tone) 10%, #fff); color: var(--et-ink); padding-right: 16px; }
.et-nav__sl .et-ico { color: var(--tone); }
.et-hdr__cart, .et-hdr__user { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; min-width: 46px; flex-shrink: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); border: 1px solid rgba(30, 28, 42, .06); }
.et-hdr__user { border-radius: 16px; padding: 0 14px; font-size: 14px; font-weight: 800; }
.et-cart-count { position: absolute; top: -4px; left: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--et-red); color: #fff; font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.et-cart-count.is-empty { display: none; }
.et-hdr__login { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; flex-shrink: 0; border-radius: 16px; background: var(--et-grad-red); color: #fff !important; font-weight: 800; font-size: 14px; box-shadow: 0 10px 22px rgba(229, 50, 80, .3); }

/* ---------- search + live results ---------- */
.et-search { position: relative; flex: 1; max-width: 640px; min-width: 150px; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; margin-right: auto; border-radius: 16px; background: rgba(244, 244, 247, .85); border: 1px solid rgba(30, 28, 42, .05); }
.et-search:focus-within { background: #fff; border-color: rgba(123, 92, 240, .35); box-shadow: 0 0 0 4px rgba(123, 92, 240, .1); }
.et-search input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 14px; }
.et-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.et-search__ico { color: var(--et-muted-2); }
.et-search--m { display: none; }
.et-ls { position: absolute; top: calc(100% + 10px); right: 0; left: 0; min-width: 380px; z-index: 65; padding: 14px; border-radius: 26px; background: #fff; border: 1px solid var(--et-line); box-shadow: 0 24px 60px rgba(30, 28, 42, .16); }
.et-ls[hidden] { display: none; }
.et-ls__h { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--et-muted-2); margin-bottom: 8px; }
.et-ls__h b { color: var(--et-ink); font-size: 13px; }
.et-ls__hot { display: flex; flex-wrap: wrap; gap: 6px; }
.et-ls__hot a { height: 32px; padding: 0 12px; border-radius: 999px; background: var(--et-soft); display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--et-ink-2); }
.et-ls__hot a .et-ico { color: var(--et-red); }
.et-ls.has-results .et-ls__idle { display: none; }
.et-ls__res:empty { display: none; }
.et-ls__res { display: flex; flex-direction: column; gap: 4px; }
.et-ls__p { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 16px; }
.et-ls__p:hover, .et-ls__p.is-active { background: var(--et-soft-2); }
.et-ls__img { width: 50px; height: 50px; border-radius: 14px; background: var(--et-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.et-ls__img img { max-width: 40px; max-height: 40px; object-fit: contain; mix-blend-mode: multiply; }
.et-ls__n { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.7; }
.et-ls__pr { font-size: 12px; font-weight: 800; white-space: nowrap; }
.et-ls__pr.is-out { color: var(--et-muted-2); font-weight: 600; }
.et-ls__post { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 16px; background: rgba(123, 92, 240, .08); font-size: 12px; color: #5A3DD0; font-weight: 700; }
.et-ls__all { margin-top: 6px; height: 44px; border-radius: 14px; background: var(--et-ink); color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.et-ls__none { padding: 14px; text-align: center; font-size: 13px; color: var(--et-muted-2); }
.et-ls__load { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--et-red), var(--et-violet)); background-size: 200% 100%; animation: et-load 1s linear infinite; }
@keyframes et-load { to { background-position: -200% 0; } }

/* ---------- mega menu ---------- */
.et-mega { position: absolute; top: calc(100% + 12px); right: var(--et-pad); left: var(--et-pad); z-index: 60; }
.et-mega[hidden] { display: none; }
.et-mega__in {
  display: flex; gap: 16px; padding: 14px; border-radius: var(--et-r-lg);
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 30px 80px rgba(30, 28, 42, .16), 0 0 0 1px rgba(30, 28, 42, .05);
  animation: et-drop .28s var(--et-ease);
}
@keyframes et-drop { from { opacity: 0; transform: translateY(-8px); } }
.et-mega__empty { margin: 0; padding: 18px; font-size: 14px; color: var(--et-muted); }
.et-mega__tabs { width: 250px; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; max-height: 70vh; overflow-y: auto; }
.et-mega__tab { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 14px; border: 0; border-radius: 18px; background: transparent; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--et-ink-2); text-align: right; transition: background .2s, color .2s; }
.et-mega__tab:hover { background: var(--et-soft-2); }
.et-mega__tab[aria-selected="true"] { background: var(--et-ink); color: #fff; }
.et-mega__tab-in { display: flex; align-items: center; gap: 10px; }
.et-mega__tab-img { width: 28px; height: 28px; object-fit: contain; }
.et-mega__tab[aria-selected="true"] .et-mega__tab-img { filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.et-mega__tab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--et-violet); }
.et-mega__chev { opacity: .5; }
.et-mega__pane { flex: 1; min-width: 0; display: flex; gap: 16px; }
.et-mega__pane[hidden] { display: none; }
.et-mega__main { flex: 1; min-width: 0; border-radius: 24px; background: var(--et-bg); padding: 24px 26px; display: flex; flex-direction: column; gap: 20px; }
.et-mega__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.et-mega__head > span { display: flex; flex-direction: column; }
.et-mega__head b { font-size: 18px; }
.et-mega__head small { font-size: 12px; color: var(--et-muted-2); }
.et-mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.et-mega__col { display: flex; flex-direction: column; gap: 10px; }
.et-mega__col-h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; line-height: 1.6; }
.et-mega__link { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--et-muted); padding-right: 2px; line-height: 1.7; transition: color .2s, transform .2s; }
.et-mega__link::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #C9C7D6; flex-shrink: 0; }
.et-mega__link:hover { color: var(--et-violet-d); transform: translateX(-3px); }
.et-mega__link.is-price::before { background: var(--et-red); opacity: .5; }
.et-mega__side { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; padding: 10px 4px 4px; }
.et-mega__side-h { display: flex; align-items: center; gap: 12px; }
.et-mega__side-h > span:last-child { display: flex; flex-direction: column; line-height: 1.6; }
.et-mega__side-h b { font-size: 15px; }
.et-mega__side-h small { font-size: 11px; color: var(--et-muted-2); }
.et-mini { display: flex; gap: 12px; padding: 8px; border-radius: 22px; background: #fff; border: 1px solid var(--et-line); align-items: center; }
.et-mini__img { width: 76px; height: 76px; border-radius: 18px; background: var(--et-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.et-mini__img img { max-width: 62px; max-height: 62px; object-fit: contain; mix-blend-mode: multiply; }
.et-mini__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.et-mini__txt > span { font-size: 13px; font-weight: 800; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.et-mini__txt b { font-size: 14px; }
.et-mini__txt small { font-size: 11px; font-weight: 500; color: var(--et-muted-2); }
.et-mega__promo { margin-top: auto; position: relative; min-height: 88px; border-radius: 22px; overflow: hidden; background: var(--et-grad-violet); color: #fff !important; padding: 14px 18px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.et-mega__promo::after { content: ""; position: absolute; left: -30px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.et-mega__promo small { font-size: 12px; opacity: .85; }
.et-mega__promo b { font-size: 17px; }
.et-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(30, 28, 42, .18); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.et-scrim[hidden] { display: none; }

/* ---------- page shells ---------- */
.et-main { padding-top: 26px; padding-bottom: 40px; min-height: 50vh; }
.et-main--full { padding-top: 0; }
.et-page-h { margin: 8px 0 24px; }
.et-page-h h1 { font-size: 30px; margin: 0; }
.et-content { background: #fff; border: 1px solid var(--et-line); border-radius: var(--et-r-lg); padding: 30px; }
.et-empty { padding: 40px; text-align: center; color: var(--et-muted-2); }
.et-grid { display: grid; gap: 16px; }
.et-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.et-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; margin-bottom: 18px; }
.et-crumbs__i { display: inline-flex; }
.et-crumbs__i a, .et-crumbs__i:last-child { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--et-line); color: var(--et-muted); }
.et-crumbs__i:last-child { background: var(--et-violet-soft); border-color: transparent; color: var(--et-violet-d); font-weight: 700; }

/* post card */
.et-post { border-radius: var(--et-r-lg); border: 1px solid var(--et-line); padding: 10px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.et-post__img { position: relative; aspect-ratio: 16 / 9.4; border-radius: var(--et-r); overflow: hidden; background: var(--et-soft); display: block; }
.et-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--et-ease); }
.et-post:hover .et-post__img img { transform: scale(1.05); }
.et-post__tag { position: absolute; top: 10px; right: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 11px; font-weight: 800; }
.et-post__t { font-size: 15px; line-height: 1.85; padding: 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.et-post__ex { font-size: 12px; line-height: 1.9; color: var(--et-muted-2); padding: 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.et-post__ft { display: flex; justify-content: space-between; align-items: center; margin-top: auto; gap: 6px; }
.et-post__date { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--et-soft); font-size: 11px; color: var(--et-muted); white-space: nowrap; }
.et-post__more { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--et-violet-soft); color: var(--et-violet-d); font-size: 12px; font-weight: 800; }

/* 404 */
.et-404 { position: relative; overflow: hidden; border-radius: 44px; padding: 56px 40px; background: linear-gradient(140deg, #F3EFFF, #FFF0F3 70%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.et-404__num { display: flex; align-items: center; gap: 4px; font-size: 170px; font-weight: 900; line-height: 1; }
.et-404__num img { width: 170px; height: 170px; object-fit: contain; animation: et-float 4.5s ease-in-out infinite; }
.et-404 p { max-width: 480px; color: var(--et-muted); }
.et-404__acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
@keyframes et-float { 50% { transform: translateY(-10px); } }

/* ---------- footer ---------- */
.et-foot { margin-top: 56px; padding-bottom: 24px; }
.et-foot > .et-container { display: flex; flex-direction: column; gap: 18px; }

/* "questions?" band */
.et-fcta { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 22px; min-height: 150px; padding: 22px 34px 22px 26px; border-radius: var(--et-r-xl); background: linear-gradient(120deg, #2A1D63, #4B33B5 55%, #7B5CF0); color: #fff; box-shadow: 0 24px 50px rgba(75, 51, 181, .28); }
.et-fcta__bg i { position: absolute; border-radius: 50%; z-index: -1; }
.et-fcta__bg i:first-child { width: 360px; height: 360px; left: -80px; top: -160px; background: radial-gradient(circle, rgba(255, 143, 163, .55), transparent 65%); }
.et-fcta__bg i:last-child { width: 300px; height: 300px; right: 30%; bottom: -200px; background: radial-gradient(circle, rgba(160, 139, 255, .6), transparent 65%); }
.et-fcta__img { width: 128px; height: 128px; object-fit: contain; flex-shrink: 0; margin: -10px 0 -30px; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .3)); animation: et-float 5s ease-in-out infinite; }
.et-fcta__txt { flex: 1; min-width: 0; }
.et-fcta__txt h2 { margin: 0 0 6px; font-size: 22px; font-weight: 900; line-height: 1.6; }
.et-fcta__txt p { margin: 0; font-size: 13.5px; line-height: 2; color: rgba(255, 255, 255, .78); }
.et-fcta__txt b { color: #fff; font-weight: 700; white-space: nowrap; }
.et-fcta__acts { display: flex; gap: 10px; flex-shrink: 0; }
.et-fcta__btn { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px; border-radius: 18px; font-weight: 800; font-size: 15px; transition: transform .25s var(--et-ease), box-shadow .25s; }
.et-fcta__btn.is-call { background: #fff; color: var(--et-ink); box-shadow: 0 12px 26px rgba(0, 0, 0, .2); }
.et-fcta__btn.is-call .et-ico { color: var(--et-red); }
.et-fcta__btn.is-chat { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.et-fcta__btn:hover { transform: translateY(-3px); }

.et-foot__card { background: #fff; border: 1px solid var(--et-line); border-radius: var(--et-r-xl); padding: 14px 14px 0; box-shadow: 0 10px 40px rgba(30, 28, 42, .04); }
.et-foot__trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.et-foot__trust li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 22px; background: color-mix(in srgb, var(--tone) 6%, #fff); border: 1px solid color-mix(in srgb, var(--tone) 12%, #fff); }
.et-foot__ti { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: linear-gradient(140deg, color-mix(in srgb, var(--tone) 80%, #fff), var(--tone)); box-shadow: 0 10px 20px color-mix(in srgb, var(--tone) 30%, transparent); }
.et-foot__trust b { display: block; font-size: 14px; font-weight: 800; color: var(--et-ink); }
.et-foot__trust small { display: block; font-size: 11.5px; color: var(--et-muted); margin-top: 2px; }

.et-foot__grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)) 1.4fr; gap: 30px; padding: 34px 20px 26px; }
.et-foot__brand p { font-size: 13px; line-height: 2.1; color: var(--et-muted); margin: 14px 0 16px; }
.et-foot__logo img { height: 40px; width: auto; mix-blend-mode: multiply; }
.et-foot__social { display: flex; gap: 8px; }
.et-foot__social a { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; color: #fff; transition: transform .25s var(--et-ease), box-shadow .25s; }
.et-foot__social a.is-instagram { background: linear-gradient(45deg, #F9A825, #E1306C 50%, #833AB4); }
.et-foot__social a.is-telegram { background: linear-gradient(140deg, #37AEE2, #1E96C8); }
.et-foot__social a.is-whatsapp { background: linear-gradient(140deg, #4DD86A, #1FAF4B); }
.et-foot__social a:hover { transform: translateY(-3px) rotate(-6deg); box-shadow: 0 10px 18px rgba(30, 28, 42, .18); }
.et-foot__h { font-size: 15px; font-weight: 800; margin: 6px 0 16px; display: flex; align-items: center; gap: 8px; }
.et-foot__h::before { content: ""; width: 6px; height: 18px; border-radius: 3px; background: linear-gradient(var(--et-red), var(--et-violet)); }
.et-foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.et-foot__links a { position: relative; display: inline-flex; align-items: center; gap: 0; padding: 5px 0; font-size: 13.5px; color: var(--et-muted); transition: color .2s, gap .25s var(--et-ease); }
.et-foot__links a::before { content: ""; width: 0; height: 2px; border-radius: 2px; background: var(--et-red); transition: width .25s var(--et-ease); }
.et-foot__links a:hover { color: var(--et-ink); gap: 8px; }
.et-foot__links a:hover::before { width: 10px; }
.et-foot__phone { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 12px; border-radius: 18px; background: var(--et-soft-2); transition: background .2s; }
.et-foot__phone:hover { background: var(--et-red-soft); }
.et-foot__pi { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--et-grad-red); color: #fff; flex-shrink: 0; }
.et-foot__phone small { display: block; font-size: 11px; color: var(--et-muted); }
.et-foot__phone b { display: block; font-size: 17px; font-weight: 900; letter-spacing: .5px; }
.et-foot__muted { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.9; color: var(--et-muted); margin: 0 0 8px; }
.et-foot__muted .et-ico { flex-shrink: 0; margin-top: 4px; color: var(--et-violet); }
.et-foot__promo { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 18px; background: var(--et-grad-violet); color: #fff; box-shadow: 0 12px 24px rgba(106, 75, 224, .28); transition: transform .25s var(--et-ease); }
.et-foot__promo:hover { transform: translateY(-3px); }
.et-foot__promo > span:nth-child(2) { flex: 1; }
.et-foot__promo small { display: block; font-size: 11px; opacity: .8; }
.et-foot__promo b { display: block; font-size: 14px; font-weight: 800; }
.et-foot__promo-i { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); }

.et-foot__bottom { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin: 0 -14px; border-top: 1px solid var(--et-line); border-radius: 0 0 var(--et-r-xl) var(--et-r-xl); background: var(--et-soft-2); }
.et-foot__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.et-foot__badges img { max-height: 72px; width: auto; border-radius: 14px; background: #fff; padding: 4px; border: 1px solid var(--et-line); }
.et-foot__copy { flex: 1; margin: 0; font-size: 12.5px; color: var(--et-muted-2); }
.et-foot__top { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 14px; background: #fff; border: 1px solid var(--et-line); font-size: 12.5px; font-weight: 700; color: var(--et-ink-2); transition: background .2s, color .2s; }
.et-foot__top:hover { background: var(--et-ink); color: #fff; }

/* ---------- mobile bottom nav ---------- */
.et-mnav { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1360px) {
  .et-nav__link { gap: 6px; padding: 0 8px; font-size: 13.5px; }
  .et-nav__ico { width: 28px; height: 28px; }
  .et-hdr__phone b { display: none; }
  .et-hdr__phone { padding: 0 5px; }
}
@media (max-width: 1240px) {
  .et-nav__ico { display: none; }
  .et-nav__chip { display: none; }
  .et-mega__side { display: none; }
  .et-hdr__cart-t { display: none; }
}
@media (max-width: 1100px) {
  .et-nav, .et-hdr__megabtn, .et-hdr__bar { display: none; }
  .et-hdr { padding-bottom: 10px; }
  .et-hdr__burger { display: flex; }
  .et-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .et-foot__brand, .et-foot__contact { grid-column: span 3; }
  .et-foot__contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; align-items: start; }
  .et-foot__contact .et-foot__h { grid-column: span 2; }
  .et-foot__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .et-fcta { flex-wrap: wrap; padding: 22px; }
  .et-fcta__img { width: 96px; height: 96px; margin: -6px 0; }
  .et-fcta__acts { width: 100%; }
  .et-fcta__btn { flex: 1; justify-content: center; }
  .et-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* mega menu becomes a right-side drawer */
  .et-mega { position: fixed; top: 0; bottom: 0; right: 0; left: auto; width: min(420px, 92vw); z-index: 70; }
  .et-mega__in { height: 100%; border-radius: 28px 0 0 28px; flex-direction: column; gap: 10px; padding: 14px; overflow: hidden; animation: et-slide .3s var(--et-ease); }
  .et-mega__tabs { width: auto; max-height: none; flex-direction: row; overflow-x: auto; overflow-y: hidden; flex-shrink: 0; padding-bottom: 4px; scrollbar-width: none; }
  .et-mega__tabs::-webkit-scrollbar { display: none; }
  .et-mega__tab { flex-shrink: 0; min-height: 44px; border-radius: 999px; background: var(--et-soft); padding: 0 14px; }
  .et-mega__chev { display: none; }
  .et-mega__tab-img { width: 22px; height: 22px; }
  .et-mega__pane { overflow-y: auto; flex: 1; padding-bottom: 96px; }
  .et-mega__main { padding: 18px; border-radius: 22px; }
  .et-mega__cols { grid-template-columns: 1fr; gap: 18px; }
  .admin-bar .et-mega { top: 46px; }
}
@keyframes et-slide { from { transform: translateX(40px); opacity: 0; } }

@media (max-width: 760px) {
  :root { --et-pad: 14px; }
  body.et { font-size: 14px; padding-bottom: 84px; }
  .et-ann { gap: 8px; padding: 0 12px; }
  .et-ann__long { display: none; }
  .et-ann__short { display: inline; }
  .et-ann__ico { display: none; }
  .et-hdr-wrap { top: 8px; }
  .et-hdr { padding: 8px; border-radius: 22px; }
  .et-hdr__row { flex-wrap: wrap; gap: 8px; }
  .et-hdr__logo { margin-left: auto; }
  .et-hdr__acts { gap: 6px; }
  .et-hdr__cart { padding: 0 !important; width: 44px !important; justify-content: center; }
  .et-hdr__cart-t { display: none; }
  .et-hdr__cart .et-cart-count { position: absolute !important; top: -4px; left: -4px; }
  .et-hdr__logo img { height: 30px; }
  .et-hdr__row > .et-search:not(.et-search--m) { display: none; }
  .et-search--m { display: flex; order: 9; width: 100%; flex-basis: 100%; margin: 0; }
  .et-hdr__login { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .et-hdr__login-t, .et-hdr__user-t { display: none; }
  .et-hdr__user { width: 44px; padding: 0; }
  .et-hdr__cart, .et-hdr__user, .et-hdr__login { height: 44px; min-width: 44px; }
  .et-ls { min-width: 0; border-radius: 22px; }
  .et-page-h h1 { font-size: 23px; }
  .et-content { padding: 18px; border-radius: 24px; }
  .et-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .et-foot { margin-top: 36px; padding-bottom: 96px; }
  .et-foot__card { padding: 10px 10px 0; border-radius: 28px; }
  .et-foot__grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; padding: 24px 8px 20px; }
  .et-foot__brand, .et-foot__contact { grid-column: span 2; }
  .et-foot__contact { display: block; }
  .et-foot__trust { gap: 8px; }
  .et-foot__trust li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 18px; }
  .et-foot__ti { width: 40px; height: 40px; border-radius: 13px; }
  .et-foot__bottom { flex-wrap: wrap; margin: 0 -10px; padding: 14px 16px; border-radius: 0 0 28px 28px; }
  .et-foot__copy { flex-basis: 100%; order: 3; text-align: center; }
  .et-foot__top { margin-inline-start: auto; }
  .et-fcta { border-radius: 28px; gap: 12px; padding: 18px; }
  .et-fcta__txt h2 { font-size: 17px; }
  .et-fcta__img { width: 76px; height: 76px; }
  .et-fcta__acts { flex-direction: column; }
  .et-404 { padding: 36px 18px; border-radius: 30px; }
  .et-404__num { font-size: 96px; }
  .et-404__num img { width: 96px; height: 96px; }

  .et-mnav {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
    position: fixed; right: 10px; left: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55;
    padding: 6px; border-radius: 24px;
    background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 14px 40px rgba(30, 28, 42, .14);
    -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  }
  .et-mnav > a, .et-mnav > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border: 0; background: transparent; border-radius: 18px; color: var(--et-ink-2); font-size: 11px; font-weight: 700; cursor: pointer; }
  .et-mnav > .is-on, .et-mnav > button[aria-expanded="true"] { background: var(--et-ink); color: #fff; }
  .et-mnav__ico { position: relative; display: flex; }
  .et-mnav .et-cart-count { top: -6px; left: -10px; }
}

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

/* temporary front page (replaced in phase 2) */
.et-home-ph { border-radius: var(--et-r-xl); padding: 44px 40px; background: linear-gradient(120deg, #F3EFFF, #FFF0F3); margin-bottom: 22px; }
.et-home-ph h1 { font-size: 32px; margin: 0 0 6px; }
.et-home-ph p { margin: 0; color: var(--et-muted); }
.et-cats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.et-cat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px 16px; border-radius: var(--et-r-lg); background: #fff; border: 1px solid var(--et-line); text-align: center; }
.et-cat__img { position: relative; width: 100%; aspect-ratio: 1; border-radius: var(--et-r); background: var(--et-soft); margin-bottom: 6px; }
.et-cat__img img { position: absolute; inset: 15%; width: 70%; height: 70%; object-fit: contain; mix-blend-mode: multiply; }
.et-cat b { font-size: 14px; }
.et-cat small { font-size: 12px; color: var(--et-muted-2); }
@media (max-width: 1100px) { .et-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .et-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .et-home-ph { padding: 26px 20px; border-radius: 28px; } .et-home-ph h1 { font-size: 22px; } }

/* =========================================================
   Product cards (shared: home, archives, widgets)
   ========================================================= */
.et-pc { position: relative; background: #fff; border: 1px solid var(--et-line); border-radius: var(--et-r-lg); padding: 8px 8px 12px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.et-pc__link { display: flex; flex-direction: column; gap: 12px; }
.et-pc__media { position: relative; height: 196px; border-radius: 24px; background: var(--et-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.et-pc__media img { max-height: 150px; max-width: 78%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--et-ease); }
.et-pc:hover .et-pc__media img { transform: scale(1.06); }
.et-pc__off { position: absolute; top: 12px; right: 12px; z-index: 1; padding: 2px 11px; border-radius: 999px; background: #D6361B; color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 6px 16px rgba(214, 54, 27, .3); }
.et-pc__oos { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 2px 11px; border-radius: 999px; background: var(--et-ink); color: #fff; font-size: 11px; font-weight: 700; }
.et-pc.is-out .et-pc__media img { filter: grayscale(.8); opacity: .7; }
.et-pc__info { padding: 0 8px; display: flex; flex-direction: column; gap: 2px; }
.et-pc__t { font-size: 14.5px; line-height: 1.8; height: 52px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.et-pc__brand { font-size: 12px; color: var(--et-muted-2); min-height: 18px; }
.et-pc__price { margin: 0 4px; border-radius: 20px; background: var(--et-soft); padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 0; min-height: 64px; justify-content: center; }
.et-pc__now b { font-size: 17px; }
.et-pc__now small { font-size: 12px; color: var(--et-muted); }
.et-pc__price s { font-size: 12px; color: var(--et-muted-2); }
.et-pc__price.is-call { font-size: 13px; font-weight: 700; color: var(--et-muted); }
.et-pc__acts { display: flex; gap: 8px; padding: 0 4px; }
.et-pc__add { flex: 1; height: 46px; border-radius: 999px; background: var(--et-violet-soft); color: var(--et-violet-d) !important; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s, color .2s; }
.et-pc__add:hover { background: var(--et-violet-d); color: #fff !important; }
.et-pc__add.is-out { background: var(--et-soft); color: var(--et-muted) !important; }
.et-pc__plus { width: 20px; height: 20px; border-radius: 7px; border: 1.6px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; }
.et-pc__add.loading { opacity: .6; pointer-events: none; }
.et-pc__add.added .et-pc__plus { background: currentColor; }
.et-pc__acts .added_to_cart { display: none; }

/* compact row card */
.et-pr { position: relative; background: #fff; border: 1px solid var(--et-line); border-radius: var(--et-r-lg); padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.et-pr__link { display: flex; gap: 14px; align-items: stretch; }
.et-pr__media { width: 112px; height: 112px; border-radius: 22px; background: var(--et-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.et-pr__media img { max-width: 90px; max-height: 90px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.et-pr__info { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; min-width: 0; flex: 1; }
.et-pr__rank { align-self: flex-start; padding: 1px 10px; border-radius: 999px; background: var(--et-ink); color: #fff; font-size: 11px; font-weight: 800; }
.et-pr__t { font-size: 14px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.et-pr__foot { display: flex; gap: 8px; align-items: center; }
.et-pr__price { flex: 1; min-height: 44px; border-radius: 999px; background: var(--et-soft); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; }
.et-pr__price b { font-size: 15px; }
.et-pr__price small, .et-pr__price s { font-size: 11px; color: var(--et-muted-2); }
.et-pr__add { width: 64px; height: 44px; border-radius: 999px; background: var(--et-violet-soft); color: var(--et-violet-d) !important; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; flex-shrink: 0; }
.et-pr__add .et-pc__plus { display: none; }
.et-pr__add.is-out { width: auto; padding: 0 12px; font-size: 12px; background: var(--et-soft); color: var(--et-muted) !important; }

/* mini item */
.et-pm { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 22px; transition: background .2s; }
.et-pm:hover { background: var(--et-soft-2); }
.et-pm__img { width: 72px; height: 72px; border-radius: 18px; background: var(--et-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.et-pm__img img { max-width: 58px; max-height: 58px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.et-pm__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.et-pm__t { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.et-pm__p { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: var(--et-soft); }
.et-pm__p b { font-size: 13px; }
.et-pm__p small { font-size: 11px; color: var(--et-muted-2); }

@media (max-width: 760px) {
  .et-pc { border-radius: 24px; padding: 6px 6px 10px; gap: 8px; }
  .et-pc__media { height: 150px; border-radius: 20px; }
  .et-pc__media img { max-height: 116px; }
  .et-pc__t { font-size: 13px; height: 46px; }
  .et-pc__price { min-height: 54px; padding: 8px; }
  .et-pc__now b { font-size: 15px; }
  .et-pc__add { height: 42px; font-size: 13px; }
  .et-pc__add-t { display: inline; }
}

/* settings: non-sticky header */
.et-no-sticky .et-hdr-wrap { position: relative; top: 0; }

/* =========================================================
   Mini-cart drawer
   ========================================================= */
html.et-lock { overflow: hidden; }
.et-mc { position: fixed; inset: 0; z-index: 9990; }
.et-mc__scrim { position: absolute; inset: 0; background: rgba(20, 18, 34, .42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.et-mc__panel { position: absolute; top: 12px; bottom: 12px; left: 12px; width: min(430px, calc(100vw - 24px)); display: flex; flex-direction: column; border-radius: 30px; background: rgba(255, 255, 255, .96); border: 1px solid #fff; box-shadow: 0 30px 80px rgba(20, 18, 34, .28); overflow: hidden; transform: translateX(-110%); transition: transform .38s var(--et-ease); outline: 0; }
.et-mc.is-open .et-mc__scrim { opacity: 1; }
.et-mc.is-open .et-mc__panel { transform: none; }
.et-mc__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--et-line); background: linear-gradient(180deg, #FFF5F7, #fff); }
.et-mc__hi { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--et-grad-red); color: #fff; box-shadow: 0 10px 20px rgba(229, 50, 80, .28); }
.et-mc__head h2 { flex: 1; margin: 0; font-size: 17px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.et-mc__count { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--et-ink); color: #fff; font-size: 12px; display: inline-grid; place-items: center; }
.et-mc__x { width: 42px; height: 42px; border-radius: 14px; border: 0; background: var(--et-soft); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .3s var(--et-ease); }
.et-mc__x:hover { background: var(--et-ink); color: #fff; transform: rotate(90deg); }
.et-mc__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.et-mc__ship { margin: 14px 18px 0; padding: 12px 14px; border-radius: 16px; background: #F3F0FF; font-size: 12.5px; color: var(--et-ink-2); }
.et-mc__ship i { display: block; height: 6px; margin-top: 8px; border-radius: 6px; background: rgba(123, 92, 240, .15); position: relative; overflow: hidden; }
.et-mc__ship i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: var(--et-grad-violet); transition: width .5s var(--et-ease); }
.et-mc__ship.is-done { background: #E8F8F0; }
.et-mc__ship.is-done i::after { background: linear-gradient(90deg, #16A36A, #4DD86A); }
.et-mc__list { list-style: none; margin: 0; padding: 12px 14px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.et-mc__item { position: relative; display: flex; gap: 12px; padding: 12px; border-radius: 20px; background: #fff; border: 1px solid var(--et-line); transition: opacity .25s, transform .25s; }
.et-mc__item.is-leaving { opacity: .3; transform: translateX(-16px); }
.et-mc__img { width: 78px; height: 78px; flex-shrink: 0; border-radius: 16px; background: var(--et-soft-2); display: grid; place-items: center; overflow: hidden; }
.et-mc__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.et-mc__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.et-mc__name { font-size: 13px; font-weight: 700; line-height: 1.8; color: var(--et-ink); padding-left: 26px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.et-mc__meta { font-size: 11.5px; color: var(--et-muted); line-height: 1.8; }
.et-mc__meta dl, .et-mc__meta p { margin: 0; }
.et-mc__meta dt, .et-mc__meta dd { display: inline; margin: 0; }
.et-mc__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.et-mc__price { font-size: 14px; font-weight: 900; }
.et-mc__price .woocommerce-Price-currencySymbol { font-size: 11px; font-weight: 600; color: var(--et-muted); }
.et-mc__one { font-size: 12px; color: var(--et-muted); }
.et-mc__rm { position: absolute; top: 10px; left: 10px; width: 28px; height: 28px; border-radius: 10px; border: 0; background: transparent; color: var(--et-muted-2); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.et-mc__rm:hover { background: var(--et-red-soft); color: var(--et-red); }
.et-qty { display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 3px; border-radius: 12px; background: var(--et-soft); }
.et-qty button { width: 30px; height: 30px; border-radius: 9px; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--et-ink); box-shadow: 0 2px 6px rgba(30, 28, 42, .06); transition: background .2s, color .2s; }
.et-qty button:hover:not(:disabled) { background: var(--et-red); color: #fff; }
.et-qty button:disabled { opacity: .4; cursor: not-allowed; }
.et-qty output { min-width: 28px; text-align: center; font-weight: 900; font-size: 14px; }
.et-mc__foot { padding: 14px 18px 18px; border-top: 1px solid var(--et-line); background: var(--et-soft-2); display: flex; flex-direction: column; gap: 8px; }
.et-mc__line { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--et-muted); }
.et-mc__line b { color: var(--et-ink); font-size: 15px; font-weight: 900; }
.et-mc__line.is-save b { color: var(--et-red); }
.et-mc__line.is-total b { font-size: 19px; }
.et-mc__line small, .et-mc__line .woocommerce-Price-currencySymbol { font-size: 11px; font-weight: 600; color: var(--et-muted); }
.et-mc__acts { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; margin-top: 6px; }
.et-mc__acts .et-btn { height: 52px; }
.et-mc__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px; text-align: center; }
.et-mc__empty img { width: 120px; height: 120px; object-fit: contain; animation: et-float 4.5s ease-in-out infinite; }
.et-mc__empty b { font-size: 17px; font-weight: 900; }
.et-mc__empty p { margin: 0 0 10px; color: var(--et-muted); font-size: 13px; }
.et-mc__busy { position: absolute; inset: 0; display: none; place-items: center; background: rgba(255, 255, 255, .55); }
.et-mc.is-busy .et-mc__busy { display: grid; }
.et-mc__busy span, .is-loading::after { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--et-red-soft); border-top-color: var(--et-red); animation: et-spin .7s linear infinite; }
@keyframes et-spin { to { transform: rotate(360deg); } }

/* toast */
.et-toast { position: fixed; bottom: 24px; left: 50%; z-index: 9999; transform: translate(-50%, 30px); opacity: 0; padding: 14px 22px; border-radius: 16px; background: var(--et-ink); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 20px 40px rgba(20, 18, 34, .3); transition: transform .3s var(--et-ease), opacity .3s; }
.et-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.et-toast.is-err { background: var(--et-red-d); }
@media (max-width: 760px) {
  .et-mc__panel { top: auto; bottom: 0; left: 0; width: 100%; max-height: 88vh; border-radius: 28px 28px 0 0; transform: translateY(105%); }
  .et-toast { bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) { .et-mc__panel, .et-mc__scrim { transition: none; } }

/* =========================================================
   App-like navigation (progress bar, skeletons, view transitions)
   ========================================================= */
@view-transition { navigation: auto; }
/* no view-transition-name on the header: it would make the header a backdrop root and break its glass blur */
::view-transition-old(root) { animation: et-vt-out .18s ease both; }
::view-transition-new(root) { animation: et-vt-in .28s var(--et-ease) both; }
@keyframes et-vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes et-vt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

.et-nprog { position: fixed; top: 0; right: 0; left: 0; z-index: 100000; height: 3px; pointer-events: none; }
.admin-bar .et-nprog { top: 32px; }
.et-nprog i { position: absolute; inset: 0 0 0 auto; width: 0; border-radius: 0 0 0 3px; background: linear-gradient(270deg, var(--et-red), #FF7A59, var(--et-violet)); box-shadow: 0 0 12px rgba(229, 50, 80, .6), 0 0 4px rgba(123, 92, 240, .6); }
.et-nprog.is-go i { animation: et-nprog 8s cubic-bezier(.1, .7, .2, 1) forwards; }
.et-nprog.is-done i { width: 100% !important; animation: none; opacity: 0; transition: width .2s, opacity .3s .15s; }
.et-nprog.is-arrive i { animation: et-narrive .6s ease forwards; }
@keyframes et-nprog { 0% { width: 0; } 10% { width: 35%; } 40% { width: 70%; } 100% { width: 94%; } }
@keyframes et-narrive { 0% { width: 70%; opacity: 1; } 60% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }

.et-navfx-hide { display: none !important; }
.et-skwrap { padding-top: 18px; min-height: 80vh; animation: et-vt-in .25s var(--et-ease); }
.et-sk i, .et-sk__crumb { display: block; border-radius: 16px; background: linear-gradient(90deg, #ECEBF2 0%, #F7F6FB 40%, #ECEBF2 80%); background-size: 300% 100%; animation: et-shim 1.3s linear infinite; }
@keyframes et-shim { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.et-sk__crumb { width: 260px; height: 30px; border-radius: 999px; margin-bottom: 20px; }
.et-sk__title { width: 280px; height: 36px; margin-bottom: 18px; }
.et-sk__chips { display: flex; gap: 10px; margin-bottom: 20px; overflow: hidden; }
.et-sk__chips .c { flex: 0 0 120px; height: 42px; border-radius: 999px; }
.et-sk__chips .cat { flex: 1 0 140px; height: 150px; border-radius: 26px; }
.et-sk__cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.et-sk__cards .card { aspect-ratio: .68; border-radius: 26px; }
.et-sk__hero { display: grid; grid-template-columns: 2.2fr 1fr; gap: 16px; margin-bottom: 24px; }
.et-sk__hero i { height: 380px; border-radius: 32px; }
.et-sk__pg { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 340px; gap: 20px; }
.et-sk__img { aspect-ratio: 1; border-radius: 32px !important; }
.et-sk__buy { height: 420px; border-radius: 32px !important; }
.et-sk__lines { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.et-sk__lines i { height: 16px; width: 100%; }
.et-sk__lines .h { height: 26px; }
.et-sk__lines .w90 { width: 90%; } .et-sk__lines .w70 { width: 70%; } .et-sk__lines .w40 { width: 40%; } .et-sk__lines .w30 { width: 30%; }
.et-sk__feat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.et-sk__feat .f { height: 58px; }
.et-sk__cover { height: 320px; border-radius: 32px !important; margin-bottom: 22px; }
.et-sk--page { max-width: 860px; margin: 0 auto; }
@media (max-width: 1100px) {
  .et-sk__pg { grid-template-columns: 1fr 1fr; } .et-sk__buy { display: none !important; }
  .et-sk__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .et-sk__pg, .et-sk__hero { grid-template-columns: 1fr; }
  .et-sk__hero i { height: 200px; } .et-sk__hero i + i { display: none; }
  .et-sk__cards { grid-template-columns: 1fr 1fr; }
  .et-sk__cover { height: 200px; }
}


/* phones: calmer background — fewer, softer colour blobs */
@media (max-width: 760px) {
  .et-bg { opacity: .35; }
  .et-hdr__glow { opacity: .35; }
  .et-ann__sweep { display: none; }
}

/* phones: no accidental zoom.
   - iOS zooms the page when a field under 16px gets focus → every field is 16px on phones;
   - double-tap zoom is turned off (pinch-zoom stays available for accessibility). */
html { touch-action: manipulation; }
@media (max-width: 760px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; }
}

/* local letter avatar (replaces gravatar) */
.et-avatar { display: inline-grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, #EDE8FF, #DCEBFF); color: #4A2FB8; font-weight: 900; line-height: 1; }

/* product labels on cards (only labels marked «روی کارت») */
.et-pc__lbls { position: absolute; z-index: 1; bottom: 10px; right: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 4px; pointer-events: none; }
.et-pc__lbl { --bc: #7B5CF0; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--bc) 12%, #fff); color: var(--bc); border: 1px solid color-mix(in srgb, var(--bc) 25%, #fff); font-size: 10.5px; font-weight: 800; line-height: 1.8; white-space: nowrap; }

/* header menu: badge colours + icon styles (settings › هدر) */
.et-nav__chip { display: inline-flex; align-items: center; gap: 2px; }
.et-nav__chip.is-violet { background: var(--et-grad-violet); box-shadow: 0 4px 10px rgba(106, 75, 224, .3); }
.et-nav__chip.is-green { background: linear-gradient(120deg, #2BC47E, #179E62); box-shadow: 0 4px 10px rgba(34, 181, 115, .3); }
.et-nav__chip.is-amber { background: linear-gradient(120deg, #FFA23A, #F07B12); box-shadow: 0 4px 10px rgba(240, 123, 18, .3); }
.et-nav__chip.is-dark { background: var(--et-ink); box-shadow: none; }
.et-nav__sl .et-nav__chip { margin-inline-start: auto; animation: none; }
.et-navs-plain .et-nav__ico { width: 22px; height: 22px; background: none; }
.et-navs-plain .et-nav__item:hover .et-nav__ico, .et-navs-plain .et-nav__link.is-current .et-nav__ico { background: none; color: var(--tone); transform: scale(1.12); }
.et-navs-mono .et-nav__ico { color: var(--et-ink-2); background: var(--et-soft); }
.et-navs-mono .et-nav__item:hover .et-nav__ico, .et-navs-mono .et-nav__link.is-current .et-nav__ico { background: var(--et-ink); color: #fff; }

/* footer trust seals (Enamad, Samandehi, Torob…) */
.et-foot__badges { align-items: center; }
.et-foot__badges a { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 20px; background: #fff; border: 1px solid var(--et-line); box-shadow: 0 6px 16px rgba(30, 28, 42, .05); transition: transform .25s var(--et-ease), box-shadow .25s; overflow: hidden; }
.et-foot__badges a:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(30, 28, 42, .1); }
.et-foot__badges a img { max-width: 80px !important; max-height: 80px !important; width: auto !important; height: auto !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; }
@media (max-width: 760px) { .et-foot__badges { justify-content: center; } .et-foot__badges a { width: 78px; height: 78px; border-radius: 16px; } .et-foot__badges a img { max-width: 68px !important; max-height: 68px !important; } }
.et-nav__link > .et-nav__ico { order: -1; }
.et-nav__link > .et-nav__caret { order: 9; }
.et-nav__t { display: inline-flex; align-items: center; }
.et-nav__t .et-fire-badge { margin: 0 6px 0 0 !important; -webkit-text-fill-color: #fff; }
.et-nav__ico .et-fire-badge { display: none !important; }
/* closed drop-downs never catch the mouse */
.et-nav__sub { pointer-events: none; }
.et-nav__item:hover > .et-nav__sub, .et-nav__item:focus-within > .et-nav__sub, .et-nav__more.is-open > .et-nav__sub, .et-nav__more.is-open .et-nav__sub { pointer-events: auto; }
.et-nav__more:hover .et-nav__sub, .et-nav__more:focus-within .et-nav__sub { pointer-events: auto; }

/* announcement bar: countdown + close */
.et-ann-wrap { position: relative; }
.et-ann__timer { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 9px; background: var(--et-ink); color: #fff; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .5px; white-space: nowrap; }
.et-ann__timer:empty { display: none; }
.et-ann__x { position: absolute; top: 50%; inset-inline-end: 22px; transform: translateY(-50%); margin-top: 6px; width: 28px; height: 28px; border-radius: 10px; border: 0; background: rgba(30, 28, 42, .06); color: var(--et-ink); font-size: 18px; line-height: 1; cursor: pointer; z-index: 2; }
.et-ann__x:hover { background: rgba(30, 28, 42, .12); }
@media (max-width: 760px) { .et-ann__x { display: none; } .et-ann__timer { height: 22px; padding: 0 7px; font-size: 11px; } }

/* ===== third-party: Telegram/AI chat widget & AI review summary, App Center badge ===== */
#sstc-chat-button { right: 24px !important; bottom: 24px !important; width: 58px !important; height: 58px !important; border: 0 !important; background: linear-gradient(135deg, #FF8FA3, var(--et-red) 55%, var(--et-violet)) !important; box-shadow: 0 14px 30px rgba(229, 50, 80, .35) !important; }
#sstc-chat-button #sstc-bot-svg { color: #fff !important; width: 28px !important; height: 28px !important; }
#sstc-chat-iframe { right: 24px !important; bottom: 96px !important; border-radius: 26px !important; box-shadow: 0 30px 70px rgba(20, 18, 34, .25) !important; }
body.et-has-fab #sstc-chat-button { bottom: 96px !important; }
@media (max-width: 760px) {
  #sstc-chat-button { right: 14px !important; bottom: calc(88px + env(safe-area-inset-bottom)) !important; width: 50px !important; height: 50px !important; }
  #sstc-chat-iframe { right: 8px !important; left: 8px !important; width: auto !important; bottom: calc(84px + env(safe-area-inset-bottom)) !important; max-height: calc(100vh - 110px) !important; }
  .single-product #sstc-chat-button { bottom: calc(150px + env(safe-area-inset-bottom)) !important; }
}
#ai_review { margin: 0 0 18px !important; padding: 18px !important; border: 1px solid var(--et-line) !important; border-radius: 22px !important; background: linear-gradient(180deg, #F6F3FF, #fff 60%) !important; }
#ai_review .product-reviews__content-comments-ai-title { border-bottom-color: var(--et-line) !important; }
#ai_review .product-reviews__content-comments-ai-title-texts--head { font-size: 15px !important; font-weight: 900 !important; color: var(--et-ink) !important; }
#ai_review .ai-summary-seo-content h4::before { background: var(--et-violet) !important; }
#ai_review .ai-summary-seo-content p, #ai_review .ai-summary-seo-content li { color: #55526A !important; }
.et-sp__aislot:empty { display: none; }
.et-sp__aislot #ai_review { margin: 14px 0 0 !important; }
.product-head-link_ai { font-size: 12.5px; font-weight: 700; color: var(--et-violet-d) !important; }

/* Elementor kit typography (e.g. Roboto / Roboto Slab left from an old kit) → the theme font, so nothing falls back to serif */
body.et { --e-global-typography-primary-font-family: 'Vazirmatn'; --e-global-typography-secondary-font-family: 'Vazirmatn'; --e-global-typography-text-font-family: 'Vazirmatn'; --e-global-typography-accent-font-family: 'Vazirmatn'; }
html { font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif; }

/* ===================== 1.3.3 ===================== */
/* footer: as many link columns as there are distinct footer menus */
.et-foot__grid { grid-template-columns: 1.5fr repeat(var(--et-fcols, 3), minmax(0, 1fr)) 1.4fr; }
.et-foot__dev { margin: 0; font-size: 12px; color: var(--et-muted-2); white-space: nowrap; }
.et-foot__dev a { font-weight: 800; color: var(--et-violet-d, #5B3FD6); text-decoration: none; unicode-bidi: isolate; transition: color .2s; }
.et-foot__dev a:hover { color: var(--et-red); }
@media (max-width: 1100px) {
  .et-foot__grid { grid-template-columns: repeat(var(--et-fcols, 3), minmax(0, 1fr)); }
  .et-foot__brand, .et-foot__contact { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  /* body already keeps 84px free for the bottom bar — no second empty band under the footer */
  .et-foot { padding-bottom: 14px; }
  .et-foot__grid { grid-template-columns: 1fr 1fr; }
  .et-foot__dev { flex-basis: 100%; order: 4; text-align: center; margin-top: -6px; }
  /* product page: no bottom bar, the chat button sits level with the accessories button */
  .single-product #sstc-chat-button { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
  .single-product #sstc-chat-iframe { bottom: calc(160px + env(safe-area-inset-bottom)) !important; }
}

/* phones: cart icon shakes when touched (and the phone gives a short vibration — see main.js) */
@keyframes et-cart-shake {
  0%, 100% { transform: rotate(0); }
  12% { transform: rotate(-16deg) scale(1.08); }
  26% { transform: rotate(13deg) scale(1.08); }
  40% { transform: rotate(-10deg); }
  54% { transform: rotate(7deg); }
  68% { transform: rotate(-4deg); }
  82% { transform: rotate(2deg); }
}
.et-hdr__cart > .et-ico, .et-mnav__ico > .et-ico { transform-origin: 50% 15%; }
.et-cart-shake > .et-ico, .et-cart-shake .et-mnav__ico > .et-ico { animation: et-cart-shake .65s cubic-bezier(.36, .07, .19, .97) both; }
.et-cart-shake .et-cart-count { animation: et-cart-pop .5s ease both; }
@keyframes et-cart-pop { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .et-cart-shake > .et-ico, .et-cart-shake .et-mnav__ico > .et-ico, .et-cart-shake .et-cart-count { animation: none; } }

/* header nav: until main.js has moved the extra items into «بیشتر», clip them instead of letting them spill out of the header */
/* the bar must never grow wider than the header — otherwise the nav never «overflows» and nothing moves into «بیشتر» */
.et-hdr__bar, .et-hdr__barin { min-width: 0; max-width: 100%; }
.et-hdr__bar .et-nav:not(.is-fit) { overflow: hidden; }
/* WooCommerce's PhotoSwipe dialog is never used by this theme (own lightbox) — keep it out of the page if a plugin prints it */
.pswp:not(.pswp--open) { display: none !important; }

/* phones: an open mega menu sits above everything pinned to the bottom (product buy bar, chat, accessories button) */
@media (max-width: 1100px) {
  .et-mega-open .et-hdr-wrap { z-index: 95; }
  .et-mega-open .et-sp__bar, .et-mega-open #sstc-chat-button, .et-mega-open body > .et-acc-fab { display: none !important; }
}

/* 1.6.6 — phones: no pale blue box over every tapped link/icon (WebKit/Blink tap highlight); :focus-visible rings stay for keyboards */
html, body, a, button, input, select, textarea, label, summary, [role="button"], [tabindex] { -webkit-tap-highlight-color: transparent; }
/* category drawer: close button, a visible strip of page to tap, scrim above page layers (but under the header that holds the drawer) */
.et-mega__bar { display: none; }
@media (max-width: 1100px) {
  .et-mega { width: min(420px, calc(100vw - 56px)); }
  .et-mega__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 4px 0; flex-shrink: 0; }
  .et-mega__bar b { font-size: 16px; font-weight: 800; }
  .et-mega__x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--et-soft); color: var(--et-ink); cursor: pointer; }
  .et-mega__x:hover { background: var(--et-soft-2); }
  .et-mega-open .et-scrim { z-index: 90; }
}

/* 1.6.9 — phones: quick links (پیگیری سفارش، تماس با ما، … from the header menu) as tiles at the top of the category drawer */
.et-mega__quick { display: none; }
@media (max-width: 1100px) {
  .et-mega__quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; flex-shrink: 0; }
  .et-mega__quick.is-many { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 16px) / 3.4); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .et-mega__quick.is-many::-webkit-scrollbar { display: none; }
  .et-mega__qk { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 76px; padding: 10px 6px; border-radius: 18px; background: var(--et-soft); color: var(--et-ink); text-align: center; text-decoration: none; transition: background .2s, transform .15s; }
  .et-mega__qk:hover { background: var(--et-soft-2); }
  .et-mega__qk:active { transform: scale(.96); }
  .et-mega__qi { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; color: var(--tone, var(--et-violet)); background: color-mix(in srgb, var(--tone, var(--et-violet)) 12%, #fff); }
  .et-mega__qt { font-size: 11.5px; font-weight: 700; line-height: 1.5; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
