    :root {
      --bg: #f6f7fb;
      --surface: #ffffff;
      --surface-soft: #f9fafc;
      --line: #e7e9ef;
      --text: #17191f;
      --muted: #777d8c;
      --primary: #ff7a21;
      --primary-dark: #ec5f00;
      --primary-soft: #fff1e6;
      --green: #19b36b;
      --blue: #3d7cff;
      --red: #f04d4d;
      --shadow: 0 10px 28px rgba(25, 28, 38, 0.08);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--text);
      background: var(--bg);
      font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      letter-spacing: -0.02em;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input {
      font: inherit;
    }

    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .wrap {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.94);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(14px);
    }

    .topbar-inner {
      display: grid;
      grid-template-columns: auto minmax(320px, 1fr) auto;
      gap: 22px;
      align-items: center;
      min-height: 74px;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      font-size: 1.45rem;
      font-weight: 900;
      letter-spacing: -0.06em;
    }

    .logo-mark {
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border-radius: 12px;
      color: #fff;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      box-shadow: 0 8px 18px rgba(255, 122, 33, 0.34);
    }

    .search {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 10px;
      height: 48px;
      padding: 0 8px 0 16px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: var(--surface-soft);
    }

    .search-icon {
      color: var(--muted);
      font-size: 0.92rem;
      font-weight: 800;
    }

    .search input {
      width: 100%;
      border: 0;
      outline: 0;
      color: var(--text);
      background: transparent;
      font-weight: 600;
    }

    .search input::placeholder {
      color: #a0a5b1;
    }

    .search button,
    .icon-btn {
      border: 0;
      cursor: pointer;
      font-weight: 900;
    }

    .search button {
      height: 34px;
      padding: 0 14px;
      border-radius: 12px;
      color: #fff;
      background: var(--primary);
    }

    .header-actions {
      display: flex;
      gap: 8px;
    }

    .icon-btn {
      display: inline-grid;
      place-items: center;
      min-width: 44px;
      height: 44px;
      padding: 0 12px;
      border-radius: 14px;
      color: #4d5360;
      background: #f2f3f7;
      font-size: 0.88rem;
    }

    .icon-btn.location-prompt-btn {
      min-width: 72px;
      font-weight: 800;
    }

    .hero {
      padding: 28px 0 16px;
    }

    .hero h1 {
      margin: 0 0 18px;
      font-size: clamp(1.8rem, 4vw, 3.25rem);
      line-height: 1.16;
      letter-spacing: -0.08em;
    }

    .hero-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
      gap: 16px;
    }

    .main-visual,
    .promo-card {
      position: relative;
      overflow: hidden;
      border-radius: 24px;
      box-shadow: var(--shadow);
    }

    .main-visual {
      min-height: 280px;
      padding: 34px;
      color: #fff;
      background:
        radial-gradient(circle at 84% 48%, rgba(255, 255, 255, 0.24), transparent 170px),
        linear-gradient(135deg, #ff8a2b 0%, #ff6d1a 45%, #d94e00 100%);
    }

    .main-visual::after {
      content: "";
      position: absolute;
      right: 34px;
      bottom: -42px;
      width: 245px;
      height: 245px;
      border-radius: 58px;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.48)),
        repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 255, 255, 0.3) 12px 24px);
      transform: rotate(14deg);
      opacity: 0.65;
    }

    .main-visual-content {
      position: relative;
      z-index: 1;
      max-width: 520px;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      height: 30px;
      padding: 0 11px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.18);
      font-size: 0.84rem;
      font-weight: 900;
    }

    .main-visual h2 {
      margin: 18px 0 10px;
      font-size: clamp(1.8rem, 4vw, 3.35rem);
      line-height: 1.08;
      letter-spacing: -0.08em;
    }

    .main-visual p {
      margin: 0;
      color: rgba(255, 255, 255, 0.86);
      font-size: 1.04rem;
      line-height: 1.55;
      word-break: keep-all;
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 24px;
    }

    .hero-buttons a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 16px;
      border-radius: 14px;
      background: #fff;
      color: var(--primary-dark);
      font-weight: 900;
    }

    .hero-buttons a.secondary {
      color: #fff;
      background: rgba(0, 0, 0, 0.18);
      border: 1px solid rgba(255, 255, 255, 0.22);
    }

    .promo-stack {
      display: grid;
      gap: 16px;
    }

    .promo-card {
      min-height: 132px;
      padding: 22px;
      background: var(--surface);
      border: 1px solid var(--line);
    }

    .promo-card.map {
      background: linear-gradient(135deg, #ecf4ff, #ffffff);
    }

    .promo-card.coupon {
      background: linear-gradient(135deg, #fff3e8, #ffffff);
    }

    .promo-card strong {
      display: block;
      margin-bottom: 8px;
      font-size: 1.18rem;
      letter-spacing: -0.06em;
    }

    .promo-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.45;
      word-break: keep-all;
    }

    .category-section {
      padding: 18px 0 8px;
    }

    .category-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 10px;
    }

    .category-item {
      display: grid;
      gap: 9px;
      justify-items: center;
      align-content: center;
      min-height: 96px;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: var(--surface);
      box-shadow: 0 4px 16px rgba(25, 28, 38, 0.04);
      font-size: 0.88rem;
      font-weight: 900;
    }

    .category-icon {
      display: grid;
      place-items: center;
      width: 46px;
      height: 46px;
      border-radius: 18px;
      color: var(--primary);
      background: var(--primary-soft);
      font-size: 1.05rem;
    }

    .category-item:nth-child(1) .category-icon {
      color: #ff8b3d;
      background: #fff0e5;
    }

    .category-item:nth-child(2) .category-icon {
      color: #ff5fa2;
      background: #ffe9f4;
    }

    .category-item:nth-child(3) .category-icon {
      color: #d8942f;
      background: #fff4d9;
    }

    .category-item:nth-child(4) .category-icon {
      color: #22a7c9;
      background: #e5f8ff;
    }

    .category-item:nth-child(5) .category-icon {
      color: #8a7cff;
      background: #f0edff;
    }

    .category-item:nth-child(6) .category-icon {
      color: #ff7b7b;
      background: #ffecec;
    }

    .category-item:nth-child(7) .category-icon {
      color: #c5794a;
      background: #fff0e8;
    }

    .category-item:nth-child(8) .category-icon {
      color: #3d8bff;
      background: #eaf3ff;
    }

    .category-item:nth-child(9) .category-icon {
      color: #62a51e;
      background: #edf9dd;
    }

    .category-item:nth-child(10) .category-icon {
      color: #3fa7d6;
      background: #e8f7ff;
    }

    .category-item:nth-child(11) .category-icon {
      color: #ff7847;
      background: #fff0e9;
    }

    .category-item:nth-child(12) .category-icon {
      color: #f09b32;
      background: #fff4df;
    }

    .category-icon svg {
      width: 27px;
      height: 27px;
      stroke: currentColor;
      stroke-width: 1.9;
      stroke-linecap: round;
      stroke-linejoin: round;
      fill: rgba(255, 255, 255, 0.46);
    }

    .region-filter {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding: 12px 0 4px;
      scrollbar-width: none;
    }

    .region-filter::-webkit-scrollbar {
      display: none;
    }

    .subregion-filter {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding: 8px 0 4px;
      scrollbar-width: none;
    }

    .subregion-filter::-webkit-scrollbar {
      display: none;
    }

    .region-chip {
      flex: 0 0 auto;
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 9px 14px;
      color: #4f5665;
      background: var(--surface);
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 900;
      box-shadow: 0 4px 14px rgba(25, 28, 38, 0.04);
    }

    .region-chip.active {
      color: #fff;
      border-color: var(--primary);
      background: var(--primary);
    }

    .api-status {
      display: none;
      margin-top: 12px;
      padding: 12px 14px;
      border-radius: 14px;
      color: #616775;
      background: var(--surface);
      border: 1px solid var(--line);
      font-size: 0.9rem;
      font-weight: 800;
    }

    .api-status.is-visible {
      display: block;
    }

    .current-location {
      margin-top: 12px;
      color: #5a6170;
      font-size: 0.9rem;
      font-weight: 800;
    }

    .section {
      padding: 28px 0;
    }

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

    .section-title h2 {
      margin: 0;
      font-size: clamp(1.35rem, 2.5vw, 2rem);
      letter-spacing: -0.07em;
    }

    .section-title p {
      margin: 4px 0 0;
      color: var(--muted);
      font-size: 0.95rem;
    }

    .more {
      flex: 0 0 auto;
      color: var(--primary);
      font-size: 0.92rem;
      font-weight: 900;
    }

    .shop-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
    }

    .shop-card {
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: var(--surface);
      box-shadow: 0 6px 18px rgba(25, 28, 38, 0.05);
      transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .shop-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 30px rgba(25, 28, 38, 0.1);
    }

    .thumb {
      position: relative;
      overflow: hidden;
      min-height: 148px;
      background:
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.5), transparent 76px),
        linear-gradient(135deg, #ffd0ae, #ff822c);
    }

    .thumb.blue {
      background:
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.5), transparent 76px),
        linear-gradient(135deg, #bfdbff, #3d7cff);
    }

    .thumb.green {
      background:
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.5), transparent 76px),
        linear-gradient(135deg, #bff4dc, #19b36b);
    }

    .thumb.purple {
      background:
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.5), transparent 76px),
        linear-gradient(135deg, #e7d5ff, #8159ff);
    }

    .thumb,
    .thumb.blue,
    .thumb.green,
    .thumb.purple {
      background-image:
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.5), transparent 76px),
        linear-gradient(135deg, #ffd0ae, #ff822c);
      background-position: center;
      background-size: cover;
    }

    .shop-grid .shop-card:nth-child(10n + 1) .thumb {
      background-image:
        linear-gradient(135deg, rgba(255, 122, 33, 0.1), rgba(23, 25, 31, 0.12)),
        url("assets/sample-massage-1.jpg");
    }

    .shop-grid .shop-card:nth-child(10n + 2) .thumb {
      background-image:
        linear-gradient(135deg, rgba(255, 122, 33, 0.1), rgba(23, 25, 31, 0.12)),
        url("assets/sample-massage-2.jpg");
    }

    .shop-grid .shop-card:nth-child(10n + 3) .thumb {
      background-image:
        linear-gradient(135deg, rgba(255, 122, 33, 0.1), rgba(23, 25, 31, 0.12)),
        url("assets/sample-massage-3.jpg");
    }

    .shop-grid .shop-card:nth-child(10n + 4) .thumb {
      background-image:
        linear-gradient(135deg, rgba(255, 122, 33, 0.1), rgba(23, 25, 31, 0.12)),
        url("assets/sample-massage-4.jpg");
    }

    .shop-grid .shop-card:nth-child(10n + 5) .thumb {
      background-image:
        linear-gradient(135deg, rgba(255, 122, 33, 0.1), rgba(23, 25, 31, 0.12)),
        url("assets/sample-massage-5.jpg");
    }

    .shop-grid .shop-card:nth-child(10n + 6) .thumb {
      background-image:
        linear-gradient(135deg, rgba(255, 122, 33, 0.1), rgba(23, 25, 31, 0.12)),
        url("assets/sample-massage-6.jpg");
    }

    .shop-grid .shop-card:nth-child(10n + 7) .thumb {
      background-image:
        linear-gradient(135deg, rgba(255, 122, 33, 0.1), rgba(23, 25, 31, 0.12)),
        url("assets/sample-massage-7.jpg");
    }

    .shop-grid .shop-card:nth-child(10n + 8) .thumb {
      background-image:
        linear-gradient(135deg, rgba(255, 122, 33, 0.1), rgba(23, 25, 31, 0.12)),
        url("assets/sample-massage-8.jpg");
    }

    .shop-grid .shop-card:nth-child(10n + 9) .thumb {
      background-image:
        linear-gradient(135deg, rgba(255, 122, 33, 0.1), rgba(23, 25, 31, 0.12)),
        url("assets/sample-massage-9.jpg");
    }

    .shop-grid .shop-card:nth-child(10n) .thumb {
      background-image:
        linear-gradient(135deg, rgba(255, 122, 33, 0.1), rgba(23, 25, 31, 0.12)),
        url("assets/sample-massage-10.jpg");
    }

    .thumb::after {
      content: "";
      position: absolute;
      right: 18px;
      bottom: -28px;
      width: 105px;
      height: 105px;
      border-radius: 28px;
      background: rgba(255, 255, 255, 0.34);
      transform: rotate(16deg);
    }

    .thumb.has-image {
      background-position: center;
      background-size: cover;
    }

    .thumb.has-image::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.24));
    }

    .thumb img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .badges {
      position: absolute;
      top: 10px;
      left: 10px;
      right: 10px;
      z-index: 1;
      display: flex;
      justify-content: space-between;
      gap: 8px;
    }

    .tag {
      display: inline-flex;
      align-items: center;
      height: 26px;
      padding: 0 9px;
      border-radius: 999px;
      color: #fff;
      background: rgba(23, 25, 31, 0.72);
      font-size: 0.74rem;
      font-weight: 900;
      backdrop-filter: blur(8px);
    }

    .tag.orange {
      background: var(--primary);
    }

    .wish {
      display: inline-grid;
      place-items: center;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      color: var(--primary);
      background: rgba(255, 255, 255, 0.9);
      font-weight: 900;
    }

    .shop-body {
      padding: 15px;
    }

    .area {
      display: block;
      color: var(--muted);
      font-size: 0.82rem;
      font-weight: 800;
    }

    .shop-body h3 {
      margin: 5px 0 8px;
      min-height: 44px;
      font-size: 1.02rem;
      line-height: 1.35;
      letter-spacing: -0.05em;
      word-break: keep-all;
    }

    .shop-summary {
      display: -webkit-box;
      min-height: 38px;
      margin: 0 0 10px;
      overflow: hidden;
      color: var(--muted);
      font-size: 0.84rem;
      line-height: 1.45;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      word-break: keep-all;
    }

    .features {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-bottom: 10px;
    }

    .features span {
      padding: 4px 7px;
      border-radius: 8px;
      color: #616775;
      background: #f1f3f7;
      font-size: 0.74rem;
      font-weight: 800;
    }

    .price {
      display: flex;
      align-items: baseline;
      gap: 6px;
      margin-top: 8px;
    }

    .discount {
      color: var(--red);
      font-size: 0.92rem;
      font-weight: 900;
    }

    .now {
      font-size: 1.18rem;
      font-weight: 900;
      letter-spacing: -0.05em;
    }

    .before {
      color: #a5aab5;
      font-size: 0.82rem;
      text-decoration: line-through;
    }

    .meta {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin-top: 10px;
      color: var(--muted);
      font-size: 0.82rem;
      font-weight: 800;
    }

    .coupon-band {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 20px;
      align-items: center;
      margin: 18px 0 0;
      padding: 24px;
      border-radius: 22px;
      color: #fff;
      background: linear-gradient(135deg, #ff8a2b, #f04d4d);
      box-shadow: var(--shadow);
    }

    .coupon-band strong {
      display: block;
      margin-bottom: 4px;
      font-size: 1.35rem;
      letter-spacing: -0.06em;
    }

    .coupon-band p {
      margin: 0;
      color: rgba(255, 255, 255, 0.86);
    }

    .coupon-band a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 0 18px;
      border-radius: 14px;
      color: var(--primary-dark);
      background: #fff;
      font-weight: 900;
      white-space: nowrap;
    }

    .theme-layout {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 14px;
    }

    .theme-tabs {
      display: grid;
      gap: 8px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: var(--surface);
    }

    .theme-tabs button {
      height: 44px;
      border: 0;
      border-radius: 14px;
      color: #525967;
      background: #f3f4f8;
      cursor: pointer;
      font-weight: 900;
      text-align: left;
      padding: 0 14px;
    }

    .theme-tabs button.active {
      color: #fff;
      background: var(--primary);
    }

    .rank-list {
      display: grid;
      gap: 10px;
    }

    .rank-item {
      display: grid;
      grid-template-columns: auto 1fr auto auto;
      gap: 12px;
      align-items: center;
      padding: 13px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: var(--surface);
    }

    .rank {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      border-radius: 12px;
      color: #fff;
      background: var(--text);
      font-weight: 900;
    }

    .rank-copy strong,
    .rank-copy span {
      display: block;
    }

    .rank-copy strong {
      margin-bottom: 3px;
      letter-spacing: -0.04em;
    }

    .rank-copy span {
      color: var(--muted);
      font-size: 0.86rem;
    }

    .rank-price {
      color: var(--red);
      font-weight: 900;
      white-space: nowrap;
    }

    .rank-like {
      color: var(--muted);
      font-size: 0.84rem;
      font-weight: 900;
      white-space: nowrap;
    }

    .overseas-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
    }

    .overseas-card {
      min-height: 150px;
      padding: 20px;
      border-radius: 22px;
      color: #fff;
      background:
        radial-gradient(circle at 80% 24%, rgba(255, 255, 255, 0.28), transparent 80px),
        linear-gradient(135deg, #202633, #4f5f7a);
      box-shadow: var(--shadow);
    }

    .overseas-card:nth-child(2) {
      background:
        radial-gradient(circle at 80% 24%, rgba(255, 255, 255, 0.28), transparent 80px),
        linear-gradient(135deg, #225a45, #19b36b);
    }

    .overseas-card:nth-child(3) {
      background:
        radial-gradient(circle at 80% 24%, rgba(255, 255, 255, 0.28), transparent 80px),
        linear-gradient(135deg, #6d3f14, #ff8a2b);
    }

    .overseas-card:nth-child(4) {
      background:
        radial-gradient(circle at 80% 24%, rgba(255, 255, 255, 0.28), transparent 80px),
        linear-gradient(135deg, #4a2b78, #8c63ff);
    }

    .overseas-card strong {
      display: block;
      margin-bottom: 8px;
      font-size: 1.18rem;
    }

    .overseas-card p {
      margin: 0;
      color: rgba(255, 255, 255, 0.78);
      line-height: 1.45;
      word-break: keep-all;
    }

    .app-install {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 20px;
      align-items: center;
      margin: 22px auto 8px;
      padding: 24px;
      border-radius: 24px;
      background: #17191f;
      color: #fff;
    }

    .app-install strong {
      display: block;
      margin-bottom: 4px;
      font-size: 1.28rem;
      letter-spacing: -0.05em;
    }

    .app-install p {
      margin: 0;
      color: rgba(255, 255, 255, 0.7);
    }

    .app-install a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 0 18px;
      border-radius: 14px;
      background: var(--primary);
      font-weight: 900;
      white-space: nowrap;
    }

    .footer {
      margin-top: 22px;
      padding: 30px 0 92px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 0.86rem;
      line-height: 1.7;
    }

    .footer .wrap {
      text-align: center;
    }

    .footer-logo {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
      color: var(--text);
      font-size: 1.1rem;
      font-weight: 900;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      margin-top: 10px;
      color: #555b69;
      font-weight: 800;
    }

    .bottom-nav {
      position: fixed;
      left: 50%;
      bottom: 14px;
      z-index: 60;
      display: none;
      grid-template-columns: repeat(5, 1fr);
      width: min(430px, calc(100% - 28px));
      transform: translateX(-50%);
      padding: 7px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background: rgba(255, 255, 255, 0.94);
      box-shadow: 0 14px 36px rgba(25, 28, 38, 0.16);
      backdrop-filter: blur(14px);
    }

    .bottom-nav a {
      display: grid;
      place-items: center;
      gap: 2px;
      min-height: 52px;
      border-radius: 18px;
      color: #737988;
      font-size: 0.78rem;
      font-weight: 900;
    }

    .bottom-nav a.active {
      color: #fff;
      background: var(--primary);
    }

    @media (max-width: 1080px) {
      .category-grid {
        grid-template-columns: repeat(6, 1fr);
      }

      .shop-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .overseas-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 820px) {
      .topbar-inner {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 12px 0;
      }

      .search {
        grid-column: 1 / -1;
        order: 3;
      }

      .hero-layout,
      .theme-layout,
      .app-install {
        grid-template-columns: 1fr;
      }

      .shop-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 560px) {
      .wrap {
        width: min(100% - 24px, 1180px);
      }

      .header-actions .icon-btn:first-child {
        display: none;
      }

      .hero {
        padding-top: 18px;
      }

      .hero h1 {
        font-size: 1.8rem;
      }

      .main-visual {
        min-height: 320px;
        padding: 24px;
      }

      .category-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .category-item {
        min-height: 86px;
      }

      .section {
        padding: 22px 0;
      }

      .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
      }

      .shop-grid,
      .overseas-grid {
        grid-template-columns: 1fr;
      }

      .rank-item {
        grid-template-columns: auto 1fr;
      }

      .rank-price,
      .rank-like {
        grid-column: 2;
      }

      .coupon-band {
        grid-template-columns: 1fr;
      }

      .bottom-nav {
        display: grid;
      }
    }
  
