:root {
  color-scheme: light;
  --bg: #f6f6f9;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-solid: #ffffff;
  --text: #24232a;
  --muted: #64636b;
  --line: #e6e6ed;
  --accent: #a012b8;
  --accent-strong: #86109c;
  --accent-alt: #bd168e;
  --accent-soft: #faedf8;
  --accent-line: #edcce9;
  --action-bg: linear-gradient(110deg, var(--accent), var(--accent-alt));
  --shadow: 0 4px 16px rgba(30, 30, 45, 0.06);
  --glow: 0 0 0 1px var(--accent-line);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  border-top: 5px solid var(--accent);
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body.marketplace-ozon {
  --bg: #f5f7fb;
  --text: #202632;
  --muted: #596577;
  --line: #e2e7ef;
  --accent: #005bff;
  --accent-strong: #004bd6;
  --accent-alt: #f91155;
  --accent-soft: #edf3ff;
  --accent-line: #cedfff;
  --action-bg: var(--accent);
}

body::before {
  position: fixed;
  inset: -24% -16%;
  z-index: -2;
  content: "";
  background:
    linear-gradient(120deg, rgba(181, 153, 111, 0.28), transparent 38%),
    linear-gradient(240deg, rgba(17, 16, 14, 0.12), transparent 46%),
    linear-gradient(18deg, rgba(255, 247, 230, 0.72), transparent 55%);
  filter: blur(30px);
  animation: auroraFlow 16s ease-in-out infinite alternate;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(17, 16, 14, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 16, 14, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 78%);
}

body.modal-open {
  overflow: hidden;
}

a,
button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: linear-gradient(135deg, #ffffff, #f7f2e8 46%, #eee6d8 100%);
}

.page {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 32px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  padding: 24px;
  border: 0;
  border-bottom: 2px solid var(--accent-line);
  border-radius: 0;
  background: var(--surface);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 0 34%, rgba(255, 255, 255, 0.42) 45%, transparent 58%);
  transform: translateX(-65%);
  animation: heroShine 7s ease-in-out infinite;
}

.hero__badge {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 14px;
  padding: 9px 12px;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 850;
  text-align: center;
}

.hero__logo {
  position: relative;
  width: min(260px, 74vw);
  height: auto;
  display: block;
  margin: 0 auto 8px;
  filter: drop-shadow(0 16px 28px rgba(44, 36, 24, 0.12));
}

.hero h1 {
  position: relative;
  max-width: 820px;
  margin: 0 0 12px;
  font-size: clamp(2.15rem, 8.2vw, 5.8rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero p {
  position: relative;
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  text-align: center;
}

.seller-link {
  position: relative;
  min-height: 48px;
  width: min(100%, 320px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #ffffff;
  background: var(--action-bg);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.seller-link:active {
  transform: scale(0.98);
}

.seller-link:hover {
  background: var(--accent-strong);
}

.seller-help,
.seller-page {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.seller-help__header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.seller-page .seller-help__header {
  flex-direction: column;
}

.seller-steps span,
.seller-help__important span {
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: var(--accent);
  font-weight: 900;
}

.seller-help__header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.08;
}

.seller-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.seller-steps article {
  min-height: 170px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.seller-steps span {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
}

.seller-steps h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.12;
}

.seller-steps p {
  margin: 0;
  color: var(--muted);
}

.seller-help__important {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.seller-help__important span {
  min-height: 34px;
  padding: 0 22px;
  border-radius: 8px;
  text-transform: uppercase;
}

.seller-help__important p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.25rem, 4vw, 2rem);
  line-height: 1.18;
}

.page--seller {
  min-height: 100vh;
  display: grid;
  align-content: start;
  gap: 14px;
}

.seller-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 850;
}

.seller-nav__logo {
  width: 118px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(44, 36, 24, 0.1));
}

.back-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  color: var(--accent-strong);
  background: var(--surface);
  font-weight: 900;
  text-decoration: none;
}

.back-link:visited {
  color: var(--accent-strong);
}

.seller-page {
  margin-bottom: 0;
}

.seller-help__header h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.seller-page__logo {
  width: min(190px, 58vw);
  height: auto;
  display: block;
  margin: 0 auto 4px;
  filter: drop-shadow(0 12px 22px rgba(44, 36, 24, 0.12));
}

.seller-page__steps {
  display: grid;
  gap: 12px;
}

