/* Self-hosted Poppins — latin + latin-ext (cyrillic via system-ui fallback) */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #00031c;
  --bg-soft: #060b24;
  --surface: #0d1433;
  --surface-2: #151d42;
  --surface-3: #1c2654;
  --accent: #00cea6;
  --accent-hover: #00b894;
  --accent-soft: rgba(0, 206, 166, 0.14);
  --text: #ffffff;
  --text-muted: #9aa3c7;
  --text-soft: #c5cbe0;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --danger: #ff6b6b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --container: 1200px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; display: block; }

.main-wrap { min-height: 100vh; }

.content {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.btn-accent {
  background: var(--accent);
  color: #001a14;
}

.btn-accent:hover { background: var(--accent-hover); color: #001a14; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.section-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
}

.section-lead {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 0 28px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.info-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.info-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer .content {
  padding-top: 0;
  padding-bottom: 0;
}

/* Crawlable, not shown to sighted users */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.catalog-status {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

.catalog-status--error { color: var(--danger); }

@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 3, 28, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  flex-shrink: 0;
}

.header-logo:hover { color: var(--text); }

.logo-img {
  display: block;
  height: 32px;
  width: auto;
  max-width: min(200px, 48vw);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.header-nav a {
  color: var(--text-soft);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.header-nav a:hover,
.header-nav a.is-active {
  color: var(--text);
  background: var(--accent-soft);
}

.header-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 16px;
  min-width: 0;
}

.header-search-input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 12px 0;
  font-size: 14px;
  outline: none;
}

.header-search-input::placeholder { color: var(--text-muted); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-purchases {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.header-purchases:hover { border-color: var(--accent); }

.header-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 960px) {
  .header-nav { display: none; }
  .header-purchases span:last-child { display: none; }
  .header-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}

.header-lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
}

.lang-switcher-btn:hover {
  border-color: var(--accent);
}

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  max-height: 320px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(0, 8, 32, 0.98);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 100;
}

.lang-switcher-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 14px;
}

.lang-switcher-option:hover,
.lang-switcher-option.is-active {
  background: var(--accent-soft);
  color: var(--text);
}

.lang-flag {
  display: block;
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-caret {
  opacity: 0.7;
  font-size: 11px;
}

html[dir="rtl"] .header-nav {
  margin-left: 0;
  margin-right: 12px;
}

html[dir="rtl"] .header-search-icon {
  order: 1;
}

html[dir="rtl"] .breadcrumbs,
html[dir="rtl"] .product-meta,
html[dir="rtl"] .feature-row {
  direction: rtl;
}

html[dir="rtl"] .lang-switcher-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .header-top {
  flex-direction: row-reverse;
}

html[dir="rtl"] .header-nav a,
html[dir="rtl"] .lang-switcher-option {
  text-align: right;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.breadcrumbs a { color: var(--text-soft); }
.breadcrumbs a:hover { color: var(--accent); }

.breadcrumbs-sep { opacity: .5; }

.product-page--loading { opacity: .7; }

.product-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.product-cover {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}

.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.product-gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--surface);
}

.product-gallery-thumb.is-active { border-color: var(--accent); }

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.product-summary .product-tag {
  position: static;
  display: inline-block;
  margin-bottom: 12px;
}

.product-summary .product-title {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  margin: 0 0 12px;
}

.product-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.product-stats span {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
}

.product-buy {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.product-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}

.product-price-old {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-discount {
  font-size: 13px;
  font-weight: 700;
  color: #001a14;
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 10px;
}

.product-buy-btn {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: var(--accent);
  color: #001a14;
}

.product-buy-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.product-buy-btn:not(:disabled):hover { background: var(--accent-hover); }

.product-buy-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.product-options { margin-bottom: 14px; }

.product-options-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-option-radio,
.product-option-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-soft);
}

.trust-mini {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.trust-mini-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-mini-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.product-layout {
  display: block;
  max-width: 100%;
}

.product-sections {
  max-width: 100%;
}

.product-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}

.product-section-head {
  margin: 0 0 14px;
  font-size: 20px;
}

