/* Rama Rudraksha — Custom Premium Header v3.3.0. Scoped to #rrch-header and rrch body classes. */
:root {
  --rrch-desktop-h:86px;
  --rrch-compact-h:60px;
  --rrch-mobile-h:70px;
  --rrch-ink:#32271f;
  --rrch-muted:#746859;
  --rrch-accent:#96724d;
  --rrch-accent-hover:#745333;
  --rrch-paper:#faf7f1;
  --rrch-outline:#e7dacc;
  --rrch-shadow:0 9px 28px rgba(56,39,22,.085);
  --rrch-easing:cubic-bezier(.22,.7,.28,1);
}
body.rrch-custom-header-active{padding-top:var(--rrch-desktop-h)!important}
/* The homepage hero can sit beneath Elementor/Goldish wrappers with a small
   reserved top strip. The variable below is set only after measuring the real
   gap, and is scoped to the hero itself (not every Elementor section). */
body.rrch-custom-header-active.rrch-home-overlay{
  padding-top:0!important;
  margin-top:0!important;
}
body.rrch-custom-header-active.rrch-home-overlay .rrh-hero{
  margin-top:var(--rrch-home-gap-correction,0px)!important;
}
@media(max-width:1050px){body.rrch-custom-header-active:not(.rrch-home-overlay){padding-top:var(--rrch-mobile-h)!important}}
/* Goldish stays installed, but its header does not compete with this custom header. */
body.rrch-hide-theme-header :is(.c-header,header#masthead,#masthead,header.site-header,.site-header,header.header,.header-wrapper,.l-header,.elementor-location-header){display:none!important}
#rrch-header,#rrch-header *{box-sizing:border-box}
#rrch-header{
  position:fixed;top:0;left:0;right:0;width:100%;z-index:99990;
  background:transparent;color:var(--rrch-ink);
  border-bottom:1px solid transparent;box-shadow:none;
  transition:background-color .26s ease,border-color .26s ease,box-shadow .26s ease;
  font-family:Arial,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
  -webkit-font-smoothing:antialiased;
}
body.admin-bar #rrch-header{top:32px}
@media(max-width:782px){body.admin-bar #rrch-header{top:46px}}
#rrch-header .rrch-inner{
  display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr) minmax(0,auto);
  align-items:center;gap:18px;min-height:var(--rrch-desktop-h);max-width:1480px;
  padding:0 clamp(20px,3vw,50px);margin:0 auto;
  transition:min-height .3s var(--rrch-easing),padding .3s var(--rrch-easing);
}
body.rrch-scrolled #rrch-header{
  background:rgba(250,247,241,.985);
  border-bottom:1px solid var(--rrch-outline);
  box-shadow:var(--rrch-shadow);
}
body.rrch-scrolled #rrch-header .rrch-inner{
  min-height:var(--rrch-compact-h);
  padding-inline:clamp(18px,2.7vw,42px);
}
#rrch-header .rrch-left,#rrch-header .rrch-right{min-width:0}
#rrch-header .rrch-brand{
  display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap;
  color:var(--rrch-ink)!important;text-decoration:none!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:28px!important;font-weight:400!important;line-height:1.15!important;
  letter-spacing:-.05em!important;
  transition:font-size .3s var(--rrch-easing);
}
#rrch-header .rrch-brand-main{color:var(--rrch-ink)}
#rrch-header .rrch-brand-accent{color:var(--rrch-accent);font-style:italic;font-weight:400}
body.rrch-scrolled #rrch-header .rrch-brand{font-size:23px!important}
#rrch-header .rrch-nav{display:flex;justify-content:center;min-width:0}
#rrch-header .rrch-nav-list{display:flex;align-items:center;justify-content:center;gap:3px;list-style:none;margin:0;padding:0;flex-wrap:nowrap}
#rrch-header .rrch-nav-list li{position:relative;list-style:none;margin:0;padding:0}
#rrch-header .rrch-nav-list > li > a{
  display:flex;align-items:center;min-height:44px;padding:10px clamp(8px,1vw,16px);
  color:var(--rrch-ink)!important;text-decoration:none!important;
  font-family:Arial,sans-serif!important;font-size:14px!important;font-weight:400!important;
  letter-spacing:.01em!important;line-height:1.3!important;white-space:nowrap;
  transition:color .2s ease;
}
#rrch-header .rrch-nav-list > li > a:hover,
#rrch-header .rrch-nav-list > li.current-menu-item > a,
#rrch-header .rrch-nav-list > li.current_page_item > a{color:var(--rrch-accent-hover)!important}
#rrch-header .rrch-nav-list ul{
  position:absolute;top:100%;left:0;min-width:210px;max-width:320px;
  display:block;margin:0;padding:10px 7px;list-style:none;
  opacity:0;visibility:hidden;pointer-events:none;
  border:1px solid var(--rrch-outline);border-radius:10px;background:#fffaf5;
  box-shadow:var(--rrch-shadow);
  transform:translateY(6px);
  transition:opacity .17s ease,transform .17s ease,visibility .17s;
}
#rrch-header .rrch-nav-list li:hover > ul,
#rrch-header .rrch-nav-list li:focus-within > ul{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
#rrch-header .rrch-nav-list ul a{
  display:block;padding:10px 13px!important;font:400 14px/1.35 Arial,sans-serif!important;
  text-decoration:none!important;color:var(--rrch-ink)!important;border-radius:7px;
}
#rrch-header .rrch-nav-list ul a:hover{color:var(--rrch-accent-hover)!important;background:#f6efe5!important}
#rrch-header .rrch-right{display:flex;align-items:center;justify-content:flex-end;gap:3px}
#rrch-header .rrch-icon{
  display:inline-flex;align-items:center;justify-content:center;position:relative;
  width:39px;height:39px;padding:0;margin:0;border:0!important;border-radius:50%;
  color:var(--rrch-ink)!important;background:transparent!important;text-decoration:none!important;
  cursor:pointer;transition:background .17s ease,color .17s ease;
}
#rrch-header .rrch-icon:hover{color:var(--rrch-accent-hover)!important;background:rgba(180,139,90,.10)!important}
#rrch-header .rrch-icon svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#rrch-header .rrch-count{
  position:absolute;top:0;right:-2px;min-width:17px;height:17px;
  padding:0 4px;border-radius:999px;background:var(--rrch-accent-hover);color:white;
  font:500 10px/17px Arial,sans-serif;text-align:center;
}
#rrch-header .rrch-menu-toggle{display:none}
#rrch-header .rrch-search-panel[hidden],#rrch-header .rrch-cart-popover[hidden],.rrch-mobile-panel[hidden],.rrch-overlay[hidden]{display:none!important}
#rrch-header .rrch-search-panel{border-top:1px solid var(--rrch-outline);background:rgba(250,247,241,.99);padding:14px 24px 18px}
#rrch-header .rrch-search-form{max-width:1350px;margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:12px}
#rrch-header .rrch-search-form input{min-width:0;height:47px;background:#fffefa;color:var(--rrch-ink);border:1px solid var(--rrch-outline);border-radius:9px;padding:0 16px;font:400 15px/1.3 Arial,sans-serif}
#rrch-header .rrch-search-form input:focus{outline:2px solid rgba(150,114,77,.28);border-color:var(--rrch-accent)}
#rrch-header .rrch-search-form button{height:47px;border:0;border-radius:9px;padding:0 21px;color:#fff;background:var(--rrch-ink);font:500 13px/1 Arial,sans-serif;cursor:pointer}
/* Real WooCommerce mini cart anchored to the bag icon. */
#rrch-header .rrch-cart-area{position:relative;display:flex;align-items:center;justify-content:center}
#rrch-header .rrch-cart-popover{
  position:absolute;top:calc(100% + 15px);right:0;width:365px;max-width:calc(100vw - 24px);
  padding:18px 20px 17px;background:#fffdf9;color:var(--rrch-ink);
  border:1px solid #e6d8c8;border-radius:12px;box-shadow:0 22px 55px rgba(48,32,17,.17);
  max-height:min(70vh,560px);overflow-y:auto;overscroll-behavior:contain;z-index:100011;
}
#rrch-header .rrch-cart-popover::before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px;}
#rrch-header .rrch-cart-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px;padding-bottom:11px;border-bottom:1px solid var(--rrch-outline)}
#rrch-header .rrch-cart-heading strong{color:var(--rrch-ink);font:400 22px/1.2 Georgia,serif}
#rrch-header .rrch-cart-close{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;background:transparent;color:var(--rrch-muted);cursor:pointer}
#rrch-header .rrch-cart-close svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round}
#rrch-header .rrch-mini-cart-content{font:400 13px/1.5 Arial,sans-serif;color:var(--rrch-muted)}
#rrch-header .rrch-mini-cart-content ul.woocommerce-mini-cart{list-style:none!important;margin:0!important;padding:0!important}
#rrch-header .rrch-mini-cart-content ul.woocommerce-mini-cart li{
  display:block;position:relative;min-height:65px;clear:both;margin:0!important;padding:9px 21px 12px 0!important;
  border-bottom:1px solid #eee3d6;
}
#rrch-header .rrch-mini-cart-content ul.woocommerce-mini-cart li::after{content:"";display:block;clear:both}
#rrch-header .rrch-mini-cart-content ul.woocommerce-mini-cart li img{float:left;width:55px!important;height:55px!important;object-fit:contain!important;margin:0 12px 3px 0!important;border-radius:6px;background:#f7f3eb}
#rrch-header .rrch-mini-cart-content ul.woocommerce-mini-cart li a:not(.remove){color:var(--rrch-ink)!important;font-weight:500!important;font-size:13px!important;text-decoration:none!important}
#rrch-header .rrch-mini-cart-content ul.woocommerce-mini-cart li a.remove{position:absolute;top:8px;right:0;left:auto;float:none;color:#9a5446!important;font-size:18px!important;text-decoration:none!important}
#rrch-header .rrch-mini-cart-content .quantity{display:block;margin:5px 0 0;color:var(--rrch-muted);font-weight:400!important;font-size:12px!important}
#rrch-header .rrch-mini-cart-content .woocommerce-mini-cart__total{display:flex;justify-content:space-between;gap:10px;margin:17px 0 12px!important;padding:0;border:0;color:var(--rrch-ink);font-size:13px!important}
#rrch-header .rrch-mini-cart-content .woocommerce-mini-cart__buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0!important}
#rrch-header .rrch-mini-cart-content .woocommerce-mini-cart__buttons a{
  display:flex!important;align-items:center;justify-content:center!important;margin:0!important;
  min-height:42px!important;padding:9px 10px!important;text-decoration:none!important;
  border-radius:6px!important;border:1px solid var(--rrch-outline)!important;
  font:500 12px/1.25 Arial,sans-serif!important;text-transform:none!important;
  color:var(--rrch-ink)!important;background:#fffaf4!important;box-shadow:none!important;
}
#rrch-header .rrch-mini-cart-content .woocommerce-mini-cart__buttons a.checkout{color:#fff!important;border-color:#46372a!important;background:#46372a!important}
#rrch-header .rrch-mini-cart-content .woocommerce-mini-cart__empty-message{margin:16px 0!important;color:var(--rrch-muted);font-size:13px!important}
#rrch-header .rrch-view-cart-link{display:block;text-align:center;font:400 12px/1.3 Arial,sans-serif;color:var(--rrch-accent-hover)!important;text-decoration:underline!important;text-underline-offset:3px;padding:9px 0 0}
/* mobile drawer becomes a body child via JS; never clipped by the fixed header. */
.rrch-mobile-panel,.rrch-overlay{display:none}
.rrch-overlay:not([hidden]){position:fixed;inset:0;display:block;background:rgba(28,21,16,.30);z-index:100000}
.rrch-mobile-panel:not([hidden]){
  position:fixed;top:0;right:0;bottom:0;display:block;width:min(360px,88vw);z-index:100001;
  overflow-y:auto;background:#fffbf5;padding:18px 17px 24px;
  box-shadow:-20px 0 50px rgba(41,28,15,.17);
}
.rrch-mobile-top{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px}
.rrch-mobile-title{color:var(--rrch-ink);font:400 25px/1.2 Georgia,serif}
.rrch-mobile-panel .rrch-nav-list{display:block!important;margin:0!important;padding:0!important;list-style:none}
.rrch-mobile-panel .rrch-nav-list li{display:block;margin:0!important;list-style:none}
.rrch-mobile-panel .rrch-nav-list a{display:block;padding:12px!important;color:var(--rrch-ink)!important;text-decoration:none!important;font:400 15px/1.5 Arial,sans-serif!important}
.rrch-mobile-panel .rrch-nav-list ul{position:static!important;display:block!important;visibility:visible!important;opacity:1!important;transform:none!important;box-shadow:none!important;border:0!important;background:transparent!important;margin:0 0 0 13px!important;padding:0!important}
.rrch-mobile-panel .rrch-nav-list ul a{font-size:13px!important;color:var(--rrch-muted)!important}
.rrch-mobile-panel .rrch-icon{display:grid;place-items:center;width:35px;height:35px;background:transparent;border:0;color:var(--rrch-ink)}
.rrch-mobile-panel .rrch-icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7}
body.rrch-menu-open{overflow:hidden}
#rrch-header a:focus-visible,#rrch-header button:focus-visible,.rrch-mobile-panel button:focus-visible,.rrch-mobile-panel a:focus-visible{outline:2px solid var(--rrch-accent)!important;outline-offset:3px!important}
/* Mobile/tablet navigation */
@media(max-width:1050px){
 #rrch-header .rrch-inner{min-height:var(--rrch-mobile-h);padding:0 20px;gap:9px;grid-template-columns:1fr auto}
 body.rrch-scrolled #rrch-header .rrch-inner{min-height:58px;padding-inline:18px}
 #rrch-header .rrch-nav{display:none}
 #rrch-header .rrch-menu-toggle{display:inline-flex}
 #rrch-header .rrch-brand{font-size:25px!important}
 body.rrch-scrolled #rrch-header .rrch-brand{font-size:21px!important}
 #rrch-header .rrch-right{gap:0}
 #rrch-header .rrch-icon{width:37px;height:37px}
 #rrch-header .rrch-cart-popover{position:fixed;top:calc(var(--rrch-mobile-h) + 10px);right:12px;left:12px;width:auto;max-width:none;max-height:min(67vh,530px)}
 body.rrch-scrolled #rrch-header .rrch-cart-popover{top:67px}
 body.admin-bar #rrch-header .rrch-cart-popover{top:calc(var(--rrch-mobile-h) + 42px)}
 body.admin-bar.rrch-scrolled #rrch-header .rrch-cart-popover{top:100px}
}
@media(max-width:600px){
 #rrch-header .rrch-inner{padding:0 13px}
 #rrch-header .rrch-brand{font-size:22px!important;gap:4px}
 body.rrch-scrolled #rrch-header .rrch-brand{font-size:19px!important}
 #rrch-header .rrch-account-link,#rrch-header .rrch-wishlist-link{display:none}
 #rrch-header .rrch-icon{width:38px;height:38px}
 #rrch-header .rrch-icon svg{width:19px;height:19px}
 #rrch-header .rrch-search-form{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){#rrch-header,#rrch-header *, .rrch-mobile-panel, .rrch-overlay{transition:none!important;animation:none!important}}


/* v3.3 — Quiet luxury active-page pill. No layout, logo, scrolling, or cart changes. */
#rrch-header .rrch-nav .rrch-nav-list > li > a {
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background-color: transparent;
  box-shadow: none;
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease !important;
}
/* Native WordPress current-menu classes work even without JavaScript.
   When JS finds a more exact match, it identifies a single active item. */
