/* === header.css === */
/* ---------------------------------------------------------------------------
header.css

Lifted verbatim out of views/include/header.ejs (an inline <style> block). The template now
links this file from the exact spot the block occupied, because that position
decides which declarations win ties against the core stylesheet.
--------------------------------------------------------------------------- */

.top-utility-bar {
  background: rgba(0,0,0,0.18);
  padding: 4px 0;
  display: flex;
  align-items: center;
}
.top-utility-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
html[dir="rtl"] .top-utility-bar .container { justify-content: flex-start; }

.country-switcher { position: relative; }
.country-switcher-btn {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none;
  color: rgba(255,255,255,0.85); padding: 2px 4px;
  cursor: pointer; font-size: 13px; line-height: 1;
  transition: color 0.15s ease;
}
.country-switcher-btn:hover { color: #fff; }
.country-switcher-chevron { transition: transform 0.2s ease; flex-shrink: 0; }
.country-switcher.open .country-switcher-chevron { transform: rotate(180deg); }
.country-switcher-dropdown {
  display: none; position: absolute; top: calc(100% + 6px);
  right: 0; min-width: 160px;
  background: #fff; border: 1px solid #e0e0e0;
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  overflow: hidden; z-index: 2000;
}
html[dir="rtl"] .country-switcher-dropdown { right: auto; left: 0; }
.country-switcher.open .country-switcher-dropdown { display: block; }
.country-switcher-current {
  padding: 10px 14px; font-size: 13px; font-weight: 600; color: #111;
  display: flex; align-items: center; gap: 8px;
}
.country-switcher-divider { height: 1px; background: #f0f0f0; }
.country-switcher-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; font-size: 13px; color: #333;
  text-decoration: none; transition: background 0.1s ease;
}
.country-switcher-item:hover { background: #f5f5f5; }
.cs-flag { font-size: 17px; line-height: 1; }
