.custom-model-tabs {
  margin: 30px 0 40px;
  width: 100%;
  box-sizing: border-box;
}

.custom-model-tabs *,
.custom-model-tabs *::before,
.custom-model-tabs *::after {
  box-sizing: border-box;
}

.custom-model-tabs .cmt-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0 0 22px;
  color: #1a1a1a;
}

.custom-model-tabs .cmt-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  max-width: 920px;
  margin: 0 auto 24px;
  padding: 0;
  list-style: none;
}

.custom-model-tabs .cmt-tab-btn {
  display: inline-block;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #f7f7f7;
  color: #333;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.custom-model-tabs .cmt-tab-btn:hover,
.custom-model-tabs .cmt-tab-btn:focus {
  border-color: #333;
  color: #111;
  background: #fff;
  outline: none;
}

.custom-model-tabs .cmt-tab-btn.is-active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.custom-model-tabs .cmt-tab-content {
  margin-top: 4px;
}

.custom-model-tabs .cmt-pane {
  display: none;
}

.custom-model-tabs .cmt-pane.is-active {
  display: block;
}

.custom-model-tabs .cmt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 768px) {
  .custom-model-tabs .cmt-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .custom-model-tabs .cmt-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.custom-model-tabs .cmt-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 18px 14px 16px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.custom-model-tabs .cmt-card:hover,
.custom-model-tabs .cmt-card:focus {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: inherit;
  outline: none;
}

.custom-model-tabs .cmt-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin-bottom: 12px;
  width: 100%;
}

.custom-model-tabs .cmt-card-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.custom-model-tabs .cmt-card-name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  color: #1a1a1a;
  text-align: center;
  word-break: break-word;
}

@media (max-width: 767px) {
  .custom-model-tabs .cmt-title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .custom-model-tabs .cmt-nav {
    gap: 5px;
    margin-bottom: 18px;
    max-width: 100%;
  }

  .custom-model-tabs .cmt-tab-btn {
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 5px;
  }

  .custom-model-tabs .cmt-card {
    padding: 14px 10px 12px;
  }

  .custom-model-tabs .cmt-card-name {
    font-size: 12px;
  }
}
