/* R5 site-wide PRIVATE SHOP navigation only; extends the deployed R4.6 styles. */
.um-shop-top,.um-shop-top *{box-sizing:border-box}
.um-shop-top{position:relative;inset:auto;z-index:12;width:min(1160px,calc(100% - 32px));margin:12px auto 14px;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#174957}
.um-shop-top__inner{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;min-height:42px}
.um-shop-top button,.um-shop-top__login{font:inherit;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #bad4d6;border-radius:13px;background:#fffdfb;color:#174957;padding:8px 11px;min-height:39px;font-size:12px;font-weight:650}
.um-shop-top button{cursor:pointer}.um-shop-top button:hover,.um-shop-top button:focus-visible{background:#e8f4f2;outline-offset:2px}
.um-shop-top .um-halo__icon{width:17px;height:17px}.um-shop-top__login{opacity:.69;cursor:not-allowed}.um-shop-top__login small{font-size:9px;font-weight:500;color:#b56e6b}
.um-shop-top__language{position:relative}
.um-shop-top .um-halo__languages{position:absolute;top:calc(100% + 7px);bottom:auto;left:auto;right:0;transform:none;z-index:15;min-width:172px}
.um-shop-top .um-halo__languages button{justify-content:flex-start;border:0;width:100%}
/* Only the original floating music/contact dock is hidden. Audio remains reachable through top Music. */
.um-halo.is-contact-open .um-halo__veil{visibility:visible;opacity:1;pointer-events:auto}
.um-halo__contact-panel{position:fixed;left:92px;top:50%;transform:translateY(-50%);width:min(310px,calc(100vw - 120px));padding:18px;background:#fffdfb;border:1px solid #174957;border-radius:24px;box-shadow:0 14px 36px #17495730;z-index:4}
.um-halo__contact-panel[hidden]{display:none!important}
.um-halo__contact-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#174957;font-size:16px}
.um-halo__contact-heading button{display:grid;place-items:center;width:32px;height:32px;background:#e8f3f1;border:0;border-radius:50%;color:#174957}
.um-halo__contact-heading .um-halo__icon{width:17px;height:17px}
.um-halo__contact-panel .um-halo__contact-links{display:flex;flex-direction:column;align-items:stretch;gap:7px}
.um-halo__contact-panel .um-halo__contact-links a{text-align:center;border:1px solid #d6e4e2}
.um-halo__contact-empty{font-size:12px;color:#617b80}
.um-halo__rail [data-um-halo-contact-toggle][aria-expanded="true"],.um-halo__bottom [data-um-halo-contact-toggle][aria-expanded="true"]{background:#e4f1ef;color:#087f91}
/* Keep the Halo at four controls; the Back control belongs to the in-flow top bar. */
@media(max-width:767px){
  .um-shop-top{width:calc(100% - 24px);margin:8px auto 10px}
  .um-shop-top__inner{justify-content:center;gap:6px}
  .um-shop-top button,.um-shop-top__login{min-height:34px;padding:6px 8px;font-size:10px;gap:4px;border-radius:10px}
  .um-shop-top__login small{font-size:8px}
  .um-shop-top .um-halo__icon{width:15px;height:15px}
  .um-halo__bottom{grid-template-columns:repeat(4,minmax(0,1fr))}
  
  .um-halo__bottom [data-um-halo-contact-toggle] .um-halo__label{font-size:8px}
  .um-halo__contact-panel{left:9px;right:9px;bottom:calc(79px + env(safe-area-inset-bottom));top:auto;transform:none;width:auto;max-width:410px;margin-inline:auto;padding:14px}
  .um-halo.is-at-top .um-halo__contact-panel{top:calc(87px + env(safe-area-inset-top));bottom:auto}
}
@media(max-width:360px){.um-shop-top button,.um-shop-top__login{padding:6px 5px;font-size:9px}.um-halo__bottom .um-halo__label{font-size:8px}.um-halo__bottom [data-um-halo-contact-toggle] .um-halo__label{font-size:7px}}
@media(prefers-reduced-motion:reduce){.um-halo__contact-panel,.um-shop-top *{transition:none!important}}

/* R5.1: accessible Back sits on the left of the regular top bar, never in Halo. */
.um-shop-top__inner{justify-content:space-between;flex-wrap:nowrap}
.um-shop-top__actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-left:auto;min-width:0}
.um-shop-top__back{font:inherit;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;border:1px solid #174957;border-radius:13px;background:#fffdfb;color:#174957;padding:8px 11px;min-height:39px;font-size:12px;font-weight:650;text-decoration:none}
.um-shop-top__back:hover,.um-shop-top__back:focus-visible{background:#e8f4f2;outline-offset:2px}
.um-shop-top__back .um-halo__icon{width:17px;height:17px}
@media(max-width:767px){
  .um-shop-top__inner{justify-content:space-between;gap:6px;flex-wrap:nowrap}
  .um-shop-top__actions{gap:6px;flex-wrap:nowrap}
  .um-shop-top__back{min-width:34px;min-height:34px;padding:6px 8px;border-radius:10px}
  .um-shop-top__back [data-um-halo-i18n="back"]{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
}
@media(max-width:360px){
  .um-shop-top__back{min-width:30px;padding:5px 6px}
  .um-shop-top__actions{gap:4px}
  .um-shop-top__back .um-halo__icon{width:15px;height:15px}
}

/* R5.2 — Mobile Explore aligns with Home, Contact Us, and Cart.
   Keep the teal highlight; remove the legacy raised offset only. */
@media (max-width: 767px) {
  .um-halo__bottom > .um-halo__toggle {
    height: 48px;
    min-height: 48px;
    transform: none;
    align-self: center;
    justify-self: stretch;
    border-radius: 13px;
  }
}

/* R5.3 — top Music button reflects the actual HTMLAudioElement playback state.
   umagical-halo.js owns .is-playing and aria-pressed; no new playback logic. */
.um-shop-top [data-um-halo-music].is-playing {
  background: #087f91;
  color: #fff;
  border-color: #174957;
  box-shadow: 0 0 0 2px rgba(23,73,87,.13);
}
.um-shop-top [data-um-halo-music].is-playing:hover,
.um-shop-top [data-um-halo-music].is-playing:focus-visible {
  background: #086f80;
  color: #fff;
}
.um-shop-top [data-um-halo-music].is-playing::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #b8f5d3;
  box-shadow: 0 0 0 1px rgba(255,255,255,.6);
}
@media (max-width: 360px) {
  .um-shop-top [data-um-halo-music].is-playing::after {
    width: 5px;
    height: 5px;
  }
}
