


@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/vazirmatn-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1,
    U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74,
    U+FE76-FEFC, U+0600-06FF, U+FB8A, U+FBFC;
}

:root {
  --green: #12624f;
  --green-deep: #0b3b30;
  --green-dark: #072b23;
  --green-soft: #e5efeb;
  --green-line: rgba(18, 98, 79, 0.16);
  --gold: #f8b81a;
  --gold-deep: #d99a00;
  --gold-soft: #fff1c9;
  --sand: #d8d4cf;
  --paper: #f4f2ee;
  --cream: #fbf9f5;
  --ink: #10231d;
  --muted: #5b6b65;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(16, 35, 29, 0.06), 0 4px 14px rgba(16, 35, 29, 0.05);
  --shadow: 0 18px 40px -18px rgba(16, 35, 29, 0.28), 0 2px 8px rgba(16, 35, 29, 0.05);
  --shadow-md: 0 24px 40px -22px rgba(16, 35, 29, 0.3);
  --shadow-lg: 0 40px 80px -30px rgba(7, 43, 35, 0.45);
  --glow-gold: 0 6px 16px -8px rgba(248, 184, 26, 0.9);
  --glow-gold-lg: 0 14px 28px -16px rgba(248, 184, 26, 0.9);
  --glow-green: 0 8px 20px -10px rgba(18, 98, 79, 0.7);
  --ring-gold-c: rgba(248, 184, 26, 0.32);
  --ring-green-c: rgba(18, 98, 79, 0.14);
  --header-h: 70px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  scrollbar-gutter: stable;
}

body {
  font-family: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, Roboto, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.4;
}
h1, h2 { text-wrap: balance; }

p { text-wrap: pretty; }

a { color: var(--green); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
button,
input { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--gold); color: var(--green-dark); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 10px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1.15em; height: 1.15em; flex: none;
  fill: currentColor; vertical-align: -0.15em;
}
.ico.star { color: var(--gold); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}
.wrap-narrow { max-width: 820px; }

.btn {
  --btn-bg: var(--green);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  font-size: 1.02rem;
  letter-spacing: normal;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn-primary {
  background: var(--green);
  box-shadow: var(--glow-green);
}
.btn-primary:hover { background: var(--green-deep); box-shadow: var(--glow-green); }

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
  box-shadow: var(--glow-gold-lg);
}
.btn-gold:hover { background: #ffc93c; color: var(--green-dark); }

.btn-gold {
  position: relative;
  overflow: hidden;
  contain: paint;
  isolation: isolate;
}
.btn-gold::after {
  content: "";
  position: absolute;
  top: -25%;
  bottom: -25%;
  width: 34%;

  left: 0;
  right: auto;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 38%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0.35) 62%,
    transparent 100%
  );
  transform: skewX(-18deg) translate3d(-150%, 0, 0);
  pointer-events: none;
  will-change: transform;
  animation: gold-sheen 3.6s linear infinite;
}
@keyframes gold-sheen {

  from { transform: skewX(-18deg) translate3d(-150%, 0, 0); }
  to   { transform: skewX(-18deg) translate3d(300%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-gold::after { animation: none; opacity: 0; }
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); color: #fff; }

.btn-outline {
  background: transparent;
  border-color: var(--green-line);
  color: var(--green);
}
.btn-outline:hover { background: var(--green); border-color: var(--green); color: #fff; }

.btn-sm { padding: 11px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn .ico { width: 1.05em; height: 1.05em; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 249, 245, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--green-line);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex; align-items: center; gap: 14px;
  height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; flex: none;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  background: var(--sand);
}
.brand-text {
  font-size: 1.22rem; font-weight: 780; letter-spacing: normal;
}
.brand-text span { color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 980px) { .header-actions { margin-left: 0; } }

.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  border: 0; border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.9rem; font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s var(--ease);
}
.cart-btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.cart-label { display: none; }
@media (min-width: 560px) { .cart-label { display: inline; } }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px;
  display: inline-grid; place-items: center;
  background: var(--gold); color: var(--green-dark);
  border-radius: 999px; font-size: 0.8rem; font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.cart-count[data-count="0"] { background: rgba(255, 255, 255, 0.18); color: #fff; }

@media (min-width: 980px) {
}

@media (max-width: 979px) {
}

.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(248, 184, 26, 0.18), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(42, 138, 112, 0.35), transparent 60%),
    linear-gradient(165deg, var(--green-deep), var(--green-dark) 70%);
  color: var(--paper);
  padding: 30px 0 0;
  overflow: hidden;
}
.hero-glow {
  position: absolute; z-index: 0;
  width: 560px; height: 560px; right: -160px; top: -220px;
  background: radial-gradient(circle, rgba(248, 184, 26, 0.3), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; gap: 28px;
  padding-bottom: 28px;
}
@media (min-width: 960px) {
  .hero { padding-top: 56px; }
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 56px;
    padding-bottom: 64px;
  }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.8rem; font-weight: 650;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: var(--glow-gold);
}

.hero h1 {
  font-size: clamp(1.95rem, 5.4vw, 3.35rem);
  line-height: 1.38;
  letter-spacing: 0;
  margin-bottom: 14px;
  color: #fdfbf7;
}
.hero h1 .hl { color: var(--gold); }

.lede {
  font-size: clamp(1rem, 1.16vw, 1.1rem);
  color: rgba(244, 242, 238, 0.76);
  max-width: 33em;
  margin-bottom: 20px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-cta .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .hero-cta .btn { flex: 0 0 auto; } }
.hero-points .ico { color: var(--gold); }

.hero-visual { position: relative; display: grid; place-items: center; }
@media (min-width: 960px) { .hero-logo { transform: rotate(-3.5deg) scale(1.02); } }

.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 10px;
  font-size: 0.8rem; font-weight: 650;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip .ico { color: var(--green); }
.chip-1 { top: 6%; left: -4%; animation-delay: -1s; }
.chip-2 { bottom: 16%; right: -3%; animation-delay: -3s; }
.chip-3 { bottom: -4%; left: 6%; animation-delay: -4.5s; }
@media (max-width: 420px) {
  .chip { font-size: 0.72rem; padding: 8px 10px; }
  .chip-1 { left: -2%; }
  .chip-2 { right: -2%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.trust-bar {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  list-style: none; padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.trust-bar li {
  display: grid; gap: 2px;
  padding: 18px 16px;
  background: rgba(7, 43, 35, 0.35);
  text-align: center;
}
.trust-bar strong {
  font-size: 1.12rem; font-weight: 720; color: #fff; letter-spacing: normal;
}
.trust-bar span { font-size: 0.8rem; color: rgba(244, 242, 238, 0.62); }
@media (min-width: 720px) { .trust-bar { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .trust-bar li { padding: 22px 16px; } }

.section { padding: 64px 0; }
@media (min-width: 860px) { .section { padding: 92px 0; } }

#shop { padding-top: 30px; }
@media (min-width: 860px) { #shop { padding-top: 56px; } }

.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(1.75rem, 4.2vw, 2.7rem);
  margin-bottom: 14px;
}
.section-head .sub { color: var(--muted); font-size: 1.02rem; max-width: 46em; }
.section-dark .section-head .sub { color: rgba(244, 242, 238, 0.66); }

.tabs {
  display: inline-flex; gap: 4px;
  padding: 5px;
  background: var(--paper);
  border: 1px solid var(--green-line);
  border-radius: 999px;
  margin-bottom: 26px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border: 0; border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem; font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] {
  background: var(--green); color: #fff;
  box-shadow: var(--glow-green);
}
.tab[aria-pressed="true"] .ico.star { color: var(--gold); }

.panel[hidden] { display: none; }
.panel:focus { outline: none; }

.grid { display: grid; gap: 14px; }
.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1060px) { .products { gap: 20px; } }

.product {
  position: relative;
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 20px 18px 18px;
  background: var(--white);
  border: 1px solid var(--green-line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s ease;
  overflow: hidden;
}
.empty-note {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 26px 12px;
  font-size: 0.95rem;
}
.product-icon--custom {
  background: linear-gradient(135deg, #1fa07d, #0b3b30);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 16px;
}
.product-icon--custom .emoji { font-size: 2rem; line-height: 1; }
.product-icon--custom .ico { width: 24px; height: 24px; }
.product::after {
  content: "";
  position: absolute; inset: auto -30% -70% auto;
  width: 170px; height: 170px;
  background: radial-gradient(circle, rgba(248, 184, 26, 0.16), transparent 70%);
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.product:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 98, 79, 0.34);
  box-shadow: var(--shadow);
}
.product:hover::after { opacity: 1; }
.product.is-popular { border-color: rgba(248, 184, 26, 0.7); box-shadow: var(--glow-gold); }

.product-badge {
  position: absolute; top: 0; right: 0;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 0.72rem; font-weight: 750;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 0 var(--radius-lg) 0 16px;
}
.product-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 10px;
}
.product-icon .ico { width: 20px; height: 20px; fill: currentColor; }
.product-icon.gold { background: var(--gold-soft); color: var(--gold-deep); }

.product h3 { font-size: 1.18rem; font-weight: 720; letter-spacing: normal; }
.product .sub {
  font-size: 0.8rem; color: var(--muted);
  margin-bottom: 12px;
}
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.price { font-size: 1.5rem; font-weight: 760; letter-spacing: normal; }
.price-was { font-size: 0.8rem; color: #9aa7a1; text-decoration: line-through; }
.price-note { font-size: 0.72rem; color: var(--muted); margin-bottom: 14px; }

.add-btn {
  margin-top: 14px;
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 14px;
  background: var(--cream);
  border: 1.5px solid var(--green-line);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.9rem; font-weight: 650;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}
.add-btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.add-btn:active { transform: scale(0.985); }
.add-btn .ico { width: 1em; height: 1em; }

.shop-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 24px;
  padding: 14px 16px;
  font-size: 0.9rem; color: var(--muted);
  background: var(--green-soft);
  border-radius: 16px;
}
.shop-note .ico { color: var(--green); margin-top: 2px; }
.shop-note strong { color: var(--ink); font-weight: 650; }
@media (min-width: 840px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 840px) { .step { padding: 34px 28px 34px; } }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.feature-ico .ico { width: 22px; height: 22px; }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.stars .ico { width: 15px; height: 15px; }

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  padding: 4px 20px;
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 0;
  font-weight: 620;
  font-size: 1.02rem;
  letter-spacing: normal;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s var(--ease);
}
.faq details p {
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 62em;
}
@media (min-width: 860px) { }
@media (min-width: 860px) {
  .cta-inner { grid-template-columns: 1fr auto; gap: 40px; }
}
@media (min-width: 860px) { }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; } }

.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand:hover { color: #fff; }
.footer-brand .brand-text span { color: var(--gold); }

@media (max-width: 719px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 22px;
  font-size: 0.8rem;
  color: rgba(244, 242, 238, 0.45);
}

.overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(7, 43, 35, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.overlay.is-open { opacity: 1; }

.drawer {
  position: fixed; z-index: 100;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 100%);
  display: flex; flex-direction: column;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
@media (max-width: 480px) {
  .drawer { width: 100%; border-radius: 0; }
}

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--green-line);
  flex: none;
}
.drawer-head h2 { font-size: 1.2rem; }
.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--white);
  border: 1px solid var(--green-line);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.icon-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.icon-btn .ico { width: 15px; height: 15px; }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 20px 28px;
}

