/* Close the menu with a quicker final movement; opening stays unchanged. */
  @media (max-width:980px){
    #amg-nav-sections--19359997067335__amg_header .amg-ov.is-closing{
      transition:height .38s cubic-bezier(.62,.03,.92,.38), visibility 0s linear 0s !important;
    }
  }

  .amg-panel-backdrop{
    background:rgba(0,0,0,.62) !important;
    -webkit-backdrop-filter:blur(5px) !important;
    backdrop-filter:blur(5px) !important;
  }

  /* Search + cart use AMG's black / charcoal / red palette. */
  #search-form-mobile.halo-sidebar,
  #halo-cart-sidebar.halo-sidebar{
    background:#0E0E0F !important;
    color:#f5f5f6 !important;
    border:1px solid rgba(255,255,255,.13) !important;
    box-shadow:0 28px 80px rgba(0,0,0,.58) !important;
  }
  #search-form-mobile .halo-sidebar-header,
  #halo-cart-sidebar .halo-sidebar-header{
    color:#fff !important;
    background:#0E0E0F !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
  }
  #search-form-mobile .halo-sidebar-header .title,
  #halo-cart-sidebar .halo-sidebar-header .title{
    color:#fff !important;
  }
  #search-form-mobile .halo-sidebar-wrapper,
  #halo-cart-sidebar .halo-sidebar-wrapper{
    color:#fff !important;
    background:#0E0E0F !important;
  }
  #halo-cart-sidebar .wrapper-cartCount{
    display:flex !important;
    align-items:center !important;
    gap:4px !important;
  }
  #halo-cart-sidebar .wrapper-cartCount,
  #halo-cart-sidebar .wrapper-cartCount *{
    color:#9a9aa0 !important;
  }

  #search-form-mobile > .halo-sidebar-close,
  #halo-cart-sidebar > .halo-sidebar-close{
    background:#1F1F21 !important;
    color:#fff !important;
    border:1px solid rgba(255,255,255,.10) !important;
  }
  #search-form-mobile > .halo-sidebar-close:hover,
  #halo-cart-sidebar > .halo-sidebar-close:hover{
    background:#2A2A2C !important;
  }
  #search-form-mobile > .halo-sidebar-close svg,
  #halo-cart-sidebar > .halo-sidebar-close svg{
    fill:#fff !important;
  }

  #search-form-mobile .search__input{
    background:#18181A !important;
    color:#fff !important;
    border:1px solid rgba(255,255,255,.16) !important;
    caret-color:#ff3b4a !important;
  }
  #search-form-mobile .search__input::placeholder{ color:#77777f !important; opacity:1 !important; }
  #search-form-mobile .search__input:focus{
    border-color:#ff3b4a !important;
    box-shadow:0 0 0 1px #ff3b4a !important;
  }
  #search-form-mobile .search__button{ color:#fff !important; }
  #search-form-mobile .search__button svg{ fill:#fff !important; }

  .amg-site-search-intro{
    margin:22px 0 14px;
    color:#8f8f96;
    font:500 12px/1.5 -apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",sans-serif;
  }
  .amg-site-search-results{ display:flex; flex-direction:column; gap:8px; }
  .amg-site-search-result{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    min-height:62px;
    padding:13px 15px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:13px;
    background:#151518;
    color:#fff !important;
    text-decoration:none !important;
    opacity:0;
    transform:translateY(22px);
    transition:transform .46s cubic-bezier(.2,.7,.3,1), opacity .42s ease, border-color .2s ease, background .2s ease !important;
  }
  body.amg-search-open .amg-site-search-result{
    opacity:1;
    transform:none;
  }
  .amg-site-search-result:hover{
    background:#1F1F21;
    border-color:rgba(255,59,74,.48);
  }
  .amg-site-search-result strong{
    display:block;
    color:#fff;
    font-size:15px;
    font-weight:700;
    letter-spacing:-.01em;
  }
  .amg-site-search-result small{
    display:block;
    margin-top:3px;
    color:#85858d;
    font-size:11.5px;
    line-height:1.35;
  }
  .amg-site-search-arrow{
    flex:0 0 auto;
    color:#ff3b4a;
    font-size:22px;
    line-height:1;
  }
  .amg-site-search-empty{
    padding:22px 4px;
    color:#9a9aa0;
    font-size:14px;
    line-height:1.5;
  }
  .amg-site-search-empty b{ color:#fff; }

  /* Keep the cart content readable in the dark drawer. */
  #halo-cart-sidebar .previewCartMessage,
  #halo-cart-sidebar .previewCart-wrapper,
  #halo-cart-sidebar cart-coupon-discount,
  #halo-cart-sidebar free-shipping-component,
  #halo-cart-sidebar .message{
    color:#d4d4d8 !important;
    background:transparent !important;
  }
  #halo-cart-sidebar svg:not(.halo-sidebar-close svg){ color:#d4d4d8; }
  #halo-cart-sidebar .progress{ background:#2A2A2C !important; }
  #halo-cart-sidebar .progress-meter{ background:#ff3b4a !important; }
  .amg-cart-empty{
    display:flex;
    min-height:calc(100% - 20px);
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    padding:20px 4px 40px;
  }
  .amg-cart-empty h3{
    margin:0 0 8px;
    color:#fff;
    font-size:25px;
    line-height:1.05;
    letter-spacing:-.035em;
  }
  .amg-cart-empty p{
    max-width:330px;
    margin:0 0 22px;
    color:#8f8f96;
    font-size:14px;
    line-height:1.55;
  }
  .amg-cart-empty a{
    display:inline-flex;
    min-height:42px;
    align-items:center;
    justify-content:center;
    padding:0 18px;
    border-radius:999px;
    background:#ff3b4a;
    color:#fff !important;
    text-decoration:none !important;
    font-size:13px;
    font-weight:750;
  }




