/* TEKNİK TORNA — corporate UI
   Colors from brand (ref.): red #A61E22, charcoal #2B2B2B, secondary #666666 */

:root {
  --color-bg: #ffffff;
  --color-red: #a61e22;
  --color-red-hover: #8c181c;
  --color-gray-900: #2b2b2b;
  --color-gray-700: #444444;
  --color-gray-600: #666666;
  --color-gray-400: #9a9a9a;
  --color-gray-200: #e8e8e8;
  --color-gray-100: #f5f5f5;
  --color-overlay: rgba(43, 43, 43, 0.55);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: min(1160px, calc(100% - 2.5rem));
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(43, 43, 43, 0.08);
  --shadow-md: 0 8px 24px rgba(43, 43, 43, 0.08);
  --header-h: 72px;
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-gray-700);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-red);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-red-hover);
}

:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-red);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: var(--header-h);
  padding-block: 0.75rem;
}

/* Geniş ekran: logo sol · menü tam ortada · arama sağ (DOM: marka → util → toggle → nav) */
@media (min-width: 901px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "brand nav util";
    align-items: center;
    column-gap: clamp(1rem, 2.5vw, 2rem);
    justify-content: initial;
  }

  .brand {
    grid-area: brand;
    justify-self: start;
  }

  .site-nav {
    grid-area: nav;
    justify-self: center;
    max-width: min(100%, 52vw);
    min-width: 0;
  }

  .site-nav__list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-util {
    grid-area: util;
    justify-self: end;
    width: max-content;
    max-width: 100%;
  }
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo {
  height: 65px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--color-gray-900);
  transition: transform var(--transition), opacity var(--transition);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gray-900);
}

.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] {
  color: var(--color-red);
}

.header-util {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-util__search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-gray-600);
  cursor: pointer;
}

.header-util__search:hover {
  color: var(--color-red);
  background: var(--color-gray-100);
}

.header-util__search:focus-visible {
  outline: 1px solid var(--color-red);
  outline-offset: 1px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.header-search__input {
  width: clamp(112px, 40vw, 200px);
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.8125rem;
  color: var(--color-gray-900);
  background: var(--color-bg);
}

.header-search__input:hover:not(:focus):not(:focus-visible) {
  border-color: #d8dce0;
}

.header-search__input::placeholder {
  color: var(--color-gray-400);
}

.header-search__input:focus,
.header-search__input:focus-visible {
  outline: 1px solid var(--color-red);
  outline-offset: 0;
  border-color: rgba(166, 30, 34, 0.35);
}

.header-search__submit {
  flex-shrink: 0;
}

.header-search-wrap {
  position: relative;
}

.header-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 120;
  min-width: min(17.5rem, calc(100vw - 2rem));
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.35rem 0;
  margin: 0;
  list-style: none;
  background: var(--color-bg);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.header-search-dropdown[hidden] {
  display: none !important;
}

.header-search-dropdown__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  margin: 0 0.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  font-size: 0.8125rem;
  line-height: 1.3;
  transition: background var(--transition);
}

.header-search-dropdown__link:hover,
.header-search-dropdown__link:focus-visible {
  background: var(--color-gray-100);
  outline: none;
}

.header-search-dropdown__thumb {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-gray-100);
  border: 1px solid var(--color-gray-200);
}

.header-search-dropdown__meta {
  min-width: 0;
  flex: 1;
}

.header-search-dropdown__title {
  margin: 0;
  font-weight: 600;
  color: var(--color-gray-900);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.header-search-dropdown__cat {
  margin: 0.15rem 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-search-dropdown__empty,
.header-search-dropdown__hint {
  margin: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--color-gray-600);
}

.header-search-dropdown__more {
  display: block;
  margin: 0.25rem 0.35rem 0;
  padding: 0.5rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--color-red);
  border-radius: var(--radius-sm);
  border-top: 1px solid var(--color-gray-100);
}

.header-search-dropdown__more:hover,
.header-search-dropdown__more:focus-visible {
  background: var(--color-gray-100);
  outline: none;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-switch a {
  color: var(--color-gray-600);
}

.lang-switch a[aria-current="true"] {
  color: var(--color-red);
}

.lang-switch span {
  color: var(--color-gray-400);
  user-select: none;
}

@media (max-width: 900px) {
  .header-inner {
    gap: 0.5rem 0.65rem;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .header-util {
    display: flex;
    flex-shrink: 0;
    min-width: 0;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition),
      visibility var(--transition);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    z-index: 200;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-gray-100);
  }

  /* Arama: orta uzunluk; liste aynı genişlikte kalsın */
  .header-search-wrap {
    width: auto;
    max-width: min(13.25rem, calc(100vw - 10.5rem));
  }

  .header-search {
    width: 100%;
  }

  .header-search__input {
    width: clamp(88px, 40vw, 148px);
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    padding: 0.4rem 0.48rem;
    font-size: 0.75rem;
  }

  .header-util__search {
    width: 36px;
    height: 36px;
  }

  /* Arama satırının ortasına hizalı (wrap genişliğinin merkezi ≈ input + buton) */
  .header-search-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(19rem, calc(100vw - 1.25rem));
    min-width: 0;
    max-width: calc(100vw - 1.25rem);
    box-sizing: border-box;
  }

  .header-search-dropdown__link {
    gap: 0.55rem;
    padding: 0.48rem 0.55rem;
    margin-inline: 0.22rem;
    font-size: 0.78rem;
  }

  .header-search-dropdown__thumb {
    width: 40px;
    height: 40px;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background: var(--color-gray-700)
    linear-gradient(135deg, #3a3a3a 0%, #2b2b2b 50%, #1f1f1f 100%);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.hero__placeholder {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.03) 40px,
      rgba(255, 255, 255, 0.03) 41px
    ),
    radial-gradient(
      ellipse at 30% 20%,
      rgba(166, 30, 34, 0.15),
      transparent 50%
    );
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  padding: 2rem 1.25rem;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.4rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gray-900);
  background: #fff;
  border-radius: 2px;
}

