/* ════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  font-size: 16px;
  scroll-behavior: smooth
}

body {
  font-family: 'Outfit', sans-serif;
  background: #f0f6fc;
  color: #0d1f35;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2
}

::-webkit-scrollbar {
  width: 5px
}

::-webkit-scrollbar-track {
  background: #e4eef8
}

::-webkit-scrollbar-thumb {
  background: var(--caramel);
  border-radius: 3px
}

/* ════════════════════════════════════════════
   TOKENS
════════════════════════════════════════════ */
:root {
  /* Deniz Mavisi Tema — Açık & Ferah */
  --espresso: #0d1f35;   /* Gece boğazı — daha açık */
  --coffee:   #162d4a;   /* Koyu deniz */
  --brown:    #1e3f6a;   /* Boğaz mavi */
  --caramel:  #1a8fd1;   /* Gök deniz mavisi - ana aksan */
  --honey:    #4ec3f0;   /* Açık gökyüzü mavisi - vurgu */
  --latte:    #2ba8e0;   /* Orta deniz */
  --cream:    #f2f8fd;   /* Çok açık zemin */
  --ivory:    #f8fcff;   /* Kart arka planı */
  --linen:    #e2eff9;   /* Açık kenarlık */
  --parchment:#c8e0f4;   /* Kenarlık */
  --sand:     #8ab0cc;   /* Soluk mavi-gri */
  --mist:     #4a7296;   /* Metin */
  --shadow:   rgba(13, 31, 53, .10);
  --r: 10px;
  --tr: .2s cubic-bezier(.4, 0, .2, 1);
}

/* ════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 62px;
  background: var(--espresso);
  border-bottom: 1px solid rgba(26, 143, 209, .2);
  transition: background var(--tr);
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--caramel) 30%, var(--honey) 70%, transparent);
  opacity: .5;
}

.navbar.scrolled {
  background: rgba(13, 31, 53, .97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .3)
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  flex-shrink: 0
}

.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--tr);
  mix-blend-mode: luminosity;
  filter: brightness(1.8) contrast(.9)
}

.nav-logo:hover .nav-logo-img {
  opacity: .75
}

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

.nav-link {
  padding: 7px 13px;
  border-radius: 6px;
  color: rgba(250, 244, 236, .5);
  font-size: .86rem;
  font-weight: 400;
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
  position: relative
}

.nav-link:hover {
  color: var(--ivory);
  background: rgba(26, 143, 209, .12)
}

.nav-link.active {
  color: var(--honey);
  font-weight: 600
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: linear-gradient(90deg, var(--caramel), var(--honey));
  border-radius: 1px
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto
}

.nav-account {
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--caramel), var(--latte));
  border: none;
  border-radius: 7px;
  padding: 7px 14px;
  cursor: pointer;
  color: var(--espresso);
  font-family: inherit;
  font-size: .86rem;
  font-weight: 700;
  transition: all var(--tr);
  box-shadow: 0 2px 10px rgba(26, 143, 209, .3)
}

.nav-account:hover {
  filter: brightness(1.08);
  transform: translateY(-1px)
}

/* ════════════════════════════════════════════
   SPA PAGES
════════════════════════════════════════════ */
.page {
  display: none;
  padding-top: 62px;
  min-height: 100vh
}

.page.active {
  display: block
}

/* ════════════════════════════════════════════
   COMMON COMPONENTS
════════════════════════════════════════════ */
.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem
}

/* Dark hero banner */

/* Cards */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
  text-decoration: none
}

.btn-dark {
  background: var(--espresso);
  color: var(--honey);
  padding: 10px 20px;
  box-shadow: 0 2px 10px rgba(13, 31, 53, .25)
}

.btn-dark:hover {
  background: var(--coffee);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(13, 31, 53, .35)
}

.btn-outline {
  background: transparent;
  color: var(--brown);
  border: 1.5px solid var(--parchment);
  padding: 9px 18px
}

.btn-outline:hover {
  border-color: var(--caramel);
  color: var(--caramel);
  background: rgba(26, 143, 209, .05)
}

.btn-sm {
  padding: 6px 13px;
  font-size: .8rem
}

/* Inputs */
.inp {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--parchment);
  border-radius: 7px;
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  color: var(--espresso);
  background: #fff;
  outline: none;
  transition: border-color var(--tr)
}

.inp:focus {
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px rgba(26, 143, 209, .1)
}

.inp::placeholder {
  color: var(--sand)
}

textarea.inp {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6
}

.flabel {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 5px
}

.fgroup {
  margin-bottom: 1rem
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

/* Toast */
#toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: var(--espresso);
  color: var(--honey);
  padding: 13px 20px;
  border-radius: 9px;
  font-size: .87rem;
  font-weight: 500;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
  border-left: 3px solid var(--caramel);
  transform: translateY(70px) scale(.96);
  opacity: 0;
  transition: .32s cubic-bezier(.34, 1.56, .64, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 210px
}

#toast.show {
  transform: translateY(0) scale(1);
  opacity: 1
}

/* Pills */

/* Skeleton */
.skel {
  background: linear-gradient(90deg, var(--linen) 25%, var(--parchment) 50%, var(--linen) 75%);
  background-size: 200%;
  border-radius: 7px;
  animation: skel 1.3s infinite
}

@keyframes skel {
  from {
    background-position: 200%
  }

  to {
    background-position: -200%
  }
}

/* Section eyebrow */
.eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--caramel)
}

/* Product card */

/* Footer */
.footer {
  background: var(--espresso);
  color: rgba(250, 244, 236, .38);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
  border-top: 1px solid rgba(26, 143, 209, .15)
}