#search-form-mobile .field{
  position:relative !important;
  width:100% !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  outline:0 !important;
}
#search-form-mobile .field::before,
#search-form-mobile .field::after,
#search-form-mobile .search-modal__form::before,
#search-form-mobile .search-modal__form::after,
#search-form-mobile .header__search-full::before,
#search-form-mobile .header__search-full::after{
  content:none !important;
  display:none !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
#search-form-mobile .search__input,
#search-form-mobile .search__input:hover,
#search-form-mobile .search__input:focus,
#search-form-mobile .search__input:focus-visible{
  width:100% !important;
  height:54px !important;
  padding:0 54px 0 16px !important;
  border:1px solid rgba(255,255,255,.18) !important;
  border-radius:12px !important;
  background:#18181A !important;
  color:#fff !important;
  box-shadow:none !important;
  outline:none !important;
  -webkit-appearance:none !important;
  appearance:none !important;
}
#search-form-mobile .search__input:focus,
#search-form-mobile .search__input:focus-visible{
  border-color:rgba(255,255,255,.30) !important;
}
#search-form-mobile .search__button,
#search-form-mobile .search__button:hover,
#search-form-mobile .search__button:focus{
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  outline:none !important;
}
#halo-cart-sidebar .halo-sidebar-header{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
}
#halo-cart-sidebar .halo-sidebar-header .title{
  flex:0 0 auto !important;
  margin:0 !important;
  white-space:nowrap !important;
}
#halo-cart-sidebar .wrapper-cartCount{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  flex:0 0 auto !important;
  display:flex !important;
  align-items:baseline !important;
  gap:4px !important;
  margin:2px 0 0 0 !important;
  padding:0 !important;
  white-space:nowrap !important;
  line-height:1 !important;
}
#halo-cart-sidebar .wrapper-cartCount,
#halo-cart-sidebar .wrapper-cartCount *{
  font-size:14px !important;
  font-weight:400 !important;
  letter-spacing:0 !important;
  color:#8f8f96 !important;
}



/* The Shopify search control is nested in <details>/<summary> and carries theme/native
   form-control styling. Keep its search engine/results, but replace only the visible
   field with a browser-neutral AMG control so Safari and desktop render identically. */
