/*
 * NWME-060a mağaza katmanı (Astra themes/nvme-storefront-v2 @ e8bb274, C01–C04).
 * store.css ve nvme-ds.css'ten sonra yüklenir. Başlık ve altbilgi tüm mağaza
 * yüzeyinde ortaktır; sayfa gövdeleri yalnız <body class="ds-v2 page-*"> ile açılır.
 * Metin, fiyat, stok ve görseller uygulama verisinden gelir.
 * Renk/boşluk: nvme-ds token veya .surface-store --sf-* alias; bakınız docs/design/STOREFRONT-TOKENS.md.
 */

/* Vitrin tekrarları (DS paletinde yok): tek tanım, aynı computed değer. */
.surface-store {
  --sf-navy-highlight: #29a3ff;
  --sf-on-navy-copy: #d1deea;
  --sf-on-navy-dim: #a0b9cd;
  --sf-navy-edge: #3b5a78;
  --sf-muted-heading: #3f5c72;
  --sf-focus-ring: #51a6ff;
}

/* ---------- Başlık ---------- */
.surface-store .store-header {
  background: var(--nv-navy);
  color: var(--nv-on-navy);
  font-family: var(--nv-font);
}

.price__fx {
  display: block;
  color: var(--nv-muted, var(--muted));
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-fx {
  margin: 2px 0 0;
  color: var(--nv-muted, var(--muted));
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.price-fx__amount {
  color: var(--nv-ink, var(--text));
  font-weight: 500;
  white-space: nowrap;
}

.price-fx__note {
  display: block;
}

.fx-page-note {
  margin: 0 0 var(--nv-space-3, 12px);
  color: var(--nv-muted, var(--muted));
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
}

.price--product {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.price--product .price__tl {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.price--product .price__value,
.price--product .price__list {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.price--product .price__note {
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
}

.price-block__fx {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card .price--product .price__value {
  font-size: 20px;
  line-height: 26px;
}

.product-card__buy {
  gap: 12px;
}

@media (min-width: 768px) {
  .product-card .price--product .price__value {
    font-size: 22px;
    line-height: 28px;
  }

  .page-product .buy-box .price--product {
    display: flex;
    flex-direction: column;
  }

  .page-product .buy-box .price--product[data-currency-primary="TRY"] .price-fx--usd {
    display: inline;
  }

  .page-product .buy-box .price--product[data-currency-primary="TRY"] {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 16px;
    row-gap: 4px;
  }

  .page-product .buy-box .price--product[data-currency-primary="TRY"] .price__tl {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1440px) {
  .product-card .price--product .price__value {
    font-size: 24px;
    line-height: 30px;
  }
}

.page-product .buy-box .price--product .price__value {
  font-size: 30px;
  line-height: 38px;
}

.page-product .buy-box .price-fx {
  font-size: 16px;
  line-height: 24px;
}

@media (min-width: 768px) {
  .page-product .buy-box .price--product .price__value {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 374px) {
  .product-card .price--product .price__value {
    font-size: 18px;
    line-height: 24px;
  }
}

.price--product .price__fx,
.price--product .price-fx__amount {
  overflow-wrap: anywhere;
  white-space: normal;
}

.surface-store .store-header__inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--nv-space-7);
  min-height: 84px;
}

.surface-store .logo__word {
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.surface-store .logo__v,
.surface-store .logo__word::after {
  color: var(--sf-navy-highlight);
}

.surface-store .logo__word::after {
  content: ".";
  letter-spacing: 0;
}

.surface-store .store-header .search {
  display: flex;
  align-items: center;
  position: relative;
  height: 48px;
  max-width: none;
  padding: 0 3px 0 0;
  border: 1px solid var(--nv-line-strong);
  border-radius: var(--nv-radius-sm);
  background: var(--nv-surface);
}

.surface-store .store-header .search:focus-within {
  outline: 2px solid var(--sf-focus-ring);
  outline-offset: 3px;
}

.surface-store .store-header .search__icon {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  display: inline-flex;
  flex: none;
  margin: 0 0 0 14px;
  color: #64809a;
}

.surface-store .store-header .search input {
  flex: 1;
  min-width: 0;
  min-height: var(--nv-target);
  padding: 0 var(--nv-space-3);
  border: 0;
  background: transparent;
  color: var(--nv-ink);
  font-size: var(--nv-text-md);
  box-shadow: none;
}

.surface-store .store-header .search input:focus,
.surface-store .store-header .search input:focus-visible {
  outline: none;
}

.surface-store .store-header .search .btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: var(--nv-target);
  min-width: var(--nv-target);
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background: var(--nv-accent-fill);
  color: var(--nv-on-accent);
  font-size: var(--nv-text-sm);
  font-weight: 600;
}

.surface-store .store-header .search .btn:hover {
  background: var(--nv-accent-hover);
}

.surface-store .store-header .search .btn .ui-icon {
  width: 16px;
  height: 16px;
}

.surface-store .header-actions {
  display: flex;
  align-items: center;
  gap: var(--nv-space-5);
}

.surface-store .store-header .account-link,
.surface-store .store-header .cart-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--nv-target);
  min-width: var(--nv-target);
  padding: 0;
  border: 0;
  background: none;
  color: var(--nv-on-navy);
  font-size: var(--nv-text-sm);
  font-weight: 600;
  text-decoration: none;
}

.surface-store .store-header .account-link:hover .account-link__label,
.surface-store .store-header .cart-link:hover .cart-link__label {
  text-decoration: underline;
}

.surface-store .store-header .account-link .ui-icon,
.surface-store .store-header .cart-link .ui-icon {
  width: 24px;
  height: 24px;
}

.header-action__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.header-action__hint {
  color: var(--nv-on-navy-muted);
  font-size: 11px;
  font-weight: 400;
}

.surface-store .store-header .cart-link .badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border: 0;
  border-radius: 5px;
  background: var(--nv-accent-fill);
  color: var(--nv-on-accent);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.surface-store .category-nav {
  background: var(--nv-navy-2);
  border-top: 1px solid color-mix(in srgb, var(--nv-on-navy) 6%, transparent);
}

.surface-store .category-nav .category-nav__links {
  flex: 1;
  justify-content: flex-start;
  gap: var(--nv-space-1) var(--nv-space-2);
  border-left-color: color-mix(in srgb, var(--nv-on-navy) 12%, transparent);
}

.surface-store .category-nav .category-nav__links a,
.surface-store .category-nav .nav-menu__toggle,
.surface-store .category-nav .nav-link {
  color: #dae6ef;
  font-size: 15px;
  font-weight: 600;
}

.surface-store .category-nav .nav-menu__toggle {
  color: var(--nv-on-navy);
}

.surface-store .category-nav .category-nav__links a:hover,
.surface-store .category-nav .nav-menu__toggle:hover {
  background: color-mix(in srgb, var(--nv-on-navy) 7%, transparent);
  color: var(--nv-on-navy);
}

.surface-store .category-nav .category-nav__links a[aria-current="page"] {
  color: var(--nv-on-navy);
  box-shadow: inset 0 -3px 0 var(--sf-navy-highlight);
}

.surface-store .store-header :focus-visible {
  outline: 3px solid var(--sf-focus-ring);
  outline-offset: 2px;
}

/* ---------- Altbilgi ---------- */
.surface-store .store-footer {
  margin-top: 0;
  background: var(--nv-navy);
  color: var(--sf-on-navy-copy);
  font-family: var(--nv-font);
}

.surface-store .store-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, minmax(0, 1fr));
  gap: var(--nv-space-6);
  padding-block: 44px 28px;
}

.surface-store .store-footer__brand p {
  margin-top: var(--nv-space-4);
  max-width: 22ch;
  color: var(--sf-on-navy-dim);
  font-size: var(--nv-text-md);
  line-height: 1.6;
}

.surface-store .store-footer__contact {
  margin-top: var(--nv-space-4);
  font-style: normal;
}

.surface-store .store-footer__contact p {
  margin: 0 0 var(--nv-space-1);
  max-width: 36ch;
  font-size: var(--nv-text-sm);
  overflow-wrap: anywhere;
}

.surface-store .store-footer__contact .store-footer__legal-name {
  color: var(--nv-on-navy);
  font-weight: 600;
}

.surface-store .store-footer__contact a {
  display: inline-flex;
  align-items: center;
  min-height: var(--nv-target);
  color: var(--sf-on-navy-copy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.surface-store .store-footer__contact a:hover {
  color: var(--nv-on-navy);
}

.surface-store .store-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nv-space-1);
  margin: var(--nv-space-3) 0 0;
  padding: 0;
  list-style: none;
}

.surface-store .store-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--nv-target);
  height: var(--nv-target);
  border-radius: 8px;
  color: var(--sf-on-navy-copy);
}

