/* Shared FAZICARS header, matching the main site without WordPress dependencies. */
/* Clip horizontal spill without making body a separate sticky scroll container. */
body.fazicars-reservation { overflow-x: clip; overflow-y: visible; }
.fc-site-header { position: sticky; top: 0; z-index: 99; width: 100%; padding: 25px 0; background: rgba(255,255,255,.92); }
.fc-header-inner { display: flex; align-items: center; min-height: 49px; width: 100%; max-width: var(--fc-layout-width); margin: 0 auto; padding: 0 var(--fc-layout-gutter); }
.fc-brand { display: flex; align-items: center; flex: 0 0 185px; min-height: 49px; border-right: 1px solid #c6c6c6; }
.fc-brand img { display: block; width: 140px; height: auto; }
.fc-desktop-navigation { display: flex; align-items: center; justify-content: flex-end; margin-left: auto; }
.fc-desktop-navigation a { display: block; padding: 13px 16px; color: #000; font-size: 16px; line-height: 20px; font-weight: 500; white-space: nowrap; text-decoration: none; }
.fc-desktop-navigation a:hover { color: #000; text-shadow: .25px 0 currentColor,-.25px 0 currentColor; }
.fc-header-call { position: relative; isolation: isolate; flex: 0 0 auto; display: flex; align-items: center; gap: 12px; overflow: hidden; margin-left: 60px; padding: 12px 25px; border-radius: 7px; background: #ffcf00; color: #000; font-size: 16px; font-weight: 700; line-height: 24px; text-decoration: none; white-space: nowrap; transition: color .3s ease; }
.fc-header-call::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #000; transform: translateX(-101%); transition: transform .3s ease; }
.fc-header-call:hover, .fc-header-call:focus-visible { color: #ffcf00; }
.fc-header-call:is(:hover,:focus-visible)::before { transform: translateX(0); }
.fc-call-icon { display: block; flex: none; width: 20px; height: 20px; transform-origin: 50% 60%; animation: fc-phone-ring 4s ease-in-out infinite; }
.fc-call-dot { position: relative; display: block; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.fc-call-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #22c55e; animation: fc-phone-pulse 2.4s ease-out infinite; }
@keyframes fc-phone-ring { 0%, 18%, 100% { transform: rotate(0); } 3%, 9% { transform: rotate(-12deg); } 6%, 12% { transform: rotate(12deg); } 15% { transform: rotate(-6deg); } }
@keyframes fc-phone-pulse { 0% { transform: scale(1); opacity: .65; } 75%, 100% { transform: scale(2.8); opacity: 0; } }
.fc-mobile-actions { display: none; }
.fc-menu-toggle[hidden] { display: none; }
.fc-menu-drawer { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: max(20px,env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom)); border: 0; background: #000; color: #fff; overflow-y: auto; overscroll-behavior: contain; }
.fc-menu-drawer:not([open]) { display: none; }
.fc-menu-drawer[open] { display: block; animation: fc-menu-enter .3s ease-out both; }
.fc-menu-drawer::backdrop { background: rgba(0,0,0,.25); }
.fc-menu-controls { display: flex; justify-content: flex-end; height: 25px; }
.fc-menu-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -7px -7px 0 0; padding: 12px; border: 0; background: transparent; color: #fff; }
.fc-menu-close svg { display: block; flex: none; width: 20px; height: 20px; }
.fc-mobile-navigation { display: flex; flex-direction: column; align-items: stretch; }
.fc-mobile-navigation a { display: flex; align-items: center; gap: 10px; min-height: 44px; width: 100%; padding: 10px 0; color: #fff; font-size: 16px; font-weight: 500; line-height: 24px; text-decoration: none; }
.fc-mobile-navigation img { flex: 0 0 24px; width: 24px; height: 24px; object-fit: contain; }
.fc-mobile-navigation a:is(:hover,:focus-visible) { color: #ffcf00; }
.fazicars-reservation .fc-menu-drawer :focus-visible { outline: 2px solid #ffcf00; outline-offset: 3px; }
@keyframes fc-menu-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (min-width: 1025px) and (max-width: 1279px) {
  .fc-brand { flex-basis: 145px; }
  .fc-brand img { width: 120px; }
  .fc-desktop-navigation a { padding: 13px 10px; font-size: 14px; }
  .fc-header-call { margin-left: 18px; padding: 12px 16px; gap: 9px; font-size: 14px; }
}
@media (max-width: 1024px) {
  .fc-site-header { padding: 11px 0; background: #f9f9f9; box-shadow: 0 14px 13px rgba(0,0,0,.05); }
  .fc-header-inner { min-height: 44px; padding: 0 var(--fc-layout-gutter); }
  .fc-brand { flex: 0 0 auto; min-height: 35px; padding-right: 10px; }
  .fc-brand img { width: 110px; }
  .fc-desktop-navigation, .fc-header-call { display: none; }
  .fc-mobile-actions { display: flex; align-items: center; gap: 11px; margin-left: auto; }
  .fc-header-phone { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding-right: 10px; border-right: 1px solid #c6c6c6; }
  .fc-mobile-phone-icon { position: relative; display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; border-radius: 50%; background: #e7f7ec; color: #111; }
  .fc-mobile-phone-icon .fc-call-dot { position: absolute; top: 0; right: 0; width: 7px; height: 7px; }
  .fc-menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 73px; min-height: 44px; padding: 4px 0; border: 0; background: transparent; color: #000; font-size: 13px; font-weight: 400; line-height: 20px; }
  .fc-menu-toggle svg { display: block; flex: none; width: 32px; height: 32px; }
  html:not(.fc-nav-ready) .fc-header-inner { flex-wrap: wrap; gap: 10px; }
  html:not(.fc-nav-ready) .fc-desktop-navigation { display: flex; flex-wrap: wrap; justify-content: flex-start; order: 3; width: 100%; }
  html:not(.fc-nav-ready) .fc-desktop-navigation a { font-size: 14px; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .fc-menu-drawer[open] { animation: none; }
  .fc-header-call, .fc-header-call::before { transition: none; }
  .fc-call-icon, .fc-call-dot::after { animation: none; }
  .fc-call-dot::after { opacity: 0; }
}
