:root {
  --bg: #f7f4ef;
  --paper: #fffaf4;
  --ink: #2d231e;
  --muted: #8b7a6c;
  --line: #eadfd3;
  --brown: #72513f;
  --brown-dark: #3c2115;
  --gold: #bd8652;
  --cream: #fff8ef;
  --green: #23a36b;
  --shadow: 0 14px 34px rgba(74, 45, 29, 0.13);
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.top-strip {
  color: #ead8c3;
  background: #6d4d3c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}
.strip-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.strip-inner div {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.strip-inner a {
  font-weight: 900;
}

.site-header {
  background: #765440;
  box-shadow: 0 4px 16px rgba(45, 26, 16, 0.18);
}
.header-inner {
  min-height: 70px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 24px;
}
.brand img {
  display: block;
  width: 230px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: 52px;
  color: #fff;
  font-weight: 900;
}
.main-nav a {
  padding: 20px 0 18px;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  color: #ffe1bb;
  border-color: #d6a36b;
}
.search-dot {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: transparent;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  position: relative;
}
.search-dot::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
}
.search-dot::after {
  content: "";
  width: 9px;
  height: 3px;
  background: #fff;
  transform: rotate(45deg);
  position: absolute;
  right: 8px;
  bottom: 9px;
}

.hero {
  position: relative;
  height: 360px;
  margin-top: 20px;
  overflow: hidden;
  padding: 0;
  color: #fbe6ca;
  background: #2d231e;
  border-radius: 8px;
}
.slides,
.slide {
  position: absolute;
  inset: 0;
}
.slide {
  opacity: 0;
  animation: heroFade 10s infinite;
}
.slide:nth-child(2) {
  animation-delay: 5s;
}
.slide.active,
.slide:first-child {
  opacity: 1;
}
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes heroFade {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.slide-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #79533d;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.slide-arrow.left {
  left: -18px;
}
.slide-arrow.right {
  right: -18px;
}
.slide-dots {
  position: absolute;
  left: 74px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.slide-dots span {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}
.slide-dots span.active {
  background: #d6a36b;
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: 74px;
  top: 50%;
  width: min(520px, calc(100% - 130px));
  transform: translateY(-50%);
}
.hero-copy span {
  display: inline-block;
  padding: 9px 24px;
  color: #fff;
  background: #a77a5b;
  border-radius: 999px;
  font-weight: 900;
  font-size: 22px;
}
.hero-copy h1 {
  margin: 18px 0 10px;
  color: #b88765;
  font-size: 32px;
  line-height: 1.2;
}
.hero-copy p {
  margin: 0;
  color: #f5d8b8;
  font-weight: 800;
}
.hero-art {
  display: none;
}
.silhouette {
  position: absolute;
  right: 28px;
  bottom: -40px;
  width: 190px;
  height: 250px;
  border-radius: 94px 94px 20px 20px;
  background:
    radial-gradient(circle at 50% 22%, #f3d8c5 0 42px, transparent 43px),
    linear-gradient(
      150deg,
      transparent 0 34%,
      #ead1bf 35% 55%,
      transparent 56%
    ),
    linear-gradient(#bf8e72, #7d5643);
  opacity: 0.88;
}
.art-circle {
  position: absolute;
  border-radius: 50%;
  border: 28px solid rgba(214, 163, 107, 0.5);
}
.art-circle.one {
  width: 180px;
  height: 180px;
  right: -20px;
  bottom: -18px;
}
.art-circle.two {
  width: 120px;
  height: 120px;
  right: 52px;
  bottom: 22px;
  border-color: rgba(255, 240, 218, 0.5);
}

.filter-box,
.compact-filter {
  margin-top: 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.filter-title {
  margin-bottom: 14px;
  padding-left: 42px;
  position: relative;
}
.filter-title::before {
  content: "⌖";
  position: absolute;
  left: 0;
  top: 1px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--gold);
  border-radius: 9px;
}
.filter-title::before {
  content: "";
}
.filter-title::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 11px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
}
.filter-title span {
  display: block;
  font-weight: 900;
}
.filter-title p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.filter-form {
  display: grid;
  grid-template-columns: 1fr 1fr 112px;
  gap: 10px;
}
.filter-form select,
.filter-form button {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
  padding: 0 12px;
}
.filter-form button {
  color: #fff;
  background: var(--gold);
  font-weight: 900;
  cursor: pointer;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 0 58px;
}
.shop-grid.list {
  padding-top: 20px;
}
.shop-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.thumb {
  position: relative;
  display: block;
  min-height: 178px;
  overflow: hidden;
  background: linear-gradient(135deg, #d8b48b, #fff5e8);
}
.thumb.has-image {
  background: #eee2d4;
}
.thumb.has-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb.has-image.closed img,
.thumb.has-image.muted img {
  filter: blur(7px) grayscale(0.35);
  transform: scale(1.04);
}
.thumb.has-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52px;
  background: linear-gradient(transparent, rgba(45, 35, 30, 0.55));
}
.thumb::before,
.detail-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 78% 26%,
      rgba(255, 255, 255, 0.5),
      transparent 0 54px
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 45%);
}
.thumb.gold {
  background: linear-gradient(135deg, #b2763f, #f7d9af);
}
.thumb.pearl {
  background: linear-gradient(135deg, #f6efe6, #d1a77b);
}
.thumb.sand {
  background: linear-gradient(135deg, #d7b98f, #fff3d5);
}
.thumb.rose {
  background: linear-gradient(135deg, #d99b9f, #fff0e5);
}
.thumb.blue {
  background: linear-gradient(135deg, #8ca8bd, #fff1d9);
}
.thumb.night {
  background: linear-gradient(135deg, #3c2115, #d6a36b);
}
.thumb.muted,
.thumb.closed {
  filter: grayscale(0.55);
  background: linear-gradient(135deg, #9a8b80, #dce2e8);
}
.thumb-figure {
  position: absolute;
  right: 24px;
  bottom: -28px;
  width: 116px;
  height: 156px;
  border-radius: 58px 58px 18px 18px;
  background:
    radial-gradient(circle at 50% 20%, #f2d4c0 0 28px, transparent 29px),
    linear-gradient(
      150deg,
      transparent 0 34%,
      rgba(255, 255, 255, 0.82) 35% 56%,
      transparent 57%
    ),
    linear-gradient(#7d5140, #c89973);
  opacity: 0.92;
}
.badge-feature,
.badge-status,
.flag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.badge-feature {
  top: 8px;
  left: 8px;
  background: #9c6a3e;
}
.badge-status {
  top: 8px;
  right: 8px;
  background: var(--green);
}
.flag {
  left: 10px;
  bottom: 10px;
  background: #4b56c6;
}
.shop-body {
  padding: 12px;
}
.shop-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.category {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  color: #8f5e39;
  background: #fff0dc;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.shop-name-row h2 {
  margin: 0;
  font-size: 16px;
}
.location {
  margin: 10px 0 8px;
  color: var(--muted);
  font-size: 12px;
}
.rating {
  display: flex;
  justify-content: space-between;
  color: #a07046;
  font-size: 12px;
}
.rating em {
  color: var(--muted);
  font-style: normal;
}
.price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 8px 10px;
  background: #fbf7f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.price span {
  color: var(--muted);
  font-size: 12px;
}
.price strong {
  font-size: 16px;
}
.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.card-actions a {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}
.card-actions .primary {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
}

.page-head,
.detail-hero,
.review-panel,
.article-view,
.contact-page,
.post-list,
.event-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.list-page,
.board-page,
.detail-page,
.contact-page {
  padding: 24px 58px;
  min-height: 504px;
}
.detail-page {
  max-width: 1120px;
}
.page-head {
  padding: 28px;
}
.page-head span,
.contact-copy span,
.article-view span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}
.page-head h1,
.contact-copy h1,
.article-view h1 {
  margin: 8px 0;
  font-size: 30px;
}
.page-head p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.detail-title {
  margin-bottom: 0;
  padding: 24px 28px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  box-shadow: var(--shadow);
}
.detail-title h1 {
  display: inline;
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  background: #e5e0d9;
}
.detail-meta {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  padding-top: 14px;
  color: #9aa3b2;
  border-top: 1px solid #edf1f6;
  font-size: 12px;
  font-weight: 900;
}
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.9fr);
  gap: 12px;
  padding: 18px;
  border-radius: 0 0 12px 12px;
}
.detail-thumb {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, #b2763f, #f7d9af);
}
.detail-thumb.has-image {
  background: #eee2d4;
}
.detail-thumb.has-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-info h1 {
  margin: 10px 22px 6px;
  font-size: 22px;
}
.detail-info p {
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
}
.detail-info {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.detail-info > .category,
.detail-info > p,
.detail-info > .detail-actions,
.detail-info > .service-icons {
  margin-left: 22px;
  margin-right: 22px;
  margin-bottom: 20px;
}
.detail-info > .category {
  margin-top: 22px;
}
.detail-info dl {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 0;
  margin: 18px 0;
  padding: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-info dt,
.detail-info dd {
  min-height: 39px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
.detail-info dt {
  color: var(--muted);
  background: #f6f1eb;
  font-weight: 900;
}
.detail-info dd {
  justify-content: flex-end;
  margin: 0;
  font-weight: 900;
}
.detail-info dt:nth-last-of-type(1),
.detail-info dd:nth-last-of-type(1) {
  border-bottom: 0;
}
.service-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.service-icons span {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6b5849;
  background: #fbf7f1;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 900;
}
.service-icons span::before {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  color: #fff;
  background: #8a6a55;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}
.service-icons span:nth-child(1)::before {
  content: "24";
  background: #e06565;
}
.service-icons span:nth-child(2)::before {
  content: "P";
  background: #5278c7;
}
.service-icons span:nth-child(3)::before {
  content: "휴";
  background: #4ca66d;
}
.service-icons span:nth-child(4)::before {
  content: "예";
  background: #c8893d;
}
.detail-actions {
  display: flex;
  gap: 8px;
}
.detail-actions a,
.article-view a,
.contact-form button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  background: var(--gold);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}
.detail-actions a {
  width: 50%;
}

.review-panel,
.article-view {
  margin-top: 18px;
  padding: 22px 24px;
}
.review-panel h2 {
  margin-top: 0;
}
.review-panel p,
.article-view div {
  color: #5d4c40;
}
.review-panel ul {
  margin-bottom: 0;
  padding-left: 18px;
  color: #6d5c50;
}

.post-list {
  margin-top: 16px;
  overflow: hidden;
}
.post-list a {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 230px;
  gap: 12px;
  align-items: center;
  min-height: 60px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}
.post-list a:last-child {
  border-bottom: 0;
}
.post-list span {
  color: var(--gold);
  font-weight: 900;
}
.post-list strong {
  font-size: 16px;
}
.post-list em {
  color: var(--muted);
  font-style: normal;
  text-align: right;
}
.meta {
  color: var(--muted);
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.event-grid article {
  padding: 24px;
}
.event-grid span {
  color: var(--gold);
  font-weight: 900;
}

.contact-page {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  padding: 30px;
  margin-top: 24px;
  margin-bottom: 24px;
}
.contact-form {
  display: grid;
  gap: 12px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  color: #5d4c40;
  font-weight: 900;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  padding: 11px 12px;
}

.site-footer {
  color: #d8b99a;
  background: #3a1c0e;
  padding: 52px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 44px;
}
.footer-grid img {
  width: 230px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
}
.footer-grid h2 {
  color: #c38b58;
  font-size: 14px;
}
.footer-grid p {
  color: #bfa288;
}
.footer-grid dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px 12px;
  margin: 0;
}
.footer-grid dt {
  color: #9a7a62;
}
.footer-grid dd {
  margin: 0;
}
.footer-grid a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  background: var(--gold);
  border-radius: 8px;
  font-weight: 900;
}
.copyright {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9f8068;
  font-size: 12px;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr;
    padding: 12px 0;
  }
  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 28px;
  }
  .main-nav a {
    padding: 8px 0 12px;
  }
  .search-dot {
    display: none;
  }
  .hero,
  .detail-hero,
  .contact-page,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 20px, 1120px);
  }
  .strip-inner {
    overflow-x: auto;
  }
  .hero {
    padding: 28px 22px;
    min-height: 300px;
  }
  .hero-copy span {
    font-size: 16px;
  }
  .hero-copy h1 {
    font-size: 25px;
  }
  .hero-art {
    display: none;
  }
  .filter-form,
  .shop-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }
  .post-list a {
    grid-template-columns: 1fr;
    padding: 14px 18px;
  }
  .post-list em {
    text-align: left;
  }
  .copyright {
    flex-direction: column;
  }
}