.surface-store .store-footer__social a:hover {
  color: var(--nv-on-navy);
  background: color-mix(in srgb, var(--nv-on-navy) 8%, transparent);
}

.surface-store .store-footer__social a:focus-visible {
  outline: 2px solid var(--nv-on-navy);
  outline-offset: 2px;
}

.surface-store .store-footer__social .social-icon {
  flex: none;
}

.surface-store .store-footer h2 {
  margin: 0 0 var(--nv-space-2);
  color: var(--nv-on-navy);
  font-size: var(--nv-text-sm);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.surface-store .store-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--nv-target);
  min-width: var(--nv-target);
  color: #9db5c9;
  font-size: var(--nv-text-sm);
  text-decoration: none;
}

.surface-store .store-footer__links a:hover {
  color: var(--nv-on-navy);
  text-decoration: underline;
}

.store-footer__bottom {
  padding-block: 18px;
  border-top: 1px solid var(--nv-navy-line);
  color: #86a1b7;
  font-size: var(--nv-text-xs);
}

.store-footer__bottom p {
  margin: 0;
  overflow-wrap: anywhere;
}

.store-footer__bottom p + p {
  margin-top: var(--nv-space-1);
}

/* Footer AI review: navy strip; heading matches the footer's small uppercase labels. */
.surface-store .ai-review {
  display: grid;
  justify-items: start;
  gap: var(--nv-space-3);
  padding-block: var(--nv-space-5);
  border-top: 1px solid var(--nv-navy-line);
}

.surface-store .ai-review h2,
.surface-store .ai-review__summary {
  margin: 0;
  color: var(--sf-on-navy-dim);
  font-size: var(--nv-text-sm);
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.surface-store .ai-review__lead {
  margin: 0;
  color: var(--sf-on-navy-dim);
  font-size: var(--nv-text-sm);
  line-height: 1.6;
}

.surface-store .ai-review__tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(44px, 56px));
  gap: var(--nv-space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.surface-store .ai-review__tile {
  display: block;
  border-radius: 14px;
}

/* Official marks, unmodified; the tile only frames them with clear space. */
.surface-store .ai-review__mark {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 56px;
  aspect-ratio: 1;
  border: 1px solid var(--sf-navy-edge);
  border-radius: 14px;
  background: color-mix(in srgb, var(--nv-on-navy) 6%, transparent);
}

.surface-store .ai-review__mark img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.surface-store .ai-review__tile:hover .ai-review__mark {
  border-color: var(--nv-on-navy);
  background: color-mix(in srgb, var(--nv-on-navy) 14%, transparent);
}

.surface-store .ai-review__tile:focus-visible {
  outline: none;
}

.surface-store .ai-review__tile:focus-visible .ai-review__mark {
  outline: 3px solid var(--nv-on-navy);
  outline-offset: 2px;
}

.surface-store .ai-review__prompt-wrap {
  display: grid;
  gap: var(--nv-space-2);
  justify-items: start;
}

.surface-store .ai-review__details summary {
  display: inline-flex;
  align-items: center;
  min-height: var(--nv-target);
  color: var(--nv-on-navy);
  font-size: var(--nv-text-sm);
  text-decoration: underline;
  cursor: pointer;
}

.surface-store .ai-review__prompt {
  margin: var(--nv-space-1) 0 0;
  padding: var(--nv-space-3);
  border: 1px solid var(--nv-navy-line);
  border-radius: var(--nv-radius);
  background: color-mix(in srgb, var(--nv-on-navy) 5%, transparent);
  color: var(--sf-on-navy-copy);
  font-size: var(--nv-text-sm);
  line-height: 1.6;
  user-select: all;
}

/* ---------- Ortak sayfa parçaları ---------- */
.ds-v2 main {
  background: var(--nv-page);
}

.ds-v2 .breadcrumb {
  padding-block: var(--nv-space-4) var(--nv-space-1);
  color: var(--nv-muted);
  font-size: var(--nv-text-xs);
}

.ds-v2 .breadcrumb a {
  color: var(--nv-muted);
}

.ds-v2 .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.ds-v2 .section-head .eyebrow {
  margin-bottom: 6px;
}

.ds-v2 .home-section .section-head h2,
.ds-v2 .section-head h2 {
  font-size: var(--nv-h2);
  line-height: 1.17;
}

/* ---------- Ürün kartı ---------- */
.ds-v2 .product-card {
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius);
  background: var(--nv-surface);
  box-shadow: var(--nv-shadow-sm);
  overflow: hidden;
  transition: border-color 0.16s, box-shadow 0.16s;
}

.ds-v2 .product-card:hover {
  border-color: #94b6d4;
  box-shadow: var(--nv-shadow-md);
}

.ds-v2 .product-card__link {
  gap: var(--nv-space-1);
  padding: var(--nv-space-3) 18px var(--nv-space-1);
  color: var(--nv-ink);
}

.ds-v2 .product-card__top {
  display: flex;
  align-items: center;
  min-height: 20px;
}

.ds-v2 .product-card__brand {
  color: var(--nv-muted);
  font-size: var(--nv-text-xs);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.ds-v2 .product-card__media {
  height: 200px;
  max-height: 200px;
  margin: var(--nv-space-1) 0 var(--nv-space-2);
  padding: var(--nv-space-2) var(--nv-space-1);
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: var(--nv-photo-stage);
}

.ds-v2 .product-card__media img {
  object-fit: contain;
  /* 1400: web sizes are opaque white-ground JPEGs; a drop-shadow outlines the file's rectangle, not the product. */
  filter: none;
}

.ds-v2 .product-card__meta {
  color: var(--nv-muted);
  font-size: var(--nv-text-xs);
}

.ds-v2 .product-card__title {
  font-size: var(--nv-text-lg);
  line-height: 1.32;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.ds-v2 .product-card__link:hover .product-card__title {
  color: var(--nv-accent);
}

.ds-v2 .product-card .sku {
  color: var(--nv-muted);
  font-size: var(--nv-text-xs);
}

.ds-v2 .product-card__specs {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 2px;
  font-size: var(--nv-text-sm);
}

.ds-v2 .product-card__specs li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ds-v2 .product-card__spec-label {
  color: var(--nv-muted);
  font-weight: 400;
}

.ds-v2 .product-card__spec-value {
  color: var(--nv-ink);
  font-weight: 600;
}

.ds-v2 .product-card__foot {
  padding: var(--nv-space-1) 18px 18px;
  border-top: 0;
}

.ds-v2 .product-card__buy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--nv-space-2);
  width: 100%;
}

