/*
 * newTemplateDemo — "Vitrin" theme
 * Yeni nesil, sade ve modern kurumsal promosyon sitesi teması (statik demo).
 * Bu dosya, /website/templates altındaki mevcut temalardan bağımsız,
 * kendi kendine yeten bir tasarım gösterimidir.
 */

/* ---------------------------------- */
/* Fonts                               */
/* ---------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap');

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body,
h1, h2, h3, h4, h5, p,
figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* ---------------------------------- */
/* Design tokens                       */
/* ---------------------------------- */
:root {
  /* neutrals — cool slate, echoing the logo's steel-gray */
  --ink: #20262c;
  --ink-soft: #454e56;
  --muted: #7a838b;
  --paper: #f6f8fa;
  --surface: #ffffff;
  --surface-alt: #eef1f4;
  --line: #e1e6ea;
  --line-soft: #edf1f3;

  /* brand accent — sampled directly from the Arın Promosyon logo (swap these to re-skin the whole theme) */
  --accent: #0063a8;
  --accent-dark: #024d84;
  --accent-soft: #e7f1f9;
  --accent-ink: #ffffff;

  --whatsapp: #25d366;
  --whatsapp-dark: #1cb659;
  --star: #f5a524;

  /* radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 31, .06), 0 1px 1px rgba(15, 23, 31, .04);
  --shadow-md: 0 12px 28px -12px rgba(15, 23, 31, .22);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 31, .28);

  --container: 1240px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --header-h: 88px;
}

/* ---------------------------------- */
/* Base                                */
/* ---------------------------------- */
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: var(--r-pill);
  padding: 7px 16px 7px 12px;
}

.eyebrow .icon {
  width: 15px;
  height: 15px;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 68px 0;
}

.section-tight {
  padding: 44px 0;
}

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

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-top: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
  max-width: 52ch;
}

.section-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.section-foot-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--line);
  transition: border-color .2s ease, color .2s ease, gap .2s ease;
}

.section-foot-link:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  gap: 10px;
}

.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
  flex-shrink: 0;
}

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

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------- */
/* Buttons                             */
/* ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--r-pill);
  padding: 14px 24px;
  border: 1.5px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
  white-space: nowrap;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 13px;
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  background: var(--accent-dark);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #2b2c33;
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

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

.btn-white {
  background: #fff;
  color: var(--ink);
}

.btn-white:hover {
  background: var(--surface-alt);
}

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

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 8px 0;
  border-radius: 0;
  border-bottom: 2px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn-block {
  width: 100%;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  flex-shrink: 0;
}

.icon-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.icon-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------------------------------- */
/* Header                              */
/* ---------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(250, 248, 244, .82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(20,17,10,.02), var(--shadow-sm);
}

.topbar {
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  max-height: 40px;
  transition: max-height .25s ease, opacity .25s ease, border-color .25s ease;
}

.site-header.is-scrolled .topbar {
  max-height: 0;
  opacity: 0;
  border-color: transparent;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 40px;
  font-size: 13px;
  color: var(--muted);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease;
}

.topbar-links a:hover {
  color: var(--ink);
}

.topbar-links .icon {
  width: 15px;
  height: 15px;
}

.topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.navbar {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Nav menü sarmalayıcı — masaüstünde satır içi, mobilde açılır panel */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.nav-menu .nav-links {
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

.footer-about .brand-logo {
  height: 54px;
}

.nav-drawer-head .brand-logo {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links > li {
  position: relative;
}

.nav-links a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: background .2s ease, color .2s ease;
}

.nav-links a.nav-link .icon {
  width: 15px;
  height: 15px;
}

.nav-links a.nav-link:hover,
.nav-links li.is-open a.nav-link {
  background: var(--surface-alt);
  color: var(--ink);
}

.nav-links a.nav-link.is-current {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-links li:hover .nav-dropdown,
.nav-links li.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .15s ease, color .15s ease;
}

.nav-dropdown a:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

.nav-dropdown .dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Site search (navbar) */
.site-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 240px;
}

.site-search-btn {
  position: absolute;
  left: 6px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  transition: background .2s ease, color .2s ease;
}

.site-search-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.site-search-btn .icon {
  width: 17px;
  height: 17px;
}

.site-search-input {
  width: 100%;
  height: 42px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--surface-alt);
  padding: 0 16px 0 44px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-search-input::placeholder {
  color: var(--muted);
}

.site-search-input:focus {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--paper);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  align-items: center;
  justify-content: center;
}