.hero__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__title strong {
  color: #fff;
  font-weight: 800;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-red);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.hero__cta:hover {
  background: var(--color-red-hover);
  color: #fff;
}

/* —— Cinematic home hero (tall, GLTF-ready 3D column) —— */
.hero--cinematic {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: block;
  text-align: left;
}

.hero--cinematic .hero__media::after {
  background: linear-gradient(
    105deg,
    rgba(12, 14, 18, 0.94) 0%,
    rgba(18, 21, 26, 0.82) 38%,
    rgba(35, 38, 44, 0.55) 72%,
    rgba(50, 54, 62, 0.35) 100%
  );
}

.hero__media--veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(166, 30, 34, 0.14) 0%,
    transparent 28%,
    transparent 72%,
    rgba(0, 0, 0, 0.45) 100%
  );
  z-index: 0;
}

.hero--cinematic__layout {
  position: relative;
  z-index: 1;
  display: grid;
  /* minmax(0, …) — grid öğelerinin içerik (canvas) yüzünden yatay taşmasını engeller */
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  /* Fill the 100vh hero, no overflow — asymmetric padding pushes content up */
  height: 100%;
  min-height: unset;
  min-width: 0;
  padding: clamp(0.25rem, 0.8vh, 1rem) 0 clamp(2rem, 5vh, 4rem) 0;
}

.hero__copy {
  margin-top: -2.5rem;
  min-width: 0;
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero__title--cinematic {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

.hero__title-accent {
  color: #f0f2f5;
  background: linear-gradient(
    120deg,
    #fff 0%,
    rgba(255, 255, 255, 0.88) 40%,
    rgba(166, 30, 34, 0.95) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 38rem;
}

.hero__lead strong {
  color: #fff;
  font-weight: 600;
}

.hero__bullets {
  margin: 0 0 2rem;
  padding: 0 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 36rem;
}

.hero__bullets li {
  margin-bottom: 0.45rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
}

.hero__visual {
  position: relative;
  min-width: 0;
}

/* 3D showcase column: bleed beyond the container to the right so models
   use the full viewport width on that side */
.hero--cinematic .hero__visual {
  /* Pull the right edge out of the container — extra room so 3D models aren’t clipped */
  margin-right: calc(-1 * clamp(2.25rem, 9vw, 6.5rem));
  width: calc(100% + clamp(2.25rem, 9vw, 6.5rem));
}

/* Atmospheric radial glow behind the floating 3D model */
.hero--cinematic .hero__visual::before {
  content: '';
  position: absolute;
  inset: -8% -12%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 52%,
    rgba(166, 30, 34, 0.28) 0%,
    rgba(166, 30, 34, 0.08) 38%,
    transparent 68%
  );
  pointer-events: none;
  filter: blur(22px);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.06); }
}

/* Slow levitating float on the whole visual column */
@media (prefers-reduced-motion: no-preference) {
  .hero--cinematic .hero__visual {
    animation: heroFloat 5.5s ease-in-out infinite;
  }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

.hero__visual-frame {
  display: none; /* replaced by CSS glow */
}

/* ——— Stage-3D base (band, wide) ——— */
.stage-3d {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0c0e12;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 4px 0 rgba(166, 30, 34, 0.12),
    0 28px 64px rgba(0, 0, 0, 0.45);
  z-index: 1;
  contain: layout style;
}

.stage-3d--hero {
  min-height: clamp(460px, 58vh, 740px);
}

.stage-3d--wide {
  min-height: clamp(400px, min(50vh, 560px), 640px);
}

.stage-3d .cell-3d {
  border-radius: inherit;
  border: none;
}

/* ——— Hero stage: transparent floating canvas ——— */
.hero--cinematic .stage-3d--hero {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  contain: none;
  z-index: 1;
}

.hero--cinematic .stage-3d--hero .cell-3d {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: transparent;
}

.stage-3d__label {
  display: none; /* removed per design */
}

.hero__visual-caption {
  display: none; /* removed per design */
}

.btn--on-dark.btn--outline {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn--on-dark.btn--outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn--lg {
  padding: 0.95rem 1.85rem;
  font-size: 0.875rem;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    animation: homeReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    animation: none;
  }
}

@keyframes homeReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════
   Hero showcase: 5-slot (top · left-center-right · bottom)
═══════════════════════════════════════════════ */
.hero__3d-showcase {
  display: grid;
  min-width: 0;
  /* Left/right columns wider + a big column-gap so models spread apart */
  grid-template-columns: 1fr 1.25fr 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    ".    top    ."
    "left center right"
    ".    bottom .";
  /* Row-gap small (top/bottom hug center), column-gap big (left/right spread) */
  row-gap: 0;
  column-gap: clamp(1.2rem, 3.5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
  /* Bleed slightly beyond the visual column so models use full width */
  margin-left: -1.35rem;
  margin-right: -1.35rem;
}

/* Grid-area assignments */
.hero__3d-showcase__item--top    { grid-area: top; }
.hero__3d-showcase__item--left   { grid-area: left; }
.hero__3d-showcase__item--center { grid-area: center; }
.hero__3d-showcase__item--right  { grid-area: right; }
.hero__3d-showcase__item--bottom { grid-area: bottom; }

/* ── ONE big crimson glow behind all 5 models ── */
.hero--cinematic .hero__3d-showcase::before {
  content: '';
  position: absolute;
  inset: -14% -10%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(166, 30, 34, 0.60) 0%,
    rgba(166, 30, 34, 0.28) 28%,
    rgba(166, 30, 34, 0.08) 56%,
    transparent 78%
  );
  pointer-events: none;
  filter: blur(50px);
  animation: bigGlowPulse 5s ease-in-out infinite;
}

@keyframes bigGlowPulse {
  0%, 100% { opacity: 0.80; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.08); }
}

/* Transparent stages in showcase */
.hero__3d-showcase .stage-3d {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  contain: none;
}

