.kx-shop,
.kx-shop * {
  box-sizing: border-box;
}

.kx-shop {
  --kervexa-container-wide: 1280px;
  --kervexa-container-default: 1160px;
  --kervexa-container-narrow: 820px;
  --kervexa-page-gutter: 32px;
  --kervexa-section-space: 96px;
  width: 100%;
  overflow-x: hidden;
  color: #111827;
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.kx-container {
  width: min(calc(100% - (var(--kervexa-page-gutter) * 2)), var(--kervexa-container-default));
  max-width: var(--kervexa-container-default);
  margin-inline: auto;
}

.kx-container.kervexa-container--wide,
.kx-hero-grid,
.kx-table-wrap.kervexa-container--wide {
  width: min(calc(100% - (var(--kervexa-page-gutter) * 2)), var(--kervexa-container-wide));
  max-width: var(--kervexa-container-wide);
}

.kx-container.kervexa-container--narrow,
.kx-faq {
  width: min(calc(100% - (var(--kervexa-page-gutter) * 2)), var(--kervexa-container-narrow));
  max-width: var(--kervexa-container-narrow);
}

.kx-shop-hero {
  padding: 64px 0 var(--kervexa-section-space);
  background: #f6f8fa;
}

.kx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  gap: 56px;
  align-items: center;
}

.kx-hero-copy {
  min-width: 0;
}

.kx-eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bfdbfe;
  background: #eef5ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 8px 14px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.kx-shop h1,
.kx-shop h2,
.kx-shop h3,
.kx-shop p {
  overflow-wrap: normal;
  word-break: normal;
}

.kx-shop h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: 0;
}

.kx-shop h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
}

.kx-shop h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.kx-lead,
.kx-text {
  max-width: 760px;
  margin: 0;
  color: #5f6875;
  font-size: 20px;
}

.kx-price {
  margin: 18px 0 10px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  font-weight: 900;
}

.kx-price-small {
  font-size: 42px;
}

.kx-proof-list,
.kx-check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding-left: 20px;
  color: #111827;
  font-weight: 700;
}

.kx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.kx-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
}

.kx-btn-primary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 14px 30px rgba(37, 99, 235, .22);
}

.kx-btn-primary:hover,
.kx-btn-primary:focus {
  background: #1d4ed8;
  color: #fff;
}

.kx-btn-disabled,
.kx-btn-disabled:hover,
.kx-btn-disabled:focus {
  cursor: not-allowed;
  background: #94a3b8;
  border-color: #94a3b8;
  color: #fff;
  box-shadow: none;
}

.kx-btn-secondary {
  background: #fff;
  color: #111827;
  border-color: #dbe1ea;
}

.kx-btn:empty {
  display: none;
}

.kx-hero-media {
  margin: 0;
}

.kx-hero-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .82);
  border-radius: 30px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(15, 23, 42, .14);
}

.kx-product-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
}

.kx-section {
  padding: var(--kervexa-section-space) 0;
}

.kx-soft {
  background: #f6f8fa;
}

.kx-card {
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 54px rgba(15, 23, 42, .05);
}

.kx-catalog-header {
  margin-bottom: 24px;
}

.kx-catalog-header h2 {
  margin-bottom: 0;
}

.kx-catalog-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(15, 23, 42, .05);
}

.kx-catalog-image {
  width: 92px;
  height: 92px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  background: #f8fafc;
}

.kx-catalog-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kx-catalog-main {
  min-width: 0;
}

.kx-catalog-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.kx-catalog-title-row h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.kx-catalog-badge {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}

.kx-catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-top: 8px;
}

.kx-catalog-price {
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.kx-catalog-stock {
  color: #047857;
  font-size: 14px;
  font-weight: 800;
}

.kx-catalog-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 18px;
  border: 1px solid #2563eb;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
}

.kx-catalog-button:hover,
.kx-catalog-button:focus {
  background: #1d4ed8;
  color: #fff;
}

.kx-catalog-button-disabled {
  cursor: not-allowed;
  border-color: #94a3b8;
  background: #94a3b8;
}

.kx-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

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

.kx-card {
  padding: 32px;
}

.kx-card p {
  margin: 0;
  color: #5f6875;
}

.kx-table-wrap {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #fff;
}

.kx-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

.kx-table th,
.kx-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.kx-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  text-transform: uppercase;
}

.kx-faq details {
  padding: 18px 20px;
  margin: 12px 0;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
}

.kx-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.kx-footer {
  padding: 64px 0 28px;
  background: #111827;
  color: #f9fafb;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kx-footer a {
  color: #e5e7eb;
  font-weight: 800;
  text-decoration: none;
}

.kx-footer p {
  max-width: 330px;
  margin: 0 0 10px;
  color: #cbd5e1;
}

.kx-footer-brand {
  color: #fff !important;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.kx-footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #9ca3af;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .kx-shop {
    --kervexa-page-gutter: 24px;
    --kervexa-section-space: 72px;
  }

  .kx-container {
    width: min(calc(100% - (var(--kervexa-page-gutter) * 2)), var(--kervexa-container-default));
  }

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

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

@media (max-width: 640px) {
  .kx-shop {
    --kervexa-page-gutter: 18px;
    --kervexa-section-space: 56px;
  }

  .kx-container {
    width: min(calc(100% - (var(--kervexa-page-gutter) * 2)), var(--kervexa-container-default));
  }

  .kx-shop-hero,
  .kx-section {
    padding: var(--kervexa-section-space) 0;
  }

  .kx-card {
    padding: 24px;
  }

  .kx-catalog-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    max-height: none;
    padding: 14px;
  }

  .kx-catalog-image {
    width: 76px;
    height: 76px;
  }

  .kx-catalog-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .kx-card-grid,
  .kx-card-grid.kx-four {
    grid-template-columns: 1fr;
  }

  .kx-actions {
    flex-direction: column;
  }

  .kx-btn {
    width: 100%;
  }
}
