.notice-banner {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  font-size: var(--text-small);
}

.product-page {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  overflow-x: clip;
}

.product-top {
  padding-top: 0.4rem;
}

.product-hero {
  display: grid;
  gap: 1.6rem;
  min-width: 0;
}

.product-hero-media,
.product-hero-copy {
  min-width: 0;
  max-width: 100%;
}

.product-gallery {
  display: grid;
  gap: 0.7rem;
}

.gallery-main {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-main img,
.gallery-placeholder {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  background: var(--surface-soft);
}

.gallery-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
}

.gallery-stage {
  position: relative;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  min-height: 12px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 99px;
  background: var(--border);
}

.gallery-dot.is-active,
.gallery-dot[aria-selected="true"] {
  background: var(--primary);
  width: 18px;
}

.gallery-thumb-video {
  display: grid;
  place-items: center;
  color: var(--text-primary);
}

.gallery-video video,
.gallery-video .video-poster,
.gallery-video .video-frame {
  width: 100%;
  border-radius: var(--radius-xl);
}

.lightbox[hidden],
.gallery-video[hidden],
.gallery-main[hidden],
.sticky-buy[hidden],
.video-frame[hidden] {
  display: none !important;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 0.15rem;
}

.gallery-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}

.gallery-thumb.is-active,
.gallery-thumb[aria-pressed="true"] {
  border-color: var(--primary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--surface-soft);
}

.pill-yeni { background: var(--info-soft); color: var(--info); }
.pill-one-cikan { background: var(--primary-soft); color: var(--primary-dark); }
.pill-indirim { background: var(--warning-soft); color: var(--warning); }
.pill-populer,
.pill-cok-satan { background: var(--success-soft); color: var(--success); }

.product-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0.7rem 0 0.4rem;
}

.star-row {
  display: inline-flex;
  gap: 0.1rem;
  color: #d9d4c8;
}

.star-row .is-on {
  color: var(--accent);
}

.star-row .is-on .nx-icon,
.star-row .is-on svg {
  fill: currentColor;
}

.product-lead {
  margin-top: 0.7rem;
  max-width: 38rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  margin-top: 1rem;
}

.product-meta div {
  display: grid;
  gap: 0.1rem;
}

.product-meta dt {
  font-size: var(--text-small);
  color: var(--text-secondary);
}

.package-grid {
  display: grid;
  gap: 0.65rem;
  margin: 0.7rem 0 1rem;
}

.package-card {
  display: grid;
  gap: 0.2rem;
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  width: 100%;
}

.package-card.is-active,
.package-card[aria-pressed="true"] {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.package-price {
  font-weight: 750;
  margin-top: 0.25rem;
}

.product-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.8rem;
  margin: 0.4rem 0 0.35rem;
}

.product-price-block .price {
  letter-spacing: -0.04em;
}

.price-old {
  color: var(--text-secondary);
  text-decoration: line-through;
}

.is-hidden {
  display: none !important;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 1rem;
  display: grid;
  gap: 0.35rem;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.product-cta {
  margin: 0.4rem 0 0.55rem;
}

.product-availability {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: var(--success);
}

.buy-trust {
  list-style: none;
  padding: 0.55rem 0 0;
  margin: 0.4rem 0 0;
  display: grid;
  gap: 0.35rem;
  color: var(--text-secondary);
  font-size: var(--text-small);
}

.buy-trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 0.2rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.68rem;
  font-weight: 700;
}

.product-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.product-tools .is-on {
  color: var(--danger);
}

.product-tools .is-on .nx-icon {
  fill: currentColor;
  stroke: currentColor;
}

