/* NWME mağaza yüzeyi (v0.3/v0.4). app.css'ten sonra yüklenir. */

.store-header {
  box-shadow: var(--shadow-sm);
}

.surface-store main {
  padding-top: 0;
}

.surface-store main > .notice {
  margin-top: 24px;
}

.btn-lg {
  min-height: 48px;
  padding: 12px 22px;
  font-size: 16px;
}

.eyebrow {
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}

.section-link::after {
  content: "→";
  margin-left: 6px;
}

/* ---------- C01 hero ---------- */

.home-hero {
  background: var(--navy);
  color: #fff;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
  min-height: 460px;
  gap: 0;
}

.home-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 56px 48px 56px 0;
}

.home-hero__text .eyebrow {
  color: #93c5fd;
}

.home-hero h1 {
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.home-hero__lead {
  color: #cbd5e1;
  font-size: 18px;
  line-height: 28px;
  max-width: 44ch;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.home-hero :focus-visible {
  outline-color: #fff;
}

.home-hero__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0;
  padding: 40px 32px 24px;
  border-radius: 16px;
  background: radial-gradient(120% 90% at 50% 40%, #ffffff 0%, var(--stage) 70%, #e2e8f0 100%);
  color: var(--text);
}

.home-hero__photo {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(15, 23, 42, 0.18));
}

.home-hero__stage figcaption {
  font-size: 14px;
  line-height: 20px;
}

.home-hero__stage figcaption a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.home-hero__stage figcaption a:hover {
  text-decoration: underline;
}

.home-hero__stage :focus-visible {
  outline-color: var(--primary);
}

/* ---------- C01 benefits ---------- */

.benefits {
  position: relative;
  margin-top: -1px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  padding: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-sm);
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.benefit + .benefit {
  border-left: 1px solid var(--line);
}

.benefit strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.benefit__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--primary);
}

.benefit__icon svg {
  width: 22px;
  height: 22px;
}

/* ---------- Product cards and media ---------- */

.product-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  border-color: #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.product-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.product-card__media-link {
  display: block;
}

.product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  padding: 20px;
  border-radius: 10px;
  background: radial-gradient(110% 90% at 50% 40%, #ffffff 0%, var(--stage) 80%);
  color: #94a3b8;
}

.product-card__media .product-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(15, 23, 42, 0.14));
}

/* 1475: derived photos arrive as <picture><img>; the inline <picture> has no
 * height, so the img's height: 100% fell back to the photo ratio and a tall
 * photo spilled over the brand and title (cart thumbnail: same markup). The
 * img is the flex item and the stage clips. */
:is(.product-card__media, .cart-item__media) {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

:is(.product-card__media, .cart-item__media) > picture {
  display: contents;
}

:is(.product-card__media, .cart-item__media) img {
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
}

.product-card__media--icon .icon {
  width: 72px;
  height: 72px;
}

/* ---------- Corporate quote panel ---------- */

.quote-panel {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 32px;
  align-items: center;
  padding: 40px 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}

.quote-panel__text > * + * {
  margin-top: 16px;
}

.quote-panel__text p {
  color: #cbd5e1;
  max-width: 52ch;
}

.quote-panel :focus-visible {
  outline-color: #fff;
}

.quote-panel__list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  color: #e2e8f0;
}

.quote-panel__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.quote-panel__list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: #60a5fa;
}

/* ---------- Header ---------- */

.store-header__inner {
  gap: 32px;
}

.search {
  position: relative;
  align-items: flex-start;
}

