.temu-site {
  --temu-ink: #202b25;
  --temu-muted: #56635b;
  --temu-border: #e6ebe6;
  --temu-green: #28563f;
  --temu-pale: #f1f6f0;
  --temu-bar-height: 66px;
  background: #fff;
  color: var(--temu-ink);
}
.temu-site a:focus-visible, .temu-site button:focus-visible, .temu-site summary:focus-visible {
  outline: 2px solid var(--temu-green);
  outline-offset: 3px;
}
.temu-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--temu-border);
}
.temu-bar-inner {
  max-width: 1440px;
  min-height: var(--temu-bar-height);
  margin: auto;
  padding: 0 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.temu-brand, .temu-nav, .temu-bar-actions, .temu-actions {
  display: flex;
  align-items: center;
}
.temu-brand { gap: 10px; width: fit-content; font-size: 15px; font-weight: 700; white-space: nowrap; }
.temu-brand-mark {
  display: grid;
  place-items: center;
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #223d2e;
  color: #e4f4ce;
  font-size: 17px;
}
.temu-brand-mark span { position: absolute; right: 3px; top: 0; font-size: 11px; }
.temu-nav { gap: 28px; font-size: 14px; align-self: stretch; }
.temu-nav a { display: flex; align-items: center; color: var(--temu-muted); border-bottom: 2px solid transparent; padding-top: 2px; white-space: nowrap; }
.temu-nav a[aria-current] { color: var(--temu-green); border-bottom-color: var(--temu-green); font-weight: 650; }
.temu-bar-actions { justify-self: end; gap: 18px; }
.temu-language { font-size: 13px; font-weight: 600; }
.temu-install, .temu-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--temu-green);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}
.temu-install { background: var(--temu-green); color: #fff; }
.temu-install:hover { background: #1d422f; }
.temu-install-small { font-size: 12px; padding: 8px 12px; white-space: nowrap; }
.temu-secondary { border-color: #dce5dd; color: var(--temu-green); background: #fff; }
.temu-secondary:hover, .temu-outline a:hover { background: var(--temu-pale); }
.temu-actions { flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.temu-lead { font-size: 17px; line-height: 1.8; color: var(--temu-muted); margin: 0; }
.temu-meta { font-size: 13px; line-height: 1.7; color: var(--temu-muted); }

.temu-product { max-width: 1192px; margin: auto; padding: 66px 36px; }
.temu-product-hero {
  display: grid;
  align-items: center;
  gap: clamp(30px, 6vw, 88px);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  margin-bottom: 64px;
}
.temu-product-copy h1 { font-size: clamp(38px, 5vw, 66px); letter-spacing: -.055em; line-height: 1.05; margin: 17px 0; }
.temu-kicker { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--temu-green); margin: 0; }
.temu-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4c8a59; }
.temu-product-tagline { font-size: clamp(18px, 2.2vw, 25px); margin: 0 0 13px; font-weight: 650; }
.temu-product-copy .temu-meta { margin: 14px 0 0; }
.temu-product-visual { background: #eef3eb; border: 1px solid var(--temu-border); border-radius: 18px; padding: 22px; }
.temu-product-section { border-top: 1px solid var(--temu-border); padding: 34px 0; }
.temu-product-section h2 { font-size: clamp(23px, 3vw, 32px); margin: 0 0 22px; }
.temu-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.temu-feature-grid > div { border: 1px solid var(--temu-border); border-radius: 12px; padding: 20px; }
.temu-feature-grid h3 { font-size: 17px; margin: 0 0 8px; }
.temu-feature-grid p { font-size: 15px; line-height: 1.7; color: var(--temu-muted); margin: 0 0 12px; }
.temu-feature-grid a, .temu-doc-end a, .temu-faq a { color: var(--temu-green); font-size: 14px; text-underline-offset: 4px; text-decoration: underline; }
.temu-start .temu-secondary { margin-top: 10px; }

.temu-doc-layout {
  max-width: 1370px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 76px);
  padding: 0 40px;
  align-items: start;
}
.temu-outline {
  position: sticky;
  top: calc(var(--temu-bar-height) + 1px);
  max-height: calc(100vh - var(--temu-bar-height) - 1px);
  overflow: auto;
  scrollbar-width: thin;
  padding: 39px 15px 30px 0;
  border-right: 1px solid var(--temu-border);
  overscroll-behavior: contain;
}
.temu-outline-label { font-size: 13px; font-weight: 700; color: var(--temu-ink); margin: 0 0 14px 10px; }
.temu-outline ol, .temu-outline ul { list-style: none; margin: 0; padding: 0; }
.temu-outline ol > li + li { margin-top: 5px; }
.temu-outline a { display: block; border-radius: 6px; color: var(--temu-muted); padding: 5px 8px; line-height: 1.55; font-size: 13px; }
.temu-outline [data-chapter] { color: #344439; font-weight: 650; }
.temu-outline ul { margin: 1px 0 2px 12px; padding-left: 9px; border-left: 1px solid var(--temu-border); }
.temu-outline a[aria-current="location"] { background: #eaf2e8; color: var(--temu-green); font-weight: 700; }
.temu-outline-toggle { display: none; }
.temu-doc { width: 100%; max-width: 895px; min-width: 0; padding: 42px 0 70px; }
.temu-doc-heading { margin-bottom: 39px; }
.temu-doc-breadcrumb { font-size: 13px; color: var(--temu-muted); margin: 0 0 18px; }
.temu-doc-breadcrumb a { color: var(--temu-green); }
.temu-doc h1 { font-size: clamp(30px, 4vw, 47px); letter-spacing: -.043em; line-height: 1.18; margin: 0 0 15px; }
.temu-doc h2 { font-size: clamp(22px, 2.7vw, 30px); margin: 0 0 20px; line-height: 1.3; letter-spacing: -.025em; }
.temu-doc h2 > span { color: var(--temu-green); }
.temu-doc h3 { font-size: 17px; margin: 0 0 8px; line-height: 1.45; }
.temu-doc h3:not(:first-child) { margin-top: 22px; }
.temu-chapter { border-top: 1px solid var(--temu-border); padding: 29px 0 34px; }
.temu-chapter p, .temu-steps, .temu-faq { font-size: 15px; line-height: 1.85; color: var(--temu-muted); }
.temu-chapter p { margin: 0 0 12px; }
.temu-chapter strong, .temu-steps strong { color: var(--temu-ink); }
.temu-steps { padding-left: 24px; margin: 0 0 10px; }
.temu-steps li { padding-left: 3px; }
.temu-steps li + li { margin-top: 6px; }
.temu-steps li::marker { color: var(--temu-green); font-weight: 600; }
.temu-illustrated { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); align-items: start; gap: 24px; }
#screenshots { margin-top: 23px; }
.temu-tip { padding: 11px 13px; background: var(--temu-pale); border-left: 3px solid #88a58a; border-radius: 0 6px 6px 0; }
.temu-figure { margin: 0; min-width: 0; }
.temu-shot { display: block; overflow: hidden; background: #fbf7ef; border: 1px solid #e8e3d9; border-radius: 10px; }
.temu-shot img { display: block; width: 100%; height: auto; }
.shot-hero { aspect-ratio: 800 / 600; }
.shot-toolbar { aspect-ratio: 800 / 440; }
.shot-results { aspect-ratio: 800 / 690; }
.shot-license { aspect-ratio: 800 / 670; }
.shot-filters { aspect-ratio: 800 / 715; }
.shot-filters img { transform: translateY(-53.8%); }
.shot-download { aspect-ratio: 800 / 390; }
.shot-download img { transform: translateY(-29.3%); }
.temu-figure figcaption { display: flex; justify-content: space-between; gap: 7px; margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--temu-muted); }
.temu-faq { margin: 0; }
.temu-faq dt { color: var(--temu-ink); font-weight: 650; }
.temu-faq dd { margin: 2px 0 16px; }
.temu-reference-group { border: 1px solid var(--temu-border); border-radius: 8px; margin-top: 8px; }
.temu-reference-group summary { cursor: pointer; padding: 12px 14px; font-size: 14px; font-weight: 650; }
.temu-reference-group summary span { float: right; color: var(--temu-muted); font-size: 12px; font-weight: 400; }
.temu-reference-group > p, .temu-reference-group > div { padding: 0 14px; }
.temu-reference-entry { border-top: 1px solid var(--temu-border); padding: 15px 0; }
.temu-reference-entry dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.temu-reference-entry dt { font-size: 12px; font-weight: 650; color: var(--temu-green); }
.temu-reference-entry dd { margin: 4px 0 0; font-size: 14px; color: var(--temu-muted); line-height: 1.7; }
.temu-doc-end { border-top: 1px solid var(--temu-border); display: flex; justify-content: space-between; gap: 10px; padding-top: 20px; }

@media (max-width: 850px) {
  .temu-bar-inner { padding: 0 20px; gap: 14px; }
  .temu-nav { gap: 16px; }
  .temu-doc-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; padding: 0 22px; }
  .temu-illustrated { grid-template-columns: 1fr; gap: 12px; }
  .temu-doc .temu-figure { max-width: 420px; }
}
@media (max-width: 650px) {
  html:has(.temu-doc-layout) { scroll-padding-top: 122px; }
  .temu-site { --temu-bar-height: 57px; }
  .temu-bar-inner { padding: 0 14px; grid-template-columns: auto 1fr auto; gap: 10px; }
  .temu-brand > span:last-child, .temu-bar-actions .temu-install { display: none; }
  .temu-nav { justify-content: center; gap: 18px; font-size: 13px; }
  .temu-product { padding: 35px 18px; }
  .temu-product-hero { grid-template-columns: 1fr; gap: 24px; margin-bottom: 34px; }
  .temu-product-visual { padding: 13px; }
  .temu-feature-grid { grid-template-columns: 1fr; }
  .temu-doc-layout { display: block; padding: 0 18px; }
  .temu-outline { z-index: 20; max-height: 62vh; background: #fff; padding: 8px 0; border: 0; border-bottom: 1px solid var(--temu-border); }
  .temu-outline-toggle:not([hidden]) { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border: 1px solid var(--temu-border); border-radius: 7px; background: var(--temu-pale); color: var(--temu-green); font: inherit; font-size: 13px; cursor: pointer; }
  .temu-outline-toggle[aria-expanded="false"]:not([hidden]) + nav { display: none; }
  .temu-outline nav { padding-top: 7px; }
  .temu-outline-label { display: none; }
  .temu-doc { padding: 25px 0 42px; }
  .temu-doc-heading { margin-bottom: 27px; }
  .temu-doc h1 { font-size: 32px; }
  .temu-lead { font-size: 15px; }
  .temu-chapter { padding: 23px 0 27px; }
  .temu-reference-entry dl { grid-template-columns: 1fr; }
}

.ozon-site {
  --temu-ink: #17243c;
  --temu-muted: #465773;
  --temu-border: #dce6f4;
  --temu-green: #224a9b;
  --temu-pale: #eef4ff;
}

.ozon-site .temu-brand-mark { background: #203d74; color: #eef4ff; }
.ozon-site .temu-live-dot { background: #4f7ad2; }
.ozon-site .temu-install:hover { background: #183978; }
.ozon-site .temu-product-visual, .ozon-site .temu-outline a[aria-current="location"] { background: var(--temu-pale); }
.ozon-site .temu-outline [data-chapter] { color: var(--temu-ink); }
.ozon-site .temu-shot { background: #f4f7fc; border-color: var(--temu-border); }
.ozon-site .temu-illustrated .ozon-figure { max-width: 300px; }
.ozon-site .temu-chapter > .ozon-figure { margin: 12px 0 20px; max-width: 100%; }
.ozon-site #activation .ozon-figure { max-width: 610px; }