.highlight-grid {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.highlight-card {
  display: grid;
  gap: 0.15rem;
  background: var(--surface);
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
}

.feature-grid,
.screenshot-grid {
  display: grid;
  gap: 0.85rem;
}

.product-tabs {
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(15, 110, 106, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 42%);
}

.product-tabs-shell {
  max-width: 980px;
  margin-inline: auto;
}

.product-tab-panels {
  margin-top: 0.35rem;
}

.product-tab-head {
  text-align: center;
  margin: 0 auto 1.35rem;
  max-width: 36rem;
}

.product-tab-head .caption {
  margin-bottom: 0.35rem;
}

.product-tab-head h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.product-tab-subtitle {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.product-tab-content {
  width: min(100%, 44rem);
  margin-inline: auto;
}

.product-tab-content-wide {
  width: min(100%, 56rem);
}

.product-tab-empty {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px dashed color-mix(in srgb, var(--border) 80%, transparent);
}

.product-tab-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.product-prose {
  margin-inline: auto;
  text-align: left;
}

.feature-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.55rem;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--primary) 18%, var(--border));
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.feature-card h3 {
  margin: 0;
  font-size: 1rem;
}

.specs-card {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  border-radius: var(--radius-xl);
  padding: 0.35rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.specs-table thead th {
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--surface-soft);
}

.specs-table tbody tr:last-child th,
.specs-table tbody tr:last-child td {
  border-bottom: 0;
}

.specs-table tbody th {
  font-weight: 600;
  width: 42%;
  color: var(--text-primary);
}

.changelog {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.changelog-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  border-radius: var(--radius-lg);
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-sm);
}

.changelog-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  min-height: 2rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: static;
}

.changelog-copy strong {
  display: block;
  margin-bottom: 0.15rem;
}

.changelog-copy p {
  margin: 0.25rem 0 0;
}

.changelog-copy p + p {
  margin-top: 0.45rem;
}

.tab-list {
  display: none;
  gap: 0.25rem;
  overflow-x: auto;
  max-width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-soft) 88%, #fff);
  border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  box-shadow: var(--shadow-sm);
}

.tab-btn {
  min-height: 44px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  color: var(--text-secondary);
  font-weight: 650;
  white-space: nowrap;
  transition: background 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.72);
}

.tab-btn.is-active,
.tab-btn[aria-selected="true"] {
  background: var(--surface);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.tab-acc {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding-inline: 0.15rem;
}

.tab-panel-body {
  display: none;
  padding: 1.15rem 0 1.5rem;
}

.tab-panel.is-open .tab-panel-body {
  display: block;
}

.review-card,
.req-table > div {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1rem 1.05rem;
}

.req-table {
  display: grid;
  gap: 0.55rem;
}

.req-table dt {
  font-size: var(--text-small);
  color: var(--text-secondary);
}

.product-video video,
.video-frame iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-lg);
  background: #111;
}

.video-poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--secondary);
  color: #fff;
  display: grid;
  place-items: center;
  gap: 0.4rem;
}

.screenshot-block {
  text-align: center;
}

.screenshot-grid figure {
  margin: 0;
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  box-shadow: var(--shadow-sm);
}

.rating-board {
  display: grid;
  gap: 1.1rem;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.rating-summary {
  text-align: center;
}

.rating-score {
  margin: 0 0 0.35rem;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
}

.rating-bars {
  display: grid;
  gap: 0.45rem;
}

.rating-bar {
  display: grid;
  grid-template-columns: 4.5rem 1fr 1.5rem;
  gap: 0.5rem;
  align-items: center;
  font-size: var(--text-small);
}

.rating-track {
  height: 7px;
  border-radius: 99px;
  background: var(--surface-soft);
  overflow: hidden;
}

.rating-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 70%, var(--accent)));
  border-radius: inherit;
}

.review-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.review-card {
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  box-shadow: var(--shadow-sm);
}

.review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.review-form-wrap {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.review-form {
  max-width: 36rem;
  margin-inline: auto;
}

.review-form .rating-input {
  justify-content: center;
}

.product-prose {
  text-align: left;
}

.product-prose :is(h2, h3, h4) {
  letter-spacing: -0.02em;
}

.screenshot-block figcaption {
  margin-top: 0.4rem;
  text-align: center;
}

.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
  border: 0;
  padding: 0;
}

.rating-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-input label {
  color: #d9d4c8;
  cursor: pointer;
  line-height: 0;
}

