.hero, .section, .card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
  margin: 20px 0 24px;
  background:
    radial-gradient(circle at 14% 20%, rgba(244, 180, 0, 0.08), transparent 16%),
    radial-gradient(circle at 95% 15%, rgba(244, 180, 0, 0.07), transparent 18%),
    var(--bg);
}
.hero-home {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(520px, 1.35fr);
  gap: 24px;
  align-items: center;
  min-height: 600px;
}
.hero-home__copy { position: relative; z-index: 1; min-width: 0; padding: 16px 8px 16px 10px; }
.hero-home__media { position: relative; min-width: 0; min-height: 560px; }
.hero-home__media img {
  border-radius: 36px;
  max-height: 560px;
}
.hero-home__media::before {
  content: "";
  position: absolute;
  inset: 8px 8px 16px 8px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0));
  pointer-events: none;
}
.hero-doodle {
  position: absolute;
  z-index: 2;
  color: var(--accent-3);
  font-size: 58px;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(255,255,255,0.3);
}
.hero-doodle--crown { top: -14px; left: 22%; transform: rotate(-8deg); font-size: 74px; }
.hero-doodle--heart1 { top: 110px; right: 40px; transform: rotate(-8deg); }
.hero-doodle--heart2 { bottom: 118px; right: 40px; transform: rotate(-8deg); font-size: 52px; }
.hero-doodle--cup { right: 18px; bottom: 22px; font-size: 80px; }
.hero-copy h1 {
  max-width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.hero-lead {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--accent);
  font-size: 24px;
  margin: 0 0 10px;
}
.hero-text {
  font-size: 18px;
  line-height: 1.6;
  max-width: 30rem;
  color: var(--text);
  margin: 0 0 18px;
}
.hero-media { margin: 0; }
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 500px;
}
.hero-media--small img { aspect-ratio: 1 / 1; }
.cafe-hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(480px, 1.15fr);
  gap: 22px;
  align-items: center;
}
.cafe-hero__copy { padding-right: 10px; }
.cafe-hero__media { min-height: 460px; }
.cafe-hero__media img { max-height: 460px; }
.cafe-hero--green .hero-badge,
.cafe-hero--green .today-link { color: var(--accent); }
.cafe-hero--yellow .hero-badge,
.cafe-hero--yellow .today-link { color: var(--accent-2); }
.hero-meta {
  display: grid;
  gap: 12px;
  margin: 8px 0 18px;
}
.hero-meta__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 243, 207, 0.55);
  border: 1px solid rgba(244, 180, 0, 0.14);
}
.hero-meta__item span { flex: none; font-size: 18px; color: var(--accent-3); }
.hero-meta__item strong { font-weight: 500; line-height: 1.5; }
.feature-card--wide { padding: 18px; }
.feature-body--stacked {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  min-height: 360px;
}
.feature-photo--wide { min-height: 360px; }
.cafe-points { margin-bottom: 18px; }
.cafe-points li { line-height: 1.55; }
.cafe-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.gallery-card img {
  width: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}