.ds-v2 .product-card__buy > .stock {
  padding: 0;
  font-size: var(--nv-text-xs);
  order: 2;
}

.ds-v2 .product-card__buy > .price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  order: 1;
  width: 100%;
}

.ds-v2 .product-card__add {
  order: 3;
}

.ds-v2 .product-card .price__value {
  display: block;
  font-size: 24px;
  line-height: 30px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ds-v2 .product-card .price__note {
  color: var(--nv-muted);
  font-size: var(--nv-text-xs);
}

.ds-v2 .product-card__add .btn {
  gap: var(--nv-space-2);
  padding: 0 var(--nv-space-3);
}

.ds-v2 .product-card__add .btn .ui-icon {
  width: 19px;
  height: 19px;
}

.ds-v2 .product-card__capacity {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius-sm);
  color: var(--nv-muted);
  font-size: var(--nv-text-sm);
  line-height: 20px;
}

/* Ana sayfa kartları: tam «Sepete ekle» metni. */
.ds-v2 .product-grid--featured .product-card__add .btn {
  width: auto;
  min-width: var(--nv-target);
  padding: 0 var(--nv-space-3);
}

/* Fiyatsız "Teklif iste" ve stoksuz rozet simgesiz metindir; ana sayfada da görünür kalır. */
.ds-v2 .product-grid--featured .product-card__add--quote .btn,
.ds-v2 .product-grid--featured .product-card__add--oos .btn {
  width: auto;
  padding: 0 var(--nv-space-3);
}

.ds-v2 .product-card__add--oos .btn {
  width: 100%;
}

.ds-v2 .product-card__oos,
.ds-v2 .oos-status {
  margin: 8px 0 0;
}

