/* ── HEADER ── */
.sphinx_header { background-color: #003a1f !important; background: #003a1f !important; }
.sphinx_header_container { padding-top: 4px !important; padding-bottom: 4px !important; min-height: unset !important; height: auto !important; }
.sphinx_header input { background: white !important; color: #333 !important; border-color: white !important; }
.sphinx_header input::placeholder { color: #999 !important; }
.sphinx_header button.bg-white, .sphinx_header a.bg-white { background-color: rgba(255,255,255,0.15) !important; }
.sphinx_header button.bg-white svg, .sphinx_header a.bg-white svg { color: white !important; stroke: white !important; }
.sphinx_header .bg-\[#F44336\] { background-color: #ff6b35 !important; }

/* ── LOGO ── */
.sphinx_header_logo { flex-shrink: 0 !important; display: flex !important; align-items: center !important; }
.sphinx_header_logo a { display: flex !important; align-items: center !important; }
.sphinx_header_logo a > div {
  background-color: #FDFAF3 !important; border-radius: 8px !important; padding: 0 !important;
  height: 64px !important; width: 220px !important; display: flex !important;
  align-items: center !important; justify-content: center !important;
  overflow: hidden !important; box-shadow: none !important; border: none !important;
}
.sphinx_header_logo a > div img {
  height: 60px !important; width: 210px !important; max-height: 60px !important;
  max-width: 210px !important; object-fit: contain !important; object-position: center !important;
}

/* ── OFFER BAR ── */
.top-offer-bar {
  background-color: #003a1f; color: white; padding: 8px 20px;
  font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap;
}
.top-offer-bar a { color: #f0f0f0; text-decoration: underline; }

/* ── NAV BAR ── */
.nav-bar {
  background-color: #003a26; color: white; padding: 10px 20px;
  display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; font-weight: 500;
}
.nav-bar a { color: white; text-decoration: none; }
.nav-bar a:hover { text-decoration: underline; }

/* ── INFO BAR ── */
.info-bar {
  background-color: #eeeeee; color: #333; font-size: 13px;
  padding: 10px 20px; display: flex; gap: 15px; flex-wrap: wrap; align-items: center;
}
.badge { font-size: 12px; padding: 2px 6px; border-radius: 5px; font-weight: bold; margin: 0 5px; }
.klarna { background-color: #f3c3cc; color: #500; }
.clearpay { background-color: #c4f0e5; color: #004d40; }

/* ── PROFILE BUTTON ── */
#okazia-profile-btn {
  position: relative; padding: 10px 12px;
  display: flex; align-items: center; justify-content: center;
  background-color: rgba(255,255,255,0.15) !important;
  border-radius: 9999px; border: none; cursor: pointer;
  flex-shrink: 0; margin: 0 4px;
}
#okazia-profile-btn:hover { background-color: rgba(255,255,255,0.28) !important; }
#okazia-profile-btn svg { width: 22px; height: 22px; fill: white; display: block; }
#okazia-profile-btn .ok-initials {
  color: white; font-size: 12px; font-weight: 700;
  font-family: sans-serif; display: none; line-height: 1; min-width: 22px; text-align: center;
}

/* ── DROPDOWN ── */
#okazia-dropdown {
  display: none; position: fixed; top: 72px; z-index: 99999;
  background: #fff; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  min-width: 210px; overflow: hidden; font-family: sans-serif;
}
#okazia-dropdown.active { display: block; }
#okazia-dropdown .dd-header { background: #003a26; color: white; padding: 14px 16px; font-size: 13px; }
#okazia-dropdown .dd-header strong { display: block; font-size: 15px; margin-bottom: 2px; }
#okazia-dropdown .dd-item {
  padding: 12px 16px; font-size: 14px; color: #222; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid #f0f0f0; transition: background 0.15s;
}
#okazia-dropdown .dd-item:hover { background: #f5f5f5; }
#okazia-dropdown .dd-item:last-child { border-bottom: none; }
#okazia-dropdown .dd-item svg { width: 16px; height: 16px; fill: #003a26; flex-shrink: 0; }
#okazia-dropdown .dd-item.logout { color: #c0392b; }
#okazia-dropdown .dd-item.logout svg { fill: #c0392b; }

/* ── MODAL ── */
#okazia-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 99999; align-items: center; justify-content: center;
}
#okazia-modal-overlay.active { display: flex; }
#okazia-modal {
  background: #fff; border-radius: 16px; padding: 32px; width: 100%; max-width: 380px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15); position: relative; font-family: sans-serif;
}
#okazia-modal .modal-logo { text-align: center; margin-bottom: 16px; }
#okazia-modal .modal-logo svg {
  width: 48px; height: 48px; background: #003a26; border-radius: 50%;
  padding: 10px; fill: white; box-sizing: border-box;
}
#okazia-modal h2 { margin: 0 0 4px; font-size: 20px; color: #111; text-align: center; }
#okazia-modal .modal-sub { text-align: center; font-size: 13px; color: #888; margin: 0 0 20px; }
#okazia-modal input {
  width: 100%; padding: 11px 14px; margin-bottom: 12px; border: 1px solid #ddd;
  border-radius: 8px; font-size: 14px; box-sizing: border-box; font-family: sans-serif;
}
#okazia-modal input:focus { outline: none; border-color: #003a26; }
#okazia-modal .btn-submit {
  width: 100%; padding: 12px; background: #003a26; color: #fff; border: none;
  border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer;
}
#okazia-modal .btn-submit:hover { background: #005c3a; }
#okazia-modal .toggle-link {
  display: block; text-align: center; margin-top: 14px;
  font-size: 13px; color: #666; cursor: pointer; text-decoration: underline;
}
#okazia-modal .close-btn {
  position: absolute; top: 14px; right: 18px; font-size: 22px;
  cursor: pointer; color: #bbb; background: none; border: none;
}
#okazia-modal .error-msg {
  color: #c0392b; font-size: 13px; margin-bottom: 10px; display: none;
  background: #fff0f0; padding: 8px 12px; border-radius: 6px;
}

