@charset "utf-8";
.navermap-filter {
  margin: -34px 0 30px;
  padding: 22px 18px 16px;
  background: #fff;
  border: 2px solid #cfe8c9;
  border-top: 4px solid #86c67b;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(48, 124, 57, 0.08);
}
.navermap-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.navermap-filter-row:last-of-type {
  margin-bottom: 10px;
}
.navermap-filter-checks strong,
.navermap-filter-picto strong {
  flex: 0 0 72px;
  color: #222;
  font-weight: 800;
}
.navermap-filter-checks label,
.navermap-filter-picto label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-weight: 500;
  color: #333;
}
.navermap-filter select {
  min-width: 150px;
  height: 38px;
  padding: 0 34px 0 12px;
  border: 1px solid #ccd3d9;
  border-radius: 6px;
  background: #fff;
}
.navermap-filter input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  border: 1px solid #9ca3af;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  vertical-align: middle;
}
.navermap-filter input[type="checkbox"]:checked {
  border-color: #01b552;
  background: #01b552;
}
.navermap-filter input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.navermap-picto-extra {
  margin-left: 8px !important;
  gap: 8px !important;
}
.navermap-filter-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.navermap-filter-actions button,
.navermap-filter-actions a {
  height: 36px;
  min-width: 74px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.navermap-filter-actions button {
  border: 1px solid #01b552;
  background: #01b552;
  color: #fff;
}
.navermap-filter-actions a {
  border: 1px solid #d4d8dd;
  background: #fff;
  color: #333;
}
.navermap-filter-empty {
  grid-column: 1 / -1;
  padding: 48px 20px;
  text-align: center;
  color: #666;
  background: #f8f9fa;
  border: 1px solid #eceff2;
  border-radius: 10px;
}

.food-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 0;
  margin-bottom: 20px;
}

/* List */
.list-media {
  margin: 0;
}
.list-item {
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}
.list-item .img-left {
  margin-right: 20px;
}
.list-item .img-right {
  margin-left: 20px;
}
.list-item .img {
  width: 20% !important;
}
.list-item h2.media-heading {
  display: block;
  font-size: 18px;
  font-weight: bold;
  line-height: 22px;
  margin: 0px;
  padding: 0px 0px 4px;
}
.list-item .list-details {
  margin-top: 6px;
  padding: 6px 0px;
  border-top: 1px dotted #ccc;
  border-bottom: 1px dotted #ccc;
}
.list-item .list-details .member,
.list-item .list-details .guest {
  color: #787878 !important;
}
.list-item .list-cont {
  margin-top: 8px;
  padding: 0;
  line-height: 20px;
}
.list-item .list-sp {
  margin: 0 7px;
  color: #ddd;
  font-size: 11px;
}

/* Infinite */
.list-wrap #infscr-loading {
  background: rgb(0, 0, 0);
  margin: 0px;
  padding: 10px;
  border-radius: 10px;
  left: 50%;
  width: 200px;
  margin-left: -110px;
  text-align: center;
  bottom: 50px;
  color: rgb(255, 255, 255);
  position: fixed;
  z-index: 100;
  opacity: 0.8;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}
.list-wrap .list-more {
  text-align: center;
  margin-bottom: 20px;
}
.list-wrap .list-more a {
  color: #ddd;
  font-size: 60px;
}
.list-wrap .list-top {
  line-height: 1px;
}
.text-muted {
  color: #333333 !important;
}

.food-container {
  margin: 0 auto;
  padding: 20px;
}

.food-header {
  text-align: center;
  margin-bottom: 30px;
}

.food-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.food-header p {
  color: #666;
  font-size: 18px;
}

.food-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 0;
}

.food-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.food-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.food-image {
  width: 100%;
  height: 350px;
  background-color: #f8f9fa;
  overflow: hidden;
  position: relative;
}

.food-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.2) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}

.food-title-overlay {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1.3;
  max-width: 100%;
  word-break: keep-all;
  overflow-wrap: break-word;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 16px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  align-self: flex-start;
}

.food-distance-overlay {
  background: rgba(255, 255, 255, 0.9);
  color: #1976d2;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  align-self: flex-end;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.food-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.food-item:hover .food-image img {
  transform: scale(1.05);
}

.no-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #adb5bd;
  font-size: 48px;
}

.food-content {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 148px;
}

.food-content:empty {
  display: none;
}

.food-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 82px;
  padding-bottom: 14px;
}

.food-type {
  align-self: flex-start;
  max-width: 100%;
  padding: 4px 10px;
  border: 1px solid #bfe5ce;
  border-radius: 999px;
  background: #f1fbf5;
  color: #07833f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.food-phone {
  color: #01a84d;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.food-info {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
  word-break: keep-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.food-category {
  color: #888;
  font-size: 13px;
  margin-top: 5px;
}

.food-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.food-link:hover {
  text-decoration: none;
  color: inherit;
}

.no-results {
  text-align: center;
  color: #666;
  font-size: 16px;
  margin-top: 50px;
}

.location-info {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  color: #666;
  font-size: 18px;
}

.location-info strong {
  color: #007bff;
  font-weight: 600;
}

/* 목록 돌아가기 */
.back-to-list {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.back-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #6c757d;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background-color: #545b62;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .navermap-filter {
    margin-top: -18px;
    margin-bottom: 24px;
  }

  .food-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .food-container {
    padding: 15px;
  }

  .food-header h2 {
    font-size: 24px;
  }

  .food-image {
    height: 250px;
  }

  .food-content {
    padding: 15px;
  }

  .food-title-overlay {
    font-size: 18px;
    padding: 8px 14px;
    border-radius: 20px;
  }

  .food-distance-overlay {
    font-size: 12px;
    padding: 5px 10px;
  }

  .food-image-overlay {
    padding: 12px;
  }
}

.picto-section {
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid #eef2f4;
  min-height: 82px;
}

.picto-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}

.picto-item {
  display: inline-block;
}

.picto-item img {
  border-radius: 6px;
  background: #f8f9fa;
  padding: 2px;
}