/* ---------- C01 ana sayfa (HOME-VISUAL-FIX-01) ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--nv-navy);
  color: var(--nv-on-navy);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 78% 28%, rgb(85 122 150 / 31%), transparent 53%), linear-gradient(115deg, var(--nv-navy) 20%, #133652 75%, #082136);
}

.page-home .home-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  align-items: center;
  gap: 40px;
  min-height: 0;
  padding-block: 48px;
}

.page-home .home-hero__text {
  max-width: 560px;
  padding-block: 0;
}

.page-home .home-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--nv-space-4);
  color: var(--nv-on-navy-muted);
  font-size: 11px;
}

.page-home .home-hero__rule {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--nv-on-navy-accent);
}

.page-home .home-hero h1 {
  color: var(--nv-on-navy);
  font-size: 48px;
  line-height: 52px;
  letter-spacing: 0;
}

.page-home .home-hero h1 em {
  font-style: normal;
  color: var(--nv-on-navy-accent);
}

.page-home .home-hero__lead {
  max-width: 560px;
  margin-top: var(--nv-space-4);
  color: var(--nv-on-navy-muted);
  font-size: 16px;
  line-height: 24px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nv-space-3) var(--nv-space-5);
  margin-top: var(--nv-space-5);
}

.page-home .home-hero__actions .btn-lg {
  min-height: 48px;
}

.page-home .home-hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--nv-space-2);
  min-height: var(--nv-target);
  color: var(--nv-on-navy);
  font-size: 16px;
  font-weight: 600;
}

.page-home .home-hero__secondary .ui-icon,
.page-home .home-hero__model-link .ui-icon {
  width: 16px;
  height: 16px;
}

.page-home .home-hero__stage {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
}

.page-home .home-hero__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  border-radius: var(--nv-radius-lg);
  background: var(--nv-surface);
  box-shadow: var(--nv-shadow-md);
  overflow: hidden;
}

.page-home .home-hero__photo-stage {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: 24px;
  background: var(--nv-photo-stage);
}

.page-home .home-hero__photo {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
}

.page-home .home-hero__missing {
  margin: 0;
  color: var(--nv-muted);
  font-size: 16px;
  line-height: 24px;
}

.page-home .home-hero__model {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  background: var(--nv-surface);
  color: var(--nv-ink);
  text-align: left;
}

.page-home .home-hero__model-meta {
  color: var(--nv-muted);
  font-size: 14px;
  line-height: 20px;
}

.page-home .home-hero__model-name {
  color: var(--nv-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.page-home .home-hero__model-link {
  display: inline-flex;
  align-items: center;
  gap: var(--nv-space-2);
  min-height: var(--nv-target);
  color: var(--nv-accent);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.page-home .home-hero__model-link:hover {
  text-decoration: underline;
}

.page-home .home-section {
  margin-top: 0;
  padding-block: 56px;
}

.page-home .home-section .section-head {
  margin-bottom: 24px;
}

.page-home .product-grid--featured {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.page-home .product-card--featured .product-card__link {
  padding: 16px 16px 8px;
}

.page-home .product-card--featured .product-card__foot {
  padding: 8px 16px 16px;
}

.page-home .product-card--featured .product-card__media {
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: none;
  padding: 12px;
  background: var(--nv-photo-stage);
}

.page-home .product-card--featured .product-card__media img {
  filter: none;
  object-fit: contain;
}

.page-home .product-card--featured .product-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 66px;
  font-size: 16px;
  line-height: 22px;
}

.page-home .product-grid--featured .product-card__buy > .stock {
  order: 1;
}

.page-home .product-grid--featured .product-card__buy > .price {
  order: 2;
}

.page-home .product-grid--featured .product-card__add,
.page-home .product-grid--featured .product-card__oos {
  order: 3;
}

.page-home .home-categories {
  padding-block: 56px;
  border-block: 1px solid var(--nv-line);
  background: var(--nv-ice);
}

.page-home .home-categories .section-head {
  margin-bottom: 24px;
}

.page-home .category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .category-grid > li {
  flex: 0 0 calc((100% - 64px) / 5);
  max-width: calc((100% - 64px) / 5);
}

.page-home .category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  height: 100%;
  min-height: 144px;
  padding: 16px;
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius);
  background: var(--nv-surface);
  color: var(--nv-ink);
  text-decoration: none;
}

.page-home .category-card:hover {
  border-color: var(--nv-line-strong);
  background: var(--nv-accent-soft);
}

.page-home .category-card:focus-visible {
  outline: 3px solid var(--nv-focus);
  outline-offset: 2px;
}

.page-home .category-card__icon {
  width: 28px;
  height: 28px;
  color: var(--nv-accent);
  stroke-width: 1.5;
}

.page-home .category-card__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.page-home .category-card__name {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.page-home .category-card__count {
  color: var(--nv-muted);
  font-size: 14px;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}

.page-home .category-card__arrow {
  display: none;
}

.page-home .home-brands {
  padding-block: 56px;
}

.page-home .home-brands .section-head {
  margin-bottom: 24px;
}

.page-home .brand-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .brand-grid > li {
  flex: 0 0 calc((100% - 80px) / 6);
  max-width: calc((100% - 80px) / 6);
}

.page-home .brand-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 104px;
  height: 100%;
  padding: 12px;
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius);
  background: var(--nv-surface);
  color: var(--nv-ink);
  text-decoration: none;
}

.page-home .brand-card:hover {
  border-color: var(--nv-line-strong);
  background: var(--nv-accent-soft);
}

.page-home .brand-card:focus-visible {
  outline: 3px solid var(--nv-focus);
  outline-offset: 2px;
}

.page-home .brand-card__copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.page-home .brand-card__name {
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  text-transform: none;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .brand-card__cta {
  overflow: hidden;
  color: var(--nv-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .brand-card__media {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: calc(var(--nv-radius) - 2px);
  background: color-mix(in srgb, var(--nv-surface) 70%, var(--nv-line) 30%);
}

.page-home .brand-card__media--placeholder {
  background: color-mix(in srgb, var(--nv-accent-soft) 55%, var(--nv-surface) 45%);
}

.page-home .brand-card__photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.page-home .brand-card__placeholder {
  max-width: 100%;
  padding: 4px;
  color: var(--nv-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.surface-store .store-footer__grid {
  align-items: start;
  gap: 32px;
  padding-block: 48px;
}

.surface-store .ai-review--disclosure {
  display: block;
}

.surface-store .ai-review__summary {
  display: flex;
  align-items: center;
  min-height: var(--nv-target);
  cursor: pointer;
}

.surface-store .ai-review__panel {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding-top: 12px;
}

/* ---------- C02 katalog ---------- */
.page-catalog .list-band {
  align-items: flex-end;
  margin: 0;
  padding: var(--nv-space-3) 0 var(--nv-space-5);
  border: 0;
  border-bottom: 1px solid var(--nv-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-catalog .list-band__title {
  display: block;
}

.page-catalog .list-band__title .eyebrow {
  margin-bottom: var(--nv-space-2);
}

.page-catalog .list-band h1 {
  font-size: var(--nv-h1);
}

.page-catalog .list-count {
  margin-top: var(--nv-space-2);
  color: var(--nv-muted);
  font-size: var(--nv-text-sm);
}

.page-catalog .empty-state--coming {
  margin-top: 32px;
  padding: 56px 24px;
  border: 1px dashed var(--nv-line-strong);
  border-radius: 12px;
  background: var(--nv-surface);
  box-shadow: none;
}

.page-catalog .empty-state--coming .eyebrow {
  margin-bottom: 16px;
  color: var(--nv-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-catalog .empty-state--coming .empty-state__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--nv-ink) 6%, transparent);
  color: var(--nv-accent);
}

.page-catalog .empty-state--coming .empty-state__icon {
  width: 40px;
  height: 40px;
  stroke-width: 1.5;
}

.page-catalog .empty-state--coming h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.page-catalog .empty-state--coming p:not(.eyebrow) {
  max-width: 440px;
  margin-inline: auto;
}

.page-catalog .sort-form label {
  color: var(--nv-muted);
  font-size: var(--nv-text-sm);
}

.page-catalog .list-layout {
  padding-top: var(--nv-space-5);
  padding-bottom: var(--nv-space-8);
}

.page-catalog .filter-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.page-catalog .filter-panel h2 {
  padding-bottom: var(--nv-space-3);
  border-bottom: 1px solid var(--nv-line);
  font-size: var(--nv-h3);
}

.page-catalog .filter-panel fieldset {
  margin: 0;
  padding: var(--nv-space-4) 0;
  border: 0;
  border-bottom: 1px solid var(--nv-line);
}

.page-catalog .filter-panel legend {
  padding: 0;
  color: var(--nv-ink);
  font-size: var(--nv-text-md);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.page-catalog .filter-panel .check {
  margin: 0;
  padding: 0 var(--nv-space-2);
  border-radius: var(--nv-radius-sm);
  font-size: var(--nv-text-sm);
}

.page-catalog .filter-panel .check:has(input:checked) {
  background: #eaf3fd;
  color: #0b4f9f;
  font-weight: 600;
}

.page-catalog .filter-actions {
  padding-top: var(--nv-space-4);
}

.page-catalog .active-filters .chip {
  border-radius: 999px;
}

@media (min-width: 1280px) {
  .page-catalog .product-grid--catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-catalog .product-card__foot {
  grid-template-columns: minmax(0, 1fr);
}

.page-catalog .product-card__buy {
  display: grid;
  width: 100%;
  gap: var(--nv-space-3);
}

.page-catalog .product-card__foot .price,
.page-catalog .product-card__add {
  grid-column: 1;
}

.page-catalog .product-card__add,
.page-catalog .product-card__add .btn {
  width: 100%;
}

/* ---------- C03 ürün detayı ---------- */
.page-product,
.page-product main {
  /* Task 1476 (owner, 11 Oct): the storefront page is white; cards keep their borders. */
  background: var(--nv-page);
}

.page-product .detail {
  padding-top: var(--nv-space-2);
}

.page-product .gallery__frame,
.page-product .gallery__stage {
  border-color: var(--nv-line);
  border-radius: var(--nv-radius);
  background: var(--nv-photo-stage);
}

.page-product .gallery__thumb {
  border-radius: var(--nv-radius-sm);
}

.page-product .gallery__thumb[aria-current="true"] {
  border-color: var(--nv-accent);
  box-shadow: 0 0 0 1px var(--nv-accent);
}

.page-product .buy-box__meta {
  color: var(--nv-muted);
  font-size: var(--nv-text-xs);
  font-weight: 600;
}

.page-product .detail-info h1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
  margin-top: 6px;
  font-size: 32px;
  line-height: 40px;
}

.page-product .detail-identity__line {
  margin: 4px 0 0;
  color: var(--nv-muted);
  font-size: 13px;
  line-height: 20px;
}

.page-product .product-card__why {
  margin: 8px 0 0;
  color: var(--nv-muted);
  font-size: 13px;
  line-height: 20px;
}

.page-product .bom-table {
  width: 100%;
}

.page-product .container.product-page {
  max-width: 1280px;
}

@media (min-width: 1024px) {
  /* 070z-L: keep store.css three-column areas (gallery | info | buy, body | body | buy). */
  .page-product .gallery__thumb {
    width: 64px;
    height: 64px;
  }
}

.page-product .detail-info__lead {
  margin-top: 10px;
  color: var(--nv-muted);
  font-size: var(--nv-text-md);
  line-height: 1.6;
}

.page-product .key-specs-block {
  margin-top: var(--nv-space-3);
}

.page-product .key-specs__title {
  margin: 0 0 var(--nv-space-2);
  color: var(--nv-ink);
  font-size: var(--nv-text-sm);
  font-weight: 700;
}

.page-product .key-specs {
  display: block;
  border-top: 1px solid var(--nv-line);
}

.page-product .key-specs > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--nv-space-4);
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--nv-line);
  border-radius: 0;
  background: transparent;
}

.page-product .key-specs dt {
  min-width: 0;
  flex: 0 1 40%;
  color: var(--nv-muted);
  font-size: var(--nv-text-md);
  font-weight: 400;
}

.page-product .key-specs dd {
  min-width: 12ch;
  flex: 1 1 60%;
  color: var(--nv-ink);
  font-size: var(--nv-text-md);
  font-weight: 650;
  text-align: right;
  overflow-wrap: break-word;
  word-break: normal;
}

.page-product .key-specs-table {
  margin: 0;
  table-layout: fixed;
  width: 100%;
}

.page-product .key-specs-table th,
.page-product .key-specs-table td {
  padding: 10px 0;
  font-size: var(--nv-text-md);
  overflow-wrap: break-word;
  word-break: normal;
}

.page-product .key-specs-table th {
  width: 40%;
  min-width: 0;
}

