/* HARDVEX — Koleksiyon sayfaları ve menü ek düzenleri */

/* 7 menü öğesi masaüstüne sığsın: orta genişliklerde teklif butonu yalnızca ikon */
@media (min-width: 1061px) and (max-width: 1320px) {
  .nav-actions .quote-cta-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-list a { font-size: .95em; }
}
@media (min-width: 1061px) and (max-width: 1180px) {
  .brand-word { display: none; }
}

/* Ürün kartları */
.kx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.kx-grid-4 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.kx-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e3e0; border-radius: 4px; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.kx-card[hidden] { display: none; }
.kx-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.kx-card:hover, .kx-card:focus-within { border-color: #0d0d0d; box-shadow: 0 10px 28px rgba(0,0,0,.10); transform: translateY(-2px); }
.kx-media { position: relative; aspect-ratio: 4 / 5; background: #ededed; overflow: hidden; }
.kx-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.kx-card:hover .kx-media img { transform: scale(1.03); }
.kx-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; border-top: 3px solid #ffc400; }
.kx-body .p-group { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b6b66; display: flex; justify-content: space-between; gap: 8px; }
.kx-code { font-weight: 600; letter-spacing: .02em; color: #0d0d0d; background: #f3f3f1; padding: 1px 6px; border-radius: 3px; text-transform: none; }
.kx-name { margin: 0; font-size: 1.12rem; line-height: 1.3; font-weight: 800; }
.kx-colors { margin: 0; font-size: .9rem; color: #555; }
.kx-more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; }
.kx-more .ic { width: 18px; height: 18px; transition: transform .2s; }
.kx-card:hover .kx-more .ic { transform: translateX(4px); }
[dir="rtl"] .kx-card:hover .kx-more .ic { transform: scaleX(-1) translateX(4px); }

/* Boş durum */
.kx-empty { text-align: center; max-width: 640px; margin: 0 auto; padding: 56px 24px; border: 2px dashed #d6d6d1; border-radius: 6px; background: #fff; }
.kx-empty p { color: #555; margin: .5em 0 1.6em; }
.kx-empty .btn-row { justify-content: center; }

/* Detay */
.kx-gallery img { object-fit: contain !important; }
.kx-gallery { aspect-ratio: 4 / 5; }
.kx-desc { margin: 1em 0 1.4em; line-height: 1.7; color: #333; }
.kx-spec { margin: 0 0 1.6em; }
.kx-spec th { white-space: nowrap; }

@media (max-width: 640px) {
  .kx-grid, .kx-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .kx-body { padding: 12px; }
  .kx-name { font-size: .98rem; }
  .kx-colors { font-size: .82rem; }
  .kx-body .p-group { flex-direction: column; gap: 4px; font-size: .7rem; }
  .kx-code { align-self: flex-start; }
}
