/* 🌟 HAVA DURUMU MASTER DESIGN SYSTEM (Eczaneler & Ref 1 + Ref 2 Harmonized) */

.weather-portal {
  background: #f8fafc;
  min-height: 100vh;
  padding-bottom: 5rem;
  color: #1e293b;
  padding-top: calc(var(--global-header-offset) + 0.5rem) !important;
}

.weather-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 🌟 ECZANE & PAZAR STYLE MASTER HERO HEADER */
.weather-hero {
  background: linear-gradient(135deg, #1e293b 0%, #0284c7 100%) !important;
  margin-top: 0 !important;
  border-radius: 24px !important;
  padding: 1.5rem !important;
  margin-bottom: 0.75rem !important;
  min-height: 210px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.weather-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.weather-hero h1 {
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  margin: 0 0 0.35rem 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  letter-spacing: -0.01em !important;
  color: #ffffff !important;
}

.weather-hero h1 i {
  color: #38bdf8 !important;
  font-size: 1.45rem !important;
}

.weather-hero-body {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 0.5rem !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.weather-hero-body p {
  opacity: 0.92 !important;
  font-size: 0.92rem !important;
  margin: 0 0 0.4rem 0 !important;
  font-weight: 500 !important;
  color: #ffffff !important;
}

/* 🌟 MİNİMALİST SEGMENTED TAB BAR (%100 Eczaneler ile Birebir Eşit) */
.weather-tabs-bar {
  display: flex !important;
  gap: 6px !important;
  width: 100% !important;
  background: rgba(15, 23, 42, 0.45) !important;
  padding: 4px !important;
  border-radius: 50px !important;
  margin-top: 0.65rem !important;
  box-sizing: border-box !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.weather-tab-pill {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 8px 10px !important;
  border-radius: 50px !important;
  border: none !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: nowrap !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.weather-tab-pill:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.weather-tab-pill.active {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

[x-cloak] {
  display: none !important;
}

.weather-tab-content {
  animation: fadeIn 0.4s ease-out;
}

.weather-tab-content.active {
  display: block !important;
}

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

/* 🌟 REF 1 INSPIRED: APPLE / iOS 17 WEATHER MASTER CARD */
.weather-hero-master-card {
  position: relative;
  border-radius: 32px;
  padding: 1.75rem 1.5rem 1.5rem;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 2rem;
  transition: background 1s ease;
}

.weather-hero-master-card.day-mode {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 40%, #0f172a 100%);
}

.weather-hero-master-card.night-mode {
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%);
}

.master-card-glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  animation: pulseGlow 6s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

.master-card-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.master-left {
  position: relative;
}

.master-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 0.75rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
}

.master-temp-row {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.master-temp {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -2px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  font-family: system-ui, -apple-system, sans-serif;
}

.master-temp-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.master-desc {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.master-range {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.master-stat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.master-pill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.master-hero-icon-wrapper {
  position: absolute;
  top: -0.5rem;
  right: -1rem;
  z-index: 5;
  pointer-events: none;
}

.floating-3d-icon {
  font-size: 5.5rem;
  color: #fde047;
  filter: drop-shadow(0 15px 30px rgba(253, 224, 71, 0.45));
  animation: float3D 4s ease-in-out infinite;
}

@keyframes float3D {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}

/* REF 1 INSPIRED: MINI 5-DAY STRIP INSIDE HERO */
.master-mini-forecast-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.mini-forecast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: 16px;
  transition: all 0.3s;
}

.mini-forecast-item.active,
.mini-forecast-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.mini-day-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

.mini-icon i {
  font-size: 1.4rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.mini-temps {
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  gap: 4px;
}

.mini-temps .max { color: #ffffff; }
.mini-temps .min { color: rgba(255, 255, 255, 0.65); }

/* Integrated Master Solar Widget inside Hero Card */
.master-solar-widget {
  background: rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 16px;
  margin: 0;
  position: relative;
  z-index: 2;
}

.master-solar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
}

.solar-status-tag {
  background: rgba(255, 255, 255, 0.18);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
}

.master-solar-chart {
  position: relative;
}

.master-solar-svg {
  width: 100%;
  height: 90px;
}

.master-solar-times {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: -16px;
}

.m-time-item small {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2px;
}

.m-time-item strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

/* 🌟 DESKTOP ENHANCEMENTS (>= 992px) */
@media (min-width: 992px) {
  .weather-hero-master-card {
    padding: 2.5rem 2.75rem 2rem;
    border-radius: 36px;
    box-shadow: 0 30px 70px rgba(2, 132, 199, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  }

  .master-card-body {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2rem;
  }

  .master-hero-icon-wrapper {
    top: -0.5rem;
    right: 0.5rem;
    left: auto;
  }

  .floating-3d-icon {
    font-size: 6rem;
    filter: drop-shadow(0 20px 35px rgba(253, 224, 71, 0.5));
  }

  .master-temp {
    font-size: 5.5rem;
  }

  .master-desc {
    font-size: 1.6rem;
  }

  .master-range {
    font-size: 0.95rem;
  }

  .master-stat-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 0.5rem;
  }

  .master-pill {
    padding: 10px 18px;
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    justify-content: flex-start;
  }

  .master-pill:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  .master-solar-widget {
    margin: 0;
    padding: 1.25rem 1.5rem;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  }

  .master-solar-svg {
    height: 105px;
  }

  .master-mini-forecast-strip {
    padding: 14px 20px;
    gap: 14px;
    border-radius: 28px;
  }

  .mini-forecast-item {
    padding: 10px 8px;
  }

  .mini-forecast-item:hover {
    transform: translateY(-3px) scale(1.03);
  }
}

/* 🌟 REF 2 INSPIRED: 4-COLUMN GLASSMORPHIC FLOATING CARDS GRID */
.weather-glass-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 2rem;
}

.weather-glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.weather-glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.3);
}

.glass-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.glass-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #ffffff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.weather-glass-card:hover .glass-icon-circle {
  transform: scale(1.1) rotate(-5deg);
}

.glass-card-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

.glass-card-tag.hot { background: #fff7ed; color: #ea580c; }
.glass-card-tag.humid { background: #eff6ff; color: #2563eb; }
.glass-card-tag.wind { background: #f0f9ff; color: #0284c7; }
.glass-card-tag.uv { background: #f5f3ff; color: #7c3aed; }

.glass-card-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 0.35rem;
  font-family: system-ui, -apple-system, sans-serif;
}

.glass-card-val small {
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748b;
}

.glass-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.glass-card-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Solar & Layout Top */
.weather-layout-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.premium-solar-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  padding: 1.5rem 2rem;
  color: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.solar-svg {
  width: 100%;
  height: 160px;
}

.solar-times-overlay {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: -5px;
}

.time-block small {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
}

.time-block strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

/* Weather Sections */
.weather-section {
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  padding: 1.75rem 2rem;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.section-title-weather {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scroll-hint {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

/* 🌟 ANIMATED 48-HOUR FORECAST MASTER CARD */
.hourly-animated-master-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  border-radius: 32px;
  padding: 1.75rem 2rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.3);
}

.hourly-ambient-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22), transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  animation: hourlyGlowPulse 7s infinite ease-in-out;
}

@keyframes hourlyGlowPulse {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.5; }
  50% { transform: scale(1.25) translate(-30px, 20px); opacity: 0.8; }
}

.hourly-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.hourly-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hourly-animated-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  border-radius: 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
  animation: floatClock 3s ease-in-out infinite;
}

@keyframes floatClock {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-6deg); }
}

.hourly-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.3px;
}