/* ════════════════════════════════════════════
   PAGE: HOME
════════════════════════════════════════════ */
#pg-home {
  background: var(--cream)
}

.hero {
  min-height: 100vh;
  background: var(--espresso);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at -10% 50%, #a0622a 0%, transparent 55%), radial-gradient(ellipse 50% 50% at 110% 100%, #1e3f6a 0%, transparent 55%)
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255, 255, 255, .012) 40px, rgba(255, 255, 255, .013) 41px)
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(26, 143, 209, .16);
  border: 1px solid rgba(26, 143, 209, .38);
  color: var(--honey);
  border-radius: 4px;
  padding: 5px 12px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.3rem
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--honey);
  animation: blink 2s infinite
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .2
  }
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  color: var(--ivory);
  font-weight: 700;
  line-height: 1.07;
  margin-bottom: 1.3rem;
  letter-spacing: -.01em
}

.hero h1 strong {
  color: var(--honey);
  font-style: italic
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(250, 244, 236, .52);
  max-width: 430px;
  margin-bottom: 2.2rem
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.hbtn-main {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--caramel);
  color: var(--espresso);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: .93rem;
  padding: 13px 26px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all var(--tr);
  box-shadow: 0 3px 14px rgba(26, 143, 209, .4);
  letter-spacing: .01em
}

.hbtn-main:hover {
  background: var(--latte);
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(26, 143, 209, .45)
}

.hbtn-main .arr {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(13, 31, 53, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  transition: transform var(--tr)
}

.hbtn-main:hover .arr {
  transform: translateX(3px)
}

.hbtn-sec {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(250, 244, 236, .65);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: .93rem;
  padding: 13px 24px;
  border-radius: 6px;
  border: 1px solid rgba(26, 143, 209, .28);
  cursor: pointer;
  transition: all var(--tr)
}

.hbtn-sec:hover {
  border-color: rgba(26, 143, 209, .6);
  color: var(--ivory);
  background: rgba(26, 143, 209, .08)
}

/* Hero stat cards */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.hstat {
  background: rgba(13, 31, 53, .55);
  border: 1px solid rgba(26, 143, 209, .18);
  border-radius: 11px;
  padding: 1.3rem 1.4rem;
  backdrop-filter: blur(16px);
  transition: border-color var(--tr);
  animation: statIn .5s ease both
}

.hstat:nth-child(1) {
  animation-delay: .1s
}

.hstat:nth-child(2) {
  animation-delay: .18s
}

.hstat:nth-child(3) {
  animation-delay: .26s
}

.hstat:nth-child(4) {
  animation-delay: .34s
}

.hstat:nth-child(5) {
  animation-delay: .42s
}

@keyframes statIn {
  from {
    opacity: 0;
    transform: translateY(14px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hstat:hover {
  border-color: rgba(26, 143, 209, .42)
}

.hstat.wide {
  grid-column: 1/-1
}

/* How section */
.how-section {
  background: var(--ivory);
  padding: 4.5rem 0
}

.how-header {
  margin-bottom: 2.5rem
}

.how-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--espresso);
  margin-top: .4rem
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--parchment);
  border-radius: 11px;
  overflow: hidden
}

.how-step {
  padding: 1.8rem;
  border-right: 1px solid var(--parchment);
  transition: background var(--tr)
}

.how-step:last-child {
  border-right: none
}

.how-step:hover {
  background: var(--linen)
}

.how-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: .9rem
}

.how-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--caramel);
  line-height: 1;
  opacity: .3;
  margin-bottom: .6rem
}

.how-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: .4rem;
  font-family: 'Outfit', sans-serif
}

.how-step p {
  font-size: .82rem;
  color: var(--mist);
  line-height: 1.6
}

/* Home products */

/* ════════════════════════════════════════════
   PAGE: FORECAST — yeni tasarım
════════════════════════════════════════════ */
#pg-forecast {
  background: var(--cream)
}

/* ── Hero + ilçe seçimi ── */
.fc-hero {
  background: var(--espresso);
  position: relative;
  overflow: hidden;
  padding: 3rem 0 0;
}

.fc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 100% at -5% 50%, #a0622a 0%, transparent 52%),
    radial-gradient(ellipse 50% 60% at 110% 80%, #3d2314 0%, transparent 50%);
}

.fc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255, 255, 255, .011) 40px, rgba(255, 255, 255, .012) 41px);
}

.fc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.fc-hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.fc-hero-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ivory);
  font-weight: 700;
  margin-bottom: .3rem;
}

.fc-hero-sub {
  font-size: .88rem;
  color: rgba(250, 244, 236, .4)
}

/* Kıta filtreleri */
.fc-side-tabs {
  display: flex;
  gap: 5px;
  flex-shrink: 0
}

.side-tab {
  padding: 6px 14px;
  border-radius: 5px;
  border: 1px solid rgba(26, 143, 209, .25);
  background: rgba(250, 244, 236, .04);
  font-family: inherit;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(250, 244, 236, .45);
  cursor: pointer;
  transition: all var(--tr);
}

.side-tab:hover {
  border-color: rgba(26, 143, 209, .5);
  color: var(--honey)
}

.side-tab.active {
  background: var(--caramel);
  border-color: var(--caramel);
  color: var(--espresso);
  font-weight: 700
}

/* İlçe chip grid */
.fc-chips-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 7px;
  padding-bottom: 1.8rem;
}

.d-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 7px;
  border: 1px solid rgba(250, 244, 236, .08);
  background: rgba(250, 244, 236, .04);
  font-family: inherit;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(250, 244, 236, .55);
  cursor: pointer;
  transition: all var(--tr);
}

.d-chip:hover {
  border-color: rgba(26, 143, 209, .4);
  color: var(--honey);
  background: rgba(26, 143, 209, .1);
}

