:root {
  --yf-ink: #0f172a;
  --yf-ink-soft: #1e293b;
  --yf-gold: #c9a55c;
  --yf-gold-dark: #a9843e;
  --yf-muted: #64748b;
  --yf-line: #e2e8f0;
}

html { scroll-behavior: smooth; }
body { font-family: "Inter", "Poppins", sans-serif; color: var(--yf-ink); background: #fff; }

/* Luxury topbar */
.yf-topbar {
  position: relative;
  z-index: 1002;
  min-height: 38px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: var(--yf-ink) !important;
}
.yf-topbar .cn-info ul,
.yf-topbar .top-social { min-height: 38px; display: flex; align-items: center; }
.yf-topbar .cn-info li { margin-right: 22px; font-size: 12px; color: rgba(255,255,255,.72); }
.yf-topbar .cn-info li i { margin-right: 7px; color: var(--yf-gold); }
.yf-topbar .cn-info a { color: rgba(255,255,255,.78) !important; transition: color .25s ease; }
.yf-topbar .cn-info a:hover { color: #fff !important; }
.yf-topbar .top-social { justify-content: flex-end; gap: 3px; }
.yf-topbar .top-social li { padding: 0; }
.yf-topbar .top-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: rgba(255,255,255,.64);
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.yf-topbar .top-social a:hover { color: #fff; background: rgba(255,255,255,.10); transform: translateY(-1px); }

/* Sticky main navigation */
.yf-header {
  position: sticky !important;
  top: 0;
  z-index: 1001 !important;
  border-bottom: 1px solid rgba(226,232,240,.86);
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 8px 30px rgba(15,23,42,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.yf-header .navigation { min-height: 76px; background: transparent; }
.yf-header .nav-header { min-height: 76px; display: flex; align-items: center; }
.yf-header .nav-brand { display: inline-flex; align-items: center; padding: 8px 0; }
.yf-header .nav-brand .logo { width: auto; max-width: 190px; height: 52px; object-fit: contain; }
.yf-header .nav-menus-wrapper { display: flex; align-items: center; justify-content: flex-end; }
.yf-header .nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.yf-header .nav-menu > li { float: none; }
.yf-header .nav-menu > li > a {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 0 14px !important;
  color: #334155 !important;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.yf-header .nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--yf-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}
.yf-header .nav-menu > li:hover > a,
.yf-header .nav-menu > li.active > a { color: var(--yf-ink) !important; }
.yf-header .nav-menu > li:hover > a::after,
.yf-header .nav-menu > li.active > a::after { transform: scaleX(1); }
.yf-header .submenu-indicator { margin-left: 7px; }
.yf-header .nav-dropdown {
  padding: 10px;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 16px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 60px rgba(15,23,42,.16);
}
.yf-header .nav-dropdown > li > a {
  padding: 11px 13px;
  border-radius: 10px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  transition: all .25s ease;
}
.yf-header .nav-dropdown > li > a:hover { padding-left: 17px; color: var(--yf-ink); background: #f8fafc; }

/* Search Select2 normalization */
.yf-search-field .select2-container { display: block; width: 100% !important; height: 36px; }
.yf-search-field .select2-container--default .select2-selection--single {
  height: 36px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.yf-search-field .select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 36px;
  padding: 0 26px 0 0 !important;
  color: var(--yf-ink) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 36px !important;
}
.yf-search-field .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #64748b !important; }
.yf-search-field .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 0 !important;
  right: 0 !important;
  width: 20px !important;
  height: 36px !important;
}
.yf-search-field .select2-container--default .select2-selection--single .select2-selection__clear { top: 0; right: 20px; }
.select2-dropdown { overflow: hidden; border: 1px solid var(--yf-line) !important; border-radius: 14px !important; box-shadow: 0 18px 45px rgba(15,23,42,.15); }
.select2-results__option { padding: 10px 13px !important; font-size: 13px; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--yf-ink) !important; }

/* Modern mobile menu */
@media (max-width: 992px) {
  .yf-topbar { display: none; }
  .yf-header {
    min-height: 68px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .yf-header .container { max-width: 100%; padding: 0 18px; }
  .yf-header .navigation,
  .yf-header .nav-header { width: 100%; min-height: 68px; height: 68px; }
  .yf-header .nav-brand .logo { max-width: 155px; height: 44px; }
  .yf-header .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 0;
    width: 44px;
    height: 44px;
    margin-top: 0;
    padding: 0;
    border-radius: 13px;
    background: #f1f5f9;
    transform: translateY(-50%);
    box-shadow: 0 8px 20px rgba(15,23,42,.10);
    z-index: 4;
  }
  .yf-header .nav-toggle::before {
    top: 14px;
    left: 10px;
    width: 24px;
    background: var(--yf-ink-soft);
    box-shadow: 0 7px 0 var(--yf-ink-soft), 0 14px 0 var(--yf-ink-soft);
  }
  .yf-header .navigation-portrait .nav-menus-wrapper {
    display: block;
    position: fixed;
    top: 0;
    right: -100vw;
    left: auto;
    width: min(86vw, 370px);
    height: 100vh;
    height: 100dvh;
    padding: 0 18px 32px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    box-shadow: -18px 0 55px rgba(15,23,42,.22);
    opacity: 1;
    visibility: visible;
    z-index: 20000;
    transition: right .35s cubic-bezier(.22,.8,.32,1);
  }
  .yf-header .navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-open {
    right: 0;
    left: auto;
  }
  .yf-header .nav-menus-wrapper-close-button {
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 14px 0 18px auto;
    border-radius: 13px;
    background: #f1f5f9;
    color: var(--yf-ink-soft);
    font-size: 24px;
    line-height: 1;
  }
  .yf-header .nav-menus-wrapper-close-button:hover {
    background: var(--yf-ink);
    color: #fff;
  }
  .yf-header .nav-menu {
    clear: both;
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .yf-header .nav-menu::before {
    content: "MENÜ";
    display: block;
    padding: 0 12px 13px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
  }
  .yf-header .nav-menu > li > a {
    min-height: 52px;
    padding: 0 12px !important;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 10px;
    font-size: 13px;
  }
  .yf-header .nav-menu > li > a::after { display: none; }
  .yf-header .nav-menu > li > a:hover { background: #f8fafc; }
  .yf-header .nav-dropdown { border: 0; border-radius: 10px; box-shadow: none; background: #f8fafc; }
  .yf-header .navigation-portrait .nav-dropdown > li > a { padding: 12px 14px 12px 22px; }
  .yf-header .nav-overlay-panel {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 19999;
  }
}

@media (max-width: 575px) {
  .yf-header .nav-brand .logo { max-width: 138px; }
  .yf-search-field .select2-container,
  .yf-search-field .select2-container--default .select2-selection--single,
  .yf-search-field .select2-container--default .select2-selection--single .select2-selection__rendered,
  .yf-search-field .select2-container--default .select2-selection--single .select2-selection__arrow { height: 38px !important; line-height: 38px !important; }
}
