/* AMR GALACTIC ROYALE — Blue finishing layer, 18 Oct 2026.
 * Scope: presentation only. Reuses original live source-of-truth bindings.
 * Original header, artwork, customer data, checkout JS and cart state untouched.
 */
:root{
  --amr-galactic-panel:#07366e;
  --amr-galactic-ink:#020b1c;
  --amr-galactic-cyan:#00c8ff;
  --amr-galactic-gold:#f6c453;
}
/* Recolor the environmental lighting without replacing Sarawak imagery. */
html body.route-about .amr-about-hero,
html body.route-shop #commerce-section>.amr-shop-banner,
html body.route-categories .amr-categories-hero,
html body.route-journal .amr-journal-hero,
html body.route-contact .amr-contact-hero{
  background-color:#07366e!important;
  background-blend-mode:multiply,luminosity!important;
}
html body.route-about .amr-about-gold-frame,
html body.route-contact .amr-contact-ornate,
html body.route-journal .amr-journal-ornate{
  background-color:#05162f!important;
}
html body .site-footer .footer-inner>div{
  background-color:#05162f!important;
}
html body .site-footer .footer-legal-panel{
  background:linear-gradient(145deg,#07366ef5,#05162ff8)!important;
  border-color:#f6c453!important;
  box-shadow:inset 0 0 0 3px #00c8ff38,0 0 25px #008bff32!important;
}
html body .site-footer .footer-legal-list a{
  background:linear-gradient(100deg,#07366e,#05162f)!important;
  border-color:#f6c453!important;
}
html body .site-footer .footer-legal-list a:hover{
  background:linear-gradient(110deg,#0958b2,#07366e)!important;
}
/* Restore the intended filter | products | live cart desktop composition. */
@media(min-width:1181px){
  html body.route-shop #commerce-section.commerce-layout{
    display:grid!important;
    grid-template-columns:minmax(215px,256px) minmax(0,1fr) minmax(225px,275px)!important;
    grid-template-rows:auto auto!important;
    gap:14px!important;
    align-items:start!important;
  }
  html body.route-shop #commerce-section>.amr-shop-banner{
    grid-column:1/-1!important;grid-row:1!important;
  }
  html body.route-shop #commerce-section>#filters{
    grid-column:1!important;grid-row:2!important;
    display:flex!important;position:relative!important;
    top:auto!important;align-self:start!important;
  }
  html body.route-shop #commerce-section>.collection{
    grid-column:2!important;grid-row:2!important;
    min-width:0!important;width:100%!important;
  }
  html body.route-shop #commerce-section>.amr-live-panel{
    grid-column:3!important;grid-row:2!important;
    display:flex!important;flex-direction:column!important;
    min-width:0!important;width:100%!important;align-self:start!important;
    position:sticky!important;top:85px!important;
  }
  html body.route-shop #commerce-section #product-grid:not(.list-layout){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(min-width:1450px){
  html body.route-shop #commerce-section #product-grid:not(.list-layout){
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
html body.route-shop #commerce-section>.amr-live-panel{
  border:2px solid #f6c453!important;border-radius:15px!important;
  padding:18px 15px!important;
  color:#ecf8ff!important;
  background:linear-gradient(155deg,#07366e,#05162f 72%,#020b1c)!important;
  box-shadow:inset 0 0 0 2px #00c8ff38,0 0 22px #008bff2a!important;
}
html body.route-shop #commerce-section>.amr-live-panel h3{color:#ffe29b!important}
html body.route-shop #commerce-section>.amr-live-panel p,
html body.route-shop #commerce-section>.amr-live-panel small{color:#b6d9f4!important}
html body.route-shop #commerce-section>.amr-live-panel #amr-open-cart{
  border:1px solid #f6c453!important;color:#082342!important;
  background:linear-gradient(120deg,#ffe29b,#f6c453)!important;
  border-radius:9px!important;min-height:44px!important;font-weight:700!important;
}
html body.route-shop #commerce-section>.amr-live-panel #amr-open-cart:hover{
  filter:brightness(1.08)!important;
  box-shadow:0 0 15px #f6c45366!important;
}
@media(min-width:901px) and (max-width:1180px){
  html body.route-shop #commerce-section>.amr-live-panel{
    display:flex!important;grid-column:1/-1!important;grid-row:3!important;
    position:static!important;width:100%!important;
  }
}
@media(max-width:900px){
  html body.route-shop #commerce-section>.amr-live-panel{
    display:flex!important;flex-direction:column!important;
    width:100%!important;position:static!important;margin-top:14px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body.route-shop #commerce-section>.amr-live-panel #amr-open-cart{
    transition:none!important;
  }
}
/* Prevent nonessential mascot greeting overlay from masking shop controls. */
@media(min-width:901px){
 html body.route-shop .amr-putra-pet:not(.is-open):not(:hover):not(:focus-within) .p-greeting{
  opacity:0!important;pointer-events:none!important;
 }
 html body.route-shop .amr-putra-pet .p-greeting{transition:opacity .18s ease!important}
}
@media(max-width:900px){
 html body .amr-putra-pet:not(.is-open) .p-greeting{display:none!important}
}
@media(prefers-reduced-motion:reduce){
 html body.route-shop .amr-putra-pet .p-greeting{transition:none!important}
}