.search__icon {
  position: absolute;
  top: 24px;
  left: 14px;
  display: flex;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.ui-icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.search input {
  min-height: 48px;
  padding-left: 44px;
  border-color: var(--control-line);
  border-radius: 10px;
  background: var(--page);
}

.search input:hover {
  border-color: var(--navy);
}

.search input:focus {
  background: var(--card);
}

.search .btn {
  min-height: 48px;
  padding-inline: 22px;
  border-radius: 10px;
}

.cart-link {
  min-height: 48px;
  gap: 10px;
  padding: 0 14px;
  border-color: var(--control-line);
  border-radius: 10px;
  color: var(--navy);
}

.cart-link:hover {
  border-color: var(--navy);
  background: var(--soft);
  color: var(--navy);
}

.cart-link .ui-icon {
  width: 22px;
  height: 22px;
}

.category-nav {
  border-top-color: #e2e8f0;
}

.category-nav ul {
  gap: 0 4px;
}

.category-nav a {
  min-height: 48px;
  font-size: 15px;
  white-space: nowrap;
}

/* ---------- Product card details ---------- */

.product-card {
  gap: 6px;
}

.product-card__media {
  margin-bottom: 8px;
}

.product-card__meta {
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: var(--muted);
}

.product-card__foot {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.product-card .product-card__foot .btn {
  margin-top: 0;
}

.product-card .price__value {
  color: var(--navy);
}

/* ---------- Breadcrumb ---------- */
/* Short hub labels ("HPE") measured 28×44 until min-width matches footer/E40-T1. */

.breadcrumb li {
  min-width: 0;
}

.breadcrumb a {
  min-width: 44px;
}

.breadcrumb li:last-child {
  display: flex;
  align-items: baseline;
  flex: 1 1 0;
  min-width: 96px;
}

.breadcrumb [aria-current="page"] {
  display: block;
  max-width: 64ch;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 44px;
}

/* ---------- C02 catalogue ---------- */

.list-head {
  padding-top: 8px;
}

.list-layout {
  grid-template-columns: 256px minmax(0, 1fr);
  gap: 32px;
  margin-top: 20px;
}

.filter-panel {
  padding: 8px 20px 20px;
  border-color: #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.filter-panel h2 {
  padding-block: 12px;
  margin: 0;
  font-size: 17px;
  line-height: 24px;
}

.filter-panel fieldset,
.drawer__body fieldset {
  margin: 0;
  padding-bottom: 12px;
  box-shadow: inset 0 1px 0 #e2e8f0;
}

.drawer__body fieldset:first-of-type {
  box-shadow: none;
}

.filter-panel legend,
.drawer__body legend {
  padding-top: 14px;
  margin-bottom: 2px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* A rendered legend straddles the fieldset's top edge, so the inset divider ran through its text; floated, it sits below the divider. */
.filter-panel legend,
.drawer__body legend,
.catalog-filters legend {
  float: left;
  width: 100%;
}

.filter-panel legend + *,
.drawer__body legend + *,
.catalog-filters legend + * {
  clear: both;
}

.filter-panel .check,
.drawer__body .check {
  font-size: 15px;
}

.filter-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter-tree .filter-tree {
  padding-left: 16px;
}

.filter-actions {
  padding-top: 16px;
  box-shadow: inset 0 1px 0 #e2e8f0;
}

.list-results {
  min-width: 0;
}

.list-toolbar {
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-tools .btn[hidden] {
  display: none;
}

.list-count {
  font-weight: 600;
}

.sort-form {
  align-items: center;
}

.sort-form label {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.sort-form select {
  min-width: 200px;
  border-color: var(--control-line);
}

.active-filters {
  margin-bottom: 16px;
}

.active-filters .chip {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: var(--navy);
  font-size: 14px;
}

.list-empty {
  border-color: #e2e8f0;
}

/* ---------- C03 product detail ---------- */

.detail {
  gap: 48px;
}

.gallery {
  min-width: 0;
  margin: 0;
}

.gallery__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 16px;
  border-radius: 16px;
  background: var(--nv-photo-stage);
  color: #94a3b8;
}

/* NWME-070z-M: product photos sit flat on the white stage (no shadow), so a supplier photo's own white edge never shows as a card. */
.gallery__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery__stage--icon .icon {
  width: 128px;
  height: 128px;
}

.gallery__caption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

.gallery__thumbs {
  gap: 12px;
  margin-top: 12px;
}

.gallery__thumbs li {
  display: block;
  aspect-ratio: auto;
  border: 0;
  background: none;
}

.gallery__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--control-line);
  border-radius: 10px;
  background: var(--nv-photo-stage);
}

.gallery__thumb:hover {
  border-color: var(--navy);
}

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

.gallery__thumb-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.buy-box {
  min-width: 0;
  padding: 28px;
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.buy-box > * + * {
  margin-top: 16px;
}

.buy-box > h1 {
  margin-top: 6px;
}

.buy-box__meta {
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: var(--muted);
}

.price-block {
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.price-block .price__value {
  font-size: 32px;
  line-height: 40px;
  color: var(--navy);
}

.price-block p + p {
  margin-top: 4px;
}

.price-block__sub {
  font-size: 14px;
  line-height: 20px;
}

.buy-form {
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.qty-row {
  grid-template-columns: 96px minmax(0, 1fr);
}

.qty-row input {
  min-height: 48px;
  text-align: center;
}

.buy-box__summary {
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  color: var(--muted);
  font-size: 15px;
}

.info-blocks {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}

.info-block h2 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 28px;
}

.info-side {
  display: grid;
  gap: 24px;
  align-content: start;
}

.info-side .info-block + .info-block {
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.info-side p {
  color: var(--muted);
}

.spec-list {
  border-top-color: #e2e8f0;
}

.spec-list dt,
.spec-list dd {
  border-bottom-color: #e2e8f0;
}

/* ---------- C04 cart and result ---------- */

.page-head {
  padding-top: 24px;
}

.page-head > p {
  margin-top: 4px;
}

.cart-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  margin-top: 20px;
}

.table-card {
  overflow-x: auto;
  border-color: #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.table-card .data-table thead th {
  font-size: 13px;
  color: var(--muted);
  white-space: normal;
}

.table-card th.cell-main {
  width: 46%;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.cart-item__media {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 64px;
  padding: 6px;
  border-radius: 8px;
  background: var(--stage);
  color: #94a3b8;
}

.cart-item__media .product-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item__media--icon .icon {
  width: 32px;
  height: 32px;
}

.cart-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-item__text a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.cart-item__text .sku {
  font-weight: 400;
}

.cart-item__text a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.cart-summary {
  position: sticky;
  top: 16px;
  border-color: #e2e8f0;
  box-shadow: var(--shadow-md);
}

.cart-summary h2 {
  font-size: 20px;
  line-height: 28px;
}

.cart-summary__note {
  font-size: 14px;
  line-height: 20px;
}

.cart-summary > * + .small {
  margin-top: 4px;
}

.result {
  padding-top: 40px;
}

.result-card {
  max-width: 760px;
  margin-inline: auto;
  padding: 32px;
  border-color: #e2e8f0;
  box-shadow: var(--shadow-md);
}

.result-card__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.result-card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #bbf7d0;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok-text);
}

.result-card__icon .ui-icon {
  width: 26px;
  height: 26px;
}

.result-card h1 {
  font-size: 26px;
  line-height: 34px;
}

.result-card__ref {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: var(--stage);
  color: var(--muted);
  font-weight: 600;
}

.result-card__ref .result-ref {
  color: var(--navy);
  letter-spacing: 0.02em;
}

.result-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Footer ---------- */

.store-footer {
  padding-block: 48px 0;
}

.store-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.logo--on-dark,
.logo--on-dark:hover {
  color: #fff;
}

.logo--on-dark .logo-mark {
  background: #fff;
  color: var(--navy);
}

.store-footer__brand p {
  margin-top: 8px;
  max-width: 36ch;
}

.store-footer h2 {
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
}

.store-footer__links {
  list-style: none;
  padding: 0;
}

.store-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e2e8f0;
  text-decoration: none;
}

.store-footer__links a:hover {
  color: #fff;
  text-decoration: underline;
}

.store-footer__note {
  margin-top: 32px;
  padding-block: 20px;
  border-top: 1px solid var(--navy-line);
  font-size: 13px;
  line-height: 20px;
  color: #94a3b8;
}

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .home-hero__text {
    padding: 40px 0 8px;
  }

  .home-hero__stage {
    margin: 16px 0 32px;
  }

  .benefit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit:nth-child(3) {
    border-left: 0;
  }

  .benefit:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .product-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px;
  }
}

@media (max-width: 767px) {
  .home-hero h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .home-hero__lead {
    font-size: 16px;
    line-height: 24px;
  }

  .home-hero__actions .btn {
    flex: 1 1 100%;
  }

  .home-hero__stage {
    padding: 24px 16px 12px;
  }

  .benefit-list {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 0 0 10px 10px;
  }

  .benefit + .benefit {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .quote-panel {
    padding: 24px 20px;
  }

  .quote-panel .btn {
    width: 100%;
  }
}

/* Page layouts: these re-declare app.css breakpoints because the desktop rules above override them. */

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

  .cart-summary {
    position: static;
  }
}

@media (max-width: 1023px) {
  .store-header__inner {
    gap: 20px;
  }

  .list-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }

  .detail {
    gap: 32px;
  }

  .info-blocks {
    gap: 32px;
  }

  .table-card th.cell-main {
    width: auto;
  }

  .cart-item {
    gap: 10px;
    min-width: 200px;
  }

  .cart-item__media {
    width: 64px;
    height: 48px;
    padding: 4px;
  }

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

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

@media (max-width: 767px) {
  .search__icon {
    left: 12px;
  }

  .search .btn {
    padding-inline: 16px;
  }

  .cart-link {
    padding: 0 12px;
  }

  .category-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--pad));
    padding-inline: calc(var(--pad) - 12px);
    scrollbar-width: none;
  }

  .category-nav ul::-webkit-scrollbar {
    display: none;
  }

  .category-nav li {
    flex: none;
  }

  .category-nav a {
    min-height: 44px;
    outline-offset: -2px;
  }

  .category-nav a:focus-visible {
    outline-offset: -3px;
  }

  .list-layout {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 8px;
  }

  .list-toolbar {
    gap: 8px 16px;
  }

  .detail {
    gap: 20px;
  }

  .gallery__stage {
    padding: 12px;
  }

  .gallery__stage--icon .icon {
    width: 88px;
    height: 88px;
  }

  .gallery__thumbs {
    gap: 8px;
  }

  .buy-box {
    padding: 20px;
    border-radius: 12px;
  }

  .buy-box > h1 {
    font-size: 22px;
    line-height: 30px;
  }

  .price-block .price__value {
    font-size: 28px;
    line-height: 36px;
  }

  .info-blocks {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
    padding-top: 24px;
  }

  .cart-item {
    min-width: 0;
  }

  .cart-item__media {
    width: 72px;
    height: 56px;
  }

  .stack-table .cell-main {
    padding-block: 8px;
  }

  .result {
    padding-top: 24px;
  }

  .result-card {
    padding: 20px;
  }

  .result-card h1 {
    font-size: 22px;
    line-height: 30px;
  }

  .result-card__icon {
    width: 40px;
    height: 40px;
  }

  .result-card__actions .btn {
    flex: 1 1 100%;
  }

  .store-footer {
    padding-top: 32px;
  }

  .store-footer__grid {
    gap: 16px 24px;
  }
}

/* NWME-021 ek: sayfalama (tasarımda ayrı ekran yok; mevcut düğme dili kullanıldı). */
.pagination {
  margin-top: 24px;
}

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination .btn {
  min-width: 44px;
}

/* NWME-564: store.css loads before nvme-ds.css, so this needs more weight than `.ds-v2 .btn`. */
.pagination .btn.pagination__current {
  border-color: var(--nv-accent-fill);
  background: var(--nv-accent-fill);
  color: var(--nv-on-accent);
  font-weight: 700;
  cursor: default;
}

.pagination__gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  min-height: 44px;
  color: var(--nv-muted);
}

/* Phones: the numbers keep the first row; Önceki/Sonraki share the row below. */
@media (max-width: 479px) {
  .pagination ul {
    gap: 6px;
  }

  .pagination .pagination__step {
    order: 1;
    flex: 1 1 40%;
  }

  .pagination .pagination__step .btn {
    width: 100%;
  }
}

/* NWME-021 ek (Astra P2): boş sonuçtan ayrı çıkışlar ve görünür fiyat hatası özeti. */
.empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* NWME-026f: sonuçsuz aramada düzeltme önerisi ve yakın marka/kategoriler. */
.search-rescue {
  margin: 16px 0;
}

.search-rescue h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.search-rescue__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-rescue__correction a {
  font-weight: 600;
}

.filter-error-summary {
  margin-bottom: 16px;
  padding: 16px 20px;
  border: 2px solid var(--err-text);
  background: var(--err-bg);
  color: var(--err-text);
}

.filter-error-summary:focus-visible,
.filter-error-summary:focus {
  outline: 3px solid var(--err-text);
  outline-offset: 2px;
}

.filter-error-summary h2 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 24px;
}

.filter-error-summary ul {
  margin: 0 0 8px;
  padding-left: 20px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.filter-error-summary p {
  margin: 0 0 12px;
  color: var(--text);
}

.filter-error-summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-error-summary .btn[hidden] {
  display: none;
}

@media (max-width: 767px) {
  .empty-actions .btn,
  .filter-error-summary__actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Customer account (C06) ---------- */

input[type="email"],
input[type="password"],
input[type="tel"],
textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--control-line);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
  min-height: 96px;
}