.page-product .key-specs-table td {
  width: 60%;
  min-width: 12ch;
  text-align: right;
  font-weight: 650;
}

.page-product .buy-box {
  border: 1px solid var(--nv-line);
  border-top: 1px solid var(--nv-line);
  border-radius: var(--nv-radius);
  background: var(--nv-ice);
  box-shadow: none;
}

/* Sticky beside the sections; a buy box taller than the window scrolls inside instead of hiding its end. */
@media (min-width: 1024px) {
  .page-product .detail > .buy-box {
    position: sticky;
    top: var(--nv-space-4);
    max-height: calc(100vh - 2 * var(--nv-space-4));
    overflow-y: auto;
  }
}

.page-product .stock-notify {
  margin-top: var(--nv-space-3);
  padding-top: 0;
  border-top: 0;
}

.page-product .stock-notify__title {
  display: flex;
  align-items: center;
  gap: var(--nv-space-2);
  min-height: var(--nv-target);
  margin: 0;
  padding-inline: var(--nv-space-3);
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius-sm);
  background: var(--nv-surface);
  color: var(--nv-ink);
  font-size: var(--nv-text-sm);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.page-product .stock-notify__title::-webkit-details-marker {
  display: none;
}

.page-product .stock-notify__title::after {
  content: "+";
  margin-left: auto;
  color: var(--nv-muted);
  font-weight: 400;
}

.page-product .stock-notify__details[open] > .stock-notify__title::after {
  content: "−";
}

.page-product .stock-notify__details > :not(summary) {
  margin-top: var(--nv-space-3);
}

.page-product .buy-box .price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-product .buy-box .price__value {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -0.045em;
}

.page-product .buy-box .price__note,
.page-product .price-block__sub {
  color: var(--nv-muted);
  font-size: var(--nv-text-xs);
}

.page-product .buy-box label {
  font-size: var(--nv-text-sm);
  font-weight: 700;
}

.page-product .detail-nav {
  border: 1px solid var(--nv-line);
  border-bottom: 0;
  border-radius: var(--nv-radius) var(--nv-radius) 0 0;
  background: var(--nv-ice);
}

.page-product .detail-nav ul {
  gap: var(--nv-space-1);
  padding-inline: var(--nv-space-3);
  border-bottom: 1px solid var(--nv-line);
}

.page-product .detail-nav a {
  min-height: 52px;
  padding-inline: var(--nv-space-3);
  color: var(--nv-muted);
  font-size: var(--nv-text-sm);
  font-weight: 600;
}

.page-product .detail-nav a:hover,
.page-product .detail-nav a[aria-current="true"] {
  color: var(--nv-accent);
  box-shadow: inset 0 -3px 0 var(--nv-accent);
}

.page-product .detail-sections {
  padding-bottom: var(--nv-space-8);
}

.page-product .detail-section {
  border: 1px solid var(--nv-line);
  border-radius: 0;
  background: var(--nv-surface);
  box-shadow: none;
}

.page-product .detail-section + .detail-section {
  border-top: 0;
}

.page-product .detail-section:last-child {
  border-radius: 0 0 var(--nv-radius) var(--nv-radius);
}

.page-product .detail-section h2 {
  font-size: 19px;
}

.page-product .spec-group h3 {
  font-size: var(--nv-text-lg);
  font-weight: 700;
}

.page-product .spec-group__count {
  font-weight: 500;
  color: var(--nv-muted);
}

.page-product .spec-list dt,
.page-product .spec-list dd,
.page-product .spec-list th,
.page-product .spec-list td {
  border-color: var(--nv-line);
  background: transparent;
  font-size: var(--nv-text-md);
}

.page-product .spec-list dt,
.page-product .spec-list th {
  color: var(--nv-muted);
}

.page-product .spec-list dd,
.page-product .spec-list td {
  font-weight: 600;
}

/* Teknik özellikler: reinforce 40/60 + 12ch value floor (see store.css .spec-group). */
.page-product .spec-group table.spec-list th {
  width: 40%;
  min-width: 0;
  color: var(--nv-muted);
}

.page-product .detail-section p,
.page-product .detail-section a,
.page-product .breadcrumb [aria-current="page"],
.page-product .buy-box .price__value,
.page-product .price__value,
.page-product .sticky-buy__value,
.page-product .sticky-buy__note {
  color: var(--nv-ink);
}

.page-product #fiyat-gorunumu-etiket {
  color: var(--nv-muted);
}

.page-product .spec-group table.spec-list td {
  width: 60%;
  min-width: 12ch;
  overflow-wrap: break-word;
  word-break: normal;
}

.page-product .spec-group table.spec-list tbody tr:nth-child(even) th,
.page-product .spec-group table.spec-list tbody tr:nth-child(even) td {
  background: var(--nv-ice);
}

@media (max-width: 767px) {
  .page-product .spec-group table.spec-list th,
  .page-product .spec-group table.spec-list td {
    display: block;
    width: auto;
    min-width: 0;
  }

  .page-product .spec-group table.spec-list td {
    min-width: 12ch;
  }

  .page-product .key-specs > div {
    flex-wrap: wrap;
  }

  .page-product .key-specs dt,
  .page-product .key-specs dd {
    flex: 1 1 100%;
    min-width: 0;
    text-align: left;
  }

  .page-product .key-specs dd {
    min-width: 12ch;
  }

  .page-product .key-specs-table th,
  .page-product .key-specs-table td {
    display: block;
    width: auto;
    min-width: 0;
    text-align: left;
  }

  .page-product .key-specs-table td {
    min-width: 12ch;
  }
}

.page-product .sticky-buy {
  flex-wrap: nowrap;
  border-top-color: var(--nv-line);
  background: var(--nv-surface);
}

/* ---------- C04 sepet ---------- */
.page-cart main > .container {
  padding-bottom: var(--nv-space-8);
}

.page-cart .cart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--nv-space-3) var(--nv-space-5);
  padding-block: var(--nv-space-5);
}

.page-cart .cart-head__row {
  display: flex;
  align-items: center;
  gap: var(--nv-space-3);
}

.page-cart .cart-head .muted {
  margin-top: 6px;
  font-size: var(--nv-text-sm);
}

.page-cart .table-card {
  border-width: 1px 0 0;
  border-radius: 0;
  background: transparent;
}

.page-cart .data-table tbody th,
.page-cart .data-table tbody td {
  padding-block: 20px;
}

.page-cart .cart-item__text a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--nv-ink);
  font-size: 15px;
  font-weight: 650;
}

.page-cart .cart-item__text a:hover {
  color: var(--nv-accent);
}

.page-cart .cart-item .sku {
  color: var(--nv-muted);
  font-size: var(--nv-text-xs);
}

.page-cart .cart-item .stock {
  margin-top: 4px;
}

/* Task 1476: one row [ − ] [ adet ] [ + ], "Güncelle" under it. The value
 * form is display: contents so its input and button sit in the same grid;
 * the three forms and their no-JS POSTs are unchanged. */
.page-cart .qty-stepper {
  display: grid;
  grid-template-columns: var(--nv-target) 4.5rem var(--nv-target);
  align-items: center;
  gap: 8px;
  width: max-content;
}

.page-cart .qty-stepper__step {
  margin: 0;
}

.page-cart .qty-stepper > .qty-stepper__step:first-child {
  grid-column: 1;
  grid-row: 1;
}

.page-cart .qty-stepper > .qty-stepper__step:last-child {
  grid-column: 3;
  grid-row: 1;
}

.page-cart .qty-stepper__value {
  display: contents;
}

