* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Pretendard", sans-serif;
  color: #333;
  background:
    radial-gradient(circle at top left, #ffe7f0 0%, transparent 30%),
    radial-gradient(circle at top right, #dff2ff 0%, transparent 35%),
    radial-gradient(circle at bottom right, #fff4c7 0%, transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #fff9fc 45%, #f4fbff 100%);
  min-height: 100vh;
}

.header {
  height: 78px;
  padding: 0 60px;
  display: flex;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero {
  padding: 70px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.hero-left {
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff0f6;
  color: #e26c9f;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 26px;
}

.hero-left h1 {
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: -3px;
  margin-bottom: 28px;
  color: #2f2f35;
}

.hero-left p {
  font-size: 18px;
  line-height: 1.7;
  color: #777;
}

.filter-card {
  width: 400px;
  padding: 32px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(180, 190, 220, 0.24);
}

.filter-card h2 {
  font-size: 24px;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.filter-group {
  margin-bottom: 18px;
}

.filter-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #555;
}

select {
  width: 100%;
  height: 50px;
  border: 1px solid #ece8f2;
  border-radius: 16px;
  padding: 0 14px;
  background: #fffafd;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}

.recommend-btn {
  width: 100%;
  height: 54px;
  margin-top: 10px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #bee5ff, #ffd9e8);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s;
}

.recommend-btn:hover {
  transform: translateY(-3px);
}

.result-box {
  margin-top: 22px;
  min-height: 90px;
  padding: 18px;
  border-radius: 18px;
  background: #f7fbff;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

.map-section {
  padding: 0 10% 80px;
}

.map-card {
  padding: 34px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 26px 60px rgba(180, 190, 220, 0.2);
}

.map-header {
  margin-bottom: 24px;
}

.map-header h2 {
  font-size: 30px;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.map-header p {
  color: #777;
  line-height: 1.6;
}

.map-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 24px;
}

#map {
  width: 100%;
  height: 460px;
  border-radius: 26px;
  overflow: hidden;
}

.store-list {
  height: 460px;
  overflow-y: auto;
  padding: 20px;
  border-radius: 24px;
  background: #fffafd;
}

.store-search {
  width: 100%;
  height: 52px;
  margin-bottom: 18px;
  padding: 0 18px;
  border: 1px solid rgba(230, 220, 240, 0.9);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 252, 0.94));
  box-shadow: 0 10px 26px rgba(190, 200, 230, 0.12);
  font-size: 14px;
  font-weight: 600;
  color: #444;
  outline: none;
}

.store-search::placeholder {
  color: #b8afc2;
}

.store-search:focus {
  border-color: #ffbfd8;
  box-shadow:
    0 0 0 5px rgba(255, 203, 226, 0.18),
    0 16px 34px rgba(190, 200, 230, 0.18);
}

.store-item {
  padding: 18px;
  border-radius: 20px;
  background: white;
  margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(180, 190, 220, 0.16);
  transition: 0.2s;
  cursor: pointer;
}

.store-item:hover {
  transform: translateY(-3px);
}

.store-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.store-item p {
  color: #777;
  font-size: 14px;
  line-height: 1.6;
}

.recommend-result-item {
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(180, 190, 220, 0.14);
  cursor: pointer;
  transition: 0.2s;
}

.recommend-result-item:hover {
  transform: translateY(-3px);
}

.recommend-result-item strong {
  display: block;
  margin-bottom: 6px;
}

.recommend-result-item p {
  color: #666;
  font-size: 14px;
}

.store-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 248, 255, 0.6);
  backdrop-filter: blur(10px);
}

.store-modal-box {
  position: relative;
  width: 500px;
  max-height: 84vh;
  overflow-y: auto;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, #ffe7f0 0%, transparent 34%),
    radial-gradient(circle at bottom right, #dff2ff 0%, transparent 36%),
    #ffffff;
  box-shadow: 0 30px 80px rgba(170, 180, 220, 0.35);
}

.store-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: none;
  background: transparent;
  font-size: 28px;
  color: #999;
  cursor: pointer;
}

.store-modal-box h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.modal-address {
  margin-bottom: 22px;
  color: #666;
  line-height: 1.6;
}

.modal-info {
  padding: 18px;
  border-radius: 18px;
  background: #f8fbff;
  margin-bottom: 24px;
}

.modal-info p {
  margin-bottom: 8px;
  color: #555;
}

.modal-info strong {
  display: inline-block;
  width: 76px;
  color: #333;
}

.modal-theme-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: #fffafd;
}

.modal-theme-card img {
  width: 86px;
  height: 86px;
  border-radius: 14px;
  object-fit: cover;
}

.modal-theme-card p {
  margin-top: 5px;
  font-size: 14px;
  color: #666;
}

.theme-detail-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 20px;
}

.theme-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.theme-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  border: none;
  outline: none;
  border-radius: 999px;
  font-family: "Pretendard", sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  color: #333;
  transition: 0.2s;
}

.kakao-route-btn {
  background: linear-gradient(135deg, #fff3b8, #ffd6e8);
  box-shadow: 0 12px 26px rgba(255, 210, 160, 0.28);
}

.reservation-route-btn {
  background: linear-gradient(135deg, #bee5ff, #ffd9e8);
  box-shadow: 0 12px 26px rgba(180, 190, 220, 0.24);
}

.theme-action-btn:hover {
  transform: translateY(-2px);
}

.theme-modal-map {
  width: 100%;
  height: 230px;
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(180, 190, 220, 0.18);
}

/* 카카오맵 정보창 */
.map-info-card {
  position: relative;
  width: 260px;
  margin: -14px;
  padding: 20px;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at top left, #ffe7f0 0%, transparent 38%),
    radial-gradient(circle at bottom right, #dff2ff 0%, transparent 40%),
    #ffffff;
  font-family: "Pretendard", sans-serif;
  box-shadow: 0 18px 42px rgba(170, 180, 220, 0.26);
}

.map-info-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  outline: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 16px rgba(180, 190, 220, 0.18);
  color: #a7a2b2;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s;
}

.map-info-close:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #fff0f6, #eef7ff);
  color: #e26c9f;
}

.map-info-badge {
  display: inline-block;
  margin-bottom: 11px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #fff0f6;
  color: #e26c9f;
  font-size: 11px;
  font-weight: 900;
}

.map-info-title {
  margin-bottom: 8px;
  color: #2f2f35;
  font-size: 18px;
  font-weight: 900;
}

.map-info-address {
  margin-bottom: 16px;
  color: #777;
  font-size: 13px;
  line-height: 1.55;
}

.map-info-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border: none;
  outline: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd5e5, #cfeaff);
  color: #333;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(180, 190, 220, 0.22);
  transition: 0.2s;
}

.map-info-button:hover {
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 24px;
  }

  .hero-left h1 {
    font-size: 42px;
  }

  .filter-card {
    width: 100%;
    max-width: 430px;
    text-align: left;
  }

  .map-section {
    padding: 0 24px 60px;
  }

  .map-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .store-modal-box {
    width: calc(100% - 32px);
    padding: 28px 22px;
  }

  .modal-theme-card {
    flex-direction: column;
  }

  .modal-theme-card img {
    width: 100%;
    height: 160px;
  }

  .map-info-card {
    width: 230px;
  }
}