.account-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.account-link:hover {
  background: var(--soft);
  color: var(--navy);
}

.account-link .ui-icon {
  width: 22px;
  height: 22px;
}

.break-anywhere {
  overflow-wrap: anywhere;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.btn-danger {
  background: var(--err-text);
  color: #fff;
}

.btn-danger:hover {
  background: #991b1b;
  color: #fff;
}

.btn-danger-outline {
  background: var(--card);
  color: var(--err-text);
  border-color: var(--err-text);
}

.btn-danger-outline:hover {
  background: var(--err-bg);
}

.form-error-summary {
  margin: 0 0 20px;
  padding: 16px;
  border: 2px solid var(--err-text);
  border-radius: var(--radius);
  background: var(--err-bg);
  color: var(--text);
}

.form-error-summary h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 24px;
}

.form-error-summary ul {
  margin: 0;
  padding-left: 20px;
}

.form-error-summary a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--err-text);
  font-weight: 600;
}

.status-panel {
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.status-panel > * + * {
  margin-top: 8px;
}

.status-panel h2 {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.status-panel--warning {
  border-color: #d97706;
  background: var(--warn-bg);
}

.status-line--ok {
  color: var(--ok-text);
  font-weight: 600;
  margin: 0 0 20px;
}

.password-field {
  position: relative;
}

.password-field input {
  min-height: 48px;
  padding-right: 88px;
}

.password-toggle {
  position: absolute;
  top: 2px;
  right: 2px;
  min-height: 44px;
  min-width: 72px;
  padding: 0 12px;
  border: none;
  border-radius: 6px;
  background: none;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.password-toggle:hover {
  background: var(--soft);
}

.password-toggle[hidden] {
  display: none;
}

/* Sign-in surfaces */

.auth-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.auth-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.auth-header__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  margin: 48px auto;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.auth-card--wide {
  max-width: 720px;
}

.auth-card h1 {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 36px;
}

.auth-lead {
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 16px;
}

.auth-form .btn {
  margin-top: 8px;
}

.auth-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.auth-links {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.auth-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.auth-footer {
  padding: 24px 0 32px;
}

/* Account area */

.account-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-block: 32px 48px;
}

.account-nav__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.account-nav__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.account-nav__list a:hover {
  background: var(--soft);
}

.account-nav__list a[aria-current="page"] {
  background: #e8f0fd;
  color: var(--primary);
  box-shadow: inset 3px 0 0 var(--primary);
}

.account-nav__mobile {
  display: none;
}

.account-content {
  min-width: 0;
}

.account-content .page-head h1 {
  margin: 0;
}

.page-head--actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.account-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 96px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
}

.account-card:hover {
  border-color: var(--primary);
}

.account-card strong {
  color: var(--primary);
}

.account-card span {
  color: var(--muted);
}

.account-form fieldset {
  border: none;
  margin: 0 0 16px;
  padding: 0;
}

.account-form legend {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.account-form {
  max-width: 640px;
}

.card.account-form,
.account-section,
.confirm-card {
  padding: 24px;
}

.account-section {
  margin-bottom: 24px;
}

.account-section h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 28px;
}

.account-section > p {
  margin: 0 0 16px;
}

.readonly-value {
  margin: 0;
  font-weight: 600;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 16px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.form-actions form {
  margin: 0;
}

.address-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.card.address {
  padding: 20px;
}

.address p {
  margin: 0 0 4px;
}

.address__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.address__head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  overflow-wrap: anywhere;
}

.address__recipient {
  font-weight: 600;
}

.address__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.address__actions form {
  margin: 0;
}

.confirm-card {
  max-width: 640px;
}

.confirm-card h1 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 32px;
}

.confirm-card .address {
  margin: 16px 0;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.session-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.session {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.session p {
  margin: 0;
}

.session form {
  margin: 0;
}

.session__device {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1023px) {
  .account-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: 20px 40px;
  }

  .account-nav__desktop {
    display: none;
  }

  .account-nav__mobile {
    display: block;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .account-nav__mobile summary {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 48px;
    padding: 0 16px;
    cursor: pointer;
  }

  .account-nav__mobile[open] summary {
    border-bottom: 1px solid var(--line);
  }

  .account-nav__mobile .account-nav__list {
    padding: 8px;
    margin: 0;
  }

  .account-nav__mobile .account-nav__logout {
    padding: 0 8px 8px;
  }
}

.account-nav__portals {
  margin: 12px 0;
}

.account-nav__portal-list {
  display: grid;
  gap: 8px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}

.logo {
  white-space: nowrap;
}

.logo-mark {
  flex: none;
}

@media (max-width: 767px) {
  .account-link {
    justify-content: center;
    min-width: 48px;
    padding: 0 10px;
  }

  .account-link__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .auth-card {
    margin: 16px auto 32px;
    padding: 20px 16px;
  }

  .auth-card h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .card.account-form,
  .account-section,
  .confirm-card {
    padding: 16px;
  }

  .form-actions .btn,
  .form-actions form,
  .form-actions form .btn {
    width: 100%;
  }

  .address-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .session form,
  .session form .btn {
    width: 100%;
  }
}

/* Below 420 px logo, account and cart no longer fit side by side at full size. */
@media (max-width: 419px) {
  .logo {
    gap: 8px;
    font-size: 22px;
  }

  .header-actions {
    gap: 8px;
  }

  .cart-link {
    gap: 8px;
    padding: 0 10px;
  }

  .cart-link__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* C05 checkout (LOCAL-CHECKOUT-v05) */

.checkout {
  padding-block: 32px 48px;
}

.checkout .page-head h1 {
  margin: 0;
}

.checkout-steps ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.checkout-steps__item,
.checkout-steps__item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--muted);
  font-weight: 600;
}

.checkout-steps__item a {
  color: var(--primary);
}

.checkout-steps__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--control-line);
  border-radius: 50%;
  font-size: 14px;
}

.checkout-steps__item.is-current {
  color: var(--text);
}

.checkout-steps__item.is-current .checkout-steps__number {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.checkout-steps__item.is-done .checkout-steps__number {
  border-color: var(--ok-text);
  color: var(--ok-text);
}

.checkout-mini-total {
  display: none;
  margin: 0 0 16px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 32px;
  align-items: start;
}

.checkout-main {
  min-width: 0;
}

.checkout-panel {
  padding: 24px;
  margin-bottom: 24px;
}

.checkout-panel > h2 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 28px;
}

.checkout-panel .status-panel h3,
.checkout-panel .status-panel h2 {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.checkout-subhead {
  margin: 24px 0 8px;
  font-size: 16px;
  line-height: 24px;
}

.checkout-summary {
  position: sticky;
  top: 16px;
  padding: 24px;
}

.checkout-summary h2 {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
}

.checkout-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-lines li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-lines--compact li {
  padding: 8px 0;
  font-size: 14px;
}

.checkout-lines li.is-problem {
  border-left: 3px solid var(--err-text);
  padding-left: 8px;
}

.checkout-lines__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.checkout-lines--compact .checkout-lines__name {
  display: block;
}

.checkout-lines__amount {
  flex: none;
  font-weight: 600;
  white-space: nowrap;
}

.choice-list {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  border: none;
  min-width: 0;
}

.choice-list legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
}

.choice-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.choice-card:has(input:checked) {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.choice-card input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--primary);
}

.choice-card label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
  font-weight: 400;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.choice-card label p {
  margin: 0;
}

.choice-card__amount {
  font-weight: 600;
}

.billing-choice {
  margin-top: 12px;
}

/* NWME-060b: only the chosen invoice type's fieldset is shown; works from the checked radio without script. */
.invoice-type:has(input[data-choice="sahis"]:checked) [data-choice-panel="kurum"],
.invoice-type:has(input[data-choice="kurum"]:checked) [data-choice-panel="sahis"],
[data-choice-panel][hidden] {
  display: none;
}

.choice-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0 0 16px;
  padding: 0;
  border: none;
  min-width: 0;
}

.choice-inline legend {
  flex-basis: 100%;
  margin-bottom: 8px;
  padding: 0;
  font-weight: 600;
}

.choice-inline .check {
  min-height: 44px;
  align-items: center;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}

.review-grid p {
  margin: 0 0 4px;
}

.review-breakdown {
  display: none;
}