.d-chip.active {
  background: var(--caramel);
  border-color: var(--caramel);
  color: var(--espresso);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(26, 143, 209, .35);
}

.d-chip-icon {
  font-size: .95rem;
  flex-shrink: 0
}

/* Seçim prompt çizgisi */
.fc-select-hint {
  text-align: center;
  padding: 3rem 2rem;
  border: 2px dashed rgba(26, 143, 209, .2);
  border-radius: 10px;
  background: rgba(250, 244, 236, .03);
  color: rgba(250, 244, 236, .3);
  font-size: .9rem;
  margin-top: 0;
}

.fc-select-hint span {
  font-size: 2rem;
  display: block;
  margin-bottom: .6rem;
  opacity: .5
}

/* ── Ana içerik ── */
.forecast-body {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem
}

/* Başlık bar */
.wx-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--ivory);
  border-radius: 10px;
  border: 1px solid var(--linen);
  padding: 1rem 1.4rem;
}

.wx-title h2 {
  font-size: 1.5rem;
  color: var(--espresso);
  font-family: 'Cormorant Garamond', serif
}

.wx-title .upd {
  font-size: .73rem;
  color: var(--mist);
  margin-top: .15rem
}

.sim-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff0d0;
  border: 1px solid #e8c060;
  color: #7a5010;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
}

.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--espresso);
  color: var(--honey);
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr);
}

.refresh-btn:hover {
  background: var(--coffee);
  transform: translateY(-1px)
}

.refresh-btn.spin svg {
  animation: spin 1s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

/* ── Stat kartları (2 satır grid) ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 1.4rem;
}

.stat-card {
  background: var(--ivory);
  border-radius: 10px;
  border: 1px solid var(--linen);
  padding: 1.1rem 1.2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--tr);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--caramel), var(--honey));
}

.stat-card:hover {
  box-shadow: 0 4px 16px var(--shadow);
  transform: translateY(-2px)
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: .5rem
}

.stat-lbl {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: .2rem
}

.stat-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--espresso);
  line-height: 1
}

.stat-sub {
  font-size: .72rem;
  color: var(--mist);
  margin-top: .2rem
}

/* ── Skor + tavsiyeler yan yana ── */
.fc-main-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.2rem;
  margin-bottom: 2rem;
  align-items: start;
}

/* Skor kartı — dikey */
.score-card {
  background: var(--espresso);
  border-radius: 12px;
  padding: 2rem 1.6rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.score-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(160, 98, 42, .5) 0%, transparent 65%);
}

.score-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255, 255, 255, .01) 40px, rgba(255, 255, 255, .011) 41px);
}

.score-inner {
  position: relative;
  z-index: 1;
  width: 100%
}

.score-lbl {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(26, 143, 209, .6);
  margin-bottom: 1.2rem;
  display: block
}

.score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(78, 195, 240, .2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  background: rgba(250, 244, 236, .04);
  position: relative;
}

.score-circle::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(var(--caramel) 0deg, var(--honey) calc(var(--score-deg, 280deg)), rgba(250, 244, 236, .08) calc(var(--score-deg, 280deg)) 360deg);
  z-index: -1;
  border-radius: 50%;
}

.score-circle::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--espresso);
  z-index: 0;
}

.score-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--honey);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.score-denom {
  font-size: .8rem;
  color: rgba(250, 244, 236, .25);
  position: relative;
  z-index: 1
}

.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 4px;
  margin-bottom: .9rem;
}

.sp-amber {
  background: rgba(160, 98, 42, .25);
  color: var(--honey);
  border: 1px solid rgba(160, 98, 42, .35)
}

.score-bar-track {
  height: 5px;
  background: rgba(250, 244, 236, .08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: .8rem
}

.score-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s cubic-bezier(.4, 0, .2, 1)
}

.score-comment {
  font-size: .8rem;
  color: rgba(250, 244, 236, .48);
  line-height: 1.6;
  text-align: left
}

/* ════════════════════════════════════════════
   KAYAN İLETİŞİM BUTONU
════════════════════════════════════════════ */
.contact-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .7rem;
}

.contact-float-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--caramel), var(--honey));
  color: var(--espresso);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26, 143, 209, .4);
  transition: all var(--tr);
}

.contact-float-icon:hover {
  transform: scale(1.1);
}

.contact-float-menu {
  display: none;
  flex-direction: column;
  gap: .5rem;
  align-items: flex-end;
}

.contact-float-menu.open {
  display: flex;
}

.contact-float-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  background: var(--ivory);
  border: 1.5px solid var(--linen);
  border-radius: 50px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--espresso);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--tr);
  box-shadow: 0 2px 12px var(--shadow);
  white-space: nowrap;
}

.contact-float-item:hover {
  background: var(--caramel);
  color: var(--ivory);
  border-color: var(--caramel);
  transform: translateX(-4px);
}

/* ════════════════════════════════════════════
   TOPLULUK SAYFASI
════════════════════════════════════════════ */
.community-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.community-header {
  text-align: center;
  margin-bottom: 2rem;
}

.community-header h2 {
  font-size: 2rem;
  color: var(--espresso);
  margin-bottom: .5rem;
}

.community-header p {
  color: var(--mist);
  font-size: .95rem;
}

.chat-box {
  background: var(--ivory);
  border: 1.5px solid var(--linen);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 2px 20px var(--shadow);
}

.chat-messages {
  height: 420px;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  background: var(--cream);
}

.chat-msg {
  display: flex;
  gap: 10px;
  animation: fadeInUp .3s ease;
}

.chat-msg.own {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--caramel), var(--honey));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--espresso);
  flex-shrink: 0;
}

.chat-bubble {
  max-width: 70%;
  position: relative;
}

