/* RANTIZ UI Core | Component 001 – premium navigation */
.rz-header-shell,
.rz-header-shell * { box-sizing: border-box; }
.rz-header-shell { position: relative; z-index: 999; width: 100%; }
.rz-header {
  position: relative;
  width: 100%;
  color: #f5f6f7;
  background: linear-gradient(110deg, #0a0c0f 0%, #14171c 63%, #0a0c0f 100%);
  border-bottom: 1px solid rgba(178,187,198,.12);
  box-shadow: 0 9px 32px rgba(0,0,0,.12);
  font-family: Manrope, Inter, system-ui, sans-serif;
  transition: box-shadow .28s ease, background-color .28s ease;
}
.rz-header.is-scrolled { box-shadow: 0 13px 34px rgba(0,0,0,.26); }
.rz-header.is-scrolled .rz-header-inner { min-height: 72px; }
.rz-header.is-scrolled .rz-brand { width: clamp(145px, 14vw, 175px); }
.rz-header-inner, .rz-brand { transition: min-height .25s ease, width .25s ease; }
.rz-header::after {
  content: ''; display: block; position: absolute; bottom: -1px; left: 0;
  height: 1px; width: 100%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,121,26,.30) 55%, transparent);
}
.rz-header-inner {
  width: min(1600px, calc(100% - 52px));
  min-height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.9vw, 30px);
}
.rz-brand { display: inline-flex; align-items: center; flex: 0 0 auto; width: clamp(150px, 12vw, 185px); text-decoration: none; }
.rz-brand img { width: 100%; height: auto; display: block; }
.rz-nav { flex: 1 1 auto; min-width: 0; }
.rz-nav-list { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; justify-content: center; gap: clamp(12px,1.25vw,21px); }
.rz-nav-list > li { position: relative; margin: 0; padding: 0; }
.rz-nav-list a {
  position: relative; display: inline-flex; align-items: center; padding-block: 12px;
  color: #c9ced6; font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: .045em; text-transform: uppercase; line-height: 1.3;
  text-decoration: none; transition: color .2s ease;
}
.rz-nav-list > li > a::after { content: ''; position: absolute; left: 0; bottom: 5px; width: 0; height: 2px; background: #ff791a; transition: width .25s ease; }
.rz-nav-list a:hover, .rz-nav-list a:focus-visible, .rz-nav-list .current-menu-item > a, .rz-nav-list .current_page_item > a { color: #fff; }
.rz-nav-list > li:hover > a::after, .rz-nav-list > li:focus-within > a::after, .rz-nav-list .current-menu-item > a::after { width: 100%; }
.rz-nav-list .sub-menu {
  display: block; position: absolute; top: calc(100% + 6px); left: -14px; min-width: 200px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  margin: 0; padding: 10px 14px; list-style: none;
  background: #1a1d22; border: 1px solid #343940; border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0,0,0,.25);
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 3;
}
.rz-nav-list li:hover > .sub-menu, .rz-nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.rz-nav-list .sub-menu li { margin: 0; padding: 0; }
.rz-nav-list .sub-menu a { width: 100%; padding: 10px 6px; font-size: 11px; text-transform: none; letter-spacing: .015em; }
.rz-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.rz-icon-button {
  border: 0; padding: 0; background: transparent; color: #eef0f4; cursor: pointer;
  display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 40px;
  border-radius: 8px; position: relative; transition: color .2s, background .2s; text-decoration: none;
}
.rz-icon-button:hover, .rz-icon-button:focus-visible { background: rgba(255,255,255,.075); color: #ff791a; }
.rz-cart-count {
  position: absolute; top: 0; right: -2px; min-width: 17px; height: 17px;
  display: flex; align-items: center; justify-content: center;
  padding-inline: 3px; border-radius: 999px; background: #ff791a; color: #101114;
  font-size: 10px; font-weight: 800; line-height: 1;
}
.rz-shop-cta {
  margin-left: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 40px; padding: 10px 16px; background: #ff791a; color: #111;
  font: 800 11px/1.25 Manrope,Inter,sans-serif; letter-spacing: .035em; text-transform: uppercase;
  text-decoration: none; border-radius: 3px; transition: background .2s, transform .2s;
}
.rz-shop-cta:hover, .rz-shop-cta:focus-visible { color:#111; background: #ff9b4f; transform: translateY(-1px); }
.rz-menu-toggle { display: none; }
.rz-search {
  position: absolute; top: 100%; inset-inline: 0;
  background: #15181e; border-top: 1px solid #323740; border-bottom: 1px solid #3c414a;
  box-shadow: 0 16px 40px rgba(0,0,0,.28); padding: 24px max(24px, calc((100vw - 1600px)/2)); z-index: 5;
}
.rz-search[hidden] { display: none !important; }
.rz-search form { max-width: 690px; margin-inline: auto; }
.rz-search label { display: block; margin-bottom: 10px; color: #d9dce1; font-size: 12px; font-weight: 700; }
.rz-search-fields { display:flex; align-items: stretch; gap: 8px; }
.rz-search-fields input { flex:1; min-width: 0; padding: 13px 15px; color: #fff; background: #242930; border: 1px solid #464e58; border-radius: 3px; font: 14px/1.5 Manrope,Inter,sans-serif; }
.rz-search-fields input::placeholder { color: #9da3ad; }
.rz-search-fields button { display: flex; gap: 8px; align-items:center; border: 0; padding: 0 20px; background: #ff791a; color: #101114; border-radius: 3px; font: 800 12px Manrope,Inter,sans-serif; cursor: pointer; }
.rz-header-shell a:focus-visible, .rz-header-shell button:focus-visible, .rz-header-shell input:focus-visible { outline: 2px solid #ff9b4f; outline-offset: 3px; }
/* Desktop width refinement: more room for real WordPress menu items. */
@media (min-width: 1081px) {
  .rz-nav-list > li { flex: 0 0 auto; }
  .rz-nav-list > li > a { white-space: nowrap; }
  .rz-actions { gap: 6px; }
  .rz-shop-cta { margin-left: 4px; padding-inline: 13px; }
}
@media (min-width: 1081px) and (max-width: 1320px) {
  .rz-header-inner { width: calc(100% - 36px); gap: 15px; }
  .rz-nav-list { gap: 12px; }
  .rz-brand { width: 158px; }
  .rz-nav-list > li > a { font-size: 11px; letter-spacing: .025em; }
  .rz-shop-cta { display: none; }
}
@media (max-width: 1080px) {
  .rz-header-inner { width: min(100% - 36px, 1280px); gap: 18px; min-height: 76px; }
  .rz-brand { width: 160px; }
  .rz-shop-cta { display: none; }
  .rz-nav-list { gap: 16px; }
  .rz-nav-list a { font-size: 11px; }
}
@media (max-width: 767px) {
  .rz-header-inner, .rz-header.is-scrolled .rz-header-inner { min-height: 68px; width: calc(100% - 32px); justify-content: space-between; }
  .rz-brand, .rz-header.is-scrolled .rz-brand { width: 148px; }
  .rz-brand { width: 148px; }
  .rz-actions { gap: 4px; }
  .rz-menu-toggle { display: inline-flex; }
  .rz-burger { width: 22px; height: 19px; display: flex; flex-direction: column; justify-content: space-between; padding: 2px 0; }
  .rz-burger > span { height: 1.5px; width: 100%; background: currentColor; display: block; transition: transform .25s, opacity .25s; }
  .rz-menu-toggle[aria-expanded="true"] .rz-burger > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .rz-menu-toggle[aria-expanded="true"] .rz-burger > span:nth-child(2) { opacity: 0; }
  .rz-menu-toggle[aria-expanded="true"] .rz-burger > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .rz-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #14171c; padding: 12px 24px 22px; max-height: calc(100dvh - 68px); overflow-y: auto; border-top: 1px solid #333941; box-shadow: 0 22px 32px rgba(0,0,0,.34); z-index: 4; }
  .rz-nav.is-open { display: block; }
  .rz-nav-list { display: block; }
  .rz-nav-list > li { border-bottom: 1px solid #292e36; }
  .rz-nav-list > li > a { display: block; font-size: 13px; padding: 15px 0; }
  .rz-nav-list > li > a::after { bottom: 8px; }
  .rz-nav-list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 8px 16px; box-shadow: none; background: transparent; border: 0; }
  .rz-nav-list .sub-menu a { font-size: 12px; }
  .rz-search { padding: 22px 18px; }
  .rz-search-fields button { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rz-header-shell *, .rz-header-shell *::before, .rz-header-shell *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
