/* ══════════════════════════════════════════════════════════════════
   WEATHER FORECAST 1.0.6 THEME STYLESHEET
   Adapted for ASP.NET Core Weather & Outfit Recommendation App
   Original Theme: Weather Forecast by OvationThemes / pewilliams
   ══════════════════════════════════════════════════════════════════ */

:root {
  --wf-base: #FFFFFF;
  --wf-primary: #141E46;           /* Deep Navy */
  --wf-secondary: #314AAC;         /* Royal Blue */
  --wf-accent: #FCB635;            /* Sun Gold / Quinary */
  --wf-quaternary: #F5F7FD;        /* Soft Sky / Background */
  --wf-section-dark: #0f172a;      /* Dark Footer / Sections */
  --wf-gradient: linear-gradient(90deg, #141E46 0%, #314AAC 100%);
  --wf-card-gradient: linear-gradient(135deg, #141E46 0%, #203582 50%, #314AAC 100%);
  --wf-sun-gradient: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
  --wf-font-main: 'Plus Jakarta Sans', system-ui, sans-serif;
  --wf-font-sub: 'Poppins', sans-serif;
}

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

body.wf-theme-body {
  font-family: var(--wf-font-main);
  background-color: var(--wf-quaternary);
  color: var(--wf-primary);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wf-font-main);
  font-weight: 700;
  color: var(--wf-primary);
}

/* ── Topbar ───────────────────────────────────────────────────── */
.wf-topbar {
  background-color: var(--wf-primary);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
}

/* ── Navbar ───────────────────────────────────────────────────── */
.wf-header {
  z-index: 1030;
}
.wf-nav-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.wf-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--wf-primary);
  line-height: 1.1;
  letter-spacing: -0.3px;
}
.wf-brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--wf-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wf-user-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ── HERO BANNER (Weather Forecast Theme Style) ───────────────── */
.wf-banner-section {
  position: relative;
  background-image: url('../images/banner.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: white;
  border-bottom: 4px solid var(--wf-accent);
  overflow: visible; /* Cho phép dropdown tràn ra ngoài hero banner */
  z-index: 100;
}
.wf-banner-overlay {
  background: linear-gradient(135deg, rgba(20, 30, 70, 0.94) 0%, rgba(32, 53, 130, 0.90) 50%, rgba(49, 74, 172, 0.85) 100%);
  padding: 60px 0 70px;
  overflow: visible;
}
.wf-banner-badge {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
}
.wf-banner-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}
.wf-banner-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  font-weight: 400;
  max-width: 600px;
  margin-bottom: 1.5rem;
}

/* ── Hero Search Box ─────────────────────────────────────────── */
.wf-search-box {
  background: #ffffff;
  border-radius: 50px;
  padding: 4px 6px 4px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  border: 2px solid transparent;
  transition: all .25s ease;
}
.wf-search-box:focus-within {
  border-color: var(--wf-accent);
  box-shadow: 0 10px 35px rgba(252, 182, 53, 0.35);
}
.wf-search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 1rem;
  color: #1e293b;
  font-family: var(--wf-font-main);
  background: transparent;
  padding: 8px 10px;
}
.wf-search-btn {
  background: linear-gradient(135deg, var(--wf-secondary) 0%, var(--wf-primary) 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.wf-search-btn:hover {
  background: linear-gradient(135deg, #3d5ad4 0%, #1a285c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(49, 74, 172, 0.4);
}

/* ── Hero Weather Floating Card (Right column) ───────────────── */
.wf-hero-widget-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  animation: floatWidget 4s ease-in-out infinite;
}
@keyframes floatWidget {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.wf-sun-cloud-img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(252, 182, 53, 0.4));
}

/* ── PRIMARY WEATHER CARD (temprature-block style) ───────────── */
.wf-weather-card {
  background: var(--wf-card-gradient);
  border-radius: 24px;
  color: white;
  box-shadow: 0 15px 45px rgba(20, 30, 70, 0.25);
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.wf-weather-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(252, 182, 53, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.wf-location-chip {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.28);
}
.wf-daynight-chip {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f8fafc;
  border: 1px solid rgba(255,255,255,0.2);
}
.wf-quick-city-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(15, 23, 42, 0.72) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}
.wf-quick-city-pill:hover {
  background-color: var(--wf-accent) !important;
  color: #0f172a !important;
  border-color: var(--wf-accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 182, 53, 0.4);
}
.wf-quick-city-pill:hover i {
  color: #0f172a !important;
}
.wf-hero-emoji {
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}
.wf-temp-display {
  font-size: clamp(3.5rem, 8vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  color: #FFFFFF;
  text-shadow: 0 4px 15px rgba(0,0,0,0.25);
}
.wf-temp-unit {
  font-size: 1.8rem;
  color: var(--wf-accent);
  vertical-align: super;
  margin-left: 2px;
}
.wf-condition-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--wf-accent);
  margin-bottom: 0.25rem;
}
.wf-time-box {
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 16px 20px;
}
.wf-live-dot {
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #4ade80;
  animation: radioPulse 1.5s ease-in-out infinite;
}
.wf-live-clock {
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.wf-live-date {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
  text-transform: capitalize;
}
.wf-tz-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  padding: 4px 11px;
  font-size: 0.76rem;
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
}

