/*
Theme Name: Cocoiko
Theme URI: https://example.com/
Author: Cocoiko
Description: ココイコ用のWordPressテーマ。物件一覧、物件詳細、内覧予約導線に対応。
Version: 0.1.0
Text Domain: cocoiko
*/

:root {
  --ink: #111111;
  --text: #303030;
  --muted: #6d6d6d;
  --line: #e8e8e8;
  --soft: #f6f6f4;
  --soft-2: #eeeeeb;
  --white: #ffffff;
  --line-green: #05b15f;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

body.is-gallery-open {
  overflow: hidden;
}

body.is-booking-modal-open {
  overflow: hidden;
}

body.is-map-open {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(232, 232, 232, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav,
.wrap,
.footer-grid {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  flex: 0 0 auto;
}

.brand-logo {
  width: 148px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  color: #393939;
  font-size: 14px;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.btn.secondary {
  background: var(--white);
  color: var(--ink);
}

.btn.line {
  border-color: var(--line-green);
  background: var(--line-green);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.section {
  padding: 84px 0;
}

.section.soft,
.hero-soft {
  background: var(--soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ink);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--ink);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: #414141;
  font-size: 18px;
  line-height: 1.9;
}

.section-title {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

.page-hero {
  padding: 54px 0 40px;
}

.property-hero-copy {
  margin-bottom: 24px;
}

.property-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 16px;
}

.property-hero-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 52px;
}

.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 62px;
  background: linear-gradient(180deg, #fbfaf7 0%, #ffffff 100%);
}

.lp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.62) 42%, rgba(255, 255, 255, 0.56) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.78) 100%);
  pointer-events: none;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lp-hero-bg-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1);
  animation: heroImageFadeZoom var(--hero-bg-duration, 18s) infinite;
  animation-delay: var(--hero-bg-delay, 0s);
}

.lp-hero-grid {
  position: relative;
  z-index: 2;
}

@keyframes heroImageFadeZoom {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  1.6%,
  10% {
    opacity: 1;
  }

  11.6%,
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero-bg-slide {
    animation: none;
  }

  .lp-hero-bg-slide:first-child {
    opacity: 1;
  }
}

.lp-hero-grid,
.lp-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 52px;
  align-items: center;
}

.lp-hero-copy h1 {
  margin-bottom: 22px;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.lp-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.lp-trust-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #3d3d3d;
  font-size: 12px;
  font-weight: 900;
}

.lp-featured {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft-2);
}