.place-form {
  margin-top: 24px;
}

.change-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.change-table th,
.change-table td {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

.change-table tbody th {
  overflow-wrap: anywhere;
}

.legal-consents {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.legal-consents legend {
  padding: 0;
  font-weight: 600;
}

.legal-consent {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.legal-consent.has-error {
  border-color: var(--err-text);
  background: var(--err-bg);
}

.legal-consent input {
  width: 20px;
  height: 20px;
  margin: 12px 0 0;
  accent-color: var(--primary);
}

.legal-consent label {
  display: flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.legal-consent > p {
  grid-column: 2;
  margin: 0;
  overflow-wrap: anywhere;
}

.legal-consent a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.legal-document {
  max-width: 72ch;
}

.legal-document__meta {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.legal-document__body p {
  margin: 0 0 16px;
  overflow-wrap: break-word;
}

.payment-ref {
  overflow-wrap: anywhere;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

.status-panel--success {
  border-color: var(--ok-text);
  background: var(--ok-bg);
}

.status-line {
  margin: 0 0 16px;
}

.result-page {
  max-width: 880px;
  padding-block: 32px 48px;
}

.result-page .page-head h1 {
  margin: 0;
  overflow-wrap: anywhere;
}

.result-actions {
  margin-bottom: 24px;
}

.refresh-form,
.retry-form {
  margin: 0 0 16px;
}

.refresh-form p {
  margin: 8px 0 0;
}

.payment-frame {
  padding: 24px;
  margin-bottom: 24px;
}

.payment-frame h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 26px;
}

.payment-frame__iframe {
  display: block;
  width: 100%;
  min-height: 640px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.frame-return {
  max-width: 480px;
  margin: 32px auto;
  padding: 0 16px;
  text-align: center;
}

.frame-return h1 {
  font-size: 22px;
  line-height: 30px;
}

/* C06/C07 orders (LOCAL-ORDERS-v05) */

.order-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 16px;
  align-items: end;
  padding: 20px;
  margin-bottom: 24px;
}

.order-filters .form-actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

.order-filters input[type="date"] {
  min-height: 44px;
}

.order-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-card {
  padding: 20px;
}

.order-card p {
  margin: 0 0 8px;
}

.order-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 8px;
}

.order-card__ref {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
}

.order-card__total {
  font-weight: 700;
}

.order-card__status {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 4px 12px;
  margin: 0 0 16px;
}

.order-card__status dt {
  color: var(--muted);
}

.order-card__status dd {
  margin: 0;
}

.order-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.order-overview .card {
  padding: 16px;
}

.order-overview h2 {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.order-overview p {
  margin: 0;
  font-weight: 600;
}

.order-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.order-detail__main {
  min-width: 0;
}

.order-detail__aside {
  padding: 24px;
}

.order-detail__aside h2 {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
}

.order-lines {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.order-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.order-line p {
  margin: 0 0 4px;
}

.order-line__media .product-photo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.order-line__text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.order-line__amount {
  font-weight: 600;
  white-space: nowrap;
}

.attempts {
  margin-top: 16px;
}

.attempts summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  font-weight: 600;
}

.attempts ol {
  margin: 8px 0 0;
  padding-left: 20px;
}

.attempts li {
  margin-bottom: 8px;
}

@media (max-width: 1023px) {
  .checkout {
    padding-block: 20px 40px;
  }

  .checkout-layout,
  .order-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .checkout-mini-total {
    display: block;
  }

  .checkout-summary {
    position: static;
  }

  .checkout[data-step="kontrol"] .checkout-summary {
    display: none;
  }

  .checkout[data-step="kontrol"] .review-breakdown {
    display: block;
  }

  .order-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .checkout-panel,
  .checkout-summary,
  .payment-frame,
  .order-detail__aside {
    padding: 16px;
  }

  .review-grid,
  .order-filters,
  .order-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-steps ol {
    gap: 4px 16px;
  }

  .change-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .change-table tr,
  .change-table tbody th,
  .change-table td {
    display: block;
  }

  .change-table tr {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }

  .change-table tbody th,
  .change-table td {
    padding: 2px 0;
    border-bottom: none;
  }

  .change-table td::before {
    content: attr(data-label) ": ";
    color: var(--muted);
  }

  .order-line {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .order-line__media .product-photo {
    width: 48px;
    height: 48px;
  }

  .order-line__amount {
    grid-column: 2;
  }

  .payment-frame__iframe {
    min-height: 560px;
  }

  .result-page {
    padding-block: 20px 40px;
  }
}

/* ---------- NWME-047 · v0.6 atlas katmanı (lacivert / kobalt / beyaz) ---------- */
/* VISUAL-ATLAS-v06 pano 01–02 yalnız görsel yöndür; metin, tutar, stok ve durumlar uygulamadan gelir. */

.surface-store {
  --primary: var(--cobalt);
  --primary-hover: var(--cobalt-hover);
  --page: var(--store-page);
}

/* Header: navy bar, white search, cobalt action (store, sign-in and checkout shells). */

.store-header,
.auth-header {
  background: var(--navy);
  border-bottom: 0;
  box-shadow: none;
  color: #fff;
}

.store-header :focus-visible,
.auth-header :focus-visible {
  outline-color: #fff;
}

.store-header .logo,
.store-header .logo:hover,
.auth-header .logo,
.auth-header .logo:hover {
  color: #fff;
}

.store-header .logo-mark,
.auth-header .logo-mark {
  background: #fff;
  color: var(--navy);
}

.store-header__inner {
  min-height: 76px;
}

.store-header .search input {
  border-color: #fff;
  background: #fff;
}

.store-header .search input:hover {
  border-color: #bfdbfe;
}

.store-header .account-link,
.store-header .account-link:hover {
  color: #fff;
}

.store-header .account-link:hover,
.store-header .cart-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.store-header .cart-link {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.store-header .cart-link:hover {
  border-color: #fff;
  color: #fff;
}

.store-header .badge {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.auth-header__back,
.auth-header__back:hover {
  color: #fff;
}

/* Category navigation: second navy row, real categories only. */

.category-nav {
  background: var(--navy-2);
  border-top: 1px solid var(--navy-line);
}

.category-nav a {
  color: #dbe5f3;
}

.category-nav a:hover,
.category-nav a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--cobalt-on-navy);
}

.category-nav a:focus-visible {
  outline-color: #fff;
  outline-offset: -3px;
}

/* Surfaces */

.home-hero {
  background: linear-gradient(120deg, var(--navy) 0%, #0f2a55 100%);
}

.benefit-list,
.surface-store .card,
.category-card,
.auth-card,
.account-card,
.buy-box,
.table-card,
.filter-panel,
.cart-summary,
.result-card {
  border-color: var(--store-line);
}

.auth-card,
.account-card,
.category-card {
  box-shadow: var(--shadow-sm);
}

.category-card:hover,
.account-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.benefit__icon,
.category-card .icon {
  color: var(--primary);
}

.benefit__icon {
  background: var(--cobalt-soft);
}

.list-head h1,
.page-head h1,
.section-head h2,
.buy-box h1,
.auth-card h1,
.confirm-card h1,
.result-card h1 {
  color: var(--navy);
}

/* Product card: one link covers media, title, price and "Ürünü incele" (E40-T2). */

.product-card {
  gap: 0;
  padding: 0;
  border-color: var(--store-line);
}

.product-card:hover {
  border-color: #a9c1ee;
}

.product-card:focus-within {
  border-color: var(--primary);
}

.product-card__link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
  padding: 16px;
  border-radius: inherit;
  color: var(--text);
  text-decoration: none;
}

.product-card__link:hover {
  color: var(--text);
}

.product-card__link:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.product-card__meta,
.product-card .sku {
  display: block;
}

.product-card__title {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  color: var(--navy);
  font-size: 17px;
  line-height: 24px;
}

.product-card__link:hover .product-card__title {
  text-decoration: underline;
}

.product-card__foot {
  border-top-color: var(--store-line);
}

.product-card .price__value {
  font-size: 22px;
  line-height: 30px;
}

.product-card__action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--card);
  color: var(--primary);
  font-weight: 600;
  text-align: center;
}

.product-card__link:hover .product-card__action,
.product-card__link:focus-visible .product-card__action {
  background: var(--primary);
  color: #fff;
}

/* C03 product detail */

.gallery__stage {
  border: 1px solid var(--store-line);
}

.gallery__thumb {
  border-color: var(--store-line);
  background: var(--nv-photo-stage);
}

.gallery__thumb:hover {
  border-color: var(--primary);
}

.buy-box {
  border-top: 4px solid var(--primary);
}

.info-block--specs .spec-list {
  overflow: hidden;
  border: 1px solid var(--store-line);
  border-radius: 12px;
  background: var(--card);
}

.info-block--specs .spec-list dt,
.info-block--specs .spec-list dd {
  padding-inline: 16px;
  border-bottom-color: var(--store-line);
}

.info-block--specs .spec-list dt:nth-of-type(odd),
.info-block--specs .spec-list dt:nth-of-type(odd) + dd {
  background: var(--store-zebra);
}

.info-block--specs .spec-list dt:last-of-type,
.info-block--specs .spec-list dd:last-of-type {
  border-bottom: 0;
}

.info-blocks,
.info-side .info-block + .info-block {
  border-top-color: var(--store-line);
}

/* C04 cart and C07 order tables */

.table-card .data-table thead th {
  background: var(--store-zebra);
  color: var(--navy);
}

.surface-store .cart-summary,
.surface-store .checkout-summary,
.surface-store .order-detail__aside {
  border-top: 4px solid var(--navy);
}

.summary dt.total,
.summary dd.total {
  color: var(--navy);
}

/* C05 checkout steps */

.checkout-steps ol {
  padding: 8px 16px;
  border: 1px solid var(--store-line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.checkout-steps__number {
  width: 32px;
  height: 32px;
  font-weight: 700;
}

.checkout-steps__item.is-done .checkout-steps__number {
  border-color: var(--primary);
  background: var(--cobalt-soft);
  color: var(--primary);
}

.checkout-steps__item.is-current {
  color: var(--navy);
}

@media (min-width: 768px) {
  .checkout-steps__item + .checkout-steps__item::before {
    content: "";
    width: 32px;
    height: 2px;
    margin-right: 8px;
    background: var(--store-line);
  }
}

/* C06 account navigation */

.account-nav__desktop {
  padding: 8px;
  border: 1px solid var(--store-line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.account-nav__list a[aria-current="page"] {
  background: var(--cobalt-soft);
}

.account-nav__mobile {
  border-color: var(--store-line);
}

/* Stand-alone commands keep a 44 px target (E40-T3). */

.command-link {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  font-weight: 600;
}

/* Footer (E40-T1: "Sepet" is a four-letter link that measured 43 px wide). */

.store-footer__links a {
  min-width: 44px;
}

.store-footer :focus-visible {
  outline-color: #fff;
}

/* ---------- NWME-047 · v07 atlas-01 referans katmanı ---------- */
/* STOREFRONT-REFERENCE-CORRECTION-v07 ölçüleri; metin, fiyat, stok ve modeller uygulama verisinden gelir. */

.logo {
  gap: 0;
}

.logo__word {
  font-size: 26px;
  line-height: 32px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.logo__v {
  color: var(--cobalt-on-navy);
}

/* Header: 68 px main row, 46 px category row. */

.store-header {
  position: relative;
  z-index: 20;
}

.store-header__inner {
  grid-template-columns: auto minmax(320px, 640px) auto;
  gap: 32px;
  min-height: 64px;
}

.store-header .search input,
.store-header .search .btn {
  min-height: 44px;
}

.store-header .search__icon {
  top: 22px;
}

.store-header .cart-link,
.store-header .account-link {
  min-height: 44px;
}

.site-menu {
  display: none;
}

.category-nav__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
}

.category-nav .category-nav__links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 4px;
  min-width: 0;
  margin: 0 0 0 8px;
  padding: 0 0 0 12px;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.category-nav {
  border-top: 0;
}

.category-nav a,
.category-nav .nav-menu__toggle {
  min-height: 44px;
}

.nav-menu {
  position: relative;
  flex: none;
}

.nav-menu__toggle,
.category-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.nav-menu__toggle::-webkit-details-marker,
.site-menu__toggle::-webkit-details-marker {
  display: none;
}

.nav-menu__toggle:hover,
.nav-menu[open] > .nav-menu__toggle {
  box-shadow: inset 0 -3px 0 var(--cobalt-on-navy);
}

.nav-menu__toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
}

.nav-menu__toggle .ui-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.15s ease;
}

.nav-menu[open] > .nav-menu__toggle .ui-icon {
  transform: rotate(180deg);
}

.nav-menu__panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 30;
  min-width: 280px;
  max-height: min(70vh, 480px);
  padding: 8px;
  overflow-y: auto;
  border: 1px solid var(--store-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.18);
}

.category-nav .nav-menu__panel ul,
.site-menu__panel ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-nav .nav-menu__panel a,
.site-menu__panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  box-shadow: none;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: normal;
}

.category-nav .nav-menu__panel a:hover,
.category-nav .nav-menu__panel a[aria-current="page"],
.site-menu__panel a:hover,
.site-menu__panel a[aria-current="page"] {
  background: var(--cobalt-soft);
  box-shadow: none;
  color: var(--navy);
}

.store-header .nav-menu__panel :focus-visible,
.store-header .site-menu__panel :focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
}

.nav-menu__count {
  flex: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

/* NWME-071d: subcategories nested under their top category. */
.category-nav .nav-menu__panel .nav-menu__sub a,
.site-menu__panel .nav-menu__sub a {
  padding-left: 28px;
  font-size: 14px;
  font-weight: 500;
}

.nav-menu__group {
  break-inside: avoid;
}

@media (min-width: 1024px) {
  .nav-menu--mega .nav-menu__panel {
    width: min(760px, calc(100vw - 48px));
    max-height: min(75vh, 640px);
  }

  .category-nav .nav-menu--mega .nav-menu__panel > ul {
    columns: 2;
    column-gap: 8px;
  }
}

/* Hero: one navy composition, 38/62, official product image without a card. */

.home-hero__grid {
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  align-items: center;
  min-height: 340px;
}

.home-hero__text {
  gap: 12px;
  padding: 24px 32px 24px 0;
}

.home-hero h1 {
  max-width: 14ch;
  font-size: 42px;
  line-height: 48px;
}

.home-hero__lead {
  max-width: 40ch;
  font-size: 16px;
  line-height: 24px;
}

.home-hero__actions {
  align-items: center;
  gap: 8px 20px;
  padding-top: 4px;
}

.home-hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #dbe5f3;
  font-weight: 600;
  text-decoration: none;
}

.home-hero__secondary:hover {
  color: #fff;
  text-decoration: underline;
}

.home-hero__secondary .ui-icon {
  width: 18px;
  height: 18px;
}

.home-hero__stage {
  gap: 0;
  margin: 0;
  padding: 12px 0 4px;
  border-radius: 0;
  background: radial-gradient(55% 50% at 50% 48%, rgba(96, 165, 250, 0.22) 0%, rgba(96, 165, 250, 0) 72%);
  color: #cbd5e1;
}

.home-hero__photo {
  width: auto;
  max-width: 100%;
  max-height: 276px;
  object-fit: contain;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.35));
}

.home-hero__stage figcaption a {
  color: #fff;
}

.home-hero__stage :focus-visible {
  outline-color: #fff;
}

/* Home sections */

.home-section {
  margin-top: 16px;
}

.home-section .section-head {
  align-items: center;
  margin-bottom: 6px;
}

.home-section .section-head h2 {
  font-size: 20px;
  line-height: 26px;
}

.home-section .empty-actions {
  justify-content: flex-start;
  margin-top: 16px;
}

.section-head .section-link {
  flex: none;
  white-space: nowrap;
}

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

.product-grid--catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Product card: one detail link, optional sibling add-to-cart form. */

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.product-card__link {
  gap: 2px;
  padding: 8px 12px 6px;
}

.product-card__media {
  height: 150px;
  aspect-ratio: auto;
  margin-bottom: 4px;
  padding: 10px;
  border-radius: 8px;
}

.product-card__brand {
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card__title {
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}

.product-card .sku {
  font-size: 12px;
  line-height: 16px;
}

.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin: 2px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
  list-style: none;
}

.product-card__foot {
  display: grid;
  gap: 4px;
  margin-top: 0;
  padding: 6px 12px 8px;
  border-top: 1px solid var(--store-line);
}

.product-card__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-card .price {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.product-card .price__value {
  font-size: 19px;
  line-height: 24px;
}

.product-card .price__note {
  font-size: 12px;
  line-height: 16px;
}

.product-card__add {
  margin: 0;
}

.product-card__add .btn {
  min-height: 44px;
  padding: 0 14px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .product-card__foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 8px;
  }

  .product-card__buy {
    display: contents;
  }

  .product-card__foot > .stock {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .product-card__foot .price {
    grid-column: 1;
  }

  .product-card__add {
    grid-column: 2;
  }
}

.product-card__foot > .stock {
  padding: 2px 8px;
  font-size: 12px;
  line-height: 18px;
}

/* Below featured: category discovery and brand entries. */

.home-discovery {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.discovery-panel,
.brand-panel {
  padding: 16px 20px;
  border: 1px solid var(--store-line);
  border-radius: 12px;
  background: #fff;
}

.discovery-panel .section-head {
  margin-bottom: 10px;
}

.discovery-panel h2,
.brand-panel h2 {
  font-size: 18px;
  line-height: 26px;
}

.discovery-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.discovery-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid var(--store-line);
  border-radius: 10px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.discovery-item:hover {
  border-color: var(--cobalt);
  background: var(--cobalt-soft);
  color: var(--navy);
}

.discovery-item .icon {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--cobalt);
}

.discovery-item__count {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.brand-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-panel__name {
  color: var(--navy);
  font-size: 22px;
  line-height: 30px;
  letter-spacing: 0.02em;
}

.brand-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.brand-panel .section-link {
  margin-top: auto;
}

/* C02 catalogue: one title/count/sort band, 232 px filter, 3 columns. */

.list-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 8px;
  padding: 12px 20px;
  border: 1px solid var(--store-line);
  border-radius: 12px;
  background: #fff;
}

.list-band__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-width: 0;
}

.list-band h1 {
  color: var(--navy);
  font-size: 24px;
  line-height: 32px;
}

.list-band .list-count {
  margin: 0;
  color: var(--muted);
}

.catalog-intro {
  max-width: 72ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.list-band .sort-form {
  align-items: center;
}

.list-results .active-filters {
  margin: 0 0 12px;
}

/* C03 product: info column between gallery and buy box. */

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.detail-info h1 {
  color: var(--navy);
  font-size: 26px;
  line-height: 34px;
}

.key-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.key-specs div {
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--store-line);
  border-radius: 8px;
  background: #fff;
}

.key-specs dt {
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.key-specs dd {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.detail-info .buy-box__summary {
  padding-top: 12px;
}

.buy-box {
  align-self: start;
}

.buy-box > .price-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.buy-box .qty-row {
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: end;
}

.buy-box .qty-row .btn {
  padding-inline: 14px;
  white-space: nowrap;
}

/*
 * Tab bar and sections (.detail-body) share the grid with the buy box: from
 * 768 px the buy box column runs down beside them, so a buy box taller than
 * the gallery and info never pushes the sections down. The last row is 1fr:
 * a taller buy box only lengthens that row, never the gap above it.
 */
.detail-body {
  grid-column: 1 / -1;
  min-width: 0;
}

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

  .detail > .detail-info {
    grid-area: info;
  }

  .detail > .buy-box {
    grid-area: buy;
  }

  .detail > .detail-body {
    grid-area: body;
  }
}

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

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

/* C04 cart: wide rows and a 330 px summary. */

.cart-item__media {
  width: 88px;
  height: 88px;
}

.table-card .inline-form input[type="text"],
.table-card .inline-form .btn {
  min-height: 44px;
}

@media (min-width: 1024px) {
  .list-layout {
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 24px;
    margin-top: 16px;
  }
}

@media (min-width: 1200px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
  }

  .cart-summary {
    position: sticky;
    top: 16px;
  }
}

/* v07 responsive */

@media (max-width: 1279px) {
  .home-hero h1 {
    font-size: 36px;
    line-height: 42px;
  }

  .home-hero__text {
    gap: 10px;
    padding-block: 20px;
  }

  .home-hero__lead {
    font-size: 15px;
    line-height: 22px;
  }

  .product-grid--featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-discovery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discovery-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1023px) {
  .store-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
  }

  .home-hero__grid {
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    min-height: 340px;
  }

  .home-hero__text {
    padding: 28px 20px 28px 0;
  }

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

  .home-hero__stage {
    margin: 0;
  }

  .product-grid--featured,
  .product-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .store-header__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "logo actions menu"
      "search search search";
    gap: 0 8px;
  }

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

  .logo__word {
    font-size: 24px;
  }

  .site-menu {
    display: block;
    grid-area: menu;
  }

  .site-menu__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    list-style: none;
  }

  .site-menu[open] > .site-menu__toggle {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
  }

  .site-menu__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .site-menu__panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 40;
    max-height: calc(100vh - 120px);
    padding: 12px 16px 16px;
    overflow-y: auto;
    border-top: 1px solid var(--store-line);
    background: #fff;
    box-shadow: 0 16px 40px rgba(11, 31, 58, 0.22);
    color: var(--navy);
  }

  .site-menu__title {
    margin: 8px 0 4px;
    padding: 0 12px;
    color: var(--muted);
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .category-nav {
    display: none;
  }

  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .home-hero__text {
    gap: 8px;
    padding: 20px 0 0;
  }

  .home-hero__text .eyebrow {
    font-size: 12px;
    line-height: 16px;
  }

  .home-hero h1 {
    max-width: none;
    font-size: 28px;
    line-height: 34px;
  }

  .home-hero__lead {
    font-size: 15px;
    line-height: 22px;
  }

  .home-hero__actions {
    gap: 4px 16px;
    padding-top: 2px;
  }

  .home-hero__actions .btn {
    flex: 0 1 auto;
    min-height: 44px;
    padding: 0 16px;
    font-size: 15px;
  }

  .home-hero__secondary {
    font-size: 14px;
  }

  .home-hero__stage {
    padding: 0 0 4px;
  }

  .home-hero__photo {
    max-height: 96px;
  }

  .home-hero__stage figcaption a {
    font-size: 13px;
  }

  .home-section {
    margin-top: 24px;
  }

  .home-discovery {
    grid-template-columns: minmax(0, 1fr);
  }

  .list-band {
    padding: 12px 16px;
  }

  .list-band .sort-form {
    display: none;
  }

  .list-band .mobile-tools {
    display: flex;
    width: 100%;
  }

  .detail-info h1 {
    font-size: 22px;
    line-height: 30px;
  }

  .cart-item__media {
    width: 80px;
    height: 80px;
  }
}

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

  .home-hero__text .eyebrow {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .home-hero__lead {
    font-size: 14px;
    line-height: 20px;
  }

  .home-hero__photo {
    max-height: 76px;
  }
}