.gallery-card--note h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.08;
  margin: 10px 0 14px;
}
.gallery-card--note p { margin: 0 0 12px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.hero-photo-empty,
.cat-photo--empty {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 260px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 24%, rgba(244, 180, 0, 0.18), transparent 18%),
    radial-gradient(circle at 76% 68%, rgba(84, 112, 60, 0.12), transparent 20%),
    linear-gradient(180deg, #fff8e6, #f3ebde);
  border: 1px dashed rgba(244, 180, 0, 0.4);
  color: var(--muted);
  text-align: center;
  padding: 22px;
}
.hero-photo-empty span,
.cat-photo--empty span {
  max-width: 14rem;
  font-size: 15px;
  line-height: 1.45;
}
.section {
  padding: 24px;
  margin: 18px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 500;
  margin: 0 0 18px;
}
.section h2::after {
  content: "♡";
  color: var(--accent-3);
  font-size: 0.9em;
  margin-left: 10px;
  vertical-align: middle;
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card {
  position: relative;
  padding: 20px;
  background: var(--surface);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 3px solid var(--accent-3);
  border-radius: 18px 18px 18px 0;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(12deg);
  opacity: 0.9;
}
.card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.22; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.cafe-card img,
.cat-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin-bottom: 14px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  max-height: 240px;
}
.cat-photo--empty { margin-bottom: 14px; }
.card-content { display: grid; gap: 10px; }
.card-content p { margin: 0; color: var(--muted); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-4);
  border: 1px solid rgba(244, 180, 0, 0.2);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-badge::before {
  content: "☕";
  color: var(--accent-3);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 10px 0 14px; }
.hero-heart { color: var(--accent-3); }
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
  margin-top: 2px;
}
.hero-note::before { content: "🐾"; color: var(--accent); }
.featured-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.feature-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 12px;
  background: #fff3dc;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: stretch;
  min-height: 320px;
}
.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}
.feature-copy h3 { font-size: 30px; line-height: 1.05; margin-bottom: 16px; }
.feature-copy p { margin: 0 0 12px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.feature-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 18px;
}
.feature-card--today {
  background: linear-gradient(180deg, #fff8e8, #f5eedf);
}
.feature-card--today h3 { font-size: 24px; margin: 4px 0 14px; }
.today-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 14px;
}
.today-list li { position: relative; padding-left: 30px; color: var(--text); }
.today-list li::before { content: "♡"; position: absolute; left: 0; top: 0; color: var(--accent); }
.today-cat {
  width: 190px;
  height: 190px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px 22px 22px 70px;
  float: right;
  margin: 6px 0 14px 16px;
}
.today-link { display: inline-flex; color: var(--accent); font-weight: 700; text-decoration: none; }
.icons-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}
.icon-chip {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.icon-chip span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--accent-3);
  background: rgba(244, 180, 0, 0.08);
}
.icon-chip strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 500; }
.icon-chip small { color: var(--muted); display: block; }
@media (max-width: 820px) {
  .hero-home,
  .cafe-hero,
  .featured-grid,
  .feature-body,
  .feature-body--stacked,
  .cafe-gallery,
  .icons-row { grid-template-columns: 1fr; }
  .hero-home { min-height: auto; }
  .hero-home__media { min-height: 0; }
  .cafe-hero__media,
  .hero-media img { max-height: none; }
  .feature-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .feature-photo {
    min-height: 240px;
  }
  .today-cat { float: none; margin-left: 0; width: 100%; height: auto; }
}

/* Shared gallery lightbox */
.kgv-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 70px;
  color: #fff;
  background: rgba(20, 22, 17, 0.94);
}
.kgv-gallery-lightbox.is-open { display: flex; }
.kgv-gallery-lightbox-image,
.kgv-gallery-lightbox-video { display: none; max-width: min(1100px, 88vw); max-height: 82vh; border-radius: 18px; object-fit: contain; }
.kgv-gallery-lightbox-image.is-visible,
.kgv-gallery-lightbox-video.is-visible { display: block; }
.kgv-gallery-lightbox-close,
.kgv-gallery-lightbox-prev,
.kgv-gallery-lightbox-next {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  color: #23261c;
  background: #fff8e5;
  font-size: 34px;
  cursor: pointer;
}
.kgv-gallery-lightbox-close { right: 24px; top: 20px; }
.kgv-gallery-lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.kgv-gallery-lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.kgv-gallery-lightbox-counter { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-weight: 800; }
html.kgv-lightbox-open,
body.kgv-lightbox-open { overflow: hidden; }

@media (max-width: 760px) {
  .kgv-gallery-lightbox { padding: 56px 12px; }
  .kgv-gallery-lightbox-prev { left: 8px; }
  .kgv-gallery-lightbox-next { right: 8px; }
  .kgv-gallery-lightbox-close { right: 10px; top: 8px; }
}
