/* 건마나라 V49.1 반응형 수정: PC/모바일 서버 모두 공통 마크업 준비.
   시각적인 리뉴얼은 1024px 이하에서만 적용, PC V48(1025px 이상)은 유지. */
/* 서버가 PC로 판별해도 1024px 이하에서 동일한 모바일 홈을 보여준다. */
.gm49-header,.gm49-bottom-nav,.gm49-drawer,.gm49-drawer-backdrop,.gm49-home { display:none; }
@media screen and (min-width:1025px) {
  html.gm49-mobile .gm49-home { display:none!important; }
}
@media screen and (max-width:1024px) {
  html.gm49-mobile { color-scheme:light; scroll-padding-top:74px; }
  html.gm49-mobile body { background:#f8f7fb; color:#29253c; font-family:'Pretendard','Noto Sans KR','Malgun Gothic',sans-serif; margin:0; overflow-x:hidden; }
  html.gm49-mobile *,html.gm49-mobile *::before,html.gm49-mobile *::after { box-sizing:border-box; }
  html.gm49-mobile button,html.gm49-mobile input,html.gm49-mobile select { font:inherit; }
  html.gm49-mobile button { cursor:pointer; }
  /* PC용으로 먼저 렌더된 기존 메인은 좁은 화면에서만 감춘다. */
  html.gm49-mobile .gm49-desktop-home { display:none!important; }
  html.gm49-mobile .gm49-home { display:block!important; }
  html.gm49-mobile .gm5-header { display:none!important; }
  /* PC에서 창을 줄였을 때도 기존 푸터/데스크톱 배치를 중복 노출하지 않는다. */
  html.gm49-mobile .gm9-footer { display:none!important; }

  html.gm49-mobile .header-wrap,html.gm49-mobile .menu-wrap { display:none!important; }
  html.gm49-mobile .gm49-header { display:block; position:relative; z-index:6000; background:#fff; border-bottom:1px solid #f0eefa; box-shadow:0 3px 18px rgba(49,30,110,.035); }
  html.gm49-mobile .gm49-header-bar { min-height:71px; padding:11px 16px; display:flex; justify-content:space-between; align-items:center; gap:12px; max-width:750px; margin:0 auto; }
  html.gm49-mobile .gm49-brand { display:flex; align-items:center; gap:8px; min-width:0; color:#262139; text-decoration:none; }
  html.gm49-mobile .gm49-brand img { width:38px; height:38px; object-fit:contain; flex-shrink:0; }
  html.gm49-mobile .gm49-brand-copy { display:flex; flex-direction:column; gap:2px; min-width:0; }
  html.gm49-mobile .gm49-brand-copy strong { white-space:nowrap; font-size:24px; line-height:1.08; letter-spacing:-1.4px; color:#37304f; font-weight:850; }
  html.gm49-mobile .gm49-brand-copy strong span { color:#8b54da; }
  html.gm49-mobile .gm49-brand-copy small { color:#817a91; font-size:12.5px; line-height:1.25; letter-spacing:-.3px; font-weight:550; }
  html.gm49-mobile .gm49-header-actions { display:flex; align-items:center; gap:7px; }
  html.gm49-mobile .gm49-icon-button { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; background:#f7f4fd; color:#5f3a99; border:1px solid #eee8fa; border-radius:14px; font-size:19px; }
  html.gm49-mobile .gm49-icon-button:focus-visible,html.gm49-mobile .gm49-header a:focus-visible,html.gm49-mobile .gm49-bottom-nav a:focus-visible { outline:3px solid #b389f0; outline-offset:2px; }
  html.gm49-mobile .gm49-menu-trigger { background:#7244b8; border-color:#7244b8; color:#fff; }
  html.gm49-mobile .gm49-header-search { max-width:750px; margin:auto; padding:0 16px 14px; }
  html.gm49-mobile .gm49-header-search[hidden] { display:none!important; }
  html.gm49-mobile .gm49-header-search form { display:flex; gap:8px; }
  html.gm49-mobile .gm49-header-search-field { flex:1; min-width:0; height:46px; display:flex; align-items:center; gap:9px; padding:0 12px; background:#faf9fe; border:1px solid #dcd4ec; border-radius:12px; color:#7b57b3; }
  html.gm49-mobile .gm49-header-search-field input { min-width:0; width:100%; height:100%; border:0; outline:0; background:transparent; font-size:15px; color:#302940; }
  html.gm49-mobile .gm49-header-search form>button { min-width:64px; border:0; color:#fff; font-size:15px; font-weight:750; border-radius:12px; background:#7649be; }

  /* 기존 PC형 사이드바와 긴 여백은 모바일에서만 재배열 */
  html.gm49-mobile .content-wrap { float:none!important; clear:both; width:100%!important; margin:0!important; padding:0 0 98px!important; background:#f8f7fb; min-height:200px; }
  html.gm49-mobile .content-wrap>.wrap { width:100%!important; max-width:100%!important; margin:0 auto; padding:0; }
  html.gm49-mobile .content-wrap .side-wrap { display:none!important; }
  html.gm49-mobile .content-wrap>.wrap>.content { width:100%!important; min-width:0!important; float:none!important; margin:0!important; border:0!important; padding:12px 14px 24px!important; background:transparent; transform:none!important; }
  html.gm49-mobile .content-wrap.gm49-mobile-home-layout>.wrap>.content { padding:0!important; }
  html.gm49-mobile .btn-top,html.gm49-mobile .bottom-nav { display:none!important; }
  html.gm49-mobile .footer-copyright .info { color:#776f86!important; }
  html.gm49-mobile .footer-copyright .info a,html.gm49-mobile .footer-copyright .info span { color:#776f86!important; font-size:13px; }
  html.gm49-mobile .app-banner { bottom:calc(81px + env(safe-area-inset-bottom,0px))!important; }

  /* 하단 탭: 5개 메뉴, Safe Area 대응 */
  html.gm49-mobile .gm49-bottom-nav { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:stretch; position:fixed; z-index:7500; left:0; right:0; bottom:0; min-height:70px; padding:6px 3px calc(6px + env(safe-area-inset-bottom,0px)); background:#fff; border-top:1px solid #eee9f4; box-shadow:0 -6px 22px rgba(49,32,92,.08); }
  html.gm49-mobile .gm49-bottom-tab { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; min-width:0; min-height:54px; text-decoration:none; font-size:14px; white-space:nowrap; color:#8d859b; font-weight:650; border-radius:12px; transition:color .15s ease; }
  html.gm49-mobile .gm49-bottom-tab i { font-size:21px; line-height:24px; font-weight:900; }
  html.gm49-mobile .gm49-bottom-tab.is-current { color:#8050c4; }
  html.gm49-mobile .gm49-bottom-tab.is-current i { color:#8050c4; }
  html.gm49-mobile .gm49-bottom-tab:active { background:#f5f0ff; }

  /* 드로어: 뒤로가기·ESC·외부클릭 시 닫기, 키보드 초점 관리(JS) */
  html.gm49-mobile .gm49-drawer-backdrop:not([hidden]) { display:block; position:fixed; inset:0; z-index:10990; background:rgba(26,20,46,.55); backdrop-filter:blur(2px); }
  html.gm49-mobile .gm49-drawer:not([hidden]) { display:flex; flex-direction:column; position:fixed; z-index:11000; top:0; right:0; bottom:0; width:min(360px,91vw); background:#fff; box-shadow:-10px 0 36px rgba(10,5,40,.17); }
  html.gm49-mobile body.gm49-menu-open { overflow:hidden!important; }
  html.gm49-mobile .gm49-drawer-top { min-height:71px; padding:13px 17px 13px 22px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid #eeeaf4; }
  html.gm49-mobile .gm49-drawer-top strong { font-size:19px; font-weight:800; }
  html.gm49-mobile .gm49-drawer-body { overflow:auto; overscroll-behavior:contain; padding:18px 19px 34px; }
  html.gm49-mobile .gm49-drawer-account { border-radius:17px; background:linear-gradient(130deg,#f7f3ff,#faf9ff); border:1px solid #e9defb; padding:19px 17px; }
  html.gm49-mobile .gm49-drawer-account>strong,html.gm49-mobile .gm49-drawer-greeting { color:#43315e; font-size:16px; font-weight:750; }
  html.gm49-mobile .gm49-drawer-greeting { display:flex; align-items:center; gap:9px; }
  html.gm49-mobile .gm49-drawer-greeting i { font-size:23px; color:#8153c5; }
  html.gm49-mobile .gm49-drawer-account p { color:#706682; font-size:14px; line-height:1.55; margin:8px 0 14px; }
  html.gm49-mobile .gm49-account-links { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:14px; }
  html.gm49-mobile .gm49-account-links a { display:flex; justify-content:center; align-items:center; border-radius:10px; min-height:45px; background:#fff; color:#7140b8; border:1px solid #e0d1f6; font-size:14px; font-weight:750; }
  html.gm49-mobile .gm49-account-links a:first-child { background:#7546bb; color:#fff; border-color:#7546bb; }
  html.gm49-mobile .gm49-partner-link { display:flex; align-items:center; gap:8px; font-size:14px; font-weight:750; margin-top:11px; color:#6f3eaf; }
  html.gm49-mobile .gm49-drawer-nav,html.gm49-mobile .gm49-drawer-regions { display:flex; flex-direction:column; margin-top:25px; }
  html.gm49-mobile .gm49-drawer-nav>strong,html.gm49-mobile .gm49-drawer-regions>strong { display:block; padding-bottom:10px; color:#80758e; font-size:13px; }
  html.gm49-mobile .gm49-drawer-nav>a { display:flex; align-items:center; gap:12px; min-height:52px; border-bottom:1px solid #f1edf5; color:#373047; font-size:15px; font-weight:650; }
  html.gm49-mobile .gm49-drawer-nav>a>i:first-child { display:flex; align-items:center; justify-content:center; width:23px; font-size:17px; color:#8d69c5; }
  html.gm49-mobile .gm49-drawer-nav>a>i:last-child { margin-left:auto; font-size:11px; color:#bcb3c9; }
  html.gm49-mobile .gm49-drawer-regions>div { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  html.gm49-mobile .gm49-drawer-regions a { text-align:center; padding:12px 4px; background:#f8f6fc; border:1px solid #eee8f5; border-radius:10px; color:#554762; font-size:14px; font-weight:650; }
  html.gm49-mobile .gm49-drawer-logout { display:block; margin-top:21px; text-align:center; color:#8e8796; text-decoration:underline; font-size:14px; }

  /* 메인 기본 디자인 */
  html.gm49-mobile .gm49-home { width:100%; max-width:750px; margin:0 auto; padding:0 0 16px; color:#2d2639; font-size:16px; }
  html.gm49-mobile .gm49-home a { text-decoration:none; }
  html.gm49-mobile .gm49-home h1,html.gm49-mobile .gm49-home h2,html.gm49-mobile .gm49-home h3,html.gm49-mobile .gm49-home p { margin-top:0; }
  html.gm49-mobile .gm49-home h2 { margin-bottom:0; font-size:20px; font-weight:850; line-height:1.4; letter-spacing:-.65px; color:#29223a; }
  html.gm49-mobile .gm49-section-eyebrow { color:#9c6bd2; font-size:11.5px; letter-spacing:1.4px; font-weight:850; margin-bottom:5px; }
  html.gm49-mobile .gm49-section-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:17px; }
  html.gm49-mobile .gm49-section-heading>div { min-width:0; }
  html.gm49-mobile .gm49-section-heading p { margin:5px 0 0; color:#827a8e; font-size:14px; line-height:1.6; }
  html.gm49-mobile .gm49-section-heading>a { color:#83738f; flex-shrink:0; font-size:14px; font-weight:700; }
  html.gm49-mobile .gm49-section-heading>a i { font-size:10px; margin-left:2px; }

  html.gm49-mobile .gm49-hero { position:relative; height:255px; background:#43395e; overflow:hidden; }
  html.gm49-mobile .gm49-hero-track,html.gm49-mobile .gm49-hero-slide { width:100%; height:100%; }
  html.gm49-mobile .gm49-hero-slide { position:absolute; inset:0; }
  html.gm49-mobile .gm49-hero-slide[hidden] { display:none!important; }
  html.gm49-mobile .gm49-hero-slide::before { content:''; position:absolute; z-index:1; inset:0; background:linear-gradient(90deg,rgba(24,18,39,.76) 0%,rgba(24,18,39,.45) 62%,rgba(24,18,39,.18) 100%); }
  html.gm49-mobile .gm49-hero-slide>img { width:100%; height:100%; display:block; object-fit:cover; }
  html.gm49-mobile .gm49-hero-copy { position:absolute; z-index:2; left:21px; right:16px; bottom:41px; color:white; }
  html.gm49-mobile .gm49-hero-copy>span { display:inline-block; font-size:12.5px; color:#efe2ff; font-weight:700; margin-bottom:11px; }
  html.gm49-mobile .gm49-hero-copy h1 { color:#fff; font-size:25px; line-height:1.36; letter-spacing:-1.15px; font-weight:800; margin:0 0 9px; text-shadow:0 2px 8px rgba(0,0,0,.12); }
  html.gm49-mobile .gm49-hero-copy h1 strong { color:#f1d2ff; font-weight:850; }
  html.gm49-mobile .gm49-hero-copy p { font-size:13px; color:#f6eefb; margin-bottom:0; font-weight:500; }
  html.gm49-mobile .gm49-hero-dots { position:absolute; z-index:3; bottom:17px; left:21px; display:flex; gap:5px; align-items:center; }
  html.gm49-mobile .gm49-hero-dots button { border:none; width:7px; height:7px; background:rgba(255,255,255,.48); border-radius:10px; padding:0; transition:width .2s ease; }
  html.gm49-mobile .gm49-hero-dots button.is-active { width:24px; background:#fff; }

  html.gm49-mobile .gm49-search-box { position:relative; z-index:2; background:#fff; margin:-8px 13px 0; padding:19px 17px 18px; border:1px solid #eee8f7; border-radius:19px; box-shadow:0 9px 26px rgba(71,48,117,.07); }
  html.gm49-mobile .gm49-search-box h2 { font-size:19px; margin-bottom:15px; }
  html.gm49-mobile .gm49-search-form { margin:0; }
  html.gm49-mobile .gm49-search-fields { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
  html.gm49-mobile .gm49-input-wrap { display:flex; flex-direction:column; gap:6px; min-width:0; }
  html.gm49-mobile .gm49-input-wrap>span { display:block; color:#75678a; font-size:13.5px; font-weight:750; }
  html.gm49-mobile .gm49-input-wrap>span i { color:#9a79c8; margin-right:4px; }
  html.gm49-mobile .gm49-input-wrap select,html.gm49-mobile .gm49-input-wrap input { display:block; width:100%; min-width:0; height:45px; border:1px solid #e5deee; background:#fbfaff; border-radius:11px; padding:0 10px; outline:0; font-size:14px; color:#51435f; appearance:auto; }
  html.gm49-mobile .gm49-input-wrap select:disabled { color:#b3abbc; background:#faf9fc; }
  html.gm49-mobile .gm49-input-wrap input:focus,html.gm49-mobile .gm49-input-wrap select:focus { border-color:#ac81df; outline:2px solid #e9dcfb; }
  html.gm49-mobile .gm49-keyword-field { margin-top:11px; }
  html.gm49-mobile .gm49-search-bottom { margin-top:13px; display:flex; gap:9px; }
  html.gm49-mobile .gm49-type-select { display:flex; flex:1; min-width:0; align-items:center; padding:0 10px; gap:5px; height:47px; border:1px solid #e5deee; background:#fff; border-radius:11px; }
  html.gm49-mobile .gm49-type-select span { font-size:12px; white-space:nowrap; color:#8b7e98; }
  html.gm49-mobile .gm49-type-select select { border:0; outline:0; width:100%; min-width:0; height:43px; background:transparent; font-size:13.5px; color:#443750; }
  html.gm49-mobile .gm49-search-bottom>button { flex:0 0 auto; width:126px; border:0; border-radius:11px; color:#fff; background:linear-gradient(125deg,#8a55cb,#6d3db1); font-size:14px; font-weight:780; box-shadow:0 5px 12px rgba(108,61,177,.2); }
  html.gm49-mobile .gm49-search-bottom>button i { margin-right:3px; }

  html.gm49-mobile .gm49-regions { padding:25px 16px 16px; background:#fff; margin-top:11px; }
  html.gm49-mobile .gm49-regions .gm49-section-heading { margin-bottom:14px; }
  html.gm49-mobile .gm49-region-chips { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  html.gm49-mobile .gm49-region-chips a { min-height:46px; padding:10px 4px; display:flex; justify-content:center; align-items:center; text-align:center; border:1px solid #eee5f9; background:#faf7ff; color:#64488b; border-radius:12px; font-size:14px; font-weight:700; letter-spacing:-.3px; }
  html.gm49-mobile .gm49-region-chips a:active { background:#ece0fb; }
  html.gm49-mobile .gm49-quick-actions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; padding:20px 12px; background:#fff; border-top:1px solid #f1edf6; }
  html.gm49-mobile .gm49-quick-actions a { display:flex; flex-direction:column; align-items:center; gap:8px; color:#5b5366; font-size:14px; font-weight:750; text-align:center; white-space:nowrap; }
  html.gm49-mobile .gm49-quick-icon { display:flex; width:51px; height:51px; align-items:center; justify-content:center; border-radius:17px; font-size:21px; }
  html.gm49-mobile .gm49-quick-purple { background:#f0e7ff; color:#8857cc; }
  html.gm49-mobile .gm49-quick-peach { background:#fff0e9; color:#d38555; }
  html.gm49-mobile .gm49-quick-blue { background:#e9f2ff; color:#6185c0; }
  html.gm49-mobile .gm49-quick-green { background:#e8f7f1; color:#4e9877; }

  html.gm49-mobile .gm49-ad-section { margin:15px 13px 0; padding:8px 0; }
  html.gm49-mobile .gm49-ad-label { display:block; text-align:right; padding:0 4px 6px; color:#a29aaa; font-size:11px; font-weight:700; letter-spacing:.4px; }
  html.gm49-mobile .gm49-ad-image { display:block; width:100%; background:#fff; border-radius:12px; overflow:hidden; border:1px solid #eee8f5; margin-bottom:8px; }
  html.gm49-mobile .gm49-ad-image img { display:block; width:100%; height:auto; max-height:280px; object-fit:contain; }
  html.gm49-mobile .gm49-home-section { background:#fff; padding:25px 16px 22px; margin-top:14px; }
  html.gm49-mobile .gm49-featured .gm49-section-heading h2 i { font-size:17px; color:#9c67cd; }
  html.gm49-mobile .gm49-premium-track { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(220px,73vw); gap:13px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-left:15px; overscroll-behavior-x:contain; padding:2px 16px 11px; margin:0 -16px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  html.gm49-mobile .gm49-premium-track::-webkit-scrollbar { display:none; }
  html.gm49-mobile .gm49-shop-card { min-width:0; }
  html.gm49-mobile .gm49-premium-track .gm49-shop-card { border:1px solid #eee8f6; border-radius:17px; overflow:hidden; background:#fff; box-shadow:0 5px 13px rgba(70,40,94,.045); scroll-snap-align:start; }
  html.gm49-mobile .gm49-shop-photo { position:relative; display:block; overflow:hidden; background:linear-gradient(130deg,#ede5f5,#f7f5f8); color:#9b88b3; }
  html.gm49-mobile .gm49-shop-photo img { position:relative; z-index:1; width:100%; height:100%; object-fit:cover; display:block; }
  html.gm49-mobile .gm49-shop-photo img[hidden] { display:none!important; }
  html.gm49-mobile .gm49-shop-photo-empty { display:flex; position:absolute; inset:0; align-items:center; justify-content:center; font-size:30px; color:#b4a6c5; }
  html.gm49-mobile .gm49-shop-photo .gm49-shop-badge,html.gm49-mobile .gm49-shop-photo .gm49-shop-rank { position:absolute; z-index:2; left:10px; top:10px; padding:6px 10px; border-radius:9px; background:rgba(57,38,85,.9); color:#fff; font-size:10.5px; font-weight:800; letter-spacing:.3px; }
  html.gm49-mobile .gm49-shop-badge i { margin-right:3px; color:#ffda9c; }
  html.gm49-mobile .gm49-shop-photo .gm49-shop-badge-new { background:rgba(133,79,197,.92); }
  html.gm49-mobile .gm49-shop-photo .gm49-shop-rank { background:rgba(134,84,176,.95); }
  html.gm49-mobile .gm49-premium-track .gm49-shop-photo { height:157px; }
  html.gm49-mobile .gm49-shop-info { padding:13px 12px 15px; }
  html.gm49-mobile .gm49-shop-tags { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:8px; }
  html.gm49-mobile .gm49-shop-tags span { padding:3px 7px; background:#f4effb; color:#805caf; border-radius:7px; font-size:11.5px; font-weight:650; }
  html.gm49-mobile .gm49-shop-tags span i { font-size:10px; }
  html.gm49-mobile .gm49-shop-info h3 { margin:0 0 9px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:17px; font-weight:800; line-height:1.35; letter-spacing:-.5px; }
  html.gm49-mobile .gm49-shop-info h3 a { color:#30263f; }
  html.gm49-mobile .gm49-shop-price { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #f1eaf6; padding-top:10px; margin-top:9px; gap:5px; }
  html.gm49-mobile .gm49-shop-price span { color:#8e8199; font-size:13px; white-space:nowrap; }
  html.gm49-mobile .gm49-shop-price strong { color:#7545b2; font-size:16px; }
  html.gm49-mobile .gm49-shop-views { display:block; margin-top:10px; font-size:13px; color:#9990a2; }
  html.gm49-mobile .gm49-shop-address { margin:0!important; font-size:13.5px; color:#837a8a; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
  html.gm49-mobile .gm49-scroll-hint { text-align:center; color:#a49bac; font-size:13px; margin:10px 0 0!important; }
  html.gm49-mobile .gm49-scroll-hint i { color:#ac93cc; margin-right:4px; }

  html.gm49-mobile .gm49-new-list { display:flex; flex-direction:column; gap:12px; }
  html.gm49-mobile .gm49-new-list .gm49-shop-card,html.gm49-mobile .gm49-popular-list .gm49-shop-card { display:flex; gap:13px; min-height:104px; padding-bottom:12px; border-bottom:1px solid #f0edf5; }
  html.gm49-mobile .gm49-new-list .gm49-shop-card:last-child,html.gm49-mobile .gm49-popular-list .gm49-shop-card:last-child { border:0; padding-bottom:0; }
  html.gm49-mobile .gm49-new-list .gm49-shop-photo { flex:0 0 108px; width:108px; height:103px; border-radius:12px; }
  html.gm49-mobile .gm49-new-list .gm49-shop-info,html.gm49-mobile .gm49-popular-list .gm49-shop-info { flex:1; min-width:0; padding:2px 0; }
  html.gm49-mobile .gm49-new-list .gm49-shop-info h3 { margin:7px 0; }
  html.gm49-mobile .gm49-new-list .gm49-shop-info .gm49-shop-views { margin-top:9px; }
  html.gm49-mobile .gm49-new-list .gm49-shop-photo .gm49-shop-badge,html.gm49-mobile .gm49-popular-list .gm49-shop-photo .gm49-shop-rank { left:6px; top:6px; font-size:10px; padding:5px 6px; }
  html.gm49-mobile .gm49-popular-list { display:flex; flex-direction:column; gap:12px; }
  html.gm49-mobile .gm49-popular-list .gm49-shop-photo { flex:0 0 88px; width:88px; height:89px; border-radius:12px; }
  html.gm49-mobile .gm49-popular-list .gm49-shop-card { min-height:90px; }
  html.gm49-mobile .gm49-popular-list .gm49-shop-info h3 { font-size:16px; margin:7px 0; }
  html.gm49-mobile .gm49-empty { font-size:14px; color:#8b8393; padding:15px 0; line-height:1.6; }
  html.gm49-mobile .gm49-empty a { color:#7643b9; font-weight:750; }

  html.gm49-mobile .gm49-community { margin-top:14px; padding:18px 16px; background:#fff; display:grid; gap:14px; }
  html.gm49-mobile .gm49-community-card { background:#fbfafe; border:1px solid #f0eaf8; border-radius:16px; padding:17px 16px 8px; }
  html.gm49-mobile .gm49-community-card h2 { font-size:18px; }
  html.gm49-mobile .gm49-community-card .gm49-section-heading { margin-bottom:10px; }
  html.gm49-mobile .gm49-community-card ul { padding:0; margin:0; list-style:none; }
  html.gm49-mobile .gm49-community-card li { border-top:1px solid #eee9f4; }
  html.gm49-mobile .gm49-community-card li a { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:13px 0; font-size:14px; color:#5c5268; }
  html.gm49-mobile .gm49-partner-banner { display:flex; justify-content:space-between; align-items:center; gap:15px; margin:14px 14px 0; border-radius:16px; padding:19px 19px; background:linear-gradient(125deg,#7040ac,#9670d0); color:#fff; }
  html.gm49-mobile .gm49-partner-banner>span { display:flex; flex-direction:column; gap:7px; min-width:0; color:#f5eaff; font-size:12px; font-weight:700; }
  html.gm49-mobile .gm49-partner-banner>span>i { display:none; }
  html.gm49-mobile .gm49-partner-banner strong { font-size:17px; color:#fff; }
  html.gm49-mobile .gm49-partner-banner small { color:#f3eaff; font-size:12px; }
  html.gm49-mobile .gm49-partner-banner>i { flex-shrink:0; font-size:20px; }
  html.gm49-mobile .gm49-home-legal { display:flex; align-items:center; justify-content:center; gap:10px; padding:22px 8px 4px; color:#958a9d; font-size:12px; }
  html.gm49-mobile .gm49-home-legal a { color:inherit; }
}
@media screen and (max-width:359px) {
  html.gm49-mobile .gm49-brand-copy strong { font-size:22px; }
  html.gm49-mobile .gm49-brand-copy small { font-size:11px; }
  html.gm49-mobile .gm49-header-bar { padding:10px 11px; }
  html.gm49-mobile .gm49-header-actions { gap:4px; }
  html.gm49-mobile .gm49-region-chips { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html.gm49-mobile .gm49-search-bottom>button { width:113px; }
  html.gm49-mobile .gm49-new-list .gm49-shop-photo { width:94px; flex-basis:94px; }
  html.gm49-mobile .gm49-bottom-tab { font-size:11.5px; }
}
@media (prefers-reduced-motion:reduce) {
  html.gm49-mobile .gm49-hero-dots button,html.gm49-mobile .gm49-bottom-tab { transition:none; }
}

/* V49.2 HERO: source photo 1600:686, never crop; small responsive caption below.
   No JS viewport computation or arbitrary fixed image height is used. */
@media screen and (max-width:1024px) {
  html.gm49-mobile .gm49-hero { height:auto; overflow:hidden; background:#f4eefb; }
  html.gm49-mobile .gm49-hero-track { display:grid; grid-template-columns:minmax(0,1fr); width:100%; height:auto; }
  html.gm49-mobile .gm49-hero-slide { position:relative; inset:auto; width:100%; height:auto; display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto 58px; }
  html.gm49-mobile .gm49-hero-slide[hidden] { display:none!important; }
  html.gm49-mobile .gm49-hero-slide::before { display:none!important; }
  html.gm49-mobile .gm49-hero-slide>picture { display:block; grid-row:1; grid-column:1; width:100%; height:auto; aspect-ratio:1600 / 686; background:#e7e1eb; }
  html.gm49-mobile .gm49-hero-slide>picture>img { display:block; width:100%; height:auto; aspect-ratio:1600 / 686; object-fit:contain; object-position:center; }
  html.gm49-mobile .gm49-hero-copy { position:static; grid-row:2; grid-column:1; z-index:auto; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; min-width:0; height:58px; padding:7px 16px 8px; background:linear-gradient(90deg,#f4ecff,#f8f5ff); color:#3f2a60; }
  html.gm49-mobile .gm49-hero-copy>span { font-size:11px; font-weight:700; line-height:1.4; color:#8b61b6; margin:0 0 2px; }
  html.gm49-mobile .gm49-hero-copy h1 { font-size:clamp(16px,4.25vw,19px); line-height:1.25; margin:0; letter-spacing:-.6px; color:#39264f; text-shadow:none; white-space:nowrap; max-width:100%; }
  html.gm49-mobile .gm49-hero-copy h1 strong { color:#8048ba; }
  html.gm49-mobile .gm49-hero-copy p { display:none; }
  html.gm49-mobile .gm49-hero-dots { bottom:9px; left:auto; right:15px; gap:4px; }
  html.gm49-mobile .gm49-hero-dots button { width:6px; height:6px; background:#bcb0ce; }
  html.gm49-mobile .gm49-hero-dots button.is-active { background:#7848b7; width:19px; }
  html.gm49-mobile .gm49-search-box { margin-top:10px; }
}
@media screen and (max-width:359px) {
  html.gm49-mobile .gm49-hero-copy { padding-left:12px; padding-right:12px; }
  html.gm49-mobile .gm49-hero-copy h1 { font-size:15.5px; letter-spacing:-.7px; }
  html.gm49-mobile .gm49-hero-dots { right:12px; }
}
/* 가로가 넓은 휴대폰·태블릿은 이미지와 문구를 좌우 배치하여 높이를 압축. */
@media screen and (min-width:480px) and (max-width:1024px) {
  html.gm49-mobile .gm49-hero-slide { grid-template-columns:60% minmax(0,1fr); grid-template-rows:auto; }
  html.gm49-mobile .gm49-hero-slide>picture { grid-column:1; grid-row:1; align-self:center; }
  html.gm49-mobile .gm49-hero-copy { grid-column:2; grid-row:1; height:auto; min-height:100%; justify-content:center; padding:12px 18px; }
  html.gm49-mobile .gm49-hero-copy>span { font-size:13px; margin-bottom:7px; }
  html.gm49-mobile .gm49-hero-copy h1 { white-space:normal; overflow-wrap:break-word; font-size:clamp(16px,2.4vw,22px); line-height:1.4; }
  html.gm49-mobile .gm49-hero-copy p { display:block; font-size:13px; color:#867397; line-height:1.5; margin:7px 0 0; }
}
