@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;600;800&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --brown-900: #3a2a1e;
  --brown-800: #4a3524;
  --brown-700: #6b4a2f;
  --brown-600: #8b6544;
  --brown-400: #ad8a63;
  --brown-300: #c9a879;
  --brown-100: #ead9c2;
  --cream-100: #fbf7f1;
  --cream-200: #f4ebe0;
  --cream-300: #ede0cd;
  --gold: #b8874f;
  --gold-light: #d9b57e;
  --white: #ffffff;
  --text-main: #3a2a1e;
  --text-sub: #8a7a6c;
  --star: #d4a24c;
  --danger: #b5482f;
  --shadow: 0 8px 24px rgba(58, 42, 30, 0.1);
  --shadow-sm: 0 2px 10px rgba(58, 42, 30, 0.08);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  background: var(--cream-100);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.serif { font-family: 'Shippori Mincho', serif; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 241, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cream-300);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'Shippori Mincho', serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--brown-800);
}
.logo span.sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--brown-800);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brown-800);
  color: var(--white);
}
.btn-primary:hover { background: var(--brown-900); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid var(--brown-400);
  color: var(--brown-800);
}
.btn-outline:hover { background: var(--cream-200); }
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--brown-700); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
}
.hamburger svg { width: 24px; height: 24px; color: var(--brown-800); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,42,30,.55) 0%, rgba(58,42,30,.72) 60%, rgba(58,42,30,.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 90px 0 60px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  margin-bottom: 18px;
  font-weight: 700;
}
.hero h1 {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 16px;
}
.hero p.lead {
  font-size: 15.5px;
  color: var(--cream-200);
  margin-bottom: 40px;
}

/* Search box */
.search-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  color: var(--text-main);
  text-align: left;
}
.search-box-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.search-box-tabs button {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  color: var(--text-sub);
}
.search-box-tabs button.active {
  background: var(--cream-200);
  color: var(--brown-800);
}
.search-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 12px;
}
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-field label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.03em;
}
.search-field select,
.search-field input[type="text"] {
  border: 1.5px solid var(--cream-300);
  background: var(--cream-100);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--text-main);
  font-family: inherit;
}
.search-field select:focus,
.search-field input:focus { outline: 2px solid var(--gold-light); }
.search-submit {
  align-self: end;
  padding: 12px 26px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 14.5px;
  display: flex; align-items: center; gap: 6px;
}
.search-submit:hover { background: var(--brown-700); }
.search-submit svg { width: 18px; height: 18px; }

.hero-tags {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-tags a {
  font-size: 12.5px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  color: var(--cream-200);
}
.hero-tags a:hover { background: rgba(255,255,255,.12); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--cream-200); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
}
.section-head .eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.section-head h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--brown-900);
}
.section-head p { color: var(--text-sub); font-size: 14px; margin-top: 8px; }
.section-head .more-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brown-700);
  white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}
.section-head .more-link svg { width: 16px; height: 16px; }
.section-center { text-align: center; }
.section-center .section-head { flex-direction: column; align-items: center; text-align: center; }

/* Category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-sm);
}
.category-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.category-card:hover img { transform: scale(1.08); }
.category-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,42,30,0) 40%, rgba(58,42,30,.82) 100%);
}
.category-card .cc-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 20px 16px;
  color: var(--white);
}
.category-card .cc-label .num {
  font-size: 11px;
  color: var(--cream-200);
  opacity: .85;
  margin-bottom: 4px;
  display: block;
}
.category-card .cc-label h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 19px;
  font-weight: 700;
}

/* Shop cards */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.shop-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.shop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.shop-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.shop-card-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-card-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(58,42,30,.75);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
}
.shop-card-fav {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.shop-card-fav svg { width: 17px; height: 17px; color: var(--brown-700); }
.shop-card-body { padding: 18px 18px 20px; }
.shop-card-area { font-size: 12px; color: var(--text-sub); margin-bottom: 6px; display: flex; align-items: center; gap: 4px; }
.shop-card-area svg { width: 13px; height: 13px; }
.shop-card-body h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--brown-900);
}
.rating-row { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 15px; height: 15px; }
.star-filled { color: var(--star); fill: var(--star); }
.star-empty { color: var(--cream-300); fill: var(--cream-300); }
.rating-num { font-size: 13.5px; font-weight: 700; color: var(--brown-800); }
.review-count { font-size: 12px; color: var(--text-sub); }
.shop-card-desc { font-size: 12.5px; color: var(--text-sub); margin-bottom: 12px; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream-200);
  color: var(--brown-700);
  font-weight: 500;
}
.shop-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--cream-300);
  padding-top: 12px;
}
.price-range { font-size: 13px; font-weight: 700; color: var(--brown-800); }
.price-range span { font-size: 11px; font-weight: 500; color: var(--text-sub); }