/* ── FAVORITES PANEL ── */
#okazia-favorites-panel {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 99999;
  align-items: flex-start; justify-content: flex-end;
}
html[dir="rtl"] #okazia-favorites-panel { justify-content: flex-start; }
#okazia-favorites-panel.active { display: flex; }
#okazia-favorites-inner { background: #fff; width: 340px; height: 100vh; overflow-y: auto; font-family: sans-serif; }
.fav-header { background: #003a26; color: white; padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.fav-header h2 { margin: 0; font-size: 18px; }
.fav-header button { background: none; border: none; color: white; font-size: 24px; cursor: pointer; }
.fav-body { padding: 16px 20px; }
.fav-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; color: #333; }
.fav-remove { background: none; border: none; color: #c0392b; cursor: pointer; font-size: 20px; }
.ok-empty-msg { color: #999; font-size: 14px; text-align: center; padding: 40px 20px; line-height: 1.8; }

/* ── FLOATING CONTACT MENU ── */
.floating-menu-wrapper { position: fixed; bottom: 20px; right: 20px; z-index: 999; }
.floating-toggle {
  width: 56px; height: 56px; background-color: #008000; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 8px rgba(0,0,0,0.25); transition: background-color 0.3s;
}
.floating-toggle img { width: 30px; height: 30px; }
.floating-contacts {
  display: flex; flex-direction: column; align-items: center; margin-bottom: 10px;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all 0.3s ease;
}
.floating-menu-wrapper:hover .floating-contacts { opacity: 1; pointer-events: auto; transform: translateY(0); }
.floating-contacts a {
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 4px 8px rgba(0,0,0,0.2); transition: transform 0.3s ease;
}
.floating-contacts a:hover { transform: scale(1.1); }
.floating-contacts img { width: 24px; height: 24px; }
.whatsapp { background-color: #25D366; }
.telegram { background-color: #0088cc; }
.facebook { background-color: #1877f2; }
.instagram { background-color: #E1306C; }

@media (max-width: 768px) {
  .nav-bar, .info-bar { flex-direction: column; align-items: center; text-align: center; }
}