.hero__3d-showcase .stage-3d .cell-3d {
  background: transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Stage heights per slot — 3 rows must fit in ~100vh minus navbar (~60px) minus padding */
.stage-3d--showcase-center { min-height: clamp(200px, 30vh, 360px); }
.stage-3d--showcase-side   { min-height: clamp(160px, 26vh, 300px); }
.stage-3d--showcase-top,
.stage-3d--showcase-bottom { min-height: clamp(140px, 20vh, 240px); }

.hero__3d-showcase__item {
  position: relative;
  z-index: 1;
}


/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__3d-showcase {
    grid-template-columns: 1fr 1.2fr 1fr;
    column-gap: clamp(0.6rem, 2vw, 1.5rem);
    row-gap: 0;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  .stage-3d--showcase-center {
    min-height: clamp(240px, 36vh, 380px);
  }
  .stage-3d--showcase-side {
    min-height: clamp(190px, 28vh, 300px);
  }
  .stage-3d--showcase-top,
  .stage-3d--showcase-bottom {
    min-height: clamp(170px, 22vh, 260px);
  }

  .hero--cinematic__layout {
    grid-template-columns: 1fr;
    min-height: unset;
    /* Sticky header altında kalmaması için (hero__copy negatif margini mobilde kaldırıldı) */
    padding-top: calc(var(--header-h) + 1rem);
  }

  .hero__copy {
    margin-top: 0;
  }

  .hero__title--cinematic {
    max-width: none;
  }

  /* Aynı özgüllük (.hero--cinematic .hero__visual) — aksi halde sağa bleed mobilde de kalır */
  .hero--cinematic .hero__visual {
    margin-top: 0.5rem;
    margin-right: 0;
    width: 100%;
  }

  .hero--cinematic {
    height: auto;
    max-height: none;
    min-height: unset;
  }

  .stage-3d--hero {
    min-height: clamp(400px, 52vh, 560px);
  }
}

@media (max-width: 640px) {
  /* 4 model: 2×2 — alt slot gizli; ≤1024 vitrin kurallarını ezer (sütun sayısı) */
  .hero__3d-showcase {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "top left"
      "center right";
    column-gap: 0.45rem;
    row-gap: 0.45rem;
    margin-left: 0;
    margin-right: 0;
  }
  .hero__3d-showcase__item--bottom {
    display: none;
  }
  .hero__3d-showcase__item--left,
  .hero__3d-showcase__item--right {
    display: block;
  }
  .stage-3d--showcase-center {
    min-height: clamp(130px, 30vw, 200px);
  }
  .stage-3d--showcase-side {
    min-height: clamp(118px, 28vw, 185px);
  }
  .stage-3d--showcase-top {
    min-height: clamp(110px, 26vw, 175px);
  }
}

/* —— Home: stats strip —— */
.home-strip {
  border-block: 1px solid var(--color-gray-200);
  background: var(--color-bg);
}

.home-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 2.75rem) 0;
}

.home-strip__item {
  text-align: center;
  padding: 0.5rem;
}

.home-strip__value {
  display: block;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-gray-900);
}

.home-strip__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .home-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .home-strip__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Home: full-width panorama band —— */
.home-panorama {
  position: relative;
  min-height: clamp(280px, 38vh, 480px);
  display: flex;
  align-items: flex-end;
}

.home-panorama__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgba(15, 17, 20, 0.85) 0%,
      rgba(15, 17, 20, 0.25) 55%,
      rgba(43, 43, 43, 0.4) 100%
    ),
    repeating-linear-gradient(
      -8deg,
      #2b2b2b 0px,
      #2b2b2b 60px,
      #353535 60px,
      #353535 61px
    );
}

.home-panorama__content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  max-width: 40rem;
}

.home-panorama__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.home-panorama__text {
  margin: 0;
  font-size: clamp(1.0625rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.home-panorama__text strong {
  color: #fff;
  font-weight: 600;
}

/* —— Home: category cards —— */
.home-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}

.home-section-head__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
}

.home-section-head__lead {
  margin: 0;
  font-size: 1rem;
  color: var(--color-gray-600);
  line-height: 1.65;
}

.home-tool-cats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tool-cat-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.tool-cat-card:hover {
  border-color: rgba(166, 30, 34, 0.25);
  box-shadow: var(--shadow-md);
}

.tool-cat-card__icon {
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-red), transparent);
  margin-bottom: 1.25rem;
}

.tool-cat-card__title {
  margin: 0 0 0.65rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-gray-900);
}

