.product-fps {
  --product-fps-ink: #0b1f36;
  --product-fps-muted: #42566d;
  --product-fps-border: #c9d8e7;
  --product-fps-surface: #f5f9fd;
  --product-fps-accent: #0759c7;
  --product-fps-accent-dark: #06479e;
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--product-fps-border);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff 0%, var(--product-fps-surface) 100%);
  color: var(--product-fps-ink);
  box-shadow: 0 8px 24px rgba(15, 45, 75, 0.07);
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.product-fps,
.product-fps *,
.product-fps *::before,
.product-fps *::after {
  box-sizing: border-box;
}

.product-fps [hidden] {
  display: none !important;
}

.product-fps__heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-fps__eyebrow {
  margin: 0 0 4px;
  color: var(--product-fps-accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-fps__title {
  margin: 0;
  color: var(--product-fps-ink);
  font-size: clamp(1.15rem, 3.8vw, 1.5rem);
  line-height: 1.25;
}

.product-fps__source-badge {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid #8db5e6;
  border-radius: 999px;
  background: #eaf3ff;
  color: #073f84;
  font-size: 0.75rem;
  font-weight: 800;
}

.product-fps__disclosure {
  margin: 14px 0;
  color: var(--product-fps-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.product-fps__profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0 0 14px;
}

.product-fps__profile > div {
  display: grid;
  grid-template-columns: minmax(92px, 0.32fr) minmax(0, 1fr);
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid #d8e4ef;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.88);
}

.product-fps__profile dt,
.product-fps__profile dd {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.product-fps__profile dt {
  color: #263e57;
  font-weight: 800;
}

.product-fps__profile dd {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--product-fps-muted);
}

.product-fps__notice,
.product-fps__fallback {
  margin: 12px 0;
  padding: 11px 12px;
  border: 1px solid #dfc47d;
  border-radius: 9px;
  background: #fff9e8;
  color: #594312;
  font-size: 0.85rem;
  line-height: 1.55;
}

.product-fps__notice p,
.product-fps__fallback p {
  margin: 0 0 8px;
}

.product-fps__notice p:last-child,
.product-fps__fallback p:last-child {
  margin-bottom: 0;
}

.product-fps__fallback--static {
  margin-bottom: 8px;
}

.product-fps__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 8px;
}

.product-fps__button,
.product-fps__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.product-fps__button {
  padding: 10px 16px;
  border: 1px solid var(--product-fps-accent);
  background: var(--product-fps-accent);
  color: #fff;
  cursor: pointer;
}

.product-fps__button:hover {
  border-color: var(--product-fps-accent-dark);
  background: var(--product-fps-accent-dark);
}

.product-fps__button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.product-fps__link {
  padding: 8px 4px;
  color: #064fae;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.product-fps__button:focus-visible,
.product-fps__mobile-toggle:focus-visible,
.product-fps__link:focus-visible,
.product-fps__source-links a:focus-visible,
.product-fps__methodology a:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 3px;
}

.product-fps__status {
  min-height: 24px;
  margin: 8px 0;
  color: var(--product-fps-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.product-fps__status[data-state="loading"]::before {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-right: 7px;
  border: 2px solid #a9bfd8;
  border-top-color: var(--product-fps-accent);
  border-radius: 50%;
  content: "";
  vertical-align: -0.08em;
  animation: product-fps-spin 0.8s linear infinite;
}

.product-fps__status[data-state="ready"] {
  color: #17633a;
  font-weight: 700;
}

.product-fps__status[data-state="error"] {
  color: #922323;
  font-weight: 700;
}

.product-fps__results {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--product-fps-border);
  border-radius: 10px;
  background: #fff;
}

.product-fps__mobile-toggle {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 0;
  border-top: 1px solid var(--product-fps-border);
  background: #f7fbff;
  color: var(--product-fps-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
}

.product-fps__mobile-toggle:hover {
  background: #eef5fc;
}

.product-fps__mobile-toggle:focus-visible {
  outline-offset: -4px;
}

.product-fps__results[data-state="loading"] {
  display: grid;
  min-height: 240px;
  place-items: center;
  background:
    linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.75) 42%, transparent 64%) 0 0 / 220% 100%,
    repeating-linear-gradient(#f4f8fc 0 42px, #fff 42px 84px);
  color: var(--product-fps-muted);
}

.product-fps__results[data-state="loading"]::before {
  padding: 9px 12px;
  border: 1px solid var(--product-fps-border);
  border-radius: 8px;
  background: #fff;
  content: "FPS sonuçları hazırlanıyor…";
  font-size: 0.82rem;
  font-weight: 700;
}

.product-fps__table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.product-fps__table-body--secondary {
  display: none;
}

.product-fps__results[data-expanded="true"] .product-fps__table-body--secondary {
  display: table-row-group;
}

.product-fps__caption {
  padding: 11px 12px;
  color: var(--product-fps-muted);
  font-weight: 650;
  line-height: 1.45;
  text-align: left;
}

.product-fps__table th,
.product-fps__table td {
  min-width: 0;
  padding: 10px 11px;
  border-top: 1px solid #e2eaf2;
  text-align: left;
  vertical-align: middle;
}

.product-fps__table thead th {
  background: #eef5fc;
  color: #183650;
  font-weight: 800;
}

.product-fps__table th:first-child {
  width: 46%;
}

.product-fps__table th:last-child,
.product-fps__table td:last-child {
  width: 54%;
  text-align: right;
}

.product-fps__table tbody tr:nth-child(even) {
  background: #f9fbfd;
}

.product-fps__table-body--secondary tr:nth-child(odd) {
  background: #f9fbfd;
}

.product-fps__table-body--secondary tr:nth-child(even) {
  background: #fff;
}

.product-fps__table tbody th[scope="row"] {
  color: var(--product-fps-ink);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.product-fps__observed-cell {
  display: grid;
  min-width: 0;
  justify-items: end;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.product-fps__observed-cell strong {
  color: var(--product-fps-ink);
  font-size: 0.8rem;
  line-height: 1.25;
}

.product-fps__tier-label {
  display: inline-flex;
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-align: right;
}

.product-fps__tier-label--exact {
  border-color: #8bc5a3;
  background: #eaf8ef;
  color: #12552e;
}

.product-fps__tier-label--reference {
  border-color: #8db5e6;
  background: #eaf3ff;
  color: #073f84;
}

.product-fps__tier-label--model {
  border-color: #d4b469;
  background: #fff8df;
  color: #62470d;
}

.product-fps__model-range,
.product-fps__confidence {
  color: var(--product-fps-muted);
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-fps__confidence {
  color: #354f69;
  font-weight: 750;
}

.product-fps__observed-summary {
  color: var(--product-fps-muted);
  font-size: 0.7rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-fps__condition {
  color: #405c73;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-fps__empty {
  display: grid;
  min-height: 132px;
  align-content: center;
  justify-items: center;
  gap: 7px;
  padding: 22px 18px;
  color: var(--product-fps-muted);
  text-align: center;
}

.product-fps__empty strong {
  color: var(--product-fps-ink);
  font-size: 0.9rem;
  line-height: 1.4;
}

.product-fps__empty span {
  max-width: 62ch;
  font-size: 0.76rem;
  line-height: 1.5;
}

.product-fps__source-links {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px 8px;
}

.product-fps__source-links a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  color: #0752ad;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.product-fps__unavailable {
  display: inline-block;
  max-width: 100%;
  color: var(--product-fps-muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-fps__methodology {
  margin: 12px 0 0;
  color: var(--product-fps-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.product-fps__methodology a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #0752ad;
  text-underline-offset: 3px;
}

.product-fps__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes product-fps-spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 720px) {
  .product-fps { padding: 24px; }
  .product-fps__profile { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-fps__profile > div { display: block; }
  .product-fps__profile dt { margin-bottom: 4px; }
}

@media (max-width: 540px) {
  .product-fps { padding: 16px; border-radius: 11px; }
  .product-fps__heading-row { display: block; }
  .product-fps__source-badge { display: inline-flex; margin-top: 10px; }
  .product-fps__actions { align-items: stretch; flex-direction: column; }
  .product-fps__button, .product-fps__link { width: 100%; box-sizing: border-box; }
}

@media (prefers-reduced-motion: reduce) {
  .product-fps__status[data-state="loading"]::before { animation: none; }
  .product-fps__results[data-state="loading"] { background-position: 0 0; }
}

@media (forced-colors: active) {
  .product-fps,
  .product-fps__profile > div,
  .product-fps__results,
  .product-fps__table th,
  .product-fps__table td {
    border-color: CanvasText;
  }
  .product-fps__button { border: 2px solid ButtonText; }
  .product-fps__mobile-toggle { border-color: ButtonText; }
  .product-fps__source-links a { color: LinkText; }
  .product-fps__tier-label { border-color: CanvasText; }
}
.product-fps__results[data-state="ready"] {
  min-height: 0;
}

.product-fps__results:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  .product-fps__table {
    display: table;
    font-size: 0.78rem;
  }

  .product-fps__caption {
    padding: 9px 8px;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .product-fps__table th,
  .product-fps__table td {
    padding: 9px 8px;
  }

  .product-fps__table th:first-child { width: 44%; }
  .product-fps__table th:last-child,
  .product-fps__table td:last-child { width: 56%; }
}

.product-fps--purchase {
  margin: 0 0 16px;
  padding: 13px;
  border-radius: 11px;
  contain-intrinsic-size: auto 250px;
}

.product-fps--purchase .product-fps__title {
  font-size: 1.05rem;
  line-height: 1.25;
}

.product-fps--purchase .product-fps__heading-row {
  gap: 8px;
}

.product-fps--purchase .product-fps__results {
  margin-top: 8px;
  border-radius: 8px;
}

.product-fps--purchase .product-fps__results[data-state="loading"] {
  min-height: 136px;
}

.product-fps--purchase .product-fps__table {
  font-size: 0.8rem;
}

.product-fps--purchase .product-fps__table th,
.product-fps--purchase .product-fps__table td {
  padding: 7px 8px;
  line-height: 1.3;
}

.product-fps--purchase .product-fps__table thead th {
  color: #29445e;
  font-size: 0.72rem;
}

.product-fps--purchase .product-fps__table th:first-child {
  width: 50%;
}

.product-fps--purchase .product-fps__table th:nth-child(2),
.product-fps--purchase .product-fps__table td:nth-child(2) {
  width: 27%;
  text-align: center;
}

.product-fps--purchase .product-fps__table th:last-child,
.product-fps--purchase .product-fps__table td:last-child {
  width: 23%;
  text-align: right;
}

.product-fps--purchase .product-fps__resolution {
  color: var(--product-fps-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.product-fps--purchase .product-fps__fps-value {
  color: var(--product-fps-accent-dark);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.product-fps--purchase .product-fps__mobile-toggle {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 0.76rem;
}

@media (max-width:540px) {
  .product-fps--purchase {
    margin-bottom: 14px;
    padding: 11px;
  }

  .product-fps--purchase .product-fps__table th,
  .product-fps--purchase .product-fps__table td {
    padding: 7px 6px;
  }
}

@media (max-width: 360px) {
  .product-fps__table {
    font-size: 0.74rem;
  }

  .product-fps__caption,
  .product-fps__table th,
  .product-fps__table td {
    padding-inline: 6px;
  }

  .product-fps--purchase .product-fps__table {
    font-size: 0.72rem;
  }

  .product-fps--purchase .product-fps__table th:first-child { width: 48%; }
  .product-fps--purchase .product-fps__table th:nth-child(2) { width: 27%; }
  .product-fps--purchase .product-fps__table th:last-child { width: 25%; }

  .product-fps__observed-cell strong {
    font-size: 0.72rem;
  }

  .product-fps__observed-summary,
  .product-fps__tier-label,
  .product-fps__model-range,
  .product-fps__confidence,
  .product-fps__condition,
  .product-fps__source-links a,
  .product-fps__unavailable { font-size: 0.68rem; }
}
@media print {
  .product-fps__table-body--secondary {
    display: table-row-group !important;
  }

  .product-fps__mobile-toggle {
    display: none !important;
  }

  .product-fps__table tr {
    break-inside: avoid;
  }
  .product-fps {
    content-visibility: visible;
    contain-intrinsic-size: none;
  }

  .product-fps__results[data-state="ready"] {
    overflow: visible;
    border: 1px solid var(--product-fps-border);
  }

  .product-fps__table {
    min-width: 0;
  }
}
