/* Z-Day v28.7: Coinshop layout corrections only. Loaded last on coinshop.html. */

/* Match the site-wide footer proportions exactly instead of the compact shop footer. */
body > footer.footer{
  min-height:0 !important;
  display:block !important;
  border-top:1px solid rgba(255,255,255,.085) !important;
  background:#080a0c !important;
  padding:34px 0 42px !important;
  color:#7e8992 !important;
  font-size:inherit !important;
  letter-spacing:normal !important;
}
body > footer.footer .wrap{
  width:min(1760px,calc(100% - clamp(30px,5vw,86px))) !important;
  margin-inline:auto !important;
}
body > footer.footer .footer-inner{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:25px !important;
}
body > footer.footer strong{color:#d5dade !important;}
body > footer.footer small{display:block !important;margin-top:5px !important;color:#7e8992 !important;letter-spacing:normal !important;}
body > footer.footer .footer-links,
body > footer.footer .footer-legal{
  display:flex !important;
  align-items:center !important;
  gap:18px !important;
  flex-wrap:wrap !important;
}
body > footer.footer .footer-legal{gap:14px !important;}
body > footer.footer .footer-links a,
body > footer.footer .footer-legal a{
  color:#929ca4 !important;
  text-decoration:none !important;
  font-size:13px !important;
  font-weight:400 !important;
  letter-spacing:normal !important;
}
body > footer.footer .footer-links a:hover,
body > footer.footer .footer-legal a:hover{color:#fff !important;}

/* Hard-anchor the actual Coinshop drawer to the RIGHT edge. */
#cart-drawer.cart-drawer{
  position:fixed !important;
  top:14px !important;
  bottom:14px !important;
  left:auto !important;
  right:14px !important;
  inset-inline-start:auto !important;
  inset-inline-end:14px !important;
  margin:0 !important;
  width:min(440px,calc(100vw - 28px)) !important;
  max-width:440px !important;
  transform:translate3d(calc(100% + 30px),0,0) !important;
  transform-origin:right center !important;
}
#cart-drawer.cart-drawer.open{
  transform:translate3d(0,0,0) !important;
}

@media(max-width:840px){
  body > footer.footer .footer-inner{
    align-items:flex-start !important;
    flex-direction:column !important;
  }
  #cart-drawer.cart-drawer{
    top:8px !important;
    bottom:8px !important;
    left:auto !important;
    right:8px !important;
    inset-inline-start:auto !important;
    inset-inline-end:8px !important;
    width:calc(100vw - 16px) !important;
    max-width:none !important;
  }
}
@media(max-width:520px){
  body > footer.footer .wrap{width:calc(100% - 28px) !important;}
  #cart-drawer.cart-drawer{
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    left:auto !important;
    inset-inline-end:0 !important;
    width:100vw !important;
    max-width:none !important;
    border-radius:0 !important;
  }
}

/* v28.10: withdrawal link matches the other public pages — red text, underlined, no button. */
body > footer.footer .footer-legal a.withdraw-link,
.shop-site-footer .footer-legal a.withdraw-link{
  color:#ff737b !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  font-weight:850 !important;
  text-decoration:underline !important;
  text-decoration-color:#ff737b !important;
  text-underline-offset:3px !important;
}
body > footer.footer .footer-legal a.withdraw-link:hover,
.shop-site-footer .footer-legal a.withdraw-link:hover{
  color:#ff9ba1 !important;
  background:transparent !important;
  text-decoration:underline !important;
}
