:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #eef4ef;
  --ink: #202523;
  --muted: #65706b;
  --line: #d9e0da;
  --brand: #0f766e;
  --brand-deep: #0b4f4a;
  --accent: #d46a4c;
  --accent-soft: #fff0eb;
  --gold: #b8842b;
  --danger: #b42318;
  --ok: #15803d;
  --shadow: 0 20px 60px rgba(22, 35, 31, 0.12);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

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

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

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

.app-shell {
  min-height: 100vh;
}

.loading-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  color: var(--muted);
}

.loader {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--brand);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(217, 224, 218, 0.86);
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--brand), #24a394);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: -2px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  justify-content: center;
}

.nav-actions {
  justify-content: end;
}

.nav-link,
.icon-button,
.primary-button,
.secondary-button,
.ghost-button,
.text-button,
.chip {
  border: 0;
  background: transparent;
  color: inherit;
}

.nav-link {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #34403b;
  font-size: 14px;
  font-weight: 750;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-deep);
  background: var(--surface-soft);
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: var(--surface);
  position: relative;
}

.icon-button:hover {
  border-color: rgba(15, 118, 110, 0.38);
  color: var(--brand);
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.menu-button {
  display: none;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 10px 16px 18px;
}

.mobile-menu.open {
  display: grid;
  gap: 8px;
}

.main {
  flex: 1;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 54px 0;
}

.section-tight {
  padding: 30px 0;
}

.hero {
  min-height: 620px;
  color: white;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(8, 26, 24, 0.86), rgba(8, 26, 24, 0.42) 54%, rgba(8, 26, 24, 0.18)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=2200&q=82") center / cover;
}

.hero-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 50px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-title h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  max-width: 760px;
}

.hero p {
  margin: 18px 0 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-search {
  margin-top: 30px;
  width: min(720px, 100%);
  padding: 8px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.search-input-wrap {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  padding: 0 14px;
}

.hero-search input {
  min-width: 0;
  width: 100%;
  height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
}

.popular-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 7px 13px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 750;
}

.chip.light {
  color: var(--brand-deep);
  background: var(--surface);
  border-color: var(--line);
}

.chip:hover {
  transform: translateY(-1px);
}

.primary-button,
.secondary-button,
.ghost-button,
.text-button {
  min-height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  font-weight: 800;
  text-align: center;
}

.primary-button {
  color: white;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.24);
}

.primary-button:hover {
  background: var(--brand-deep);
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--brand-deep);
  background: var(--surface);
}

.secondary-button:hover {
  border-color: rgba(15, 118, 110, 0.44);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.text-button {
  min-height: 34px;
  padding: 4px 0;
  color: var(--brand);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-heading p,
.page-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.benefit,
.offer-card,
.panel,
.cart-line,
.admin-panel,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 34px rgba(31, 46, 41, 0.06);
}

.benefit {
  padding: 22px;
}

.benefit i,
.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--surface-soft);
  margin-bottom: 18px;
}

.benefit h3,
.offer-card h3,
.admin-panel h2,
.panel h2 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

.benefit p,
.offer-card p,
.muted,
.small-note {
  color: var(--muted);
}

.recommendation-note {
  margin: -2px 0 0;
  color: #4f5b56;
  font-size: 13px;
  font-weight: 750;
}

.coverage-details {
  width: 100%;
}

.coverage-details summary {
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--brand-deep);
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.coverage-details summary::-webkit-details-marker {
  display: none;
}

.coverage-details summary::after {
  content: " +";
}

.coverage-details[open] summary::after {
  content: " -";
}