/* Banner ad */
.banner-ad {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 150px;
  display: flex;
  align-items: center;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.banner-ad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-ad::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(58,42,30,.82) 30%, rgba(58,42,30,.25) 100%);
}
.banner-ad-content { position: relative; z-index: 2; padding: 26px 34px; max-width: 480px; }
.banner-ad-content .tag {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--gold-light); margin-bottom: 8px; display: block;
}
.banner-ad-content h4 {
  font-family: 'Shippori Mincho', serif;
  font-size: 21px; font-weight: 700; margin-bottom: 10px;
}
.banner-ad-content p { font-size: 13px; color: var(--cream-200); margin-bottom: 16px; }
.banner-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  font-family: 'Shippori Mincho', serif;
}
.review-head .rh-info { flex: 1; }
.review-head .rh-name { font-size: 13.5px; font-weight: 700; color: var(--brown-900); }
.review-head .rh-shop { font-size: 11.5px; color: var(--text-sub); }
.review-date { font-size: 11px; color: var(--text-sub); }
.review-text { font-size: 13.5px; color: var(--text-main); }

/* Guide steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  text-align: center;
  padding: 30px 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brown-800);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: 'Shippori Mincho', serif;
  margin: 0 auto 16px;
}
.step-icon { width: 46px; height: 46px; margin: 0 auto 16px; color: var(--gold); }
.step-icon svg { width: 100%; height: 100%; }
.step-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--brown-900); }
.step-card p { font-size: 12.5px; color: var(--text-sub); }

/* Footer */
.site-footer { background: var(--brown-900); color: var(--cream-200); padding: 60px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { font-family: 'Shippori Mincho', serif; font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 16px; letter-spacing: .05em; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: var(--cream-300); }
.footer-col a:hover { color: var(--gold-light); }
.footer-desc { font-size: 13px; color: var(--brown-300); margin-bottom: 18px; max-width: 320px; }
.footer-sns { display: flex; gap: 10px; }
.footer-sns a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--brown-600);
  display: flex; align-items: center; justify-content: center;
}
.footer-sns svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid var(--brown-700);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--brown-400);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Search / List page ---------- */
.page-header {
  background: var(--cream-200);
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--cream-300);
}
.breadcrumb { font-size: 12px; color: var(--text-sub); margin-bottom: 12px; }
.breadcrumb a { color: var(--brown-700); font-weight: 500; }
.page-header h1 {
  font-family: 'Shippori Mincho', serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--brown-900);
}
.page-header p { font-size: 13.5px; color: var(--text-sub); margin-top: 6px; }

.list-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 36px;
  padding: 44px 0 80px;
  align-items: start;
}
.filter-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}
.filter-panel h3 {
  font-size: 14px; font-weight: 700; margin-bottom: 14px;
  color: var(--brown-900);
  display: flex; align-items: center; gap: 6px;
}
.filter-group { margin-bottom: 26px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group > .fg-title {
  font-size: 12.5px; font-weight: 700; color: var(--brown-800);
  margin-bottom: 12px;
  display: block;
}
.check-row {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--text-main);
  margin-bottom: 10px;
  cursor: pointer;
}
.check-row input { width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; }
.filter-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--cream-300);
  background: var(--cream-100);
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text-main);
}
.filter-reset {
  font-size: 12.5px;
  color: var(--text-sub);
  text-decoration: underline;
  margin-top: 4px;
  display: inline-block;
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}
.result-count { font-size: 14px; color: var(--text-main); }
.result-count strong { color: var(--brown-800); font-size: 19px; font-family: 'Shippori Mincho', serif; }
.sort-select { display: flex; align-items: center; gap: 8px; font-size: 13px; }

