/* Şubeler sayfası (Views/Branch/Index.cshtml). Stiller .ts-branches altında. */
.ts-branches {
  --red: #b4221c;
  --red-dark: #8f1a15;
  --cream: #fff8f0;
  --brown: #492e1d;
  --muted: #6b5a4e;
  --display: 'Please Display', 'Archivo Black', sans-serif;

  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 5vw, 64px) clamp(56px, 7vw, 96px);
  color: var(--brown);
  font-family: 'Archivo', system-ui, sans-serif;
}

/* ---------- Başlık ---------- */
.ts-branches .branches-head {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 48px);
}

.ts-branches .branches-eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: clamp(13px, 1.7vw, 19px);
  font-weight: 500;
  letter-spacing: 1px;
}

.ts-branches .branches-title {
  margin: 0 auto 18px;
  max-width: 12em;
  font-family: var(--display);
  font-weight: 900;
  color: var(--red);
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1.05;
  letter-spacing: 1px;
}

.ts-branches .branches-lead {
  margin: 0 0 8px;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 500;
}

.ts-branches .branches-tagline {
  margin: 0;
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--muted);
}

.ts-branches .branches-tagline a {
  color: var(--red);
  font-weight: 600;
  border-bottom: 2px solid var(--red);
}

.ts-branches .branches-tagline span {
  display: block;
  margin-top: 4px;
}

.ts-branches .empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
}

/* ---------- Şehir grupları ---------- */
.ts-branches .branch-city {
  padding-top: clamp(28px, 4vw, 48px);
}

.ts-branches .city-title {
  margin: 0 0 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  font-family: var(--display);
  font-weight: 900;
  color: var(--red);
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.ts-branches .branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: clamp(20px, 3vw, 32px);
}

/* ---------- Şube kartı ---------- */
.ts-branches .branch {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(73, 46, 29, 0.08), 0 8px 24px rgba(73, 46, 29, 0.06);
}

.ts-branches .branch-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ts-branches .branch-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 30px);
  flex: 1;
}

.ts-branches .branch-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  color: var(--red);
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.ts-branches .branch-info {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ts-branches .branch-info dt {
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.ts-branches .branch-info dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--brown);
}

.ts-branches .branch-info dd a {
  color: var(--brown);
  font-weight: 600;
}

.ts-branches .branch-info dd a:hover {
  color: var(--red);
}

/* ---------- Butonlar ---------- */
.ts-branches .branch-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid #efe2d3;
}

.ts-branches .branch-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.ts-branches .branch-map {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
}

.ts-branches .branch-map:hover {
  color: var(--red-dark);
  border-color: var(--red-dark);
}

.ts-branches .branch-order {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.ts-branches .order-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ts-branches .order-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ts-branches .order-btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.15s;
}

.ts-branches .order-btn:hover,
.ts-branches .order-btn:focus-visible {
  background: var(--red-dark);
  color: var(--cream);
}