.page-cart .qty-stepper__value input {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  min-height: var(--nv-target);
  text-align: center;
}

.page-cart .qty-stepper__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--nv-target);
  min-width: var(--nv-target);
  min-height: var(--nv-target);
  padding: 0;
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius);
  background: var(--nv-surface);
  color: var(--nv-ink);
  font-size: 18px;
  line-height: 1;
}

.page-cart .qty-stepper__btn:hover:not(:disabled) {
  border-color: var(--nv-accent);
  color: var(--nv-accent);
}

.page-cart .qty-stepper__btn:disabled {
  color: var(--nv-muted);
  cursor: not-allowed;
}

.page-cart .qty-stepper__apply {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: var(--nv-target);
  padding-inline: var(--nv-space-3);
  font-size: var(--nv-text-sm);
}

.page-cart .cart-item__remove {
  margin: 0;
}

.page-cart .cart-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 32px 0 0;
  padding: 16px 20px;
  list-style: none;
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius);
  background: var(--nv-ice);
}

/* Task 1476: icon + two lines (title, detail), every item top-aligned. */
.page-cart .cart-trust__item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  min-width: 0;
  color: var(--nv-ink);
  font-size: var(--nv-text-sm);
  line-height: 20px;
}

.page-cart .cart-trust__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-cart .cart-trust__item strong {
  font-weight: 650;
}

.page-cart .cart-trust__detail {
  color: var(--nv-muted);
  overflow-wrap: anywhere;
}

.page-cart .cart-trust a {
  display: inline-flex;
  align-items: center;
  min-width: var(--nv-target);
  min-height: var(--nv-target);
  margin-top: -12px;
  margin-bottom: -12px;
}

.page-cart .cart-trust__icon {
  width: 20px;
  height: 20px;
  color: var(--nv-navy);
}

.page-cart [data-line-total] {
  font-size: var(--nv-h3);
  font-weight: 750;
}

.page-cart .cart-summary {
  padding: var(--nv-space-5);
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius);
  background: var(--nv-ice);
  box-shadow: none;
}

.page-cart .cart-summary h2 {
  font-size: 21px;
}

.page-cart .cart-summary dl {
  margin-block: var(--nv-space-4);
}

.page-cart .cart-summary dt,
.page-cart .cart-summary dd {
  font-size: var(--nv-text-sm);
}

.page-cart .cart-summary dt {
  color: var(--nv-muted);
}

.page-cart .cart-summary .total {
  padding-top: var(--nv-space-4);
  border-top: 1px solid var(--nv-line);
  color: var(--nv-ink);
  font-size: var(--nv-text-md);
  font-weight: 700;
}

.page-cart .cart-summary dd.total {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

/* Task 1476: VAT-excluded view keeps the payable VAT-inclusive total as its own row. */
.page-cart .cart-summary .payable {
  color: var(--nv-ink);
  font-size: var(--nv-text-md);
  font-weight: 700;
}

.page-cart .cart-summary [data-shipping] {
  color: var(--nv-muted);
}

.page-cart .cart-summary__assure {
  color: var(--nv-muted);
  font-size: var(--nv-text-xs);
}

.page-cart .cart-summary__assure {
  margin-top: var(--nv-space-3);
}

.page-cart .empty-state {
  padding-block: var(--nv-space-8);
}

/* ---------- Duyarlı ---------- */
@media (max-width: 1279px) {
  .surface-store .store-header__inner {
    gap: var(--nv-space-5);
  }
}

@media (max-width: 1023px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 32px;
  }

  .page-home .home-hero h1 {
    font-size: 40px;
    line-height: 44px;
  }

  .page-home .home-section,
  .page-home .home-categories,
  .page-home .home-brands {
    padding-block: 40px;
  }

  .page-home .product-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .page-home .category-grid {
    gap: 16px;
  }

  .page-home .category-grid > li {
    flex-basis: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }

  .page-home .brand-grid {
    gap: 16px;
  }

  .page-home .brand-grid > li {
    flex-basis: calc((100% - 48px) / 4);
    max-width: calc((100% - 48px) / 4);
  }

  .surface-store .store-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .surface-store .store-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .header-action__hint {
    display: none;
  }

  .surface-store .store-header__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "logo actions menu"
      "search search search";
    gap: 8px;
    min-height: 0;
    padding-bottom: var(--nv-space-3);
  }

  .surface-store .store-header .logo {
    grid-area: logo;
    min-width: 0;
  }

  .surface-store .header-actions {
    grid-area: actions;
    gap: 0;
  }

  .surface-store .site-menu {
    grid-area: menu;
  }

  .surface-store .logo__word {
    font-size: 24px;
  }

  .surface-store .store-header .account-link,
  .surface-store .store-header .cart-link {
    position: relative;
    gap: 4px;
  }

  .surface-store .store-header .header-action__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .surface-store .store-header .search {
    grid-area: search;
    width: 100%;
    height: 44px;
  }

  .surface-store .store-header .search .btn {
    gap: var(--nv-space-2);
    padding: 0 var(--nv-space-3);
  }

  .surface-store .store-header .search .btn .ui-icon {
    display: none;
  }

  .surface-store .category-nav {
    display: block;
  }

  .surface-store .category-nav .nav-menu,
  .surface-store .category-nav .nav-link {
    display: none;
  }

  .surface-store .category-nav .category-nav__inner {
    min-height: var(--nv-target);
    padding-inline: 0;
  }

  .surface-store .category-nav .category-nav__links {
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 4px 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border-left: 0;
    -webkit-overflow-scrolling: touch;
  }

  .surface-store .category-nav .category-nav__links::-webkit-scrollbar {
    display: none;
  }

  .surface-store .category-nav .category-nav__links li {
    flex: none;
  }

  .surface-store .category-nav .category-nav__links a {
    min-height: var(--nv-target);
    padding: 0 12px;
    border: 1px solid color-mix(in srgb, var(--nv-on-navy) 18%, transparent);
    border-radius: var(--nv-radius);
    background: color-mix(in srgb, var(--nv-on-navy) 8%, transparent);
    font-size: var(--nv-text-sm);
    white-space: nowrap;
  }

  .page-product .sticky-buy {
    z-index: 30;
    min-height: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  .page-product .sticky-buy .btn {
    flex: none;
    white-space: nowrap;
  }

  .ds-v2 main h1,
  .page-catalog .list-band h1 {
    font-size: 30px;
  }

  .ds-v2 .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--nv-space-1);
  }

  .ds-v2 .home-section .section-head h2,
  .ds-v2 .section-head h2 {
    font-size: 23px;
  }

  .ds-v2 .product-grid--featured .product-card__buy {
    display: grid;
    gap: 10px;
  }

  .ds-v2 .product-grid--featured .product-card__add,
  .ds-v2 .product-grid--featured .product-card__add .btn,
  .ds-v2 .product-grid--featured .product-card__add--quote .btn,
  .ds-v2 .product-grid--featured .product-card__add--oos .btn {
    width: 100%;
  }

  .ds-v2 .product-grid--featured .product-card__add-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }

  .ds-v2 .product-card__link {
    padding: 10px var(--nv-space-3) var(--nv-space-1);
  }

  .ds-v2 .product-card__foot {
    padding: var(--nv-space-1) var(--nv-space-3) var(--nv-space-3);
  }

  .ds-v2 .product-card .price__value {
    font-size: 19px;
  }

  .ds-v2 .product-card__title {
    -webkit-line-clamp: 2;
    min-height: 0;
    min-height: 2lh;
    font-size: 14px;
  }

  .page-product .detail-info h1 {
    font-size: 26px;
    line-height: 34px;
  }

  .page-product .gallery__stage {
    width: 343px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
  }

  .page-product .gallery__thumbs {
    gap: 8px;
  }

  .page-product .gallery__thumb {
    width: 56px;
    height: 56px;
  }

  .ds-v2 .product-card__media {
    height: 200px;
    max-height: 200px;
  }

  .page-home .home-hero__text {
    padding-block: 0;
  }

  .page-home .home-hero__grid {
    gap: 20px;
    padding-block: 32px;
  }

  .page-home .home-hero h1 {
    font-size: 36px;
    line-height: 40px;
  }

  .page-home .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-home .home-hero__photo-stage {
    padding: 16px;
  }

  .page-home .home-section,
  .page-home .home-categories,
  .page-home .home-brands {
    padding-block: 32px;
  }

  .page-home .home-section .section-head,
  .page-home .home-categories .section-head,
  .page-home .home-brands .section-head {
    margin-bottom: 16px;
  }

  .page-home .product-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-home .product-card--featured .product-card__link,
  .page-home .product-card--featured .product-card__foot {
    padding-inline: 12px;
  }

  .page-home .product-card--featured .product-card__title {
    min-height: 60px;
    font-size: 14px;
    line-height: 20px;
  }

  .page-home .product-grid--featured .price__value {
    font-size: 20px;
    line-height: 26px;
  }

  .page-home .category-grid {
    flex-direction: column;
    gap: 12px;
  }

  .page-home .category-grid > li {
    flex-basis: 100%;
    max-width: none;
  }

  .page-home .category-card {
    flex-direction: row;
    align-items: center;
    min-height: 80px;
    padding: 16px;
  }

  .page-home .category-card__copy {
    flex: 1;
    min-width: 0;
    gap: 4px;
  }

  .page-home .category-card__arrow {
    display: inline-flex;
    flex: none;
    color: var(--nv-muted);
  }

  .page-home .brand-grid {
    gap: 12px;
  }

  .page-home .brand-grid > li {
    flex-basis: calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
  }

  .page-home .brand-card {
    min-height: 96px;
  }

  .page-cart .cart-head {
    padding-block: var(--nv-space-4);
  }

  .page-cart .cart-trust {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-cart .cart-item {
    align-items: flex-start;
  }

  .page-cart .qty-stepper {
    width: 100%;
  }

  .surface-store .store-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--nv-space-4);
    padding-block: var(--nv-space-6) var(--nv-space-4);
  }

  .surface-store .ai-review__tiles {
    gap: var(--nv-space-2);
  }
}