.lp-featured img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.lp-featured-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.lp-featured-card h2 {
  margin: 10px 0 4px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.lp-featured-card p,
.lp-body-copy p,
.lp-info-card p,
.lp-step p,
.lp-check-list p {
  color: #4d4d4d;
}

.lp-featured.is-replaced,
.lp-listings-legacy {
  display: none;
}

.lp-hero-listings {
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.lp-hero-listings-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.lp-hero-listings-head .eyebrow {
  margin-bottom: 8px;
}

.lp-hero-listings-head h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.25;
}

.lp-listings-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lp-listing-slide {
  min-width: 0;
}

.lp-hero-listings-action {
  display: none;
}

.lp-listings-empty {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.lp-body-copy p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 2;
}

.section-headline {
  margin-bottom: 28px;
}

.lp-card-grid,
.lp-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lp-info-card,
.lp-step {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.lp-card-number {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.lp-info-card h3,
.lp-step h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
}

.lp-info-card p,
.lp-step p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.9;
}

.lp-step span {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.lp-section-action {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.lp-check-list {
  display: grid;
  gap: 12px;
}

.lp-check-list p {
  position: relative;
  margin: 0;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 700;
}

.lp-check-list p::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--line-green);
}

.lp-final-cta {
  text-align: center;
}

.lp-final-cta .lead {
  margin-left: auto;
  margin-right: auto;
}

.lp-final-cta .hero-actions {
  justify-content: center;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-photo,
.property-image,
.gallery-main,
.gallery-side img {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft-2);
}

.hero-photo {
  min-height: 560px;
}

.hero-photo img,
.property-image img,
.gallery-main img,
.gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-trigger {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
}

.gallery-trigger img {
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-trigger:hover img {
  transform: scale(1.025);
  filter: brightness(0.92);
}

.gallery-hidden-triggers {
  display: none;
}

.gallery-open-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.mood-grid,
.property-grid,
.features,
.steps,
.nearby-grid {
  display: grid;
  gap: 18px;
}

.mood-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.property-grid,
.nearby-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mood,
.feature,
.booking-card,
.panel,
.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.form-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(30, 80, 70, 0.18);
  border-radius: 8px;
  background: rgba(240, 250, 247, 0.82);
  color: #28524a;
  font-size: 0.95rem;
}

.mood {
  min-height: 120px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  font-weight: 900;
}

.mood-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mood-tag-grid .mood {
  min-height: 0;
  min-width: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #242424;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mood-tag-grid .mood::before {
  content: "#";
  margin-right: 3px;
  color: #8a8a8a;
  font-weight: 800;
}

.mood-tag-grid .mood:hover {
  border-color: #cfcfcf;
  background: var(--white);
  transform: translateY(-1px);
}

.property-image {
  position: relative;
  aspect-ratio: 4 / 3;
}

.property-card {
  border: 0;
  background: transparent;
}

.property-card-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: var(--soft-2);
}

.property-card-image-link,
.property-card-slide {
  width: 100%;
  height: 100%;
}

.property-card-image-link {
  display: block;
}

.property-card-slide {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}

.property-card-slide.is-active {
  opacity: 1;
}

.card-slider-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transform: translateY(-50%);
}

.card-slider-prev {
  left: 8px;
}

.card-slider-next {
  right: 8px;
}

.card-slider-dots {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.card-slider-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
}