/* Astra reference finish — Caner's explicit storefront coding delegation. */
.product-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 60px;
  /* Exactly three lines: a taller box shows a slice of the clamped fourth line. */
  min-height: 3lh;
  margin: 0;
}
.product-card__specs {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 36px;
}
.product-card__foot { margin-top: auto; }
.product-card__link { flex: 1; }
.product-card__media { background: linear-gradient(155deg, #fff 45%, #f0f6fc); }
.product-card { border-color: #dbe5f0; box-shadow: 0 3px 14px rgba(15, 43, 76, .035); }
.product-card:hover { border-color: #8bb8f5; box-shadow: 0 8px 24px rgba(15, 43, 76, .09); }
.home-hero { background: radial-gradient(ellipse at 70% 60%, #284f72 0%, #122c47 38%, #081b30 80%); }
.home-hero__stage figcaption { max-width: 48ch; justify-self: end; text-align: right; }
.home-hero__stage figcaption a { line-height: 18px; font-size: 12px; }
@media (min-width: 1024px) {
  .home-hero__grid { min-height: 340px; }
  .home-hero__text { padding-block: 20px; }
  .product-grid--featured .product-card__media { height: 150px; }
  .product-grid--featured .product-card__link { padding-top: 4px; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .product-card__foot { grid-template-columns: minmax(0, 1fr); }
  .product-card__foot .price, .product-card__add { grid-column: 1; }
  .product-card__add .btn { width: 100%; }
}
@media (max-width: 767px) {
  .product-card__media { height: 112px; padding: 6px; }
  .product-card__title { font-size: 14px; line-height: 20px; }
  .product-card__link { padding-inline: 10px; }
  .product-card__foot { padding: 8px 10px 10px; }
  .product-card__buy { display: grid; width: 100%; gap: 8px; }
  .product-card__add, .product-card__add .btn { width: 100%; }
  .product-card .price__value { font-size: 18px; }
  .home-hero__photo { max-height: 140px; }
  .home-hero__stage { padding-block: 12px; }
}

.category-nav__links a { min-width: 44px; justify-content: center; }
@media (min-width: 1280px) {
  .home-hero__grid { min-height: 300px; }
  .home-hero__text { gap: 10px; padding-block: 18px; }
  .home-hero h1 { font-size: 40px; line-height: 44px; }
  .home-hero__lead { max-width: 44ch; }
  .home-hero__photo { max-height: 236px; }
  .product-grid--featured .product-card__media { height: 124px; }
  .product-grid--featured .product-card__specs { display: flex; min-height: 18px; gap: 2px 12px; }
}

/* ---------- Search suggestions (SMART-SEARCH-v01) and live catalogue filters ---------- */

.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 35;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  border: 1px solid var(--store-line);
  border-radius: 10px;
  background: var(--card);
  box-shadow: var(--shadow-md);
  color: var(--text);
  text-align: left;
}

.search-suggest[hidden] {
  display: none;
}

.search-suggest__list {
  margin: 0;
  padding: 6px;
  list-style: none;
}

.search-suggest__option {
  border-radius: 8px;
}

.search-suggest__link {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}

.search-suggest__option.is-active .search-suggest__link,
.search-suggest__link:hover {
  background: var(--cobalt-soft);
}

.search-suggest__option.is-active .search-suggest__link {
  outline: 2px solid var(--cobalt);
  outline-offset: -2px;
}

.search-suggest__media {
  display: flex;
  width: 56px;
  height: 40px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--stage);
}

.search-suggest__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.search-suggest__text {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 2px;
}

.search-suggest__name {
  overflow: hidden;
  font-weight: 600;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggest__meta,
.search-suggest__note,
.search-suggest__kind,
.search-suggest__query {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.search-suggest__price {
  display: grid;
  flex: none;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.search-suggest__note {
  font-weight: 400;
}

.search-suggest__option--facet .search-suggest__kind {
  min-width: 64px;
}

.search-suggest__option--all {
  margin-top: 4px;
  border-top: 1px solid var(--store-line);
  border-radius: 0 0 8px 8px;
}

.search-suggest__all {
  color: var(--cobalt);
  font-weight: 600;
}

.search-suggest__query {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggest__state {
  margin: 0;
  padding: 10px 16px 12px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 767px) {
  .search-suggest {
    max-height: min(60vh, 440px);
  }

  .search-suggest__media {
    width: 44px;
    height: 32px;
  }

  .search-suggest__link {
    gap: 8px;
    padding-inline: 8px;
  }

  .search-suggest__option--product .search-suggest__link {
    flex-wrap: wrap;
  }

  .search-suggest__option--product .search-suggest__text {
    flex-basis: calc(100% - 52px);
  }

  .search-suggest__option--product .search-suggest__price {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 0 6px;
    padding-left: 52px;
    align-items: baseline;
    text-align: left;
    white-space: normal;
  }
}

.js-live-filter .filter-panel [data-live-filter-submit] {
  display: none;
}

.list-results[aria-busy="true"] {
  opacity: 0.6;
  transition: opacity 120ms ease-in;
}

/* ---------- C03 product detail v2 (NWME-026p) ---------- */

.product-page [hidden],
.quote-page [hidden] {
  display: none !important;
}

.gallery__frame {
  position: relative;
}

.gallery__stage {
  position: relative;
  touch-action: pan-y;
}

.gallery__photo.is-expandable {
  cursor: zoom-in;
}

.gallery__photo,
.gallery-dialog__photo {
  transition: opacity 0.15s ease;
}

.is-loading > .gallery__photo,
.is-loading > .gallery-dialog__photo {
  opacity: 0.35;
}

.gallery__loading {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.gallery__loading[hidden] {
  display: none;
}

.gallery__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: gallery-spin 0.8s linear infinite;
}

@keyframes gallery-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__spinner {
    animation: none;
  }
}

.gallery__stage.is-zooming .gallery__photo {
  cursor: crosshair;
}

.gallery__expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--store-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
}

.gallery__expand:hover {
  border-color: var(--navy);
}

.gallery__zoom {
  position: absolute;
  z-index: 6;
  border: 1px solid var(--store-line);
  border-radius: 16px;
  background-color: var(--nv-photo-stage);
  background-repeat: no-repeat;
  box-shadow: var(--shadow-md);
  pointer-events: none;
}

.gallery__count {
  margin-top: 8px;
  text-align: center;
}

html.has-gallery-dialog {
  overflow: hidden;
}

.gallery-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0b1f3a;
  color: #fff;
}

.gallery-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
}

.gallery-dialog::backdrop {
  background: rgba(2, 6, 23, 0.7);
}

.gallery-dialog__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.gallery-dialog__title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-dialog__count {
  flex: none;
  font-size: 14px;
  color: #cbd5e1;
}

.gallery-dialog__close {
  flex: none;
  min-height: 44px;
}

.gallery-dialog__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 24px 72px;
  overflow: hidden;
  background: var(--nv-photo-stage);
  touch-action: none;
}

.gallery-dialog__photo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--nv-photo-stage);
  border-radius: 12px;
  transform-origin: center;
}

.gallery-dialog__nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.gallery-dialog__nav:hover,
.gallery-dialog__nav:focus-visible {
  background: var(--cobalt);
}

.gallery-dialog :focus-visible {
  outline-color: #fff;
}

.gallery-dialog__nav--prev {
  left: 12px;
}

.gallery-dialog__nav--next {
  right: 12px;
}

.option-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--store-line);
  border-radius: 12px;
  background: #fff;
}

