/* ==========================================================================
   raifkurt.com — Tasarım Sistemi
   Kaynak: obliq-wrapmarket şablonu (yalnızca görsel referans)
   ========================================================================== */

/* 1. Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2. Tasarım Tokenları */
:root {
  /* Renkler */
  --primary: #d54000;
  --primary-dark: #b53600;
  --gold: #c9a227;
  --bg: whitesmoke;
  --surface: #ffffff;
  --text: #000000;
  --text-muted: #626262;
  --text-strong: #3e3d3d;
  --text-soft: #6a6d74;
  --border: #e1dfd7;

  /* Tipografi */
  --font-heading: 'Inter Tight', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Layout */
  --container: 1420px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(3.5rem, 8vw, 7rem);
}

/* 3. Base */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Mobil dokunma iyileştirmeleri */
a,
button,
input,
select,
textarea {
  touch-action: manipulation;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* 4. Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--text);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  background: var(--bg);
}

/* 5. Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  transition: color 0.2s;
}
.main-nav a:hover {
  color: var(--primary);
}
.main-nav a.is-active {
  color: var(--primary);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* 6. Hero */
.hero {
  padding: var(--section-pad) 0;
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero .accent {
  color: var(--primary);
}

.hero-logo {
  height: clamp(80px, 12vw, 160px);
  width: auto;
  display: block;
}

.hero-sub {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

/* 7. Bölümler */
.section {
  padding: var(--section-pad) 0;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 2.5rem;
}

.empty-note {
  color: var(--text-soft);
  font-size: 1.0625rem;
}

/* 8. Kartlar */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.card h3 {
  font-size: 1.375rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.card .card-link {
  margin-top: auto;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
}

/* 9. Görsel Placeholder (sahte görsel YOK) */
.placeholder {
  aspect-ratio: 4 / 3;
  background: #ecebe6;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--text-soft);
  font-size: 0.875rem;
}
.placeholder::after {
  content: "Görsel yakında";
}

/* 10. CTA Bölümü */
.cta {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

/* 11. Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-tag {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 20rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-strong);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-link {
  font-size: 1.25rem;
  opacity: 0.3;
  transition: opacity 0.2s;
  text-decoration: none;
}
.admin-link:hover {
  opacity: 0.8;
}

/* 12. Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--container-pad) 1rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .main-nav a:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* 13. Ürün Kartı & Detay (Faz 3) */
.card-img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius-md);
  background: var(--surface);
}

/* Dikey (portre) ürünler için — kimono gibi */
.card-img-portrait,
.product-img-portrait {
  aspect-ratio: 3 / 4;
}

.card-price {
  font-size: 1.25rem;
  font-weight: 600;
}

.product-detail {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.product-ph {
  aspect-ratio: 4 / 3;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-cat {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.product-name {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.product-price {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
}

.product-meta {
  color: var(--text-muted);
  font-size: 1rem;
}

.product-desc {
  color: var(--text-strong);
  line-height: 1.6;
}

.badge-sold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--border);
  color: var(--text-strong);
  font-weight: 600;
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

/* 14. Hangar Galeri */
.hangar-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.hangar-item {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hangar-info {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hangar-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.hangar-year {
  color: var(--gold);
  font-weight: 600;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
}

.hangar-detail {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hangar-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hangar-img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.hangar-story {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.0625rem;
  max-width: 48rem;
  margin-inline: auto;
}

/* 15. Satın Alma Formu (Faz 5) */
.order-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--text);
}

.form-error {
  color: var(--primary);
  font-size: 0.875rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--text-strong);
}
.form-check input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
}
.form-check a {
  color: var(--primary);
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.order-summary {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: sticky;
  top: 96px;
}

.order-summary-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.order-summary-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.order-summary h2 {
  font-size: 1.25rem;
}

.order-summary-price {
  font-size: 1.5rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
  }
}

/* 16. Yönetim Paneli (Faz 8) */
.admin-body {
  background: var(--bg);
}

.admin-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  flex-wrap: wrap;
  padding-block: 0.75rem;
}

.admin-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.admin-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-strong);
}
.admin-nav a:hover {
  color: var(--primary);
}

.admin-logout-form {
  margin: 0;
}

.admin-logout-btn {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  cursor: pointer;
}
.admin-logout-btn:hover {
  background: var(--bg);
}

.admin-main {
  padding: 2.5rem 0;
}

.admin-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.admin-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-title-row .admin-title {
  margin-bottom: 0;
}

.admin-table-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

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

.admin-table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-muted {
  color: var(--text-soft);
  font-size: 0.8125rem;
}

.admin-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.admin-status-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.admin-status-form select,
.admin-form select {
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.admin-btn-sm {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
}
.admin-btn-sm:hover {
  background: var(--bg);
}

.admin-btn-danger {
  color: var(--primary);
  border-color: var(--primary);
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.admin-inline-form {
  margin: 0;
}

.admin-select-sm {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.admin-inquiry-detail {
  position: absolute;
  z-index: 10;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-top: 0.5rem;
}

.admin-inquiry-detail p {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.admin-inquiry-detail strong {
  font-weight: 600;
}

.admin-detail-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 40rem;
}

.admin-detail-card h2 {
  font-size: 1.125rem;
  margin-top: 0.75rem;
}

.admin-login-wrap {
  display: flex;
  justify-content: center;
  padding-top: 3rem;
}

.admin-login-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 24rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-login-card h1 {
  font-size: 1.5rem;
}

.admin-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 40rem;
}

/* 17. Kategori Hero (altın vurgulu) */
.category-hero {
  padding: 4rem 0 1rem;
  text-align: center;
}

.category-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.category-hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 40rem;
  margin-inline: auto;
}

.category-hero-divider {
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* 19. İletişim (ortalanmış e-posta) */
.contact-center {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-email {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-email:hover {
  color: var(--primary);
}

/* 20. Hakkımızda (ortalanmış ince yazı) */
.about-center {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-artist {
  font-size: 1.25rem;
  font-weight: 100;
  letter-spacing: 0.15em;
  color: var(--text);
}

.about-inner {
  max-width: 40rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.about-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-text p {
  color: var(--text-strong);
  line-height: 1.8;
}

/* 18. Kimono Liste Düzeni */
.kimono-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.kimono-item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  align-items: start;
}

.kimono-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.kimono-ph {
  aspect-ratio: 3 / 4;
}

.kimono-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.kimono-name {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.kimono-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.kimono-story {
  color: var(--text-strong);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .kimono-item {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   21. Mobil İyileştirmeler (dokunma hedefleri, boşluklar, safe-area)
   ========================================================================== */

/* iPhone çentik (notch) ve alt bar güvenli alan desteği */
@supports (padding: max(0px)) {
  .site-header {
    padding-top: env(safe-area-inset-top);
  }
  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Tablet ve altı — genel boşluk ve dokunma hedefi iyileştirmeleri */
@media (max-width: 768px) {
  /* Header daha kompakt */
  .header-inner {
    height: 60px;
  }
  .logo-img {
    height: 32px;
  }

  /* Kartlar: mobilde daha az iç boşluk, tam genişlik */
  .card {
    padding: 1.25rem;
  }

  /* Kimono/desen listesi: mobilde kompakt */
  .kimono-item {
    padding: 1.25rem;
    gap: 1.5rem;
  }

  /* Ürün detay: mobilde daha sıkı */
  .product-detail {
    gap: 1.5rem;
  }

  /* Hangar galeri: mobilde daha sıkı aralık */
  .hangar-list {
    gap: 2.5rem;
  }

  /* Satın alma formu: mobilde kompakt */
  .order-form {
    padding: 1.25rem;
  }

  /* Butonlar: mobilde tam genişlik ve daha büyük dokunma alanı */
  .btn {
    width: 100%;
    min-height: 48px;
    padding: 0.9rem 1.5rem;
  }
  .hero-actions .btn {
    width: auto;
    flex: 1 1 100%;
  }

  /* Footer linkleri: daha büyük dokunma hedefi */
  .footer-col a {
    padding-block: 0.5rem;
  }

  /* Bölüm başlıkları mobilde daha ölçülü */
  .section-title {
    margin-bottom: 1.75rem;
  }

  /* Kategori hero mobilde kompakt */
  .category-hero {
    padding: 2.5rem 0 0.5rem;
  }

  /* Hangar görseli mobilde tam yükseklik kullanmasın */
  .hangar-img {
    max-height: 60vh;
  }
}

/* Küçük telefonlar (≤ 480px) */
@media (max-width: 480px) {
  .card-grid {
    gap: 1rem;
  }
  .kimono-list {
    gap: 2rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .product-name {
    font-size: 1.75rem;
  }
  .product-price {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   22. Yasal Sayfalar (Faz 9)
   ========================================================================== */
.legal {
  max-width: 52rem;
  margin-inline: auto;
  padding: var(--section-pad) 0;
}

.legal h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.5rem;
}

.legal .legal-updated {
  color: var(--text-soft);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.375rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.legal p {
  color: var(--text-strong);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal ul,
.legal ol {
  color: var(--text-strong);
  line-height: 1.75;
  margin: 0 0 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal .legal-placeholder {
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   24. Kategori Önizleme Grid'i (ana sayfa)
   ========================================================================== */
/* Görünmez ama SEO/ekran okuyucu için erişilebilir metin */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-title {
  margin: 0;
  line-height: 1;
}

.cat-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cat-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface);
}

/* ==========================================================================
   25. Tablolar Dikey Liste
   ========================================================================== */
.tablo-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.tablo-item {
  display: grid;
  grid-template-columns: 0.78fr 1.42fr;
  gap: 2rem;
  align-items: start;
  text-align: left;
}

.tablo-link {
  display: block;
}

.tablo-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.tablo-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.tablo-story {
  color: var(--text-strong);
  line-height: 1.7;
  text-align: left;
  max-width: none;
  margin-inline: 0;
}

@media (max-width: 768px) {
  .tablo-item {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.fiyat-toggle summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  background: var(--primary);
  color: #fff;
  border: none;
  transition: background-color 0.2s;
}

.fiyat-toggle summary:hover {
  background: var(--primary-dark);
}

.fiyat-toggle summary::-webkit-details-marker {
  display: none;
}

.fiyat-toggle .card-price {
  margin-top: 0.75rem;
}

/* ==========================================================================
   23. Mobil Alt Navigasyon + Güzelleştirme
   ========================================================================== */

/* Alt navigasyon barı — masaüstünde gizli */
.mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  /* Alt bar görünür */
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-nav-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-soft);
    transition: color 0.2s;
  }

  .mobile-nav-link.is-active {
    color: var(--primary);
  }

  /* Alt bar içeriği örtmesin diye gövdeye alt boşluk */
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  /* Hero: mobilde daha dengeli */
  .hero {
    padding: 3rem 0 2rem;
  }
  .hero-logo {
    height: 72px;
  }
  .hero-sub {
    font-size: 1.0625rem;
    margin-top: 1rem;
  }
  .hero-actions {
    margin-top: 2rem;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Kartlar: mobilde daha şık */
  .card {
    padding: 1rem;
    gap: 0.75rem;
  }
  .card h3 {
    font-size: 1.25rem;
  }
  .card-img {
    border-radius: var(--radius-md);
  }

  /* Ürün detay: mobilde görsel önce, bilgi sonra */
  .product-gallery {
    gap: 0.75rem;
  }
  .product-name {
    font-size: 2rem;
  }

  /* Hangar: mobilde daha kompakt başlık */
  .hangar-title {
    font-size: 1.5rem;
  }
  .hangar-story {
    font-size: 1rem;
  }

  /* Bölüm başlıkları mobilde */
  .section-title {
    font-size: 1.75rem;
  }
}
/* ==========================================================================
   Fashion B2B Bölümü
   ========================================================================== */

.fashion-page {
  background: var(--bg);
}

/* Hero + Manifesto */
.fashion-hero {
  padding: var(--section-pad) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.fashion-kicker {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.fashion-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 16ch;
  margin-bottom: 2.5rem;
}

.fashion-manifesto {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fashion-manifesto p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-strong);
}

.fashion-manifesto strong {
  color: var(--text);
  font-weight: 600;
}

.fashion-signature {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
  margin-top: 0.5rem;
}

.fashion-hero-divider {
  width: 72px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 3rem;
}

/* Koleksiyon */
.fashion-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.fashion-section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.fashion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.fashion-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fashion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.fashion-card-photo {
  aspect-ratio: 3 / 4;
  background: var(--bg);
  overflow: hidden;
  cursor: zoom-in;
}
.fashion-card-photo:hover .fashion-card-img {
  transform: scale(1.15);
}

.fashion-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.fashion-ph {
  width: 100%;
  height: 100%;
  background: var(--bg);
}

.fashion-card-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.fashion-card-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.fashion-card-material {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.fashion-card-price {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Bize Ulaşın */
.fashion-contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.fashion-contact-inner {
  max-width: 820px;
}

.fashion-success {
  background: #eef7ee;
  border: 1px solid #c8e3c8;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.fashion-success p {
  color: #1f6b1f;
  font-weight: 500;
}

.fashion-errors {
  background: #fdeeee;
  border: 1px solid #f0c4c4;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.fashion-errors p {
  color: #a33;
  font-size: 0.9375rem;
}

.fashion-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.fashion-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fashion-field-full {
  grid-column: 1 / -1;
}

.fashion-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-strong);
}

.fashion-field input,
.fashion-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fashion-field input:focus,
.fashion-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(213, 64, 0, 0.12);
}

.fashion-field textarea {
  resize: vertical;
  min-height: 120px;
}

.fashion-submit {
  margin-top: 1.75rem;
  min-width: 200px;
}

/* Honeypot: görünmez ama erişilebilirlik için ekran dışı */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .fashion-form-grid {
    grid-template-columns: 1fr;
  }
  .fashion-field-full {
    grid-column: auto;
  }
  .fashion-manifesto p {
    font-size: 1.0625rem;
  }
}

/* ==========================================================================
   B2B Yönetim Paneli — Dashboard, Alıcılar, Üretim, Fuarlar
   ========================================================================== */

.admin-narrow {
  max-width: 720px;
}

/* Dashboard kartları */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dash-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.dash-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.dash-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.dash-section {
  margin-bottom: 2.5rem;
}

.dash-section-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

/* Filtre çipleri */
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.admin-chip {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-strong);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.admin-chip:hover {
  background: var(--bg);
}
.admin-chip.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* İletişim geçmişi timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.timeline-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.timeline-stage {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}

.timeline-channel {
  font-size: 0.8125rem;
  color: var(--text-soft);
}

.timeline-note {
  font-size: 0.9375rem;
  color: var(--text-strong);
  line-height: 1.55;
}

.timeline-followup {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ==========================================================================
   Outreach Şablonları
   ========================================================================== */

.template-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.template-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.template-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.template-body {
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-strong);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  resize: vertical;
  min-height: 160px;
}

.template-copy {
  margin-top: 0.75rem;
}

/* ==========================================================================
   Dil Seçici (TR/EN/FR)
   ========================================================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.2rem;
  background: var(--surface);
}

.lang-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  color: var(--text-soft);
  transition: background-color 0.15s, color 0.15s;
}
.lang-link:hover {
  color: var(--text);
}
.lang-link.is-active {
  background: var(--text);
  color: #fff;
}

/* ==========================================================================
   Fashion Filtreleri
   ========================================================================== */

.fashion-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.fashion-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.fashion-filter-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.fashion-chip {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-strong);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.fashion-chip:hover {
  background: var(--bg);
}
.fashion-chip.is-active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* ==========================================================================
   Rakle Serisi — Tablolar (mobile-first)
   ========================================================================== */

.rakle-page {
  background: var(--bg);
  padding-bottom: 0;
}

/* Hero */
.rakle-hero {
  padding: clamp(2rem, 8vw, 5rem) var(--container-pad) clamp(1.5rem, 6vw, 3rem);
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.rakle-hero-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.rakle-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.rakle-hero-sub {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 1rem;
}
.rakle-hero-count {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}

/* Grid — desktop: 2 sütun, mobile: tek sütun */
.rakle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--border);
}
@media (min-width: 900px) {
  .rakle-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Kart */
.rakle-card {
  background: var(--surface);
  overflow: hidden;
}
@media (min-width: 900px) {
  /* Masaüstü: tam ekran yayılan kartlar */
  .rakle-card {
    min-height: 0;
  }
  .rakle-card:nth-child(4n+1),
  .rakle-card:nth-child(4n) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .rakle-card:nth-child(4n+1) .rakle-card-img-wrap {
    order: 1;
  }
  .rakle-card:nth-child(4n) .rakle-card-body {
    order: -1;
  }
}

/* Görsel */
.rakle-card-img-wrap {
  position: relative;
  background: var(--bg);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.rakle-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.rakle-card:hover .rakle-card-img {
  transform: scale(1.03);
}
.rakle-card-no {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  pointer-events: none;
}

/* İçerik */
.rakle-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
@media (min-width: 600px) {
  .rakle-card-body {
    padding: 1.75rem;
  }
}
@media (min-width: 900px) {
  .rakle-card:nth-child(4n+1) .rakle-card-body,
  .rakle-card:nth-child(4n) .rakle-card-body {
    padding: clamp(1.5rem, 5vw, 3rem);
    justify-content: center;
  }
}

.rakle-card-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
}

/* Renk etiketi */
.rakle-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.rakle-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--bg);
  color: var(--text-strong);
  white-space: nowrap;
}

/* Teknik */
.rakle-card-technique {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-soft);
}

/* Kuantum */
.rakle-card-quantum {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  background: #faf6f0;
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0.75rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.rakle-quantum-icon {
  flex-shrink: 0;
  font-size: 1rem;
}
.rakle-quantum-text {
  color: var(--text-strong);
  font-weight: 500;
}

/* Hikaye */
.rakle-card-story {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.rakle-card-story p {
  margin: 0;
}

/* ==========================================================================
   Lightbox (Fashion)
   ========================================================================== */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: zoom-out;
  padding: 2rem;
}
.lightbox.is-open {
  display: flex;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: lbFadeIn 0.25s ease;
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.15s;
  z-index: 1;
}
.lightbox-close:hover {
  opacity: 1;
}
.lightbox-caption {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

@keyframes lbFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