.card-slider-dots span.is-active {
  background: var(--white);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.property-body {
  display: block;
  padding-top: 8px;
}

.property-title {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.property-area,
.available,
.property-specs {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.property-specs {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 900;
}

.property-area {
  margin-bottom: 4px;
  line-height: 1.45;
}

.property-body .text-link {
  display: block;
  text-align: right;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 13px;
}

.tag {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: #4a4a4a;
  font-size: 12px;
  font-weight: 800;
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}

.text-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.toolbar {
  position: sticky;
  top: 74px;
  z-index: 20;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
}

.filter-toggle {
  display: none;
}

.filter-row {
  width: min(100% - 40px, var(--max));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(280px, 1.6fr) minmax(150px, 0.85fr) auto;
  gap: 12px;
  align-items: center;
}

.filter-group label,
label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.filter-group {
  min-width: 0;
}

.mood-filter {
  margin: 0;
  padding: 0;
  border: 0;
}

.mood-filter legend {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.mood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mood-chip {
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
}

.mood-chip input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.mood-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.mood-chip.is-selected span,
.mood-chip input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #d8d8d8;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 150px;
  padding-top: 12px;
  resize: vertical;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
}

.archive-hero {
  padding-bottom: 26px;
}

.archive-toolbar {
  top: 74px;
}

.airbnb-search {
  background: var(--white);
}

.airbnb-search-shell {
  width: min(100% - 40px, 1440px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(420px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.airbnb-results {
  padding: 34px 0 64px;
}

.archive-result-head {
  margin-bottom: 20px;
}

.archive-result-head h2 {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.25;
}

.archive-result-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.archive-property-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}

.archive-property-item {
  border-radius: var(--radius);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.archive-property-item.is-active {
  box-shadow: 0 0 0 2px var(--ink), var(--shadow);
  transform: translateY(-2px);
}

.airbnb-map-wrap {
  position: sticky;
  top: 154px;
  height: calc(100svh - 174px);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid #eeeeee;
  border-radius: var(--radius);
  background: #f7f7f5;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.airbnb-map {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
}

.airbnb-map-head {
  display: none;
}

.map-open-button {
  display: none;
}

.mobile-map-card {
  display: none;
}

.map-panel {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    #f1f1ee;
  background-size: 54px 54px;
}

.map-panel .leaflet-container,
.leaflet-container.map-panel {
  font: inherit;
  background: #eef2ed;
}

.airbnb-map .leaflet-tile-pane {
  filter: saturate(0.78) contrast(0.96) brightness(1.04);
}

.airbnb-map .leaflet-overlay-pane {
  opacity: 0.9;
}

.airbnb-map .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.airbnb-map .leaflet-control-zoom a {
  width: 36px;
  height: 36px;
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 18px;
  line-height: 36px;
}

.airbnb-map .leaflet-control-zoom a + a {
  border-top: 1px solid var(--line);
}

.airbnb-map .leaflet-control-attribution {
  padding: 2px 7px;
  border-radius: 999px 0 0 0;
  background: rgba(255, 255, 255, 0.82);
  color: #666;
  font-size: 10px;
}

.map-popup {
  min-width: 160px;
}

.airbnb-map-popup {
  display: grid;
  gap: 5px;
  min-width: 190px;
}

.airbnb-map-popup img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.airbnb-map-popup em {
  color: var(--ink);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.cocoiko-map-marker {
  width: auto !important;
  height: auto !important;
}

.cocoiko-map-marker span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(38, 96, 79, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(44, 70, 60, 0.13);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.cocoiko-map-marker span:hover,
.cocoiko-map-marker.is-active span {
  transform: translateY(-1px);
}

.cocoiko-map-marker span:hover,
.cocoiko-map-marker.is-active span {
  border-color: #2c6757;
  background: #2c6757;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(32, 82, 68, 0.2);
}

.airbnb-map .leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.airbnb-map .leaflet-popup-content {
  margin: 10px;
}

.airbnb-map .leaflet-popup-tip {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.map-popup strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}

.map-popup span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.map-list {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.map-result {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.map-result:first-of-type {
  border-top: 0;
}

.map-result-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}

.map-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-pin {
  position: absolute;
  z-index: 4;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50% 50% 50% 0;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  font-size: 12px;
  font-weight: 900;
  transform: translate(-50%, -100%) rotate(-45deg);
}

.map-pin span {
  transform: rotate(45deg);
}

.pin-1 { left: 26%; top: 42%; }
.pin-2 { left: 58%; top: 34%; }
.pin-3 { left: 76%; top: 56%; }
.pin-4 { left: 44%; top: 66%; }
.pin-5 { left: 18%; top: 70%; }
.pin-6 { left: 64%; top: 74%; }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 58px;
  align-items: start;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.72fr);
  gap: 8px;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-main,
.gallery-side,
.gallery-side img {
  min-height: 0;
}

.gallery-main,
.gallery-side img {
  border-radius: 0;
}

.gallery-main {
  min-height: 520px;
}

.gallery-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 72px 76px 48px;
  background: rgba(255, 255, 255, 0.98);
}

.gallery-modal.is-open {
  display: grid;
}

.gallery-modal-bar {
  position: absolute;
  top: 18px;
  left: 24px;
  right: 24px;
  min-height: 44px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  color: var(--ink);
}

.gallery-modal-close,
.gallery-modal-nav {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.gallery-modal-close {
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}

.gallery-modal-count {
  justify-self: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.gallery-modal-frame {
  width: min(100%, 1120px);
  height: min(78vh, 760px);
  margin: 0;
  display: grid;
  place-items: center;
}

.gallery-modal-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-modal-nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  font-size: 32px;
  line-height: 1;
}

.gallery-modal-prev {
  left: 22px;
}

.gallery-modal-next {
  right: 22px;
}

.detail-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.detail-media-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.detail-media-grid h2 {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
}

.detail-media-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft-2);
}

.booking-card {
  position: sticky;
  top: 104px;
  min-width: 0;
  padding: 24px;
  box-shadow: var(--shadow);
}

.date-picker {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.date-option {
  min-height: 62px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-align: center;
}

.date-option.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.booking-card form,
.booking-card .wpcf7-form {
  display: grid;
  gap: 13px;
  min-width: 0;
}

.booking-card .wpcf7-form p {
  margin: 0;
}

.booking-card .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  min-width: 0;
}

.booking-card input,
.booking-card select,
.booking-card textarea {
  min-width: 0;
  max-width: 100%;
}

.booking-card input[type="submit"],
.booking-card .wpcf7-submit {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.booking-card .wpcf7-spinner {
  margin: 6px auto 0;
}

.booking-card .wpcf7-response-output {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 13px;
}

.booking-time-choice {
  margin-bottom: 12px;
}

.booking-open-modal {
  width: 100%;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.42);
}

.booking-modal.is-open {
  display: grid;
}

.booking-modal-panel {
  position: relative;
  width: min(100%, 560px);
  max-height: min(760px, calc(100svh - 48px));
  overflow: auto;
  padding: 28px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.booking-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.booking-modal-panel h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.25;
}

.booking-modal-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.booking-modal-summary span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.booking-modal-form form,
.booking-modal-form .wpcf7-form {
  display: grid;
  gap: 12px;
}

.booking-modal-form .wpcf7-form p {
  margin: 0;
}

.booking-modal-form .wpcf7-form-control-wrap {
  display: block;
}

.booking-modal-form input,
.booking-modal-form select,
.booking-modal-form textarea {
  max-width: 100%;
}

.booking-modal-form input[type="submit"],
.booking-modal-form .wpcf7-submit {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.booking-hidden-field {
  display: none !important;
}

.subtle-details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.subtle-details summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  list-style: none;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.spec {
  min-height: 104px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.site-footer {
  padding: 34px 0 20px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, auto);
  gap: 28px;
  align-items: center;
}

.footer-logo img {
  width: 132px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-copy {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer-links {
  color: rgba(255, 255, 255, 0.76);
  justify-content: flex-end;
  gap: 14px 18px;
}

.footer-mini {
  width: min(100% - 40px, var(--max));
  margin: 20px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 800;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.company-message p {
  color: #4d4d4d;
  font-size: 16px;
  line-height: 2;
}

.company-table {
  border-top: 1px solid var(--line);
}

.company-table dl {
  margin: 0;
}

.company-table div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.company-table dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-grid,
  .lp-hero-grid,
  .lp-two-column,
  .detail-layout,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .lp-card-grid,
  .lp-step-grid {
    grid-template-columns: 1fr;
  }

  .lp-info-card,
  .lp-step {
    min-height: 0;
  }

  .gallery {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    min-height: 420px;
  }

  .gallery-main {
    min-height: 420px;
  }

  .property-grid,
  .nearby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .airbnb-search-shell {
    grid-template-columns: 1fr;
  }

  .airbnb-map-wrap {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    height: auto;
    min-height: 0;
    border: 0;
    border-radius: 0;
  }

  body.is-map-open .airbnb-map-wrap {
    display: block;
  }

  body.is-map-open .map-open-button {
    display: none;
  }

  .airbnb-map-head {
    position: absolute;
    z-index: 500;
    top: 12px;
    left: 12px;
    right: 12px;
    min-height: 46px;
    display: grid;
    grid-template-columns: 86px 1fr 86px;
    align-items: center;
    pointer-events: none;
  }

  .airbnb-map-head span {
    justify-self: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    box-shadow: var(--shadow);
  }

  .map-close-button {
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: var(--shadow);
  }

  .airbnb-map {
    height: 100svh;
  }

  .mobile-map-card {
    position: absolute;
    z-index: 520;
    left: 12px;
    right: 12px;
    bottom: 18px;
    display: none;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  }

  body.is-map-open .mobile-map-card.is-visible {
    display: grid;
  }

  .mobile-map-card img {
    width: 86px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    background: var(--soft-2);
  }

  .mobile-map-card span {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .mobile-map-card strong {
    overflow: hidden;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-map-card small,
  .mobile-map-card em {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .map-open-button {
    position: fixed;
    z-index: 80;
    left: 50%;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
    font-size: 14px;
    font-weight: 900;
    transform: translateX(-50%);
    cursor: pointer;
  }

  .booking-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav,
  .wrap,
  .footer-grid,
  .filter-row {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-height: 66px;
  }

  .brand {
    max-width: 142px;
  }

  .brand-logo {
    width: 128px;
    max-height: 38px;
  }

  .nav-links {
    top: 66px;
    left: 14px;
    right: 14px;
  }

  .nav-actions .btn.line {
    display: none;
  }

  .page-hero,
  .section,
  .lp-hero {
    padding: 48px 0;
  }

  .lp-hero-grid,
  .lp-two-column {
    gap: 28px;
  }

  .lp-hero-copy h1 {
    margin-bottom: 14px;
    font-size: 42px;
    line-height: 1.2;
  }

  .lp-hero-copy .lead {
    font-size: 16px;
    line-height: 1.85;
  }

  .lp-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .lp-trust-row {
    margin-top: 18px;
    gap: 6px;
  }

  .lp-trust-row span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  .lp-featured {
    min-height: 320px;
  }

  .lp-featured img {
    min-height: 320px;
  }

  .lp-featured-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }

  .lp-featured-card h2 {
    font-size: 18px;
  }

  .lp-hero-listings {
    width: calc(100% + 28px);
    margin-left: -14px;
    margin-right: -14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .lp-hero-listings-head {
    width: min(100% - 28px, var(--max));
    margin: 0 auto 16px;
    align-items: start;
  }

  .lp-hero-listings-head .text-link {
    display: none;
  }

  .lp-hero-listings-head h2 {
    font-size: 24px;
  }

  .lp-listings-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 14px 8px;
    scroll-padding-left: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .lp-listings-track::-webkit-scrollbar {
    display: none;
  }

  .lp-listing-slide {
    flex: 0 0 82%;
    max-width: 340px;
    scroll-snap-align: start;
  }

  .lp-hero-listings-action {
    width: min(100% - 28px, var(--max));
    margin: 18px auto 0;
    display: block;
  }

  .lp-hero-listings-action .btn {
    width: 100%;
  }

  .lp-body-copy p {
    font-size: 14px;
    line-height: 1.85;
  }

  .section-headline {
    margin-bottom: 20px;
  }

  .lp-info-card,
  .lp-step {
    padding: 18px;
  }

  .lp-card-number,
  .lp-step span {
    margin-bottom: 16px;
  }

  .lp-final-cta {
    text-align: left;
  }

  .lp-final-cta .hero-actions {
    justify-content: stretch;
  }

  .property-hero {
    padding: 0 0 18px;
  }

  .property-hero .wrap {
    width: 100%;
  }

  .property-hero-inner {
    display: flex;
    flex-direction: column;
  }

  .property-hero-copy {
    order: 2;
    width: min(100% - 28px, var(--max));
    margin: 14px auto 0;
  }

  .property-hero-copy .eyebrow {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .property-hero-copy h1 {
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.18;
  }

  .property-hero-copy .lead {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.65;
  }

  .property-hero-actions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .property-hero-actions .btn {
    min-height: 42px;
    padding: 0 10px;
    font-size: 12px;
  }

  .property-hero + .section {
    padding-top: 10px;
  }

  .detail-layout {
    gap: 22px;
  }

  .detail-layout > div > .section {
    padding: 16px 0 24px;
  }

  .filter-toggle {
    display: block;
    width: min(100% - 28px, var(--max));
    min-height: 48px;
    margin: 0 auto;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font-size: 14px;
    font-weight: 900;
  }

  .filter-row {
    display: none;
    grid-template-columns: 1fr;
    padding: 0 0 14px;
    min-height: 0;
  }

  .filter-row.is-open {
    display: grid;
  }

  .map-layout {
    display: flex;
    flex-direction: column-reverse;
  }

  .airbnb-search-shell {
    width: min(100% - 28px, 1440px);
  }

  .airbnb-results {
    padding: 24px 0 78px;
  }

  .archive-property-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .map-panel {
    min-height: 360px;
  }

  .map-list {
    overflow-x: auto;
    white-space: nowrap;
  }

  .map-result {
    min-width: 238px;
    display: inline-grid;
    grid-template-columns: 86px minmax(0, 1fr);
    margin-right: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    white-space: normal;
  }

  .property-grid,
  .features,
  .steps,
  .spec-grid,
  .footer-grid,
  .detail-media-grid,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .mood-grid:not(.mood-tag-grid) {
    grid-template-columns: 1fr;
  }

  .mood-tags {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 3px;
  }

  .booking-card {
    padding: 14px;
    border-radius: 8px;
  }

  .date-picker {
    gap: 5px;
    margin-bottom: 12px;
  }

  .date-option {
    min-height: 46px;
    padding: 5px 2px;
    font-size: 11px;
    line-height: 1.15;
  }

  .date-option strong {
    display: block;
    font-size: 12px;
  }

  .booking-card h2 {
    margin-bottom: 6px;
    font-size: 22px;
  }

  .booking-card > p {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.6;
  }

  .booking-card form,
  .booking-card .wpcf7-form {
    gap: 9px;
  }

  .booking-card label {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .booking-card input,
  .booking-card select,
  .booking-card textarea {
    min-height: 44px;
    padding: 0 11px;
    font-size: 14px;
  }

  .booking-card input[type="submit"],
  .booking-card .wpcf7-submit {
    min-height: 46px;
  }

  .booking-time-choice {
    min-height: 44px;
    margin-bottom: 10px;
  }

  .booking-modal {
    align-items: end;
    padding: 12px;
  }

  .booking-modal-panel {
    width: 100%;
    max-height: calc(100svh - 24px);
    padding: 20px 16px 16px;
    border-radius: 12px 12px 8px 8px;
  }

  .booking-modal-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .booking-modal-panel h2 {
    padding-right: 46px;
    font-size: 22px;
  }

  .booking-modal-summary {
    margin-bottom: 12px;
  }

  .booking-modal-form form,
  .booking-modal-form .wpcf7-form {
    gap: 9px;
  }

  .booking-modal-form input,
  .booking-modal-form select,
  .booking-modal-form textarea {
    min-height: 44px;
    padding: 0 11px;
    font-size: 14px;
  }

  .gallery {
    order: 1;
    display: block;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 0;
  }

  .gallery-main {
    min-height: 0;
    height: 100%;
  }

  .gallery-side {
    display: none;
  }

  .gallery-main,
  .gallery-side img {
    border-radius: 0;
  }

  .gallery-open-label {
    right: 10px;
    bottom: 10px;
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .gallery-modal {
    padding: 64px 0 0;
    background: var(--white);
  }

  .gallery-modal-bar {
    top: 10px;
    left: 12px;
    right: 12px;
  }

  .gallery-modal-close {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .gallery-modal-frame {
    width: 100%;
    height: calc(100svh - 112px);
  }

  .gallery-modal-nav {
    top: auto;
    bottom: 22px;
    transform: none;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.94);
  }

  .gallery-modal-prev {
    left: 18px;
  }

  .gallery-modal-next {
    right: 18px;
  }

  .property-footer,
  .footer-grid {
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .actions .btn {
    width: 100%;
  }
}