.seller-page__steps article {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.seller-page__steps article::before,
.seller-page__steps article::after {
  position: absolute;
  top: 30px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: var(--accent-line);
}

.seller-page__steps article::before {
  left: 20px;
  width: calc(50% - 42px);
}

.seller-page__steps article::after {
  right: 20px;
  width: calc(50% - 42px);
}

.seller-step-number {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: -2px auto 18px;
  padding: 0 14px;
  color: var(--accent);
  background: var(--surface);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.seller-page__steps p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.products-section {
  display: grid;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.category-button {
  min-width: 0;
  min-height: 68px;
  padding: 14px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--accent-strong);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
  -webkit-appearance: none;
  appearance: none;
}

.category-button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.category-button:focus-visible {
  outline-color: var(--accent);
}

.category-button[aria-expanded="true"] {
  background: var(--action-bg);
  border-color: var(--accent);
  color: #ffffff;
}

.category-products {
  min-width: 0;
  padding-top: 20px;
}

.category-title {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.category-empty {
  margin: 0;
  padding: 18px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(148px, 1fr) auto;
  min-height: 305px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.18);
  opacity: 0;
  transform: translateY(16px);
  animation: cardIn 650ms ease forwards;
  animation-delay: var(--delay);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow), var(--glow);
}

.product-card__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0;
  transform: translateX(-80%);
  transition:
    opacity 220ms ease,
    transform 600ms ease;
}

.product-card:hover .product-card__shine {
  opacity: 1;
  transform: translateX(80%);
}

.product-card__image {
  display: grid;
  place-items: center;
  min-height: 190px;
  border-radius: 8px;
  background: var(--surface);
}

.product-card__image--pair {
  display: flex;
  grid-template-columns: none;
  flex-wrap: nowrap;
  gap: 2px;
  align-items: end;
  justify-content: center;
  padding: 0 2px 2px;
}

.product-figure {
  min-width: 0;
  width: 50%;
  flex: 1 1 0;
  display: grid;
  justify-items: center;
  align-content: end;
  margin: 0;
}

.product-figure--placeholder {
  width: 100%;
  min-height: 170px;
  align-content: center;
  justify-items: center;
  padding: 18px;
  border: 1px dashed var(--accent-line);
  border-radius: 8px;
  background: var(--accent-soft);
}