/* Sil butonu — sadece kendi mesajlarında görünür, hover'da daha belirgin */
.chat-del-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--linen);
  color: var(--mist);
  cursor: pointer;
  font-size: .78rem;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(13,31,53,.12);
  transition: all .2s cubic-bezier(.4,0,.2,1);
  z-index: 2;
}

.chat-msg.own .chat-bubble:hover .chat-del-btn,
.chat-bubble:focus-within .chat-del-btn {
  display: flex;
}

.chat-del-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
  transform: scale(1.08);
}

/* Mobilde her zaman görünsün (hover yok) */
@media (max-width: 760px) {
  .chat-msg.own .chat-del-btn {
    display: flex;
    width: 22px;
    height: 22px;
    font-size: .7rem;
  }
}

.chat-name {
  font-size: .72rem;
  color: var(--mist);
  margin-bottom: 3px;
  font-weight: 600;
}

.chat-msg.own .chat-name {
  text-align: right;
}

.chat-text {
  background: var(--ivory);
  border: 1px solid var(--linen);
  border-radius: 12px 12px 12px 0;
  padding: .6rem .9rem;
  font-size: .88rem;
  color: var(--espresso);
  line-height: 1.5;
  box-shadow: 0 1px 4px var(--shadow);
}

.chat-msg.own .chat-text {
  background: linear-gradient(135deg, var(--caramel), var(--latte));
  color: var(--ivory);
  border-color: transparent;
  border-radius: 12px 12px 0 12px;
}

.chat-time {
  font-size: .68rem;
  color: var(--sand);
  margin-top: 3px;
}

.chat-input-wrap {
  display: flex;
  gap: .7rem;
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--linen);
  background: var(--ivory);
}

.chat-inp {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--parchment);
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  color: var(--espresso);
  background: var(--cream);
  outline: none;
  transition: border-color var(--tr);
}

.chat-inp:focus {
  border-color: var(--caramel);
}

.chat-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--caramel), var(--honey));
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
  color: var(--espresso);
}

.chat-send:hover {
  transform: scale(1.08);
  box-shadow: 0 3px 12px rgba(26, 143, 209, .3);
}

.online-count {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: .7rem 1.2rem;
  border-bottom: 1px solid var(--linen);
  font-size: .8rem;
  color: var(--mist);
  background: var(--ivory);
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.2); }
}

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

/* ── İLÇE GRUBU CHIPS — Üst şerit ── */
.chat-groups {
  display: flex;
  gap: .45rem;
  padding: .75rem .9rem;
  overflow-x: auto;
  overflow-y: hidden;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--linen);
  scrollbar-width: thin;
  scrollbar-color: var(--parchment) transparent;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.chat-groups::-webkit-scrollbar {
  height: 6px;
}
.chat-groups::-webkit-scrollbar-track {
  background: transparent;
}
.chat-groups::-webkit-scrollbar-thumb {
  background: var(--parchment);
  border-radius: 3px;
}
.chat-groups::-webkit-scrollbar-thumb:hover {
  background: var(--sand);
}

.chat-group-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .42rem .85rem .42rem .55rem;
  border: 1.5px solid var(--linen);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--mist);
  font-size: .78rem;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--tr);
  flex-shrink: 0;
  position: relative;
  letter-spacing: .01em;
}

.chat-group-chip > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: .9rem;
  border-radius: 50%;
  background: var(--cream);
  transition: all var(--tr);
}

.chat-group-chip:hover {
  background: var(--cream);
  border-color: var(--parchment);
  color: var(--espresso);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px var(--shadow);
}

.chat-group-chip:hover > span:first-child {
  background: var(--linen);
  transform: scale(1.08);
}

.chat-group-chip.active {
  background: linear-gradient(135deg, var(--caramel), var(--latte));
  border-color: transparent;
  color: var(--ivory);
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(26, 143, 209, .28);
  transform: translateY(-1px);
}

.chat-group-chip.active > span:first-child {
  background: rgba(255, 255, 255, .22);
  backdrop-filter: blur(4px);
}

.chat-group-chip:active {
  transform: translateY(0);
}

.chat-group-chip:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 2px;
}

/* Mobil: chip'ler biraz daha sıkı */
@media (max-width: 600px) {
  .chat-groups {
    padding: .6rem .7rem;
    gap: .35rem;
  }
  .chat-group-chip {
    padding: .35rem .7rem .35rem .45rem;
    font-size: .74rem;
  }
  .chat-group-chip > span:first-child {
    width: 20px;
    height: 20px;
    font-size: .82rem;
  }
}

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

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

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

  .fc-chips-wrap {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr))
  }
}

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

/* ════════════════════════════════════════════
   PAGE: SHOP
════════════════════════════════════════════ */
#pg-shop {
  background: var(--cream)
}

/* ════════════════════════════════════════════
   PAGE: PRODUCT DETAIL
════════════════════════════════════════════ */
#pg-product {
  background: var(--cream)
}

/* ════════════════════════════════════════════
   PAGE: CART
════════════════════════════════════════════ */
#pg-cart {
  background: var(--cream)
}

/* ════════════════════════════════════════════
   PAGE: FAVORITES
════════════════════════════════════════════ */
#pg-favorites {
  background: var(--cream)
}

/* ════════════════════════════════════════════
   PAGE: ACCOUNT — yeni tasarım
════════════════════════════════════════════ */
#pg-account {
  background: var(--cream)
}

.ac-hero {
  background: var(--espresso);
  padding: 2.5rem 0 0;
  position: relative;
  overflow: hidden
}

.ac-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at -5% 50%, #a0622a 0%, transparent 52%), radial-gradient(ellipse 40% 60% at 105% 80%, #3d2314 0%, transparent 50%)
}