/* mobile drawer */
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 10, .38);
  z-index: 220;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.nav-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--surface);
  z-index: 230;
  padding: 22px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.nav-drawer.is-open {
  transform: none;
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.nav-drawer a.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 6px;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.nav-drawer .drawer-sub {
  padding-left: 14px;
}

.nav-drawer .drawer-sub a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 10px 6px;
}

.nav-drawer-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-drawer-contact {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.nav-drawer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------------------------------- */
/* Breadcrumb                          */
/* ---------------------------------- */
.breadcrumb {
  padding: 22px 0 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--accent-dark);
}

.breadcrumb .icon {
  width: 13px;
  height: 13px;
  color: var(--line);
}

.breadcrumb li[aria-current] {
  color: var(--ink);
}

/* ---------------------------------- */
/* Hero slider (tam genişlik banner)   */
/* ---------------------------------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
}

.hero-slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 90 / 29;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s;
}

.hero-slide-img.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity .25s ease, background .2s ease;
}

.hero-slider:hover .hero-slider-arrow,
.hero-slider-arrow:focus-visible {
  opacity: 1;
}

.hero-slider-arrow:hover {
  background: #ffffff;
}

.hero-slider-prev { left: 20px; }
.hero-slider-next { right: 20px; }
.hero-slider-prev .icon { transform: rotate(180deg); }

.hero-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.hero-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 1px 4px rgba(11, 58, 99, .35);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.hero-slider-dot:hover { background: rgba(255, 255, 255, .85); }

.hero-slider-dot.is-active {
  width: 30px;
  background: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-img { transition: none; }
}

/* ---------------------------------- */
/* Tiles (category / product visuals)  */
/* ---------------------------------- */
.tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .12;
  mix-blend-mode: overlay;
}

.tile::after {
  content: '';
  position: absolute;
  width: 130%;
  height: 60%;
  top: -30%;
  left: -20%;
  background: linear-gradient(120deg, rgba(255,255,255,.35), transparent 60%);
  transform: rotate(-8deg);
}

.tile .icon {
  position: relative;
  z-index: 1;
  fill: #fff;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.18));
}

