/* 레이아웃 CSS */
@media all and (max-width:1024px) { 
  .footer_gnb .inner {padding-left: 0px !important; padding-right: 0px !important;}
  .footer_copy .inner {padding-left: 0px !important; padding-right: 0px !important;}
}

/* 기본은 숨김 */
.rb-bottom-gnb{ display:none; }

/* ✅ 터치 디바이스(모바일/태블릿)에서만 표시 */
@media (max-width:1024px), (hover: none) and (pointer: coarse) {

  .rb-bottom-gnb{
    display:flex !important;
    position:fixed;
    left:0; right:0; bottom:0;
    height:64px;
    background:#fff;
    border-top:1px solid rgba(0,0,0,.08);
    z-index:9999;
    align-items:center;
    justify-content:flex-start;
    padding:6px 6px 8px;
    box-sizing:border-box;
  }

  /* ✅ MY는 고정 */
  .rb-bottom-gnb .rb-gnb-my{
    flex:0 0 72px;
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    text-decoration:none;
    color:#111827;
    font-size:11px;
    line-height:1;
  }

  /* MY 오른쪽 구분선 */
  .rb-bottom-gnb .rb-gnb-my::after{
    content:"";
    position:absolute;
    right:-0.5px;
    top:10px;
    width:1px;
    height:44px;
    background:rgba(0,0,0,.12);
  }

  /* ✅ 오른쪽 메뉴만 스와이프 */
  .rb-gnb-scroll{
    flex:1 1 auto;
    display:flex;
    align-items:center;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .rb-gnb-scroll::-webkit-scrollbar{ display:none; }

  /* 오른쪽 아이템은 한 칸씩(줄어들지 않게) */
  .rb-gnb-scroll .rb-gnb-item{
    flex:0 0 72px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    text-decoration:none;
    color:#111827;
    font-size:11px;
    line-height:1;
  }

  .rb-bottom-gnb i{
    font-size:22px;
    line-height:1;
  }
}