.ac-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255, 255, 255, .011) 40px, rgba(255, 255, 255, .012) 41px)
}

.ac-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: flex-end;
  gap: 2rem
}

.ac-avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--caramel), var(--honey));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  flex-shrink: 0;
  border: 3px solid rgba(78, 195, 240, .35);
  box-shadow: 0 4px 20px rgba(13, 31, 53, .4);
  margin-bottom: -20px
}

.ac-hero-info {
  padding-bottom: 1.4rem;
  flex: 1
}

.ac-hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: .2rem
}

.ac-hero-email {
  font-size: .82rem;
  color: rgba(250, 244, 236, .4);
  margin-bottom: .8rem
}

.ac-tab-bar {
  background: var(--ivory);
  border-bottom: 1px solid var(--parchment);
  position: sticky;
  top: 62px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(13, 31, 53, .05)
}

.ac-tab-bar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto
}

.ac-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 1rem 1.2rem;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: .86rem;
  font-weight: 500;
  color: var(--mist);
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
  position: relative;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px
}

.ac-tab:hover {
  color: var(--brown)
}

.ac-tab.active {
  color: var(--caramel);
  font-weight: 700;
  border-bottom-color: var(--caramel)
}

.ac-body {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem
}

.ac-sec {
  display: none
}

.ac-sec.active {
  display: block
}

.ac-sec-head {
  margin-bottom: 1.8rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap
}

.ac-sec-head h2 {
  font-size: 1.6rem;
  color: var(--espresso)
}

.ac-sec-head p {
  font-size: .83rem;
  color: var(--mist);
  margin-top: .2rem
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem
}

.profile-card {
  background: var(--ivory);
  border-radius: 11px;
  border: 1px solid var(--linen);
  padding: 1.5rem
}

.profile-card h4 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 1.2rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--linen)
}

.flabel {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 5px
}

.fgroup {
  margin-bottom: 1rem
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.inp {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--parchment);
  border-radius: 7px;
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  color: var(--espresso);
  background: #fff;
  outline: none;
  transition: all var(--tr)
}

.inp:focus {
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px rgba(26, 143, 209, .1)
}

.inp::placeholder {
  color: var(--sand)
}

textarea.inp {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6
}

.sg {
  margin-bottom: 1.8rem
}

.sg h4 {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--linen)
}

.srow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--linen)
}

.srow:last-child {
  border-bottom: none
}

.srow-info h5 {
  font-size: .9rem;
  font-weight: 500;
  color: var(--espresso);
  margin-bottom: 2px
}

.srow-info p {
  font-size: .76rem;
  color: var(--mist)
}

.tgl {
  position: relative;
  width: 42px;
  height: 23px;
  flex-shrink: 0
}

.tgl input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute
}

.tgl-track {
  position: absolute;
  inset: 0;
  border-radius: 11.5px;
  background: var(--parchment);
  cursor: pointer;
  transition: .28s
}

.tgl-track::before {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: .28s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2)
}

.tgl input:checked~.tgl-track {
  background: var(--caramel)
}

.tgl input:checked~.tgl-track::before {
  transform: translateX(19px)
}

/* ════════════════════════════════════════════
   AUTH MODAL
════════════════════════════════════════════ */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(13, 31, 53, .72);
  backdrop-filter: blur(6px);
  padding: 1rem;
}

.auth-overlay.open {
  display: flex
}

.auth-modal {
  width: 100%;
  max-width: 900px;
  background: var(--espresso);
  border-radius: 16px;
  border: 1px solid rgba(26, 143, 209, .18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  max-height: 95vh;
}

/* Kapat butonu */
.auth-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(250, 244, 236, .08);
  border: 1px solid rgba(250, 244, 236, .12);
  color: rgba(250, 244, 236, .5);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
}

.auth-close:hover {
  background: rgba(250, 244, 236, .15);
  color: var(--ivory)
}

/* ── Sol dekoratif panel ── */
.auth-deco {
  background: linear-gradient(145deg, #162d4a 0%, #0d1f35 60%, #020810 100%);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-deco::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 143, 209, .28) 0%, transparent 65%);
}

.auth-deco::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 195, 240, .12) 0%, transparent 65%);
}

.auth-deco-texture {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 40px,
      rgba(255, 255, 255, .012) 40px, rgba(255, 255, 255, .013) 41px);
}

.auth-deco-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
}

.auth-deco-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--caramel), var(--honey));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(26, 143, 209, .4);
}

.auth-deco-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ivory);
}

.auth-deco-name em {
  font-style: italic;
  color: var(--honey)
}

.auth-deco-mid {
  position: relative;
  z-index: 1
}

.auth-deco-mid h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--ivory);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .9rem;
}

.auth-deco-mid h2 strong {
  color: var(--honey);
  font-style: italic
}

.auth-deco-mid p {
  font-size: .83rem;
  color: rgba(250, 244, 236, .38);
  line-height: 1.65;
  max-width: 260px;
}

.auth-deco-feats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.auth-feat {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  color: rgba(250, 244, 236, .45);
}

.auth-feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--caramel);
  flex-shrink: 0;
}

/* ── Sağ form paneli ── */
.auth-form-panel {
  background: var(--ivory);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Tab bar */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.8rem;
  background: var(--linen);
  border-radius: 8px;
  padding: 3px;
  border: 1px solid var(--parchment);
}

.auth-tab {
  flex: 1;
  padding: 9px;
  border: none;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: .86rem;
  font-weight: 500;
  color: var(--mist);
  transition: all var(--tr);
}

.auth-tab.active {
  background: var(--espresso);
  color: var(--honey);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13, 31, 53, .25);
}