.option-form fieldset {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.option-form legend {
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--navy);
}

.option-form__field {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.option-form select {
  width: 100%;
  min-height: 44px;
}

.option-form[aria-busy="true"] {
  opacity: 0.7;
}

.quote-block__title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--navy);
}

.quote-block p + p {
  margin-top: 4px;
}

.buy-box .quote-link {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 44px;
}

.detail-nav {
  border-bottom: 1px solid var(--store-line);
}

.detail-nav ul {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
}

.detail-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.detail-nav a:hover,
.detail-nav a:focus-visible {
  border-bottom-color: var(--cobalt);
  color: var(--navy);
}

.detail-sections {
  display: grid;
}

.detail-section {
  scroll-margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--store-line);
  border-radius: 12px;
  background: #fff;
}

.detail-section:focus {
  outline: none;
}

.detail-section h2 {
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 28px;
  color: var(--navy);
}

.detail-section h3 {
  margin: 16px 0 8px;
  font-size: 16px;
  line-height: 24px;
  color: var(--navy);
}

.detail-section p {
  color: var(--muted);
}

/* Columns, not grid rows: groups of different length stack without holes; one column below two 320 px columns. */
.spec-groups {
  columns: 2 320px;
  column-gap: 24px;
}

.spec-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 8px;
  align-items: baseline;
  break-inside: avoid;
  padding-bottom: 24px;
}