#rrch-header .rrch-nav:not(.rrch-js-active) .rrch-nav-list > li:is(.current-menu-item,.current_page_item) > a,
#rrch-header .rrch-nav.rrch-js-active .rrch-nav-list > li > a.rrch-active-link {
  color: #775735 !important;
  background-color: rgba(183,148,102,.115) !important;
  border-color: rgba(164,123,75,.26) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 9px rgba(74,51,28,.025) !important;
}
#rrch-header .rrch-nav .rrch-nav-list > li > a:hover {
  color: #775735 !important;
  background-color: rgba(183,148,102,.075);
}
/* Mobile drawer: same active-page cue, sized for touch navigation. */
.rrch-mobile-panel .rrch-mobile-nav .rrch-nav-list > li > a {
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  transition: background-color .22s ease, border-color .22s ease !important;
}
.rrch-mobile-panel .rrch-mobile-nav:not(.rrch-js-active) .rrch-nav-list > li:is(.current-menu-item,.current_page_item) > a,
.rrch-mobile-panel .rrch-mobile-nav.rrch-js-active .rrch-nav-list > li > a.rrch-active-link {
  color: #775735 !important;
  background: rgba(183,148,102,.115) !important;
  border-color: rgba(164,123,75,.24) !important;
}
@media (prefers-reduced-motion:reduce) {
  #rrch-header .rrch-nav .rrch-nav-list > li > a,
  .rrch-mobile-panel .rrch-mobile-nav .rrch-nav-list > li > a { transition:none !important; }
}