@media (max-width: 559px) {
  .page-cart .cart-trust {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page-cart .cart-trust {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  /* Task 1673: at 768 px the five columns were ~46 px wider than the card and
   * "Kaldır" was clipped; tighter cell padding keeps the row inside it. */
  .page-cart .data-table :is(th, td) {
    padding-inline: var(--nv-space-2);
  }
}

@media (max-width: 359px) {
  .page-home .product-grid--featured {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

.ds-v2 .product-card__qty {
  width: 4.5rem;
  min-height: var(--nv-target);
  box-sizing: border-box;
}
.ds-v2 .product-card__add-status {
  margin: 0;
  font-size: var(--nv-text-xs);
}

/* ---------- 1400 faz A: ürün fotoğraf alanı ----------
 * Card and hero photos share one area: a neutral plate (--nv-photo-plate,
 * white like the web sizes, also in the dark scheme, so a white-ground JPEG
 * never shows a second, differently coloured rectangle), even inner padding
 * from the existing rules, object-fit: contain inside a box the photo can
 * never grow or overflow (vertical disk, thin RAM and wide server alike).
 * <picture> takes no box of its own, so the <img> is the grid item.
 * Ready for a transparent web size (phase B, not produced yet): a photo
 * marked data-photo-alpha drops the plate and may carry a shadow that
 * follows the product outline. */
.ds-v2 {
  --nv-photo-plate: var(--nv-photo-stage);
}

.ds-v2 :is(.product-card__media, .home-hero__photo-stage) {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--nv-photo-plate);
}

.ds-v2 :is(.product-card__media, .home-hero__photo-stage) > picture {
  display: contents;
}

.ds-v2 :is(.product-card__media, .home-hero__photo-stage) img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
}

/* 1611: <picture> is display: contents, so its <source> is a 0-height grid
 * item above the photo and the free height is shared by the two rows. That
 * made the photo box follow the image's own ratio: it moved when the trimmed
 * web size decoded (layout shift). The photo now fills one fixed cell and is
 * drawn where the shared rows put it: 3/4 of the free height above it. */
.ds-v2 .home-hero__photo-stage {
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}

.ds-v2 .home-hero__photo-stage img {
  grid-area: 1 / 1;
  object-position: 50% 75%;
}

/* 1621: the same shift on product cards, whose media box also has a row
 * gap. The <source> keeps its 0-height first row, the photo gets the rest as
 * one fixed row and is drawn where the shared rows put it (3/4 of the free
 * height above it). A bare <img> and the icon card have no <source>; they
 * keep their rows; so does a bundled PNG's <picture data-photo-bundled>
 * (1875: laid out as a bare <img>, see app.css). */
.ds-v2 .product-card__media:has(> picture:not([data-photo-bundled])) {
  grid-template: 0 minmax(0, 1fr) / minmax(0, 1fr);
}

.ds-v2 .product-card__media > picture:not([data-photo-bundled]) > img {
  object-position: 50% 75%;
}

.ds-v2 :is(.product-card__media, .home-hero__photo-stage):has(img[data-photo-alpha]) {
  background: transparent;
}

.ds-v2 :is(.product-card__media, .home-hero__photo-stage) img[data-photo-alpha] {
  filter: drop-shadow(0 8px 10px rgb(11 43 71 / 14%));
}

/* ---------- Design Program 03 · Release 3.5 (job 1485): D0 + D1 slice ----------
 * Presentation only; price/KDV/FX/stock/payment logic is unchanged.
 * Order: header (V05) → cards (V06) → home (V04/V12) → listing (V11) →
 * product page (V01/V09/V10) → cart. Tokens: nvme-ds.css "Design Program 03 D0".
 * Appended after the 1400 phase A block on purpose (same specificity wins here). */

/* Header (V05): no utility row. Tablet/desktop = logo/search/actions + one category row;
 * the dealer link is a quiet text link before account and cart. Phone = 56 px logo row +
 * search row; the category row only on browsing pages (menu keeps every category and the dealer link). */
.surface-store .header-dealer {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: var(--nv-target);
  min-width: var(--nv-target);
  padding: 0 var(--nv-space-1);
  color: var(--nv-on-navy-muted);
  font-size: var(--nv-text-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.surface-store .header-dealer:hover {
  color: var(--nv-on-navy);
  text-decoration: underline;
}

.surface-store .header-dealer:focus-visible {
  outline: 3px solid var(--nv-focus);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .surface-store .header-dealer {
    display: none;
  }

  .surface-store .store-header .logo {
    min-height: 56px;
  }

  .surface-store .store-header__inner {
    padding-bottom: var(--nv-space-2);
  }

  /* Product page and cart are not browsing pages: no category chip row on a phone. */
  :is(.page-product, .page-cart) .store-header .category-nav {
    display: none;
  }
}

/* Cards (V06): one 4:3 image canvas for grid cards; list/compact rows keep their own sizes (listing.css). */
.ds-v2 .product-card__media {
  height: auto;
  max-height: none;
  aspect-ratio: var(--nv-media-ratio);
  padding: var(--nv-space-2);
  border-radius: var(--nv-radius-control);
}

/* List and compact rows size their photo cell in listing.css; the 4:3 canvas is for grid cards only. */
.page-catalog .listing--kompakt .product-card__media {
  aspect-ratio: auto;
}

@media (min-width: 768px) {
  .page-catalog :is(.listing--liste, .listing--auto) .product-card__media {
    aspect-ratio: auto;
  }
}

@media (max-width: 767px) {
  .page-catalog .listing--liste .product-card__media {
    aspect-ratio: auto;
  }
}

.ds-v2 .product-card {
  border-radius: var(--nv-radius-card);
}

.ds-v2 .product-card .price__value,
.ds-v2 .product-card .price__fx,
.ds-v2 .product-card .stock {
  font-variant-numeric: tabular-nums;
}

/* One small USD line under the TL price (no "≈"). */
.ds-v2 .price-fx__label {
  /* Theme-aware secondary text (also readable in the dark scheme). */
  color: var(--nv-muted);
  font-weight: 400;
}

.page-product .buy-box .price-fx--usd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  grid-column: 1 / -1;
  font-size: var(--nv-text-md);
  line-height: 20px;
}

.page-product .buy-box .price-fx--usd .price-fx__amount {
  font-size: var(--nv-text-lg);
  line-height: 24px;
}

/* Task 1659: the USD explanation is an "i" tooltip beside the product page USD amount (hover, focus, tap; Esc closes). */
.page-product .buy-box .price--product {
  position: relative;
}

.fx-info {
  display: inline-flex;
  align-self: center;
  vertical-align: middle;
}

/* 44 px target (project rule); the visible mark is the 24 px circle inside, negative margins keep the line height. */
.fx-info__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--nv-target);
  height: var(--nv-target);
  margin: -13px -10px -13px -6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--nv-muted);
  cursor: help;
}

