/* Navigation refresh: keep the existing left menu/search and the original centered logo. */
#navbar .nav-right{display:flex;align-items:center;justify-content:flex-end;gap:clamp(4px,1vw,12px);z-index:2;flex:0 0 auto}
#navbar .nav-right .rm-top-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:6px 8px;border-radius:7px;color:rgba(255,255,255,.86);font-family:var(--font,Arial,sans-serif);font-size:12px;font-weight:700;letter-spacing:.01em;text-decoration:none;white-space:nowrap;transition:color .2s,background .2s;position:relative}
#navbar .nav-right .rm-top-link:hover,#navbar .nav-right .rm-top-link:focus-visible{color:#fff;background:rgba(249,115,22,.12)}
#navbar .nav-right .rm-top-link svg{display:block;width:21px;height:21px;flex-shrink:0}
#navbar .nav-right .nav-cart-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto!important;min-width:44px;max-width:none;height:44px;padding:0 8px!important;white-space:nowrap}
#navbar .nav-right .nav-cart-btn .rm-cart-text{display:inline;font-family:var(--font,Arial,sans-serif);font-size:12px;font-weight:700;letter-spacing:.01em;color:rgba(255,255,255,.86)}
#navbar .nav-right .nav-cart-btn:hover .rm-cart-text{color:#fff}
#navbar .nav-right .nav-cart-btn .nav-cart-badge{top:-2px;right:0}
#navbar .nav-right .rm-top-link:focus-visible,#navbar .nav-right .nav-cart-btn:focus-visible,.rm-support-chat:focus-visible{outline:2px solid #f59e0b;outline-offset:3px}

/* Direct Telegram support: plain text and icon, no pill, no fill, no outline box. */
.rm-support-chat,
.rm-support-chat:hover,
.rm-support-chat:active,
.rm-support-chat:visited,
.rm-support-chat:focus {
  position:fixed;
  right:24px;
  bottom:max(18px,env(safe-area-inset-bottom));
  z-index:80;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:7px 5px;
  min-height:42px;
  color:#fff;
  font-family:var(--font,Arial,sans-serif);
  font-weight:700;
  font-size:13px;
  line-height:1.2;
  text-decoration:none;
  background:none!important;
  background-image:none!important;
  border:none!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
  -webkit-appearance:none;
  appearance:none;
  -webkit-tap-highlight-color:transparent;
  transition:none;
}
.rm-support-chat svg{flex-shrink:0}
.rm-support-chat .rm-support-chat-hint{
  position:absolute;
  right:0;
  bottom:calc(100% + 10px);
  width:max-content;
  max-width:min(280px,85vw);
  pointer-events:none;
  padding:0;
  margin:0;
  color:#f2d9b9;
  background:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-size:12px;
  font-weight:500;
  line-height:1.45;
  opacity:0;
  visibility:hidden;
  transform:translateY(5px);
  transition:opacity .16s,transform .16s,visibility .16s;
}
.rm-support-chat:hover .rm-support-chat-hint,
.rm-support-chat:focus-visible .rm-support-chat-hint{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
@media(max-width:1000px){
  #navbar .nav-right{gap:4px}
  #navbar .nav-right .rm-top-link{width:44px;height:44px;padding:0!important}
  #navbar .nav-right .rm-top-link-label,#navbar .nav-right .nav-cart-btn .rm-cart-text{display:none!important}
  #navbar .nav-right .nav-cart-btn{padding:0!important;min-width:44px;width:44px!important}
}
@media(max-width:480px){
  #navbar .nav-left{gap:0}
  #navbar .nav-right{gap:0}
  #navbar .nav-left .nav-icon-btn{width:38px!important;height:42px!important}
  #navbar .nav-right .rm-top-link{width:38px!important;min-width:38px;height:42px}
  #navbar .nav-right .nav-cart-btn{width:38px!important;min-width:38px;height:42px}
  #navbar .nav-right .rm-top-link svg,#navbar .nav-right .nav-cart-btn svg{width:21px!important;height:21px!important}
  #navbar .nav-logo-center .nav-logo-img{max-width:112px!important;height:auto;object-fit:contain}
  .rm-support-chat{right:14px;bottom:max(15px,env(safe-area-inset-bottom));min-height:46px;padding:11px 14px;font-size:12px;gap:7px}
  .rm-support-chat svg{width:19px;height:19px}
}
@media(max-width:360px){
  #navbar .nav-left .nav-icon-btn{width:34px!important}
  #navbar .nav-right .rm-top-link,#navbar .nav-right .nav-cart-btn{width:34px!important;min-width:34px}
  #navbar .nav-logo-center .nav-logo-img{max-width:100px!important}
}
@media(prefers-reduced-motion:reduce){.rm-support-chat,.rm-support-chat .rm-support-chat-hint{transition:none}}

/* Text-only right navigation; preserve original left buttons and centered logo. */
#navbar .nav-right .rm-top-link{gap:0;width:auto!important;min-width:0!important;padding:0 7px!important}
#navbar .nav-right .nav-cart-btn{gap:0;width:auto!important;min-width:0!important;max-width:none!important;padding:0 7px!important}
#navbar .nav-right .rm-top-link-label,
#navbar .nav-right .nav-cart-btn .rm-cart-text{display:inline!important;white-space:nowrap;font-size:12px!important}
#navbar .nav-right .rm-top-link svg,
#navbar .nav-right .nav-cart-btn svg{display:none!important}
/* Telegram support: no dark oval, no frame, no background or shadow. */
.rm-support-chat,.rm-support-chat:hover,.rm-support-chat:active{
 background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;filter:none!important;
}
.rm-support-chat{padding:10px 7px;min-height:42px;gap:7px}
@media(max-width:700px){
 #navbar .nav-right{gap:0!important}
 #navbar .nav-right .rm-top-link,#navbar .nav-right .nav-cart-btn{
  width:auto!important;min-width:0!important;max-width:none!important;height:42px;
  padding:0 4px!important;
 }
 #navbar .nav-right .rm-top-link-label,#navbar .nav-right .nav-cart-btn .rm-cart-text{font-size:10px!important;letter-spacing:-.035em}
 #navbar .nav-logo-center .nav-logo-img{max-width:95px!important}
}
@media(max-width:390px){
 #navbar .nav-right .rm-top-link,#navbar .nav-right .nav-cart-btn{padding:0 2px!important}
 #navbar .nav-right .rm-top-link-label,#navbar .nav-right .nav-cart-btn .rm-cart-text{font-size:9px!important}
 #navbar .nav-logo-center .nav-logo-img{max-width:76px!important}
 .rm-support-chat{padding:9px 4px}
}