/* Form başlık */
.auth-form-title {
  font-size: 1.2rem;
  color: var(--espresso);
  margin-bottom: .3rem
}

.auth-form-sub {
  font-size: .8rem;
  color: var(--mist);
  margin-bottom: 1.4rem
}

/* Hata */
.auth-err {
  background: #fde8e8;
  border: 1px solid #f5c0c0;
  color: #8c2a1a;
  padding: 9px 13px;
  border-radius: 7px;
  font-size: .82rem;
  margin-bottom: 1rem;
  display: none;
  align-items: center;
  gap: 7px;
  border-left: 3px solid #e87060;
}

.auth-err.show {
  display: flex
}

/* Input */
.auth-inp {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--parchment);
  border-radius: 7px;
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  color: var(--espresso);
  background: #fff;
  outline: none;
  transition: all var(--tr);
}

.auth-inp:focus {
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px rgba(26, 143, 209, .1);
}

.auth-inp::placeholder {
  color: var(--sand)
}

.auth-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 5px;
}

.auth-fgroup {
  margin-bottom: .9rem
}

.auth-frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem
}

/* Giriş / Kayıt butonu */
.auth-submit {
  width: 100%;
  padding: 12px;
  margin-top: .4rem;
  background: linear-gradient(135deg, var(--caramel), var(--latte));
  color: var(--espresso);
  border: none;
  border-radius: 7px;
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--tr);
  box-shadow: 0 3px 14px rgba(26, 143, 209, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(26, 143, 209, .42);
}

.auth-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none
}

.auth-submit .auth-spin {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(13, 31, 53, .25);
  border-top-color: var(--espresso);
  border-radius: 50%;
  animation: authspin .7s linear infinite;
}

.auth-submit.loading .auth-spin {
  display: block
}

.auth-submit.loading .auth-btn-txt {
  display: none
}

@keyframes authspin {
  to {
    transform: rotate(360deg)
  }
}

/* Ayraç */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: .9rem 0;
  color: var(--mist);
  font-size: .75rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--parchment);
}

/* Şifremi unuttum */
.auth-forgot {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--caramel);
  font-family: inherit;
  font-size: .8rem;
  margin-top: .5rem;
  padding: 0;
  text-align: left;
  transition: color var(--tr);
  display: block;
}

.auth-forgot:hover {
  color: var(--latte)
}

/* Başarı mesajı */
.auth-success {
  background: #e8f5e0;
  border: 1px solid #b8dca0;
  color: #3d6b2a;
  padding: 9px 13px;
  border-radius: 7px;
  font-size: .82rem;
  margin-bottom: 1rem;
  display: none;
  align-items: center;
  gap: 7px;
  border-left: 3px solid #5a9a3a;
}

.auth-success.show {
  display: flex
}

/* Güvenlik notu */
.auth-security {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--linen);
  font-size: .73rem;
  color: var(--mist);
  line-height: 1.5;
}

.auth-security-icon {
  font-size: .85rem;
  flex-shrink: 0;
  margin-top: 1px
}

/* Mobil */
@media(max-width:640px) {
  .auth-modal {
    grid-template-columns: 1fr;
    max-width: 420px
  }

  .auth-deco {
    display: none
  }
}

/* ── Yukarı çık butonu ── */
.scroll-top {
  position: fixed;
  bottom: 5.5rem;
  left: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--caramel), var(--latte));
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 143, 209, .4);
  opacity: 0;
  transform: translateY(12px);
  transition: all .25s cubic-bezier(.4,0,.2,1);
  z-index: 890;
  pointer-events: none;
}
.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
}

@media(max-width:960px) {.hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr
  }

  .how-grid {
    grid-template-columns: 1fr 1fr
  }

  .how-step {
    border-bottom: 1px solid var(--parchment)
  }

  .nav-links {
    display: none
  }

  .ac-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem
  }

  .profile-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:600px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr
  }

  .how-grid {
    grid-template-columns: 1fr
  }

  .how-step {
    border-right: none
  }.frow {
    grid-template-columns: 1fr
  }

  .hero h1 {
    font-size: 2.6rem
  }.wrap, .forecast-body {
    padding-left: 1rem;
    padding-right: 1rem
  }

  /* Mobilde navbar kompakt */
  .nav-inner {
    padding: 0 .8rem;
    gap: .5rem
  }

  .nav-links {
    display: none
  }

  .nav-account {
    padding: 5px 10px;
    font-size: .78rem;
    gap: 4px
  }

  .nav-logo-img {
    height: 40px
  }

  /* Mobilde ürünler 2'li yan yana */

  /* Mobilde ürün kartı kompakt */
}

/* ════════════════════════════════════════════════════════
   GRAM SEÇİCİ — Ürün detayda + Hızlı popup ortak chip stili
   ════════════════════════════════════════════════════════ */

/* Gram chip — hem detay hem popup'ta aynı */

/* ── Sepette gram rozeti ── */

/* ════════════════════════════════════════════════════════
   HIZLI GRAM SEÇİCİ POPUP — Mağaza kartından açılır
   ════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════
   HAVA DURUMU — SAĞ PANEL: ÖNERİLEN ÜRÜNLER
   ════════════════════════════════════════════════════════ */

/* Üst başlık */

/* Liste */

/* Tek ürün satırı */

/* Alt buton */

/* Dar ekranlarda: ürün adı tek satıra düşmesin, buton kayabilir */

/* ════════════════════════════════════════════════════════
   SOHBET — DOSYA / GÖRSEL EKLEME
   ════════════════════════════════════════════════════════ */

/* Ataç butonu */
.chat-att-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--parchment);
  background: var(--cream);
  color: var(--mist);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--tr);
  font-family: inherit;
}

