
/* MA | HEAVEN POINT SHOP V2
   Center-content only. Shared shell is owned by ma-ui-core-v1.css.
*/
body.shopV2{background:#080808}
.shopMain{min-width:0}
.shopTicketBox b{color:#f0d58e!important}
.shopBanner{margin-top:0;margin-bottom:20px}

.shopLoginNotice{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin:10px 0 18px;padding:15px 16px;
  border:1px solid #403827;border-radius:12px;background:#11100e;
}
.shopLoginNotice div{display:flex;flex-direction:column;gap:4px}
.shopLoginNotice b{font-size:12px;color:#f0eadf}
.shopLoginNotice span{font-size:9px;color:#8f8a82}
.shopLoginNotice a{
  flex:0 0 auto;padding:10px 14px;border-radius:9px;
  background:#f0eadf;color:#111;font-size:10px;font-weight:900;
}

.shopProductsSection{padding-bottom:30px}
.shopSectionHead{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;
  margin:4px 0 12px;padding:0 2px;
}
.shopSectionHead small{display:block;color:#b7954f;letter-spacing:2.5px;font-size:7px;margin-bottom:5px}
.shopSectionHead h2{
  margin:0;color:#f0eadf;font:700 24px/1.1 Georgia,"Times New Roman",serif;
}
.shopSectionHead h2 span{font:800 11px Inter,"Pretendard","Noto Sans KR",sans-serif;color:#c6a75e;margin-left:7px}
.shopRefresh{
  height:36px;padding:0 12px;border:1px solid #4a402e;border-radius:9px;
  background:#11100e;color:#d5bc7a;font-size:10px;font-weight:800;cursor:pointer;
}
.shopRefresh:hover{border-color:#77643d;background:#16140f}

.productGrid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.productCard{
  min-width:0;
  border:1px solid #3a3327;
  border-radius:13px;
  background:linear-gradient(180deg,#121210,#0c0c0b);
  overflow:hidden;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.productCard:hover{
  transform:translateY(-2px);
  border-color:#6e5c39;
  box-shadow:0 18px 45px #0008;
}
.productImage{
  position:relative;width:100%;aspect-ratio:1/1;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;background:#090909;
  border-bottom:1px solid #2e2a22;
}
.productImage img{width:100%;height:100%;object-fit:cover;display:block}
.productImage .noImage{font-size:38px;opacity:.45}
.productBody{padding:12px}
.productMeta{
  min-height:14px;color:#c3a55d;font-size:8px;font-weight:800;letter-spacing:.2px;
}
.productBody h3{
  margin:6px 0 5px;color:#f1ece3;font-size:13px;line-height:1.35;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.productBody p{
  margin:0 0 12px;height:34px;overflow:hidden;color:#918d85;
  font-size:8px;line-height:1.55;
}
.productPrice{
  display:flex;align-items:baseline;gap:5px;margin-bottom:9px;
}
.productPrice strong{font-size:14px;color:#e4c66d;white-space:nowrap}
.productPrice small{font-size:7px;color:#9f8b5b}
.productBuyRow{
  display:grid;grid-template-columns:1fr;gap:8px;
}
.qty{
  display:grid;grid-template-columns:30px 1fr 30px;
  height:32px;border:1px solid #423824;border-radius:8px;overflow:hidden;background:#0d0d0c;
}
.qty button{
  border:0;background:#15130f;color:#d8b95e;font-size:16px;cursor:pointer;
}
.qty input{
  min-width:0;border:0;border-left:1px solid #2d281f;border-right:1px solid #2d281f;
  background:#0d0d0c;color:#f0eadf;text-align:center;font-weight:800;outline:0;
}
.buyBtn{
  width:100%;height:38px;border:1px solid #8a6b2e;border-radius:8px;
  background:linear-gradient(180deg,#e0bd61,#b88d31);
  color:#111;font-size:9px;font-weight:900;cursor:pointer;
}
.buyBtn:hover:not(:disabled){filter:brightness(1.08)}
.buyBtn:disabled{opacity:.45;cursor:not-allowed}
.shopEmpty{
  padding:45px 20px;border:1px dashed #3c3528;border-radius:12px;
  text-align:center;color:#7f7b74;font-size:10px;background:#0c0c0b;
}
.shopToast{
  position:fixed;left:50%;bottom:28px;z-index:140;
  transform:translate(-50%,20px);opacity:0;pointer-events:none;
  padding:12px 16px;border:1px solid #6b552c;border-radius:10px;
  background:#12100c;color:#e5ca82;font-size:10px;transition:.22s;box-shadow:0 15px 45px #000b;
}
.shopToast.show{opacity:1;transform:translate(-50%,0)}
.shopToast.bad{border-color:#6f3037;color:#ff9da4}

@media(max-width:1350px){
  .productGrid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1100px){
  .productGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .productGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .productBody{padding:10px}
  .shopSectionHead h2{font-size:21px}
  .shopLoginNotice{align-items:stretch;flex-direction:column}
  .shopLoginNotice a{text-align:center}
}
@media(max-width:430px){
  .productGrid{grid-template-columns:1fr}
}