.spec-group h3 {
  grid-column: 1;
  grid-row: 1;
}

.spec-group .spec-group__count {
  grid-column: 2;
  grid-row: 1;
}

.spec-group table.spec-list,
.spec-group .spec-list,
.spec-group .spec-items {
  grid-column: 1 / -1;
  grid-row: 2;
}

.spec-group:last-child {
  padding-bottom: 0;
}

.spec-group h3 {
  margin-top: 0;
}

/*
 * PDP Teknik özellikler label/value grid: ~40 / 60 shares with a 12ch floor on
 * the value. overflow-wrap:anywhere was letting the value column shrink to a
 * few characters (owner: HPE / ProLiant / … word-per-line). break-word only
 * splits very long tokens; normal soft wraps stay at spaces.
 */
.spec-group .spec-list {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(12ch, 3fr);
  margin: 0;
  border-top: 1px solid var(--store-line);
}

.spec-group .spec-list dt,
.spec-group .spec-list dd {
  margin: 0;
  min-width: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--store-line);
  overflow-wrap: break-word;
  word-break: normal;
}

.spec-group .spec-list dd {
  min-width: 12ch;
}

.spec-group .spec-list dt {
  color: var(--muted);
  background: var(--store-zebra);
}

.spec-group table.spec-list {
  display: table;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.spec-group table.spec-list th,
.spec-group table.spec-list td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--store-line);
  overflow-wrap: break-word;
  word-break: normal;
  text-align: left;
  vertical-align: top;
}

.spec-group table.spec-list th {
  width: 40%;
  min-width: 0;
  color: var(--muted);
  font-weight: 500;
}

.spec-group table.spec-list td {
  width: 60%;
  min-width: 12ch;
}

.spec-group table.spec-list tbody tr:nth-child(even) th,
.spec-group table.spec-list tbody tr:nth-child(even) td {
  background: var(--store-zebra);
}