.chat-att-btn:hover {
  background: var(--linen);
  color: var(--caramel);
  border-color: var(--latte);
  transform: scale(1.04);
}

.chat-att-btn:active {
  transform: scale(0.96);
}

.chat-att-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Önizleme paneli (gönderim öncesi) */
.chat-file-preview {
  display: none;
  align-items: center;
  gap: .7rem;
  padding: .7rem .9rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--ivory) 100%);
  border-top: 1px solid var(--linen);
  border-bottom: 1px solid var(--linen);
  position: relative;
  animation: fadeInUp .2s ease;
}

.chat-file-preview.open {
  display: flex;
}

.chat-file-preview.uploading {
  opacity: .55;
  pointer-events: none;
}

.chat-file-preview.uploading::after {
  content: 'Yükleniyor...';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  color: var(--brown);
  background: rgba(248, 252, 255, .85);
}

.chat-fp-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid var(--linen);
  flex-shrink: 0;
}

.chat-fp-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--caramel), var(--honey));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.chat-fp-meta {
  flex: 1;
  min-width: 0;
}

.chat-fp-name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--espresso);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-fp-size {
  font-size: .72rem;
  color: var(--mist);
  margin-top: 1px;
}

.chat-fp-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--ivory);
  color: var(--mist);
  cursor: pointer;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
  flex-shrink: 0;
}

.chat-fp-close:hover {
  background: #fee;
  color: #c53030;
  transform: rotate(90deg);
}

/* Mesaj balonundaki ekler */
.chat-att {
  display: block;
  margin-top: 6px;
  margin-bottom: 4px;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  max-width: 100%;
}

/* Görsel eki */
.chat-att-img {
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow);
  transition: transform var(--tr);
  background: var(--cream);
  max-width: 260px;
}

.chat-att-img:hover {
  transform: scale(1.01);
}

.chat-att-img img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

/* Dosya eki (PDF, ZIP, vb) */
.chat-att-file {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .75rem;
  background: var(--cream);
  border: 1px solid var(--linen);
  border-radius: 10px;
  color: var(--espresso);
  transition: all var(--tr);
  min-width: 220px;
}

.chat-att-file:hover {
  background: var(--linen);
  border-color: var(--latte);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px var(--shadow);
}

.chat-msg.own .chat-att-file {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
}

.chat-msg.own .chat-att-file:hover {
  background: rgba(255, 255, 255, .22);
}

.chat-att-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--caramel), var(--honey));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: #fff;
}

.chat-msg.own .chat-att-icon {
  background: rgba(255, 255, 255, .25);
  backdrop-filter: blur(4px);
}

.chat-att-meta {
  flex: 1;
  min-width: 0;
}

.chat-att-name {
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1px;
}

.chat-att-size {
  font-size: .7rem;
  opacity: .8;
}

/* Lightbox — görsele tıklayınca tam ekran */
.chat-img-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 31, 53, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  cursor: zoom-out;
  padding: 2rem;
}

.chat-img-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.chat-img-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, .5);
}

.chat-img-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
}

.chat-img-close:hover {
  background: rgba(255, 255, 255, .25);
  transform: rotate(90deg);
}

/* Send butonu disabled state */
.chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 480px) {
  .chat-att-img { max-width: 200px; }
  .chat-att-img img { max-height: 200px; }
  .chat-att-file { min-width: 0; }
  .chat-att-btn { width: 36px; height: 36px; }
}

/* ════════════════════════════════════════════════════════
   BALIK AVCILIK HARİTASI
   ════════════════════════════════════════════════════════ */

.fish-map-section {
  padding: 4rem 0 4.5rem;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
}

.fm-section-sub {
  font-size: 1rem;
  color: var(--mist);
  margin-top: .55rem;
  max-width: 640px;
  line-height: 1.55;
}

/* Filtre bandı */
.fm-filters {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 2rem 0 1.4rem;
  flex-wrap: wrap;
}

.fm-filter-label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: .01em;
  flex-shrink: 0;
}

.fm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  flex: 1;
}

.fm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .45rem .9rem .45rem .75rem;
  border: 1.5px solid var(--linen);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--espresso);
  font-family: 'Outfit', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr);
  position: relative;
}

.fm-chip:hover {
  border-color: var(--parchment);
  background: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 2px 10px var(--shadow);
}

.fm-chip.active {
  background: linear-gradient(135deg, var(--caramel), var(--latte));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 143, 209, .3);
}

.fm-chip-emoji {
  font-size: 1rem;
}

.fm-chip-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: pulse-dot 2.4s infinite;
  margin-right: 2px;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  50%      { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

.fm-chip.active .fm-chip-live {
  background: #fff;
}

/* Layout: harita solda, info sağda */
.fm-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.fm-map-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
  border: 1px solid var(--linen);
  background: #fff;
}

#fish-map {
  width: 100%;
  height: 520px;
  background: var(--cream);
  z-index: 1;
}

/* Leaflet popup override — site tasarım diline uydurma */
.leaflet-container {
  font-family: 'Outfit', sans-serif !important;
}

.leaflet-control-attribution {
  font-size: .65rem !important;
  background: rgba(255,255,255,.85) !important;
  backdrop-filter: blur(4px);
}

.leaflet-bar a {
  background: #fff !important;
  color: var(--espresso) !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

/* Özel pin tasarımı */
.fm-marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2.5px solid var(--parchment);
  box-shadow: 0 4px 12px rgba(13, 31, 53, .2);
  cursor: pointer;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  font-size: 1.05rem;
  position: relative;
}

.fm-marker:hover {
  transform: scale(1.12) translateY(-2px);
  z-index: 1000 !important;
  box-shadow: 0 6px 18px rgba(13, 31, 53, .3);
}

