/* Abrasia shell refinements v2.3.5
   Desktop edge-gap + mega-menu anchor repair. Mobile behavior remains unchanged. */
html{margin:0!important;padding:0!important;max-width:none!important;overflow-x:hidden}
body.pm-shell{box-sizing:border-box;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;min-width:0!important;overflow-x:hidden!important}
body.pm-shell>.pm-header{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important}

/* Root LTR is retained only so Chromium keeps the vertical scrollbar on the right.
   Do not reserve a permanent scrollbar gutter: that was the visible desktop strip. */
html{scrollbar-gutter:auto!important}

/* Homepage full-bleed repair without 100vw/left/right tricks.
   The old v2.3.2 viewport-centering hack could push the entire desktop page to one side. */
@media (min-width:1001px){
  body.pm-page-home section#main-body,
  body.pm-page-home #main-body,
  body.pm-page-home #main-body>div,
  body.pm-page-home #main-body>div>.row,
  body.pm-page-home #main-body .primary-content{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding-left:0!important;
    padding-right:0!important
  }
  body.pm-page-home section#main-body{padding-top:0!important;margin-top:0!important}
  body.pm-page-home .pm-home-neo{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important
  }
  body.pm-page-home .pm-neo-hero{width:100%!important;max-width:none!important;margin:0!important}

  body.pm-shell>.pm-header{background:linear-gradient(122deg,#07103b 0%,#101766 52%,#1832c7 100%)}
  body.pm-shell>.pm-header.pm-home{background:transparent!important;margin-bottom:calc(var(--pm-nav-height,112px) * -1)!important;position:relative;z-index:20}
  body.pm-shell>.pm-header>.pm-nav{box-sizing:border-box;max-width:1420px;min-height:var(--pm-nav-height,112px);padding:18px 34px;gap:38px;align-items:center}
  body.pm-shell>.pm-header>.pm-nav>a:first-child{display:flex;align-items:center;justify-content:center;flex:0 0 auto}
  body.pm-shell>.pm-header>.pm-nav .pm-logo{width:max(var(--pm-logo-width,180px),180px);max-width:220px;max-height:74px;height:auto;object-fit:contain;display:block}
  body.pm-shell>.pm-header>.pm-nav .pm-links{gap:31px;min-width:0;align-items:center;justify-content:center}
  body.pm-shell>.pm-header>.pm-nav .pm-links>a,
  body.pm-shell>.pm-header>.pm-nav .pm-dd>summary{position:relative;display:inline-flex;align-items:center;min-height:48px;font-size:max(var(--pm-nav-font-size,18px),18px);font-weight:650;line-height:1.3;padding:0 1px;color:#fff;text-decoration:none;white-space:nowrap}
  body.pm-shell>.pm-header>.pm-nav .pm-links>a::after,
  body.pm-shell>.pm-header>.pm-nav .pm-dd>summary::after{content:"";position:absolute;right:0;left:0;bottom:2px;height:2px;border-radius:2px;background:var(--pm-accent,#02d7a7);transform:scaleX(0);transform-origin:center;transition:transform .16s ease}
  body.pm-shell>.pm-header>.pm-nav .pm-links>a:hover::after,
  body.pm-shell>.pm-header>.pm-nav .pm-dd:hover>summary::after,
  body.pm-shell>.pm-header>.pm-nav .pm-links>a.is-active::after,
  body.pm-shell>.pm-header>.pm-nav .pm-dd.is-active>summary::after{transform:scaleX(1)}
  body.pm-shell>.pm-header>.pm-nav .pm-actions{gap:15px;align-items:center;white-space:nowrap}
  body.pm-shell>.pm-header>.pm-nav .pm-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:16px;font-weight:650;line-height:1.2;text-decoration:none}
  body.pm-shell>.pm-header>.pm-nav .pm-login,
  body.pm-shell>.pm-header>.pm-nav .pm-register{padding:9px 5px}
  body.pm-shell>.pm-header>.pm-nav .pm-cart{padding:11px 20px;border-radius:999px;font-size:15px}
  body.pm-shell>.pm-header>.pm-nav .pm-dd{display:flex;align-items:center;min-height:48px}
  body.pm-shell>.pm-header>.pm-nav .pm-pop{top:calc(100% + 8px)}
  body.pm-shell>.pm-header>.pm-nav .pm-dd::after{content:"";position:absolute;top:100%;right:0;left:0;height:12px}

  /* The dropdown trigger must be exactly the label width. The old fixed popup offset
     made both the hover target and white pointer appear under unrelated navbar space. */
  body.pm-shell>.pm-header>.pm-nav .pm-dd{width:max-content;max-width:max-content;flex:0 0 auto}
  body.pm-shell>.pm-header>.pm-nav .pm-dd>summary{width:max-content;max-width:max-content}
  body.pm-shell>.pm-header>.pm-nav .pm-dd>.pm-pop{
    right:50%!important;
    left:auto!important;
    transform:translateX(50%)!important
  }
  body.pm-shell>.pm-header>.pm-nav .pm-dd>.pm-pop:before{
    right:50%!important;
    left:auto!important;
    transform:translateX(50%) rotate(45deg)!important;
    pointer-events:none
  }
}

/* Mobile block copied exactly from the previously working v2.3.2 behavior. */
@media (max-width:1000px){
  html,body{max-width:100%;overflow-x:hidden}
  body.pm-shell{margin:0!important;padding:0!important;width:100%!important;max-width:100%!important}
  body.pm-page-home .pm-home-neo{left:0;width:100%!important;margin-left:0!important;margin-right:0!important}
  body.pm-shell>.pm-header,
  body.pm-shell>.pm-header.pm-home{width:100%!important;max-width:100%!important;margin:0!important;background:#07103b!important}
  body.pm-shell>.pm-header .pm-mobile{display:block;width:100%}
  body.pm-shell>.pm-header .pm-mobile-top{box-sizing:border-box;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;width:100%;min-height:82px;padding:13px 16px;gap:8px}
  body.pm-shell>.pm-header .pm-mobile-top>.pm-mobile-menu-icon{grid-column:1;justify-self:center;display:flex;align-items:center;justify-content:center;width:42px;height:42px;line-height:1;font-size:30px}
  body.pm-shell>.pm-header .pm-mobile-top>a:nth-child(2){grid-column:2;justify-self:center;display:flex;align-items:center;justify-content:center;min-width:0}
  body.pm-shell>.pm-header .pm-mobile-top>.pm-mobile-cart{grid-column:3;justify-self:center;display:flex;align-items:center;justify-content:center;width:42px;height:42px;font-size:20px}
  body.pm-shell>.pm-header .pm-mobile-logo{width:max(var(--pm-mobile-logo-width,138px),138px);max-width:160px;max-height:52px;height:auto;object-fit:contain;display:block}
  body.pm-shell>.pm-header .pm-mobile-panel{box-sizing:border-box;width:100%;padding:14px 16px 22px;background:#11184d}
  body.pm-shell>.pm-header .pm-mobile-panel>a{box-sizing:border-box;display:flex;align-items:center;width:100%;min-height:48px;padding:11px 14px;margin:0 0 7px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.025);line-height:1.65;text-align:right;justify-content:flex-start}
  body.pm-shell>.pm-header .pm-mobile-heading{display:block;padding:0 4px;margin:16px 0 8px;text-align:right}
  body.pm-page-home #main-body{margin-top:0!important;padding-top:0!important}
}

/* v2.4.2 — desktop account/cart action cluster. Keep both obvious and equally accessible. */
@media (min-width:1001px){
  body.pm-shell>.pm-header>.pm-nav .pm-actions.pm-actions-loggedin{display:flex!important;align-items:center!important;gap:10px!important;direction:rtl!important}
  body.pm-shell>.pm-header>.pm-nav .pm-actions .pm-account,
  body.pm-shell>.pm-header>.pm-nav .pm-actions .pm-cart{
    min-height:46px!important;padding:10px 17px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
    font-size:15px!important;font-weight:750!important;line-height:1!important;text-decoration:none!important;transition:background .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease!important
  }
  body.pm-shell>.pm-header>.pm-nav .pm-actions .pm-account{
    color:#fff!important;background:rgba(255,255,255,.075)!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:inset 0 1px rgba(255,255,255,.06)!important
  }
  body.pm-shell>.pm-header>.pm-nav .pm-actions .pm-account:hover{background:rgba(255,255,255,.13)!important;border-color:rgba(255,255,255,.3)!important;transform:translateY(-1px)!important}
  body.pm-shell>.pm-header>.pm-nav .pm-actions .pm-cart{
    color:#fff!important;background:linear-gradient(135deg,#08cba5,#07aa8c)!important;border:1px solid rgba(8,203,165,.4)!important;box-shadow:0 8px 18px rgba(8,203,165,.18)!important
  }
  body.pm-shell>.pm-header>.pm-nav .pm-actions .pm-cart:hover{background:linear-gradient(135deg,#09c19f,#078e78)!important;transform:translateY(-1px)!important;box-shadow:0 10px 22px rgba(8,203,165,.24)!important}
  body.pm-shell>.pm-header>.pm-nav .pm-actions .pm-account i,
  body.pm-shell>.pm-header>.pm-nav .pm-actions .pm-cart i{font-size:14px!important;line-height:1!important}
}


/* Phoenix Manager 2.4.3 — lighter account/cart labels only. */
@media (min-width:1001px){
  body.pm-shell>.pm-header>.pm-nav .pm-account,
  body.pm-shell>.pm-header>.pm-nav .pm-cart{font-weight:500!important}
  body.pm-shell>.pm-header>.pm-nav .pm-account span,
  body.pm-shell>.pm-header>.pm-nav .pm-cart span{font-weight:500!important}
}

/* Phoenix Manager 2.7.1 — light homepage navbar contrast.
   The homepage header overlays the hero, so light hero themes need dark navigation text. */
@media (min-width:1001px){
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-links>a,
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-dd>summary,
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-login,
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-register{
    color:#24324a!important;
    text-shadow:none!important
  }
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-links>a:hover,
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-dd>summary:hover,
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-login:hover,
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-register:hover{color:#3d5afe!important}
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-links>a::after,
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-dd>summary::after{background:#12d6a0!important}
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-logo{filter:brightness(0) saturate(100%) invert(18%) sepia(18%) saturate(1639%) hue-rotate(179deg) brightness(92%) contrast(91%)}
}

/* Phoenix Manager 2.8.0 — light homepage action contrast + darker muted teal. */
@media (min-width:1001px){
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-actions .pm-account{
    color:#24324a!important;
    background:rgba(255,255,255,.84)!important;
    border:1px solid #dce5ef!important;
    box-shadow:0 7px 18px rgba(37,55,90,.06)!important;
    font-weight:650!important
  }
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-actions .pm-account span,
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-actions .pm-account i{color:#24324a!important;font-weight:650!important;opacity:1!important}
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-actions .pm-account:hover{
    color:#16253c!important;background:#f5f8fb!important;border-color:#cdd9e6!important;box-shadow:0 9px 22px rgba(37,55,90,.09)!important
  }
  body.pm-shell>.pm-header>.pm-nav .pm-actions .pm-cart{
    background:linear-gradient(135deg,#0aa77f,#078f72)!important;
    border-color:rgba(10,167,127,.38)!important;
    box-shadow:0 8px 18px rgba(10,167,127,.18)!important
  }
  body.pm-shell>.pm-header>.pm-nav .pm-actions .pm-cart:hover{
    background:linear-gradient(135deg,#099875,#06775f)!important;
    box-shadow:0 10px 22px rgba(10,167,127,.23)!important
  }
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-links>a::after,
  body.pm-page-home:not(.pm-hero-deep_navy)>.pm-header>.pm-nav .pm-dd>summary::after{background:#0aa77f!important}
}

/* Phoenix Manager 2.9.1 — robust light-hero navigation contrast. */
@media (min-width:1001px){
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-links>a,
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-dd>summary,
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-login,
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-register,
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-account,
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-account span,
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-account i{color:#223149!important;text-shadow:none!important;opacity:1!important}
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-account{background:rgba(255,255,255,.92)!important;border-color:#dce5ef!important;box-shadow:0 7px 18px rgba(37,55,90,.07)!important}
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-account:hover{background:#fff!important;color:#132238!important;border-color:#cad7e4!important}
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-links>a:hover,
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-dd>summary:hover,
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-login:hover,
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-register:hover{color:#2d4ecf!important}
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-cart{background:linear-gradient(135deg,#08765f,#055c49)!important;border-color:rgba(8,118,95,.42)!important;box-shadow:0 8px 18px rgba(8,118,95,.18)!important}
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-cart:hover{background:linear-gradient(135deg,#06634f,#044c3d)!important;box-shadow:0 10px 22px rgba(8,118,95,.22)!important}
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-links>a::after,
  body.pm-page-home:not(.pm-hero-deep_navy) .pm-header.pm-home .pm-dd>summary::after{background:#08765f!important}
}

/* Phoenix Manager 3.1.0 — photographic homepage header integration.
   The hero now begins behind this translucent header; no legacy blue hero is rendered. */
@media (min-width:1001px){
  body.pm-page-home>.pm-header.pm-home{
    background:rgba(248,250,252,.88)!important;
    -webkit-backdrop-filter:blur(12px) saturate(120%);
    backdrop-filter:blur(12px) saturate(120%);
    border-bottom:1px solid rgba(219,228,237,.72)!important;
    box-shadow:0 5px 18px rgba(26,45,70,.035)!important;
    margin-bottom:calc(var(--pm-nav-height,112px) * -1)!important;
  }
  body.pm-page-home>.pm-header.pm-home>.pm-nav .pm-links>a,
  body.pm-page-home>.pm-header.pm-home>.pm-nav .pm-dd>summary,
  body.pm-page-home>.pm-header.pm-home>.pm-nav .pm-login,
  body.pm-page-home>.pm-header.pm-home>.pm-nav .pm-register{
    color:#21324b!important;
  }
  body.pm-page-home>.pm-header.pm-home>.pm-nav .pm-logo{
    filter:brightness(0) saturate(100%) invert(17%) sepia(19%) saturate(1451%) hue-rotate(179deg) brightness(91%) contrast(91%)!important;
  }
}
@media (max-width:1000px){
  body.pm-page-home>.pm-header.pm-home{
    background:#f8fafc!important;
    border-bottom:1px solid #e1e8ef!important;
  }
  body.pm-page-home>.pm-header.pm-home .pm-mobile-menu-icon,
  body.pm-page-home>.pm-header.pm-home .pm-mobile-cart{
    color:#21324b!important;
  }
}

/* ABRASIA MOBILE HEADER FIX 2026-11-25 */
/* ABRASIA MOBILE HEADER FIX 2026-11-25 */
@media (max-width:1000px) {

  /* Dark logo on the light homepage header only */
  body.pm-page-home>.pm-header.pm-home .pm-mobile-logo {
    filter: brightness(0) saturate(100%) invert(17%) sepia(19%)
            saturate(1451%) hue-rotate(179deg) brightness(91%)
            contrast(91%) !important;
  }

  /* Proper cart SVG rendering */
  body.pm-shell>.pm-header .pm-mobile-cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
    text-decoration: none !important;
  }

  body.pm-shell>.pm-header .pm-mobile-cart .pm-mobile-cart-icon {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}
