:root{--ryha-header-green:#155C2A;--ryha-header-green2:#1A6B31;--ryha-header-accent:#3CB043;--ryha-header-accent-dark:#2F9638;--ryha-header-soft:#EAF7EC;--ryha-header-border:#DDE5DF;--ryha-header-ink:#172019;}
.ryha-site-header{position:sticky;top:0;z-index:100000;width:100%;font-family:inherit;background:#fff;box-shadow:0 6px 24px rgba(7,26,13,.07)}
body.admin-bar .ryha-site-header{top:32px}
.ryha-header-shell{width:min(1400px,calc(100% - 48px));margin:0 auto}
.ryha-header-utility{background:#071A0D;color:#dce8df;font-size:12px}
.ryha-header-utility-inner{height:26px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.ryha-header-utility-left,.ryha-header-utility-right{display:flex;align-items:center;gap:22px}
.ryha-header-utility-link{display:inline-flex;align-items:center;gap:7px;color:#dce8df!important;text-decoration:none!important;white-space:nowrap}
.ryha-header-utility-link:hover{color:#fff!important}
.ryha-header-utility-link svg{width:15px;height:15px;color:#62C86B}
.ryha-header-b2b{font-weight:800;color:#8AD794!important}

.ryha-header-main{position:relative;z-index:700;background:linear-gradient(112deg,#10381D 0%,#155C2A 58%,#1B6A31 100%);color:#fff}.ryha-header-main::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 72% 0%,rgba(118,220,126,.10),transparent 34%)}.ryha-header-main-inner{position:relative;z-index:1}
.ryha-header-main-inner{min-height:88px;display:grid;grid-template-columns:380px minmax(300px,1fr) auto;align-items:center;gap:24px}
.ryha-header-brand{display:flex;align-items:center;min-width:0;gap:13px;line-height:1;text-decoration:none!important;color:#fff!important;transition:opacity .16s ease}.ryha-header-brand:hover{opacity:.96}
.ryha-header-brand img{display:block;width:auto;height:auto;object-fit:contain;image-rendering:auto}
.ryha-header-brand-badge{display:grid;place-items:center;flex:0 0 auto;width:58px;height:58px;border-radius:15px;background:rgba(4,39,18,.34);border:1px solid rgba(255,255,255,.14);box-shadow:0 8px 20px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.08)}
.ryha-header-brand-badge img{width:46px;max-width:46px;max-height:46px}
.ryha-header-brand-copy{display:flex;flex-direction:column;min-width:0}
.ryha-header-brand-copy strong,.ryha-header-brand-copy small{display:block}
.ryha-header-brand-copy strong{font-size:29px;line-height:1;font-weight:850;letter-spacing:-.035em;color:#ffffff;text-shadow:none}
.ryha-header-brand-copy strong span{color:#78D77F}
.ryha-header-brand-copy small{margin-top:5px;font-size:10px;line-height:1.2;text-transform:uppercase;letter-spacing:.15em;color:rgba(230,242,233,.72)}

.ryha-site-search{min-width:0;width:100%;max-width:790px;justify-self:center}
.ryha-site-header .ryha-site-search .ryha-search-widget{width:100%!important;max-width:100%!important;margin:0!important;border-radius:16px!important;font-family:inherit!important}
.ryha-site-header .ryha-site-search .ryha-search-bar{width:100%!important;border-radius:16px!important}
.ryha-site-header .ryha-site-search .ryha-search-input{height:50px!important;border:1px solid rgba(7,26,13,.06)!important;border-radius:16px!important;padding:0 78px 0 20px!important;background:#fff!important;color:#172019!important;font-size:14px!important;box-shadow:0 8px 24px rgba(4,25,11,.10)!important}
.ryha-site-header .ryha-site-search .ryha-search-input:focus{box-shadow:0 0 0 3px rgba(60,176,67,.20),0 10px 28px rgba(4,25,11,.12)!important}
.ryha-site-header .ryha-site-search .ryha-search-icon{right:18px!important;width:17px!important;height:17px!important;border-color:var(--ryha-header-accent-dark)!important}
.ryha-site-header .ryha-site-search .ryha-clear{right:48px!important}

.ryha-header-actions{position:relative;z-index:400;display:flex;align-items:center;gap:8px}
.ryha-header-action{position:relative;display:flex;align-items:center;gap:10px;min-height:48px;padding:7px 10px;border-radius:13px;color:#fff!important;text-decoration:none!important;transition:background .18s ease,transform .18s ease}
.ryha-header-action:hover{background:rgba(255,255,255,.08);transform:translateY(-1px)}
.ryha-header-action-icon{position:relative;display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.055);border-radius:12px}
.ryha-header-action-icon svg{width:20px;height:20px}
.ryha-header-action-copy{display:block;line-height:1.15;min-width:72px}.ryha-header-action-copy small,.ryha-header-action-copy strong{display:block}.ryha-header-action-copy small{font-size:10px;color:#c9dbcd;margin-bottom:4px}.ryha-header-action-copy strong{font-size:12px;color:#fff;font-weight:800;white-space:nowrap}.ryha-header-action-copy .woocommerce-Price-amount{color:#fff!important}


/* Account dropdown */
.ryha-header-account{position:relative;z-index:600}
.ryha-header-account-toggle{appearance:none;border:0!important;background:transparent;font:inherit;cursor:pointer;margin:0;text-align:left}
.ryha-header-account-toggle:focus-visible{outline:2px solid rgba(129,226,138,.9);outline-offset:2px}
.ryha-header-account.is-open .ryha-header-account-toggle{background:rgba(255,255,255,.09);transform:none}
.ryha-header-account-chevron{display:grid;place-items:center;color:#b9d0be;transition:transform .18s ease,color .18s ease}
.ryha-header-account-chevron svg{width:14px;height:14px}
.ryha-header-account.is-open .ryha-header-account-chevron{transform:rotate(180deg);color:#fff}
.ryha-header-account-initial{display:grid;place-items:center;width:100%;height:100%;border-radius:inherit;background:linear-gradient(145deg,rgba(91,207,101,.26),rgba(255,255,255,.04));color:#fff;font-size:15px;font-weight:900;line-height:1;text-transform:uppercase}
.ryha-header-account-status{position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border:2px solid #155C2A;border-radius:999px;background:#69d274;box-shadow:0 0 0 2px rgba(105,210,116,.12)}
.ryha-header-account-menu{position:absolute;top:calc(100% + 13px);right:0;width:320px;padding:9px;border:1px solid rgba(16,53,27,.11);border-radius:18px;background:#fff;color:#172019;box-shadow:0 24px 60px rgba(4,28,12,.22),0 4px 14px rgba(4,28,12,.08);z-index:1000000;isolation:isolate;transform-origin:top right}
.ryha-header-account-menu[hidden]{display:none!important}
.ryha-header-account-menu::before{content:"";position:absolute;right:28px;top:-6px;width:12px;height:12px;background:#fff;border-left:1px solid rgba(16,53,27,.09);border-top:1px solid rgba(16,53,27,.09);transform:rotate(45deg)}
.ryha-header-account-summary{position:relative;display:flex;align-items:center;gap:12px;padding:14px;border-radius:13px;background:linear-gradient(135deg,#f1f8f2,#f8fbf8);border:1px solid #e2ece4}
.ryha-header-account-avatar{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:13px;background:linear-gradient(145deg,#155C2A,#27883d);color:#fff;font-size:17px;font-weight:900;box-shadow:0 7px 16px rgba(21,92,42,.18)}
.ryha-header-account-summary-copy{display:block;min-width:0;line-height:1.2}.ryha-header-account-summary-copy small,.ryha-header-account-summary-copy strong,.ryha-header-account-summary-copy>span{display:block}
.ryha-header-account-summary-copy small{margin-bottom:3px;color:#7a867d;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}
.ryha-header-account-summary-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172019;font-size:14px;font-weight:850}
.ryha-header-account-summary-copy>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;color:#77827a;font-size:10.5px}
.ryha-header-account-nav{display:flex;flex-direction:column;gap:2px;padding-top:8px}
.ryha-header-account-link{display:grid;grid-template-columns:34px minmax(0,1fr) 14px;align-items:center;gap:9px;min-height:45px;padding:5px 9px;border-radius:11px;color:#29362d!important;text-decoration:none!important;font-size:12px;font-weight:750;transition:background .14s ease,color .14s ease,transform .14s ease}
.ryha-header-account-link:hover{background:#edf7ef;color:#17672e!important;transform:translateX(1px)}
.ryha-header-account-link-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#f1f7f2;color:#348d45}.ryha-header-account-link-icon svg{width:16px;height:16px}
.ryha-header-account-link-arrow{color:#9aa69d;font-size:18px;line-height:1;text-align:right}
.ryha-header-account-link.is-logout{margin-top:5px;padding-top:8px;border-top:1px solid #edf0ed;border-radius:0 0 11px 11px;color:#89504d!important}.ryha-header-account-link.is-logout .ryha-header-account-link-icon{background:#fbf3f2;color:#a65b56}.ryha-header-account-link.is-logout:hover{background:#fbf3f2;color:#963f3a!important}
.ryha-header-account-guest{display:flex;flex-direction:column;align-items:flex-start;padding:16px}.ryha-header-account-guest-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:12px;border-radius:12px;background:#edf7ef;color:#2f9638}.ryha-header-account-guest-icon svg{width:20px;height:20px}.ryha-header-account-guest strong{color:#172019;font-size:15px}.ryha-header-account-guest>span:not(.ryha-header-account-guest-icon){margin-top:6px;color:#737f76;font-size:11px;line-height:1.5}.ryha-header-account-login{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin-top:14px;padding:0 15px;border-radius:10px;background:#3CB043;color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:850}.ryha-header-account-login:hover{background:#2F9638;color:#fff!important}

.ryha-header-cart-count{position:absolute;top:-6px;right:-7px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#62C86B;color:#092813;font-size:10px;line-height:1;font-weight:900;border:2px solid #145427}

.ryha-header-menu-wrap{position:relative;z-index:100;background:linear-gradient(90deg,#0B2C15 0%,#10391C 55%,#154923 100%);border-top:1px solid rgba(255,255,255,.045);border-bottom:1px solid rgba(255,255,255,.07)}
.ryha-header-menu-inner{width:min(1400px,calc(100% - 48px));margin:0 auto}
.ryha-site-header .ryha-mm-nav{width:100%!important;max-width:100%!important;margin:0!important;left:auto!important;right:auto!important;transform:none!important;position:relative!important;padding:0!important;z-index:80!important}
.ryha-site-header .ryha-mm-nav .mm-header-bottom{width:100%!important;margin:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;border:0!important;background:transparent!important}
.ryha-site-header .ryha-mm-nav .mm-header-bottom>.container{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
.ryha-site-header .ryha-mm-nav .mm-dropdown-menu{z-index:99999!important}

/* Account dropdown always has priority over Mega Menu. */
.ryha-site-header.ryha-account-menu-open .ryha-header-main{z-index:500}
.ryha-site-header.ryha-account-menu-open .ryha-header-account{z-index:1000001}
.ryha-site-header.ryha-account-menu-open .ryha-header-account-menu{z-index:1000002}
.ryha-site-header.ryha-account-menu-open .ryha-header-menu-wrap{z-index:50}
.ryha-site-header.ryha-account-menu-open .ryha-mm-nav .mm-dropdown-menu,
.ryha-site-header.ryha-account-menu-open .ryha-mm-nav .ryha-mm-all-panel{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

@media (max-width:1100px){
    .ryha-header-main-inner{grid-template-columns:300px minmax(220px,1fr) auto;gap:16px}.ryha-header-brand{padding:4px 6px 4px 0}.ryha-header-brand-badge{width:56px;height:56px;border-radius:15px}.ryha-header-brand-badge img{width:42px;max-width:42px;max-height:42px}.ryha-header-brand-copy strong{font-size:25px}.ryha-header-brand-copy small{font-size:10px}.ryha-header-action-copy{display:none}.ryha-header-action{padding:5px}.ryha-header-action-icon{width:42px;height:42px}.ryha-header-account-chevron{display:none}
}
@media (max-width:782px){body.admin-bar .ryha-site-header{top:46px}}
@media (max-width:760px){
    .ryha-site-header{position:relative;top:auto!important}.ryha-header-shell{width:min(100% - 24px,1400px)}.ryha-header-utility-inner{height:30px}.ryha-header-utility-right,.ryha-header-b2b{display:none}.ryha-header-utility-left{width:100%;justify-content:center}.ryha-header-main-inner{min-height:auto;padding:12px 0;display:grid;grid-template-columns:1fr auto;gap:12px}.ryha-header-brand{gap:10px;padding:4px 4px 4px 0}.ryha-header-brand-badge{width:50px;height:50px;border-radius:14px}.ryha-header-brand-badge img{width:38px;max-width:38px;max-height:38px}.ryha-header-brand-copy strong{font-size:22px}.ryha-header-brand-copy small{margin-top:3px;font-size:9px;letter-spacing:.12em}.ryha-header-actions{justify-self:end}.ryha-site-search{grid-column:1/-1;grid-row:2;width:100%;max-width:none}.ryha-site-header .ryha-site-search .ryha-search-widget{width:100%!important;max-width:100%!important}.ryha-site-header .ryha-site-search .ryha-search-input{height:46px!important}.ryha-header-menu-inner{width:calc(100% - 24px)}.ryha-site-header .ryha-mm-nav{padding:8px 0!important}.ryha-site-header .ryha-mm-nav .mm-header-bottom{padding:0!important}
}
@media (max-width:420px){.ryha-header-brand{gap:8px}.ryha-header-brand-badge{width:44px;height:44px;border-radius:12px}.ryha-header-brand-badge img{width:33px;max-width:33px;max-height:33px}.ryha-header-brand-copy strong{font-size:19px}.ryha-header-brand-copy small{font-size:8px;letter-spacing:.11em}.ryha-header-actions{gap:3px}.ryha-header-action-icon{width:38px;height:38px}.ryha-header-main-inner{grid-template-columns:minmax(0,1fr) auto}}

@media (max-width:760px){
    .ryha-header-account-menu{position:absolute;top:calc(100% + 10px);right:0;left:auto;width:min(320px,calc(100vw - 24px));max-width:none;margin-top:0}
    .ryha-header-account-menu::before{display:none}
}

.ryha-header-account-toggle .ryha-header-action-copy strong{max-width:120px;overflow:hidden;text-overflow:ellipsis}


/* v2.6.4 Mobile header UX: katalogas + paskyra integruoti į headerį */
.ryha-mobile-catalog-toggle{display:none!important;appearance:none;border:0;background:transparent;font:inherit;cursor:pointer}
.ryha-mobile-catalog-toggle .ryha-header-action-icon{transition:background .16s ease,border-color .16s ease,transform .16s ease}
.ryha-mobile-catalog-toggle svg{width:21px;height:21px}
.ryha-header-account-backdrop{display:none}
.ryha-header-account-mobile-head{display:none}

@media (max-width:760px){
  .ryha-header-main-inner{grid-template-columns:minmax(0,1fr) auto!important;column-gap:10px!important;row-gap:12px!important}
  .ryha-header-brand{min-width:0;max-width:calc(100vw - 176px)}
  .ryha-header-brand-copy{min-width:0}
  .ryha-header-brand-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ryha-header-brand-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ryha-header-actions{gap:4px!important;align-self:center}
  .ryha-header-action{min-height:44px;padding:3px!important;border-radius:12px}
  .ryha-header-action-icon{width:44px!important;height:44px!important;border-radius:12px!important}
  .ryha-mobile-catalog-toggle{display:flex!important;align-items:center;justify-content:center;color:#fff!important}
  .ryha-mobile-catalog-toggle.is-open .ryha-header-action-icon{background:rgba(60,176,67,.28);border-color:rgba(129,226,138,.38)}

  /* Seno atskiro hamburgerio eilutė nebeužima vietos. Pats nav lieka DOM'e drawer'iui. */
  .ryha-header-menu-wrap{height:0!important;min-height:0!important;border:0!important;background:transparent!important;overflow:visible!important}
  .ryha-header-menu-inner{width:100%!important;height:0!important;min-height:0!important;margin:0!important;overflow:visible!important}
  .ryha-site-header .ryha-mm-nav{height:0!important;min-height:0!important;padding:0!important;overflow:visible!important}
  .ryha-site-header .ryha-mm-nav .mm-header-bottom{height:0!important;min-height:0!important;padding:0!important;overflow:visible!important}
  .ryha-site-header .ryha-mm-nav .mm-header-bottom>.container,
  .ryha-site-header .ryha-mm-nav .mm-header-bottom-inner,
  .ryha-site-header .ryha-mm-nav .mm-header-open-categories-contact-link{height:0!important;min-height:0!important;padding:0!important;margin:0!important;overflow:visible!important}
  .ryha-site-header .ryha-mm-nav .mm-header-open-categories{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important}

  /* Katalogas lieka kaip kairinis drawer'is, tik modernesnis ir aukščiau už puslapį. */
  .ryha-mm-nav .mm-mobile-overlay-backdrop{z-index:1000200!important;background:rgba(2,16,7,.55)!important;backdrop-filter:blur(2px)}
  .ryha-mm-nav .mm-header-bottom-categories-link{z-index:1000201!important;width:min(88vw,370px)!important;max-width:370px!important;height:100dvh!important;padding:18px 16px 24px!important;background:linear-gradient(180deg,#0F3219 0%,#123D1F 100%)!important;color:#fff!important;box-shadow:14px 0 42px rgba(0,0,0,.28)!important}
  .ryha-mm-nav .mm-mobile-panel-header{position:sticky;top:0;z-index:2;margin:-4px -2px 12px;padding:4px 2px 12px;background:linear-gradient(180deg,#0F3219 80%,rgba(15,50,25,0));border-bottom:1px solid rgba(255,255,255,.08)}
  .ryha-mm-nav .mm-mobile-panel-title{color:#fff!important;font-size:17px!important;font-weight:850!important}
  .ryha-mm-nav .mm-mobile-overlay-close{display:grid!important;place-items:center;width:38px;height:38px;padding:0!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:12px!important;background:rgba(255,255,255,.06)!important;color:#fff!important;font-size:25px!important}
  .ryha-mm-nav .mm-header-bottom-categories-link > ul > li + li{border-top-color:rgba(255,255,255,.07)!important}
  .ryha-mm-nav .mm-parent-link-text-icon{color:#E4EEE7!important;padding:11px 4px!important;font-size:14px!important;font-weight:750!important}
  .ryha-mm-nav .mm-parent-link-text-icon:hover{background:rgba(255,255,255,.05)!important;color:#fff!important}
  .ryha-mm-nav .mm-dropdown-menu{background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.08)!important;border-left:2px solid rgba(88,210,99,.65)!important;color:#fff!important}
  .ryha-mm-nav .mm-dropdown-parent-link a{color:#fff!important}.ryha-mm-nav .mm-dropdown-child-link a{color:#C7D6CB!important}

  /* Account mobile: dešinysis drawer'is vietoj mažo desktop dropdown. */
  .ryha-header-account{position:static!important}
  .ryha-header-account-backdrop{position:fixed;inset:0;z-index:1000298;border:0;padding:0;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;cursor:default}
  .ryha-header-account-backdrop:not([hidden]){display:block}
  .ryha-header-account-menu{position:fixed!important;z-index:1000299!important;top:0!important;right:0!important;left:auto!important;width:min(88vw,370px)!important;height:100dvh!important;max-width:370px!important;margin:0!important;padding:14px!important;border:0!important;border-left:1px solid rgba(16,53,27,.10)!important;border-radius:22px 0 0 22px!important;background:#fff!important;box-shadow:none!important;overflow-y:auto!important;transform:translateX(104%);transition:transform .2s ease-out!important}
  .ryha-header-account.is-open .ryha-header-account-menu{transform:translateX(0)}
  .ryha-header-account-menu::before{display:none!important}
  .ryha-header-account-mobile-head{position:sticky;top:-14px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-14px -14px 12px;padding:15px 14px 12px;background:rgba(255,255,255,.97);border-bottom:1px solid #e8eee9}
  .ryha-header-account-mobile-head strong{font-size:16px;color:#172019;font-weight:850}
  .ryha-header-account-mobile-close{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #dfe8e1;border-radius:12px;background:#f7faf7;color:#36503d;font-size:24px;line-height:1;cursor:pointer}
  .ryha-header-account-summary{padding:15px!important;border-radius:15px!important}
  .ryha-header-account-avatar{width:48px!important;height:48px!important}
  .ryha-header-account-nav{gap:4px!important;padding-top:10px!important}
  .ryha-header-account-link{min-height:52px!important;border-radius:12px!important;font-size:13px!important}
  .ryha-header-account-link-icon{width:36px!important;height:36px!important;border-radius:10px!important}
}

@media (max-width:420px){
  .ryha-header-brand{max-width:calc(100vw - 164px)}
  .ryha-header-brand-copy strong{font-size:18px!important}
  .ryha-header-brand-copy small{font-size:7.5px!important;letter-spacing:.08em!important}
  .ryha-header-brand-badge{width:42px!important;height:42px!important}
  .ryha-header-brand-badge img{width:32px!important;max-width:32px!important;max-height:32px!important}
  .ryha-header-action-icon{width:40px!important;height:40px!important}
}

@media (max-width:760px){html.ryha-account-no-scroll,body.ryha-account-no-scroll{overflow:hidden!important}}


/* v2.6.5 – mobile header layering / drawer UX final override */
@media (max-width:760px){
  :root{--ryha-mobile-drawer-top:0px}
  .ryha-site-header{z-index:100000!important;isolation:isolate}
  .ryha-header-utility{position:relative;z-index:720!important}
  .ryha-header-main{position:relative;z-index:700!important}
  .ryha-header-main-inner{position:relative;z-index:701!important}
  .ryha-header-actions{position:relative;z-index:710!important}

  /* Mobile katalogas valdomas TIK header hamburgeriu. Sena tarpinė menu juosta visiškai išimama iš layout. */
  .ryha-site-header .ryha-header-menu-wrap{
    position:absolute!important;left:0!important;right:auto!important;bottom:0!important;
    width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;
    border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;z-index:100!important;
  }
  .ryha-site-header .ryha-header-menu-inner,
  .ryha-site-header .ryha-mm-nav{
    position:static!important;width:0!important;height:0!important;min-width:0!important;min-height:0!important;
    margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
  }
  .ryha-site-header .ryha-mm-nav .mm-header-bottom,
  .ryha-site-header .ryha-mm-nav .mm-header-bottom>.container,
  .ryha-site-header .ryha-mm-nav .mm-header-bottom-inner{display:contents!important}
  .ryha-site-header .ryha-mm-nav .mm-header-open-categories-contact-link,
  .ryha-site-header .ryha-mm-nav .mm-header-open-categories{display:none!important}

  /* Mega menu drawer visada po headeriu, todėl headerio logo/search/actions lieka viršuje ir nėra uždengiami. */
  .ryha-site-header .ryha-mm-nav .mm-mobile-overlay-backdrop{
    position:fixed!important;top:var(--ryha-mobile-drawer-top)!important;right:0!important;bottom:0!important;left:0!important;
    z-index:300!important;background:rgba(2,16,7,.54)!important;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);
  }
  .ryha-site-header .ryha-mm-nav .mm-header-bottom-categories-link{
    position:fixed!important;top:var(--ryha-mobile-drawer-top)!important;left:0!important;right:auto!important;bottom:0!important;
    width:min(92vw,390px)!important;max-width:390px!important;height:auto!important;max-height:none!important;
    padding:16px 15px 24px!important;border:0!important;border-right:1px solid rgba(255,255,255,.08)!important;border-radius:0 18px 18px 0!important;
    background:linear-gradient(180deg,#0F3219 0%,#123D1F 100%)!important;color:#fff!important;
    box-shadow:14px 0 42px rgba(0,0,0,.28)!important;overflow-y:auto!important;overscroll-behavior:contain;
    z-index:320!important;box-sizing:border-box!important;
  }
  .ryha-site-header .ryha-mm-nav .mm-mobile-panel-header{
    position:sticky!important;top:-16px!important;z-index:2!important;margin:-16px -15px 12px!important;padding:14px 15px 12px!important;
    background:rgba(15,50,25,.97)!important;border-bottom:1px solid rgba(255,255,255,.08)!important;backdrop-filter:blur(8px);
  }

  /* Account irgi atsidaro po headeriu; jokių nukirstų tekstų ar išlindimo už ekrano. */
  .ryha-header-account{position:static!important}
  .ryha-header-account-backdrop{
    position:fixed!important;top:var(--ryha-mobile-drawer-top)!important;right:0!important;bottom:0!important;left:0!important;
    z-index:340!important;border:0!important;padding:0!important;margin:0!important;
    background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  .ryha-header-account-menu{
    position:fixed!important;top:var(--ryha-mobile-drawer-top)!important;right:0!important;bottom:0!important;left:auto!important;
    width:min(94vw,390px)!important;max-width:390px!important;height:auto!important;max-height:none!important;margin:0!important;
    padding:12px 12px 18px!important;box-sizing:border-box!important;border:0!important;border-left:1px solid rgba(16,53,27,.10)!important;
    border-radius:20px 0 0 20px!important;background:#fff!important;color:#172019!important;
    box-shadow:none!important;overflow-y:auto!important;overscroll-behavior:contain;
    z-index:360!important;transform:translateX(104%);transition:transform .2s ease-out!important;
  }
  .ryha-header-account.is-open .ryha-header-account-menu{transform:translateX(0)!important}
  .ryha-header-account-menu::before{display:none!important}
  .ryha-header-account-mobile-head{
    position:sticky!important;top:-12px!important;z-index:3!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
    margin:-12px -12px 12px!important;padding:14px 14px 12px!important;background:rgba(255,255,255,.98)!important;
    border-bottom:1px solid #e5ebe6!important;border-radius:20px 0 0 0!important;backdrop-filter:blur(8px);
  }
  .ryha-header-account-mobile-head strong{font-size:17px!important;line-height:1.2!important;color:#172019!important;font-weight:850!important}
  .ryha-header-account-mobile-close{
    flex:0 0 auto!important;display:grid!important;place-items:center!important;width:38px!important;height:38px!important;padding:0!important;
    border:1px solid #dfe8e1!important;border-radius:12px!important;background:#f4f8f5!important;color:#35503c!important;
    font-size:24px!important;line-height:1!important;cursor:pointer!important;
  }
  .ryha-header-account-summary{margin:0!important;padding:14px!important;border-radius:14px!important}
  .ryha-header-account-summary-copy{min-width:0!important}
  .ryha-header-account-summary-copy strong,.ryha-header-account-summary-copy>span{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .ryha-header-account-nav{padding-top:8px!important;gap:3px!important}
  .ryha-header-account-link{min-height:50px!important;padding:6px 8px!important;border-radius:12px!important;font-size:13px!important}
  .ryha-header-account-link.is-logout{margin-top:6px!important}

  /* Kai drawer atidarytas, pats headeris vis tiek lieka virš overlay. */
  .ryha-site-header.ryha-account-menu-open .ryha-header-main{z-index:700!important}
  .ryha-site-header.ryha-account-menu-open .ryha-header-actions{z-index:710!important}
}


/* v2.6.6 – mobile account polish + drawer priority over Side Cart / CookieYes */
@media (max-width:760px){
  /* Atidarytas mūsų drawer tampa aukščiausiu mobiliu UI sluoksniu. */
  html.ryha-mm-no-scroll .ryha-site-header,
  body.ryha-mm-no-scroll .ryha-site-header,
  .ryha-site-header.ryha-account-menu-open{
    z-index:2147483000!important;
  }
  .ryha-site-header.ryha-account-menu-open{z-index:2147483100!important}

  .ryha-site-header .ryha-mm-nav .mm-mobile-overlay-backdrop{z-index:40!important}
  .ryha-site-header .ryha-mm-nav .mm-header-bottom-categories-link{z-index:50!important}
  .ryha-header-account-backdrop{z-index:60!important}
  .ryha-header-account-menu{z-index:70!important}

  /* Floating Side Cart ir CookieYes neturi persidengti virš katalogo / paskyros drawer. */
  html.ryha-mm-no-scroll .xoo-wsc-basket,
  body.ryha-mm-no-scroll .xoo-wsc-basket,
  html.ryha-account-no-scroll .xoo-wsc-basket,
  body.ryha-account-no-scroll .xoo-wsc-basket,
  html.ryha-mm-no-scroll .cky-btn-revisit-wrapper,
  body.ryha-mm-no-scroll .cky-btn-revisit-wrapper,
  html.ryha-account-no-scroll .cky-btn-revisit-wrapper,
  body.ryha-account-no-scroll .cky-btn-revisit-wrapper,
  html.ryha-mm-no-scroll #cky-btn-revisit-wrapper,
  body.ryha-mm-no-scroll #cky-btn-revisit-wrapper,
  html.ryha-account-no-scroll #cky-btn-revisit-wrapper,
  body.ryha-account-no-scroll #cky-btn-revisit-wrapper{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }

  /* My Account – kompaktiškas, modernesnis 2x2 valdymo drawer. */
  .ryha-header-account-menu{
    width:min(92vw,390px)!important;
    max-width:390px!important;
    padding:0 14px max(18px,env(safe-area-inset-bottom))!important;
    border-radius:24px 0 0 24px!important;
    background:#f7faf7!important;
    box-shadow:none!important;
  }
  .ryha-header-account-mobile-head{
    top:0!important;
    margin:0 -14px!important;
    padding:18px 16px 14px!important;
    min-height:68px!important;
    border-radius:24px 0 0 0!important;
    background:rgba(247,250,247,.97)!important;
    border-bottom:1px solid #dfe8e1!important;
  }
  .ryha-header-account-mobile-head::after{
    content:'Paskyros valdymas';
    position:absolute;
    left:16px;
    bottom:8px;
    color:#819087;
    font-size:9px;
    font-weight:750;
    letter-spacing:.08em;
    text-transform:uppercase;
  }
  .ryha-header-account-mobile-head strong{
    align-self:flex-start!important;
    font-size:19px!important;
    line-height:1.1!important;
    letter-spacing:-.02em!important;
  }
  .ryha-header-account-mobile-close{
    width:42px!important;
    height:42px!important;
    border-radius:13px!important;
    background:#eef5ef!important;
    border-color:#d8e5da!important;
    color:#27472f!important;
    font-size:25px!important;
    transition:background .15s ease,transform .15s ease!important;
  }
  .ryha-header-account-mobile-close:active{transform:scale(.96)!important;background:#e3eee5!important}

  .ryha-header-account-summary{
    margin:14px 0 2px!important;
    padding:14px!important;
    min-height:82px!important;
    border-radius:18px!important;
    background:linear-gradient(135deg,#edf7ef,#ffffff)!important;
    border:1px solid #dce9df!important;
    box-shadow:0 8px 24px rgba(18,62,30,.06)!important;
  }
  .ryha-header-account-avatar{
    width:52px!important;height:52px!important;border-radius:15px!important;
    font-size:20px!important;
  }
  .ryha-header-account-summary-copy small{font-size:9px!important;letter-spacing:.09em!important;color:#7e8d83!important}
  .ryha-header-account-summary-copy strong{font-size:16px!important;line-height:1.15!important}
  .ryha-header-account-summary-copy>span{margin-top:5px!important;font-size:11.5px!important;color:#7d8981!important}

  .ryha-header-account-nav{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    padding-top:12px!important;
  }
  .ryha-header-account-link:not(.is-logout){
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:12px!important;
    min-height:108px!important;
    padding:13px!important;
    border:1px solid #e1e9e3!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 7px 20px rgba(18,62,30,.045)!important;
    font-size:13px!important;
    line-height:1.25!important;
  }
  .ryha-header-account-link:not(.is-logout):active{
    background:#edf7ef!important;
    border-color:#cfe4d3!important;
    transform:scale(.985)!important;
  }
  .ryha-header-account-link:not(.is-logout) .ryha-header-account-link-icon{
    width:40px!important;height:40px!important;border-radius:12px!important;
    background:#edf7ef!important;color:#2f9638!important;
  }
  .ryha-header-account-link:not(.is-logout) .ryha-header-account-link-icon svg{width:18px!important;height:18px!important}
  .ryha-header-account-link:not(.is-logout)>span:nth-child(2){
    display:block!important;
    max-width:100%!important;
    color:#26372b!important;
    font-size:13px!important;
    font-weight:800!important;
  }
  .ryha-header-account-link:not(.is-logout) .ryha-header-account-link-arrow{
    position:absolute!important;top:15px!important;right:13px!important;color:#9caf9f!important;
  }

  .ryha-header-account-link.is-logout{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr) 18px!important;
    min-height:54px!important;
    margin:2px 0 0!important;
    padding:7px 10px!important;
    border:1px solid #f0dddd!important;
    border-radius:14px!important;
    background:#fff8f7!important;
    color:#934c47!important;
  }
  .ryha-header-account-link.is-logout .ryha-header-account-link-icon{width:36px!important;height:36px!important;border-radius:10px!important}
}

@media (max-width:390px){
  .ryha-header-account-menu{width:94vw!important}
  .ryha-header-account-link:not(.is-logout){min-height:102px!important;padding:12px!important}
}


/* v2.6.7 – My Account mobile full-width sheet */
@media (max-width:760px){
  .ryha-header-account-menu{
    left:0!important;
    right:0!important;
    width:100vw!important;
    max-width:none!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    padding:0 16px max(22px,env(safe-area-inset-bottom))!important;
    background:#f7faf7!important;
    transform:translateX(100%)!important;
  }
  .ryha-header-account.is-open .ryha-header-account-menu{transform:translateX(0)!important}

  .ryha-header-account-mobile-head{
    top:0!important;
    margin:0 -16px!important;
    padding:18px 18px 15px!important;
    min-height:72px!important;
    border-radius:0!important;
    background:rgba(247,250,247,.98)!important;
    border-bottom:1px solid #dfe8e1!important;
    box-shadow:0 5px 18px rgba(18,62,30,.045)!important;
  }
  .ryha-header-account-mobile-head::after{left:18px!important;bottom:8px!important}
  .ryha-header-account-mobile-head strong{font-size:21px!important}

  .ryha-header-account-summary{
    margin:16px 0 4px!important;
    padding:16px!important;
    min-height:90px!important;
    border-radius:18px!important;
  }
  .ryha-header-account-avatar{width:56px!important;height:56px!important;border-radius:16px!important;font-size:22px!important}
  .ryha-header-account-summary-copy strong{font-size:17px!important}
  .ryha-header-account-summary-copy>span{font-size:12px!important}

  .ryha-header-account-nav{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    padding-top:14px!important;
  }
  .ryha-header-account-link:not(.is-logout){
    min-height:112px!important;
    padding:14px!important;
    border-radius:18px!important;
  }
  .ryha-header-account-link:not(.is-logout)>span:nth-child(2){font-size:14px!important}
  .ryha-header-account-link.is-logout{
    min-height:58px!important;
    margin-top:2px!important;
    border-radius:16px!important;
  }
}

@media (max-width:390px){
  .ryha-header-account-menu{width:100vw!important;max-width:none!important;padding-left:14px!important;padding-right:14px!important}
  .ryha-header-account-mobile-head{margin-left:-14px!important;margin-right:-14px!important;padding-left:16px!important;padding-right:16px!important}
  .ryha-header-account-nav{gap:10px!important}
  .ryha-header-account-link:not(.is-logout){min-height:106px!important;padding:12px!important}
}


/* v2.6.8 – hard viewport-width account sheet. This block intentionally wins all older mobile rules. */
@media (max-width:760px){
  .ryha-site-header .ryha-header-account-menu,
  .ryha-site-header .ryha-header-account.is-open .ryha-header-account-menu{
    position:fixed!important;
    inset-inline:0!important;
    left:0!important;
    right:0!important;
    top:var(--ryha-mobile-drawer-top)!important;
    bottom:0!important;
    width:100%!important;
    width:100dvw!important;
    min-width:100%!important;
    max-width:100dvw!important;
    margin:0!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
    box-sizing:border-box!important;
  }
  .ryha-site-header .ryha-header-account-mobile-head{
    border-radius:0!important;
  }
}


/* v2.6.9 – true edge-to-edge mobile account sheet. Final override. */
@media (max-width:760px){
  html body .ryha-site-header #ryha-header-account-menu,
  html body .ryha-site-header .ryha-header-account.is-open #ryha-header-account-menu{
    position:fixed!important;
    left:0!important;
    right:auto!important;
    top:var(--ryha-mobile-drawer-top)!important;
    bottom:0!important;
    width:100vw!important;
    width:100dvw!important;
    min-width:100vw!important;
    max-width:100dvw!important;
    margin:0!important;
    padding-left:16px!important;
    padding-right:16px!important;
    border:0!important;
    border-radius:0!important;
    box-sizing:border-box!important;
    background:#f7faf7!important;
    box-shadow:none!important;
  }
  html body .ryha-site-header .ryha-header-account-mobile-head{
    margin-left:-16px!important;
    margin-right:-16px!important;
    border-radius:0!important;
  }
}
@media (max-width:390px){
  html body .ryha-site-header #ryha-header-account-menu{
    padding-left:14px!important;
    padding-right:14px!important;
  }
  html body .ryha-site-header .ryha-header-account-mobile-head{
    margin-left:-14px!important;
    margin-right:-14px!important;
  }
}


/* v2.7.0 – mobile account sheet without backdrop/shadow. */
@media (max-width:760px){
  html body .ryha-site-header .ryha-header-account-backdrop{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;}
  html body .ryha-site-header #ryha-header-account-menu{box-shadow:none!important;}
}

/* v2.7.1 – true full-screen mobile catalog sheet below the persistent header. */
@media (max-width:760px){
  html body .ryha-site-header .ryha-mm-nav .mm-header-bottom-categories-link{
    position:fixed!important;
    top:var(--ryha-mobile-drawer-top)!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100vw!important;
    width:100dvw!important;
    min-width:100vw!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0 18px max(18px,env(safe-area-inset-bottom))!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:linear-gradient(180deg,#0D3519 0%,#0E4820 100%)!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    overscroll-behavior:contain!important;
    display:flex!important;
    flex-direction:column!important;
  }

  html body .ryha-site-header .ryha-mm-nav .mm-mobile-panel-header{
    position:sticky!important;
    top:0!important;
    z-index:4!important;
    flex:0 0 auto!important;
    min-height:72px!important;
    margin:0 -18px 0!important;
    padding:16px 18px 14px!important;
    border-radius:0!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
    background:rgba(13,53,25,.98)!important;
    backdrop-filter:blur(10px)!important;
    -webkit-backdrop-filter:blur(10px)!important;
  }

  html body .ryha-site-header .ryha-mm-nav .mm-mobile-panel-title{
    font-size:20px!important;
    line-height:1.2!important;
    font-weight:850!important;
  }

  html body .ryha-site-header .ryha-mm-nav .mm-mobile-overlay-close{
    width:46px!important;
    height:46px!important;
    border-radius:14px!important;
  }

  html body .ryha-site-header .ryha-mm-nav .ryha-mm-mobile-index{
    flex:1 1 auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:16px 0 0!important;
    overflow:hidden!important;
  }

  html body .ryha-site-header .ryha-mm-nav .ryha-mm-mobile-level-head{
    flex:0 0 auto!important;
    padding:0 0 16px!important;
  }

  html body .ryha-site-header .ryha-mm-nav .ryha-mm-mobile-search-wrap{
    flex:0 0 auto!important;
    margin:14px 0 10px!important;
  }

  html body .ryha-site-header .ryha-mm-nav .ryha-mm-mobile-list{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    padding:2px 0 18px!important;
    overscroll-behavior:contain!important;
  }

  html body .ryha-site-header .ryha-mm-nav .ryha-mm-mobile-open-current{
    flex:0 0 auto!important;
    margin:10px 0 0!important;
    min-height:52px!important;
    padding-bottom:max(0px,env(safe-area-inset-bottom))!important;
  }

  /* The sheet covers the whole content viewport, so a visible backdrop is unnecessary. */
  html body .ryha-site-header .ryha-mm-nav .mm-mobile-overlay-backdrop{
    background:transparent!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
}

@media (max-width:390px){
  html body .ryha-site-header .ryha-mm-nav .mm-header-bottom-categories-link{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  html body .ryha-site-header .ryha-mm-nav .mm-mobile-panel-header{
    margin-left:-16px!important;
    margin-right:-16px!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
}

/* v2.7.2 – TRUE viewport fullscreen mobile catalog. Covers the complete site header. */
@media (max-width:760px){
  /* While catalog is open, the regular header must not remain visible above the catalog. */
  html.ryha-mm-no-scroll .ryha-site-header .ryha-header-utility,
  body.ryha-mm-no-scroll .ryha-site-header .ryha-header-utility,
  html.ryha-mm-no-scroll .ryha-site-header .ryha-header-main,
  body.ryha-mm-no-scroll .ryha-site-header .ryha-header-main{
    visibility:hidden!important;
    pointer-events:none!important;
  }

  /* The zero-size menu host has to sit above the normal header stacking contexts. */
  html.ryha-mm-no-scroll .ryha-site-header .ryha-header-menu-wrap,
  body.ryha-mm-no-scroll .ryha-site-header .ryha-header-menu-wrap{
    z-index:1200!important;
  }
  html.ryha-mm-no-scroll .ryha-site-header .ryha-header-menu-inner,
  body.ryha-mm-no-scroll .ryha-site-header .ryha-header-menu-inner,
  html.ryha-mm-no-scroll .ryha-site-header .ryha-mm-nav,
  body.ryha-mm-no-scroll .ryha-site-header .ryha-mm-nav{
    z-index:1201!important;
  }

  html body .ryha-site-header .ryha-mm-nav.ryha-mm-cats-open .mm-header-bottom-categories-link,
  html.ryha-mm-no-scroll body .ryha-site-header .ryha-mm-nav .mm-header-bottom-categories-link,
  body.ryha-mm-no-scroll .ryha-site-header .ryha-mm-nav .mm-header-bottom-categories-link{
    position:fixed!important;
    inset:0!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:100vw!important;
    width:100dvw!important;
    min-width:100vw!important;
    max-width:100dvw!important;
    height:100vh!important;
    height:100dvh!important;
    min-height:100vh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    padding:0 18px max(18px,env(safe-area-inset-bottom))!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:linear-gradient(180deg,#0B3017 0%,#0D421D 100%)!important;
    overflow:hidden!important;
    overscroll-behavior:contain!important;
    z-index:1500!important;
  }

  html body .ryha-site-header .ryha-mm-nav.ryha-mm-cats-open .mm-mobile-overlay-backdrop,
  html.ryha-mm-no-scroll body .ryha-site-header .ryha-mm-nav .mm-mobile-overlay-backdrop{
    position:fixed!important;
    inset:0!important;
    top:0!important;
    width:100vw!important;
    height:100vh!important;
    height:100dvh!important;
    z-index:1490!important;
    background:#0B3017!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  html body .ryha-site-header .ryha-mm-nav .mm-mobile-panel-header{
    top:0!important;
    min-height:76px!important;
    margin:0 -18px!important;
    padding:max(16px,env(safe-area-inset-top)) 18px 14px!important;
    background:rgba(11,48,23,.985)!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
  }

  html body .ryha-site-header .ryha-mm-nav .ryha-mm-mobile-index{
    padding-top:16px!important;
  }
}

@media (max-width:390px){
  html body .ryha-site-header .ryha-mm-nav.ryha-mm-cats-open .mm-header-bottom-categories-link,
  html.ryha-mm-no-scroll body .ryha-site-header .ryha-mm-nav .mm-header-bottom-categories-link{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  html body .ryha-site-header .ryha-mm-nav .mm-mobile-panel-header{
    margin-left:-16px!important;
    margin-right:-16px!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
}


/* =========================================================
   v2.7.3 – mobile header compactness + B2B + consent layering
   ========================================================= */
@media (max-width:760px){
  /* Top utility: keep delivery + B2B visible on mobile. */
  html body .ryha-site-header .ryha-header-utility-inner{
    height:32px!important;
  }
  html body .ryha-site-header .ryha-header-utility-left{
    width:100%!important;
    justify-content:center!important;
    gap:12px!important;
    min-width:0!important;
  }
  html body .ryha-site-header .ryha-header-utility-link{
    gap:5px!important;
    font-size:11px!important;
    line-height:1!important;
  }
  html body .ryha-site-header .ryha-header-utility-link svg{
    width:14px!important;
    height:14px!important;
  }
  html body .ryha-site-header .ryha-header-b2b{
    display:inline-flex!important;
    align-items:center!important;
    gap:8px!important;
    font-size:10.5px!important;
    letter-spacing:.01em!important;
    color:#8AD794!important;
  }
  html body .ryha-site-header .ryha-header-b2b::before{
    content:"";
    display:block;
    width:3px;
    height:3px;
    flex:0 0 3px;
    border-radius:50%;
    background:rgba(138,215,148,.72);
  }

  /* Make the full logo tagline fit instead of clipping it. */
  html body .ryha-site-header .ryha-header-brand-copy small{
    display:block!important;
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    font-size:7.2px!important;
    line-height:1.15!important;
    letter-spacing:.065em!important;
  }
  html body .ryha-site-header .ryha-header-brand-copy strong{
    font-size:20px!important;
  }
  html body .ryha-site-header .ryha-header-brand{
    max-width:calc(100vw - 166px)!important;
  }
}

@media (max-width:390px){
  html body .ryha-site-header .ryha-header-brand-copy small{
    font-size:6.7px!important;
    letter-spacing:.05em!important;
  }
  html body .ryha-site-header .ryha-header-brand-copy strong{
    font-size:18.5px!important;
  }
}

/* Consent preference dialogs are modal UI and must always sit above our header.
   The small revisit/shield button is intentionally NOT elevated here. */
html body .cky-overlay,
html body [class*="cky-overlay"]{
  z-index:2147483644!important;
}
html body .cky-modal,
html body .cky-consent-container,
html body .cky-preference-center,
html body [class*="cky-modal"],
html body [class*="cky-preference-center"]{
  z-index:2147483646!important;
}

/* v2.9.12 – WordPress admin toolbar must stay above the custom storefront header.
   This fixes the top-right admin/user dropdown being hidden behind RYHA header. */
body.admin-bar #wpadminbar{
  z-index:2147483647!important;
  isolation:isolate!important;
}
body.admin-bar #wpadminbar .ab-top-menu,
body.admin-bar #wpadminbar .menupop,
body.admin-bar #wpadminbar .ab-sub-wrapper,
body.admin-bar #wpadminbar .ab-submenu{
  z-index:2147483647!important;
}


/* v2.9.13 – mobile mega menu must sit above the WP admin toolbar.
   Keep the toolbar above the storefront header by default, but when the
   fullscreen mega menu is open, move the header/menu above the admin bar and
   remove the admin-bar offset so the drawer starts from the very top. */
@media (max-width:760px){
  html.ryha-mm-no-scroll body.admin-bar .ryha-site-header,
  body.admin-bar.ryha-mm-no-scroll .ryha-site-header{
    top:0!important;
    z-index:2147483647!important;
  }

  html.ryha-mm-no-scroll body.admin-bar #wpadminbar,
  body.admin-bar.ryha-mm-no-scroll #wpadminbar,
  html.ryha-mm-no-scroll body.admin-bar #wpadminbar .ab-top-menu,
  body.admin-bar.ryha-mm-no-scroll #wpadminbar .ab-top-menu,
  html.ryha-mm-no-scroll body.admin-bar #wpadminbar .menupop,
  body.admin-bar.ryha-mm-no-scroll #wpadminbar .menupop,
  html.ryha-mm-no-scroll body.admin-bar #wpadminbar .ab-sub-wrapper,
  body.admin-bar.ryha-mm-no-scroll #wpadminbar .ab-sub-wrapper,
  html.ryha-mm-no-scroll body.admin-bar #wpadminbar .ab-submenu,
  body.admin-bar.ryha-mm-no-scroll #wpadminbar .ab-submenu{
    z-index:2147483000!important;
  }
}

/* =========================================================
   v2.7.6 — WooCommerce My Account header search isolation
   Mano paskyros stiliai neturi teisės siaurinti globalios paieškos inputo.
   ========================================================= */
.ryha-site-header .ryha-site-search,
.ryha-site-header .ryha-site-search .ryha-search-widget,
.ryha-site-header .ryha-site-search .ryha-search-bar{
  min-width:0 !important;
  width:100% !important;
}

.ryha-site-header .ryha-site-search .ryha-search-widget,
.ryha-site-header .ryha-site-search .ryha-search-bar{
  max-width:none !important;
}

.ryha-site-header .ryha-site-search .ryha-search-bar{
  position:relative !important;
  display:block !important;
}

.ryha-site-header .ryha-site-search input.ryha-search-input,
body.woocommerce-account .ryha-site-header .ryha-site-search input.ryha-search-input,
body.woocommerce-page.woocommerce-account .ryha-site-header .ryha-site-search input[type="text"].ryha-search-input{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
}

/* Ikona visada priklauso paieškos laukui, ne puslapio / WooCommerce layoutui. */
body.woocommerce-account .ryha-site-header .ryha-site-search .ryha-search-icon,
.ryha-site-header .ryha-site-search .ryha-search-icon{
  position:absolute !important;
  top:50% !important;
  right:18px !important;
  left:auto !important;
  margin:0 !important;
  transform:translateY(-50%) !important;
  z-index:3 !important;
}

body.woocommerce-account .ryha-site-header .ryha-site-search .ryha-clear,
.ryha-site-header .ryha-site-search .ryha-clear{
  position:absolute !important;
  top:50% !important;
  right:48px !important;
  left:auto !important;
  margin:0 !important;
  transform:translateY(-50%) !important;
  z-index:4 !important;
}