.rating-input label .nx-icon {
  transition: color 140ms var(--ease), fill 140ms var(--ease), transform 140ms var(--ease);
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label,
.rating-input input:focus-visible + label {
  color: var(--accent);
}

.rating-input label:hover .nx-icon,
.rating-input label:hover ~ label .nx-icon,
.rating-input input:checked ~ label .nx-icon,
.rating-input input:focus-visible + label .nx-icon {
  fill: currentColor;
  stroke: currentColor;
}

.rating-input label:hover {
  transform: translateY(-1px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 8);
  display: grid;
  place-items: center;
  padding: 0.75rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 24, 0.72);
}

.lightbox-frame {
  position: relative;
  width: min(100%, 920px);
  max-height: min(82dvh, 100%);
  z-index: 1;
}

.lightbox-frame img {
  display: block;
  width: 100%;
  max-height: min(78dvh, 100%);
  object-fit: contain;
  border-radius: 16px;
  background: #111;
}

.lightbox-close {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #fff;
  z-index: 2;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  z-index: 2;
}

.lightbox-nav.is-prev { left: 6px; }
.lightbox-nav.is-next { right: 6px; }

.lightbox-caption {
  position: relative;
  z-index: 1;
  color: #fff;
  margin-top: 0.6rem;
  text-align: center;
}

.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
}

.sticky-buy-inner {
  width: min(100% - 0px, var(--container-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-width: 0;
  max-width: 100%;
}

.sticky-buy-copy {
  display: grid;
  min-width: 0;
}

.sticky-buy-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-pending {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.cart-pending li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

@media (min-width: 640px) {
  .package-grid,
  .feature-grid,
  .highlight-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .product-hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.4rem;
    align-items: start;
  }

  .product-hero-copy {
    position: sticky;
    top: calc(var(--header-height) + 16px);
  }

  .product-page {
    padding-bottom: 2rem;
  }

  .gallery-dots {
    display: none;
  }

  .sticky-buy {
    display: none !important;
  }

  .tab-list {
    display: flex;
    margin-bottom: 1.35rem;
  }

  .tab-acc {
    display: none;
  }

  .tab-panel {
    display: none;
  }

  .tab-panel.is-active {
    display: block;
  }

  .tab-panel.is-active .tab-panel-body,
  .tab-panel.is-open .tab-panel-body {
    display: block;
    padding: 0.25rem 0 0;
  }

  .product-tab-panels {
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
    border-radius: calc(var(--radius-xl) + 4px);
    padding: 1.6rem 1.5rem 1.35rem;
    box-shadow: var(--shadow-md);
  }

  .rating-board {
    grid-template-columns: minmax(160px, 200px) 1fr;
    align-items: center;
  }

  .rating-summary {
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .gallery-thumbs {
    display: none;
  }

  .gallery-thumbs:has(.gallery-thumb-video) {
    display: flex;
  }

  .gallery-thumbs:has(.gallery-thumb-video) .gallery-thumb:not(.gallery-thumb-video) {
    display: none;
  }
}

@media (max-width: 767px) {
  .product-tab-panels {
    margin-top: 0;
  }

  .product-tab-head {
    margin-bottom: 1rem;
  }

  .feature-card {
    padding: 1rem;
  }

  .specs-card {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .specs-table,
  .specs-table tbody,
  .specs-table tr,
  .specs-table th,
  .specs-table td {
    display: block;
    width: 100%;
  }

  .specs-table thead {
    display: none;
  }

  .specs-table tr {
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
    border-radius: var(--radius-lg);
    padding: 0.85rem 1rem;
    margin-bottom: 0.55rem;
    box-shadow: var(--shadow-sm);
  }

  .specs-table tbody th,
  .specs-table td {
    border: 0;
    padding: 0.15rem 0;
    width: 100%;
  }

  .specs-table tbody th {
    color: var(--text-secondary);
    font-size: var(--text-small);
    font-weight: 600;
  }

  .changelog-item {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 479px) {
  .product-tools .btn {
    width: 100%;
  }

  .lightbox-nav {
    top: auto;
    bottom: 10px;
    transform: none;
  }
}