.product-section-body {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

.product-section-body p { margin-top: 0; }

.product-reviews-empty,
.product-reviews-note {
  color: var(--text-muted);
}

.product-reviews-summary {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.product-reviews-list {
  display: flex;
  flex-direction: column;
}

.product-review {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.product-review:first-child {
  border-top: none;
  padding-top: 0;
}

.product-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-bottom: 8px;
}

.product-review-type {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.product-review--good .product-review-type {
  color: var(--accent);
}

.product-review--bad .product-review-type {
  color: var(--text-muted);
}

.product-review-date {
  color: var(--text-muted);
  font-size: 13px;
}

.product-review-text {
  margin: 0;
  color: var(--text-soft);
  white-space: pre-wrap;
}

.product-review-comment {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--accent-soft);
}

.product-review-comment-label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.product-review-comment p {
  margin: 0;
  color: var(--text-soft);
  white-space: pre-wrap;
}

.product-reviews-more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.product-reviews-more .btn {
  min-width: 200px;
}

@media (max-width: 960px) {
  .product-top { grid-template-columns: 1fr; }
}

/* Image skeleton shimmer — fixed aspect-ratio slots */

@keyframes skeleton-loading {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    var(--surface-2) 25%,
    var(--surface-3) 50%,
    var(--surface-2) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.9s infinite ease-in-out;
}

/* ── Catalog card ── */

.product-card--skeleton .product-preview {
  position: relative;
}

.product-card--skeleton .product-preview.skeleton-shimmer,
.product-card--skeleton .product-preview--skeleton {
  background: linear-gradient(
    90deg,
    var(--surface-2) 25%,
    var(--surface-3) 50%,
    var(--surface-2) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.9s infinite ease-in-out;
}

.product-card--skeleton .product-preview img {
  opacity: 0;
  visibility: hidden;
}

.product-card--skeleton .product-preview.is-loaded img {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}

/* ── Product cover ── */

.product-cover--skeleton {
  background: linear-gradient(
    90deg,
    var(--surface-2) 25%,
    var(--surface-3) 50%,
    var(--surface-2) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.9s infinite ease-in-out;
}

.product-cover--skeleton img {
  opacity: 0;
  visibility: hidden;
}

.product-cover.is-loaded img {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}

/* ── Gallery thumb ── */

.product-gallery-thumb--skeleton {
  background: linear-gradient(
    90deg,
    var(--surface-2) 25%,
    var(--surface-3) 50%,
    var(--surface-2) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.9s infinite ease-in-out;
}

.product-gallery-thumb--skeleton img {
  opacity: 0;
  visibility: hidden;
}

.product-gallery-thumb.is-loaded img {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}

/* ── Catalog loading placeholders (no img yet) ── */

.product-card--placeholder .product-preview {
  background: linear-gradient(
    90deg,
    var(--surface-2) 25%,
    var(--surface-3) 50%,
    var(--surface-2) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.9s infinite ease-in-out;
}

.product-card--placeholder .product-body-line {
  height: 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  background: linear-gradient(
    90deg,
    var(--surface-2) 25%,
    var(--surface-3) 50%,
    var(--surface-2) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.9s infinite ease-in-out;
}

.product-card--placeholder .product-body-line--short {
  width: 55%;
}

.product-card--placeholder .product-body-line--price {
  width: 40%;
  height: 22px;
  margin-top: 14px;
}

/* Digiseller buy widget — dark storefront theme */

.digiseller-widget-wrapper {
  margin-bottom: 4px;
  width: 100%;
}

.digiseller-widget-wrapper .digiseller-buy-standalone {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.digiseller-widget-wrapper form {
  margin: 0;
  width: 100%;
}

.digiseller-widget-wrapper ul,
.digiseller-widget-wrapper ol,
.digiseller-widget-wrapper li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.digiseller-widget-wrapper .digiseller-pricing-table {
  padding: 0;
  margin: 0;
  width: 100%;
}

.digiseller-widget-wrapper .digiseller-pricing-table > li {
  margin-bottom: 18px;
}

/* ── Цена (заплачу / Unit_Summa) ── */

.digiseller-widget-wrapper .digiseller-calc-quanity-v {
  margin-bottom: 4px;
}

.digiseller-widget-wrapper .digiseller-position-points-wrapper {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px 20px;
  width: 100%;
}

.digiseller-widget-wrapper .digiseller-calc-rur {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 140px;
  min-width: 0;
}

.digiseller-widget-wrapper .digiseller-spend-money {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.digiseller-widget-wrapper input[name="Unit_Summa"] {
  display: block;
  width: 100%;
  max-width: 220px;
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  opacity: 1;
  cursor: default;
}

.digiseller-widget-wrapper .digiseller-money_menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  padding-right: 16px;
}

.digiseller-widget-wrapper .digiseller-money_current::after {
  content: "";
  position: absolute;
  right: 0;
  top: calc(50% - 2px);
  border: 5px solid transparent;
  border-top-color: var(--text-soft);
}

.digiseller-widget-wrapper .digiseller-calc-arrow {
  display: flex;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
  opacity: 0.45;
  padding: 0 4px;
}

.digiseller-widget-wrapper .digiseller-calc-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 140px;
  min-width: 0;
}

.digiseller-widget-wrapper .digiseller-calc-points > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.digiseller-widget-wrapper .digiseller-calc-points b {
  font-weight: 600;
  color: var(--text-soft);
  text-transform: none;
}

.digiseller-widget-wrapper .digiseller-select-wrap {
  width: 100%;
  max-width: 220px;
}

.digiseller-widget-wrapper .digiseller-select-wrap select,
.digiseller-widget-wrapper select[name="Unit_Cnt"] {
  width: 100% !important;
  padding: 10px 36px 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aa3c7' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.digiseller-widget-wrapper .digiseller-select-wrap select:focus,
.digiseller-widget-wrapper select[name="Unit_Cnt"]:focus {
  border-color: var(--accent);
}

/* ── Стандартная цена (другие типы товаров) ── */

.digiseller-widget-wrapper .digiseller-price,
.digiseller-widget-wrapper .digiseller-price-val {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent);
}

.digiseller-widget-wrapper .digiseller-zeros {
  font-size: 16px;
  vertical-align: super;
}

.digiseller-widget-wrapper li.digiseller-price:empty {
  display: none;
  margin: 0;
  padding: 0;
}

/* ── Продажи ── */

.digiseller-widget-wrapper .digiseller-sales {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.digiseller-widget-wrapper .digiseller-label-sales {
  font-weight: 600;
  color: var(--text-muted) !important;
}

.digiseller-widget-wrapper .digiseller-sales-counter {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

/* ── Параметры / тарифы ── */

.digiseller-widget-wrapper .digiseller-bullet-item {
  margin-bottom: 0;
}

.digiseller-widget-wrapper .digiseller-param {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.digiseller-widget-wrapper .digiseller-param > div {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.digiseller-widget-wrapper .digiseller-param p {
  width: 100%;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text) !important;
}

.digiseller-widget-wrapper .digiseller-param-radio {
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
}

.digiseller-widget-wrapper .digiseller-param-radio br {
  display: none;
}

.digiseller-widget-wrapper .digiseller-param-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 10px 0 0;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  position: relative;
  background: var(--bg-soft);
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.digiseller-widget-wrapper .digiseller-param-radio input[type="radio"]:checked {
  border-color: var(--accent);
}

.digiseller-widget-wrapper .digiseller-param-radio input[type="radio"]:checked::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.digiseller-widget-wrapper .digiseller-param-radio label {
  display: inline;
  cursor: pointer;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text-soft) !important;
  line-height: 1.45;
}

.digiseller-widget-wrapper .digiseller-param-radio label.digiseller-disabled {
  color: var(--text-soft) !important;
  opacity: 1 !important;
}

.digiseller-widget-wrapper .digiseller-param-checbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 14px;
}

.digiseller-widget-wrapper .digiseller-param-checbox input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.digiseller-widget-wrapper .digiseller-param-checbox label {
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text-soft) !important;
  cursor: pointer;
  line-height: 1.45;
}

.digiseller-widget-wrapper .digiseller-form-help {
  margin-left: 6px;
  font-size: 13px;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
}

.digiseller-widget-wrapper .digiseller-form-tip {
  display: none;
  background: var(--surface-2);
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 400;
}

.digiseller-widget-wrapper .digiseller-form-help:hover + .digiseller-form-tip,
.digiseller-widget-wrapper .digiseller-form-tip:hover {
  display: block;
}

.digiseller-widget-wrapper .digiseller-price-change {
  margin-left: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 206, 166, 0.35);
  border-radius: 999px;
  padding: 2px 8px;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  vertical-align: middle;
}

/* ── Текстовые поля параметров (логин, пароль, …) ── */

.digiseller-widget-wrapper .digiseller-param input[type="text"],
.digiseller-widget-wrapper .digiseller-param input[type="email"],
.digiseller-widget-wrapper .digiseller-param input[type="password"],
.digiseller-widget-wrapper .digiseller-param input[type="tel"],
.digiseller-widget-wrapper .digiseller-param input[type="url"],
.digiseller-widget-wrapper .digiseller-param textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  margin: 0 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-text-fill-color: var(--text);
}

.digiseller-widget-wrapper .digiseller-param input[type="text"]::placeholder,
.digiseller-widget-wrapper .digiseller-param input[type="email"]::placeholder,
.digiseller-widget-wrapper .digiseller-param input[type="password"]::placeholder,
.digiseller-widget-wrapper .digiseller-param textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.digiseller-widget-wrapper .digiseller-param input[type="text"]:focus,
.digiseller-widget-wrapper .digiseller-param input[type="email"]:focus,
.digiseller-widget-wrapper .digiseller-param input[type="password"]:focus,
.digiseller-widget-wrapper .digiseller-param input[type="tel"]:focus,
.digiseller-widget-wrapper .digiseller-param input[type="url"]:focus,
.digiseller-widget-wrapper .digiseller-param textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 206, 166, 0.15);
}

.digiseller-widget-wrapper .digiseller-param textarea {
  min-height: 88px;
  resize: vertical;
}

/* ── Количество +/- ── */

.digiseller-widget-wrapper .digiseller-form-input {
  max-width: 56px;
  text-align: center;
  font-weight: 700;
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
  outline: none;
  margin: 0;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: none;
  -webkit-text-fill-color: var(--text);
}

.digiseller-widget-wrapper .digiseller-quantity-block {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  width: fit-content;
  background: var(--bg-soft);
}

.digiseller-widget-wrapper .digiseller-number-plus,
.digiseller-widget-wrapper .digiseller-number-minus {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

.digiseller-widget-wrapper .digiseller-number-plus {
  background: var(--accent);
  color: #001a14;
}

.digiseller-widget-wrapper .digiseller-number-minus {
  background: var(--surface-3);
  color: var(--text);
}

.digiseller-widget-wrapper input[type="number"]::-webkit-inner-spin-button,
.digiseller-widget-wrapper input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ── Кнопка «Купить» ── */

.digiseller-widget-wrapper .digiseller-cta-button-v {
  margin-top: 4px;
}

.digiseller-widget-wrapper .digiseller-cta-button-v > div {
  position: relative;
  width: 100%;
}

.digiseller-widget-wrapper .digiseller-button {
  width: 100%;
  color: #001a14 !important;
  background: var(--accent) !important;
  display: block;
  line-height: 1;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 20px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  text-align: center;
  transition: background 0.2s;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.digiseller-widget-wrapper .digiseller-button:hover {
  background: var(--accent-hover) !important;
}

.digiseller-widget-wrapper .digiseller-preload-button-orange-loader,
.digiseller-widget-wrapper .digiseller-preload-button-blue-loader {
  display: none !important;
}

/* ── В наличии ── */

.digiseller-widget-wrapper .digiseller-rest {
  display: inline-block;
  background: rgba(0, 206, 166, 0.12);
  border: 1px solid rgba(0, 206, 166, 0.35);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.digiseller-widget-wrapper .digiseller-rest::before {
  content: "✔ ";
}

/* ── Способы оплаты ── */

.digiseller-widget-wrapper .digiseller-payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.digiseller-widget-wrapper .digiseller-payment-list__item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.digiseller-widget-wrapper .digiseller-payment-list__item img {
  filter: grayscale(100%) brightness(1.4);
  width: 24px;
  height: 24px;
  transition: filter 0.2s;
}

.digiseller-widget-wrapper .digiseller-payment-list__item:hover img {
  filter: none;
}

/* ── Поделиться ── */

.digiseller-widget-wrapper .digiseller-follow-wrapper {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.digiseller-widget-wrapper .digiseller-follow-wrapper > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.digiseller-widget-wrapper .digiseller-social-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
}

.digiseller-widget-wrapper .digiseller-social-list > li {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.digiseller-widget-wrapper .digiseller-social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.digiseller-widget-wrapper .digiseller-social-list a:hover {
  border-color: var(--accent);
}

.digiseller-widget-wrapper .digiseller-social-list img {
  width: 20px;
  height: 20px;
  display: block;
}

.digiseller-widget-wrapper .digiseller-preload-social-fb-hover,
.digiseller-widget-wrapper .digiseller-preload-social-vk-hover,
.digiseller-widget-wrapper .digiseller-preload-social-tw-hover,
.digiseller-widget-wrapper .digiseller-preload-social-wm-hover {
  display: none !important;
}

/* ── Состояния страницы ── */

.product-buy-unavailable {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ffb4b4;
  font-size: 14px;
  margin-bottom: 8px;
}

.digiseller-widget-wrapper--loading {
  min-height: 120px;
  opacity: 0.55;
}

/* Digiseller injects a global "Loading..." overlay — hide for SEO/UX */
#digiseller-loader,
.digiseller-loader {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