/* ── Metric Grid in Weather Card ─────────────────────────────── */
.wf-metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.wf-metric-box {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  transition: all .2s;
}
.wf-metric-box:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.wf-metric-icon {
  font-size: 1.25rem;
  color: var(--wf-accent);
  margin-bottom: 4px;
}
.wf-metric-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
}
.wf-metric-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* ── Weather Dynamic Gradients ───────────────────────────────── */
.bg-very-hot  { background: linear-gradient(135deg, #c2410c 0%, #ea580c 50%, #f97316 100%) !important; }
.bg-hot       { background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%) !important; }
.bg-warm      { background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%) !important; }
.bg-cool      { background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #38bdf8 100%) !important; }
.bg-cold      { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%) !important; }
.bg-very-cold { background: linear-gradient(135deg, #0284c7 0%, #6366f1 50%, #a855f7 100%) !important; }
.bg-rainy     { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important; }
.bg-storm     { background: linear-gradient(135deg, #09090b 0%, #18181b 50%, #27272a 100%) !important; }
.bg-foggy     { background: linear-gradient(135deg, #475569 0%, #64748b 100%) !important; }
.bg-snowy     { background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%) !important; color: #0f172a !important; }

/* ── 7-Day Forecast Scroll (Weather Forecast Theme Style) ────── */
.wf-forecast-section-title {
  font-weight: 800;
  color: var(--wf-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.forecast-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.forecast-scroll::-webkit-scrollbar { height: 6px; }
.forecast-scroll::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 6px; }
.forecast-scroll::-webkit-scrollbar-thumb { background: var(--wf-secondary); border-radius: 6px; }

.wf-forecast-card {
  min-width: 120px;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(20, 30, 70, 0.05);
  border: 2px solid #eef2f6;
  transition: all .25s ease;
  flex-shrink: 0;
}
.wf-forecast-card:hover {
  transform: translateY(-4px);
  border-color: var(--wf-secondary);
  box-shadow: 0 10px 25px rgba(49, 74, 172, 0.15);
}
.wf-forecast-card.forecast-today {
  border-color: var(--wf-accent);
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
}
.wf-forecast-card .f-day {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--wf-secondary);
  text-transform: uppercase;
}
.wf-forecast-card .f-date {
  font-size: 0.72rem;
  color: #94a3b8;
}
.wf-forecast-card .f-icon {
  font-size: 2.2rem;
  margin: 8px 0;
}
.wf-forecast-card .f-desc {
  font-size: 0.72rem;
  color: #64748b;
  min-height: 28px;
  line-height: 1.25;
}
.wf-forecast-card .f-temp {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 6px;
}
.wf-forecast-card .f-temp .t-max { color: #dc2626; }
.wf-forecast-card .f-temp .t-min { color: #64748b; font-weight: 400; }

/* ── Theme Selector Bar ───────────────────────────────────────── */
.wf-theme-bar-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(20, 30, 70, 0.04);
}
.theme-pills-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: thin;
}
.theme-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  background: #f1f5f9;
  color: var(--wf-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: all .2s ease;
  cursor: pointer;
}
.theme-pill:hover {
  background: #e2e8f0;
  color: var(--wf-secondary);
}
.theme-pill.active {
  background: linear-gradient(135deg, var(--wf-primary) 0%, var(--wf-secondary) 100%);
  color: #ffffff;
  border-color: var(--wf-accent);
  box-shadow: 0 4px 15px rgba(49, 74, 172, 0.35);
}
.theme-pill.locked {
  background: #f8fafc;
  color: #94a3b8;
  border: 1px dashed #cbd5e1;
}
.theme-pill.locked:hover {
  background: #fef3c7;
  color: #92400e;
  border-color: var(--wf-accent);
}

/* ── Clothing & Outfit Cards ──────────────────────────────────── */
.wf-outfit-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #eef2f6;
  box-shadow: 0 8px 25px rgba(20, 30, 70, 0.05);
}
.clothing-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: #f8fafc;
  border-radius: 14px;
  transition: all .2s;
  border: 1px solid #eef2f6;
}
.clothing-item:hover {
  background: #ffffff;
  border-color: var(--wf-secondary);
  box-shadow: 0 4px 15px rgba(49, 74, 172, 0.1);
  transform: translateX(4px);
}
.clothing-emoji { font-size: 1.8rem; flex-shrink: 0; line-height: 1; }
.clothing-name { font-weight: 700; font-size: 0.95rem; color: var(--wf-primary); }
.clothing-desc { font-size: 0.82rem; color: #64748b; margin-top: 2px; }

.color-palette-badge {
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: #78350f;
  border: 1px solid #fde68a;
}

/* ── Tips list ────────────────────────────────────────────────── */
.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tips-list li {
  padding: 12px 14px 12px 42px;
  background: #f8fafc;
  border-radius: 12px;
  font-size: 0.88rem;
  color: #334155;
  position: relative;
  border: 1px solid #f1f5f9;
}
.tips-list li::before {
  content: "💡";
  position: absolute;
  left: 14px;
  top: 12px;
  font-size: 0.95rem;
}

/* ── Location search result cards ────────────────────────────── */
.location-card {
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  transition: all .2s ease;
  background: white;
}
.location-card:hover {
  border-color: var(--wf-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(49, 74, 172, 0.15);
}

/* ── Footer ───────────────────────────────────────────────────── */
.wf-footer {
  background-color: var(--wf-section-dark);
  font-family: var(--wf-font-main);
}
.wf-footer h1, .wf-footer h2, .wf-footer h3, .wf-footer h4, .wf-footer h5, .wf-footer h6 {
  color: #ffffff;
}
.wf-footer-theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.wf-footer-theme-chip:hover {
  background-color: var(--wf-accent);
  color: #0f172a;
  border-color: var(--wf-accent);
  transform: translateY(-2px);
}
.hover-white:hover { color: #ffffff !important; text-decoration: underline !important; }

/* ── Gradient VIP Card ────────────────────────────────────────── */
.bg-gradient-vip {
  background: linear-gradient(135deg, #141E46 0%, #314AAC 50%, #4338ca 100%) !important;
  border: 2px solid var(--wf-accent) !important;
}

/* ── Animations ───────────────────────────────────────────────── */
.animate-fadein {
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Auth Cards ───────────────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 15px;
}
.auth-card {
  background: white;
  width: 100%;
  max-width: 460px;
  padding: 40px 34px;
  border-radius: 24px;
  box-shadow: 0 15px 45px rgba(20, 30, 70, 0.08);
  border: 1px solid #e2e8f0;
}
.auth-btn {
  background: linear-gradient(135deg, var(--wf-secondary) 0%, var(--wf-primary) 100%);
  border: none;
  font-weight: 700;
  height: 48px;
  border-radius: 50px;
}
.auth-btn:hover {
  background: linear-gradient(135deg, #3d5ad4 0%, #1a285c 100%);
}

/* ══════════════════════════════════════════════════════════════════
   WEATHER NOTE BANNER
   ══════════════════════════════════════════════════════════════════ */
.weather-note-banner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(147, 51, 234, 0.06) 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-left: 4px solid #3b82f6;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.weather-note-banner i {
  color: #3b82f6;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   CLOTHING CARDS GRID — with real images
   ══════════════════════════════════════════════════════════════════ */
.clothing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.clothing-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.clothing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}
.clothing-card-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}
.clothing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.clothing-card:hover .clothing-card-img img {
  transform: scale(1.08);
}
.clothing-card-body {
  padding: 14px 16px;
}
.clothing-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.clothing-emoji-badge {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}
.clothing-card-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #1e293b;
  line-height: 1.3;
}
.clothing-card-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* ── E-Commerce Platform Badges & Shop Links ── */
.clothing-platform-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 2;
  letter-spacing: 0.3px;
}
.platform-shopee     { background: #ee4d2d !important; color: #fff !important; }
.platform-lazada     { background: #0f146d !important; color: #fff !important; }
.platform-zara       { background: #111827 !important; color: #fff !important; }
.platform-hm         { background: #cc071e !important; color: #fff !important; }
.platform-amazon     { background: #ff9900 !important; color: #111 !important; }
.platform-asos       { background: #2d2d2d !important; color: #fff !important; }
.platform-tiki       { background: #1a94ff !important; color: #fff !important; }
.platform-taobao     { background: #ff5000 !important; color: #fff !important; }
.platform-tmall      { background: #ff0036 !important; color: #fff !important; }
.platform-pinterest  { background: #e60023 !important; color: #fff !important; }
.platform-sendo      { background: #d70018 !important; color: #fff !important; }

.clothing-price-tag {
  font-size: 0.8rem;
  color: #dc2626;
  font-weight: 700;
}
.clothing-shop-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 20px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.clothing-shop-link:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-1px);
}
.platform-filter-wrapper button.active {
  background: #0f172a !important;
  color: #fff !important;
  border-color: #0f172a !important;
}

/* ── Clothing Card Footer & Heart Favorite Button ── */
.clothing-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.similar-hint {
  font-size: 0.75rem;
  font-weight: 600;
  transition: color 0.2s;
  color: #3b82f6 !important;
}
.clothing-card:hover .similar-hint {
  color: #1d4ed8 !important;
}
.clothing-card-badge-tap {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.clothing-card:hover .clothing-card-badge-tap {
  opacity: 1;
  background: rgba(37, 99, 235, 0.9);
  transform: translateY(-2px);
}
.btn-favorite-heart {
  background: none;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  color: #94a3b8;
  font-size: 1.3rem;
  line-height: 1;
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-favorite-heart:hover {
  color: #ef4444;
  transform: scale(1.22);
}
.btn-favorite-heart.is-favorite {
  color: #ef4444 !important;
}
.btn-favorite-heart.is-favorite i {
  font-weight: 900;
  animation: heartPop 0.35s ease;
}
@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Similar item card inside modal */
.similar-item-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.similar-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Floating Toast Notification */
.fav-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.25s ease;
  display: flex;
  align-items: center;
}
.fav-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 576px) {
  .clothing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .clothing-card-img {
    height: 120px;
  }
  .clothing-card-body {
    padding: 10px 12px;
  }
  .clothing-card-name {
    font-size: 0.8rem;
  }
  .clothing-card-desc {
    font-size: 0.72rem;
  }
}

/* ══════════════════════════════════════════════════════════════════
   FLOATING RADIO PLAYER — LISTEN.moe
   ══════════════════════════════════════════════════════════════════ */
.radio-player {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.radio-player.collapsed .radio-content {
  width: 0;
  opacity: 0;
  padding: 0;
  overflow: hidden;
  margin-left: 0;
}
.radio-player-inner {
  display: flex;
  align-items: stretch;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  overflow: hidden;
}
.radio-collapse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-height: 64px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.radio-collapse-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.radio-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 12px;
  width: 340px;
  opacity: 1;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              padding 0.35s ease,
              margin 0.35s ease;
  overflow: hidden;
}
.radio-info {
  flex: 1;
  min-width: 0;
}
.radio-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.radio-dot {
  width: 7px;
  height: 7px;
  background: #ff015b;
  border-radius: 50%;
  display: inline-block;
  animation: radioPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(255, 1, 91, 0.6);
}
@keyframes radioPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.radio-brand-text {
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.radio-song {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  line-height: 1.3;
}
.radio-artist {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

/* Controls */
.radio-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.radio-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.radio-play-btn:hover {
  background: rgba(255, 1, 91, 0.25);
  border-color: rgba(255, 1, 91, 0.5);
  transform: scale(1.08);
}
.radio-play-btn.playing {
  background: rgba(255, 1, 91, 0.2);
  border-color: rgba(255, 1, 91, 0.5);
  box-shadow: 0 0 12px rgba(255, 1, 91, 0.3);
}

/* Volume */
.radio-volume-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.radio-vol-icon {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.radio-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 70px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  cursor: pointer;
}
.radio-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff015b;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(255, 1, 91, 0.5);
  transition: transform 0.15s ease;
}
.radio-volume::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.radio-volume::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff015b;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(255, 1, 91, 0.5);
}
.radio-volume::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}

/* Responsive: stack vertically on small screens */
@media (max-width: 767.98px) {
  .wf-banner-overlay {
    padding: 30px 0 38px;
  }
  .wf-banner-title {
    font-size: 1.85rem;
  }
  .wf-banner-subtitle {
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
  }
  .wf-weather-card {
    padding: 20px 16px !important;
  }
  .wf-hero-widget-card {
    padding: 18px;
    margin-top: 10px;
  }
  .wf-metrics-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}

@media (max-width: 576px) {
  .radio-player {
    bottom: 14px !important;
    right: 14px !important;
    left: auto !important;
    max-width: calc(100vw - 28px);
  }
  .radio-player.collapsed {
    left: auto !important;
  }
  .radio-content {
    width: 250px;
    gap: 8px;
    padding: 8px 12px;
  }
  .radio-song, .radio-artist {
    max-width: 130px;
  }
  .radio-volume {
    width: 50px;
  }
}

/* ==========================================================================
   SEARCH HISTORY DROPDOWN
   ========================================================================== */
.search-history-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  margin-top: 8px;
  z-index: 9999;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25) !important;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-history-list,
.search-suggest-list {
  max-height: 220px;
  overflow-y: auto;
}

.search-history-item,
.search-suggest-item {
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.search-history-item:hover,
.search-suggest-item:hover {
  background-color: #f1f5f9;
}

.search-history-item:hover .text-dark,
.search-suggest-item:hover .text-dark {
  color: var(--bs-primary) !important;
}

.search-history-item button:hover {
  color: #dc2626 !important;
  transform: scale(1.15);
}
