
@media (max-width: 900px) {
  /* 예전 하단 2버튼(페이지별 코드 위젯)은 숨김 */
  #dc .mob-cta { display: none !important; }
  body:not(.admin) { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  #dc { padding-bottom: 0 !important; }
  .dl-bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 1040; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 6px; border-radius: 24px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(24,50,41,.08); box-shadow: 0 14px 34px -8px rgba(15,34,27,.28); font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif; transition: transform .3s ease, opacity .3s ease; }
  .dl-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 56px; border-radius: 18px; background: #F2F4F1; color: #183229 !important; text-decoration: none !important; font-size: 12.5px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; -webkit-tap-highlight-color: transparent; transition: transform .15s ease; }
  .dl-bar a:active { transform: scale(.96); }
  .dl-bar svg { width: 21px; height: 21px; display: block; }
  .dl-bar .b-tel svg { fill: none; stroke: #183229; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .dl-bar .b-kakao { background: #183229; color: #fff !important; flex-direction: row; gap: 7px; font-size: 14px; }
  .dl-bar .b-kakao svg { width: 22px; height: 22px; }
  body.dl-menu-open .dl-bar { transform: translateY(140%); opacity: 0; pointer-events: none; }

  /* ===== 모바일 메뉴(서랍) ===== */
  #mobile_slide_menu { width: 86vw !important; max-width: 340px; left: -86vw !important; background: #FBFAF7 !important; font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif; box-shadow: 18px 0 50px rgba(15,34,27,.25); }
  @media (min-width: 396px) { #mobile_slide_menu { left: -340px !important; } }
  .mobile_slide_menu_container.slide_open #mobile_slide_menu { transform: translate3d(min(86vw, 340px), 0, 0) !important; }
  .mobile_slide_menu_container > .slide-close { display: none !important; }
  #mobile_slide_menu .profile-area { display: none !important; }
  #mobile_slide_menu > .navbar-nav { margin: 0 !important; float: none !important; }
  #mobile_slide_menu .viewport-nav.mobile { padding: 0 0 28px !important; }
  /* 상단: 로고 + 닫기 */
  .dl-dh { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 14px 22px; background: rgba(251,250,247,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .dl-dh img { height: 30px; width: auto; display: block; }
  .dl-dh button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #ECEFEB; display: flex; align-items: center; justify-content: center; padding: 0; }
  .dl-dh button svg { width: 18px; height: 18px; stroke: #183229; stroke-width: 2; stroke-linecap: round; }
  /* 빠른 메뉴 4칸 */
  .dl-dq { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 16px 18px; }
  .dl-dq a { display: flex; align-items: center; gap: 10px; padding: 14px 12px; border-radius: 16px; background: #fff; border: 1px solid #ECE8DF; color: #1C2A22 !important; text-decoration: none !important; font-size: 14.5px; font-weight: 700; letter-spacing: -0.03em; }
  .dl-dq a i { flex: none; width: 32px; height: 32px; border-radius: 10px; background: #E9F0EB; display: flex; align-items: center; justify-content: center; }
  .dl-dq a i svg { width: 17px; height: 17px; fill: none; stroke: #183229; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .dl-dq a.on { background: #183229; border-color: #183229; color: #fff !important; }
  .dl-dq a.on i { background: rgba(159,216,180,.18); }
  .dl-dq a.on i svg { stroke: #9FD8B4; }
  .dl-dl { margin: 0 22px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; color: #7C857F; }
  /* 1단 메뉴 */
  #mobile_slide_menu li.depth-01 { border: 0 !important; margin: 0 !important; }
  #mobile_slide_menu li.depth-01 > a { position: relative; display: flex !important; align-items: center; min-height: 54px; padding: 0 22px !important; border-bottom: 1px solid #EEEAE1; color: #1C2A22 !important; background: transparent !important; }
  #mobile_slide_menu li.depth-01 > a .plain_name { font-size: 17px !important; font-weight: 700 !important; letter-spacing: -0.03em; color: #1C2A22 !important; }
  #mobile_slide_menu li.depth-01 > a .toggle-btn { position: absolute; right: 12px; top: 50%; width: 36px; height: 36px; margin-top: -18px; display: flex; align-items: center; justify-content: center; }
  #mobile_slide_menu li.depth-01 > a .toggle-btn:before, #mobile_slide_menu li.depth-01 > a .toggle-btn:after { display: none !important; }
  #mobile_slide_menu li.depth-01 > a.has_child .toggle-btn { background: none !important; }
  #mobile_slide_menu li.depth-01 > a.has_child .toggle-btn:empty:before { content: "" !important; display: block !important; width: 8px; height: 8px; border-right: 2px solid #8A938D; border-bottom: 2px solid #8A938D; transform: rotate(45deg) translate(-2px,-2px); transition: transform .25s; position: static !important; }
  #mobile_slide_menu li.depth-01.dl-open > a .toggle-btn:empty:before { transform: rotate(-135deg) translate(-2px,-2px); }
  #mobile_slide_menu li.depth-01.dl-open > a { border-bottom-color: transparent; }
  #mobile_slide_menu li.depth-01.dl-open > a .plain_name { color: #2C5A47 !important; }
  /* 2단 메뉴 */
  #mobile_slide_menu li.depth-01 > ul { background: #F3F0E8 !important; margin: 0 14px !important; border-radius: 16px; padding: 0 !important; }
  #mobile_slide_menu li.depth-01.dl-open > ul { margin: 0 14px 10px !important; }
  #mobile_slide_menu li.depth-02 > a { display: flex !important; align-items: center; min-height: 46px; padding: 0 16px 0 18px !important; background: transparent !important; border: 0 !important; }
  #mobile_slide_menu li.depth-02 > a .plain_name { font-size: 15px !important; font-weight: 500 !important; color: #3A443E !important; letter-spacing: -0.02em; }
  #mobile_slide_menu li.depth-02 > a .plain_name:before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #9FD8B4; margin: 0 10px 3px 0; vertical-align: middle; }
  #mobile_slide_menu li.depth-02 > a .toggle-btn { display: none !important; }
  #mobile_slide_menu li.depth-02 + li.depth-02 > a { border-top: 1px solid rgba(28,42,34,.06) !important; }
  #mobile_slide_menu li.active > a .plain_name, #mobile_slide_menu li.depth-02 > a.active .plain_name { color: #183229 !important; font-weight: 800 !important; }
  /* 하단: 연락 */
  .dl-dc { margin: 22px 16px 0; padding: 20px 18px 18px; border-radius: 20px; background: #183229; color: #fff; }
  .dl-dc b { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #9FD8B4; }
  .dl-dc .tel { display: block; margin-top: 8px; font-size: 25px; font-weight: 800; letter-spacing: -0.01em; color: #fff !important; text-decoration: none !important; }
  .dl-dc p { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: #CFE0D5; }
  .dl-dc .dl-row:before, .dl-dc .dl-row:after { display: none !important; content: none !important; }
  .dl-dc .dl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
  .dl-dc .dl-row a { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 999px; background: #fff; color: #183229 !important; text-decoration: none !important; font-size: 13.5px; font-weight: 700; }
  .dl-dc .dl-row a + a { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.35); }
  .im-mobile-slide-footer { display: none !important; }
  #mobile_slide_menu, #mobile_slide_menu_wrap { scrollbar-width: none; }
  #mobile_slide_menu::-webkit-scrollbar, #mobile_slide_menu_wrap::-webkit-scrollbar, #mobile_slide_menu *::-webkit-scrollbar { display: none; width: 0; }
}
@media (min-width: 901px) { .dl-bar, .dl-dh, .dl-dq, .dl-dl, .dl-dc { display: none !important; } }