.cart-empty {
  display: grid; place-items: center; gap: 14px;
  text-align: center;
  padding: 60px 10px;
  color: var(--muted);
}
.cart-empty .ico { width: 40px; height: 40px; color: var(--green-line); fill: var(--green-line); }
.cart-empty p { font-size: 0.9rem; }

.cart-items { list-style: none; padding: 0; display: grid; gap: 12px; margin-bottom: 18px; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  animation: slide-in 0.35s var(--ease);
}
@keyframes slide-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.cart-item-name { font-size: 0.9rem; font-weight: 650; }
.cart-item-meta { font-size: 0.8rem; color: var(--muted); }
.cart-item-price { font-size: 0.9rem; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.qty {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px;
}
.qty-controls {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--paper); border-radius: 999px; padding: 3px;
}
.qty-controls button {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: transparent;
  color: var(--green);
  font-size: 1.02rem; font-weight: 600; line-height: 1;
  transition: background-color 0.18s ease;
}
.qty-controls button:hover { background: var(--white); }
.qty-controls span { min-width: 26px; text-align: center; font-size: 0.9rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.remove-btn {
  border: 0; background: none; padding: 4px;
  color: #93a19b; font-size: 0.8rem; text-decoration: underline;
  text-underline-offset: 3px;
}
.remove-btn:hover { color: #b23a2f; }

.promo-row { display: flex; gap: 8px; margin-bottom: 6px; }
.promo-row input {
  flex: 1; min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--green-line);
  border-radius: 10px;
  background: var(--white);
  font-size: 0.9rem;
}
.promo-msg { font-size: 0.8rem; min-height: 1.1em; color: var(--green); margin-bottom: 10px; }
.promo-msg.err { color: #b23a2f; }

.totals { display: grid; gap: 7px; margin: 12px 0 20px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; color: var(--muted); }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--ink); }
.totals .grand {
  border-top: 1px dashed var(--green-line);
  padding-top: 11px; margin-top: 4px;
  font-size: 1.02rem; color: var(--ink); font-weight: 650;
}
.totals .grand dd { font-size: 1.12rem; font-weight: 750; }

.form-title {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  margin: 22px 0 12px;
}
.field { margin-bottom: 14px; border: 0; padding: 0; }
.field > label, .field > legend {
  display: block;
  font-size: 0.8rem; font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  padding: 0;
}
.field .opt { color: var(--muted); font-weight: 450; }
.field small { display: block; margin-top: 6px; font-size: 0.72rem; color: var(--muted); line-height: 1.45; }
.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--green-line);
  border-radius: 10px;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}
.field input[aria-invalid="true"] { border-color: #c0492f; box-shadow: 0 0 0 3px rgba(192, 73, 47, 0.12); }

.input-wrap {
  display: flex; align-items: center;
  background: var(--white);
  border: 1px solid var(--green-line);
  border-radius: 10px;
  padding-left: 13px;
  color: var(--muted);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-wrap:focus-within { border-color: var(--green); box-shadow: var(--shadow-sm); }
.input-wrap input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 4px !important;
}

.pay-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pay-opt { position: relative; }
.pay-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pay-opt span {
  display: block; text-align: center;
  padding: 9px 4px;
  background: var(--white);
  border: 1.5px solid var(--green-line);
  border-radius: 10px;
  font-size: 0.8rem; font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.pay-opt input:checked + span {
  background: var(--green); border-color: var(--green); color: #fff;
}
.pay-opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.check {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.8rem; color: var(--muted);
  margin: 4px 0 14px;
  cursor: pointer;
}
.check input { margin-top: 2px; accent-color: var(--green); width: 15px; height: 15px; flex: none; }
.check a { color: var(--green); }

.form-error {
  font-size: 0.8rem;
  color: #a8341f;
  background: #fdeeea;
  border: 1px solid #f3cfc7;
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 12px;
}

.secure-note {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px;
  font-size: 0.72rem; color: var(--muted);
}
.secure-note .ico { color: var(--green); }

.btn[aria-busy="true"] { opacity: 0.75; pointer-events: none; }

.success { text-align: center; padding: 40px 8px; }
.success-ico {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}
.success-ico .ico { width: 28px; height: 28px; }
.success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.success > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }
.success #order-id {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  color: var(--green);
  background: var(--white);
  border: 1px dashed var(--green-line);
  border-radius: 10px;
  padding: 3px 8px;
  word-break: break-all;
}
.success-note { max-width: 34em; margin: 0 auto 24px !important; }

.toast {
  position: fixed; z-index: 120;
  left: 50%; bottom: 26px;
  transform: translate(-50%, 20px);
  background: var(--green-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 550;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.3s var(--ease);

  width: max-content;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.is-open { opacity: 1; transform: translate(-50%, 0); }
.toast[hidden] { display: none; }

body.no-scroll { overflow: hidden; }

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

@media (max-width: 979px) {
  .reveal { opacity: 0; transform: none !important; }
  .reveal.is-in { opacity: 1; transform: none !important; transition: opacity 0.35s ease !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {.site-header,
.drawer,
.overlay,
.toast,
.hero-visual { display: none !important; }
  body { background: #fff; }
}
@media (min-width: 860px) { .legal { padding: 64px 0 96px; } }
@media (min-width: 900px) {
  .seo-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .seo-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.seo-intro .btn { margin-top: 10px; }

.shop-bar {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px;
  margin-bottom: 26px;
}
.shop-bar .tabs { margin-bottom: 0; }
.promo-banner {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: #6b4f00;
  background: var(--gold-soft);
  border: 1px dashed rgba(217, 154, 0, 0.45);
  padding: 9px 14px;
  border-radius: 999px;
  line-height: 1.3;
}
.promo-banner .ico { color: var(--gold-deep); flex: none; }
.promo-banner strong { font-weight: 750; letter-spacing: 0.03em; }

.footer-bottom { color: rgba(244, 242, 238, 0.6); }

h3, h4 { text-wrap: pretty; }

@media (max-width: 979px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(251, 249, 245, 0.97); }
}
[dir="rtl"] .eyebrow,
[dir="rtl"] .product-badge,
[dir="rtl"] .form-title,
[dir="rtl"] .btn,
[dir="rtl"] .promo-banner strong { letter-spacing: 0; }
[dir="rtl"] .header-actions { margin-left: 0; margin-right: auto; }
@media (min-width: 980px) {
  [dir="rtl"] .header-actions { margin-right: auto; }
}

[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(2px); }

[dir="rtl"] .chip-1 { left: auto; right: -4%; }
[dir="rtl"] .chip-2 { right: auto; left: -3%; }
[dir="rtl"] .chip-3 { left: auto; right: 6%; }
@media (max-width: 420px) {
  [dir="rtl"] .chip-1 { right: -2%; left: auto; }
  [dir="rtl"] .chip-2 { left: -2%; right: auto; }
}

[dir="rtl"] .product-badge {
  right: auto;
  left: 0;
  border-radius: var(--radius-lg) 0 0 16px;
}

[dir="rtl"] .drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  box-shadow: var(--shadow-lg);
}
[dir="rtl"] .drawer.is-open { transform: none; }

[dir="rtl"] .input-wrap { padding-left: 0; padding-right: 13px; }
[dir="rtl"] .input-wrap input { padding-left: 12px !important; padding-right: 4px !important; }
[dir="rtl"] .field input[type="text"],
[dir="rtl"] .field input[type="email"] { text-align: left; }

[dir="rtl"] .faq summary::after {
  border-right: 0;
  border-left: 2px solid var(--green);
  transform: rotate(-45deg) translate(2px, -2px);
}

[dir="rtl"] .section-head h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); line-height: 1.45; }
[dir="rtl"] .product h3 { font-size: 1.02rem; }
[dir="rtl"] .price { font-size: 1.3rem; letter-spacing: 0; }
[dir="rtl"] .price-row { gap: 6px 10px; }
[dir="rtl"] .trust-bar span { font-size: 0.8rem; line-height: 1.5; }
[dir="rtl"] .trust-bar strong { line-height: 1.4; }
[dir="rtl"] .eyebrow { font-size: 0.8rem; }
[dir="rtl"] .lede { line-height: 1.9; }
[dir="rtl"] .faq details p { line-height: 1.85; }

[dir="rtl"] .cart-count { font-size: 0.72rem; }

@media (max-width: 480px) {
  [dir="rtl"] .qty-controls button { width: 32px; height: 32px; }
}

.shop-bar { gap: 14px; }
.tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: auto;
}
.tab { justify-content: center; padding: 10px 20px; }
.tab[aria-pressed="true"] {
  background: linear-gradient(180deg, #18765d, var(--green));
}

@media (max-width: 759px) {
  .shop-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .shop-bar .tabs { width: 100%; }
  .shop-bar .promo-banner { width: 100%; }
  .tab { padding: 11px 8px; gap: 6px; font-size: 0.9rem; }
}

.promo-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: linear-gradient(180deg, #fff9e8, #fff2cc);
  border: 1px dashed rgba(217, 154, 0, 0.5);
  border-radius: 16px;
  color: #6b4f00;
  font-size: 0.8rem;
  line-height: 1.65;
  box-shadow: var(--glow-gold-lg);
}
.promo-banner__ico {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #fff;
  color: var(--gold-deep);
  box-shadow: var(--glow-gold);
}
.promo-banner__ico .ico { width: 17px; height: 17px; }
.promo-banner__text { min-width: 0; }
.promo-banner__text strong { color: #5a4000; font-weight: 750; white-space: nowrap; }
.promo-code {
  margin-inline-start: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  background: #fff;
  border: 1px solid rgba(217, 154, 0, 0.45);
  border-radius: 10px;
  color: #5a4000;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s var(--ease);
}
.promo-code span { direction: ltr; }
.promo-code:hover { background: #fffdf4; border-color: var(--gold-deep); transform: translateY(-1px); }
.promo-code:active { transform: none; }
.promo-code .ico { width: 13px; height: 13px; color: var(--gold-deep); }
@media (max-width: 380px) {
  .promo-banner__ico { display: none; }
  .promo-banner { gap: 8px; padding: 9px 10px; }
}

.add-btn {
  white-space: nowrap;
  min-width: 0;
}
@media (max-width: 420px) {
  .add-btn { font-size: 0.8rem; padding: 10px 6px; gap: 5px; }
  .add-btn .ico { width: 0.95em; height: 0.95em; }
}

.cart-count[data-count="0"] { display: none; }

.tg-star {
  display: inline-block;
  width: 19px;
  height: auto;
  flex: none;
  vertical-align: -3px;
}
.tg-star--xs { width: 16px; vertical-align: -2px; }
.tg-star--card { width: 30px; vertical-align: 0; }

.product-icon.gold {
  background: radial-gradient(120% 120% at 30% 8%, #fffdf3 0%, #fff4d3 60%, #ffe9ab 100%);
  box-shadow: inset 0 0 0 1px var(--ring-gold-c);
}
.product-icon.gold .tg-star {
  filter: drop-shadow(0 2px 3px rgba(180, 120, 0, 0.25));
}

.product-icon--prem {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}
.product-icon--prem .ico { width: 24px; height: 24px; }
.product-icon--art {
  position: relative;
  background: transparent;
  box-shadow: none;
}
.product-icon--art::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 184, 26, 0.3), transparent 70%);
}
.premium-art {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 55px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(150, 40, 30, 0.24));
}

@media (max-width: 759px) {
  #products-premium .product--year {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-areas:
      "art head"
      "art sub"
      "art price"
      "note note"
      "btn btn";
    column-gap: 14px;
    align-items: start;
  }
  .product--year .product-icon {
    grid-area: art;
    width: 78px;
    height: 78px;
    margin-bottom: 0;
  }
  .product--year .premium-art { width: 74px; height: 75px; }
  .product--year h3 { grid-area: head; align-self: end; margin-top: 4px; }
  .product--year .sub { grid-area: sub; margin-bottom: 2px; }
  .product--year .price-row { grid-area: price; margin-top: 0; }
  .product--year .price-note { grid-area: note; margin-top: 14px; }
  .product--year .add-btn { grid-area: btn; }
}

