:root {
  --bg: #f4efe7;
  --paper: #fffaf3;
  --panel: rgba(255, 250, 243, 0.82);
  --ink: #1f2430;
  --muted: #5f665f;
  --line: rgba(64, 48, 30, 0.16);
  --brand: #9f4f22;
  --brand-deep: #5b2e14;
  --accent: #184c49;
  --accent-soft: #d9ece7;
  --success: #275c45;
  --warning: #9c6b14;
  --danger: #9d3a2d;
  --shadow: 0 22px 55px rgba(73, 52, 31, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Aptos", "Microsoft YaHei", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(232, 184, 139, 0.35), transparent 28%),
    radial-gradient(circle at top left, rgba(126, 189, 181, 0.26), transparent 24%),
    linear-gradient(180deg, #f4efe7 0%, #efe7da 45%, #f7f1e7 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
}

.page-shell,
.admin-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar,
.admin-header {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 243, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.topbar-row,
.admin-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), #d36f2e);
  color: #fff8f1;
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: 0 12px 28px rgba(159, 79, 34, 0.24);
}

.brand-copy h1,
.brand-copy h2,
.brand-copy p {
  margin: 0;
}

.brand-copy h1,
.brand-copy h2 {
  font-family: "Trebuchet MS", "Aptos", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand-copy p {
  color: var(--muted);
  margin-top: 4px;
}

.nav-links,
.toolbar-actions,
.tab-row,
.switch-row,
.hero-actions,
.button-row,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-chip,
.switch-button,
.tab-button,
.ghost-pill,
.mode-badge {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 14px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-chip:hover,
.switch-button:hover,
.tab-button:hover,
.ghost-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(159, 79, 34, 0.35);
}

.is-active {
  background: linear-gradient(135deg, var(--brand), #d97e39);
  color: #fff;
  border-color: transparent;
}

.button,
.button-secondary,
.button-ghost,
.danger-button {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover,
.danger-button:hover {
  transform: translateY(-1px);
}

.button {
  background: linear-gradient(135deg, var(--brand), #d36f2e);
  color: #fffef8;
  box-shadow: 0 14px 28px rgba(159, 79, 34, 0.22);
}

.button-secondary {
  background: linear-gradient(135deg, var(--accent), #2d7d78);
  color: #f5fffd;
  box-shadow: 0 14px 28px rgba(24, 76, 73, 0.2);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  border: 1px solid var(--line);
}

.danger-button {
  background: rgba(157, 58, 45, 0.14);
  color: var(--danger);
  border: 1px solid rgba(157, 58, 45, 0.24);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 18px;
  margin-top: 22px;
}

.hero-card,
.hero-panel,
.panel,
.stat-card,
.table-panel,
.login-card,
.drawer,
.telegram-panel,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 32px;
  overflow: hidden;
  position: relative;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -20px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 76, 73, 0.08);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-card h1,
.section-head h2,
.panel h3,
.login-card h2 {
  font-family: "Palatino Linotype", "Georgia", serif;
  margin: 14px 0 12px;
  line-height: 1.15;
}

.hero-card h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.lead {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.metric-grid,
.card-grid,
.stat-grid,
.two-column,
.three-column,
.detail-grid {
  display: grid;
  gap: 14px;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.metric-card,
.article-card,
.faq-card,
.status-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.54);
  padding: 16px;
}

.metric-card strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.helper,
.muted,
.subtle {
  color: var(--muted);
}

.hero-panel {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-panel .summary-list,
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.summary-list li,
.check-list li {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(64, 48, 30, 0.1);
}

.section {
  margin-top: 24px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.article-card,
.faq-card,
.stat-card,
.table-panel,
.info-card {
  padding: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-visual {
  min-height: 180px;
  border-radius: 18px;
  padding: 16px;
  color: #fffaf2;
  display: flex;
  align-items: end;
}

.product-visual strong {
  font-size: 1.15rem;
  display: block;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge,
.tag,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.86rem;
}

.badge,
.tag {
  background: rgba(24, 76, 73, 0.08);
  color: var(--accent);
}

.status-badge {
  background: rgba(24, 76, 73, 0.1);
  color: var(--accent);
}

.status-warning {
  background: rgba(156, 107, 20, 0.14);
  color: var(--warning);
}

.status-danger {
  background: rgba(157, 58, 45, 0.12);
  color: var(--danger);
}

.status-success {
  background: rgba(39, 92, 69, 0.12);
  color: var(--success);
}

.price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 1.52rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.surface-note,
.notice {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
}

.notice.success {
  background: rgba(39, 92, 69, 0.1);
  border-color: rgba(39, 92, 69, 0.24);
}

.notice.warning {
  background: rgba(156, 107, 20, 0.1);
  border-color: rgba(156, 107, 20, 0.26);
}

.notice.danger {
  background: rgba(157, 58, 45, 0.1);
  border-color: rgba(157, 58, 45, 0.28);
}

.drawer-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.drawer,
.panel,
.table-panel,
.login-card {
  padding: 20px;
}

.cart-list,
.faq-list {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.92rem;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(64, 48, 30, 0.18);
  background: rgba(255, 255, 255, 0.82);
  padding: 12px 14px;
  color: var(--ink);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.floating-telegram {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 10px;
}

.telegram-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent), #38a7a0);
  color: #f4fffe;
  box-shadow: 0 16px 38px rgba(24, 76, 73, 0.28);
}

.telegram-panel {
  width: min(360px, calc(100vw - 32px));
  padding: 18px;
}

.telegram-panel h3,
.drawer h3,
.table-panel h3,
.panel h3 {
  margin-top: 0;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  margin-top: 24px;
}

.admin-sidebar {
  padding: 18px;
}

.admin-sidebar .tab-row {
  flex-direction: column;
}

.tab-button {
  text-align: left;
  width: 100%;
}

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

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  margin-top: 10px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.compact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.compact-form .field {
  min-width: 140px;
  flex: 1 1 140px;
}

.login-wrap {
  min-height: 76vh;
  display: grid;
  place-items: center;
}

.login-card {
  width: min(480px, calc(100% - 16px));
}

.login-hint {
  margin-top: 12px;
}

.empty-state {
  padding: 24px;
  border-radius: 18px;
  border: 1px dashed rgba(64, 48, 30, 0.26);
  color: var(--muted);
  text-align: center;
}

.footer-note {
  margin-top: 24px;
  color: var(--muted);
  text-align: center;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card,
.hero-panel,
.product-card,
.article-card,
.faq-card,
.panel,
.table-panel,
.stat-card,
.drawer {
  animation: riseIn 420ms ease both;
}

@media (max-width: 1024px) {
  .hero,
  .drawer-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .page-shell,
  .admin-shell {
    width: min(100%, calc(100% - 20px));
    padding-top: 16px;
  }

  .topbar-row,
  .admin-header-row,
  .hero-card,
  .hero-panel,
  .drawer,
  .panel,
  .table-panel,
  .login-card {
    padding: 18px;
  }

  .metric-grid,
  .field-grid,
  .card-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .button-row,
  .toolbar-actions,
  .switch-row {
    width: 100%;
  }

  .button,
  .button-secondary,
  .button-ghost,
  .danger-button,
  .switch-button,
  .nav-chip {
    width: 100%;
    justify-content: center;
  }
}

body.site-body {
  background:
    radial-gradient(circle at top right, rgba(244, 63, 94, 0.16), transparent 26%),
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 28%),
    linear-gradient(180deg, #f5f7fb 0%, #eef2f8 42%, #f7f9fc 100%);
  color: #101828;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.site-body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.28;
}

.page-shell {
  width: min(1360px, calc(100% - 40px));
  padding: 18px 0 56px;
}

.site-header,
.hero-main,
.showcase-card,
.promo-card,
.category-card,
.product-card,
.benefit-card,
.drawer-card,
.form-card,
.article-card,
.faq-card,
.telegram-panel,
.footer-panel,
.loading-panel {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.utility-bar,
.header-main,
.hero-grid,
.section-heading,
.hero-actions,
.metric-strip,
.promo-stack,
.category-grid,
.featured-grid,
.catalog-grid,
.benefit-grid,
.drawer-layout,
.article-grid,
.faq-grid,
.drawer-actions,
.card-actions,
.badge-row,
.header-actions,
.nav-links,
.utility-copy,
.catalog-controls {
  display: flex;
  gap: 14px;
}

.site-header {
  overflow: hidden;
}

.utility-bar,
.header-main {
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
}

.utility-bar {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: #5f6b7a;
  font-size: 0.92rem;
}

.utility-copy,
.nav-links,
.header-actions,
.card-actions,
.badge-row,
.hero-actions,
.drawer-actions {
  flex-wrap: wrap;
  align-items: center;
}

.brand-block,
.brand-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-copy {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.brand-copy span,
.utility-contact {
  color: #667085;
  font-size: 0.92rem;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #111827, #ef4444);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.14em;
  box-shadow: 0 14px 28px rgba(239, 68, 68, 0.22);
}

.nav-links a,
.chip-button,
.inline-link,
.ghost-button,
.primary-button,
.secondary-button {
  border-radius: 999px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.nav-links a,
.chip-button,
.ghost-button,
.inline-link {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.8);
  color: #0f172a;
  padding: 10px 14px;
}

.primary-button,
.secondary-button {
  border: none;
  padding: 12px 18px;
}

.primary-button {
  background: linear-gradient(135deg, #111827, #ef4444);
  color: #fff;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.18);
}

.secondary-button {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.18);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
}

.chip-button.is-active {
  background: #111827;
  color: #fff;
  border-color: transparent;
}

.nav-links a:hover,
.chip-button:hover,
.ghost-button:hover,
.inline-link:hover,
.primary-button:hover,
.secondary-button:hover,
.category-card:hover {
  transform: translateY(-2px);
}

.hero-grid,
.drawer-layout {
  margin-top: 22px;
  align-items: stretch;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
}

.hero-main,
.drawer-card,
.form-card,
.loading-panel {
  padding: 30px;
}

.hero-main h1,
.section-heading h2,
.footer-panel h2,
.showcase-card h2 {
  margin: 16px 0 12px;
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  line-height: 1.06;
}

.hero-main h1 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.hero-text,
.section-heading p,
.promo-card p,
.benefit-card p,
.drawer-hint,
.article-card p,
.faq-card p,
.telegram-panel p,
.footer-panel p,
.product-summary {
  color: #5f6b7a;
  line-height: 1.68;
}

.metric-strip,
.featured-grid,
.catalog-grid,
.benefit-grid,
.article-grid,
.faq-grid,
.category-grid {
  display: grid;
}

.metric-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.metric-card,
.promo-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.95);
}

.metric-card strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.hero-side,
.promo-stack {
  display: grid;
  gap: 14px;
}

.showcase-card {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 18px;
  min-height: 280px;
}

.showcase-image,
.product-media img,
.cart-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 22px;
}

.showcase-meta,
.product-meta,
.cart-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-block {
  margin-top: 24px;
}

.section-heading {
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
}

.section-heading p {
  max-width: 760px;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.benefit-card,
.article-card,
.faq-card {
  padding: 22px;
}

.category-card {
  display: grid;
  gap: 12px;
  cursor: pointer;
}

.category-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, #111827, #64748b);
}

.category-body {
  background: linear-gradient(135deg, #7c3aed, #111827);
}

.category-facial {
  background: linear-gradient(135deg, #0f766e, #1d4ed8);
}

.category-laser {
  background: linear-gradient(135deg, #ef4444, #7c2d12);
}

.featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.84);
  color: #fff;
  font-weight: 700;
}

.product-content {
  padding: 20px;
}

.soft-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 600;
}

.product-content h3,
.benefit-card h3,
.article-card h3,
.faq-card h3,
.drawer-card h3,
.form-card h3,
.telegram-panel h3 {
  margin: 14px 0 10px;
}

.feature-list,
.cart-list {
  display: grid;
  gap: 10px;
}

.feature-list {
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
}

.feature-list li {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.95);
}

.catalog-head,
.catalog-controls {
  align-items: flex-end;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
}

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

.field-group.is-full {
  grid-column: 1 / -1;
}

.field-group textarea {
  min-height: 120px;
  resize: vertical;
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.drawer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
}

.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.95);
}

.cart-thumb {
  height: 80px;
  background: #eef2f7;
}

.cart-price {
  font-weight: 700;
  color: #111827;
}

.empty-state,
.telegram-hint,
.notice {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.95);
}

.notice.success {
  background: rgba(22, 163, 74, 0.1);
}

.notice.warning {
  background: rgba(245, 158, 11, 0.14);
}

.notice.danger {
  background: rgba(239, 68, 68, 0.12);
}

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

.article-tone-1 {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.88), rgba(51, 65, 85, 0.94));
  color: #fff;
}

.article-tone-2 {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.88), rgba(29, 78, 216, 0.88));
  color: #fff;
}