/* Force bare Telegram chat link on all states: absolutely no oval backdrop or outline. */
html body a.rm-support-chat,
html body a.rm-support-chat:hover,
html body a.rm-support-chat:active,
html body a.rm-support-chat:visited{
  background:none!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0;
  -webkit-appearance:none;
  appearance:none;
}
html body a.rm-support-chat::before,
html body a.rm-support-chat::after{
  content:none!important;
  display:none!important;
}
html body a.rm-support-chat:focus-visible{
  outline:2px solid #f59e0b;outline-offset:3px;
}


/* Reference-matched RETROMAIKA wordmark (white RETRO / orange MAIKA). */
#navbar .nav-logo-center .nav-logo-img{
  display:block!important;
  width:clamp(168px,17vw,244px)!important;
  max-width:clamp(168px,17vw,244px)!important;
  max-height:48px!important;
  height:auto!important;
  object-fit:contain!important;
}
@media(max-width:700px){
  #navbar .nav-logo-center .nav-logo-img{
    width:clamp(94px,30vw,130px)!important;
    max-width:clamp(94px,30vw,130px)!important;
  }
}
.footer-logo-img{width:min(190px,100%)!important;max-width:190px!important;height:auto!important}

/* 2026-11-17: reduce the visible TOP navigation bar height by 35%. */
:root{--header-h:48px;--mobile-header-h:39px}
.top-chrome{height:var(--header-h)!important;min-height:0!important}
#navbar{height:100%!important;min-height:0!important}
#navbar .nav-left .nav-icon-btn{height:36px!important;width:36px!important;min-height:0!important}
#navbar .nav-left .nav-icon-btn svg{width:18px!important;height:18px!important}
#navbar .nav-right .rm-top-link,#navbar .nav-right .nav-cart-btn{height:36px!important;min-height:0!important;padding-top:0!important;padding-bottom:0!important}
#navbar .nav-right .rm-top-link-label,#navbar .nav-right .rm-cart-text{font-size:11px!important}
#navbar .nav-logo-center .nav-logo-img{max-height:32px!important;width:auto!important;max-width:min(180px,23vw)!important}
@media(max-width:768px){
 .top-chrome{height:var(--mobile-header-h)!important}
 #navbar .nav-left .nav-icon-btn{width:30px!important;height:32px!important}
 #navbar .nav-left .nav-icon-btn svg{width:17px!important;height:17px!important}
 #navbar .nav-right .rm-top-link,#navbar .nav-right .nav-cart-btn{height:32px!important;padding-left:3px!important;padding-right:3px!important}
 #navbar .nav-right .rm-top-link-label,#navbar .nav-right .rm-cart-text{font-size:9px!important}
 #navbar .nav-logo-center .nav-logo-img{width:auto!important;max-width:clamp(72px,22vw,106px)!important;max-height:27px!important}
}
@media(max-width:390px){
 #navbar .nav-right .rm-top-link-label,#navbar .nav-right .rm-cart-text{font-size:8px!important}
 #navbar .nav-logo-center .nav-logo-img{max-width:74px!important}
}

