/* ===== OJSP header / navbar (v2) =====
   Loaded after ojsp.css. Overrides only the header so nothing else on the site changes.
   Layouts: >=1200 full row | 992-1199 compact row | <992 menu button + panel under header | <=575 small logo */

.site-header{position:sticky;top:0;z-index:1030;background:rgba(251,247,239,.97);
  backdrop-filter:saturate(1.2) blur(8px);-webkit-backdrop-filter:saturate(1.2) blur(8px);
  border-bottom:1px solid var(--line);box-shadow:2px 2px 5px grey}
.site-header .hdr{min-height:90px;display:flex;align-items:center;gap:clamp(.8rem,1.6vw,1.6rem);flex-wrap:nowrap}

/* logo + AYURVED */
.site-header .brand{display:flex;align-items:center;gap:.6rem;flex:0 0 auto;text-decoration:none;min-width:0}
.site-header .brand img{width:74px;height:74px;object-fit:contain;display:block;flex:0 0 auto}
.site-header .brand .brand-tag{font-family:var(--sans);font-weight:700;font-size:1.02rem;line-height:1;
  letter-spacing:.34em;text-transform:uppercase;color:var(--saffron);white-space:nowrap;margin:0;padding:0;display:block}

/* desktop menu: one row, never wraps */
.site-header .mainnav{flex:1 1 auto;display:flex;align-items:center;justify-content:center;min-width:0;position:static}
.site-header .mainnav ul{display:flex;align-items:center;gap:.1rem;margin:0;padding:0;list-style:none;flex-wrap:nowrap}
.site-header .mainnav a{display:block;padding:.52rem .78rem;border-radius:999px;color:var(--ink);text-decoration:none;
  font-weight:500;font-size:.98rem;line-height:1.2;white-space:nowrap}
.site-header .mainnav a:hover,.site-header .mainnav a.active{background:var(--sage);color:var(--leaf)}
.site-header .navsearch{display:none}

/* right side icons */
.site-header .hdr-actions{display:flex;align-items:center;gap:.2rem;flex:0 0 auto;margin-left:auto}
.site-header .ico{width:44px;height:44px}
.site-header .burger{display:none}

/* 992 - 1439: search hidden, menu tightened so it never overlaps */
@media (min-width:992px) and (max-width:1439.98px){
  .site-header .brand img{width:75px;height:72px}
  .site-header .brand .brand-tag{font-size:25px;letter-spacing:.26em}
  .site-header .mainnav a{font-size:.9rem;padding:.45rem .5rem}
  .site-header .mainnav ul{gap:0}
}

/* below 992: menu button; panel opens directly under the header */
@media (max-width:991.98px){
  .site-header .hdr{min-height:78px;gap:.6rem}
  .site-header .burger{display:inline-flex}
  .site-header .mainnav{position:absolute;left:0;right:0;top:100%;display:none;flex-direction:column;align-items:stretch;
    background:var(--cream);padding:.6rem 1rem 1.2rem;border-bottom:1px solid var(--line);box-shadow:var(--shadow);
    transform:none;transition:none;
    max-height:calc(100vh - 72px);overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:1029}
  .nav-open .site-header .mainnav{display:flex}
  .site-header .mainnav ul{flex-direction:column;align-items:stretch;gap:.15rem}
  .site-header .mainnav a{padding:.8rem 1rem;font-size:1.02rem;border-radius:12px}
  .site-header .navsearch{display:flex;width:100%;margin-top:.8rem;border:1px solid var(--line);border-radius:999px;background:#fff;overflow:hidden}
  .site-header .navsearch input{flex:1 1 auto;min-width:0;border:0;padding:.6rem .9rem;outline:0;font-size:.95rem;background:transparent}
  .site-header .navsearch button{border:0;background:transparent;padding:0 .9rem;color:var(--leaf)}
}

/* phones */
@media (max-width:575.98px){
  .site-header .hdr{min-height:70px;gap:.4rem}
  .site-header .brand{gap:.4rem}
  .site-header .brand img{width:54px;height:54px}
  .site-header .brand .brand-tag{font-size:.8rem;letter-spacing:.22em}
  .site-header .ico{width:40px;height:40px;font-size:1.2rem}
  .site-header .hdr-actions{gap:.1rem}
}
/* very small phones (320-360) */
@media (max-width:359.98px){
  .site-header .brand img{width:46px;height:46px}
  .site-header .brand .brand-tag{font-size:.72rem;letter-spacing:.18em}
  .site-header .ico{width:38px;height:38px}
}

/* ===== footer logo: same logo and AYURVED tag as the header; cream backing so it shows on the dark footer ===== */
.site-footer .brand{display:flex;align-items:center;gap:.9rem;text-decoration:none}
.site-footer .brand img{width:74px;height:74px;object-fit:contain;display:block;flex:0 0 auto;
  background:#fbf7ef;border-radius:16px;padding:6px;box-sizing:content-box}
.site-footer .brand .brand-tag{font-family:var(--sans);font-weight:700;font-size:25px;line-height:1;
  letter-spacing:.26em;text-transform:uppercase;color:var(--gold2);white-space:nowrap;margin:0;padding:0;display:block}
@media (max-width:575.98px){
  .site-footer .brand img{width:58px;height:58px;border-radius:12px;padding:4px}
  .site-footer .brand .brand-tag{font-size:19px;letter-spacing:.2em}
}