.spec-items {
  margin: 0;
  padding-left: 20px;
}

.doc-list {
  margin: 0;
  padding-left: 20px;
}

.sticky-buy {
  display: none;
}

@media (max-width: 767px) {
  /* The whole page, footer included, ends above the fixed bar. */
  html:has(.sticky-buy) body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }

  html:has(.sticky-buy) {
    scroll-padding-bottom: 96px;
  }

  .sticky-buy {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--store-line);
    background: #fff;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.1);
  }

  .sticky-buy__price {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.2;
  }

  .sticky-buy__value {
    overflow: hidden;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sticky-buy__note {
    font-size: 12px;
    color: var(--muted);
  }

  .sticky-buy .btn {
    flex: none;
    min-height: 44px;
    padding-inline: 12px;
  }

  .detail-section {
    padding: 16px;
  }

  .spec-group .spec-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .spec-group .spec-list dt {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .spec-group .spec-list dd {
    min-width: 0;
  }

  .spec-group table.spec-list th,
  .spec-group table.spec-list td {
    display: block;
    width: auto;
    min-width: 0;
  }

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

  .spec-group table.spec-list th {
    padding-bottom: 2px;
    border-bottom: 0;
    background: transparent;
  }

  .gallery-dialog__stage {
    padding: 12px;
  }

  .gallery-dialog__nav {
    top: auto;
    bottom: 16px;
    margin-top: 0;
  }
}

@media (max-width: 359px) {
  .sticky-buy .btn[data-sticky-quote] {
    padding-inline: 8px;
    font-size: 14px;
  }
}

/* Quote request */

.quote-layout {
  display: grid;
  gap: 24px;
  margin-top: 16px;
}

.quote-main,
.quote-product,
.quote-closed,
.quote-received {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--store-line);
  border-radius: 12px;
  background: #fff;
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form textarea {
  width: 100%;
}

.quote-privacy {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--store-line);
  border-radius: 8px;
  background: var(--store-zebra);
}

.quote-privacy summary {
  min-height: 44px;
  padding-top: 10px;
  font-weight: 600;
  cursor: pointer;
}

.quote-privacy__body {
  max-height: 320px;
  margin-top: 8px;
  overflow: auto;
}

.quote-privacy__body p + p {
  margin-top: 8px;
}

.quote-product__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--stage);
}

.quote-product__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quote-product h2 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 26px;
}

.quote-product h2 a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}

.quote-received {
  max-width: 640px;
  margin: 24px auto;
}

.quote-received h1 {
  margin-bottom: 12px;
}

.quote-received p + p {
  margin-top: 8px;
}

.quote-page--draft {
  max-width: 1280px;
}

.quote-step {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 26px;
}

.quote-draft-lines {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.quote-draft-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--store-line, var(--nv-line));
  border-radius: 9px;
}

.quote-draft-line__thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--stage, var(--nv-ice));
}

.quote-draft-line__thumb--empty {
  background: var(--stage, var(--nv-ice));
}

.quote-draft-line__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  align-items: flex-end;
}

.quote-draft-qty {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
}

.quote-draft-qty input {
  width: 5rem;
  min-height: 44px;
}

.quote-draft-add {
  margin-top: 8px;
}

.quote-draft-add .btn {
  min-height: 44px;
}

@media (min-width: 1024px) {
  .quote-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }

  .quote-page--draft .quote-layout {
    grid-template-columns: minmax(0, 808px) 448px;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .quote-main,
  .quote-product,
  .quote-closed,
  .quote-received {
    padding: 16px;
  }
}

/* ---------- NWME-026g price display ---------- */

.price-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.price-switch__label {
  font-size: 14px;
  color: var(--muted);
}

.price-switch__options {
  display: inline-flex;
  border: 1px solid var(--control-line);
  border-radius: 8px;
  overflow: hidden;
}

.price-switch__option {
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border: 0;
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.price-switch__option + .price-switch__option {
  border-left: 1px solid var(--control-line);
}

.price-switch__option[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

.price-switch__option:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
}

.price-display-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 12px;
}

.price-display-bar .price-switch {
  margin: 0;
}

.buy-box > .price-switch + .price-block {
  padding-top: 12px;
}

.price--dealer {
  display: grid;
  gap: 2px;
  margin: 0;
}

.price--dealer .price__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
}

.price--dealer dt,
.price-block__kind {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.price--dealer dd {
  margin: 0;
}

.price--dealer .price__list {
  font-size: 14px;
  color: var(--muted);
}

.dealer-price {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--cobalt-soft);
}

.price-change {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--warn-text);
}

.price-change__badge {
  display: inline-block;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--warn-bg);
  border: 1px solid currentColor;
  font-weight: 600;
}

.price-change-panel {
  margin-bottom: 16px;
}

.price-change-panel h2 {
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 4px;
}

.price-change-panel form {
  margin-top: 8px;
}

.quote-cart table {
  width: 100%;
}

/* Task 1476: brand · SKU on its own line under the product link (was run together). */
.cell-main > a + .sku {
  display: block;
  margin-top: 2px;
  font-weight: 400;
}

/* The product name in the quote list is a 44 px target, like the cart line. */
.quote-cart .cell-main > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- NWME-026c comparison, stock notice, recently viewed ---------- */

.compare-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 12px;
}

.compare-control form {
  margin: 0;
}

.stock-notify {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--store-line);
}

.stock-notify .field {
  margin: 8px 0 12px;
}

.stock-notify__title {
  margin: 0 0 4px;
}

.compare-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 16px 0 4px;
}

/* Containing block for the visually hidden labels inside the table; without it they widen the mobile layout viewport. */
.compare-table-wrap {
  position: relative;
  margin-top: 12px;
}

.compare-table {
  min-width: 100%;
}

.compare-table thead th {
  min-width: 180px;
  vertical-align: top;
}

.compare-table thead th a {
  display: block;
  font-weight: 600;
  color: var(--text);
}

.compare-table thead th .sku {
  display: block;
  margin: 4px 0 8px;
  font-weight: 400;
}

.compare-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 140px;
  background: var(--card);
}

.compare-table tbody th {
  font-weight: 600;
  text-align: left;
}

.compare-table tr.is-different > * {
  background: var(--warn-bg);
}

.compare-diff {
  display: inline-block;
  margin-left: 6px;
  padding: 0 6px;
  border: 1px solid var(--warn-text);
  border-radius: 999px;
  color: var(--warn-text);
  font-size: 12px;
  font-weight: 600;
}

.compare-clear {
  margin-top: 16px;
}

.recent-products {
  margin-top: 32px;
}

.related-products {
  margin-top: 32px;
}

.related-products__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.related-products__head h2 {
  margin: 0;
}

.related-products__block + .related-products__block {
  margin-top: 28px;
}

/* ---------- NWME-026e category and brand pages ---------- */

.catalog-page__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 8px;
}

.catalog-page__head h1 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.catalog-description {
  max-width: 72ch;
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.catalog-description > * + * {
  margin-top: 12px;
}

.catalog-description h2 {
  font-size: 20px;
  line-height: 28px;
}

.catalog-description h3 {
  font-size: 17px;
  line-height: 24px;
}

.catalog-description ul,
.catalog-description ol {
  padding-left: 24px;
}

.catalog-children {
  margin-top: 24px;
}

.catalog-children h2 {
  font-size: 17px;
  line-height: 24px;
}

.catalog-children .chip {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.facet-count {
  margin-left: 4px;
  color: var(--muted);
  font-weight: 400;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.catalog-filters {
  padding: 0 20px;
  border-color: var(--store-line, #e2e8f0);
}

.catalog-filters > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  font-weight: 600;
  cursor: pointer;
}

.catalog-filters[open] > summary {
  box-shadow: inset 0 -1px 0 #e2e8f0;
}

.catalog-filters form {
  padding-bottom: 20px;
}

.catalog-filters fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 12px;
  border: 0;
  box-shadow: inset 0 1px 0 #e2e8f0;
}

.catalog-filters fieldset:first-child {
  box-shadow: none;
}

.catalog-filters legend {
  padding-top: 14px;
  margin-bottom: 2px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.catalog-filters .check {
  font-size: 15px;
  overflow-wrap: anywhere;
}

.catalog-filters .field {
  margin-top: 12px;
}

.catalog-filters select {
  width: 100%;
}

.catalog-filters .filter-actions .btn {
  width: 100%;
}

@media (max-width: 1023px) {
  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 16px;
  }
}
