/* Dedicated plans catalog draft — site accent #be7b2e preserved */

.kdc-catalog-draft-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0 0 28px;
  padding: 12px 16px;
  border: 1px solid rgba(190, 123, 46, 0.45);
  border-radius: 10px;
  background: rgba(190, 123, 46, 0.12);
  color: #f5e6d3;
  font-size: 13px;
  line-height: 1.4;
}

.kdc-catalog-draft-banner strong {
  color: #fff;
}

.kdc-catalog-draft-banner a {
  margin-left: auto;
  color: #e8b56a;
  font-weight: 700;
  text-decoration: underline;
}

.kdc-catalog {
  --kdc-cat-primary: #be7b2e;
  --kdc-cat-primary-soft: rgba(190, 123, 46, 0.18);
  --kdc-cat-panel: #243044;
  --kdc-cat-panel-2: #2c3a52;
  --kdc-cat-border: rgba(255, 255, 255, 0.12);
  --kdc-cat-text: #f8fafc;
  --kdc-cat-muted: #dbe3f0;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.kdc-catalog__filters {
  position: sticky;
  top: 90px;
  padding: 14px 12px 12px;
  border: 1px solid var(--kdc-cat-border);
  border-radius: 12px;
  background: var(--kdc-cat-panel);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  color: var(--kdc-cat-text);
}

.kdc-catalog__filter-block {
  padding: 0 0 10px;
  margin: 0 0 10px;
  border-bottom: 1px solid var(--kdc-cat-border);
}

.kdc-catalog__filter-block:last-of-type {
  border-bottom: 0;
  margin-bottom: 6px;
  padding-bottom: 4px;
}

.kdc-catalog__filter-block h3 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.kdc-catalog__check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 2px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--kdc-cat-muted);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.kdc-catalog__check:hover {
  background: var(--kdc-cat-panel-2);
  color: #fff;
}

.kdc-catalog__check:has(input:checked) {
  background: var(--kdc-cat-primary-soft);
  color: #fff;
}

.kdc-catalog__check input {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  margin: 0;
  flex: 0 0 17px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  display: inline-grid;
  place-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.kdc-catalog__check input::before {
  content: "";
  width: 8px;
  height: 8px;
  transform: scale(0);
  transition: transform 0.12s ease;
  background: #fff;
  border-radius: 2px;
  box-shadow: inset 1em 1em #fff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}

.kdc-catalog__check input:checked {
  border-color: var(--kdc-cat-primary);
  background: var(--kdc-cat-primary);
}

.kdc-catalog__check input:checked::before {
  transform: scale(1);
}

.kdc-catalog__check input:focus-visible {
  outline: 2px solid var(--kdc-cat-primary);
  outline-offset: 2px;
}

.kdc-catalog__reset {
  appearance: none;
  border: 1px solid var(--kdc-cat-border);
  background: transparent;
  color: var(--kdc-cat-text);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.kdc-catalog__reset:hover {
  border-color: var(--kdc-cat-primary);
  color: #fff;
  background: var(--kdc-cat-primary-soft);
}

.kdc-catalog__toolbar {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--kdc-cat-muted);
}

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

.kdc-plan-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 18px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  min-height: 100%;
}

.kdc-plan-card--best {
  border-color: #be7b2e;
}

.kdc-plan-card--gpu {
  border-color: #c4b5fd;
}

.kdc-plan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.kdc-plan-card__sku {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111827;
}

.kdc-plan-card__badge {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  padding: 3px 7px;
  border-radius: 2px;
  background: #d9534f;
  color: #fff;
}

.kdc-plan-card__badge--gpu {
  background: #7753f8;
}

.kdc-plan-card__cpu {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.kdc-plan-card__cpu-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #be7b2e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.kdc-plan-card__cpu strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  color: #111827;
}

.kdc-plan-card__cpu span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
}

.kdc-plan-card__spec {
  font-size: 12px;
  color: #4b5563;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f9fafb;
}

.kdc-plan-card__selects {
  display: grid;
  gap: 8px;
}

.kdc-plan-card__pill {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  background: #fff;
}

.kdc-plan-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.kdc-plan-card__features li {
  font-size: 12px;
  color: #4b5563;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.35;
}

.kdc-plan-card__features i {
  color: #be7b2e;
  margin-top: 2px;
}

.kdc-plan-card__setup {
  display: grid;
  gap: 6px;
}

.kdc-plan-card__setup-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.kdc-setup-opt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.kdc-setup-opt:hover {
  border-color: #d1d5db;
  background: #fff;
}

.kdc-setup-opt input {
  appearance: none;
  width: 14px;
  height: 14px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  border: 2px solid #9ca3af;
  border-radius: 50%;
  background: #fff;
  position: relative;
}

.kdc-setup-opt input:checked {
  border-color: #be7b2e;
}

.kdc-setup-opt input:checked::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #be7b2e;
}

.kdc-setup-opt:has(input:checked) {
  border-color: #be7b2e;
  background: rgba(190, 123, 46, 0.08);
  box-shadow: inset 0 0 0 1px rgba(190, 123, 46, 0.25);
}

.kdc-setup-opt__body {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.kdc-setup-opt__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.kdc-setup-opt__title {
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}

.kdc-setup-opt__price {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  color: #be7b2e;
}

.kdc-setup-opt--paid .kdc-setup-opt__price {
  color: #6b7280;
}

.kdc-setup-opt__desc {
  font-size: 11px;
  line-height: 1.4;
  color: #6b7280;
}

.kdc-plan-card__price {
  margin-top: auto;
  width: 100%;
}

.kdc-plan-card__billing.dedicated-billing-select,
.kdc-plan-card__billing {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 10px 36px 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #374151;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.1 1.1 6 6l4.9-4.9 1.1 1.1L6 8.2.0 2.2z'/%3E%3C/svg%3E") no-repeat right 14px center;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.kdc-plan-card__billing.dedicated-billing-select:hover,
.kdc-plan-card__billing.dedicated-billing-select:focus,
.kdc-plan-card__billing:hover,
.kdc-plan-card__billing:focus {
  border-color: #be7b2e;
  background-color: #fffaf3;
  outline: none;
}

.kdc-plan-card__billing option {
  color: #111827;
  background: #fff;
}

.kdc-plan-card__buy {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px 14px !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
}

.kdc-catalog__empty {
  margin: 24px 0 0;
  padding: 20px;
  text-align: center;
  color: #b7c0d1;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(36, 48, 68, 0.55);
}

.kdc-plan-card.is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .kdc-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .kdc-catalog {
    grid-template-columns: 1fr;
  }

  .kdc-catalog__filters {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 14px;
    padding: 16px;
  }

  .kdc-catalog__filter-block {
    margin: 0;
    padding: 0 0 12px;
  }

  .kdc-catalog__reset {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .kdc-catalog__grid,
  .kdc-catalog__filters {
    grid-template-columns: 1fr;
  }

  .kdc-catalog-draft-banner a {
    margin-left: 0;
  }
}