.article-tone-3 {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.82), rgba(124, 45, 18, 0.9));
  color: #fff;
}

.article-card.article-tone-1 p,
.article-card.article-tone-2 p,
.article-card.article-tone-3 p {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  margin-top: 24px;
}

.footer-panel {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
}

.footer-meta {
  display: grid;
  gap: 8px;
  color: #475467;
}

.telegram-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 20;
}

.telegram-button {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(15, 118, 110, 0.24);
}

.telegram-panel {
  width: min(380px, calc(100vw - 32px));
  padding: 20px;
}

.loading-panel {
  margin-top: 24px;
  padding: 40px;
}

@media (max-width: 1180px) {
  .hero-grid,
  .drawer-layout,
  .footer-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .category-grid,
  .catalog-grid,
  .article-grid,
  .faq-grid,
  .featured-grid,
  .benefit-grid,
  .metric-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .cart-item {
    grid-template-columns: 1fr;
  }
}

.site-header {
  display: grid;
  gap: 14px;
}

.brand-block,
.brand-copy,
.utility-copy,
.hero-main,
.promo-stack,
.cart-copy,
.drawer-summary,
.footer-actions {
  display: grid;
  gap: 10px;
}

.utility-copy {
  grid-auto-flow: column;
  justify-content: start;
}