.product-icon--art.product-icon--green::before {
  background: radial-gradient(circle, rgba(88, 172, 92, 0.3), transparent 70%);
}
.product-icon--art.product-icon--blue::before {
  background: radial-gradient(circle, rgba(64, 150, 230, 0.28), transparent 70%);
}

.tab-glyph {
  width: 24px;
  height: auto;
  flex: none;
  vertical-align: -3px;
  filter: drop-shadow(0 1px 2px rgba(60, 40, 140, 0.25));
}
.tab[aria-pressed="true"] .tab-glyph {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.tab-glyph--stars {
  filter: drop-shadow(0 1px 2px rgba(120, 80, 0, 0.3));
}
.tab[aria-pressed="true"] .tab-glyph--stars {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.star-calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(248, 184, 26, 0.14), transparent 60%),
    linear-gradient(180deg, #fffdf7, #fff7e3);
  border: 1px dashed rgba(217, 154, 0, 0.45);
  border-radius: 16px;
}
.star-calc__intro { display: flex; align-items: center; gap: 10px; min-width: 0; }
.star-calc__ico {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--glow-gold);
}
.star-calc__ico img { width: 24px; height: auto; }
.star-calc__intro p { margin: 0; display: grid; line-height: 1.45; }
.star-calc__intro strong { font-size: 0.9rem; font-weight: 700; }
.star-calc__intro span { font-size: 0.72rem; color: var(--muted); }