.coverage-list {
  max-height: 180px;
  overflow: auto;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.benefit p {
  margin: 8px 0 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.step strong {
  display: block;
  color: var(--brand);
  font-size: 14px;
  margin-bottom: 8px;
}

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

.route-card {
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  box-shadow: 0 10px 34px rgba(31, 46, 41, 0.06);
}

.route-card > i:first-child,
.guide-card-head i {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  padding: 10px;
  color: var(--brand);
  background: var(--surface-soft);
}

.route-card strong,
.route-card small {
  display: block;
}

.route-card strong {
  margin-bottom: 4px;
  color: var(--brand-deep);
  font-size: 20px;
}

.route-card small {
  color: var(--muted);
  font-weight: 650;
}

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

.faq-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 10px 34px rgba(31, 46, 41, 0.06);
}

.faq-card h3 {
  margin: 0 0 8px;
  color: var(--brand-deep);
  font-size: 18px;
  line-height: 1.2;
}

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

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

.offer-card {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.offer-card header {
  display: grid;
  gap: 8px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--brand-deep);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 800;
}

.tag.accent {
  color: #7a321d;
  background: var(--accent-soft);
}

.tag.warn {
  color: #7a4d00;
  background: #fff6d8;
}

.tag.ok {
  color: #0b5f31;
  background: #eaf7ef;
}

.tag.promo {
  color: #8a1f11;
  background: #ffe5dc;
}

.catalog-hint {
  margin: -6px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.spec-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.spec {
  padding: 10px;
  border-radius: 8px;
  background: #f8faf8;
}

.spec span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.spec strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
}

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

.price {
  color: var(--brand-deep);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
}

.price s {
  display: inline-block;
  margin-right: 7px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.price small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.page-hero {
  padding: 42px 0 24px;
  background: linear-gradient(180deg, #eef6f1, rgba(247, 248, 245, 0));
}

.page-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.page-title h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.destination-layout,
.guide-layout {
  display: grid;
  gap: 18px;
}

.destination-panel,
.guide-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
  box-shadow: 0 10px 34px rgba(31, 46, 41, 0.06);
}

.destination-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.destination-panel h2,
.guide-card h2 {
  margin: 0;
  letter-spacing: 0;
}

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

.destination-grid.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.destination-card {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  color: #293632;
  font-weight: 800;
}

.destination-card i {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.guide-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.guide-choice-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  box-shadow: 0 10px 34px rgba(31, 46, 41, 0.06);
}

.guide-choice-card i {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  padding: 11px;
  color: var(--brand);
  background: var(--surface-soft);
}

.guide-choice-card strong,
.guide-choice-card small {
  display: block;
}

.guide-choice-card strong {
  color: var(--brand-deep);
  font-size: 20px;
}

.guide-choice-card small {
  color: var(--muted);
  font-weight: 650;
}

.guide-prereq,
.guide-bottom {
  margin-bottom: 18px;
}

.guide-bottom {
  margin-top: 18px;
}

.guide-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.guide-column {
  display: grid;
  gap: 14px;
  align-content: start;
}

.guide-column-title {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 4px 2px 0;
}

.guide-column-title i {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  padding: 10px;
  color: var(--brand);
  background: var(--surface-soft);
}

.guide-column-title h2 {
  margin: 0;
  color: var(--brand-deep);
  font-size: 28px;
}

.guide-column-title p {
  margin: 2px 0 0;
}

.guide-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.guide-card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.guide-device-card {
  grid-template-columns: 170px 1fr;
  align-items: center;
}

.guide-device-card .guide-card-head,
.guide-device-card .guide-list {
  grid-column: 2;
}

.guide-phone-visual {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
}

.phone-frame {
  width: 132px;
  min-height: 218px;
  border: 10px solid #17211f;
  border-radius: 26px;
  background: linear-gradient(180deg, #eef4ef, #ffffff);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  color: var(--brand-deep);
  position: relative;
}

.phone-status {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: #17211f;
  position: absolute;
  top: 10px;
}

.phone-frame i {
  width: 34px;
  height: 34px;
  color: var(--brand);
}

.phone-frame span {
  width: 54px;
  height: 54px;
  border: 2px dashed var(--brand);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.guide-list {
  margin: 0;
  padding-left: 22px;
  color: #394642;
}

.guide-list li + li {
  margin-top: 8px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 88px;
  padding: 16px;
}

.filter-group {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.filter-group label {
  color: #37423e;
  font-size: 13px;
  font-weight: 850;
}

.field,
.select-field,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
  outline: 0;
}

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

.field:focus,
.select-field:focus,
.textarea:focus {
  border-color: rgba(15, 118, 110, 0.62);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.range-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.range-row input[type="range"] {
  width: 100%;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.result-count {
  color: var(--muted);
  font-weight: 750;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
}

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

.cart-line {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.cart-line h3 {
  margin: 0 0 8px;
}

.cart-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-input {
  width: 72px;
  text-align: center;
}

.panel {
  padding: 18px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line.total {
  border-bottom: 0;
  color: var(--brand-deep);
  font-size: 22px;
  font-weight: 900;
}

.checkout-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

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

.check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: start;
  color: #394642;
  font-size: 14px;
}

.notice {
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--brand-deep);
  background: var(--surface-soft);
}

.notice.warn {
  border-left-color: var(--gold);
  color: #6c4706;
  background: #fff8df;
}

.notice.danger {
  border-left-color: var(--danger);
  color: var(--danger);
  background: #fff1f0;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.admin-panel {
  padding: 18px;
}

.publish-panel {
  border-color: rgba(15, 118, 110, 0.22);
  background: linear-gradient(180deg, #ffffff, #f7fbf9);
}

.admin-steps {
  margin: 14px 0 0;
  padding-left: 22px;
  color: #394642;
  line-height: 1.6;
}

.admin-steps li + li {
  margin-top: 4px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.stat-box {
  border-radius: 8px;
  background: #f8faf8;
  padding: 12px;
}

.stat-box strong {
  display: block;
  color: var(--brand-deep);
  font-size: 24px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.admin-actions.compact {
  margin-top: 0;
  justify-content: flex-end;
}

.admin-results {
  display: grid;
  gap: 8px;
  max-height: 430px;
  overflow: auto;
}

.admin-result {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
}

.admin-result.active,
.admin-result:hover {
  border-color: rgba(15, 118, 110, 0.5);
  background: var(--surface-soft);
}

.admin-result strong,
.admin-result small {
  display: block;
}

.admin-result strong {
  color: var(--brand-deep);
  line-height: 1.2;
}

.admin-result small,
.admin-result em {
  color: var(--muted);
  font-size: 12px;
}

.admin-result em {
  font-style: normal;
  font-weight: 800;
}

.admin-editor {
  display: grid;
  gap: 14px;
}

.admin-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.admin-editor h3 {
  margin: 0;
  color: var(--brand-deep);
  font-size: 24px;
}

.admin-check {
  align-self: end;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8faf8;
}

.admin-price-tools {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  background: #f8faf8;
}

.admin-price-tools .filter-group {
  margin-bottom: 0;
}

.variant-editor {
  overflow: auto;
}

.admin-price-input {
  min-width: 96px;
}

.admin-promo-input {
  min-width: 120px;
}

.switch-line {
  min-width: 86px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #394642;
  font-size: 13px;
  font-weight: 750;
}

.api-checklist {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.api-checklist div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
  padding: 11px 12px;
}

.api-checklist strong,
.api-checklist span {
  display: block;
}

.api-checklist strong {
  color: var(--brand-deep);
}

.api-checklist span {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 14px;
}

.preview-table th,
.preview-table td {
  border-bottom: 1px solid var(--line);
  padding: 9px 6px;
  text-align: left;
  vertical-align: top;
}

.preview-table th {
  color: #3d4844;
  font-size: 12px;
  text-transform: uppercase;
}

.empty-state {
  padding: 32px;
  text-align: center;
}

.footer {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  background: #17211f;
  color: white;
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chatbot {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  justify-items: end;
  gap: 10px;
  width: min(380px, calc(100vw - 28px));
  pointer-events: none;
}

.chat-toggle,
.chat-panel {
  pointer-events: auto;
}

.chat-toggle {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  background: var(--brand-deep);
  box-shadow: var(--shadow);
  font-weight: 850;
}

.chat-panel {
  display: none;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chatbot.open .chat-panel {
  display: block;
}

.chat-head {
  padding: 14px 16px;
  color: white;
  background: #17211f;
}

.chat-head strong,
.chat-head small {
  display: block;
}

.chat-head small {
  opacity: 0.72;
}

.chat-messages {
  max-height: 250px;
  overflow: auto;
  padding: 14px;
  display: grid;
  gap: 9px;
}

.chat-message {
  margin: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: #34403b;
  background: #f8faf8;
  font-size: 14px;
}

.chat-message.user {
  color: white;
  background: var(--brand);
  justify-self: end;
}

.chat-suggestions {
  padding: 0 14px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chat-suggestions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--brand-deep);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 800;
}

.chat-form {
  border-top: 1px solid var(--line);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.chat-form .primary-button {
  width: 46px;
  padding: 0;
}

.small-note {
  font-size: 13px;
}

.hidden {
  display: none !important;
}

@media (max-width: 960px) {
  .nav {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .benefit-grid,
  .faq-grid,
  .steps,
  .route-grid,
  .deal-grid,
  .offer-grid,
  .admin-grid,
  .cart-layout,
  .catalog-layout,
  .guide-choice,
  .guide-columns,
  .guide-layout,
  .admin-price-tools {
    grid-template-columns: 1fr;
  }

  .admin-editor-head {
    flex-direction: column;
  }

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

  .filters {
    position: static;
  }

  .hero {
    min-height: 590px;
  }

  .page-title,
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container,
  .hero-inner,
  .nav,
  .footer-inner {
    width: min(100% - 24px, 1200px);
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .hero-search .primary-button {
    width: 100%;
  }

  .spec-row,
  .form-grid,
  .stats-grid,
  .destination-grid,
  .destination-grid.compact {
    grid-template-columns: 1fr;
  }

  .cart-line {
    grid-template-columns: 1fr;
  }

  .guide-device-card {
    grid-template-columns: 1fr;
  }

  .guide-device-card .guide-card-head,
  .guide-device-card .guide-list {
    grid-column: auto;
  }

  .guide-phone-visual {
    grid-row: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .brand small {
    display: none;
  }
}