.utility-contact {
  justify-content: end;
}

.product-media img,
.showcase-image,
.cart-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-main,
.hero-side,
.drawer-card,
.form-card,
.article-card,
.faq-card,
.benefit-card {
  padding: 24px;
}

.drawer-summary {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.95);
}

.summary-row,
.cart-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.cart-copy strong,
.summary-row strong,
.showcase-meta strong {
  font-size: 1.02rem;
}

.cart-summary,
.faq-answer {
  margin: 0;
}

.section-heading.compact h3 {
  margin: 0;
}

.section-heading.compact p {
  margin-top: 6px;
}

.footer-actions {
  align-content: start;
}

.telegram-panel p,
.showcase-copy p,
.hero-text,
.cart-summary {
  color: #475467;
}

.clone-header {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #ffffff;
  border-top: 2px solid #1b2f87;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.top-header-shell,
.top-nav-shell {
  width: min(1420px, calc(100% - 32px));
  margin: 0 auto;
}

.top-header-shell {
  padding: 14px 0 8px;
}

.top-header-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 138px;
  align-items: start;
  gap: 18px;
}

.clone-logo {
  display: grid;
  gap: 8px;
  align-content: start;
  max-width: 260px;
}

.clone-logo-frame {
  display: flex;
  align-items: center;
  width: 248px;
  min-height: 92px;
  background: transparent;
}

