/* 레이아웃 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:50%;
    width:1px;
    height:42px;
    background:rgba(0,0,0,.12);
    transform:translateY(-50%);
}

  /* ✅ 오른쪽 메뉴만 스와이프 */
  .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;
  }
  
  .rb-bottom-gnb .rb-gnb-planner i {
    background: linear-gradient(135deg,#ff7a00,#ff3d7f,#7a5cff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    font-size:24px;
}

.rb-bottom-gnb .rb-gnb-planner span{
    color:#ff5a00;
    font-weight:800;
}

/* =========================
 * 하단 메뉴 스크롤 힌트
 * ========================= */
.rb-bottom-gnb::after {
    content: "›";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    margin-top: -2px;
    padding-bottom: 4px;

    font-size: 26px;
    font-weight: 800;
    color: rgba(0,0,0,.35);

    background: linear-gradient(to right, rgba(255,255,255,0), #fff 55%);

    pointer-events: none;
    z-index: 3;
}
}