.list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border-radius: var(--radius);
  color: var(--text-sub);
  display: none;
}
.empty-state svg { width: 48px; height: 48px; color: var(--brown-300); margin: 0 auto 16px; }

/* ---------- Shop Detail ---------- */
.shop-hero { padding: 30px 0 0; }
.gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 10px;
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
}
.gallery-main { height: 100%; overflow: hidden; cursor: pointer; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-main:hover img { transform: scale(1.04); }
.gallery-sub { display: grid; grid-template-rows: repeat(2, 1fr); gap: 10px; }
.gallery-sub div { overflow: hidden; cursor: pointer; position: relative; }
.gallery-sub img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-sub div:hover img { transform: scale(1.06); }
.gallery-more {
  position: absolute; inset: 0;
  background: rgba(58,42,30,.55);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}

.shop-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 40px 0 80px;
  align-items: start;
}
.shop-title-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 14px; gap: 16px;
}
.shop-title-row h1 {
  font-family: 'Shippori Mincho', serif;
  font-size: 28px; font-weight: 800; color: var(--brown-900);
  margin-bottom: 10px;
}
.shop-meta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  margin-bottom: 26px;
}
.info-card h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 19px; font-weight: 700; color: var(--brown-900);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.info-card h2 svg { width: 20px; height: 20px; color: var(--gold); }
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--cream-200); }
.info-table tr:last-child { border-bottom: none; }
.info-table th, .info-table td { text-align: left; padding: 12px 0; font-size: 13.5px; vertical-align: top; }
.info-table th { width: 130px; color: var(--text-sub); font-weight: 500; }
.info-table td { color: var(--text-main); }

.menu-table { width: 100%; border-collapse: collapse; }
.menu-table tr { border-bottom: 1px dashed var(--cream-300); }
.menu-table td { padding: 13px 0; font-size: 13.5px; }
.menu-table td:last-child { text-align: right; font-weight: 700; color: var(--brown-800); }
.menu-table .menu-name { font-weight: 600; }
.menu-table .menu-desc { font-size: 12px; color: var(--text-sub); margin-top: 2px; }

.rating-summary { display: flex; gap: 30px; align-items: center; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--cream-200); }
.rating-big { text-align: center; }
.rating-big .num { font-family: 'Shippori Mincho', serif; font-size: 42px; font-weight: 800; color: var(--brown-900); line-height: 1; }
.rating-big .stars { justify-content: center; margin: 8px 0 4px; }
.rating-big .count { font-size: 12px; color: var(--text-sub); }
.rating-bars { flex: 1; }
.rbar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 12px; color: var(--text-sub); }
.rbar-track { flex: 1; height: 7px; background: var(--cream-200); border-radius: 99px; overflow: hidden; }
.rbar-fill { height: 100%; background: var(--star); border-radius: 99px; }

.review-item { padding: 20px 0; border-bottom: 1px solid var(--cream-200); }
.review-item:last-child { border-bottom: none; }
.review-item .review-head { margin-bottom: 10px; }

.sticky-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  position: sticky;
  top: 96px;
}
.sticky-box .sb-price { font-size: 13px; color: var(--text-sub); margin-bottom: 4px; }
.sticky-box .sb-price strong { font-size: 22px; color: var(--brown-900); font-family: 'Shippori Mincho', serif; }
.sticky-box .sb-divider { height: 1px; background: var(--cream-200); margin: 16px 0; }
.sb-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.map-box {
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream-200);
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown-400);
  margin-top: 16px;
  position: relative;
}
.map-box svg { width: 30px; height: 30px; }
.map-box::after {
  content: 'MAP（実装時はGoogleマップ等を埋め込みます）';
  position: absolute; bottom: 8px; left: 8px; right: 8px;
  font-size: 10px; color: var(--brown-400); text-align: center;
}