.clone-logo-image {
  width: 236px;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0;
}

.clone-logo-copy {
  display: grid;
  gap: 2px;
  padding-left: 2px;
}

.clone-logo-title {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #2c3557;
  font-weight: 600;
  text-transform: uppercase;
}

.clone-logo-hours {
  color: #555f78;
  font-size: 12px;
  line-height: 1.2;
  font-style: italic;
}

.clone-search {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #d2d5dc;
  border-radius: 24px;
  background: #f8f8f8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  align-self: start;
  margin-top: 84px;
}

.clone-search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 18px 10px 48px;
  color: #2a3550;
  font-size: 16px;
  font-style: italic;
}

.clone-search input::placeholder {
  color: #a0a7b6;
}

.clone-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  color: #434d66;
}

.clone-search-icon svg,
.clone-social-link svg,
.clone-pill-icon svg,
.clone-location-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.clone-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  align-self: start;
  padding-top: 84px;
}

.clone-social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f4f7fb;
  border: 1px solid #dbe3f0;
  color: #214db5;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.clone-social-link:hover,
.clone-telegram-pill:hover,
.clone-nav-link:hover {
  transform: translateY(-1px);
}

.clone-social-link:hover {
  border-color: #76a0ff;
  color: #1f67d8;
}

.top-nav-row {
  background: #f6f6f8;
  border-top: 1px solid #ececf1;
  position: relative;
  z-index: 20;
}