.fx-info__button > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--nv-surface);
  font: italic 700 13px/1 var(--nv-font);
}

.fx-info__button:hover {
  color: var(--nv-ink);
}

.fx-info__tip {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  max-width: min(360px, 100%);
  padding: var(--nv-space-2) var(--nv-space-3);
  border-radius: var(--nv-radius-sm);
  background: var(--nv-ink);
  color: var(--nv-surface);
  box-shadow: var(--nv-shadow-md);
  font-size: var(--nv-text-sm);
  font-weight: 400;
  line-height: 20px;
  white-space: normal;
}

/* Keeps the pointer inside the tooltip area while moving from the button to the text (WCAG 1.4.13 hoverable). */
.fx-info__tip::before {
  content: "";
  position: absolute;
  inset: -10px 0 100% 0;
}

.fx-info:hover .fx-info__tip,
.fx-info:focus-within .fx-info__tip,
.fx-info[data-open] .fx-info__tip {
  display: block;
}

.fx-info[data-dismissed] .fx-info__tip {
  display: none;
}

/* Home (V04 display fallback). The brand strip keeps HOME-VISUAL-FIX-01 (every brand, balanced last row). */
@media (max-width: 767px) {
  .page-home .home-hero__eyebrow {
    margin-bottom: var(--nv-space-2);
  }
}

/* Product page (V01): title → photo → options → price/stock/action → decision specs → details.
 * Phone: document order. Tablet/desktop: grid areas keep the photo beside the title and buy box. */
.page-product .detail-head {
  display: flex;
  flex-direction: column;
  gap: var(--nv-space-1);
  min-width: 0;
}

.page-product .detail-head h1 {
  margin: 0;
  color: var(--nv-text-strong);
  overflow-wrap: anywhere;
}

.page-product .detail-identity,
.page-product .detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nv-space-1) var(--nv-space-4);
  margin: 0;
  color: var(--nv-text-secondary);
  font-size: var(--nv-text-md);
  line-height: 20px;
}

.page-product .detail-identity .detail-identity__line,
.page-product .detail-facts .detail-identity__line {
  margin: 0;
  overflow-wrap: anywhere;
}

.page-product .detail-identity .detail-identity__line[hidden] {
  display: none;
}

.page-product .detail-options {
  min-width: 0;
}

@media (max-width: 767px) {
  .page-product .detail {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    gap: var(--nv-space-4);
  }

  .page-product .detail > * {
    grid-area: auto;
  }

  .page-product .detail-head h1 {
    display: block;
    -webkit-line-clamp: unset;
    font-size: 22px;
    line-height: 28px;
  }

  .page-product .gallery__stage {
    aspect-ratio: 1 / 1;
    max-height: 343px;
  }
}

@media (min-width: 768px) {
  .page-product .detail > .detail-head {
    grid-area: head;
  }

  .page-product .detail > .detail-options {
    grid-area: opts;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page-product .detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "head head"
      "gallery buy"
      "info buy"
      "body body";
    grid-template-rows: auto auto 1fr auto;
  }

  .page-product .detail:has(> .detail-options) {
    grid-template-areas:
      "head head"
      "gallery buy"
      "opts buy"
      "info buy"
      "body body";
    grid-template-rows: auto auto auto 1fr auto;
  }
}

@media (min-width: 1024px) {
  .page-product .detail {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 290px;
    grid-template-areas:
      "gallery head buy"
      "gallery info buy"
      "body body buy";
    grid-template-rows: auto 1fr auto;
  }

  .page-product .detail:has(> .detail-options) {
    grid-template-areas:
      "gallery head buy"
      "gallery opts buy"
      "gallery info buy"
      "body body buy";
    grid-template-rows: auto auto 1fr auto;
  }
}

/* Out of stock (V09): the badge is the one state; the notify form follows it. */
/* Out of stock (V09): the badge is the one state; the notify form follows it. */
.page-product .buy-box .stock--out {
  font-weight: 700;
  font-size: var(--nv-text-sm);
  color: var(--nv-danger);
}

/* Task 2843: priced out-of-stock — stock badge + open notify beside/below the price. */
.page-product .buy-box__oos {
  display: grid;
  gap: var(--nv-space-3);
  margin-top: var(--nv-space-3);
}

@media (min-width: 768px) {
  .page-product .buy-box__oos[data-oos-buy-layout] {
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    align-items: start;
    gap: var(--nv-space-4);
  }
}

.page-product .buy-box__oos-stock .stock--out {
  display: inline-flex;
  align-items: center;
  min-height: var(--nv-target);
  padding: var(--nv-space-2) var(--nv-space-3);
  border: 1px solid color-mix(in srgb, var(--nv-danger) 35%, var(--nv-line));
  border-radius: var(--nv-radius-sm);
  background: color-mix(in srgb, var(--nv-danger) 8%, var(--nv-surface));
}

.page-product .stock-notify--prominent .stock-notify__title {
  margin: 0 0 var(--nv-space-2);
  padding: 0;
  border: 0;
  background: transparent;
  font-size: var(--nv-text-sm);
  font-weight: 700;
  cursor: default;
}

.page-product .stock-notify--prominent .stock-notify__title::after {
  content: none;
}

.page-product [data-oos-price-note] {
  margin-top: var(--nv-space-2);
  max-width: 42ch;
}

/* Cart: tabular amounts. */
.page-cart :is(.cart-summary, .stack-table) :is(dd, td.num, .price-fx) {
  font-variant-numeric: tabular-nums;
}