/* Star selector for review modal */
.star-select { display: flex; gap: 6px; }
.star-select svg {
  width: 32px; height: 32px;
  color: var(--cream-300);
  fill: var(--cream-300);
  cursor: pointer;
  transition: color .15s, fill .15s;
}
.star-select svg.active { color: var(--star); fill: var(--star); }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(58,42,30,.55);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream-200);
}
.modal-close svg { width: 16px; height: 16px; }
.modal-box h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px; font-weight: 800; margin-bottom: 6px; color: var(--brown-900);
}
.modal-box .modal-sub { font-size: 12.5px; color: var(--text-sub); margin-bottom: 20px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--brown-800); margin-bottom: 8px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--cream-300);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--cream-100);
  color: var(--text-main);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--gold-light); }
.form-error { font-size: 12px; color: var(--danger); margin-top: 6px; display: none; }
.radio-row { display: flex; gap: 18px; }
.radio-row label { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--text-main); }
.radio-row input { accent-color: var(--gold); width: 16px; height: 16px; }

.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brown-900);
  color: var(--white);
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
  z-index: 2000;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--gold-light); }

/* ---------- Static pages (guide/terms/contact) ---------- */
.static-page { padding: 50px 0 90px; }
.static-narrow { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  font-size: 14.5px; font-weight: 700; color: var(--brown-900);
  cursor: pointer;
}
.faq-q svg { width: 18px; height: 18px; color: var(--gold); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 22px;
  font-size: 13.5px; color: var(--text-sub);
}
.faq-item.open .faq-a { max-height: 260px; padding: 0 22px 20px; }

.terms-block { margin-bottom: 30px; }
.terms-block h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 17px; font-weight: 700; color: var(--brown-900); margin-bottom: 12px;
}
.terms-block p, .terms-block li { font-size: 13.5px; color: var(--text-main); margin-bottom: 8px; }
.terms-block ol, .terms-block ul { padding-left: 20px; margin-bottom: 8px; }
.terms-updated { font-size: 12px; color: var(--text-sub); margin-bottom: 40px; }

.contact-intro { text-align: center; margin-bottom: 44px; }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}
.contact-note {
  background: var(--cream-200);
  border-radius: 12px;
  padding: 20px 22px;
  font-size: 12.5px;
  color: var(--text-sub);
  margin-top: 22px;
  display: flex; gap: 10px;
}
.contact-note svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.success-panel {
  display: none;
  text-align: center;
  padding: 60px 20px;
}
.success-panel svg { width: 60px; height: 60px; color: var(--gold); margin: 0 auto 20px; }
.success-panel h3 { font-family: 'Shippori Mincho', serif; font-size: 20px; margin-bottom: 10px; color: var(--brown-900); }
.success-panel p { font-size: 13.5px; color: var(--text-sub); }

.list-owner-cta {
  background: var(--brown-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 60px;
}
.list-owner-cta h3 { font-family: 'Shippori Mincho', serif; font-size: 21px; margin-bottom: 10px; }
.list-owner-cta p { font-size: 13.5px; color: var(--cream-200); margin-bottom: 22px; }

/* Mobile */
@media (max-width: 980px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .list-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .shop-detail-layout { grid-template-columns: 1fr; }
  .sticky-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav, .header-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .header-cta { gap: 8px; }
  .hero { min-height: 620px; }
  .search-grid { grid-template-columns: 1fr; }
  .search-submit { width: 100%; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shop-grid, .review-grid, .list-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .banner-row { grid-template-columns: 1fr; margin-top: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .gallery { grid-template-columns: 1fr; height: auto; }
  .gallery-main { height: 260px; }
  .gallery-sub { grid-template-columns: repeat(2, 1fr); grid-template-rows: 1fr; height: 130px; }
  .rating-summary { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section { padding: 52px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  .mobile-nav {
    display: none;
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--cream-100);
    z-index: 99;
    padding: 30px 24px;
    overflow-y: auto;
  }
  .mobile-nav.open { display: block; }
  .mobile-nav a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid var(--cream-300);
    color: var(--brown-900);
  }
  .mobile-nav .btn { margin-top: 24px; }
}
@media (min-width: 721px) {
  .mobile-nav { display: none !important; }
}