.top-nav-shell {
  display: block;
  min-height: 56px;
  position: relative;
  overflow: visible;
}

.clone-nav {
  display: flex;
  align-items: center;
  overflow: visible;
}

.clone-nav-spread {
  width: 100%;
  justify-content: space-between;
  gap: 0;
}

.clone-nav-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
}

.clone-nav-link,
.clone-nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 8px;
  gap: 7px;
  color: #0f2faa;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  border: none;
  background: transparent;
  cursor: pointer;
}

.clone-nav-caret {
  font-size: 10px;
  transform: translateY(1px);
}

.clone-nav-item-devices:hover > .clone-nav-trigger,
.clone-nav-item-devices:focus-within > .clone-nav-trigger {
  background: #1730a6;
  color: #ffffff;
}

.clone-submenu-root {
  position: absolute;
  left: 0;
  top: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.clone-nav-item-devices:hover > .clone-submenu-root,
.clone-nav-item-devices:focus-within > .clone-submenu-root {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.clone-submenu-panel {
  min-width: 250px;
  padding: 8px 0;
  border-radius: 0 0 16px 16px;
  background: #f0f1f4;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.clone-submenu-level-1 {
  border-top: 1px solid rgba(15, 47, 170, 0.16);
}

.clone-submenu-level-2,
.clone-submenu-level-3 {
  position: absolute;
  left: calc(100% + 10px);
  top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.clone-submenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.clone-submenu-item {
  position: relative;
}

.clone-submenu-item.has-children:hover > .clone-submenu-level,
.clone-submenu-item.has-children:focus-within > .clone-submenu-level {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.clone-submenu-link,
.clone-submenu-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: #53607f;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.clone-submenu-parent,
.clone-submenu-item.has-children > .clone-submenu-link {
  color: #4d5876;
}

.clone-submenu-link:hover,
.clone-submenu-item.has-children:hover > .clone-submenu-parent {
  background: #aab4df;
  color: #ffffff;
}

.clone-submenu-arrow {
  margin-left: 16px;
  font-size: 16px;
}

.hero-grid {
  margin-top: 28px;
}

#footer {
  scroll-margin-top: 100px;
}

@media (max-width: 1180px) {
  .top-header-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .clone-search {
    order: 3;
  }

  .clone-socials {
    justify-content: flex-start;
  }

  .top-nav-shell {
    padding: 14px 0;
  }

  .clone-nav-spread {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 16px;
  }

  .clone-nav-item {
    flex: 0 0 auto;
  }

  .clone-nav-link,
  .clone-nav-trigger {
    padding: 0;
  }

  .clone-submenu-root {
    display: none;
  }
}

@media (max-width: 900px) {
  .clone-nav-link,
  .clone-nav-trigger {
    font-size: 14px;
  }

  .clone-search input {
    font-size: 16px;
  }
}

.top-nav-row {
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.clone-nav-link.is-active {
  color: #ffffff;
  background: #1b44bf;
}

.product-card,
.showcase-card,
.service-card,
.review-card,
.hot-category-card,
.detail-tab-panel,
.video-placeholder,
.payment-panel,
.success-state-card,
.article-hero-card {
  content-visibility: auto;
}

.product-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover,
.showcase-card:hover,
.review-card:hover,
.service-card:hover,
.hot-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  border-color: rgba(27, 68, 191, 0.18);
}

.product-media {
  overflow: hidden;
}

.product-media img,
.showcase-image,
.detail-main-image img,
.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-image {
  border-radius: 22px;
}

.product-media-tag,
.price-badge-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 24, 39, 0.92);
}

.price-badge-label {
  color: rgba(255, 255, 255, 0.7);
}

.card-actions .product-link-button,
.review-video-link,
.related-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: #1a2543;
  padding: 12px 18px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.card-actions .product-link-button:hover,
.review-video-link:hover,
.related-link:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 68, 191, 0.28);
}