.tool-cat-card__text {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

.tool-cat-card__link {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .home-tool-cats__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Home: references (marka logoları) —— */
.home-references {
  position: relative;
  background: linear-gradient(180deg, var(--color-gray-100) 0%, var(--color-bg) 42%, var(--color-bg) 100%);
  border-block: 1px solid var(--color-gray-200);
}

.home-references__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
}

.home-references__logos {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.home-references__logos-item {
  margin: 0;
}

.ref-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8.25rem;
  padding: 1.5rem 2.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.ref-logo:hover {
  border-color: rgba(166, 30, 34, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.ref-logo img {
  display: block;
  max-width: min(440px, 82vw);
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .ref-logo {
    transition: none;
  }

  .ref-logo:hover {
    transform: none;
  }
}

/* —— Home: wide 3D band —— */
.home-3d-band {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: linear-gradient(180deg, var(--color-gray-100) 0%, var(--color-bg) 100%);
  border-block: 1px solid var(--color-gray-200);
}

.home-3d-band__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.home-3d-band__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
}

.home-3d-band__title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.home-3d-band__text {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.home-3d-band__text strong {
  color: var(--color-gray-900);
  font-weight: 600;
}

.home-3d-band__list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--color-gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .home-3d-band__layout {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════
   Feature band — 4 alternating text/3D sections
   ══════════════════════════════════════════════ */
.feat-band {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--color-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.feat-band:nth-child(even),
.feat-band + .feat-band {
  background: rgba(255,255,255,0.015);
}

.feat-band__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

/* Reversed: 3D stage comes first in DOM so CSS order flips it visually */
.feat-band--reverse .feat-band__layout {
  direction: rtl;
}
.feat-band--reverse .feat-band__copy,
.feat-band--reverse .feat-band__stage {
  direction: ltr;
}

/* Text column */
.feat-band__kicker {
  margin: 0 0 0.6rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
}

.feat-band__title {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: var(--color-gray-900);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.feat-band__text {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--color-gray-600);
  line-height: 1.75;
  max-width: 42ch;
}

.feat-band__list {
  margin: 0 0 1.75rem;
  padding-left: 1.1rem;
  color: var(--color-gray-600);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.feat-band__list li + li { margin-top: 0.3rem; }

/* 3D stage */
.feat-band__stage {
  position: relative;
  overflow-x: clip;
}

.feat-band__3d-stage {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  contain: none !important;
  min-height: clamp(340px, 46vh, 560px);
}

.feat-band__3d-stage .cell-3d {
  background: transparent !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Subtle radial glow behind each band model */
.feat-band__stage::before {
  content: '';
  position: absolute;
  inset: -15% -10%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(166, 30, 34, 0.28) 0%,
    rgba(166, 30, 34, 0.10) 35%,
    transparent 68%
  );
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}

.feat-band__stage .stage-3d { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .feat-band__layout {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
  .feat-band--reverse .feat-band__copy { direction: ltr; }
  .feat-band__3d-stage { min-height: clamp(220px, 40vw, 340px); }
}

/* —— Home: features —— */
.home-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-tile {
  padding: 1.5rem 0;
  border-top: 2px solid var(--color-gray-200);
}

.feature-tile__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-gray-900);
}

.feature-tile__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.65;
}

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

/* —— Home: CTA —— */
.home-cta {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: linear-gradient(
    120deg,
    rgba(166, 30, 34, 0.09) 0%,
    var(--color-gray-100) 45%,
    var(--color-bg) 100%
  );
  border-top: 1px solid var(--color-gray-200);
}

.home-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.home-cta__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--color-gray-900);
}

.home-cta__lead {
  margin: 0;
  font-size: 1rem;
  color: var(--color-gray-600);
  max-width: 36rem;
}

@media (max-width: 640px) {
  .home-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— References page —— */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ref-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ref-card:hover {
  border-color: rgba(166, 30, 34, 0.22);
  box-shadow: var(--shadow-md);
}

.ref-card__logo {
  aspect-ratio: 16 / 9;
  max-height: 100px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
}

.ref-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-gray-900);
}

.ref-card__meta {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-red);
}

.ref-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-gray-600);
}

@media (max-width: 900px) {
  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Floating WhatsApp (inner pages) */
.wa-float {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.wa-float:hover {
  filter: brightness(1.05);
  color: #fff;
}

@media (max-width: 600px) {
  .wa-float {
    width: 48px;
    height: 48px;
    left: 1rem;
    bottom: 1rem;
  }
}

/* —— Accent band —— */
.accent-band {
  position: relative;
  min-height: 88px;
  background: linear-gradient(
    90deg,
    rgba(166, 30, 34, 0.08) 0%,
    rgba(166, 30, 34, 0.04) 35%,
    #f5f5f5 100%
  );
  overflow: hidden;
}

.accent-band::before {
  content: "";
  position: absolute;
  left: -5%;
  top: 0;
  width: 45%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M0 60L60 0H0z' fill='%23a61e22' fill-opacity='.06'/%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}

/* —— Showcase grid (home) —— */
.showcase {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--color-bg);
}

.showcase__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  grid-template-areas:
    "a b"
    "c d";
}

.showcase__cell {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-gray-100);
  box-shadow: var(--shadow-sm);
}

.showcase__cell--tall {
  grid-row: span 2;
  min-height: 460px;
}

.showcase__cell--wide {
  min-height: 280px;
}

.showcase__cell:nth-child(1) {
  grid-area: a;
}

.showcase__cell:nth-child(2) {
  grid-area: b;
}

.showcase__cell:nth-child(3) {
  grid-area: c;
}

.showcase__cell:nth-child(4) {
  grid-area: d;
}

/* reorder for asymmetry like reference: 4 cells in 2x2 with one spanning */
.showcase__grid--asymmetric {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(240px, 1fr) minmax(200px, auto);
  grid-template-areas:
    "large placeholder1"
    "small1 small2";
}

.showcase__grid--asymmetric .showcase__cell:nth-child(1) {
  grid-area: large;
  min-height: 320px;
}

.showcase__grid--asymmetric .showcase__cell:nth-child(2) {
  grid-area: placeholder1;
  min-height: 320px;
}

.showcase__grid--asymmetric .showcase__cell:nth-child(3) {
  grid-area: small1;
  min-height: 200px;
}

.showcase__grid--asymmetric .showcase__cell:nth-child(4) {
  grid-area: small2;
  min-height: 200px;
}

.cell-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  min-height: inherit;
  padding: 1.5rem;
  color: var(--color-gray-400);
  background: #fafafa;
  border: 1px dashed var(--color-gray-200);
}

.cell-placeholder svg {
  opacity: 0.45;
}

.cell-placeholder span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* WebGL tiles (home) — Three.js */
.cell-3d {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #12151a;
  border-radius: inherit;
}

.cell-3d__canvas {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: top;
  touch-action: none;
}