#search-form-mobile predictive-search.search-modal__form{
  display:none !important;
}
#search-form-mobile .amg-search-control-v14{
  position:relative !important;
  display:flex !important;
  align-items:stretch !important;
  width:100% !important;
  height:54px !important;
  min-height:54px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
  border:1px solid rgba(255,255,255,.18) !important;
  border-radius:13px !important;
  -webkit-border-radius:13px !important;
  background:#18181A !important;
  background-clip:padding-box !important;
  box-shadow:none !important;
  outline:none !important;
  color-scheme:dark;
}
#search-form-mobile .amg-search-control-v14:focus-within{
  border-color:rgba(255,255,255,.34) !important;
  box-shadow:none !important;
  outline:none !important;
}
#search-form-mobile .amg-search-input-v14{
  -webkit-appearance:none !important;
  appearance:none !important;
  display:block !important;
  flex:1 1 auto !important;
  width:100% !important;
  min-width:0 !important;
  height:52px !important;
  margin:0 !important;
  padding:0 8px 0 16px !important;
  box-sizing:border-box !important;
  border:0 !important;
  border-radius:0 !important;
  -webkit-border-radius:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  background-image:none !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  caret-color:#ff3b4a !important;
  font:500 16px/1.2 -apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",sans-serif !important;
}
#search-form-mobile .amg-search-input-v14::placeholder{
  color:#77777f !important;
  -webkit-text-fill-color:#77777f !important;
  opacity:1 !important;
}
#search-form-mobile .amg-search-input-v14::-webkit-search-decoration,
#search-form-mobile .amg-search-input-v14::-webkit-search-cancel-button,
#search-form-mobile .amg-search-input-v14::-webkit-search-results-button,
#search-form-mobile .amg-search-input-v14::-webkit-search-results-decoration{
  -webkit-appearance:none !important;
  appearance:none !important;
  display:none !important;
}
#search-form-mobile .amg-search-button-v14{
  -webkit-appearance:none !important;
  appearance:none !important;
  flex:0 0 52px !important;
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
  border:0 !important;
  border-radius:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  color:#f5f5f6 !important;
  cursor:pointer !important;
}
#search-form-mobile .amg-search-button-v14:hover,
#search-form-mobile .amg-search-button-v14:focus,
#search-form-mobile .amg-search-button-v14:active{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:#1F1F21 !important;
}
#search-form-mobile .amg-search-button-v14 svg{
  display:block !important;
  width:21px !important;
  height:21px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2 !important;
  vector-effect:non-scaling-stroke;
}
/* Keep the explanatory copy spaced from the custom field on every viewport. */
#search-form-mobile .amg-search-control-v14 + .amg-site-search{
  margin-top:0 !important;
}
#search-form-mobile .amg-search-control-v14 + .amg-site-search .amg-site-search-intro{
  margin-top:22px !important;
}
@media (max-width:980px){
  #search-form-mobile .amg-search-control-v14{
    height:54px !important;
    min-height:54px !important;
  }
}



/* Never show a scrollbar track in AMG utility surfaces. Scrolling still works. */
#search-form-mobile,
#halo-cart-sidebar,
#search-form-mobile .halo-sidebar-wrapper,
#halo-cart-sidebar .halo-sidebar-wrapper,
#amg-nav-sections--19359997067335__amg_header .amg-ov__utility{
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
}
#search-form-mobile::-webkit-scrollbar,
#halo-cart-sidebar::-webkit-scrollbar,
#search-form-mobile .halo-sidebar-wrapper::-webkit-scrollbar,
#halo-cart-sidebar .halo-sidebar-wrapper::-webkit-scrollbar,
#amg-nav-sections--19359997067335__amg_header .amg-ov__utility::-webkit-scrollbar{
  width:0 !important;
  height:0 !important;
  display:none !important;
}