.fm-marker.is-hot {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #fff;
  color: #fff;
}

.fm-marker.is-hot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(34, 197, 94, .4);
  animation: pulse-ring 2.6s infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.fm-marker.is-cold {
  background: var(--ivory);
  border-color: var(--sand);
  color: var(--mist);
  opacity: .85;
}

.fm-marker.is-selected {
  background: linear-gradient(135deg, var(--caramel), var(--latte));
  border-color: #fff;
  color: #fff;
  transform: scale(1.18);
  z-index: 999 !important;
  box-shadow: 0 6px 20px rgba(26, 143, 209, .45);
  animation: marker-pop .35s ease;
}

@keyframes marker-pop {
  0%   { transform: scale(.7); }
  60%  { transform: scale(1.3); }
  100% { transform: scale(1.18); }
}

/* Lejant */
.fm-legend {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  padding: .55rem .8rem;
  border-radius: 10px;
  border: 1px solid var(--linen);
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 500;
  box-shadow: 0 4px 14px var(--shadow);
}

.fm-leg-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  color: var(--espresso);
  font-weight: 600;
}

.fm-pin-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid #fff;
}

.fm-pin-hot      { background: linear-gradient(135deg, #22c55e, #16a34a); }
.fm-pin-cold     { background: var(--ivory); border-color: var(--sand); }
.fm-pin-selected { background: linear-gradient(135deg, var(--caramel), var(--latte)); }

/* Bilgi paneli */
.fm-info {
  background: var(--ivory);
  border-radius: 14px;
  border: 1px solid var(--linen);
  padding: 1.4rem;
  box-shadow: 0 6px 22px var(--shadow);
  min-height: 520px;
  overflow-y: auto;
  max-height: 520px;
}

.fm-info-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--mist);
}

.fm-info-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: .7;
}

.fm-info-empty h4 {
  font-size: 1.05rem;
  color: var(--espresso);
  margin-bottom: .55rem;
}

.fm-info-empty p {
  font-size: .85rem;
  line-height: 1.55;
}

.fm-info-card {
  animation: fadeInUp .3s ease;
}

.fm-info-head {
  display: flex;
  gap: .9rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--linen);
}

.fm-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--caramel), var(--honey));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(26, 143, 209, .25);
}

.fm-info-head h4 {
  font-size: 1.15rem;
  color: var(--espresso);
  margin-bottom: 3px;
  font-weight: 700;
}

.fm-info-season {
  font-size: .72rem;
  color: var(--mist);
  font-weight: 600;
  letter-spacing: .02em;
}

.fm-info-season.is-live {
  color: #16a34a;
}

.fm-info-row {
  font-size: .82rem;
  color: var(--mist);
  margin-bottom: .55rem;
  line-height: 1.5;
}

.fm-info-row b {
  color: var(--espresso);
  font-weight: 700;
}

.fm-info-note {
  font-size: .85rem;
  color: var(--espresso);
  line-height: 1.55;
  margin-bottom: .75rem;
  padding: .65rem .85rem;
  background: var(--cream);
  border-left: 3px solid var(--latte);
  border-radius: 0 8px 8px 0;
}

.fm-info-gear {
  font-size: .78rem;
  color: var(--brown);
  font-weight: 600;
  padding: .5rem .8rem;
  background: linear-gradient(135deg, rgba(26,143,209,.08), rgba(78,195,240,.04));
  border-radius: 8px;
  margin-bottom: .8rem;
}

.fm-info-divider {
  height: 1px;
  background: var(--linen);
  margin: 1rem 0;
}

.fm-info-sub {
  font-size: .76rem;
  font-weight: 700;
  color: var(--espresso);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .55rem;
}

.fm-info-spots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.fm-spot-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: .35rem .7rem;
  border: 1px solid var(--linen);
  background: var(--ivory);
  border-radius: 8px;
  font-family: inherit;
  font-size: .77rem;
  color: var(--espresso);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr);
}

.fm-spot-btn:hover {
  background: var(--cream);
  border-color: var(--latte);
  color: var(--brown);
  transform: translateY(-1px);
}

.fm-info-fishlist {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fm-fish-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: .55rem .8rem;
  border: 1px solid var(--linen);
  background: var(--ivory);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--tr);
  font-family: inherit;
  text-align: left;
  width: 100%;
}

.fm-fish-row:hover {
  background: var(--cream);
  border-color: var(--latte);
  transform: translateX(2px);
}

.fm-fish-row.is-live {
  border-left: 3px solid #22c55e;
}

.fm-fish-row-em {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.fm-fish-row-name {
  font-size: .85rem;
  color: var(--espresso);
  font-weight: 600;
}

.fm-fish-empty {
  font-size: .82rem;
  color: var(--mist);
  font-style: italic;
  padding: .5rem;
  text-align: center;
}

.fm-cta {
  width: 100%;
  padding: .8rem;
  background: linear-gradient(135deg, var(--caramel), var(--latte));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr);
  letter-spacing: .01em;
}

.fm-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 143, 209, .35);
}

/* Mobil */
@media (max-width: 880px) {
  .fm-layout {
    grid-template-columns: 1fr;
  }
  #fish-map {
    height: 420px;
  }
  .fm-info {
    min-height: auto;
    max-height: 520px;
  }
}

@media (max-width: 540px) {
  .fish-map-section { padding: 2.5rem 0 3rem; }
  #fish-map { height: 360px; }
  .fm-info { padding: 1.1rem; }
  .fm-filters { gap: .6rem; }
  .fm-legend {
    bottom: 8px; left: 8px;
    padding: .4rem .65rem;
  }
  .fm-leg-item { font-size: .66rem; }
}