.product-figure--placeholder span {
  max-width: 180px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.product-figure.is-missing::before {
  content: "Фото скоро будет добавлено";
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.product-figure.is-missing img {
  display: none;
}

.product-figure img {
  display: block;
  width: min(126%, 620px);
  max-height: 330px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.product-card__body {
  display: grid;
  gap: 8px;
  padding: 0 2px 5px;
}

.product-card__title-row {
  display: block;
  min-width: 0;
}

.product-card h3 {
  margin: 0;
  min-width: 0;
  font-size: 1.25rem;
  line-height: 1.12;
  text-align: center;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.button {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button::after {
  position: absolute;
  inset: 50%;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
}

.button:active {
  transform: scale(0.97);
}

.button:active::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(20);
  transition:
    transform 360ms ease,
    opacity 420ms ease;
}

.button--primary {
  color: #ffffff;
  border-color: var(--accent);
  background: var(--action-bg);
}

.button--primary:hover {
  background: var(--accent-strong);
}

.button--secondary:hover,
.button--wide:hover {
  border-color: var(--accent);
}

.button--wide {
  width: min(100%, 320px);
  margin-top: 14px;
}

.support-note {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 18px;
  border: 0;
  border-top: 1px solid var(--accent-line);
  border-radius: 0;
  color: var(--muted);
  background: var(--surface);
  text-align: center;
}

.support-note p {
  margin: 0;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 18px 14px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
}

.site-footer__brand {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 900;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  color: var(--text);
  font-weight: 800;
}

.site-footer p {
  max-width: 640px;
  margin: 0;
}

.site-footer a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer__copy {
  color: var(--text);
  font-weight: 800;
}

.legal-page {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 0;
  border-top: 2px solid var(--accent-line);
  border-radius: 0;
  background: var(--surface);
}

.legal-page__header {
  display: grid;
  gap: 8px;
}

.legal-page h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.legal-page h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.legal-page p {
  margin: 0;
  color: var(--muted);
}

.legal-page section {
  display: grid;
  gap: 8px;
}

.support-note--modal {
  margin-top: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 25, 38, 0.34);
  backdrop-filter: blur(14px);
}

.modal__dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: 0 30px 90px rgba(17, 23, 36, 0.28);
  backdrop-filter: blur(28px) saturate(1.25);
  transform: translateY(16px) scale(0.97);
  transition: transform 220ms ease;
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: sticky;
  top: 12px;
  z-index: 2;
  float: right;
  width: 42px;
  height: 42px;
  margin: 12px 12px 0 0;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  color: var(--accent-strong);
  background: var(--surface);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.modal__content {
  display: grid;
  gap: 9px;
  padding: 18px;
  clear: both;
}

.modal-header {
  display: grid;
  gap: 5px;
  padding-right: 44px;
}

.modal-header p {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-header h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

.modal-header span {
  color: var(--muted);
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.modal-grid.modal-grid--single {
  grid-template-columns: 1fr;
}

.modal-section,
.modal-product,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.modal-section {
  padding: 11px 13px;
}

.accordion {
  display: block;
}

.accordion__summary {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  text-align: left;
  user-select: none;
}

.accordion > summary:first-of-type {
  list-style-type: none;
}

.accordion__summary::-webkit-details-marker {
  display: none;
}

.accordion__summary::marker {
  content: "";
  font-size: 0;
}

.accordion__summary h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.18;
}

.accordion__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.accordion__icon::before {
  content: "+";
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-1px);
}

.accordion.is-open .accordion__icon {
  transform: rotate(180deg);
}

.accordion.is-open .accordion__icon::before {
  content: "−";
}

.accordion__summary:hover .accordion__icon,
.accordion__summary:focus-visible .accordion__icon {
  box-shadow: 0 10px 22px rgba(25, 35, 55, 0.16);
}

.accordion__content {
  padding-top: 10px;
}

.content-section {
  display: grid;
  gap: 12px;
}

.content-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.content-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.content-list li {
  line-height: 1.5;
}

.instruction-media {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 2px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.instruction-media img {
  display: block;
  width: min(100%, 420px);
  max-height: 360px;
  object-fit: contain;
}

.instruction-media figcaption {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.instruction-hero-images {
  display: grid;
  gap: 10px;
  margin: -4px 0 14px;
}

.instruction-hero-images--multi {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.instruction-hero-image {
  display: grid;
  justify-items: center;
  padding: 10px 12px;
  margin: 0;
}

.instruction-hero-image img {
  display: block;
  width: min(100%, 680px);
  max-height: 430px;
  object-fit: contain;
}

.instruction-hero-image figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #ffffff;
  background: var(--action-bg);
  font-weight: 900;
  text-decoration: none;
}

.modal-grid .modal-section--steps {
  grid-column: 1 / -1;
}

.modal-section > h3 {
  margin: 0 0 12px;
  font-size: 1.16rem;
}

.modal-section p {
  margin: 0;
  color: var(--muted);
}

.modal-product {
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-product__images {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}

.modal-product img {
  width: min(100%, 420px);
  max-height: 330px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.modal-product p {
  margin: 0;
  color: var(--muted);
}

.steps,
.bullet-list,
.faq-list,
.spec-list {
  margin: 0;
  padding: 0;
}

.steps {
  display: grid;
  gap: 8px;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 760px);
  gap: 9px;
  align-items: start;
}

.steps span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 0.86rem;
  font-weight: 900;
}

.steps p {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.38;
}

.touch-controls {
  grid-column: 1 / -1;
  overflow: hidden;
}

.touch-controls__image {
  display: block;
  width: min(100%, 680px);
  margin: 0 auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(25, 35, 55, 0.08);
}


.charge-check {
  grid-column: 1 / -1;
}

.charge-check__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.charge-check figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.charge-check img {
  width: 100%;
  display: block;
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 16px 36px rgba(25, 35, 55, 0.08);
}

.charge-check figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.charge-check__apps {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.charge-check__apps p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  text-align: center;
}

.charge-check__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.charge-check__links a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #ffffff;
  background: var(--action-bg);
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.charge-check__links a:hover,
.charge-check__links a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(25, 35, 55, 0.18);
}

.bullet-list {
  display: grid;
  gap: 8px;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.bullet-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 14px;
}

.faq-item h4 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.spec-list {
  display: grid;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row dt {
  color: var(--muted);
}

.spec-row dd {
  margin: 0;
  font-weight: 800;
}

.instruction-file img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.instruction-frame {
  width: 100%;
  min-height: 62vh;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
}

.instruction-text {
  overflow: auto;
  margin: 0;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  white-space: pre-wrap;
}

@keyframes auroraFlow {
  from {
    transform: translate3d(-1%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.03);
  }
}

@keyframes heroShine {
  0%,
  42% {
    transform: translateX(-65%);
  }
  74%,
  100% {
    transform: translateX(65%);
  }
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .products-grid,
  .modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .category-list {
    gap: 8px;
  }

  .category-button {
    min-height: 64px;
    padding: 12px 8px;
    font-size: 0.84rem;
  }

  .page {
    width: min(100% - 20px, 560px);
    padding-top: 8px;
  }

  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    padding: 14px 12px;
    text-align: center;
  }

  .hero::before,
  body::before {
    display: none;
  }

  .hero__logo {
    width: min(168px, 52vw);
    max-height: 76px;
    margin-bottom: 0;
    object-fit: contain;
  }

  .hero__badge {
    margin-bottom: 0;
    padding: 7px 9px;
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .hero p {
    max-width: 100%;
    font-size: 0.88rem;
    line-height: 1.34;
  }

  .seller-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .instruction-hero-images--multi {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-card {
    min-height: 0;
    grid-template-rows: auto auto auto;
    padding: 10px;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .product-card__image {
    min-height: 230px;
  }

  .product-figure img {
    width: min(122%, 620px);
    max-height: 300px;
  }

  .product-card h3 {
    font-size: 1.12rem;
    text-align: left;
  }

  .hero,
  .product-card,
  .seller-help,
  .seller-page,
  .modal__dialog,
  .support-note {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .modal {
    padding: 8px;
    align-items: end;
  }

  .modal__dialog {
    max-height: 92vh;
  }

  .modal__content {
    gap: 8px;
    padding: 13px;
  }

  .modal-section {
    padding: 9px 10px;
  }

  .modal-header {
    gap: 4px;
    padding-right: 38px;
  }

  .modal-header p {
    font-size: 0.72rem;
  }

  .modal-header h2 {
    font-size: 1.95rem;
  }

  .accordion__summary h3 {
    font-size: 0.86rem;
  }

  .accordion__icon {
    width: 20px;
    height: 20px;
  }

  .accordion__icon::before {
    font-size: 0.74rem;
  }

  .steps li {
    grid-template-columns: 26px 1fr;
    gap: 8px;
  }

  .steps span {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    font-size: 0.8rem;
  }

  .steps p {
    font-size: 0.9rem;
    line-height: 1.34;
  }

  .modal-product {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .modal-product img {
    max-height: 260px;
  }

  .touch-controls__image {
    width: 100%;
  }

  .charge-check__grid {
    grid-template-columns: 1fr;
  }

  .charge-check__links {
    grid-template-columns: 1fr;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .seller-page__steps article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.45rem;
  }

  .seller-steps {
    grid-template-columns: 1fr;
  }

  .product-card__actions {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .button {
    min-height: 38px;
    padding: 0 6px;
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Performance mode: the QR page must stay cool and smooth on mobile Safari. */
html {
  scroll-behavior: auto;
}

*,
*::before,
*::after {
  animation: none !important;
  transition: none !important;
}

body::before,
body::after,
.aurora,
.hero::before,
.product-card__shine {
  display: none !important;
}

.hero,
.seller-help,
.seller-page,
.product-card,
.support-note,
.modal__backdrop,
.modal__dialog {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}

.hero__logo,
.seller-nav__logo,
.seller-page__logo {
  filter: none !important;
}

.product-card {
  opacity: 1 !important;
  transform: none !important;
}

.product-card:hover,
.button:active,
.seller-link:active,
.charge-check__links a:hover,
.charge-check__links a:focus-visible {
  transform: none !important;
}

.button::after {
  display: none !important;
}

.modal__dialog,
.modal.is-open .modal__dialog {
  transform: none !important;
}

.product-card,
.modal__dialog {
  box-shadow: var(--shadow) !important;
}

.product-card:hover,
.seller-link:hover,
.button--secondary:hover,
.button--wide:hover,
.accordion__summary:hover .accordion__icon,
.accordion__summary:focus-visible .accordion__icon,
.charge-check__links a:hover,
.charge-check__links a:focus-visible {
  box-shadow: none !important;
}
