.akf-list-wrapper,
.akf-list-wrapper * {
  box-sizing: border-box;
}

.akf-list-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 1.5rem 1.25rem 2rem;
  color: #111827;
  background: #f5f7fb;
  border: 1px solid #e2e6f0;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.akf-list-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.akf-list-tabs {
  display: inline-flex;
  max-width: 100%;
  gap: 0.1rem;
  padding: 0.25rem;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  scrollbar-width: thin;
}

.akf-list-tab {
  min-height: 40px;
  padding: 0.5rem 1.2rem;
  color: #6b7280;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.akf-list-tab:hover,
.akf-list-tab:focus-visible {
  color: #1d4ed8;
}

.akf-list-tab:focus-visible,
.akf-list-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 3px;
}

.akf-list-tab.akf-list-tab--active {
  color: #fff;
  background: #2563eb;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.akf-list-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.akf-list-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) minmax(180px, 220px);
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.9rem 1.5rem 1.3rem;
  overflow: visible;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.akf-list-card[hidden] {
  display: none !important;
}

@media (hover: hover) {
  .akf-list-card:hover {
    border-color: #cbd5f5;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    transform: translateY(-3px);
  }
}

.akf-list-ribbon {
  position: absolute;
  top: -10px;
  right: 0;
  z-index: 1;
  padding: 0.4rem 1rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  background: #2563eb;
  border-radius: 0 18px 0 18px;
}

.akf-list-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  padding-right: 1.2rem;
  border-right: 1px solid #e5e7eb;
}

.akf-list-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 170px;
  min-height: 66px;
  padding: 0.6rem 0.8rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.akf-list-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 50px;
  margin: 0;
}

.akf-list-logo-fallback {
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.akf-list-rating {
  color: #6b7280;
  font-size: 0.8rem;
}

.akf-list-stars {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 0.1rem;
  line-height: 1;
}

.akf-list-star {
  color: #d1d5db;
  font-size: 0.9rem;
}

.akf-list-star--filled {
  color: #f59e0b;
}

.akf-list-middle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  min-width: 0;
  padding-right: 0.5rem;
}

.akf-list-name {
  margin: 0;
  color: #111827;
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.3;
}

.akf-list-desc {
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.5;
}

.akf-list-features {
  padding: 0;
  margin: 0.2rem 0 0;
  list-style: none;
}

.akf-list-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 0.3rem;
  color: #374151;
  font-size: 0.88rem;
}

.akf-list-feature-bullet {
  width: 7px;
  height: 7px;
  margin-top: 0.45rem;
  flex: 0 0 auto;
  background: #16a34a;
  border-radius: 999px;
}

.akf-list-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  padding-left: 1.2rem;
  text-align: right;
  border-left: 1px solid #e5e7eb;
}

.akf-list-price-label {
  color: #6b7280;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.akf-list-price-main {
  color: #111827;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
}

.akf-list-price-currency {
  margin-left: 0.15rem;
  color: #4b5563;
  font-size: 0.85rem;
  font-weight: 500;
}

.akf-list-price-sub {
  margin-top: 0.18rem;
  color: #6b7280;
  font-size: 0.8rem;
  line-height: 1.45;
}

.akf-list-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.58rem 1.4rem;
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  background: #16a34a;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.32);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.akf-list-btn:hover {
  color: #fff !important;
  filter: brightness(1.04);
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.4);
  transform: translateY(-1px);
}

.akf-list-btn:active {
  box-shadow: 0 5px 12px rgba(22, 163, 74, 0.3);
  transform: translateY(0);
}

.akf-list-disclaimer {
  color: #9ca3af;
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  .akf-list-card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.6rem 1.1rem 1.1rem;
  }

  .akf-list-ribbon {
    top: -6px;
    border-radius: 0 18px 0 12px;
  }

  .akf-list-left,
  .akf-list-right {
    padding: 0;
    border: 0;
  }

  .akf-list-left {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.8rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px solid #e5e7eb;
  }

  .akf-list-middle {
    padding-right: 0;
  }

  .akf-list-right {
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 0.35rem;
    text-align: left;
  }

  .akf-list-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .akf-list-wrapper {
    padding: 1.1rem 0.8rem 1.5rem;
    border-radius: 14px;
  }

  .akf-list-tabs-wrap {
    justify-content: flex-start;
  }

  .akf-list-tabs {
    width: 100%;
  }

  .akf-list-tab {
    flex: 0 0 auto;
    padding-inline: 1rem;
  }

  .akf-list-left {
    align-items: flex-start;
  }

  .akf-list-logo-box {
    max-width: 145px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .akf-list-card,
  .akf-list-btn,
  .akf-list-tab {
    transition: none;
  }
}
