
@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap");

:root {

  --bg: #f5f8fe;
  --bg-2: #eef4ff;
  --surface: #ffffff;
  --surface-2: #f8faff;
  --line: #e2e9f5;
  --line-strong: #cfdbef;
  --ink: #21294d;
  --ink-2: #3d4670;
  --muted: #5b6584;
  --blue: #3377e8;
  --blue-600: #2a66d0;
  --blue-soft: #ebf1fd;
  --blue-ink: #1c234f;
  --green: #2ac381;
  --green-soft: #e8f9f1;
  --amber: #f5a623;
  --amber-soft: #fff6e5;
  --gold: #f6b81f;
  --red: #e5484d;
  --red-soft: #fdeef0;
  --grad-brand: linear-gradient(120deg, #3377e8 0%, #2158c4 100%);
  --grad-gold: linear-gradient(135deg, #ffd977 0%, #f6b81f 55%, #e09a0c 100%);
  --grad-deep: linear-gradient(140deg, #1c234f 0%, #3377e8 130%);
  --shadow-sm: 0 6px 16px -10px rgba(33, 41, 77, 0.3);
  --shadow: 0 18px 40px -24px rgba(33, 41, 77, 0.35);
  --shadow-lg: 0 30px 70px -35px rgba(33, 41, 77, 0.45);
  --shadow-blue: 0 16px 34px -16px rgba(51, 119, 232, 0.5);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.85;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(51, 119, 232, 0.18); color: var(--blue-ink); }
.main, .footer, .header { position: relative; z-index: 1; }
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
}
p { margin: 0; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eef3fc; }
::-webkit-scrollbar-thumb { background: #c9d7ea; border-radius: 20px; border: 2px solid #eef3fc; }
::-webkit-scrollbar-thumb:hover { background: #b2c6e2; }
/* =========================================================
   TOP BAR
   ========================================================= */
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 40px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(42, 195, 129, 0.55);
  animation: pulse 2.4s infinite;
  flex: none;
}
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(42, 195, 129, 0.5); }
70% { box-shadow: 0 0 0 8px rgba(42, 195, 129, 0); }
100% { box-shadow: 0 0 0 0 rgba(42, 195, 129, 0); }
}
/* =========================================================
   HEADER + DROPDOWN NAV
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.header.is-stuck { box-shadow: 0 12px 30px -22px rgba(33, 41, 77, 0.45); }
.header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad-deep);
  box-shadow: 0 10px 22px -12px rgba(28, 35, 79, 0.85);
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.45) 48%, transparent 64%);
  transform: translateX(-120%);
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen {
0%, 55% { transform: translateX(-120%); }
75%, 100% { transform: translateX(120%); }
}
.brand-mark svg { width: 24px; height: 24px; color: #ffd977; position: relative; z-index: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 17px; font-weight: 900; letter-spacing: 0.12em; color: var(--ink); }
.brand-name em { font-style: normal; color: var(--blue); }
.brand-sub { font-size: 10.5px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 10px; }
.nav-item { position: relative; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: 0.2s var(--ease);
  white-space: nowrap;
  background: none;
  border: none;
}
.nav-link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); opacity: 0.7; }
.nav-link:hover { color: var(--blue); background: var(--blue-soft); }
.nav-item.is-active > .nav-link { color: var(--blue); }
.nav-item.is-active > .nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 13px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  min-width: 296px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s var(--ease);
  z-index: 70;
}
.nav-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  inset-inline: 0;
  height: 12px;
}
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu.wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu-link {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 11px;
  border-radius: 13px;
  transition: 0.18s var(--ease);
}
.menu-link:hover { background: var(--blue-soft); }
.menu-ic {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  flex: none;
}
.menu-ic svg { width: 18px; height: 18px; }
.menu-ic.gold { background: var(--amber-soft); color: #d18700; }
.menu-ic.green { background: var(--green-soft); color: #17a06a; }
.menu-ic.violet { background: #f1ecff; color: #7c5cf0; }
.menu-text { display: flex; flex-direction: column; line-height: 1.5; }
.menu-text b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.menu-text span { font-size: 11.5px; color: var(--muted); }
.menu-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.6;
}
.menu-all svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.menu-all:hover { background: var(--blue-soft); }
.nav-menu.wide .menu-all { grid-column: 1 / -1; }
.header-actions { display: flex; align-items: center; gap: 9px; margin-inline-start: auto; }
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: 0.2s var(--ease);
  position: relative;
}
.icon-btn:hover { color: var(--blue); border-color: var(--line-strong); background: var(--blue-soft); }
.icon-btn svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute;
  top: -5px;
  inset-inline-end: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: none;
  place-items: center;
  line-height: 19px;
  box-shadow: 0 4px 10px -4px rgba(51, 119, 232, 0.9);
}
.cart-count.show { display: grid; }
.burger { display: none; }
/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  padding: 11px 21px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  transition: 0.22s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { color: #fff; box-shadow: 0 20px 40px -18px rgba(51, 119, 232, 0.65); }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease);
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-gold {
  background: var(--grad-gold);
  border-color: transparent;
  color: #4a3200;
  font-weight: 800;
  box-shadow: 0 14px 30px -16px rgba(224, 154, 12, 0.7);
}
.btn-gold:hover { color: #4a3200; box-shadow: 0 20px 40px -16px rgba(224, 154, 12, 0.75); }
.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: 14px; }
.btn-sm { padding: 8px 14px; font-size: 12.5px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  transition: gap 0.25s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow:hover { gap: 12px; color: var(--blue-600); }
/* =========================================================
   SECTION / HEADINGS
   ========================================================= */
.section { padding: 78px 0; position: relative; }
.section-sm { padding: 54px 0; }
.section-white { background: #fff; border-block: 1px solid var(--line); }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.sec-head .eyebrow { margin-bottom: 10px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid #d6e4fb;
  background: var(--blue-soft);
}
.eyebrow.violet { color: #7c5cf0; border-color: #e2d9ff; background: #f3efff; }
.eyebrow.cyan { color: #0aa2c0; border-color: #cdeef6; background: #e9f8fc; }
.eyebrow.green { color: #17a06a; border-color: #cbeee0; background: var(--green-soft); }
.eyebrow svg { width: 13px; height: 13px; }
.sec-title { font-size: clamp(24px, 3vw, 36px); }
.sec-title em { font-style: normal; color: var(--blue); }
.sec-desc { color: var(--muted); font-size: 14.5px; max-width: 600px; margin-top: 8px; }
/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 54px 0 46px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 90% -10%, #e7f0ff 0%, transparent 65%),
    radial-gradient(700px 380px at 0% 100%, #fff6e6 0%, transparent 60%),
    linear-gradient(180deg, #f7faff, var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 7px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.hero-badge .tag { background: var(--grad-brand); color: #fff; font-weight: 800; font-size: 11px; padding: 3px 9px; border-radius: 100px; }
.hero h1 { font-size: clamp(31px, 4.4vw, 53px); font-weight: 900; line-height: 1.28; margin-bottom: 18px; }
.hero h1 .grad { color: var(--blue); }
.hero h1 .amber { color: #d98d00; }
.hero p.lead { color: var(--ink-2); font-size: 15.5px; max-width: 540px; margin-bottom: 26px; line-height: 1.95; }
.hero-cta { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.hero-stat { padding-inline: 24px; border-inline-start: 1px solid var(--line); }
.hero-stat:first-child { padding-inline-start: 0; border: none; }
.hero-stat b { display: block; font-size: 22px; font-weight: 900; color: var(--ink); }
.hero-stat span { font-size: 12px; color: var(--muted); }
/* hero visual */
.hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; }
.orb.gold { width: 260px; height: 260px; background: rgba(246, 184, 31, 0.28); top: 4%; inset-inline-end: 4%; animation: float 9s ease-in-out infinite; }
.orb.violet { width: 240px; height: 240px; background: rgba(51, 119, 232, 0.22); bottom: 2%; inset-inline-start: 2%; animation: float 11s ease-in-out infinite reverse; }
@keyframes float {
0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
50% { transform: translate3d(0, -18px, 0) scale(1.05); }
}
.star-card {
  position: relative;
  width: 100%;
  max-width: 342px;
  border-radius: 26px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 40px 70px -40px rgba(33, 41, 77, 0.5), 0 2px 0 #fff inset;
  transform: rotate(-2.4deg);
  animation: cardFloat 7s ease-in-out infinite;
  z-index: 2;
}
@keyframes cardFloat {
0%, 100% { transform: rotate(-2.4deg) translateY(0); }
50% { transform: rotate(-1deg) translateY(-10px); }
}
.sc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.sc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #17a06a;
  background: var(--green-soft);
  border: 1px solid #cbeee0;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 700;
}
.sc-logo { width: 36px; height: 36px; border-radius: 11px; background: var(--blue-soft); display: grid; place-items: center; }
.sc-logo svg { width: 20px; height: 20px; color: #2aabee; }
.sc-center { text-align: center; padding: 4px 0 16px; }
.sc-star {
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  box-shadow: 0 16px 30px -14px rgba(224, 154, 12, 0.8), inset 0 2px 0 rgba(255, 255, 255, 0.65);
}
.sc-star svg { width: 38px; height: 38px; color: #4a3200; }
.sc-amount { font-size: 32px; font-weight: 900; color: var(--ink); }
.sc-amount span { font-size: 13px; font-weight: 600; color: var(--muted); margin-inline-start: 6px; }
.sc-label { font-size: 12px; color: var(--muted); }
.sc-rows { display: grid; gap: 8px; margin-top: 16px; }
.sc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}
.sc-row b { font-weight: 800; color: var(--ink); }
.sc-row.accent { border-color: #cbeee0; background: var(--green-soft); color: #128a5b; }
.sc-row.accent b { color: #128a5b; }
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow);
  z-index: 3;
  animation: float 8s ease-in-out infinite;
}
.float-chip .ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.float-chip .ico svg { width: 15px; height: 15px; }
.float-chip small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 500; line-height: 1.4; }
.float-chip.paypal { top: 8%; inset-inline-start: -6%; animation-delay: 0.6s; }
.float-chip.paypal .ico { background: var(--blue-soft); color: var(--blue); }
.float-chip.delivery { bottom: 16%; inset-inline-end: -5%; animation-delay: 1.4s; }
.float-chip.delivery .ico { background: var(--green-soft); color: #17a06a; }
.float-chip.rate { bottom: 1%; inset-inline-start: 1%; animation-delay: 2s; }
.float-chip.rate .ico { background: var(--amber-soft); color: #d18700; }
/* =========================================================
   TICKER
   ========================================================= */
@keyframes marquee {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
.ticker-item .up { color: #17a06a; font-size: 11px; }
/* =========================================================
   CATEGORY PILLS
   ========================================================= */
.cat-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: 0.2s var(--ease);
}
.cat-pill svg { width: 16px; height: 16px; color: var(--blue); opacity: 0.85; }
.cat-pill:hover { border-color: #c9dcfb; color: var(--blue); background: var(--blue-soft); transform: translateY(-2px); }
.cat-pill.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; font-weight: 700; box-shadow: var(--shadow-sm); }
.cat-pill.is-active svg { color: #fff; opacity: 1; }
/* =========================================================
   TABS
   ========================================================= */
.tab-panel.is-active { display: block; }
@keyframes fadeUp {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: none; }
}
/* =========================================================
   CALCULATOR
   ========================================================= */
.calc {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.field .hint svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--blue);
  vertical-align: -3px;
}
.input, .select {
  width: 100%;
  height: 47px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-size: 14.5px;
  transition: 0.2s var(--ease);
  outline: none;
}
.input:focus, .select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(51, 119, 232, 0.13);
}
.input::placeholder { color: #8f9ab4; }
.select {
  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='%236b7595' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 13px center;
  background-size: 16px;
  padding-inline-end: 38px;
  cursor: pointer;
}
.select option { background: #fff; color: var(--ink); }
.input-group { position: relative; }


.input-group .input { padding-right: 64px; }
.input-group .suffix {
  position: absolute;
  inset-inline-end: auto;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  pointer-events: none;
}
.calc-result .lab { font-size: 12.5px; color: var(--ink-2); margin-bottom: 4px; }
.calc-result .val { font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; line-height: 1.3; color: var(--ink); }
.calc-result .val small { font-size: 14px; font-weight: 600; color: var(--muted); margin-inline-start: 5px; }
.calc-result .usd { font-size: 13px; color: var(--ink-2); font-weight: 700; margin-top: 3px; }
/* =========================================================
   PRODUCT CARDS
   ========================================================= */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.28s var(--ease);
  overflow: hidden;
  text-align: start;
  box-shadow: 0 1px 2px rgba(33, 41, 77, 0.03);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: #c9dcfb;
  box-shadow: var(--shadow);
}
.pc-badge {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--grad-gold);
  border: 1px solid #eebf53;
  color: #4a3200;
  z-index: 2;
  box-shadow: 0 6px 14px -10px rgba(224, 154, 12, 0.9);
}
.pc-badge.green { background: var(--green-soft); border-color: #cbeee0; color: #128a5b; }
.pc-badge.violet { background: #f3efff; border-color: #e2d9ff; color: #6d4ae0; }
.pc-badge.cyan { background: #e9f8fc; border-color: #cdeef6; color: #0a8fa8; }
.pc-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  border: 1px solid #dce8fb;
  color: var(--blue);
  margin-bottom: 14px;
  flex: none;
}
.pc-icon svg { width: 25px; height: 25px; }
.pc-icon.violet { background: #f3efff; border-color: #e2d9ff; color: #7c5cf0; }
.pc-icon.cyan { background: #e9f8fc; border-color: #cdeef6; color: #0a97b5; }
.pc-icon.green { background: var(--green-soft); border-color: #cbeee0; color: #17a06a; }
.pc-title { font-size: 15.5px; font-weight: 800; margin-bottom: 5px; }
.pc-desc { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; flex: 1; }
.pc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.pc-price { display: flex; flex-direction: column; line-height: 1.4; }
.pc-price .usd { font-size: 18px; font-weight: 900; color: var(--ink); }
.pc-price .usd small { font-size: 11.5px; font-weight: 600; color: var(--muted); margin-inline-start: 2px; }
.pc-price .toman { font-size: 12px; color: var(--muted); }
.pc-price.gold .main-price { color: #a86800; }
.pc-price.gold .main-price small { color: #b07800; }
.pc-price .main-price { font-size: 18px; font-weight: 900; color: var(--ink); }
.pc-price .main-price small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.pc-add {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
  transition: 0.22s var(--ease);
}
.pc-add svg { width: 19px; height: 19px; }
.pc-add:hover { background: var(--blue); color: #fff; transform: scale(1.06); }
/* stars card */
.stars-card .pc-icon { background: var(--grad-gold); border: none; color: #4a3200; box-shadow: 0 12px 24px -14px rgba(224, 154, 12, 0.85); }
.stars-card .pc-title { font-size: 22px; font-weight: 900; }
.stars-card .pc-desc { margin-bottom: 10px; }
.stars-card .pc-foot { width: 100%; }
/* premium plan */
/* =========================================================
   SERVICE CARDS
   ========================================================= */
.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.service-card .tags span {
  font-size: 11px;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 7px;
}
/* =========================================================
   FEATURES / STEPS
   ========================================================= */
.feature {
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.26s var(--ease);
}
.feature:hover { border-color: #c9dcfb; transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .fi {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  border: 1px solid #dce8fb;
  color: var(--blue);
  margin-bottom: 14px;
}
.feature .fi svg { width: 22px; height: 22px; }
.feature h3 { font-size: 15px; margin-bottom: 6px; }
.feature p { font-size: 12.5px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding-top: 6px; }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 900;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  inset-inline-start: -18px;
  width: 36px;
  height: 1px;
  border-top: 1px dashed #c9d7ea;
}
.step h3 { font-size: 14.5px; margin-bottom: 5px; }
.step p { font-size: 12.5px; color: var(--muted); }
/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quote {
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: 0.26s var(--ease);
}
.quote:hover { border-color: #c9dcfb; box-shadow: var(--shadow); transform: translateY(-3px); }
.quote .stars { display: flex; gap: 3px; color: var(--amber); }
.quote .stars svg { width: 15px; height: 15px; fill: currentColor; }
.quote p { font-size: 13.5px; color: var(--ink-2); line-height: 1.95; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 10px; }
.quote .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid #dce8fb;
}
.quote .who b { display: block; font-size: 13px; color: var(--ink); }
.quote .who span { font-size: 11px; color: var(--muted); }
/* =========================================================
   FAQ
   ========================================================= */
.faq-list { display: grid; gap: 10px; max-width: 880px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  overflow: hidden;
  transition: 0.22s var(--ease);
}
.faq-item[open] { border-color: #c9dcfb; box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1;
  transition: transform 0.25s var(--ease);
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; font-size: 13px; color: var(--muted); line-height: 1.95; }
/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: 44px;
  overflow: hidden;
  background:
    radial-gradient(500px 240px at 92% 0%, rgba(51, 119, 232, 0.55), transparent 65%),
    radial-gradient(420px 240px at 4% 100%, rgba(246, 184, 31, 0.28), transparent 65%),
    var(--blue-ink);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; color: #fff; }
.cta-band p { color: #c3d1ee; font-size: 13.5px; max-width: 540px; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--blue-ink);
  color: #c3d1ee;
  padding: 56px 0 0;
  margin-top: 10px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer .brand-name { color: #fff; }
.footer .brand-name em { color: #8fb6ff; }
.footer .brand-sub { color: #8b9cbe; }
.footer .brand-mark { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.footer-brand p { font-size: 12.5px; color: #9fb0d0; margin: 16px 0 18px; max-width: 330px; line-height: 1.95; }
.footer h4 { font-size: 13.5px; margin-bottom: 14px; color: #fff; }
.footer-links { display: grid; gap: 9px; }
.footer-links a, .footer-links span { font-size: 12.5px; color: #9fb0d0; transition: 0.2s; }
.footer-links a:hover { color: #fff; padding-inline-start: 3px; }
.footer-contact { display: grid; gap: 11px; }
.footer-contact .row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #c3d1ee; }
.footer-contact .row svg { width: 16px; height: 16px; color: #8fb6ff; flex: none; }
.footer-contact .row small { display: block; font-size: 10.5px; color: #8b9cbe; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 37px;
  height: 37px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: #c3d1ee;
  transition: 0.2s var(--ease);
}
.socials a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: #8b9cbe;
}
.footer-bottom .trust { display: flex; gap: 14px; align-items: center; }
.footer-bottom .trust span { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom .trust svg { width: 14px; height: 14px; color: #6ee7b7; }
/* =========================================================
   DRAWER / CART / MOBILE MENU
   ========================================================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 27, 54, 0.45);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: 0.28s var(--ease);
}
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: min(430px, 92vw);
  background: #fff;
  border-inline-end: 1px solid var(--line);
  z-index: 95;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: -30px 0 70px -40px rgba(33, 41, 77, 0.6);
  visibility: hidden;
}
.drawer.open { transform: translateX(0); visibility: visible; }
[dir="ltr"] .drawer { transform: translateX(-100%); }
[dir="ltr"] .drawer.open { transform: translateX(0); }
.drawer-head {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.drawer-head h3 { font-size: 16px; display: flex; align-items: center; gap: 9px; }
.drawer-head h3 svg { width: 19px; height: 19px; color: var(--blue); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--surface-2); }
.cart-item {
  display: flex;
  gap: 11px;
  padding: 12px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 9px;
}
.cart-item .ci-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  flex: none;
}
.cart-item .ci-ic svg { width: 19px; height: 19px; }
.cart-item .ci-main { flex: 1; min-width: 0; }
.cart-item .ci-title { font-size: 13px; font-weight: 700; margin-bottom: 1px; color: var(--ink); }
.cart-item .ci-meta { font-size: 11px; color: var(--muted); }
.cart-item .ci-price { font-size: 13px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.cart-empty { text-align: center; padding: 54px 10px; color: var(--muted); }
.cart-empty svg { width: 52px; height: 52px; opacity: 0.28; margin: 0 auto 14px; color: var(--blue); }
.cart-empty b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 5px; }
.cart-empty p { font-size: 12.5px; }
.cart-total-row { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 7px; }
.cart-total-row.main { font-size: 15px; color: var(--ink); font-weight: 800; margin: 10px 0 14px; }
.cart-total-row.main b { font-size: 20px; color: var(--ink); }
/* mobile menu accordions */
.m-nav { display: grid; gap: 2px; }
.m-nav details { border-bottom: 1px solid var(--line); }
.m-nav summary {
  list-style: none;
  padding: 13px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav summary::after { content: "+"; color: var(--blue); font-size: 18px; line-height: 1; }
.m-nav details[open] summary::after { content: "−"; }
.m-nav .m-sub { display: grid; gap: 2px; padding: 0 0 10px 6px; }
.m-nav .m-sub a { padding: 7px 8px; font-size: 13px; color: var(--ink-2); border-radius: 8px; }
.m-nav .m-sub a:hover { background: var(--blue-soft); color: var(--blue); }
.m-nav > a { padding: 13px 4px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink); }
/* =========================================================
   PRODUCT MODAL
   ========================================================= */
.modal.open { display: grid; }
@keyframes pop {
from { opacity: 0; transform: translateY(16px) scale(0.98); }
to { opacity: 1; transform: none; }
}
.modal-head .pc-icon { margin: 0; }
.qty-picker .input { text-align: center; }
.summary-box .row { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.summary-box .row b { color: var(--ink); font-weight: 700; }
.summary-box .row.total { border-top: 1px dashed var(--line-strong); padding-top: 9px; margin-top: 2px; font-size: 14px; color: var(--ink); }
.summary-box .row.total b { color: var(--ink); font-size: 18px; font-weight: 900; }
/* plans + per-product form */
.plan-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 8px; }
.plan-option {
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: flex-start;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  text-align: start;
  transition: 0.18s var(--ease);
}
.plan-option:hover { border-color: #bcd3f7; background: var(--blue-soft); }
.plan-option.is-active {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(51, 119, 232, 0.13);
}
.po-name { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.po-price { font-size: 12px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.plan-option.gold .po-price { color: #a86800; }
.plan-option.gold .po-price small { color: #9c7a3a; }
.po-price small { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.live-convert {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
}
.live-convert svg { width: 14px; height: 14px; flex: none; }
.live-convert[data-state="empty"] { color: var(--muted); font-weight: 500; }
.live-convert[data-state="loading"] svg, .live-convert.is-pending svg { animation: spin 0.9s linear infinite; }
.live-convert[data-state="api"] { color: #128a5b; }
.cred-block { margin-bottom: 4px; }
.cred-toggle { margin: 2px 0 10px; font-weight: 600; }
.cred-fields { margin-bottom: 6px; padding: 12px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--surface-2); }
.cred-fields .field:last-child { margin-bottom: 0; }
.order-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 11px 13px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--amber-soft);
  border: 1px solid #ffe1a8;
  color: #8a6100;
  font-size: 12px;
  line-height: 1.8;
}
.order-note svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }
.opt { font-size: 11px; font-weight: 500; color: var(--muted); }
.input.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.12); }
/* toast */
.toast-wrap { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 120; display: grid; gap: 9px; }
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  color: var(--ink);
  animation: toastIn 0.3s var(--ease);
  max-width: 340px;
}
.toast svg { width: 18px; height: 18px; flex: none; color: var(--green); }
.toast.error svg { color: var(--red); }
@keyframes toastIn {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: none; }
}
/* =========================================================
   INNER PAGES
   ========================================================= */
.page-head {
  padding: 40px 0 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 260px at 95% 0%, #e7f0ff, transparent 65%),
    linear-gradient(180deg, #f8fbff, var(--bg));
}
.page-head .crumbs { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.page-head .crumbs svg { width: 13px; height: 13px; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 10px; }
.page-head p { color: var(--muted); font-size: 14px; max-width: 640px; }
.store-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0;
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(245, 248, 254, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box svg { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.search-box .input { padding-inline-start: 40px; }
.store-count { font-size: 12px; color: var(--muted); white-space: nowrap; }
.store-count b { color: var(--ink); }
.price-sync {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 100px;
  transition: 0.2s;
}
.price-sync:hover { color: var(--blue); border-color: #c9dcfb; }
.price-sync svg { width: 13px; height: 13px; color: var(--blue); }
.price-sync.spinning svg { animation: spin 0.9s linear infinite; }
@keyframes spin {
to { transform: rotate(360deg); }
}
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state svg { width: 50px; height: 50px; opacity: 0.3; margin: 0 auto 14px; color: var(--blue); }
.empty-state b { display: block; color: var(--ink); margin-bottom: 5px; }
/* services page */
.svc-block-head .fi {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid #dce8fb;
  flex: none;
}
.svc-block-head .fi svg { width: 21px; height: 21px; }
/* =========================================================
   AUTH
   ========================================================= */
.auth-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 116px);
}
.auth-aside .brand { margin-bottom: 34px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #fff; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 25px; margin-bottom: 6px; }
.auth-card .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.auth-form .field { margin-bottom: 15px; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 44px; }
.pw-toggle {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 9px;
  display: grid;
  place-items: center;
}
.pw-toggle:hover { color: var(--blue); background: var(--blue-soft); }
.pw-toggle svg { width: 17px; height: 17px; }
.pw-meter i.on { background: var(--amber); }
.pw-meter i.ok { background: var(--green); }
.check-row { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--ink-2); margin: 4px 0 18px; }
.check-row input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.check-row a { color: var(--blue); }
.form-error {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--red-soft);
  border: 1px solid #f8d3d6;
  color: #c22a30;
  font-size: 12px;
  margin-bottom: 14px;
}
.form-error.show { display: flex; }
.form-error svg { width: 15px; height: 15px; flex: none; }
.form-ok {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--green-soft);
  border: 1px solid #cbeee0;
  color: #128a5b;
  font-size: 12px;
  margin-bottom: 14px;
}
.form-ok.show { display: flex; }
.form-ok svg { width: 15px; height: 15px; flex: none; }
/* =========================================================
   CONTACT / LEGAL
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 22px; align-items: start; }
.contact-card {
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.contact-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex: none; }
.contact-row .ci svg { width: 19px; height: 19px; }
.contact-row b { display: block; font-size: 13px; color: var(--ink); }
.contact-row span { font-size: 12px; color: var(--muted); }
.legal { max-width: 860px; }
.legal h2 { font-size: 19px; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 13.5px; color: var(--ink-2); line-height: 2; }
.legal ul { padding-inline-start: 20px; margin: 8px 0; }
.legal .note { background: var(--blue-soft); border: 1px solid #dce8fb; border-radius: 14px; padding: 14px 16px; font-size: 12.5px; color: var(--ink-2); margin-top: 18px; }
/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1140px) {
.nav-link { padding: 10px 10px; font-size: 13.5px; }
}
@media (max-width: 1080px) {
.hero-grid { grid-template-columns: 1fr; gap: 36px; }
.hero-visual { min-height: 380px; order: -1; }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
.calc { grid-template-columns: 1fr; }
.steps { grid-template-columns: repeat(2, 1fr); gap: 22px; }
.step:not(:last-child)::after { display: none; }
.cta-band { grid-template-columns: 1fr; padding: 34px; }
.auth-page { grid-template-columns: 1fr; }
.contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
.nav { display: none; }
.burger { display: grid; }
.header .wrap { gap: 10px; }
.btn-login-wide { display: none; }
}
@media (max-width: 760px) {
.section { padding: 54px 0; }
.section-sm { padding: 42px 0; }
.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero { padding: 38px 0 26px; }
.hero-stat { padding-inline: 15px; }
.hero-stat b { font-size: 18px; }
.auth-page { min-height: auto; }
.float-chip.paypal { inset-inline-start: 0; }
.float-chip.delivery { inset-inline-end: 0; bottom: 8%; }
.footer-grid { grid-template-columns: 1fr; gap: 26px; }
.steps { grid-template-columns: 1fr; }
.cta-band { padding: 26px; }
.auth-main { padding: 28px 18px; }
.toast-wrap { inset-inline: 16px; bottom: 16px; }
.toast { max-width: none; }
.store-toolbar { position: static; }
}
@media (max-width: 520px) {
.grid-3, .grid-4 { grid-template-columns: 1fr; }
#starsGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#starsGrid .product-card { padding: 14px; }
#starsGrid .pc-icon { width: 42px; height: 42px; border-radius: 13px; }
#starsGrid .pc-title { font-size: 18px; }
.plan-picker { grid-template-columns: 1fr; }
.hero-visual { min-height: 340px; }
.star-card { transform: rotate(-2deg) scale(0.95); }
.float-chip { font-size: 11px; padding: 8px 10px; }
.hero-cta .btn { flex: 1; }
.brand-sub { display: none; }
.wrap { padding: 0 18px; }
.footer-bottom { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
/* =========================================================
   BUY PAGE + STANDALONE AUTH
   ========================================================= */
a.product-card { color: inherit; text-decoration: none; }
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.crumbs a { color: var(--muted); text-decoration: none; transition: color .18s; }
.crumbs a:hover { color: var(--blue); }
.crumbs svg { width: 13px; height: 13px; flex: none; opacity: .55; }
.crumbs span { color: var(--ink-2); font-weight: 600; }
.buy-wrap { max-width: 1040px; margin: 0 auto; }
.buy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
  margin-top: 16px;
}
.buy-main { min-width: 0; }
.buy-side { position: sticky; top: 90px; }
.buy-sum {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.buy-sum-title {
  padding-bottom: 11px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
.buy-sum-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); }
.buy-sum-row b { color: var(--ink); font-weight: 700; }
.buy-sum-row.total {
  align-items: center;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
  color: var(--ink);
}
.buy-sum-row.total b { color: var(--ink); font-size: 18px; font-weight: 900; }
.buy-sum .btn { margin-top: 4px; }
.buy-sum-note { font-size: 11.5px; line-height: 1.9; color: var(--muted); text-align: center; }
.buy-head { display: flex; gap: 14px; align-items: flex-start; margin: 14px 0 18px; }
.buy-head .pc-icon { margin: 0; width: 54px; height: 54px; border-radius: 16px; }
.buy-head .pc-icon svg { width: 26px; height: 26px; }
.buy-head h1 { font-size: clamp(20px, 2.4vw, 24px); margin-bottom: 6px; }
.buy-head p { font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.buy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.buy-card .field { margin-bottom: 15px; }
.buy-card .field:last-child { margin-bottom: 0; }
.auth-page { display: block; min-height: calc(100vh - 76px); padding: 44px 20px 60px; background: var(--bg); }
.auth-main { display: flex; justify-content: center; background: transparent; padding: 0; }
.auth-card {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 22px 26px;
  box-shadow: var(--shadow);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.auth-tab {
  padding: 10px 8px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.auth-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(33, 41, 77, 0.1); }
.auth-form .field { margin-bottom: 14px; }
.auth-form[hidden] { display: none; }
@media (max-width: 900px) {
.buy-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 12px; }
.buy-side { position: static; }
}
@media (max-width: 640px) {
.auth-page { padding: 24px 14px 44px; }
.auth-card { padding: 18px 16px 20px; border-radius: 18px; }
.buy-card { padding: 16px 14px; border-radius: 18px; }
.buy-head { gap: 11px; margin: 12px 0 14px; }
.buy-head .pc-icon { width: 46px; height: 46px; border-radius: 13px; }
.plan-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.buy-sum { padding: 16px 14px; border-radius: 18px; }
}
/* click/keyboard state for the server-rendered nav dropdowns */
.nav-item.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item.is-open > .nav-link svg { transform: rotate(180deg); }
/* mobile menu: small help rows under the nav (bare SVGs have no size otherwise) */
.m-help { margin-top: 22px; font-size: 12px; color: var(--muted); line-height: 2; }
.m-help > div { display: flex; align-items: center; gap: 7px; }
.m-help svg { width: 15px; height: 15px; flex: none; color: var(--blue); }
.m-help span { white-space: nowrap; }
