: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;
  }
}