.hourly-card-subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 2px 0 0 0;
}

.hourly-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hourly-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #38bdf8;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Hourly Slider */
.hourly-container-relative {
  position: relative;
  z-index: 2;
}

.hourly-wrapper {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 10px 4px 15px 4px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.hourly-wrapper.is-dragging {
  cursor: grabbing !important;
  scroll-behavior: auto !important;
}

.hourly-wrapper.is-dragging .hourly-box {
  pointer-events: none !important;
}

.hourly-wrapper::-webkit-scrollbar {
  display: none;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: all 0.3s;
}

.nav-arrow:hover {
  background: #0ea5e9;
  color: white;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.6);
}

.nav-arrow.prev { left: 4px; }
.nav-arrow.next { right: 4px; }

.hourly-box {
  flex: 0 0 105px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.25rem 0.75rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.hourly-box:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.25);
}

.hourly-box.is-now {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.3) 0%, rgba(3, 105, 161, 0.2) 100%);
  border: 2px solid #38bdf8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4), inset 0 0 15px rgba(56, 189, 248, 0.2);
  animation: currentHourPulse 3s infinite ease-in-out;
}

@keyframes currentHourPulse {
  0%, 100% { border-color: #38bdf8; box-shadow: 0 0 20px rgba(56, 189, 248, 0.4); }
  50% { border-color: #0284c7; box-shadow: 0 0 30px rgba(56, 189, 248, 0.7); }
}

.now-badge {
  font-size: 0.62rem;
  font-weight: 900;
  background: #0ea5e9;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.5);
}

.h-icon-wrapper {
  margin: 4px 0;
  transition: transform 0.3s ease;
}

.hourly-box:hover .h-icon-wrapper {
  transform: scale(1.2) rotate(6deg);
}

.h-icon-3d {
  font-size: 1.8rem;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.hourly-box .h-time {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.hourly-box .h-day {
  font-size: 0.65rem;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
}

.hourly-box .h-temp {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.hourly-box .h-desc {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.h-day {
  font-size: 0.65rem;
  font-weight: 800;
  color: #0284c7;
  text-transform: uppercase;
}

.h-time {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
}

.h-icon i {
  font-size: 1.75rem;
  margin: 4px 0;
}

.h-temp {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
}

.h-desc {
  font-size: 0.72rem;
  color: #64748b;
  text-align: center;
  font-weight: 600;
}

/* Weekly Forecast List */
.weekly-forecast-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.weekly-row {
  background: #ffffff;
  border-radius: 18px;
  padding: 0.85rem 1.25rem;
  display: grid;
  grid-template-columns: 110px 50px 1fr 80px 100px;
  align-items: center;
  gap: 1rem;
  transition: all 0.25s ease;
  border: 1px solid #e2e8f0;
}

.weekly-row:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
  border-color: #0284c7;
}

.weekly-day strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}

.weekly-day small {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}

.weekly-icon {
  text-align: center;
}

.weekly-icon i {
  font-size: 1.6rem;
}

.weekly-condition {
  font-size: 0.88rem;
  color: #334155;
  font-weight: 600;
}

.weekly-rain {
  text-align: center;
  font-size: 0.82rem;
  color: #0284c7;
  font-weight: 700;
}

.no-rain-icon {
  color: #cbd5e1;
}

.weekly-temp-range {
  text-align: right;
  font-size: 1rem;
  font-weight: 800;
}

.temp-max { color: #ef4444; }
.temp-min { color: #3b82f6; }
.temp-sep { color: #cbd5e1; margin: 0 4px; }

.weather-layout-bottom {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1.75rem;
}

.climate-table-card,
.premium-records-area {
  background: #ffffff;
  border-radius: 32px;
  padding: 2.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.climate-table-card h2,
.records-signature-header h2 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 0.4rem 0;
}

.climate-table-card p,
.records-signature-header p {
  color: #64748b;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.climate-table-wrapper table {
  width: 100%;
  border-collapse: collapse;
}

.climate-table-wrapper th {
  text-align: left;
  padding: 0.75rem;
  color: #64748b;
  font-size: 0.78rem;
  text-transform: uppercase;
  border-bottom: 2px solid #f1f5f9;
}

.climate-table-wrapper td {
  padding: 0.75rem;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
}

.badge-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.p-badge {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 20px;
}

.p-badge.hot { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }
.p-badge.cold { background: #f0f9ff; color: #0369a1; border: 1px solid #e0f2fe; }

.badge-icon {
  width: 52px;
  height: 52px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.b-label { font-size: 0.7rem; font-weight: 800; opacity: 0.7; }
.b-val { font-size: 1.8rem; font-weight: 900; line-height: 1; margin: 4px 0; }
.b-date { font-size: 0.8rem; opacity: 0.6; font-weight: 600; }

.premium-note-card {
  display: flex;
  gap: 1rem;
  background: #f8fafc;
  padding: 1.1rem 1.25rem;
  border-radius: 18px;
  border: 1px solid #f1f5f9;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}

.note-icon { color: #10b981; font-size: 1.1rem; margin-top: 2px; }
.note-text { font-size: 0.85rem; color: #475569; line-height: 1.5; }

.weather-footer {
  text-align: center;
  margin-top: 2rem;
  color: #94a3b8;
  font-size: 0.78rem;
  padding: 1rem 0;
}

/* 🌟 30 GÜNLÜK ÖZET METRİK KARTLARI (DESKTOP) */
.extended-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 1.5rem;
}

.ext-summary-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ext-summary-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  box-shadow: 0 15px 30px rgba(2, 132, 199, 0.1);
}

.ext-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #ffffff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.ext-card-info {
  display: flex;
  flex-direction: column;
}

.ext-card-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
}

.ext-card-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  margin: 2px 0;
}

.ext-card-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

/* 🌟 30 GÜNLÜK CAM LİSTE KARTLARI (DESKTOP) */
.extended-glass-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.extended-glass-row {
  background: #ffffff;
  border-radius: 20px;
  padding: 1rem 1.4rem;
  display: grid;
  grid-template-columns: 140px 150px 1fr 120px 200px;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid #e2e8f0;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.extended-glass-row:hover {
  background: #f8fafc;
  transform: translateY(-3px) scale(1.005);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.08);
  border-color: #38bdf8;
}

.extended-glass-row.is-today {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid #0284c7;
}

.ex-date-col {
  display: flex;
  flex-direction: column;
}

.ex-day-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.ex-day-sub {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
  text-transform: capitalize;
}

.ex-icon-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ex-3d-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #ffffff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.ex-badge-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}

.ex-desc-col {
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}

.ex-precip-col {
  display: flex;
  align-items: center;
}

.precip-pill {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.precip-pill.has-rain {
  background: #e0f2fe;
  color: #0284c7;
}

.precip-pill.no-rain {
  background: #f1f5f9;
  color: #94a3b8;
}

/* Apple-style Temperature Range Bar */
.ex-bar-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ex-temp-min {
  font-size: 0.95rem;
  font-weight: 800;
  color: #3b82f6;
  width: 32px;
  text-align: right;
}

.ex-temp-max {
  font-size: 0.95rem;
  font-weight: 900;
  color: #ef4444;
  width: 32px;
  text-align: left;
}

.ex-temp-bar-track {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
}

.ex-temp-bar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 50px;
  background: linear-gradient(90deg, #38bdf8 0%, #f59e0b 50%, #ef4444 100%);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

/* Unified Solar & 48-Hour Card */
.unified-solar-hourly-master {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0369a1 100%) !important;
  color: #ffffff !important;
  border-radius: 28px !important;
  padding: 1.5rem !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

.solar-hourly-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 1rem;
}

.sh-main-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sh-sub-title {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.sh-sun-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.sh-sun-pill .sun-sep {
  opacity: 0.3;
}

.unified-solar-graphic-box {
  max-width: 480px;
  margin: 0 auto 1rem auto;
  position: relative;
}

/* Climate Section Styles */
.climate-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.climate-icon-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.climate-main-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

.climate-main-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin: 2px 0 0 0;
}

.climate-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 1.5rem;
}

.climate-sum-card {
  border-radius: 20px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
}

.climate-sum-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.climate-sum-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.climate-sum-card.hot {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #fed7aa;
}

.climate-sum-card.cold {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: #bae6fd;
}

.climate-sum-card.rain {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #a7f3d0;
}

.climate-sum-card .sum-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.climate-sum-card.hot .sum-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.climate-sum-card.cold .sum-icon { background: linear-gradient(135deg, #0284c7, #0369a1); }
.climate-sum-card.rain .sum-icon { background: linear-gradient(135deg, #10b981, #047857); }

.climate-sum-card small {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.climate-sum-card.hot small { color: #ea580c; }
.climate-sum-card.cold small { color: #0284c7; }
.climate-sum-card.rain small { color: #059669; }

.climate-sum-card strong {
  font-size: 1rem;
  font-weight: 900;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.climate-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 1.25rem;
}

.climate-month-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.1rem;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.climate-month-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(2, 132, 199, 0.1);
  border-color: #38bdf8;
}

.climate-month-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.c-m-name {
  font-weight: 900;
  font-size: 1rem;
  color: #0f172a;
}

.c-season-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

.c-season-pill.kis { background: #e0f2fe; color: #0284c7; }
.c-season-pill.ilkbahar { background: #dcfce7; color: #166534; }
.c-season-pill.yaz { background: #fef3c7; color: #b45309; }
.c-season-pill.sonbahar { background: #ffedd5; color: #c2410c; }

.climate-temp-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 0.85rem;
}

.c-pill {
  flex: 1;
  text-align: center;
  padding: 6px 8px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
}

.c-pill.min {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #e0f2fe;
}

.c-pill.max {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
}

.climate-rain-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rain-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rain-text small {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}

.rain-text strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0ea5e9;
}

.climate-rain-bar-track {
  height: 6px;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
}

.climate-rain-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #0284c7);
  border-radius: 10px;
}

/* ==========================================================================
   🌟 MOBILE RESPONSIVENESS (MUST BE AT THE VERY BOTTOM TO OVERRIDE ALL BASE STYLES)
   ========================================================================== */

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

@media (max-width: 768px) {
  .weather-portal {
    padding-top: calc(var(--global-header-offset) + 0.25rem) !important;
    padding-bottom: 6rem;
  }

  .weather-container {
    padding: 0 10px !important;
  }

  .weather-hero {
    padding: 1.25rem 1rem;
    border-radius: 24px;
    margin-bottom: 1.25rem;
  }

  .weather-hero h1 {
    font-size: 1.45rem;
    gap: 8px;
  }

  .weather-hero {
    padding: 1.25rem 1rem !important;
    margin-bottom: 0.5rem !important;
    min-height: auto !important;
  }

  .weather-hero h1 {
    font-size: 1.25rem !important;
    gap: 8px !important;
  }

  .weather-hero h1 i {
    font-size: 1.15rem !important;
  }

  .weather-hero-body p {
    font-size: 0.82rem !important;
    margin-bottom: 0.4rem !important;
  }

  .weather-hero .cat-pill,
  .weather-hero .desktop-only {
    display: none !important;
  }

  /* Compact 100% width segmented tabs on mobile (Zero overflow/shift) */
  .weather-tabs-bar {
    width: 100% !important;
    display: flex !important;
    gap: 4px !important;
    padding: 3px !important;
    border-radius: 50px !important;
    margin-top: 0.5rem !important;
    overflow: hidden !important;
  }

  .weather-tab-pill {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 7px 2px !important;
    font-size: 0.75rem !important;
    gap: 4px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  /* Master Weather Card on Mobile */
  .weather-hero-master-card {
    padding: 1.25rem 1rem;
    border-radius: 24px;
    margin-bottom: 1.25rem;
  }

  .master-card-body {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
  }

  .master-left {
    width: 100%;
    position: relative;
  }

  .master-live-badge {
    font-size: 0.68rem;
    padding: 4px 10px;
    margin-bottom: 0.6rem;
  }

  .master-temp-row {
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .master-temp {
    font-size: 3.6rem;
  }

  .master-desc {
    font-size: 1.1rem;
  }

  .master-range {
    font-size: 0.78rem;
  }

  .master-hero-icon-wrapper {
    top: 0.25rem;
    right: 0;
  }

  .floating-3d-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 8px 18px rgba(253, 224, 71, 0.4));
  }

  /* Stat Pills 2x2 Grid on Mobile */
  .master-stat-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
  }

  .master-pill {
    padding: 6px 10px;
    font-size: 0.74rem;
    justify-content: center;
    border-radius: 12px;
    width: 100%;
  }

  /* Mini 5-Day Strip on Mobile */
  .master-mini-forecast-strip {
    grid-template-columns: repeat(5, 1fr);
    padding: 8px 4px;
    gap: 2px;
    border-radius: 18px;
  }

  .mini-forecast-item {
    padding: 6px 2px;
  }

  .mini-day-title {
    font-size: 0.6rem;
  }

  .mini-icon i {
    font-size: 1.1rem;
  }

  .mini-temps {
    font-size: 0.72rem;
    gap: 2px;
  }

  /* 4-Column Glass Grid -> 2-Column Grid on Mobile */
  .weather-glass-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 1.25rem;
  }

  .weather-glass-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .glass-card-top {
    margin-bottom: 0.6rem;
  }

  .glass-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 1.1rem;
  }

  .glass-card-val {
    font-size: 1.5rem;
  }

  .glass-card-title {
    font-size: 0.85rem;
  }

  .glass-card-desc {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  /* Solar Card */
  .premium-solar-card {
    padding: 1.1rem 1rem;
    border-radius: 24px;
  }

  .solar-svg {
    height: 120px;
  }

  /* Weather Sections */
  .weather-section {
    padding: 1.25rem 1rem;
    border-radius: 24px;
    margin-bottom: 1.25rem;
  }

  .section-title-weather {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }

  /* Mobile Header Simplification for 48-Hour Forecast Card */
  .hourly-animated-master-card {
    padding: 1.25rem 1rem !important;
    border-radius: 24px !important;
  }

  .hourly-card-header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 0.85rem !important;
    padding-bottom: 0.75rem !important;
  }

  .hourly-header-left {
    gap: 8px !important;
  }

  .hourly-animated-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
  }

  .hourly-card-title {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  .hourly-card-subtitle,
  .hourly-live-badge {
    display: none !important;
  }

  .scroll-hint-pill {
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
    border-radius: 50px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    white-space: nowrap !important;
  }

  /* Hourly Box */
  .hourly-box {
    flex: 0 0 95px;
    padding: 1rem 0.6rem;
    border-radius: 16px;
  }

  .h-temp {
    font-size: 1.25rem;
  }

  .nav-arrow {
    display: none !important;
  }

  /* Weekly Row on Mobile */
  .weekly-row {
    grid-template-columns: 1fr 36px 90px;
    grid-template-areas: "day icon temp" "condition condition rain";
    gap: 0.4rem;
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
  }

  .weekly-day { grid-area: day; }
  .weekly-icon { grid-area: icon; }
  .weekly-condition { grid-area: condition; font-size: 0.78rem; }
  .weekly-rain { grid-area: rain; text-align: right; font-size: 0.75rem; }
  .weekly-temp-range { grid-area: temp; font-size: 0.95rem; }

  /* 30-Day Extended Summary Grid on Mobile */
  .extended-summary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 1.25rem;
  }

  .ext-summary-card {
    padding: 0.9rem;
    border-radius: 18px;
    gap: 0.75rem;
  }

  .ext-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 1.1rem;
  }

  .ext-card-val {
    font-size: 1.25rem;
  }

  /* 30-Day Extended Forecast Glass Row on Mobile */
  .extended-glass-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "date icon"
      "desc precip"
      "bar bar";
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
  }

  .ex-date-col { grid-area: date; }
  .ex-icon-col { grid-area: icon; justify-content: flex-end; }
  .ex-desc-col { grid-area: desc; font-size: 0.8rem; }
  .ex-precip-col { grid-area: precip; justify-content: flex-end; }
  .ex-bar-col { 
    grid-area: bar; 
    margin-top: 4px; 
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ex-temp-min, .ex-temp-max {
    font-size: 0.85rem;
    width: 28px;
  }

  /* Climate Cards on Mobile */
  .weather-layout-bottom {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .climate-summary-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .climate-visual-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .climate-table-card, .premium-records-area {
    padding: 1.25rem 1rem !important;
    border-radius: 24px !important;
  }

  .climate-header-row, .records-signature-header {
    gap: 10px !important;
    margin-bottom: 1rem !important;
  }

  .climate-icon-badge, .records-icon-badge {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.1rem !important;
    border-radius: 12px !important;
  }

  .climate-main-title, .records-title {
    font-size: 1.05rem !important;
  }

  .climate-month-card {
    padding: 0.85rem !important;
    border-radius: 16px !important;
  }

  .p-badge {
    padding: 1rem !important;
    border-radius: 16px !important;
    gap: 0.85rem !important;
  }

  .badge-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    font-size: 1.25rem !important;
  }

  .b-val {
    font-size: 1.4rem !important;
  }
}

@media (max-width: 440px) {
  .climate-visual-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .weather-hero {
    display: none !important;
  }
}

/* 🌟 MASAÜSTÜ PAYLAŞIM BUTONLARI */
.desktop-share-buttons {
  display: flex !important;
  gap: 6px !important;
  z-index: 25 !important;
  align-items: center !important;
}
.desktop-share-buttons button {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #64748b !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.2s ease !important;
}
.desktop-share-buttons button:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}
.desktop-share-buttons button.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.35) !important;
}
.desktop-share-buttons button.instagram:hover {
  transform: translateY(-2px) scale(1.08) !important;
  box-shadow: 0 6px 16px rgba(220, 39, 67, 0.5) !important;
}
.desktop-share-buttons button.facebook:hover { color: #1877f2 !important; }
.desktop-share-buttons button.x:hover { color: #000000 !important; }
.desktop-share-buttons button.whatsapp:hover { color: #25d366 !important; }
.desktop-share-buttons button.copy:hover { color: #0284c7 !important; }

@media (max-width: 900px) {
  .desktop-share-buttons {
    display: none !important;
  }
}