.star-calc__field {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: #fff;
  border: 1.5px solid var(--green-line);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.star-calc__field:focus-within {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}
.star-calc__field input {
  width: 96px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 750;
  color: var(--ink);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.star-calc__field input:focus { outline: none; }
.star-calc__unit { font-size: 0.8rem; color: var(--muted); }

.star-calc__basket { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.star-calc__basket .buy-split { flex: 1 1 100%; order: 2; }
.star-calc__basket .star-calc__price { flex: 1 1 auto; order: 1; }
.star-calc__price { display: grid; text-align: end; line-height: 1.45; }
.star-calc__price strong { font-size: 1.02rem; font-weight: 800; color: var(--green-800); font-variant-numeric: tabular-nums; }
.star-calc__price small { font-size: 0.72rem; color: var(--muted); }

.star-calc__hint {
  margin: 0 4px 20px;
  font-size: 0.72rem;
  color: var(--muted);
}
.star-calc.is-invalid .star-calc__field {
  border-color: #c0492f;
  box-shadow: 0 0 0 3px rgba(192, 73, 47, 0.1);
}
.star-calc__hint.is-error { color: #a8341f; }

@media (max-width: 759px) {
  .star-calc {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }
  .star-calc__field { justify-content: space-between; }
  .star-calc__field input { width: 100%; text-align: start; padding-inline-start: 6px; }
  .star-calc__basket { justify-content: space-between; gap: 10px; }
  .star-calc__price { text-align: start; }
  .star-calc__hint { margin-bottom: 18px; }
}

.media { display: contents; }

.tabs { position: relative; }
.tab-thumb {
  position: absolute;
  top: 5px;
  height: calc(100% - 10px);
  left: 5px;
  width: 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, #18765d, var(--green));
  box-shadow: var(--glow-green), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: left 0.34s var(--ease), width 0.34s var(--ease);
  z-index: 0;
  pointer-events: none;
}
.tab { position: relative; z-index: 1; }
.tab[aria-pressed="true"] {
  background: transparent;
  box-shadow: none;
  color: #fff;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.panel:not([hidden]) {
  animation: panel-in 0.36s var(--ease) both;
}

.tab .tab-glyph { transition: transform 0.3s var(--ease); }
.tab[aria-pressed="true"] .tab-glyph { transform: scale(1.1); }

@keyframes tab-activate {
  0%, 45% { color: var(--muted); }
  100% { color: #fff; }
}
.tab.is-switched[aria-pressed="true"] {
  animation: tab-activate 0.34s var(--ease) both;
}

html,
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input,
.selectable {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
img,
a {
  -webkit-user-drag: none;
}

html {
  -webkit-tap-highlight-color: transparent;
}
:focus:not(:focus-visible) {
  outline: none;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

:root {
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --h1: clamp(1.95rem, 5.4vw, 3.35rem);
  --h2: clamp(1.45rem, 3.6vw, 2.1rem);
  --h3: 1.1rem;
}

.brand-text { letter-spacing: normal; }

.price-block { display: inline-flex; flex-direction: column; line-height: 1.15; }
.price {
  font-size: 1.3rem;
  font-weight: 760;
  letter-spacing: normal;
  font-variant-numeric: tabular-nums;
}
.price-cur { font-size: 0.72rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
.price-was { color: #6f7d77; font-size: 0.8rem; }
@media (max-width: 759px) {
  .price { font-size: 1.02rem; }
  .price-was { font-size: 0.72rem; }
}
@media (max-width: 380px) {
  .price { font-size: 1.02rem; }
}

.eyebrow { color: #7a5700; }
.hero .eyebrow { color: var(--gold); }
.star-calc__hint { font-size: 0.8rem; }

body {
  background:
    radial-gradient(1200px 520px at 50% -220px, #fffdf8, transparent 70%),
    var(--cream);
}
.section { padding: 68px 0; }
@media (min-width: 860px) { .section { padding: 88px 0; } }
#faq.section { padding-block: 64px; }
@media (min-width: 860px) { #faq.section { padding-block: 76px; } }
@media (max-width: 620px) {
  .compare { table-layout: fixed; font-size: 0.8rem; }
  .compare th, .compare td { padding: 11px 9px; }
  .compare thead th { font-size: 0.72rem; line-height: 1.5; }
  .compare thead th:first-child, .compare tbody th { width: 44%; }
  .compare td { text-align: center; }
  .compare tbody th { font-size: 0.8rem; }
}
@media (min-width: 980px) { }
@media (max-width: 979px) {

  body { padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
}

.fly-img {
  position: fixed;
  z-index: 130;
  width: 34px;
  height: 34px;
  object-fit: contain;
  pointer-events: none;
  will-change: transform, opacity;
}
@keyframes cart-bump {
  0% { transform: scale(1); }
  45% { transform: scale(1.28); }
  100% { transform: scale(1); }
}
.cart-count.is-bumped { animation: cart-bump 0.45s var(--ease); }

.product { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s ease; }
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

@media (max-width: 979px) {
}

.hero h1 { font-size: var(--h1); }
.section-head h2 { font-size: var(--h2); line-height: 1.45; }
.product h3 { font-size: var(--h3); }
.section-head .sub { font-size: var(--text-base); }

@media (max-width: 759px) {
  .field input,
  .field textarea,
  .promo-row input,
  .star-calc__field input,
  .input-wrap input {
    font-size: 16px !important;
  }
}
.price-was { color: #64726c; }

@media (max-width: 340px) {
  #panel-stars .products,
  #panel-premium .products { grid-template-columns: 1fr; }
}
.why-intro .section-head { margin-bottom: 18px; }
.why-intro .btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; }
@media (min-width: 1000px) {
  .why-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
    gap: 48px;
    align-items: center;
  }
  .why-intro { position: sticky; top: calc(var(--header-h) + 28px); }
  .why-grid .features-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

.product-icon.gold {
  background: radial-gradient(closest-side at 50% 46%, #fffdf3 0%, #fff4d3 65%, #ffe9ab 100%);
}
.tg-star--card {
  width: 26px;
  height: 26px;
  object-fit: contain;
  transform: translateY(-0.5px);
}

.product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-icon img { margin: 0; }
.tg-star--card { transform: none; }

.star-calc__ico {
  display: flex;
  align-items: center;
  justify-content: center;
}
.star-calc__ico img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin: 0;
}

.hero .lede + .lede { margin-top: -16px; }

[hidden] { display: none !important; }
.product .sub:empty { display: none; }

img {
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}
@media (max-width: 620px) {
  .compare thead th.is-featured { white-space: normal; }
  .compare-mark { width: 15px; margin-inline-end: 4px; }
}
@media (max-width: 620px) {
  .cmp-head { gap: 4px; }
  .cmp-head .compare-mark { width: 15px; }
}

.promo-row { align-items: stretch; gap: 8px; }
.promo-row input {
  flex: 1 1 auto;
  max-width: 64%;
  min-height: 44px;
  padding: 11px 12px;
  font-size: 0.8rem !important;
  text-align: right;
  direction: rtl;
  border-radius: 10px;
}
.promo-row .btn { flex: none; white-space: nowrap; border-radius: 10px; }

.remove-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(192, 57, 43, 0.28);
  background: rgba(192, 57, 43, 0.06);
  color: #c0392b;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.remove-btn:hover { background: #c0392b; border-color: #c0392b; color: #fff; }

[dir="rtl"] .input-wrap { padding-right: 12px; padding-left: 0; }
[dir="rtl"] .input-wrap input {
  padding-right: 4px !important;
  padding-left: 12px !important;
  text-align: right;
  direction: ltr;
}
.input-wrap input::placeholder { text-align: right; }

.promo-row input { max-width: none; }

.drawer-head h2 { display: flex; align-items: center; gap: 8px; }
.drawer-title__ico { width: 20px; height: 20px; color: var(--green); }

.shop-note { align-items: flex-start; line-height: 1.9; }
.shop-note > span { min-width: 0; }
.shop-note .ico { margin-top: 4px; }

@media (max-width: 979px) {
}
@media (max-width: 979px) {
}
@media (max-width: 979px) {
}
@media (max-width: 979px) {
}
@media (min-width: 840px) {
  .steps::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 47px;
    inset-inline: 7%;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(18, 98, 79, 0.24) 0 7px, transparent 7px 14px);
  }
}
.step-icon .ico { width: 22px; height: 22px; }
.step-icon .ico { width: 23px; height: 23px; }

.tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) {
  .tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.tab-ico { width: 24px; height: 24px; fill: currentColor; flex: none; }
.tab-glyph--ton { width: 18px; height: 16px; object-fit: contain; }

@media (max-width: 759px) {

  .tab-thumb { display: none; }
  .tab[aria-pressed="true"] {
    background: linear-gradient(180deg, #18765d, var(--green));
    box-shadow: var(--glow-green);
  }
  .tab { border-radius: 16px; }
  .tabs { border-radius: 16px; }
}

.cfg {
  background: var(--white);
  border: 1px solid var(--green-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) {
  .cfg { padding: 18px 15px 20px; border-radius: 26px; }
}

.cfg-intro {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--green-line);
}
.cfg-intro h3 {
  font-size: 1.22rem;
  margin-bottom: 4px;
}
.cfg-intro p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 60em;
}
.cfg-icon {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green);
}
.cfg-icon .ico { width: 26px; height: 26px; fill: currentColor; }
.cfg-icon--boost {
  background: radial-gradient(120% 120% at 30% 8%, #fffdf3 0%, #fff4d3 60%, #ffe9ab 100%);
  color: var(--gold-deep);
  box-shadow: inset 0 0 0 1px var(--ring-gold-c);
}

.cfg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  min-height: 30px;
}
.cfg-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cfg-step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.cfg-progress { display: inline-flex; align-items: center; gap: 5px; }
.cfg-progress i {
  display: block;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--green-line);
  transition: background-color 0.25s ease, width 0.25s ease;
}
.cfg-progress i.is-on { background: var(--green); width: 26px; }

.cfg-back {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.cfg-back:hover { background: var(--green-soft); border-color: var(--green); }

.cfg-q {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 700px) {
  .choice-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
.choice {
  position: relative;
  width: 100%;
  display: block;
  text-align: start;
  padding: 18px 46px 16px 16px;
  background: var(--cream);
  border: 1.5px solid var(--green-line);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.2s var(--ease), box-shadow 0.18s ease;
}
[dir="rtl"] .choice { padding: 18px 16px 16px 46px; }
.choice:hover {
  border-color: rgba(18, 98, 79, 0.5);
  background: #fff;
  transform: translateY(-1px);
}
.choice strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.choice > span:last-of-type {
  display: block;
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--muted);
}
.choice-check {
  position: absolute;
  top: 18px;
  inset-inline-end: 16px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1.5px solid var(--green-line);
  background: var(--white);
  display: grid;
  place-items: center;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.choice.is-selected {
  border-color: var(--green);
  background: var(--green-soft);
  box-shadow: var(--shadow-sm);
}
.choice.is-selected .choice-check { background: var(--green); border-color: var(--green); }
.choice.is-selected .choice-check::after {
  content: "";
  width: 9px;
  height: 5px;
  margin-top: -2px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.dur-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 900px) {
  .dur-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
.dur {
  padding: 15px 10px 13px;
  background: var(--cream);
  border: 1.5px solid var(--green-line);
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.2s var(--ease);
}
.dur:hover { border-color: rgba(18, 98, 79, 0.5); background: #fff; transform: translateY(-1px); }
.dur.is-selected {
  border-color: var(--green);
  background: var(--green-soft);
  box-shadow: var(--shadow-sm);
}
.dur-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}
.dur-price {
  display: block;
  margin-top: 5px;
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.cfg-field { margin-bottom: 4px; }
.cfg-field > label {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  margin-bottom: 7px;
}
.cfg-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: var(--cream);
  border: 1.5px solid var(--green-line);
  border-radius: 10px;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.cfg-input:focus-within {
  background: #fff;
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}
.cfg-input input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 13px 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
}
.cfg-input .unit {
  flex: none;
  font-size: 0.8rem;
  color: var(--muted);
}
.cfg-input.is-ltr input { direction: ltr; text-align: left; }

.cfg-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.7;
}
.cfg-error {
  font-size: 0.8rem;
  color: #b23a2f;
  margin-top: 7px;
  line-height: 1.7;
}

.cfg-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--green-line);
}
.cfg-price { display: grid; gap: 1px; }
.cfg-price strong {
  font-size: 1.12rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.cfg-price small { font-size: 0.8rem; color: var(--muted); }
.cfg-foot .btn { flex: none; min-width: 150px; }
@media (max-width: 420px) {
  .cfg-foot { gap: 10px; }
  .cfg-foot .btn { flex: 1; min-width: 0; }
}

.cfg-summary {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 13px 15px;
  background: var(--paper);
  border-radius: 16px;
  font-size: 0.8rem;
}
.cfg-summary:empty { display: none; }
.cfg-summary span.k { color: var(--muted); }
.cfg-summary .ltr {
  direction: ltr;
  text-align: right;
  word-break: break-all;
  unicode-bidi: plaintext;
}

.balance-info {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f4faff, #e9f4ff);
  border: 1px solid rgba(59, 158, 245, 0.28);
  color: #16384f;
}
.balance-info p {
  font-size: 0.8rem;
  line-height: 1.85;
}
.balance-info__lead { margin-top: 9px; font-weight: 650; }
.balance-info ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 4px;
  margin: 7px 0;
}
.balance-info li { font-size: 0.8rem; line-height: 1.8; }
.balance-info > p:last-child { margin-top: 8px; }

.note-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 5px;
  margin: 0 0 14px;
}
.note-list li {
  position: relative;
  padding-inline-start: 16px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
}
.note-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-deep);
}

.cart-item-meta .ltr {
  display: inline-block;
  max-width: 100%;
  direction: ltr;
  text-align: right;
  word-break: break-all;
  unicode-bidi: plaintext;
  font-size: 0.72rem;
  color: var(--muted);
}
.cart-item--locked .qty { justify-content: flex-end; }
.dur-grid[hidden] { display: none; }

[dir="rtl"] .input-wrap.is-at {
  direction: ltr;
  padding-left: 13px;
  padding-right: 0;
}
[dir="rtl"] .input-wrap.is-at input#tg {
  text-align: left;
  padding-left: 4px !important;
  padding-right: 12px !important;
}
[dir="rtl"] .cfg-input.is-ltr {
  direction: ltr;
  gap: 3px;
}
[dir="rtl"] .cfg-input.is-ltr input {
  text-align: left;
}

.tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 759px) {

  #tab-custom { grid-column: 1 / -1; justify-self: center; width: fit-content; min-width: 220px; }
}
@media (min-width: 760px) {
  .tabs {
    width: 690px;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tab-thumb { display: none; }
.tab[aria-pressed="true"] {
  background: linear-gradient(180deg, #18765d, var(--green));
  box-shadow: var(--glow-green);
  color: #fff;
}
.tab-glyph--trx { width: 19px; height: 19px; }
@media (max-width: 759px) {
  .tab { border-radius: 16px; }
  .tabs { border-radius: 16px; }
}

.cfg-icon--gift {
  background: radial-gradient(120% 120% at 30% 8%, #fffdf3 0%, #fff4d3 60%, #ffe9ab 100%);
  color: var(--gold-deep);
  box-shadow: inset 0 0 0 1px var(--ring-gold-c);
}

[dir="rtl"] .cfg-input.is-at {
  direction: ltr;
  gap: 3px;
}
[dir="rtl"] .cfg-input.is-at input {
  text-align: left;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 760px) {
  .gift-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.gift {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  background: var(--cream);
  border: 1.5px solid var(--green-line);
  border-radius: 16px;
  text-align: start;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.2s var(--ease), box-shadow 0.18s ease;
}
.gift:hover { background: #fff; border-color: rgba(18, 98, 79, 0.5); transform: translateY(-1px); }
.gift.is-selected {
  border-color: var(--green);
  background: var(--green-soft);
  box-shadow: var(--shadow-sm);
}
.gift-emoji {
  flex: none;
  width: 34px;
  font-size: 1.5rem;
  line-height: 1;
  text-align: center;
  filter: drop-shadow(0 3px 5px rgba(16, 35, 29, 0.18));
}
.gift-info { min-width: 0; display: grid; gap: 1px; }
.gift-name {
  font-size: 0.9rem;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gift-price {
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}
@media (max-width: 359px) {
  .gift-grid { grid-template-columns: 1fr; }
}

.gift-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: var(--paper);
  border-radius: 16px;
}
.gift-selected .gift-emoji { width: 40px; font-size: 1.9rem; }
.gift-selected strong { display: block; font-size: 0.9rem; font-weight: 700; }
.gift-selected small { font-size: 0.8rem; color: var(--muted); }

.balance-info--gift {
  background: linear-gradient(180deg, #fffcf3, #fff5dc);
  border-color: rgba(217, 154, 0, 0.28);
}
.balance-info--gift,
.balance-info--gift p,
.balance-info--gift li { color: #5f4a00; }
.balance-info--gift .balance-info__lead { color: #7a5700; }

[dir="rtl"] .input-wrap.is-at input#tg::placeholder {
  text-align: left;
}

@media (min-width: 760px) {
  .tabs {
    width: 780px;
    max-width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 759px) {
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.cfg-icon--reaction {
  background: radial-gradient(120% 120% at 30% 8%, #fffdf3 0%, #fff4d3 60%, #ffe9ab 100%);
  color: var(--gold-deep);
  box-shadow: inset 0 0 0 1px var(--ring-gold-c);
}
.cfg-icon--reaction .ico { width: 34px; height: 34px; }
.cfg-icon--giveaway {
  background: linear-gradient(180deg, #f8f3ff, #efe4ff);
  color: #6b3fa0;
  box-shadow: inset 0 0 0 1px rgba(107, 63, 160, 0.18);
}

.balance-info--reaction {
  background: linear-gradient(180deg, #fffcf3, #fff5dc);
  border-color: rgba(217, 154, 0, 0.28);
}
.balance-info--reaction,
.balance-info--reaction p,
.balance-info--reaction li { color: #5f4a00; }
.balance-info--reaction .balance-info__lead { color: #7a5700; }

.balance-info--giveaway {
  background: linear-gradient(180deg, #faf6ff, #f2e9ff);
  border-color: rgba(107, 63, 160, 0.22);
}
.balance-info--giveaway,
.balance-info--giveaway p,
.balance-info--giveaway li { color: #3f2a5c; }
.balance-info--giveaway .balance-info__lead { color: #6b3fa0; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 760px) {
  .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
  .plan-grid { grid-template-columns: 1fr; }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 16px 15px;
  background:
    linear-gradient(180deg, rgba(248, 184, 26, 0.06), transparent 55%),
    var(--white);
  border: 1.5px solid var(--green-line);
  border-radius: 16px;
  text-align: start;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.22s var(--ease), box-shadow 0.22s ease, background-color 0.2s ease;
}
.plan::after {
  content: "";
  position: absolute;
  inset: auto -34% -58% auto;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(248, 184, 26, 0.2), transparent 68%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.plan:hover {
  transform: translateY(-3px);
  border-color: rgba(248, 184, 26, 0.5);
  box-shadow: var(--shadow-sm);
}
.plan:hover::after { opacity: 1; }
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.plan-stars {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1.2;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.plan-star-ico { font-size: 0.8rem; transform: translateY(-1px); }
.plan-emoji {
  flex: none;
  font-size: 1.35rem;
  line-height: 1;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.18));
}
.plan-name {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plan-meta {
  font-size: 0.72rem;
  color: var(--muted);
}
.plan-price {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 1.02rem;
  font-weight: 780;
  letter-spacing: normal;
  font-variant-numeric: tabular-nums;
}
.plan-price small {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}
.plan.is-selected {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(248, 184, 26, 0.16), rgba(248, 184, 26, 0.04)),
    var(--white);
  box-shadow: var(--glow-gold), var(--shadow-sm);
}
.plan.is-selected .plan-name { color: var(--gold-deep); }

.instr {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--green-line);
  border-radius: 16px;
}
.instr p {
  font-size: 0.8rem;
  line-height: 1.9;
  margin-bottom: 8px;
}
.instr p:last-child { margin-bottom: 0; }
.instr .note-list { margin: 4px 0 10px; }
.instr__lead { font-weight: 650; color: var(--gold-deep); }
.ltr-example {
  direction: ltr;
  text-align: right;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  background: #fff;
  border: 1px dashed var(--green-line);
  border-radius: 10px;
  padding: 6px 10px;
  color: var(--green);
  word-break: break-all;
}

.panel { perspective: 1100px; }
.panel.is-entering { animation: none; }

.tab { overflow: hidden; }
.tab[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.24) 45%, transparent 72%);
  transform: translateX(-130%);
  pointer-events: none;
}
.tab.is-switched[aria-pressed="true"]::after {
  animation: tab-sheen 0.7s ease 0.04s both;
}
@keyframes tab-sheen {
  to { transform: translateX(130%); }
}
.tab:active { transform: scale(0.97); }
.tab.is-switched { animation: tab-pop 0.42s var(--ease) both; }
@keyframes tab-pop {
  0% { transform: scale(0.93); }
  55% { transform: scale(1.035); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {

  .panel.is-entering {
    animation: panel-in 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: opacity, transform;
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {

  .panel.is-entering .grid > * { animation: card-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .panel.is-entering .grid > :nth-child(1) { animation-delay: 0.03s; }
  .panel.is-entering .grid > :nth-child(2) { animation-delay: 0.075s; }
  .panel.is-entering .grid > :nth-child(3) { animation-delay: 0.12s; }
  .panel.is-entering .grid > :nth-child(4) { animation-delay: 0.165s; }
  .panel.is-entering .grid > :nth-child(5) { animation-delay: 0.21s; }
  .panel.is-entering .grid > :nth-child(n+6) { animation-delay: 0.255s; }
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel.is-entering .product,
  .panel.is-entering .star-calc,
  .panel.is-entering .cfg-intro,
  .panel.is-entering .cfg-head,
  .panel.is-entering .balance-info,
  .panel.is-entering .cfg-q,
  .panel.is-entering .cfg-field,
  .panel.is-entering .instr,
  .panel.is-entering .cfg-foot,
  .panel.is-entering .cfg-summary,
  .panel.is-entering .gift-selected,
  .panel.is-entering .choice,
  .panel.is-entering .dur,
  .panel.is-entering .gift,
  .panel.is-entering .plan {
    animation: none !important;
  }
}

.tab-thumb {
  display: block;
  opacity: 0;
  width: 40px;
  height: 40px;
  top: 5px;
  left: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1a8467, var(--green));
  box-shadow: var(--glow-green), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    left 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.32s var(--ease),
    height 0.32s var(--ease),
    opacity 0.25s ease;
  will-change: left, top;
}
.tabs.is-ready .tab-thumb { opacity: 1; }
.tab-thumb.is-pulsing { animation: thumb-pulse 0.5s var(--ease); }
@keyframes thumb-pulse {
  0% { transform: scale(1); }
  38% { transform: scale(1.045); }
  100% { transform: scale(1); }
}

.tab[aria-pressed="true"] {
  background: transparent;
  box-shadow: none;
}
@media (max-width: 759px) {
  .tab-thumb { border-radius: 16px; }
  .tab[aria-pressed="true"] { background: transparent; box-shadow: none; }
}

.tab.is-leaving { color: #fff; transition: color 0.22s ease 0.32s; }
@keyframes tab-activate {
  0%, 52% { color: var(--muted); }
  100% { color: #fff; }
}
.tab.is-switched[aria-pressed="true"] {
  animation: tab-activate 0.5s var(--ease) both;
}

@keyframes tab-activate {
  0%, 78% { color: var(--muted); }
  100% { color: #fff; }
}
.tab.is-switched[aria-pressed="true"] {
  animation: tab-activate 0.46s var(--ease) both;
}

@media (prefers-reduced-motion: reduce) {
  .tab-thumb { transition: none !important; }
  .tab-thumb.is-pulsing { animation: none !important; }
  .tab.is-switched { animation: none !important; }
}

#shop-sub { min-height: 1.9em; }
@media (max-width: 759px) {
  #shop-sub { min-height: 3.7em; }
}

.success-actions { display: grid; gap: 8px; margin-top: 4px; }
.success-actions .btn { width: 100%; }

.fold { margin-top: 8px; }
.fold > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px 0;
}
.fold > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s var(--ease);
}

.gift-grid.is-collapsed .is-extra { display: none; }
.show-more {
  display: block;
  margin: 14px auto 0;
  padding: 10px 22px;
  border: 1.5px solid var(--green-line);
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.show-more:hover { background: var(--green-soft); border-color: var(--green); }
@media (max-width: 760px) {
  .learn-grid { grid-template-columns: 1fr; }
}

.slider-section { padding-block: clamp(18px, 3vw, 34px) 0; }
.slider { position: relative; }
.slider__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  touch-action: pan-y;
  background: var(--green-deep);
}
.slider__track {
  display: flex;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}
.slider__track.is-dragging { transition: none; }
.slide {
  position: relative;
  flex: 0 0 100%;
  min-height: clamp(190px, 34vw, 340px);
  display: grid;
  align-items: end;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
}
.slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  -webkit-user-drag: none;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(7, 43, 35, 0.86) 0%, rgba(7, 43, 35, 0.35) 55%, rgba(7, 43, 35, 0) 100%);
}
.slide__body {
  padding: clamp(18px, 3.4vw, 38px);
  max-width: 640px;
  display: grid;
  gap: 8px;
  justify-items: start;
}
.slide__kind {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #3d2c00;
}
.slide__title { font-size: clamp(1.15rem, 3.2vw, 1.9rem); line-height: 1.5; font-weight: 800; }
.slide__text { font-size: clamp(0.88rem, 1.9vw, 1rem); line-height: 1.8; opacity: 0.92; }
.slide__cta {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #3d2c00;
  font-weight: 800;
  font-size: 0.9rem;
}
.slider__nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-dark);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
}
.slider__nav--prev { inset-inline-start: 12px; }
.slider__nav--next { inset-inline-end: 12px; }
.slider__nav:hover { background: #fff; }
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.slider__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--sand);
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.25s;
}
.slider__dots button[aria-current="true"] { width: 26px; background: var(--green); }
@media (max-width: 640px) {
  .slider__nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slider__track { transition: none; }
}

.article { max-width: 760px; margin-inline: auto; padding-block: clamp(28px, 5vw, 56px); }
.article__cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 22px; aspect-ratio: 16 / 7; object-fit: cover; }
.article h1 { font-size: clamp(1.5rem, 4.4vw, 2.3rem); line-height: 1.5; margin-bottom: 8px; }
.article__meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.article h2 { font-size: 1.25rem; margin: 26px 0 8px; color: var(--green); }
.article p { margin: 0 0 14px; line-height: 2; }
.article ul { margin: 0 0 14px; padding-inline-start: 22px; line-height: 2; }
.article__back { display: inline-block; margin-top: 18px; color: var(--green); font-weight: 700; }
.article--selectable, .article--selectable * { user-select: text; -webkit-user-select: text; }

@media (min-width: 641px) {

  .slide__body { padding-inline: 68px; }
}
#guide-hero .section-head h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

@media (max-width: 979px) {
  html { scroll-behavior: auto; }
}

.product {
  gap: 6px;
  padding: 28px 22px 22px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(229, 239, 235, 0.5) 100%),
    var(--white);
}
.product::after {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(248, 184, 26, 0.22), transparent 68%);
  inset: auto -40% -80% auto;
}
.product:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(248, 184, 26, 0.45);
}

.product-icon,
.product-icon--prem {
  width: 68px; height: 68px;
  border-radius: 26px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-md);
}
.product-icon .ico,
.product-icon--prem .ico { width: 30px; height: 30px; }
.product-icon.gold {
  background: radial-gradient(120% 120% at 30% 8%, #fffdf3, #fef0c2 55%, #ffe193);
  box-shadow: inset 0 0 0 1px var(--ring-gold-c), var(--glow-gold-lg);
}
.product-icon.gold .tg-star--card { width: 42px; }
.premium-art { width: 74px; height: 74px; }

.product h3 { font-size: 1.42rem; font-weight: 780; }
.product .sub { font-size: 0.9rem; margin-bottom: 16px; }
.price { font-size: 2.1rem; font-weight: 800; }
.price-cur { font-size: 0.9rem; }
.price-was { font-size: 0.9rem; }
.price-row { gap: 10px; margin-top: auto; }
.price-note { font-size: 0.8rem; margin-top: -4px; }

.product--big {
  background:
    linear-gradient(160deg, var(--green-dark) 0%, var(--green-deep) 70%),
    var(--green-deep);
  border-color: transparent;
  color: var(--cream);
}
.product--big h3 { color: #fff; }
.product--big .sub,
.product--big .price-note { color: rgba(244, 242, 238, 0.62); }
.product--big .price { color: var(--gold); }
.product--big .price-cur { color: rgba(244, 242, 238, 0.75); }
.product--big .add-btn {
  background: rgba(248, 184, 26, 0.14);
  border-color: rgba(248, 184, 26, 0.4);
  color: var(--gold);
}
.product--big .add-btn:hover { background: var(--gold); color: var(--green-dark); }
.product--big::after { opacity: 0.5; }
.product--big.is-popular { box-shadow: var(--glow-gold), var(--shadow); }

.product-badge {
  font-size: 0.72rem;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--gold), #ffd75e 60%, var(--gold-deep));
  box-shadow: var(--glow-gold);
  letter-spacing: 0.02em;
  z-index: 2;
}

.add-btn {
  margin-top: 16px;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 420px) {
  .product { padding: 22px 16px 18px; }
  .price { font-size: 1.7rem; }
}
.theme-btn .ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 0.01px; }
.theme-btn .ico use { fill: currentColor; }

.choice-check,
.choice.is-selected .choice-check {
  width: 13px;
  height: 13px;
  border-radius: 0;
  border: 0;
  background: transparent;
  top: 22px;
  inset-inline-end: 18px;
  transition: transform 0.25s var(--ease);
}
.choice-check::after,
.choice.is-selected .choice-check::after {
  content: "";
  width: 11px;
  height: 11px;
  margin-top: 0;
  border-left: 2.5px solid var(--muted);
  border-bottom: 2.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease), border-color 0.2s ease;
}
.choice:hover .choice-check { transform: translateX(-3px); }
.choice:hover .choice-check::after { border-color: var(--green); }
.choice.is-selected .choice-check::after { border-color: var(--green); }

.task-check { display: flex; gap: 10px; align-items: stretch; margin-bottom: 14px; }
.task-check .cfg-input { flex: 1; }
.task-check .btn { white-space: nowrap; }
@media (max-width: 480px) {
  .task-check { flex-direction: column; }
}
.task-spent { text-align: center; color: var(--muted); font-size: 0.92rem; margin: 0 0 14px; }
.task-spent b { color: var(--ink); font-variant-numeric: tabular-nums; }
.task-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .task-grid { grid-template-columns: 1fr 1fr; } }
.task-card {
  background: var(--white);
  border: 1px solid var(--green-line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: grid; gap: 10px;
}
.task-card.is-done { border-color: rgba(79,227,178,.5); box-shadow: var(--shadow-sm); }
.task-card h3 { margin: 0; font-size: 1.02rem; }
.task-card .desc { margin: 0; color: var(--muted); font-size: 0.9rem; }
.task-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 0.85rem; flex-wrap: wrap; }
.task-meta b { font-variant-numeric: tabular-nums; }
.task-bar { height: 10px; border-radius: 99px; background: var(--green-line); overflow: hidden; }
.task-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--green), #4fe3b2); transition: width .6s var(--ease); }
.task-state { font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.task-state.done { color: var(--green); font-weight: 700; }
.task-empty { text-align: center; color: var(--muted); padding: 18px 0; }

.buy-split {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  flex: 1 1 100%;
  min-width: 0;
}
.buy-split .btn {
  width: 100%;
  flex: none;
  min-width: 0;
  padding-inline: 12px;
  font-size: 0.88rem;
}
.buy-split .btn-gold { order: -1; }

.cfg-foot {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));

  background: var(--white);
  border-top: 0;
  box-shadow: none;
}
:root[data-theme="dark"] .cfg-foot {

  background: rgba(11, 23, 20, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.cfg-foot .cfg-price { flex: 1 1 auto; min-width: 0; }
.cfg-foot .cfg-price strong { font-size: 0.9rem; white-space: nowrap; }
.cfg-foot .cfg-price small { font-size: 0.7rem; }
.cfg-foot .buy-split {
  width: auto;
  flex: 1 1 196px;
  min-width: 0;
  flex-direction: row;
  gap: 6px;
}
.cfg-foot .buy-split .btn {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 9px 6px;
  font-size: clamp(0.68rem, 2.75vw, 0.82rem);
  overflow: hidden;
}
@media (max-width: 340px) {
  .cfg-foot .buy-split { flex: 1 1 100%; }
}

:root .pane-shop.is-detail { scroll-padding-bottom: 96px; }
:root .pane-shop .cfg input { scroll-margin-bottom: 96px; }

.qs {
  position: fixed;
  inset: 0;
  z-index: 115;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 200ms ease;
}
.qs.is-open { opacity: 1; }
.qs__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 16, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.qs__panel {
  position: relative;
  width: min(460px, 100%);
  max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  border-radius: 26px 26px 0 0;
  background: var(--paper, #fffdf8);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, 0.45);
  transform: translateY(22px);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.qs.is-open .qs__panel { transform: none; }
.qs__grip {
  display: block;
  width: 42px;
  height: 4px;
  margin: 2px auto 12px;
  border-radius: 99px;
  background: rgba(16, 35, 29, 0.16);
}
.qs__head { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between; }
.qs__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #8a6100;
}
.qs__titles h3 { margin: 3px 0 2px; font-size: 1.02rem; font-weight: 800; color: var(--ink, #10231d); }
.qs__sum { margin: 0; font-size: 0.86rem; font-weight: 700; color: var(--green-800, #14523f); font-variant-numeric: tabular-nums; }
.qs__x {
  appearance: none;
  border: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(16, 35, 29, 0.06);
  color: var(--ink, #10231d);
  cursor: pointer;
}
.qs__x .ico { width: 16px; height: 16px; }
.qs__body { padding-top: 14px; }
.qs__label { margin: 0 0 8px; font-size: 0.8rem; font-weight: 700; color: var(--muted, #5c6f68); }

.qs__seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border-radius: 16px;
  background: rgba(16, 35, 29, 0.05);
}
.qs__seg-btn {
  appearance: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border-radius: 13px;
  background: transparent;
  color: var(--muted, #5c6f68);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.qs__seg-btn .ico { width: 15px; height: 15px; }
.qs__seg-btn.is-on {
  color: #3d2c00;
  background: linear-gradient(150deg, #ffd76a, var(--gold, #f8b81a));
  box-shadow: 0 6px 16px -8px rgba(217, 154, 0, 0.7);
}
.qs__self { margin: 10px 2px 0; font-size: 0.8rem; color: var(--muted, #5c6f68); }
.qs__self b { color: var(--ink, #10231d); font-weight: 700; }

.qs__field { display: block; margin-top: 12px; }
.qs__field[hidden] { display: none; }
.qs__field > span { display: block; margin-bottom: 6px; font-size: 0.78rem; color: var(--muted, #5c6f68); }
.qs__field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid rgba(16, 35, 29, 0.14);
  background: #fff;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink, #10231d);
}
.qs__field input:focus { outline: 2px solid rgba(248, 184, 26, 0.55); outline-offset: 1px; }
.qs__err { display: block; margin-top: 6px; font-size: 0.76rem; color: #b23a2f; }

#qs-continue { margin-top: 16px; }

.qs__pays { display: grid; gap: 9px; }
.qs-pay {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(16, 35, 29, 0.12);
  background: #fff;
  text-align: start;
  font: inherit;
  color: var(--ink, #10231d);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.qs-pay:active { transform: scale(0.985); }
.qs-pay:focus-visible { outline: 2px solid rgba(248, 184, 26, 0.6); outline-offset: 2px; }
.qs-pay__ico {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(150deg, #fff4d0, #ffe7a3);
  color: #7a5600;
}
.qs-pay__ico .ico { width: 19px; height: 19px; }
.qs-pay__copy { display: grid; gap: 2px; min-width: 0; }
.qs-pay__copy b { font-size: 0.9rem; font-weight: 700; }
.qs-pay__copy small { font-size: 0.76rem; color: var(--muted, #5c6f68); font-variant-numeric: tabular-nums; }
.qs__back {
  display: block;
  margin: 12px auto 0;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted, #5c6f68);
  font: inherit;
  font-size: 0.82rem;
  padding: 8px;
  cursor: pointer;
}
#qs-error { margin: 10px 2px 0; }

:root[data-theme="dark"] .qs__panel { background: #101f1a; }
:root[data-theme="dark"] .qs__titles h3,
:root[data-theme="dark"] .qs__self b { color: #eaf5ef; }
:root[data-theme="dark"] .qs__sum { color: #7fe0bd; }
:root[data-theme="dark"] .qs__seg { background: rgba(255, 255, 255, 0.06); }
:root[data-theme="dark"] .qs__seg-btn { color: #a9bdb3; }
:root[data-theme="dark"] .qs__seg-btn.is-on { color: #2b1f00; }
:root[data-theme="dark"] .qs__x { background: rgba(255, 255, 255, 0.08); color: #eaf5ef; }
:root[data-theme="dark"] .qs__field input,
:root[data-theme="dark"] .qs-pay { background: #16261f; border-color: rgba(255, 255, 255, 0.12); color: #eaf5ef; }
:root[data-theme="dark"] .qs-pay__ico { background: rgba(248, 184, 26, 0.14); color: #ffd977; }
:root[data-theme="dark"] .qs__eyebrow { color: #ffd977; }
@media (prefers-reduced-motion: reduce) {
  .qs, .qs__panel, .qs__seg-btn, .qs-pay { transition: none; }
}

.product .sub:empty { margin-bottom: 0; }

.product .price-row {
  margin-top: auto;
  align-items: flex-end;
  gap: 8px;
}

.product .price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.product .price {
  font-size: 1.42rem;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
}

.product .price-cur {
  margin-top: 2px;
  font-size: 0.72rem;
  line-height: 1.2;
}

.product--big .price { font-size: 1.55rem; }

:root ::selection { background: rgba(248, 184, 26, 0.35); color: inherit; }
:root :focus-visible:not(input):not(textarea):not(select) {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
:root input:focus-visible { outline: none; }
:root .section-head .eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 2px;
  margin-inline-end: 10px;
  vertical-align: middle;
  border-radius: 10px;
  background: linear-gradient(270deg, var(--gold), transparent);
}

:root .site-header {
  background: rgba(7, 43, 35, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
:root .site-header.is-scrolled {
  background: rgba(7, 43, 35, 0.95);
  border-bottom-color: rgba(248, 184, 26, 0.16);
  box-shadow: var(--shadow-md);
}
:root[data-theme="dark"] .site-header { background: rgba(5, 13, 10, 0.78); }
:root[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(5, 13, 10, 0.94);
  border-bottom-color: rgba(248, 184, 26, 0.14);
}

:root .brand-mark {
  width: 42px; height: 42px;
  border-radius: 16px;
  background: transparent;
  box-shadow: var(--glow-gold), var(--glow-gold-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
:root .brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
:root .brand-text { color: #fff; font-size: 1.28rem; letter-spacing: normal; }
:root .brand-text span,
:root[data-theme="dark"] .brand-text span { color: var(--gold); }
:root .brand:hover { color: #fff; }

@media (min-width: 980px) {
  :root .header-actions { margin-left: 0; }
}

:root .cart-btn {
  background: linear-gradient(135deg, #ffd75e, var(--gold) 55%, var(--gold-deep));
  color: var(--green-dark);
  padding: 10px 16px;
  font-weight: 700;
  box-shadow: var(--glow-gold-lg), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
:root .cart-btn:hover {
  background: linear-gradient(135deg, #ffe08a, #ffc233 55%, var(--gold));
  transform: translateY(-2px);
}
:root .cart-count,
:root[data-theme="dark"] .cart-count { background: var(--green-dark); color: #fff; }
:root .cart-count[data-count="0"],
:root[data-theme="dark"] .cart-count[data-count="0"] {
  background: rgba(7, 43, 35, 0.16); color: var(--green-dark);
}
:root .cart-count.is-bump { animation: cart-bump 0.5s var(--ease); }
@keyframes cart-bump {
  0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); }
}

@media (max-width: 979px) {
}

:root .shop-bar {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
:root .shop-bar .promo-banner { align-self: center; width: auto; max-width: 100%; }
@media (min-width: 760px) {
  :root .tabs { width: 100%; max-width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 26px; }
}
@media (min-width: 1020px) {
  :root .tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); border-radius: 999px; }
  :root .tab { white-space: nowrap; padding-inline: 12px; }
}

:root .products { gap: 18px; }
@media (min-width: 700px) { :root .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

:root .product {
  position: relative;
  gap: 0;
  padding: 20px 22px 22px;
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--green-line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s ease;
}

:root .product::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(270deg, var(--gold), #ffd75e 45%, rgba(248, 184, 26, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
:root .product:hover::before,
:root .product.is-popular::before { opacity: 1; }
:root .product:hover { transform: translateY(-7px); border-color: rgba(248, 184, 26, 0.55); }

:root .product-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
:root .product-top .product-icon,
:root .product-top .product-icon--prem { margin-bottom: 0; width: 62px; height: 62px; border-radius: 16px; }
:root .product-top .product-icon.gold .tg-star--card { width: 38px; }
:root .product-top .premium-art { width: 68px; height: 68px; }
:root .product-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 650; line-height: 1.5;
  color: var(--green);
  background: var(--green-soft);
}
:root .product-chip .ico { width: 12px; height: 12px; fill: var(--gold-deep); }
:root[data-theme="dark"] .product-chip { color: #7be0c2; background: rgba(123, 224, 194, 0.1); }
:root[data-theme="dark"] .product-chip .ico { fill: var(--gold); }

:root .product h3 { font-size: 1.4rem; font-weight: 790; letter-spacing: normal; line-height: 1.5; margin: 0; }
:root .product h3::after { content: ""; display: block; height: 16px; }
:root .product .sub { font-size: 0.9rem; margin: -10px 0 8px; color: var(--muted); }

:root .product .price-row {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--green-line);
  align-items: center;
  justify-content: space-between;
}
:root .product .price-block { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 7px; }
:root .product .price-meta { flex-basis: 100%; display: flex; align-items: center; gap: 8px; }
:root .product .price-was { font-size: 0.8rem; }
:root .product .price { font-size: 1.95rem; font-weight: 800; letter-spacing: normal; line-height: 1.2; }
:root .product .price-cur { margin: 0; font-size: 0.8rem; }
:root .price-save {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 750;
  color: #6b4f00;
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 1px var(--ring-gold-c);
  white-space: nowrap;
}
:root[data-theme="dark"] .price-save { color: var(--gold); background: rgba(248, 184, 26, 0.12); }
:root .product .price-note { margin: 6px 0 0; font-size: 0.8rem; color: var(--muted); }

:root .product .add-btn {
  width: 100%;
  margin-top: 18px;
  padding: 0 16px; height: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0;
  border-radius: 16px;
  font-size: 0.9rem; font-weight: 720;
  color: var(--green);
  background: var(--green-soft);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}
:root[data-theme="dark"] .product .add-btn { color: #7be0c2; background: rgba(123, 224, 194, 0.09); }
:root .product .add-btn .ico { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
:root .product .add-btn:hover,
:root .product:hover .add-btn {
  color: #fff;
  background: linear-gradient(135deg, #18765d, var(--green));
  box-shadow: var(--glow-green);
}
:root .product .add-btn:hover .ico { transform: translateX(-3px) scale(1.12); }
:root .product .add-btn:active { transform: scale(0.98); }

:root .product.is-popular .add-btn,
:root[data-theme="dark"] .product.is-popular .add-btn {
  color: var(--green-dark);
  background: linear-gradient(135deg, #ffd75e, var(--gold) 60%, var(--gold-deep));
  box-shadow: var(--glow-gold-lg);
}
:root .product--big:not(.is-popular) .add-btn,
:root[data-theme="dark"] .product--big:not(.is-popular) .add-btn {
  color: var(--gold);
  background: rgba(248, 184, 26, 0.12);
  box-shadow: inset 0 0 0 1px var(--ring-gold-c);
}
:root .product.is-popular .add-btn:hover,
:root .product.is-popular:hover .add-btn,
:root[data-theme="dark"] .product.is-popular .add-btn:hover { color: var(--green-dark); background: linear-gradient(135deg, #ffe08a, #ffc233); }
:root .product--big:not(.is-popular) .add-btn:hover,
:root .product--big:not(.is-popular):hover .add-btn,
:root[data-theme="dark"] .product--big:not(.is-popular) .add-btn:hover {
  color: var(--green-dark);
  background: linear-gradient(135deg, #ffd75e, var(--gold));
  box-shadow: var(--glow-gold-lg);
}

:root .product-badge {
  position: static;
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 5px 13px;
  border-radius: 999px;
  inset: auto;
  transform: none;
  font-size: 0.72rem;
  color: var(--green-dark);
}

:root .product--big .product-chip { color: var(--gold); background: rgba(248, 184, 26, 0.14); }
:root .product--big .price-row { border-top-color: rgba(255, 255, 255, 0.14); }
:root .product--big .price-save { color: var(--gold); background: rgba(248, 184, 26, 0.14); box-shadow: inset 0 0 0 1px var(--ring-gold-c); }
:root .product--big .price-note,
:root .product--big .sub { color: rgba(244, 242, 238, 0.7); }
:root[data-theme="dark"] .product--big {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(248, 184, 26, 0.16), transparent 60%),
    linear-gradient(160deg, #11443a, #08211a 75%);
  border-color: rgba(248, 184, 26, 0.3);
}
:root[data-theme="dark"] .product--big h3 { color: #fff; }
:root[data-theme="dark"] .product--big .sub { color: rgba(244, 242, 238, 0.66); }
:root[data-theme="dark"] .product--big .price { color: var(--gold); }

@media (prefers-reduced-motion: no-preference) {
  :root .panel.is-active .product { animation: card-rise 0.6s var(--ease) both; }
  :root .panel.is-active .product:nth-child(2) { animation-delay: 0.05s; }
  :root .panel.is-active .product:nth-child(3) { animation-delay: 0.1s; }
  :root .panel.is-active .product:nth-child(4) { animation-delay: 0.15s; }
  :root .panel.is-active .product:nth-child(5) { animation-delay: 0.2s; }
  :root .panel.is-active .product:nth-child(6) { animation-delay: 0.25s; }
  @keyframes card-rise { from { opacity: 0; transform: translateY(18px) scale(0.985); } }
}

@media (max-width: 699px) {
  :root .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  :root .product { padding: 16px 14px 16px; border-radius: 26px; }
  :root .product-top { margin-bottom: 12px; }
  :root .product-top .product-icon,
  :root .product-top .product-icon--prem { width: 50px; height: 50px; border-radius: 16px; }
  :root .product-top .product-icon.gold .tg-star--card { width: 30px; }
  :root .product-top .premium-art { width: 54px; height: 54px; }
  :root .product-chip { display: none; }
  :root .product h3 { font-size: 1.12rem; }
  :root .product h3::after { height: 10px; }
  :root .product .sub { font-size: 0.8rem; margin-top: -6px; }
  :root .product .price-row { padding-top: 12px; }
  :root .product .price { font-size: 1.32rem; }
  :root .product .price-cur { font-size: 0.72rem; }
  :root .product .price-note { font-size: 0.72rem; }
  :root .product .add-btn { height: 44px; margin-top: 12px; border-radius: 16px; font-size: 0.9rem; padding: 0 8px; }
  :root .product-badge { font-size: 0.72rem; padding: 4px 10px; margin-bottom: 10px; }
}
@media (max-width: 359px) {
  :root .products { grid-template-columns: 1fr; }
}

:root .hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.085) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  pointer-events: none;
}
:root .hero-inner { position: relative; z-index: 1; }
:root .hero h1 { line-height: 1.45; text-wrap: balance; }
:root .hero .hl {
  background: linear-gradient(135deg, #ffe08a, var(--gold) 55%, #ffb300);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
}
:root .trust-bar li { transition: background-color 0.25s ease; }
:root .trust-bar li:hover { background: rgba(255, 255, 255, 0.05); }

:root.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
:root.js-ready [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  :root .hero-card { animation: none; }
  :root.js-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  :root .product, :root .product:hover { transition: none; transform: none; }
}

:root[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(18, 98, 79, 0.1);
}
:root[data-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(18, 98, 79, 0.16);
  box-shadow: var(--shadow-md);
}
:root[data-theme="light"] .site-header .brand-text,
:root[data-theme="light"] .site-header .brand:hover { color: var(--green-dark); }
:root[data-theme="light"] .site-header .brand-text span { color: var(--green); }
:root[data-theme="light"] .brand-mark {
  box-shadow: var(--shadow-sm), var(--shadow-md);
}
@media (min-width: 980px) {
}
@media (max-width: 979px) {
}

:root .product--stars .product-top { display: block; position: relative; margin-bottom: 16px; }
:root .product--stars .pack-art,
:root .product--stars .product-icon.gold.pack-art {
  display: block;
  width: 100%; height: 124px;
  margin: 0;
  padding: 0;
  border-radius: 26px;
  overflow: hidden;
  --glow: 0.3;
  background:
    radial-gradient(70% 90% at 50% 100%, rgba(248, 184, 26, var(--glow)), transparent 72%),
    linear-gradient(180deg, #fff8e1, #ffeab0);
  box-shadow: inset 0 0 0 1px var(--ring-gold-c);
}
:root[data-theme="dark"] .product--stars .pack-art,
:root[data-theme="dark"] .product--stars .product-icon.gold.pack-art {
  background:
    radial-gradient(70% 90% at 50% 100%, rgba(248, 184, 26, var(--glow)), transparent 72%),
    linear-gradient(180deg, #1c2a1d, #0c1814);
  box-shadow: inset 0 0 0 1px var(--ring-gold-c);
}
:root .product--tier-2 .pack-art { --glow: 0.36; }
:root .product--tier-3 .pack-art { --glow: 0.42; }
:root .product--tier-4 .pack-art { --glow: 0.5; }
:root .product--tier-5 .pack-art { --glow: 0.62; }
:root .product--tier-6 .pack-art { --glow: 0.78; }
:root .product--stars.product--tier-5 .product-icon.gold.pack-art,
:root .product--stars.product--tier-6 .product-icon.gold.pack-art,
:root[data-theme="dark"] .product--stars.product--tier-5 .product-icon.gold.pack-art,
:root[data-theme="dark"] .product--stars.product--tier-6 .product-icon.gold.pack-art {
  background:
    radial-gradient(75% 95% at 50% 100%, rgba(248, 184, 26, var(--glow)), transparent 72%),
    linear-gradient(180deg, #14493d, #082a22);
  box-shadow: inset 0 0 0 1px var(--ring-gold-c);
}
:root .pack-img {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  margin: 0;
  transition: transform 0.5s var(--ease);
}
:root .product:hover .pack-img { transform: scale(1.07) translateY(-2px); }

:root .product--stars .product-chip {
  position: absolute; top: 10px; inset-inline-start: 10px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
}
:root[data-theme="dark"] .product--stars .product-chip,
:root .product--tier-5 .product-chip,
:root .product--tier-6 .product-chip { background: rgba(7, 26, 21, 0.62); }

@media (max-width: 699px) {
  :root .product--stars .pack-art,
  :root .product--stars .product-icon.gold.pack-art { height: 84px; border-radius: 16px; }
  :root .product--stars .product-chip { display: none; }
  :root .product--stars .product-top { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { :root .product:hover .pack-img { transform: none; } }

:root .tab[aria-pressed="true"],
:root[data-theme="dark"] .tab[aria-pressed="true"] {
  background: linear-gradient(135deg, #ffd75e, var(--gold));
  color: var(--green-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), var(--glow-gold);
}
:root .tab[aria-pressed="true"] .ico,
:root .tab[aria-pressed="true"] .tab-ico { color: var(--green-dark); }

@media (max-width: 759px) {
  :root .shop-bar .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    width: 100%;
  }
  :root .shop-bar .tabs .tab-thumb { display: none; }
  :root .shop-bar .tab {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 10px 8px;
    gap: 5px;
    justify-content: center;
    text-align: center;
    font-size: 0.85rem;
    white-space: normal;
    line-height: 1.3;
    overflow: hidden;
    overflow: clip;
  }

  :root .shop-bar .tab .media img,
  :root .shop-bar .tab .tab-glyph { width: 18px; height: auto; }
  :root .shop-bar .tab .ico { width: 18px; height: 18px; flex: none; }
}

@media (max-width: 979px) {
  :root .cart-btn { min-width: 44px; min-height: 44px; }
  :root [dir="rtl"] .qty-controls button { width: 40px; height: 40px; }
  :root .qty-controls button { min-width: 40px; min-height: 40px; }
  :root .promo-code { min-height: 44px; }
  :root .theme-btn { min-width: 44px; min-height: 44px; }
}

@media (max-width: 979px) {
  :root body { padding-bottom: env(safe-area-inset-bottom, 0px); }
}

:root .product-badge {
  position: absolute;
  top: 10px;
  left: 12px;
  right: auto;
  margin: 0;
  border-radius: 999px;
}

:root .trust-bar {
  gap: 10px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
:root .trust-bar li {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  padding: 18px 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-sm);
}
:root .trust-bar li > .ico {
  width: 22px; height: 22px;
  color: var(--gold);
  margin-inline: auto;
  filter: drop-shadow(0 2px 6px rgba(248, 184, 26, 0.25));
}
:root .trust-bar strong {
  font-size: 0.9rem; font-weight: 720; color: var(--ink);
  line-height: 1.5;
  margin-top: 2px;
}
:root .trust-bar span { font-size: 0.8rem; color: var(--muted); }
:root[data-theme="dark"] .trust-bar strong { color: #fff; }

:root:not([data-theme="dark"]) .trust-bar li {
  background: #fff;
  border-color: var(--green-line);
  box-shadow: var(--shadow-sm);
}
:root:not([data-theme="dark"]) .trust-bar strong { color: var(--ink); }

@media (min-width: 760px) {
  :root .shop-bar {
    position: sticky;
    top: calc(var(--header-h) - 1px);
    z-index: 45;
    padding: 10px;
    border-radius: 16px;
    background: rgba(251, 249, 245, 0.96);
    border: 1px solid var(--green-line);
    box-shadow: var(--shadow-sm);
  }
}
:root[data-theme="dark"] .shop-bar {
  background: rgba(5, 13, 10, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
}

:root .shop-bar + .promo-banner { margin-top: 12px; }

:root .shop-bar + .promo-banner { margin-bottom: 22px; }
:root .promo-banner + .panel { margin-top: 0; }

:root .panel + .panel { margin-top: 42px; padding-top: 40px; }

:root .cart-btn .ico { width: 1.45em; height: 1.45em; }

@media (max-width: 759px) {
  :root .shop-bar { position: static; box-shadow: none; }
}

:root .hero-trust { padding-bottom: 38px; }
@media (max-width: 759px) { :root .hero-trust { padding-bottom: 28px; } }