@media (max-width:980px){
  /* On mobile, Search and Cart are no longer independent drawers. They live
     inside the exact same expanding pill shell used by the hamburger menu. */
  body.amg-mobile-utility-open #search-form-mobile,
  body.amg-mobile-utility-open #halo-cart-sidebar,
  body.amg-mobile-utility-open .amg-panel-backdrop{
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }

  body.amg-mobile-utility-open #amg-nav-sections--19359997067335__amg_header .amg-ov__links,
  body.amg-mobile-utility-open #amg-nav-sections--19359997067335__amg_header .amg-ov__foot,
  body.amg-mobile-utility-open #amg-nav-sections--19359997067335__amg_header .amg-ov__court{
    display:none !important;
  }

  #amg-nav-sections--19359997067335__amg_header .amg-ov__utility{
    display:none;
    position:relative;
    z-index:4;
    flex:1 1 auto;
    min-height:0;
    margin:0 22px 22px;
    padding:4px 0 10px;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    color:#fff;
  }
  body.amg-mobile-search #amg-nav-sections--19359997067335__amg_header .amg-ov__utility--search,
  body.amg-mobile-cart #amg-nav-sections--19359997067335__amg_header .amg-ov__utility--cart{
    display:block;
  }

  /* Same entrance language as the hamburger menu items: rise into place with
     a small stagger while the shell itself expands downward. */
  #amg-nav-sections--19359997067335__amg_header .amg-ov__utility > *{
    opacity:0;
    transform:translateY(26px);
    transition:transform .5s cubic-bezier(.2,.7,.3,1), opacity .5s ease;
    will-change:transform,opacity;
  }
  #amg-nav-sections--19359997067335__amg_header .amg-ov__utility > *:nth-child(1){ transition-delay:80ms; }
  #amg-nav-sections--19359997067335__amg_header .amg-ov__utility > *:nth-child(2){ transition-delay:140ms; }
  #amg-nav-sections--19359997067335__amg_header .amg-ov__utility > *:nth-child(3){ transition-delay:200ms; }
  #amg-nav-sections--19359997067335__amg_header .amg-ov__utility > *:nth-child(4){ transition-delay:260ms; }
  #amg-nav-sections--19359997067335__amg_header .amg-ov.is-open .amg-ov__utility > *{
    opacity:1;
    transform:none;
  }

  .amg-mobile-utility-title{
    margin:4px 0 18px;
    color:#fff;
    font-family:-apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",sans-serif;
    font-size:30px;
    font-weight:800;
    line-height:1.05;
    letter-spacing:-.035em;
  }
  .amg-mobile-search-control{
    display:flex;
    align-items:center;
    width:100%;
    min-height:54px;
    overflow:hidden;
    box-sizing:border-box;
    border:1px solid rgba(255,255,255,.18);
    border-radius:13px;
    background:#18181A;
    box-shadow:none;
  }
  .amg-mobile-search-control:focus-within{ border-color:rgba(255,255,255,.32); }
  .amg-mobile-search-input{
    -webkit-appearance:none;
    appearance:none;
    flex:1 1 auto;
    min-width:0;
    height:52px;
    padding:0 8px 0 16px;
    border:0;
    outline:0;
    box-shadow:none;
    background:transparent;
    color:#fff;
    -webkit-text-fill-color:#fff;
    caret-color:#ff3b4a;
    font:500 16px/1.2 -apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",sans-serif;
  }
  .amg-mobile-search-input::placeholder{ color:#77777f; -webkit-text-fill-color:#77777f; opacity:1; }
  .amg-mobile-search-input::-webkit-search-decoration,
  .amg-mobile-search-input::-webkit-search-cancel-button,
  .amg-mobile-search-input::-webkit-search-results-button,
  .amg-mobile-search-input::-webkit-search-results-decoration{ -webkit-appearance:none; appearance:none; display:none; }
  .amg-mobile-search-button{
    -webkit-appearance:none;
    appearance:none;
    flex:0 0 52px;
    width:52px;
    height:52px;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border:0;
    outline:0;
    background:transparent;
    color:#fff;
  }
  .amg-mobile-search-button svg{ width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:2; }
  .amg-mobile-search-copy{
    margin:18px 0 13px;
    color:#8f8f96;
    font:500 13px/1.5 -apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",sans-serif;
  }
  .amg-mobile-search-results{ display:flex; flex-direction:column; gap:8px; padding-bottom:12px; }
  .amg-mobile-search-result{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    min-height:64px;
    padding:13px 15px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:13px;
    background:#151518;
    color:#fff !important;
    text-decoration:none !important;
  }
  .amg-mobile-search-result strong{ display:block; color:#fff; font-size:15px; font-weight:750; }
  .amg-mobile-search-result small{ display:block; margin-top:3px; color:#85858d; font-size:11.5px; line-height:1.35; }
  .amg-mobile-search-result .arrow{ flex:0 0 auto; color:#ff3b4a; font-size:22px; line-height:1; }
  .amg-mobile-search-empty{ padding:18px 2px; color:#9a9aa0; font-size:14px; line-height:1.5; }

  .amg-mobile-cart-head{
    display:flex;
    align-items:baseline;
    gap:8px;
    margin:4px 0 18px;
  }
  .amg-mobile-cart-head h2{
    margin:0;
    color:#fff;
    font-family:-apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",sans-serif;
    font-size:30px;
    font-weight:800;
    line-height:1.05;
    letter-spacing:-.035em;
  }
  .amg-mobile-cart-count{ color:#8f8f96; font-size:14px; font-weight:500; white-space:nowrap; }
  .amg-mobile-cart-body{
    min-height:calc(100dvh - 230px);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:8px 2px 26px;
  }
  .amg-mobile-cart-body h3{ margin:0 0 8px; color:#fff; font-size:25px; line-height:1.05; letter-spacing:-.035em; }
  .amg-mobile-cart-body p{ max-width:330px; margin:0 0 22px; color:#8f8f96; font-size:14px; line-height:1.55; }
  .amg-mobile-cart-body a{
    display:inline-flex;
    min-height:42px;
    align-items:center;
    justify-content:center;
    padding:0 18px;
    border-radius:999px;
    background:#ff3b4a;
    color:#fff !important;
    text-decoration:none !important;
    font-size:13px;
    font-weight:750;
  }
}

/* Desktop keeps the requested left/right drawers, but without a visible scroll rail. */
@media (min-width:981px){
  #search-form-mobile.halo-sidebar,
  #halo-cart-sidebar.halo-sidebar,
  #search-form-mobile .halo-sidebar-wrapper,
  #halo-cart-sidebar .halo-sidebar-wrapper{
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
  }
}



@media (min-width:981px){
  /* Search now follows the cart: both desktop utility panels enter from the right. */
  #search-form-mobile.halo-sidebar{
    left:auto !important;
    right:18px !important;
    transform:translate3d(calc(100% + 28px),0,0) !important;
    transition:transform .56s cubic-bezier(.20,.82,.24,1), visibility 0s linear .58s !important;
  }
  body.amg-search-open #search-form-mobile.halo-sidebar{
    transform:translate3d(0,0,0) !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transition:transform .56s cubic-bezier(.20,.82,.24,1), visibility 0s linear 0s !important;
  }
}




.amg-site-search-intro,
.amg-mobile-search-copy{display:none !important;}
.amg-site-search-shortcuts{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0 14px;
}
.amg-site-search-shortcut{
  min-height:48px;display:flex;align-items:center;justify-content:center;padding:10px 12px;
  border:1px solid rgba(255,255,255,.13);border-radius:12px;background:#151518;color:#fff !important;
  text-decoration:none !important;text-align:center;font:700 13px/1.2 -apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",sans-serif;
  transition:border-color .2s ease,background .2s ease,transform .2s ease;
}
.amg-site-search-shortcut:hover{border-color:rgba(255,59,74,.65);background:#18181A;transform:translateY(-1px);}
.amg-mobile-search-shortcuts{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 14px;
}
.amg-mobile-search-shortcut{
  min-height:52px;display:flex;align-items:center;justify-content:center;padding:11px 10px;
  border:1px solid rgba(255,255,255,.12);border-radius:13px;background:#151518;color:#fff !important;
  text-decoration:none !important;text-align:center;font:750 13px/1.15 -apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",sans-serif;
}
@media (max-width:380px){
  .amg-mobile-search-shortcuts{gap:8px;}
  .amg-mobile-search-shortcut{font-size:12px;padding-inline:8px;}
}
