/* Device detail pages */
.pf-cihaz-hero {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(var(--pf-brand-rgb), 0.18), transparent 55%),
    linear-gradient(165deg, #1a2030 0%, var(--pf-bg-card, #151922) 55%, #10141c 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-cihaz-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.pf-cihaz-hero__copy .pf-eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.pf-cihaz-hero__title {
  margin: 0 0 0.75rem;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  text-wrap: balance;
}

.pf-cihaz-hero__lead {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.pf-cihaz-hero__media {
  margin: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 18% at 50% 78%, rgba(0, 0, 0, 0.18), transparent 70%),
    linear-gradient(180deg, #d8dce3 0%, #e6e9ee 28%, #eceff3 52%, #b8c0cc 68%, #7a8494 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.pf-cihaz-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.pf-seo-rich .pf-cihaz-related {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.pf-seo-rich .pf-cihaz-related a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

/* Other devices — hardware carousel */
.pf-cihaz-hw {
  padding: clamp(2.25rem, 4.5vw, 3.5rem) 0;
  background: linear-gradient(165deg, #1a2030 0%, #151922 55%, #10141c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-cihaz-hw__inner {
  display: grid;
  gap: 1.25rem;
}

.pf-cihaz-hw__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pf-cihaz-hw__heading {
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.pf-cihaz-hw__nav {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.pf-cihaz-hw__arrow {
  appearance: none;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pf-cihaz-hw__arrow:hover {
  border-color: rgba(var(--pf-brand-rgb), 0.65);
  background: rgba(var(--pf-brand-rgb), 0.18);
}

.pf-cihaz-hw__arrow--next {
  background: var(--pf-brand);
  border-color: var(--pf-brand);
  color: #fff;
}

.pf-cihaz-hw__arrow--next:hover {
  background: var(--pf-brand-dark, #d64540);
  border-color: var(--pf-brand-dark, #d64540);
}

.pf-cihaz-hw__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.2rem 0.1rem 0.6rem;
  scrollbar-width: none;
}

.pf-cihaz-hw__track::-webkit-scrollbar {
  display: none;
}

.pf-cihaz-hw__card {
  flex: 0 0 min(17.5rem, 78vw);
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: #151922 !important;
  background: #f4f5f7;
  border-radius: 1.1rem;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s, box-shadow 0.15s;
}

.pf-cihaz-hw__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  color: #151922 !important;
}

.pf-cihaz-hw__media {
  display: block;
  margin: 0.85rem 0.85rem 0;
  aspect-ratio: 1 / 1;
  border-radius: 0.85rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 18% at 50% 78%, rgba(0, 0, 0, 0.1), transparent 70%),
    linear-gradient(180deg, #e8eaee 0%, #f3f4f6 50%, #c5ccd6 100%);
}

.pf-cihaz-hw__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pf-cihaz-hw__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.85rem 0.95rem 1rem;
  flex: 1 1 auto;
}

.pf-cihaz-hw__labels {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.pf-cihaz-hw__cat {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--pf-brand);
}

.pf-cihaz-hw__spec {
  font-size: 0.72rem;
  font-weight: 600;
  color: #8b93a1;
  text-align: right;
}

.pf-cihaz-hw__title {
  font-family: Outfit, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: #151922 !important;
}

.pf-cihaz-hw__desc {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #5c6573 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pf-cihaz-hw__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.55rem;
}

.pf-cihaz-hw__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.45rem 0.95rem;
  border-radius: 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff !important;
  background: #151922;
}

.pf-cihaz-hw__card:hover .pf-cihaz-hw__btn {
  background: var(--pf-brand);
}

@media (min-width: 900px) {
  .pf-cihaz-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 22rem);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .pf-cihaz-hw__card {
    flex-basis: 18.5rem;
  }
}