.cell-3d__caption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.55rem;
  z-index: 2;
  max-width: calc(100% - 1rem);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.cell-3d--fallback {
  background: linear-gradient(145deg, #1a1d22 0%, #2b2b2b 100%);
}

.cell-photo {
  position: absolute;
  inset: 0;
  background: var(--color-gray-700)
    linear-gradient(
      160deg,
      rgba(166, 30, 34, 0.25) 0%,
      rgba(43, 43, 43, 0.4) 100%
    );
}

.cell-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='1.5' fill='%23fff' fill-opacity='.08'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.cell-photo--accent {
  background: #555
    linear-gradient(
      160deg,
      rgba(166, 30, 34, 0.2) 0%,
      rgba(43, 43, 43, 0.45) 100%
    );
}

@media (max-width: 768px) {
  .showcase__grid--asymmetric {
    grid-template-columns: 1fr;
    grid-template-areas:
      "large"
      "placeholder1"
      "small1"
      "small2";
  }

  .showcase__grid--asymmetric .showcase__cell:nth-child(1),
  .showcase__grid--asymmetric .showcase__cell:nth-child(2) {
    min-height: 220px;
  }
}

/* —— Page header (inner pages) —— */
.page-hero {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 6.5vw, 4.75rem);
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-gray-200);
}

/* Hero’dan sonra gelen ilk içerik (breadcrumb, üst şerit) — alt çizgiye yapışmasın */
.page-hero + .container {
  padding-top: clamp(1.1rem, 2.8vw, 2rem);
}

.page-hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-red);
}

.page-hero__lead {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  font-size: 1rem;
  color: var(--color-gray-600);
}

/* —— Pattern background —— */
.bg-pattern {
  background-color: var(--color-bg);
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%232b2b2b' fill-opacity='0.04'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5L25 15v18.5l-12 7L0 33.5V15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); */
}

.section-block {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

/* —— About two-column —— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.split__kicker {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
}

.split__kicker.split__kicker--plain {
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 0.8125rem;
}

.split__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 2.5vw, 2.125rem);
  font-weight: 700;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
}

/* Kicker <p> ise .split__text p rengini ezmek için */
.split__text > p.split__kicker {
  color: var(--color-red);
}

.split__text p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--color-gray-600);
  line-height: 1.75;
}

.split__text p:last-child {
  margin-bottom: 0;
}

.split__text strong {
  color: var(--color-gray-900);
  font-weight: 600;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--color-gray-200);
}

.split__media .placeholder-block {
  height: 100%;
}

/* —— About: misyon / vizyon / hikâye —— */
.about-mvv {
  border-top: 1px solid var(--color-gray-200);
  background: var(--color-bg);
}

.about-mvv__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}

.about-mvv__block {
  margin: 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  background: var(--color-gray-100);
  box-shadow: var(--shadow-sm);
}

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

.about-mvv__heading {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.about-mvv__tag {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 0.02em;
}

.about-mvv__body p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-gray-600);
}

.about-mvv__body p:last-child {
  margin-bottom: 0;
}

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

  .split__media {
    order: -1;
    max-width: 36rem;
    margin-inline: auto;
  }
}

.placeholder-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(145deg, #ebebeb 0%, #f5f5f5 100%);
  color: var(--color-gray-400);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* —— Products listing —— */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(1.35rem, 3.2vw, 2.35rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.products-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0 0 2.5rem;
  margin: 0;
  list-style: none;
  border-bottom: 1px solid var(--color-gray-200);
}

.products-cats a {
  display: block;
  text-align: center;
  color: inherit;
}

.products-cats a:hover .products-cats__name {
  color: var(--color-red);
}

.products-cats a[aria-current="page"] .products-cats__name {
  color: var(--color-red);
}

.products-cats__name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gray-900);
  transition: color var(--transition);
}

.products-cats__count {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--color-gray-600);
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.35rem);
  align-self: start;
}

/* Yapışkan sidebar: üstte header’a yapışmasın diye hafif boşluk (yalnız geniş ekran) */
.sidebar__top-space {
  display: none;
}

@media (min-width: 769px) {
  .products-layout .sidebar__top-space {
    display: block;
    height: 0.55rem;
    margin-bottom: 0.2rem;
  }
}

.sidebar__title {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-900);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  transition: border-color var(--transition);
}

.search-field:hover:not(:focus-within) {
  border-color: var(--color-gray-400);
}

.search-field input {
  flex: 1;
  min-width: 0;
  border: none;
  font: inherit;
  color: var(--color-gray-900);
  background: transparent;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.search-field input::-webkit-search-decoration,
.search-field input::-webkit-search-cancel-button,
.search-field input::-webkit-search-results-button,
.search-field input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-field input::placeholder {
  color: var(--color-gray-400);
}

.search-field input:focus,
.search-field input:focus-visible {
  outline: none;
  box-shadow: none;
}

.search-field button {
  display: flex;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-gray-600);
  cursor: pointer;
}

.search-field button:focus-visible {
  outline: none;
}

.search-field:focus-within {
  border-color: var(--color-red);
}

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

.cat-list li {
  border-bottom: 1px solid var(--color-gray-100);
}

.cat-list a {
  display: block;
  padding: 0.65rem 0;
  font-size: 0.9375rem;
  color: var(--color-gray-700);
}

.cat-list a:hover,
.cat-list a[aria-current="page"] {
  color: var(--color-red);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.product-grid__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem 0;
  text-align: center;
  color: var(--color-gray-600);
  font-size: 0.9375rem;
}

.category-detail__back {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-gray-700);
}

.category-detail__back a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.search-results__form {
  max-width: 32rem;
  margin-bottom: 0.35rem;
}

.search-results__meta {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-gray-600);
}

.search-results__meta--sidebar {
  margin: -1rem 0 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.search-results__clear {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-results__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.products-catalog__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
  margin: 1.25rem 0 0;
  /* İki sütunlu .products-layout’ta ürün ızgarası ile aynı sütun (sağ) */
  grid-column: 2;
}

@media (max-width: 768px) {
  .products-catalog__pagination {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
  }
}

.search-results__page-indicator {
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

.search-results__empty {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1rem;
  border: 1px dashed var(--color-gray-200);
  border-radius: var(--radius-md);
  background: var(--color-gray-100);
  margin-bottom: 3rem;
}

.search-results__empty-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--color-gray-900);
}

.search-results__empty-text {
  margin: 0 0 1.5rem;
  color: var(--color-gray-600);
  max-width: 28rem;
  margin-inline: auto;
}

