/* Dokunsat — mobil (max-width: 767px) */
:root {
  --max: 720px;
}

body.has-tab {
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
}

/* Masaüstü menü mobilde gizli */
.desk-nav,
.lg-top {
  display: none !important;
}

.lg-mobile-header {
  display: block;
}

.letgo-header {
  padding: 0.65rem 1rem 0.85rem;
}

.letgo-header-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.letgo-header .brand .logo {
  height: 48px;
  max-width: 240px;
}

/* Alt tab bar */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
  padding: 0 0.25rem env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #9e9e9e;
  height: 100%;
}

.tabbar a svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.tabbar a.active {
  color: var(--brand);
}

.tabbar a.tab-sell {
  color: var(--ink);
}

.tabbar a.tab-sell .sell-fab {
  width: 48px;
  height: 48px;
  margin-top: -18px;
  border-radius: 50%;
  background: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(23, 72, 115, 0.4);
  border: 3px solid var(--white);
}

.tabbar a.tab-sell .sell-fab svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 2.5;
}

.tabbar a.tab-sell span.label {
  margin-top: 0.1rem;
  font-size: 0.62rem;
}

.product-grid {
  grid-template-columns: repeat(2, 1fr);
}

.detail-body {
  padding-bottom: 6rem;
}

.detail-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  border-top: 1px solid var(--line);
}

body.has-tab #toast-root {
  bottom: calc(0.85rem + var(--tab-h) + env(safe-area-inset-bottom, 0px));
}

.auth-shell {
  padding: 2rem 1rem;
}

.gallery {
  aspect-ratio: 1;
  max-height: none;
}

.chat-page {
  height: 100vh;
  height: 100dvh;
}
