/* mobile-bottom-nav-and-sheet-120 */
/* 360·390·430 전용 하단 고정 내비게이션 + 전체보기 바텀시트
   768·PC는 표시하지 않음 */
.mobile-bottom-nav,
.mobile-allmenu-sheet{
  display:none;
}

@media (max-width:430px){
  body{
    padding-bottom:84px !important;
  }

  .mobile-bottom-nav{
    position:fixed;
    left:10px;
    right:10px;
    bottom:8px;
    z-index:12500;
    height:62px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:4px;
    padding:5px;
    border-radius:22px;
    background:linear-gradient(145deg,rgba(7,21,47,.94),rgba(10,34,72,.92));
    border:1px solid rgba(255,255,255,.13);
    box-shadow:0 18px 40px rgba(2,8,20,.34),inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter:blur(18px) saturate(1.16);
    -webkit-backdrop-filter:blur(18px) saturate(1.16);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button{
    appearance:none;
    -webkit-appearance:none;
    border:0;
    border-radius:17px;
    background:transparent;
    color:rgba(255,255,255,.82);
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    font-family:inherit;
    font-size:10.3px;
    line-height:1;
    font-weight:850;
    letter-spacing:-.035em;
    cursor:pointer;
    text-decoration:none;
  }

  .mobile-bottom-nav .nav-icon{
    width:20px;
    height:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    line-height:1;
    color:inherit;
  }

  .mobile-bottom-nav .allmenu-open{
    color:#07152F;
    background:linear-gradient(135deg,#C9A64B,#EAD27C);
    box-shadow:0 8px 18px rgba(201,166,75,.24),inset 0 1px 0 rgba(255,255,255,.32);
  }

  .mobile-bottom-nav a:active,
  .mobile-bottom-nav button:active{
    transform:scale(.97);
  }

  .mobile-allmenu-sheet{
    position:fixed;
    inset:0;
    z-index:12600;
    display:block;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .22s ease,visibility .22s ease;
  }

  .mobile-allmenu-sheet.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .mobile-allmenu-backdrop{
    position:absolute;
    inset:0;
    background:rgba(2,8,18,.56);
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
  }

  .mobile-allmenu-panel{
    position:absolute;
    left:8px;
    right:8px;
    bottom:8px;
    max-height:calc(100vh - 28px);
    overflow:auto;
    transform:translateY(24px);
    border-radius:28px;
    padding:20px 17px 18px;
    color:#fff;
    background:
      radial-gradient(circle at 92% 0%,rgba(201,166,75,.16),transparent 34%),
      radial-gradient(circle at 8% 100%,rgba(74,134,240,.13),transparent 36%),
      linear-gradient(145deg,#07152F,#0A2349);
    border:1px solid rgba(255,255,255,.14);
    box-shadow:0 30px 80px rgba(0,0,0,.42);
    transition:transform .28s cubic-bezier(.19,1,.22,1);
  }

  .mobile-allmenu-sheet.is-open .mobile-allmenu-panel{
    transform:translateY(0);
  }

  .mobile-allmenu-handle{
    width:44px;
    height:4px;
    margin:0 auto 14px;
    border-radius:999px;
    background:rgba(255,255,255,.25);
  }

  .mobile-allmenu-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    margin-bottom:16px;
  }

  .mobile-allmenu-head span{
    display:block;
    color:#EAD28A;
    font-size:10px;
    font-weight:950;
    letter-spacing:.14em;
  }

  .mobile-allmenu-head strong{
    display:block;
    margin-top:6px;
    font-size:23px;
    line-height:1.15;
    letter-spacing:-.055em;
  }

  .mobile-allmenu-close{
    flex:0 0 36px;
    width:36px;
    height:36px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:999px;
    background:rgba(255,255,255,.07);
    color:#fff;
    font-size:22px;
    line-height:1;
    cursor:pointer;
  }

  .mobile-allmenu-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .mobile-allmenu-group{
    padding:15px;
    border-radius:19px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.10);
  }

  .mobile-allmenu-group h3{
    margin:0 0 10px;
    color:#F0D47F;
    font-size:14.5px;
    line-height:1.25;
    letter-spacing:-.045em;
  }

  .mobile-allmenu-group a{
    display:block;
    padding:6px 0;
    color:rgba(255,255,255,.84);
    font-size:12px;
    line-height:1.42;
    font-weight:720;
    border-bottom:1px solid rgba(255,255,255,.055);
  }

  .mobile-allmenu-group a:last-child{
    border-bottom:0;
  }

  .mobile-allmenu-foot{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:12px;
    padding-top:12px;
    border-top:1px solid rgba(255,255,255,.10);
  }

  .mobile-allmenu-foot a{
    min-height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 10px;
    border-radius:999px;
    color:rgba(255,255,255,.88);
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.11);
    font-size:11.3px;
    font-weight:850;
  }

  .mobile-allmenu-foot a.primary{
    grid-column:1 / -1;
    color:#07152F;
    background:linear-gradient(135deg,#C9A64B,#EAD27C);
    border-color:rgba(201,166,75,.30);
  }
}

@media (max-width:360px){
  .mobile-bottom-nav{
    left:7px;
    right:7px;
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button{
    font-size:9.9px;
  }

  .mobile-allmenu-grid{
    gap:8px;
  }

  .mobile-allmenu-group{
    padding:13px;
  }

  .mobile-allmenu-group a{
    font-size:11.6px;
  }
}

/* mobile-bottom-nav-responsive-121 */
/* 360 / 390 / 430 / 768 최종 균형
   900px 이하 모든 모바일·폴드에서 사용 */
@media (max-width:900px){
  body{
    padding-bottom:78px !important;
  }

  .mobile-bottom-nav{
    display:grid !important;
    left:50% !important;
    right:auto !important;
    bottom:10px !important;
    width:min(430px,calc(100% - 24px)) !important;
    height:56px !important;
    padding:4px !important;
    gap:3px !important;
    border-radius:20px !important;
    transform:translateX(-50%) !important;
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button{
    border-radius:15px !important;
    gap:3px !important;
    font-size:10.3px !important;
  }

  .mobile-bottom-nav .nav-icon{
    width:18px !important;
    height:18px !important;
    font-size:15px !important;
  }

  .mobile-bottom-nav .allmenu-open{
    box-shadow:0 6px 15px rgba(201,166,75,.20),
               inset 0 1px 0 rgba(255,255,255,.28) !important;
  }

  .mobile-allmenu-panel{
    left:10px !important;
    right:10px !important;
    bottom:10px !important;
    max-width:720px !important;
    margin:0 auto !important;
  }
}

@media (max-width:390px){
  body{
    padding-bottom:75px !important;
  }

  .mobile-bottom-nav{
    width:calc(100% - 18px) !important;
    height:54px !important;
    bottom:8px !important;
    border-radius:19px !important;
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button{
    font-size:9.8px !important;
  }

  .mobile-bottom-nav .nav-icon{
    font-size:14px !important;
  }

  .mobile-allmenu-panel{
    left:7px !important;
    right:7px !important;
    bottom:7px !important;
    padding:18px 15px 16px !important;
  }
}

@media (min-width:391px) and (max-width:430px){
  .mobile-bottom-nav{
    width:calc(100% - 24px) !important;
    height:56px !important;
  }
}

@media (min-width:431px) and (max-width:720px){
  .mobile-bottom-nav{
    width:420px !important;
    height:56px !important;
  }
}

@media (min-width:721px) and (max-width:900px){
  body{
    padding-bottom:76px !important;
  }

  .mobile-bottom-nav{
    width:420px !important;
    height:54px !important;
    bottom:12px !important;
    border-radius:19px !important;
    background:linear-gradient(145deg,rgba(7,21,47,.91),rgba(10,34,72,.89)) !important;
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button{
    flex-direction:row !important;
    gap:6px !important;
    font-size:11px !important;
  }

  .mobile-bottom-nav .nav-icon{
    width:17px !important;
    height:17px !important;
    font-size:14px !important;
  }

  .mobile-allmenu-panel{
    left:50% !important;
    right:auto !important;
    bottom:14px !important;
    width:min(700px,calc(100% - 36px)) !important;
    transform:translate(-50%,24px) !important;
  }

  .mobile-allmenu-sheet.is-open .mobile-allmenu-panel{
    transform:translate(-50%,0) !important;
  }

  .mobile-allmenu-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }

  .mobile-allmenu-foot{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }

  .mobile-allmenu-foot a.primary{
    grid-column:1 / -1 !important;
  }
}

@media (min-width:901px){
  .mobile-bottom-nav,
  .mobile-allmenu-sheet{
    display:none !important;
  }
}

/* mobile-bottom-nav-768-structure-fix-122 */
/* 431~900에서 빠졌던 공통 구조 복원
   position / z-index / grid / sheet 표시를 명시하여 768에서도 정상 고정 */
@media (min-width:431px) and (max-width:900px){
  .mobile-bottom-nav{
    position:fixed !important;
    left:50% !important;
    right:auto !important;
    bottom:12px !important;
    z-index:12500 !important;
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    align-items:stretch !important;
    padding:4px !important;
    gap:3px !important;
    transform:translateX(-50%) !important;
    color:#fff !important;
    background:linear-gradient(145deg,rgba(7,21,47,.92),rgba(10,34,72,.90)) !important;
    border:1px solid rgba(255,255,255,.13) !important;
    box-shadow:0 18px 40px rgba(2,8,20,.30),inset 0 1px 0 rgba(255,255,255,.08) !important;
    backdrop-filter:blur(18px) saturate(1.16) !important;
    -webkit-backdrop-filter:blur(18px) saturate(1.16) !important;
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button{
    appearance:none !important;
    -webkit-appearance:none !important;
    min-width:0 !important;
    border:0 !important;
    border-radius:15px !important;
    background:transparent !important;
    color:rgba(255,255,255,.84) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-family:inherit !important;
    font-weight:850 !important;
    line-height:1 !important;
    letter-spacing:-.035em !important;
    cursor:pointer !important;
    text-decoration:none !important;
  }

  .mobile-bottom-nav .allmenu-open{
    color:#07152F !important;
    background:linear-gradient(135deg,#C9A64B,#EAD27C) !important;
    box-shadow:0 6px 15px rgba(201,166,75,.20),inset 0 1px 0 rgba(255,255,255,.28) !important;
  }

  .mobile-allmenu-sheet{
    position:fixed !important;
    inset:0 !important;
    z-index:12600 !important;
    display:block !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transition:opacity .22s ease,visibility .22s ease !important;
  }

  .mobile-allmenu-sheet.is-open{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }

  .mobile-allmenu-backdrop{
    position:absolute !important;
    inset:0 !important;
    background:rgba(2,8,18,.56) !important;
    backdrop-filter:blur(4px) !important;
    -webkit-backdrop-filter:blur(4px) !important;
  }

  .mobile-allmenu-panel{
    position:absolute !important;
    max-height:calc(100vh - 32px) !important;
    overflow:auto !important;
    border-radius:28px !important;
    padding:22px 20px 20px !important;
    color:#fff !important;
    background:
      radial-gradient(circle at 92% 0%,rgba(201,166,75,.16),transparent 34%),
      radial-gradient(circle at 8% 100%,rgba(74,134,240,.13),transparent 36%),
      linear-gradient(145deg,#07152F,#0A2349) !important;
    border:1px solid rgba(255,255,255,.14) !important;
    box-shadow:0 30px 80px rgba(0,0,0,.42) !important;
    transition:transform .28s cubic-bezier(.19,1,.22,1) !important;
  }

  .mobile-allmenu-handle{
    width:44px !important;
    height:4px !important;
    margin:0 auto 14px !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.25) !important;
  }

  .mobile-allmenu-head{
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:14px !important;
    margin-bottom:16px !important;
  }

  .mobile-allmenu-head span{
    display:block !important;
    color:#EAD28A !important;
    font-size:10px !important;
    font-weight:950 !important;
    letter-spacing:.14em !important;
  }

  .mobile-allmenu-head strong{
    display:block !important;
    margin-top:6px !important;
    font-size:24px !important;
    line-height:1.15 !important;
    letter-spacing:-.055em !important;
  }

  .mobile-allmenu-close{
    flex:0 0 36px !important;
    width:36px !important;
    height:36px !important;
    border:1px solid rgba(255,255,255,.13) !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.07) !important;
    color:#fff !important;
    font-size:22px !important;
    cursor:pointer !important;
  }

  .mobile-allmenu-group{
    padding:15px !important;
    border-radius:19px !important;
    background:rgba(255,255,255,.06) !important;
    border:1px solid rgba(255,255,255,.10) !important;
  }

  .mobile-allmenu-group h3{
    margin:0 0 10px !important;
    color:#F0D47F !important;
    font-size:14px !important;
  }

  .mobile-allmenu-group a{
    display:block !important;
    padding:6px 0 !important;
    color:rgba(255,255,255,.84) !important;
    font-size:11.7px !important;
    line-height:1.42 !important;
    font-weight:720 !important;
    border-bottom:1px solid rgba(255,255,255,.055) !important;
  }

  .mobile-allmenu-foot{
    display:grid !important;
    gap:8px !important;
    margin-top:12px !important;
    padding-top:12px !important;
    border-top:1px solid rgba(255,255,255,.10) !important;
  }

  .mobile-allmenu-foot a{
    min-height:38px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 10px !important;
    border-radius:999px !important;
    color:rgba(255,255,255,.88) !important;
    background:rgba(255,255,255,.07) !important;
    border:1px solid rgba(255,255,255,.11) !important;
    font-size:11px !important;
    font-weight:850 !important;
  }

  .mobile-allmenu-foot a.primary{
    color:#07152F !important;
    background:linear-gradient(135deg,#C9A64B,#EAD27C) !important;
  }
}


/* === MOBILE ALL MENU VISUAL POLISH v3 === */
@media (max-width:900px){
  .mobile-allmenu-panel{
    padding-top:18px !important;
  }

  .mobile-allmenu-handle{
    width:38px !important;
    height:3px !important;
    margin-bottom:13px !important;
    opacity:.78 !important;
  }

  .mobile-allmenu-head{
    margin-bottom:18px !important;
  }

  .mobile-allmenu-head strong{
    font-size:24px !important;
    letter-spacing:-.052em !important;
  }

  .mobile-allmenu-close{
    width:32px !important;
    height:32px !important;
    flex-basis:32px !important;
    font-size:19px !important;
    border-color:rgba(255,255,255,.11) !important;
    background:rgba(255,255,255,.055) !important;
  }

  .mobile-allmenu-grid{
    gap:12px !important;
  }

  .mobile-allmenu-group{
    padding:16px 15px 15px !important;
    border-radius:20px !important;
    background:linear-gradient(180deg,rgba(255,255,255,.072),rgba(255,255,255,.048)) !important;
    border-color:rgba(255,255,255,.105) !important;
  }

  .mobile-allmenu-group h3{
    margin-bottom:11px !important;
    font-size:15.2px !important;
    line-height:1.22 !important;
    color:#ECD27E !important;
  }

  .mobile-allmenu-group a{
    position:relative !important;
    padding:7px 0 !important;
    font-size:12.35px !important;
    line-height:1.48 !important;
    color:rgba(255,255,255,.86) !important;
  }

  .mobile-allmenu-group a.is-current{
    padding-left:12px !important;
    color:#FFFFFF !important;
    font-weight:900 !important;
  }

  .mobile-allmenu-group a.is-current::before{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    top:50% !important;
    width:5px !important;
    height:5px !important;
    border-radius:50% !important;
    background:#E5C65E !important;
    box-shadow:0 0 0 4px rgba(229,198,94,.11) !important;
    transform:translateY(-50%) !important;
  }

  .mobile-allmenu-foot{
    gap:8px !important;
    margin-top:14px !important;
    padding-top:14px !important;
  }

  .mobile-allmenu-foot a{
    min-height:39px !important;
    font-size:11.5px !important;
    background:rgba(255,255,255,.055) !important;
    border-color:rgba(255,255,255,.10) !important;
  }

  .mobile-allmenu-foot a.primary{
    min-height:40px !important;
    color:#07152F !important;
    background:linear-gradient(135deg,#D2B45D,#E2CB82) !important;
    box-shadow:0 8px 18px rgba(201,166,75,.14) !important;
  }
}

@media (max-width:390px){
  .mobile-allmenu-grid{
    gap:9px !important;
  }

  .mobile-allmenu-group{
    padding:14px 13px !important;
  }

  .mobile-allmenu-group h3{
    font-size:14.7px !important;
  }

  .mobile-allmenu-group a{
    font-size:11.95px !important;
    padding:6.5px 0 !important;
  }
}

@media (min-width:721px) and (max-width:900px){
  .mobile-allmenu-group{
    padding:15px 14px !important;
  }

  .mobile-allmenu-group h3{
    font-size:14.6px !important;
  }

  .mobile-allmenu-group a{
    font-size:11.6px !important;
  }
}
/* === /MOBILE ALL MENU VISUAL POLISH v3 === */


/* === MOBILE ALL MENU FINAL DENSITY v4 === */
@media (max-width:900px){
  .mobile-allmenu-panel{
    top:auto !important;
    bottom:12px !important;
    max-height:calc(100vh - 34px) !important;
    padding-bottom:15px !important;
  }

  .mobile-allmenu-foot{
    margin-top:12px !important;
    padding-top:12px !important;
    gap:7px !important;
  }

  .mobile-allmenu-foot a{
    min-height:36px !important;
    font-size:11.4px !important;
    padding-left:9px !important;
    padding-right:9px !important;
  }

  .mobile-allmenu-foot a.primary{
    min-height:37px !important;
    background:linear-gradient(135deg,#CCAF59,#DDC97F) !important;
    box-shadow:0 6px 14px rgba(201,166,75,.11) !important;
  }
}

@media (max-width:430px){
  .mobile-allmenu-panel{
    top:10px !important;
    bottom:10px !important;
    max-height:none !important;
    padding-top:16px !important;
    padding-bottom:14px !important;
  }

  .mobile-allmenu-head{
    margin-bottom:15px !important;
  }

  .mobile-allmenu-grid{
    gap:10px !important;
  }

  .mobile-allmenu-group{
    padding-top:14px !important;
    padding-bottom:13px !important;
  }

  .mobile-allmenu-foot a{
    min-height:35px !important;
  }

  .mobile-allmenu-foot a.primary{
    min-height:36px !important;
  }
}

@media (min-width:721px) and (max-width:900px){
  .mobile-allmenu-panel{
    bottom:18px !important;
    max-height:calc(100vh - 48px) !important;
  }

  .mobile-allmenu-foot a{
    min-height:35px !important;
  }

  .mobile-allmenu-foot a.primary{
    min-height:36px !important;
  }
}
/* === /MOBILE ALL MENU FINAL DENSITY v4 === */