.search-results__empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  border-color: rgba(166, 30, 34, 0.25);
  box-shadow: var(--shadow-md);
}

.product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.product-card__link:hover {
  color: inherit;
}

.product-card__img {
  aspect-ratio: 1;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-gray-100);
}

.product-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__img .placeholder-block {
  aspect-ratio: 1;
  height: auto;
}

.product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1rem 1.35rem;
  text-align: center;
}

.product-card__title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-gray-900);
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.product-card__meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.product-card__cat {
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gray-400);
}

.products-toolbar {
  display: none;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .sidebar {
    position: static;
  }

  .sidebar.is-collapsed .cat-list,
  .sidebar.is-collapsed .search-field {
    display: none;
  }

  .products-toolbar {
    display: flex;
  }

  .filter-toggle {
    width: 100%;
    padding: 0.75rem 1rem;
    font: inherit;
    font-weight: 600;
    text-align: left;
    color: var(--color-gray-900);
    background: var(--color-gray-100);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
  }

  .product-grid {
    gap: 1rem;
  }

  .product-card__body {
    padding: 1rem 0.85rem 1.05rem;
  }

  .product-card__title {
    font-size: 0.875rem;
  }

  .product-card__meta {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .product-card {
    border-radius: var(--radius-sm);
  }

  /* Tek sütunda dev kare görsel yerine: küçük thumb + metin (katalog / kök sayfa) */
  .product-card__link {
    flex-direction: row;
    align-items: stretch;
    min-height: 0;
  }

  .product-card__img {
    flex: 0 0 clamp(5.25rem, 32vw, 6.75rem);
    width: clamp(5.25rem, 32vw, 6.75rem);
    aspect-ratio: unset;
    align-self: stretch;
    min-height: 5.25rem;
  }

  .product-card__img img {
    min-height: 5.25rem;
    height: 100%;
  }

  .product-card__img .placeholder-block {
    aspect-ratio: unset;
    min-height: 5.25rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    padding: 0.35rem;
    text-align: center;
  }

  .product-card__body {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.7rem 0.65rem;
    text-align: left;
  }

  .product-card__title {
    margin-bottom: 0.25rem;
    font-size: 0.8125rem;
    line-height: 1.3;
  }

  .product-card__meta {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .product-card__cat {
    padding-top: 0.4rem;
    font-size: 0.625rem;
  }
}

/* —— Breadcrumb (sayfa yolu) —— */
.breadcrumb {
  margin: 0 0 1.25rem;
  padding: 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0.6rem 1rem 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-gray-600);
  background: linear-gradient(180deg, #fafafa 0%, var(--color-gray-100) 100%);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.breadcrumb__item--has-sep::after {
  content: '/';
  display: inline-block;
  margin-left: 0.45rem;
  color: var(--color-gray-400);
  font-weight: 500;
  font-size: 0.75em;
  user-select: none;
  pointer-events: none;
}

.breadcrumb__link {
  color: var(--color-gray-700);
  text-decoration: none;
  border-radius: 0.25rem;
  padding: 0.1rem 0.2rem;
  margin: -0.1rem -0.2rem;
  transition: color var(--transition), background-color var(--transition);
}

.breadcrumb__link:hover {
  color: var(--color-red);
}

.breadcrumb__link:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.breadcrumb__current {
  color: var(--color-gray-900);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.1rem 0;
}

/* Eski / düz <a> kullanan sayfalar için geriye dönük */
.breadcrumb a:not(.breadcrumb__link) {
  color: var(--color-gray-700);
}

.breadcrumb a:not(.breadcrumb__link):hover {
  color: var(--color-red);
}

.breadcrumb [aria-current='page'] {
  color: var(--color-gray-900);
  font-weight: 600;
}

@media (max-width: 520px) {
  .breadcrumb__list {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    gap: 0.15rem 0.25rem;
  }

  .breadcrumb__item--has-sep::after {
    margin-left: 0.3rem;
  }
}

/* —— S.S.S. (common/includes/faq.html) —— tam genişlik şerit + marka renkleri */
.content-faq-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(2rem, 5vw, 3.25rem) 0;
  box-sizing: border-box;
  background: linear-gradient(
    180deg,
    rgba(166, 30, 34, 0.06) 0%,
    var(--color-bg) 38%,
    var(--color-gray-100) 100%
  );
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
}

.content-faq {
  margin: 0;
  padding: 0;
  border: none;
}

.content-faq__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-red);
}

.content-faq__title {
  margin: 0 0 1.35rem;
  padding-bottom: 0.85rem;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--color-red);
  max-width: 28rem;
}

.content-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.content-faq__item {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.content-faq__item:hover {
  border-color: rgba(166, 30, 34, 0.28);
}

.content-faq__item[open] {
  border-color: rgba(166, 30, 34, 0.45);
  box-shadow: 0 4px 20px rgba(166, 30, 34, 0.08);
}

.content-faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-900);
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  transition: background var(--transition);
}

.content-faq__summary:hover {
  background: rgba(166, 30, 34, 0.05);
}

.content-faq__summary::-webkit-details-marker {
  display: none;
}

.content-faq__summary::marker {
  content: "";
}

.content-faq__question {
  flex: 1;
  min-width: 0;
  text-align: start;
}

.content-faq__icon {
  flex-shrink: 0;
  color: var(--color-red);
  line-height: 0;
  opacity: 0.75;
  transition: transform var(--transition), opacity var(--transition);
}

.content-faq__item[open] .content-faq__icon {
  transform: rotate(180deg);
  opacity: 1;
}

.content-faq__summary:hover .content-faq__icon {
  opacity: 1;
}

.content-faq__body {
  padding: 0 1.1rem 1rem;
  border-top: 1px solid rgba(166, 30, 34, 0.12);
  background: linear-gradient(180deg, rgba(166, 30, 34, 0.03) 0%, transparent 100%);
}

.content-faq__answer {
  padding-top: 0.85rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-gray-600);
}

.content-faq__answer p {
  margin: 0 0 0.75rem;
}