/* Restore original 22px icon size for menu grid and search, including mobile. */
#navbar .nav-left .nav-icon-btn svg{width:22px!important;height:22px!important;flex-shrink:0}
@media(max-width:768px){#navbar .nav-left .nav-icon-btn svg{width:22px!important;height:22px!important}}
@media(max-width:390px){#navbar .nav-left .nav-icon-btn svg{width:22px!important;height:22px!important}}

/* Match Gift, Journal and Cart navigation labels precisely. */
#navbar .nav-right .rm-top-link .rm-top-link-label,
#navbar .nav-right .nav-cart-btn .rm-cart-text{
  display:inline!important;
  font-family:var(--font,Arial,sans-serif)!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
@media(max-width:768px){
  #navbar .nav-right .rm-top-link .rm-top-link-label,
  #navbar .nav-right .nav-cart-btn .rm-cart-text{
    font-size:10px!important;
    font-weight:700!important;
    line-height:1!important;
    letter-spacing:0!important;
  }
}

/* Restore the original cart icon (before text-only navigation). */
#navbar .nav-right .nav-cart-btn svg{
  display:block!important;
  width:22px!important;
  height:22px!important;
  flex-shrink:0!important;
}
#navbar .nav-right .nav-cart-btn .rm-cart-text{display:none!important}
#navbar .nav-right .nav-cart-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:36px!important;
  min-width:36px!important;
  padding:0!important;
}
@media(max-width:768px){
  #navbar .nav-right .nav-cart-btn{width:32px!important;min-width:32px!important}
}


/* 2026-11-18: restore the full-size navigation bar and wordmark.
   Keep the existing icon/text choices; only undo the compact-height treatment. */
:root{--header-h:74px;--mobile-header-h:60px}
.top-chrome{height:var(--header-h)!important;min-height:var(--header-h)!important}
#navbar{height:100%!important;min-height:0!important}
#navbar .nav-left .nav-icon-btn{width:44px!important;height:44px!important;min-height:44px!important}
#navbar .nav-right .rm-top-link,
#navbar .nav-right .nav-cart-btn{height:44px!important;min-height:44px!important}
#navbar .nav-logo-center .nav-logo-img{
  width:clamp(168px,17vw,244px)!important;
  max-width:clamp(168px,17vw,244px)!important;
  max-height:48px!important;
}
@media(max-width:768px){
  .top-chrome{height:var(--mobile-header-h)!important;min-height:var(--mobile-header-h)!important}
  #navbar .nav-left .nav-icon-btn{width:38px!important;height:42px!important;min-height:42px!important}
  #navbar .nav-right .rm-top-link,
  #navbar .nav-right .nav-cart-btn{height:42px!important;min-height:42px!important}
  #navbar .nav-logo-center .nav-logo-img{
    width:clamp(108px,30vw,130px)!important;
    max-width:clamp(108px,30vw,130px)!important;
    max-height:42px!important;
  }
}
@media(max-width:390px){
  #navbar .nav-left .nav-icon-btn{width:36px!important}
  #navbar .nav-logo-center .nav-logo-img{
    width:clamp(100px,28vw,112px)!important;
    max-width:clamp(100px,28vw,112px)!important;
  }
}