.services-block,
.reviews-block,
.catalog-view-shell,
.product-detail-shell,
.cart-page-shell,
.checkout-shell,
.account-shell,
.articles-shell,
.reviews-page-shell,
.static-page-shell,
.article-detail-shell {
  margin-top: 28px;
}

.service-grid,
.review-grid-static,
.video-review-grid,
.hot-category-strip,
.detail-tab-grid,
.account-grid,
.article-body-grid {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.review-card {
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1b44bf, #6ea2ff);
}

.service-icon-2 {
  background: linear-gradient(135deg, #0f766e, #3bc8b8);
}

.service-icon-3 {
  background: linear-gradient(135deg, #ea580c, #f8a341);
}

.service-icon-4 {
  background: linear-gradient(135deg, #334155, #7b91af);
}

.service-link {
  display: inline-flex;
  margin-top: 10px;
  color: #1b44bf;
  font-weight: 600;
}

.review-grid,
.review-grid-static {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.review-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  flex: 0 0 72px;
}

.review-meta {
  display: grid;
  gap: 4px;
}

.review-stars {
  color: #f59e0b;
  letter-spacing: 0.12em;
}

.review-text {
  margin: 0;
  color: #475467;
  line-height: 1.7;
}

.review-footer {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
  flex-wrap: wrap;
}

.inner-view-header {
  padding-bottom: 16px;
}

.inner-toolbar {
  width: min(1420px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 12px 0 0;
  flex-wrap: wrap;
}

.inner-search,
.inner-socials {
  margin-top: 38px;
  padding-top: 0;
}

.inner-hero,
.article-hero-card,
.success-state-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.hot-category-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.hot-category-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.catalog-grid-dense {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-tail,
.warehouse-box,
.payment-panel,
.video-review-entry {
  margin-top: 22px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.product-detail-shell {
  display: grid;
  gap: 18px;
}

.breadcrumb-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #667085;
  font-size: 14px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 18px;
  align-items: start;
}

.detail-gallery,
.detail-summary {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  padding: 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.detail-main-image {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef2f7, #f8fafc);
}

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

.detail-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef2f7, #f8fafc);
}

.detail-price-row {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}

.detail-price {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.detail-installment,
.detail-description {
  color: #475467;
  line-height: 1.7;
}

.detail-points {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: #1f2937;
}

.warehouse-grid {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.detail-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-tab-grid,
.article-body-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-tab-panel {
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
}

.cart-layout-alt {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.order-summary-card,
.checkout-form-card {
  align-self: start;
}

.payment-grid {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.payment-panel-muted {
  background: rgba(255, 255, 255, 0.86);
}

.success-state-card {
  text-align: center;
}

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

.article-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-body-grid .detail-tab-panel {
  min-height: 100%;
}

.related-link {
  margin-top: 10px;
}

.video-review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.video-placeholder {
  display: grid;
  place-items: center;
  min-height: 200px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1b44bf, #5e89ff);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.static-block-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .service-grid,
  .review-grid,
  .review-grid-static,
  .hot-category-strip,
  .catalog-grid-dense,
  .article-grid-wide,
  .static-block-grid,
  .video-review-grid,
  .account-grid,
  .detail-tab-grid,
  .article-body-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-hero,
  .cart-layout-alt {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .service-grid,
  .review-grid,
  .review-grid-static,
  .hot-category-strip,
  .catalog-grid-dense,
  .article-grid-wide,
  .static-block-grid,
  .video-review-grid,
  .account-grid,
  .detail-thumb-grid,
  .detail-tab-grid,
  .article-body-grid {
    grid-template-columns: 1fr;
  }

  .inner-toolbar,
  .review-footer {
    justify-content: flex-start;
  }

  .inner-hero,
  .detail-gallery,
  .detail-summary,
  .article-hero-card,
  .success-state-card {
    padding: 22px;
  }
}