.content-faq__answer p:last-child {
  margin-bottom: 0;
}

.content-faq__answer ul,
.content-faq__answer ol {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
}

.content-faq__answer a {
  color: var(--color-red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.content-faq__answer a:hover {
  color: var(--color-red-hover);
}

/* Ürün detay: aynı kategori ürünleri — S.S.S. altı yatay slider */
.item-related-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  box-sizing: border-box;
  background: var(--color-gray-100);
  border-top: 1px solid var(--color-gray-200);
}

.item-related__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.item-related__title {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
}

.item-related__nav {
  display: flex;
  gap: 0.35rem;
}

.item-related__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-gray-300);
  background: var(--color-bg);
  color: var(--color-gray-800);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    opacity var(--transition);
}

.item-related__btn:hover:not(:disabled) {
  border-color: rgba(166, 30, 34, 0.45);
  color: var(--color-red);
  background: rgba(166, 30, 34, 0.04);
}

.item-related__btn:focus-visible {
  outline: 2px solid rgba(166, 30, 34, 0.55);
  outline-offset: 2px;
}

.item-related__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.item-related__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  margin: 0 -0.25rem;
  padding: 0 0.25rem 0.35rem;
}

.item-related__viewport:focus-visible {
  outline: 2px solid rgba(166, 30, 34, 0.35);
  outline-offset: 4px;
}

.item-related__track {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
}

.item-related__cell {
  flex: 0 0 min(240px, 78vw);
  max-width: 280px;
  scroll-snap-align: start;
}

.item-related__card {
  height: 100%;
}

.item-related__card .product-card__body {
  padding: 1rem 0.85rem 1.1rem;
}

.item-related__card .product-card__title {
  font-size: 0.875rem;
}

/* Ürün detay: S.S.S. sonrası etiketler */
.item-detail-after-faq {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

/* —— Product detail —— */
/* Ürün detay: sticky header ile breadcrumb bitişik kalmasın */
.item-detail-page {
  padding-top: clamp(1rem, 2.8vw, 1.85rem);
}

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: 2rem 0 4rem;
  align-items: start;
}

.detail__gallery {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  background: var(--color-gray-100);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail__gallery-main {
  width: 100%;
  max-height: min(44vh, 400px);
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail__gallery-main:last-child {
  border-radius: var(--radius-md);
}

.detail__gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0.65rem 0.75rem 0.85rem;
  border-top: 1px solid var(--color-gray-200);
  background: var(--color-bg);
}

.detail__gallery-thumbs li {
  margin: 0;
  flex: 0 0 auto;
}

.detail__gallery-thumbs a,
.detail__gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  line-height: 0;
  background: var(--color-bg);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  font: inherit;
  color: inherit;
}

.detail__gallery-thumbs a:hover,
.detail__gallery-thumb:hover {
  border-color: rgba(166, 30, 34, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.detail__gallery-thumb.is-active {
  border-color: rgba(166, 30, 34, 0.85);
  box-shadow: 0 0 0 2px rgba(166, 30, 34, 0.2);
}

.detail__gallery-thumb:focus-visible {
  outline: 2px solid rgba(166, 30, 34, 0.65);
  outline-offset: 2px;
}

.detail__gallery-main-trigger {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
  font: inherit;
  color: inherit;
}

.detail__gallery-main-trigger:focus-visible {
  outline: 2px solid rgba(166, 30, 34, 0.65);
  outline-offset: 2px;
}

.detail__gallery-main-img {
  width: auto;
  max-width: 100%;
  max-height: min(44vh, 400px);
  height: auto;
  object-fit: contain;
  vertical-align: middle;
  margin-inline: auto;
}

/* Ürün detay: ana görsel alanına çok hafif ekstra yükseklik */
.detail__gallery--relaxed-height .detail__gallery-main,
.detail__gallery--relaxed-height .detail__gallery-main-img {
  max-height: min(46vh, 420px);
}

.detail__gallery-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}

body.product-gallery-lightbox-open {
  overflow: hidden;
}

@keyframes product-gallery-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes product-gallery-stage-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.product-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  padding-top: max(clamp(0.75rem, 3vw, 2rem), env(safe-area-inset-top));
  padding-bottom: max(clamp(0.75rem, 3vw, 2rem), env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.product-gallery-lightbox[hidden] {
  display: none !important;
}

.product-gallery-lightbox:not([hidden]) .product-gallery-lightbox__backdrop {
  animation: product-gallery-backdrop-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.product-gallery-lightbox:not([hidden]) .product-gallery-lightbox__panel {
  animation: product-gallery-stage-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.product-gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: linear-gradient(
    165deg,
    rgba(15, 15, 18, 0.88) 0%,
    rgba(35, 32, 34, 0.82) 45%,
    rgba(20, 18, 19, 0.9) 100%
  );
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  backdrop-filter: blur(10px) saturate(1.15);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .product-gallery-lightbox__backdrop {
    background: rgba(18, 16, 17, 0.92);
  }
}

.product-gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  max-width: min(94vw, 1180px);
  max-height: min(92vh, 900px);
  width: 100%;
  pointer-events: none;
}

.product-gallery-lightbox__panel > * {
  pointer-events: auto;
}

.product-gallery-lightbox__img-wrap {
  flex: 1 1 auto;
  min-width: 0;
  max-height: min(86vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.65rem, 2vw, 1.25rem);
  box-sizing: border-box;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 12px 28px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.product-gallery-lightbox__img {
  max-width: 100%;
  max-height: min(78vh, 760px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.product-gallery-lightbox__close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 3;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.product-gallery-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.product-gallery-lightbox__close:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
}

.product-gallery-lightbox__nav {
  flex: 0 0 auto;
  width: 3.125rem;
  height: 3.125rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.product-gallery-lightbox__nav:hover {
  background: rgba(166, 30, 34, 0.55);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.06);
  box-shadow: 0 10px 36px rgba(166, 30, 34, 0.35);
}

.product-gallery-lightbox__nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .product-gallery-lightbox:not([hidden]) .product-gallery-lightbox__backdrop,
  .product-gallery-lightbox:not([hidden]) .product-gallery-lightbox__panel {
    animation: none;
  }

  .product-gallery-lightbox__close,
  .product-gallery-lightbox__nav {
    transition: none;
  }

  .product-gallery-lightbox__close:hover,
  .product-gallery-lightbox__nav:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .product-gallery-lightbox__nav {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 1.4rem;
  }

  .product-gallery-lightbox__close {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 1.2rem;
  }

  .product-gallery-lightbox__panel {
    flex-wrap: wrap;
    max-height: none;
  }

  .product-gallery-lightbox__img-wrap {
    order: -1;
    flex: 1 1 100%;
    max-height: min(68vh, 560px);
  }

  .product-gallery-lightbox__img {
    max-height: min(62vh, 520px);
  }
}

.detail__gallery .placeholder-block {
  aspect-ratio: 1;
  width: 100%;
  max-width: min(100%, 360px);
  max-height: min(44vh, 400px);
  margin: 0.5rem auto;
  min-height: 0;
}

.detail__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
}

.detail__sku {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

.detail__desc p {
  margin: 0 0 1rem;
  color: var(--color-gray-600);
  line-height: 1.75;
}

/* Admin’den gelen HTML (|safe) — listeler, başlıklar, linkler */
.detail__desc-body {
  color: var(--color-gray-600);
  line-height: 1.75;
}

.detail__desc-body > *:first-child {
  margin-top: 0;
}

.detail__desc-body > *:last-child {
  margin-bottom: 0;
}

.detail__desc-body p {
  margin: 0 0 1rem;
}

.detail__desc-body ul,
.detail__desc-body ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.detail__desc-body a {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.detail__desc-body a:hover {
  color: var(--color-gray-900);
}

.detail__features-title {
  margin: 1.75rem 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-900);
}

.detail__features {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-gray-600);
}

.detail__features li {
  margin-bottom: 0.5rem;
}

.detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

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

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

.btn--outline {
  background: transparent;
  color: var(--color-gray-900);
  border: 1px solid var(--color-gray-200);
}

.btn--outline:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

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

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 4rem;
}

.contact-form__title {
  margin: 0 0 1.35rem;
  font-size: clamp(0.8125rem, 1.35vw, 0.9375rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
}

.contact-form-status:empty {
  display: none;
}

.contact-form-status {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.45;
}

.contact-form-status--success {
  border: 1px solid var(--color-gray-200);
  background: var(--color-gray-100);
  color: var(--color-gray-900);
}

.contact-form-status--error {
  border: 1px solid rgba(166, 30, 34, 0.35);
  background: #fff8f8;
  color: var(--color-gray-900);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font: inherit;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-gray-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 1px var(--color-red);
}

.contact-card {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  background: var(--color-gray-100);
}

.contact-card h2 {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-red);
}

.contact-card dl {
  margin: 0;
}

.contact-card dt {
  margin-top: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gray-900);
}

