/* GSM R15A BUYER/SELLER MOBILE FOUNDATION */
.gsm-r14c-badge{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  vertical-align:middle!important;min-width:18px!important;height:18px!important;padding:0 5px!important;
  margin-left:4px!important;border-radius:999px!important;line-height:18px!important;text-align:center!important;
  font-size:10px!important;font-weight:900!important;color:#fff!important;
}
#header .gnb a .gsm-r14c-badge,.side_wrap .depth01>a .gsm-r14c-badge{position:relative!important;top:-1px!important}
.side_wrap .depth01>a:has(.gsm-r14c-badge){display:flex!important;align-items:center!important;gap:4px!important}

@media (max-width:760px){
  html,body,#wrap,#container{max-width:100%;overflow-x:hidden}
  .r10-page,.r9-seller-page,.r9-product-page,.r9-bank-page,.r8-inquiry-page{width:100%;max-width:100%;overflow-x:hidden}
  .r10-page .inner,.r9-seller-page .inner,.r9-product-page .inner,.r9-bank-page .inner,.r8-inquiry-page .inner{
    width:100%;max-width:100%;padding-left:14px!important;padding-right:14px!important;box-sizing:border-box
  }
  #header{padding:16px 0!important;min-height:64px}
  #header .inner{gap:12px!important}
  #header .logo{min-width:0}
  #header .logo a{gap:4px!important;white-space:nowrap}
  #header .logo h1{font-size:30px!important}
  #header .logo p{font-size:13px!important;overflow:hidden;text-overflow:ellipsis}
  #header .menu{margin-left:auto}
  .side_wrap{max-height:calc(100vh - 60px);overflow:auto}
  .side_wrap .depth01>a{min-height:48px;display:flex;align-items:center}

  .r10-page{padding:34px 0 64px!important}
  .r10-title{margin-bottom:18px}
  .r10-title span{font-size:10px}
  .r10-title h1{font-size:30px!important;line-height:1.15;margin:6px 0!important}
  .r10-title p{font-size:13px;line-height:1.55;margin:0 0 16px!important}
  .r11-title-actions{margin-top:10px}
  .r11-title-actions a{display:inline-flex;min-height:40px;align-items:center;padding:0 13px;border-radius:10px}

  .r15-transactions-page .r15-desktop-transactions{display:none!important}
  .r15-mobile-transactions{display:grid!important;gap:11px}
  .r15-mobile-transaction-card{
    width:100%;padding:17px;border:1px solid #e4e8ef;border-radius:16px;background:#fff;
    box-shadow:0 8px 26px rgba(20,30,50,.045);box-sizing:border-box
  }
  .r15-mobile-transaction-card .order-no{font-size:10px;font-weight:900;color:#3157ff;word-break:break-all}
  .r15-mobile-transaction-card h3{margin:7px 0 4px;font-size:17px;line-height:1.35;word-break:keep-all}
  .r15-mobile-transaction-card .seller{margin:0;color:#8892a2;font-size:11px}
  .r15-mobile-transaction-card .amount-status{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:14px 0;padding:13px 0;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4}
  .r15-mobile-transaction-card .amount-status strong{font-size:19px;white-space:nowrap}
  .r15-mobile-transaction-card .timeline{display:grid;gap:8px;margin-top:12px}
  .r15-mobile-transaction-card .timeline>div{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:9px 11px;border-radius:10px;background:#f8f9fc;font-size:11px}
  .r15-mobile-transaction-card .timeline span{color:#8a93a3;flex:0 0 78px}
  .r15-mobile-transaction-card .timeline b{text-align:right;word-break:keep-all}
  .r15-mobile-transaction-card .buyer-confirm-actions{margin-top:12px}
  .r15-mobile-transaction-card .buyer-confirm-actions form,.r15-mobile-transaction-card .buyer-confirm-actions details{width:100%}
  .r15-mobile-transaction-card .buyer-confirm-actions button{width:100%;min-height:42px;border:0;border-radius:11px;font-weight:900}
  .r15-mobile-transaction-card details{margin-top:8px}
  .r15-mobile-transaction-card details summary{min-height:40px;padding:0 12px;border:1px solid #e2e6ee;border-radius:10px;display:flex;align-items:center;cursor:pointer;font-weight:800}
  .r15-mobile-transaction-card details form{display:grid;gap:7px;margin-top:8px}
  .r15-mobile-transaction-card details input{width:100%;height:42px;box-sizing:border-box}

  .r15-seller-sales-page .r10-order-grid{gap:12px}
  .r15-seller-sales-page .r10-order-card{padding:17px;border-radius:16px}
  .r15-seller-sales-page .r10-order-card .top{display:block}
  .r15-seller-sales-page .r10-order-card .top>b{margin-top:9px}
  .r15-seller-sales-page .r10-order-card h3{font-size:18px}
  .r15-seller-sales-page .r10-order-card p{font-size:11px;line-height:1.5}
  .r15-seller-sales-page .r11f3-money{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;margin:12px 0!important}
  .r15-seller-sales-page .r11f3-money-box{min-width:0!important;padding:13px!important;border-radius:11px!important}
  .r15-seller-sales-page .r11f3-money-box strong{font-size:16px!important;word-break:break-all}
  .r15-payment-timeline{display:grid;gap:7px;margin:12px 0;padding:12px;border:1px solid #e9edf3;border-radius:12px;background:#fbfcfe}
  .r15-payment-timeline>div{display:flex;justify-content:space-between;gap:10px;font-size:11px}
  .r15-payment-timeline span{color:#8590a1}
  .r15-payment-timeline strong{text-align:right}
  .r15-payment-timeline .paid strong{color:#087443}
  .r15-seller-sales-page .actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .r15-seller-sales-page .actions form{display:grid!important;grid-template-columns:1fr auto;gap:7px!important;width:100%}
  .r15-seller-sales-page .actions form:first-child{grid-template-columns:1fr}
  .r15-seller-sales-page .actions input{width:100%;min-width:0;box-sizing:border-box}
  .r15-seller-sales-page .actions button{min-width:88px}
  .r15-seller-sales-page .r11-countdown{padding:12px!important;border-radius:12px!important}
  .r15-seller-sales-page .r11-countdown-value{font-size:20px!important}

  .r15-seller-settlements .r10-settle-summary{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:17px!important}
  .r15-seller-settlements .r10-settle-summary strong{font-size:24px!important}
  .r15-seller-settlements .r10-settle-summary a{margin-left:0!important}
  .r15-seller-settlements .r10-table-card{overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
  .r15-seller-settlements table,.r15-seller-settlements tbody{display:block;width:100%}
  .r15-seller-settlements thead{display:none}
  .r15-seller-settlements tr{display:block;margin-bottom:10px;padding:14px;border:1px solid #e4e8ef;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(20,30,50,.035)}
  .r15-seller-settlements td{display:flex!important;justify-content:space-between;gap:12px;padding:8px 0!important;border:0!important;font-size:12px;text-align:right!important;word-break:break-word}
  .r15-seller-settlements td:before{color:#8a93a3;font-size:10px;font-weight:800;text-align:left}
  .r15-seller-settlements td:nth-child(1):before{content:"주문번호"}
  .r15-seller-settlements td:nth-child(2):before{content:"상품"}
  .r15-seller-settlements td:nth-child(3):before{content:"판매금액"}
  .r15-seller-settlements td:nth-child(4):before{content:"수수료"}
  .r15-seller-settlements td:nth-child(5):before{content:"정산금액"}
  .r15-seller-settlements td:nth-child(6):before{content:"상태"}
  .r15-seller-settlements td.empty{display:block!important;text-align:center!important}
  .r15-seller-settlements td.empty:before{content:""!important}

  .r15-my-bank .r10-account-card{padding:17px!important}
  .r15-my-bank .r10-account-card form{grid-template-columns:1fr!important;gap:12px!important}
  .r15-my-bank .r10-account-card label:last-of-type,.r15-my-bank .r10-account-card button{grid-column:auto!important}
  .r11-account-links{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}
  .r11-account-links a{min-height:38px;padding:0 11px;display:inline-flex;align-items:center;border-radius:9px}

  .r9-seller-page{padding-bottom:60px}
  .r9-seller-page .r9-page-head{display:block!important}
  .r9-seller-page .r9-page-head h1{font-size:28px!important}
  .r9-seller-page .r9-page-head p{font-size:12px!important;line-height:1.55}
  .r9-seller-page .r9-page-head>a{display:inline-flex;margin-top:10px}
  .r9-form-card,.r9-list-card{padding:16px!important;border-radius:16px!important}
  .r9-form-grid,.r9-edit-grid{grid-template-columns:1fr!important;gap:11px!important}
  .r9-form-grid .wide,.r9-edit-grid .wide{grid-column:auto!important}
  .r9-form-grid input,.r9-form-grid select,.r9-form-grid textarea,.r9-edit-grid input,.r9-edit-grid select,.r9-edit-grid textarea{width:100%!important;min-width:0!important;box-sizing:border-box}
  .r9-seller-grid{grid-template-columns:1fr!important}
  .r9-seller-item{width:100%!important;max-width:none!important}
  .r9-thumb{aspect-ratio:16/10!important;height:auto!important}
  .r9-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}

  .r9-product-grid{grid-template-columns:1fr!important;gap:12px!important}
  .r9-product-card{width:100%!important;max-width:none!important}
  .r9-product-thumb{aspect-ratio:16/10!important;height:auto!important}
  .r9-product-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}
  .r10d-card-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:7px!important}
  .r10d-card-actions>*{width:100%!important;box-sizing:border-box}

  .r9-bank-grid{grid-template-columns:1fr!important;gap:12px!important}
  .r9-bank-card,.r9-bank-summary{width:100%!important;min-width:0!important;padding:16px!important;box-sizing:border-box}
  .r9-bank-product{display:grid!important;grid-template-columns:86px minmax(0,1fr)!important;gap:12px!important}
  .r9-bank-product img{width:86px!important;height:86px!important;object-fit:cover!important}
  .r9-bank-card input{width:100%!important;box-sizing:border-box}
  .r9-bank-summary{position:static!important}

  .r8-inquiry-page .r8-page-head h1{font-size:28px!important}
  .r8-inquiry-form-card,.r8-thread{padding:16px!important;border-radius:15px!important}
  .r8-inquiry-form-card input,.r8-inquiry-form-card textarea,.r8-custom-select{width:100%!important;box-sizing:border-box}
  .r8-thread .bubble{max-width:100%!important;word-break:keep-all}
}
@media (min-width:761px){.r15-mobile-transactions{display:none!important}}