.tile-tech   { background: radial-gradient(130% 130% at 20% 10%, #7590ff 0%, #3d4fc9 55%, #262f96 100%); }
.tile-note   { background: radial-gradient(130% 130% at 20% 10%, #ffd27a 0%, #f2a53c 55%, #cf7d10 100%); }
.tile-drink  { background: radial-gradient(130% 130% at 20% 10%, #74e7dc 0%, #21b3ad 55%, #0d7f7d 100%); }
.tile-pen    { background: radial-gradient(130% 130% at 20% 10%, #cda2ff 0%, #8a5cf2 55%, #5a30c7 100%); }
.tile-bag    { background: radial-gradient(130% 130% at 20% 10%, #ffa8c8 0%, #ef5f96 55%, #c1316c 100%); }
.tile-office { background: radial-gradient(130% 130% at 20% 10%, #b3e894 0%, #63b845 55%, #35771f 100%); }

/* ---------------------------------- */
/* Category cards                      */
/* ---------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Anasayfa kategori bölümü: masaüstünde 4'lü, mobilde 2'li */
.category-grid.is-home {
  grid-template-columns: repeat(4, 1fr);
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 20px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.category-card-media {
  aspect-ratio: 1 / 1;
  margin-bottom: 18px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-alt);
}

.category-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.category-card:hover .category-card-media img {
  transform: scale(1.04);
}

.category-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-card h3 {
  font-size: 18px;
}

.category-card span.count {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

.category-card .arrow {
  width: 38px;
  height: 38px;
  border-radius: var(--r-pill);
  background: var(--surface-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease, transform .2s ease;
}

.category-card:hover .arrow {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

.category-foot {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* ---------------------------------- */
/* Feature cards ("Neden Biz")         */
/* ---------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon .icon {
  width: 25px;
  height: 25px;
}

.feature-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------------------------------- */
/* Product cards                       */
/* ---------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-grid.is-list {
  grid-template-columns: 1fr;
}

.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.product-card .tile {
  aspect-ratio: 1 / 1;
  border-radius: 0;
}

.product-card .tile .icon {
  width: 44px;
  height: 44px;
}

.product-card-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-alt);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
}

.product-badge.is-out {
  background: #a8362b;
}

.product-card-body {
  padding: 18px;
}

.product-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card h3 {
  font-size: 15.5px;
  margin-top: 6px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-code {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 600;
}

.product-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #2f8a4e;
}

.product-stock .icon {
  width: 14px;
  height: 14px;
}

.product-stock.is-out {
  color: #a8362b;
}

.product-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.product-price.is-muted {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

/* ---------------------------------- */
/* Process / steps                    */
/* ---------------------------------- */
.process {
  background: var(--surface-alt);
  border-radius: var(--r-xl);
  padding: 56px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
  position: relative;
}

.process > .process-grid:first-child {
  margin-top: 0;
}

.process-step {
  position: relative;
}

.process-step .num {
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.process-step:nth-child(odd) .num {
  background: var(--accent);
}

.process-step h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------------------------------- */
/* CTA banner                          */
/* ---------------------------------- */
.cta-banner {
  position: relative;
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  opacity: .45;
  top: -200px;
  right: -140px;
  pointer-events: none;
}

.cta-banner-text {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
}

.cta-banner p {
  color: rgba(255,255,255,.68);
  margin-top: 12px;
  font-size: 15.5px;
}

.cta-banner-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------------------------------- */
/* Footer                              */
/* ---------------------------------- */
.site-footer {
  background: var(--surface-alt);
  margin-top: 40px;
  padding-top: 76px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-about p {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 34ch;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.site-footer h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 600;
  transition: color .2s ease;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 600;
}

.footer-contact .icon {
  width: 17px;
  height: 17px;
  color: var(--accent-dark);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-bottom a {
  font-weight: 700;
  color: var(--ink-soft);
}

.footer-bottom a:hover {
  color: var(--accent-dark);
}

/* ---------------------------------- */
/* Floating helpers                    */
/* ---------------------------------- */
.float-stack {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: var(--whatsapp);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .2s ease, background .2s ease;
}

.float-btn:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-3px);
}

.float-btn .icon {
  width: 26px;
  height: 26px;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-tabbar {
  display: none;
}

/* ---------------------------------- */
/* Category / listing page             */
/* ---------------------------------- */
.page-head {
  padding: 26px 0 40px;
}

.page-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.page-head h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-top: 10px;
}

.page-head p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 60ch;
}

.result-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  white-space: nowrap;
}

.result-count b {
  color: var(--ink);
}

.listing {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 32px;
  padding-bottom: 90px;
}

.filter-panel {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}

.filter-card h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.filter-tree li + li {
  margin-top: 3px;
}

.filter-tree a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .15s ease, color .15s ease;
}

.filter-tree a:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

.filter-tree a.is-active {
  background: var(--ink);
  color: #fff;
}

.filter-tree a span.n {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.filter-tree a.is-active span.n {
  color: rgba(255,255,255,.6);
}

.filter-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  background: transparent;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.filter-chip:hover {
  border-color: var(--ink);
}

.filter-chip.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.filter-help {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 22px;
  color: #fff;
}

.filter-help h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
}

.filter-help p {
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  margin-bottom: 16px;
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.select {
  position: relative;
  display: inline-flex;
}

.select select {
  appearance: none;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 10px 38px 10px 16px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
}

.select .icon {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  pointer-events: none;
  color: var(--muted);
}

.view-toggle {
  display: inline-flex;
  gap: 6px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 46px;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.page-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.page-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* list view row layout */
.product-grid.is-list .product-card {
  display: grid;
  grid-template-columns: 148px 1fr auto;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
}

.product-grid.is-list .product-card .tile {
  width: 148px;
  height: 148px;
  aspect-ratio: auto;
}

.product-grid.is-list .product-card-body {
  padding: 18px 0;
}

.product-grid.is-list .product-meta {
  border: none;
  padding: 0;
  margin: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.product-grid.is-list .product-badge {
  position: static;
  opacity: 1;
  transform: none;
}

.product-grid.is-list .product-card-body .product-badge {
  display: inline-block;
  margin-bottom: 8px;
}

/* ---------------------------------- */
/* Product detail page                 */
/* ---------------------------------- */
.pdp {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  padding-bottom: 30px;
}

.pdp-gallery .pdp-slider {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface-alt);
}

.pdp-slider .hero-slider-track {
  aspect-ratio: 1 / 1;
}

.pdp-slider .hero-slider-arrow {
  opacity: 1;
  width: 38px;
  height: 38px;
}

.pdp-info h1 {
  font-size: clamp(24px, 2.8vw, 32px);
}

.pdp-code {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.pdp-rating .stars {
  display: flex;
  gap: 2px;
  color: var(--star);
}

.pdp-rating .stars .icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.pdp-rating span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.pdp-price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pdp-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
}

.pdp-price-note {
  font-size: 13.5px;
  color: var(--muted);
}

.pdp-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #2f8a4e;
  background: #eaf7ee;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  margin-top: 16px;
}

.pdp-stock-badge.is-out {
  color: #a8362b;
  background: #fbeceb;
}

.spec-row.is-out {
  opacity: .55;
}

.pdp-stock-badge .icon {
  width: 15px;
  height: 15px;
}

.pdp-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.pdp-actions .btn {
  flex: 1;
  min-width: 160px;
  padding-left: 16px;
  padding-right: 16px;
  gap: 7px;
}

.pdp-quote {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
  flex-shrink: 0;
}

.qty-stepper button {
  width: 42px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  transition: background .15s ease;
}

.qty-stepper button:hover {
  background: var(--surface-alt);
}

.qty-stepper input {
  width: 54px;
  height: 46px;
  border: none;
  border-left: 1.5px solid var(--line);
  border-right: 1.5px solid var(--line);
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp-desc {
  margin-top: 26px;
  font-size: 15px;
  color: var(--ink-soft);
}

.pdp-desc p + p {
  margin-top: 10px;
}

.spec-table {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.spec-table-head {
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 13px 18px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
}

.spec-row:nth-child(odd) {
  background: var(--surface-alt);
}

.spec-row + .spec-row {
  /* zebra via nth-child instead of borders */
}

.spec-color {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.1);
}

.spec-stock {
  color: var(--muted);
}

.trust-row {
  display: flex;
  gap: 22px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.trust-item .icon {
  width: 19px;
  height: 19px;
  color: var(--accent-dark);
}

/* ---------------------------------- */
/* Contact page                        */
/* ---------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
  padding-bottom: 90px;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
}

.contact-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.contact-card p, .contact-card a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.contact-map {
  margin-top: 4px;
  height: 220px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(250,248,244,.9), rgba(250,248,244,.9)),
    repeating-linear-gradient(45deg, var(--surface-alt) 0 2px, transparent 2px 14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
}

.contact-map .icon {
  width: 28px;
  height: 28px;
  color: var(--accent-dark);
}

.contact-map span {
  font-size: 13px;
  font-weight: 700;
}

/* İletişim harita çerçevesi (tuvana stili) */
.map-frame {
  height: 460px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 15px;
  font-size: 14.5px;
  background: var(--paper);
  transition: border-color .15s ease, background .15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--surface);
}

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

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-note {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 34ch;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: #eaf7ee;
  color: #2f8a4e;
  font-size: 13.5px;
  font-weight: 700;
}

.form-success.is-visible {
  display: flex;
}

.form-success .icon {
  width: 18px;
  height: 18px;
}

/* ---------------------------------- */
/* Demo notice                         */
/* ---------------------------------- */
.demo-banner {
  background: var(--ink);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 9px 18px;
}

.demo-banner b {
  color: #fff;
}

.demo-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------------------------------- */
/* Responsive                          */
/* ---------------------------------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slider-track { aspect-ratio: 2 / 1; }
  .pdp { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-frame { height: 340px; }
  .site-search { width: 180px; }
}

@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .topbar { display: none; }
  .navbar > .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Anasayfa kategori bölümü mobilde 2'li kalsın */
  .category-grid.is-home { grid-template-columns: repeat(2, 1fr); }

  /* Açılır menü paneli (tuvana stili) */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 24px 16px;
    background: var(--surface);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: none;
  }
  .site-header.nav-open .nav-menu {
    display: flex;
  }
  .nav-menu .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    width: 100%;
  }
  .nav-menu .nav-links > li {
    width: 100%;
  }
  .nav-menu .nav-links a.nav-link {
    padding: 15px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
    justify-content: space-between;
  }
  .nav-menu .nav-links a.nav-link.is-current {
    background: transparent;
    color: var(--accent-dark);
  }
  .nav-menu .nav-links a.nav-link .icon {
    transition: transform .2s ease;
  }
  .nav-menu .nav-links li.is-open a.nav-link .icon {
    transform: rotate(180deg);
  }
  .nav-menu .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    padding: 0 0 6px 14px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-menu .nav-links li.is-open .nav-dropdown {
    max-height: 420px;
  }
  .nav-menu .nav-dropdown a {
    padding: 10px 8px;
    font-size: 13.5px;
  }
  .nav-menu .site-search {
    width: 100%;
    margin: 14px 0 2px;
  }

  .section { padding: 48px 0; }
  .process { padding: 34px 22px; }
  .cta-banner { padding: 40px 26px; }
  .listing { grid-template-columns: 1fr; }
  .filter-panel { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .filter-panel .filter-help { display: none; }
  .listing-nofilter .filter-panel { display: none; }
  .cat-index .page-head { display: none; }
  .cat-index .breadcrumb { padding-bottom: 20px; }
  .filter-card { min-width: 240px; }
  .product-grid.is-list .product-card { grid-template-columns: 100px 1fr; }
  .product-grid.is-list .product-meta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line-soft); }
  .float-stack { display: none; }
  .mobile-tabbar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 150;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(20,17,10,.06);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }
  .mobile-tabbar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 4px;
    border-radius: var(--r-md);
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
  }
  .mobile-tabbar a .icon { width: 20px; height: 20px; }
  .mobile-tabbar a.is-whatsapp { color: var(--whatsapp-dark); }
  body { padding-bottom: 74px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }

  /* Kart içerikleri taşmasın: uzun başlıklar sarsın, flex kolonları daralabilsin */
  .category-card-row { min-width: 0; }
  .category-card-row > div { min-width: 0; }
  .category-card h3 { overflow-wrap: anywhere; }
  .product-card h3 { overflow-wrap: anywhere; }

  /* baseKategori + kategori: 2 sütunlu kompakt kartlar */
  .cat-index .category-card { padding: 14px; }
  .cat-index .category-card-media { margin-bottom: 12px; }
  .cat-index .category-card-row { gap: 8px; }
  .cat-index .category-card h3 { font-size: 15px; line-height: 1.3; }
  .cat-index .category-card .arrow { width: 32px; height: 32px; }
  .cat-index .product-card-body { padding: 14px; }
  .cat-index .product-card h3 { font-size: 14px; }
  .cat-index .product-meta { margin-top: 10px; padding-top: 10px; }
  .section-features { display: none; }
  .hero-slider { margin-bottom: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-slider-track { aspect-ratio: 3 / 2; }
  .hero-slider-arrow { opacity: 1; width: 40px; height: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .listing-toolbar { flex-direction: column; align-items: stretch; }
  .listing-toolbar .select { display: flex; }
  .listing-toolbar .select select { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pdp-actions .btn { min-width: 100%; }
}

@media (max-width: 420px) {
  .category-grid, .product-grid { grid-template-columns: 1fr; }
  .cat-index .category-grid,
  .cat-index .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* Benzer ürünler mobilde 2'li kalsın */
  .product-grid.is-related { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-index .category-card { padding: 11px; }
  .cat-index .category-card h3 { font-size: 13.5px; }
  .cat-index .category-card .arrow { width: 28px; height: 28px; }
  .cat-index .product-card-body { padding: 11px; }
  .cat-index .product-card h3 { font-size: 13px; min-height: 2.6em; }
}

/* ---------------------------------- */
/* CMS sayfa içeriği (Hakkımızda vb.)  */
/* ---------------------------------- */
.page-content {
  max-width: 76ch;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.page-content h1, .page-content h2, .page-content h3, .page-content h4 {
  margin: 32px 0 14px;
}

.page-content p { margin: 0 0 16px; }

.page-content ul, .page-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.page-content li { margin-bottom: 6px; }

.page-content a { color: var(--accent); text-decoration: underline; }

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  margin: 8px 0;
}

.page-content strong { color: var(--ink); }

/* ---------------------------------- */
/* Referanslar                         */
/* ---------------------------------- */
.reference-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.reference-item {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.reference-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 860px) {
  .reference-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
  .reference-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

/* ---------------------------------- */
/* Teklif sepeti                       */
/* ---------------------------------- */
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
}

.cart-row-media {
  width: 76px;
  height: 76px;
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-alt);
}

.cart-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-row-body {
  flex: 1;
  min-width: 0;
}

.cart-row-body h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.cart-row-body h3 a {
  color: var(--ink);
}

.cart-row-code {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.cart-row-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  min-width: 90px;
  text-align: right;
}

.cart-row-qty {
  width: 64px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 9px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  -moz-appearance: textfield;
}

.cart-row-qty::-webkit-outer-spin-button,
.cart-row-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-row-remove {
  flex-shrink: 0;
}

.cart-empty {
  text-align: center;
  padding: 48px 20px;
  margin-bottom: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

@media (max-width: 640px) {
  .cart-row { flex-wrap: wrap; }
  .cart-row-price { order: 1; min-width: 0; text-align: left; }
  .cart-row-qty { order: 2; }
  .cart-row-remove { order: 3; margin-left: auto; }
}