.contact-card dt:first-child {
  margin-top: 0;
}

.contact-card dd {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--color-gray-700);
}

.contact-card a {
  color: var(--color-gray-700);
}

.contact-card a:hover {
  color: var(--color-red);
}

.contact-map-wrap {
  margin-top: 1.5rem;
}

.contact-map {
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(140px, 22vw, 240px);
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.contact-map__foot {
  margin: 0.65rem 0 0;
  text-align: right;
}

.contact-map__open {
  font-size: 0.8125rem;
  font-weight: 600;
}

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

  .form-row--2 {
    grid-template-columns: 1fr;
  }
}

/* —— Footer —— */
.site-footer {
  background: var(--color-gray-100);
  border-top: 1px solid var(--color-gray-200);
  padding: 3rem 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}

/* Menü: marka sütunundan hafif daha içeride / sağa */
.footer-grid > .footer-col:nth-child(2) {
  padding-inline-start: clamp(0.4rem, 1.4vw, 0.85rem);
}

.footer-brand .brand__logo {
  height: 120px;
}

.footer-brand p {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-gray-600);
}

.footer-col__title {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  color: var(--color-gray-600);
}

.footer-links a:hover {
  color: var(--color-red);
}

.footer-contact p,
.footer-contact__phone,
.footer-contact a {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.55;
}

.footer-contact__label {
  font-weight: 600;
  margin-right: 0.25rem;
}

.contact-phone-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-phone-list li {
  margin: 0.35rem 0 0;
}

.contact-phone-list li:first-child {
  margin-top: 0;
}

.contact-phone-list__label {
  font-weight: 600;
  margin-right: 0.25rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--color-gray-200);
}

.footer-bottom__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  width: 100%;
}

.footer-bottom__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-gray-600);
}

/* Eski admin/DB inline stilleri (beyaz metin vb.) açık footer zeminde okunur kılsın */
.footer-bottom__watermark {
  margin: 0;
  text-align: right;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.footer-bottom__watermark,
.footer-bottom__watermark span {
  color: var(--color-gray-600) !important;
}

.footer-bottom__watermark a {
  color: var(--color-gray-800) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.15) !important;
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-bottom__watermark a:hover {
  color: var(--color-red) !important;
  border-bottom-color: transparent !important;
}

.footer-bottom__watermark strong {
  font-weight: 600;
  color: var(--color-gray-800) !important;
}

.footer-bottom__social-row {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 520px) {
  .footer-bottom__watermark {
    text-align: left;
    width: 100%;
  }
}

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

.social a {
  display: flex;
  color: var(--color-gray-600);
}

.social a:hover {
  color: var(--color-red);
}

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrap main {
  flex: 1;
}

/* 404 */
.err-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.err-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-gray-200);
  line-height: 1;
}

.err-page p {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  color: var(--color-gray-600);
}

.err-footer-simple {
  border-top: none;
  padding-top: 2rem;
}

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

  .footer-grid .footer-brand {
    grid-column: 1 / -1;
  }
}

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