/*
 * グルメ特設ページと、TOP / エリアに置く二つの小さな導線。
 * styles.css → site-frame.css → gourmet.css の順で読み込む。
 * 共通ヘッダー、ブランドロゴ、LINE CTA、[hidden] は変更しない。
 * 画像は既存の透明素材を HTML で指定。原本比率で通常フローに置く。
 * 外部リンクの「別タブで開く」と工事中表記は HTML の実テキストで記す。
 */

:where(.gourmet-hero, .gourmet-discover, .gourmet-shops, .gourmet-map,
  .gourmet-living, .gourmet-promo, .owner-start) {
  --gourmet-paper: #fffcf5;
  --gourmet-honey: #fff0cd;
  --gourmet-grass: #eef5e3;
  --gourmet-edge: #e5d5b9;
  --gourmet-brown: var(--brown, #69452f);
  --gourmet-ink: var(--ink, #473d34);
  --gourmet-muted: var(--muted, #71695f);
  --gourmet-round: var(--round, "Zen Maru Gothic", "BIZ UDPGothic", sans-serif);
  min-width: 0;
  color: var(--gourmet-ink);
  font-family: var(--body, "BIZ UDPGothic", sans-serif);
  line-height: 1.95;
  overflow-wrap: anywhere;
  word-break: normal;
}

:where(.gourmet-hero, .gourmet-discover, .gourmet-shops, .gourmet-map,
  .gourmet-living, .gourmet-promo, .owner-start) :where(div, aside, article, figure, a, button) {
  min-width: 0;
}

:where(.gourmet-hero, .gourmet-discover, .gourmet-shops, .gourmet-map,
  .gourmet-living, .gourmet-promo, .owner-start) :where(h1, h2, h3, h4) {
  color: var(--gourmet-brown);
  font-family: var(--gourmet-round);
  text-wrap: pretty;
  overflow-wrap: anywhere;
  word-break: normal;
}

:where(.gourmet-hero, .gourmet-discover, .gourmet-shops, .gourmet-map,
  .gourmet-living, .gourmet-promo, .owner-start) :where(a, button):focus-visible {
  outline: 3px solid #3d7b90;
  outline-offset: 5px;
}

:where(.gourmet-discover, .gourmet-shops, .gourmet-map, .gourmet-living) {
  padding-block: clamp(48px, 6vw, 78px);
}

:where(.gourmet-discover, .gourmet-shops, .gourmet-living) .section-heading {
  max-width: 740px;
  margin: 0 auto 30px;
}

:where(.gourmet-discover, .gourmet-shops, .gourmet-living) .section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.65;
  letter-spacing: .02em;
}

:where(.gourmet-discover, .gourmet-shops, .gourmet-living) .section-heading > p:last-child {
  font-size: 14px;
  line-height: 1.95;
}

:where(.gourmet-hero, .gourmet-discover, .gourmet-shops, .gourmet-map,
  .gourmet-living, .gourmet-promo, .owner-start) .eyebrow {
  margin: 0 0 10px;
  color: #80603b;
  font-family: var(--gourmet-round);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.8;
}

:where(.gourmet-hero, .gourmet-map) .gourmet-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 17px;
  padding: 6px 13px;
  border: 1px solid #dacba9;
  border-radius: 18px;
  color: var(--gourmet-brown);
  background: #fff7e2;
  font-family: var(--gourmet-round);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.75;
}

:where(.gourmet-discover, .gourmet-shops, .owner-start) .gourmet-note {
  margin: 18px 0 0;
  color: var(--gourmet-muted);
  font-size: 12px;
  line-height: 1.9;
}

/* 水彩の余白。飾りは背景だけにし、本文も人物も重ねない。 */
.gourmet-hero {
  background:
    radial-gradient(ellipse at 86% 18%, #ecf3dfb3 0%, #ecf3df00 53%),
    radial-gradient(ellipse at 13% 80%, #ffe8b891 0%, #ffe8b800 58%),
    var(--gourmet-paper);
  border-bottom: 1px solid #efe4ce;
}

.gourmet-hero .gourmet-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  padding-block: clamp(36px, 5vw, 64px);
}

.gourmet-hero .gourmet-hero__layout > div {
  max-width: 630px;
}

.gourmet-hero #page-title {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .025em;
  white-space: pre-line;
}

.gourmet-hero .gourmet-lead {
  max-width: 37em;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 2;
}

.gourmet-hero .gourmet-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: 22px;
  width: 100%;
  max-width: 380px;
  justify-self: end;
  padding: 0 8px 6px;
}

.gourmet-hero .gourmet-guide > figure {
  width: min(195px, 100%);
  margin: 0;
}

.gourmet-hero .gourmet-guide > figure > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
}

/* 小さなメモ帳の吹き出し。しっぽは余白の中に収める。 */
.gourmet-hero .gourmet-guide__speech {
  position: relative;
  width: 100%;
  padding: 24px 23px 22px;
  border: 1px solid var(--gourmet-edge);
  border-left: 4px solid #e2c58a;
  border-bottom: 3px double #d7bd8e;
  border-radius: 5px 21px 7px 5px;
  background:
    linear-gradient(#fffdf6ee, #fffdf6ee),
    repeating-linear-gradient(to bottom, transparent 0 29px, #e7dbc3 29px 30px);
  box-shadow: 0 5px 15px #69452f07;
}

.gourmet-hero .gourmet-guide__speech > p {
  position: relative;
  margin: 0;
  color: var(--gourmet-brown);
  font-family: var(--gourmet-round);
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}

.gourmet-hero .gourmet-guide__tail {
  position: absolute;
  top: -10px;
  left: calc(50% - 9px);
  width: 18px;
  height: 18px;
  border-top: 1px solid var(--gourmet-edge);
  border-left: 1px solid var(--gourmet-edge);
  border-radius: 3px 0 0;
  background: #fffdf6;
  transform: rotate(45deg);
  pointer-events: none;
}

:where(.gourmet-hero__links, .gourmet-construction__links, .gourmet-map__links,
  .owner-start__actions) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

:where(.gourmet-hero__links, .gourmet-construction__links, .gourmet-map__links) > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 17px;
  border: 1px solid #dac9a9;
  border-radius: 16px;
  color: var(--gourmet-brown);
  background: #fffdf8;
  font-family: var(--gourmet-round);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: background-color 160ms ease, border-color 160ms ease;
}

/* 外部の実サービスへの入口。サービスのロゴや擬似地図は使わない。 */
.gourmet-discover { background: #fff; }

.gourmet-discover .gourmet-external-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gourmet-discover .gourmet-external {
  --external-wash: #f0f5e6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 44px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--gourmet-edge);
  border-radius: 22px 22px 17px 22px;
  background:
    radial-gradient(ellipse at 100% 0%, var(--external-wash), transparent 70%),
    var(--gourmet-paper);
  box-shadow: 0 5px 18px #69452f05;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.gourmet-discover .gourmet-external--maps { --external-wash: #eaf2de; }
.gourmet-discover .gourmet-external--tabelog { --external-wash: #ffebc5; }

.gourmet-discover .gourmet-external__label {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 17px;
  padding: 4px 10px;
  border: 1px solid #e3d7bd;
  border-radius: 9px;
  color: #735735;
  background: #ffffffb3;
  font-family: var(--gourmet-round);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.gourmet-discover .gourmet-external h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.65;
}

.gourmet-discover .gourmet-external > p {
  margin: 0 0 16px;
  color: var(--gourmet-muted);
  font-size: 14px;
  line-height: 1.95;
}

.gourmet-discover .gourmet-external__arrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 10px;
  min-height: 44px;
  max-width: 100%;
  margin-top: auto;
  padding-block: 8px;
  color: var(--gourmet-brown);
  font-family: var(--gourmet-round);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.gourmet-discover .gourmet-external__arrow small {
  flex-basis: 100%;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
}

/* まだ公開していないお店一覧。カード自体はリンクにしない。 */
.gourmet-shops { background: #fffaf0; }

.gourmet-shops .gourmet-theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.gourmet-shops .gourmet-theme {
  --theme-wash: #fff0cc;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 22px 20px;
  border: 1px solid var(--gourmet-edge);
  border-top: 5px solid var(--theme-wash);
  border-radius: 18px;
  background: #fffdf8;
}

.gourmet-shops .gourmet-theme--lunch { --theme-wash: #f4d99c; }
.gourmet-shops .gourmet-theme--cafe { --theme-wash: #ddd7bc; }
.gourmet-shops .gourmet-theme--bakery { --theme-wash: #f2c9a4; }
.gourmet-shops .gourmet-theme--family { --theme-wash: #cedeb8; }

.gourmet-shops .gourmet-theme__number {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 5px 10px;
  border-radius: 13px 16px 12px 17px;
  color: var(--gourmet-brown);
  background: var(--theme-wash);
  font-family: var(--gourmet-round);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.gourmet-shops .gourmet-theme h3 {
  margin: 0 0 13px;
  font-size: 23px;
  line-height: 1.65;
}

.gourmet-shops .gourmet-theme > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--gourmet-muted);
  font-size: 13px;
  line-height: 1.95;
}

.gourmet-shops .gourmet-pending-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  margin-top: auto;
  padding-block: 9px;
  color: var(--gourmet-brown);
  font-family: var(--gourmet-round);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.gourmet-shops .gourmet-construction {
  margin-top: 32px;
  padding: clamp(24px, 3.5vw, 38px);
  border: 1px dashed #c7ad7b;
  border-radius: 15px;
  background: #fff7e1;
  scroll-margin-top: 200px;
}

.gourmet-shops .gourmet-construction h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.7;
}

.gourmet-shops .gourmet-construction > p:not(.eyebrow) {
  max-width: 57em;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.95;
}

/* 地図の完成イメージではなく、文字で分かる工事中のお知らせ枠。 */
.gourmet-map { background: #fffdf8; }

.gourmet-map .gourmet-map__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 5vw, 58px) clamp(20px, 4vw, 46px);
  border: 2px dashed #c9b68f;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 0% 100%, #eef5e3a6, transparent 60%),
    #fffaf0;
  text-align: center;
}

.gourmet-map .gourmet-map__placeholder h2 {
  margin: 0 0 17px;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.65;
}

.gourmet-map .gourmet-map__placeholder > p:not(.gourmet-chip) {
  max-width: 45em;
  margin: 0 0 23px;
  color: var(--gourmet-muted);
  font-size: 14px;
  line-height: 2;
}

.gourmet-map .gourmet-map__links { justify-content: center; }

/* 街を知ったあとに、暮らしのページへ。 */
.gourmet-living { background: #f3f7ec; }

.gourmet-living .gourmet-living__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gourmet-living .gourmet-living__links > a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 44px;
  padding: 28px 30px;
  border: 1px solid #d8dfca;
  border-radius: 18px;
  background: #fffefa;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.gourmet-living .gourmet-living__links h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.65;
}

.gourmet-living .gourmet-living__links p {
  margin: 0 0 16px;
  color: var(--gourmet-muted);
  font-size: 14px;
  line-height: 1.95;
}

.gourmet-living .gourmet-living__links .frame-link { margin-top: auto; }

/* TOP / エリアの小さな案内。町子の透明画像は切り抜かず比率を維持。 */
.gourmet-promo {
  padding-block: 38px;
  border-top: 1px solid #eee2cd;
  border-bottom: 1px solid #eee2cd;
  background:
    radial-gradient(ellipse at 8% 50%, #fff0c9a6, transparent 58%),
    #fffaf0;
}

.gourmet-promo .gourmet-promo__inner {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
}

.gourmet-promo .gourmet-promo__art {
  width: min(180px, 100%);
  justify-self: center;
}

.gourmet-promo .gourmet-promo__art > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  object-position: center;
}

.gourmet-promo .gourmet-promo__copy h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.65;
  letter-spacing: .02em;
}

.gourmet-promo .gourmet-promo__copy > p:not(.eyebrow) {
  max-width: 48em;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.95;
}

.gourmet-promo .gourmet-promo__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 11px 20px;
  border: 1px solid #d1b67e;
  border-radius: 15px;
  color: var(--gourmet-brown);
  background: #ffeac0;
  font-family: var(--gourmet-round);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.gourmet-promo .gourmet-promo__status {
  display: block;
  margin-top: 10px;
  color: var(--gourmet-muted);
  font-size: 12px;
  line-height: 1.85;
}

/* 既存 TOP #paths 内だけに追加する所有者の道しるべ。 */
.owner-start {
  margin-top: 38px;
  padding: clamp(23px, 3.5vw, 38px);
  border: 1px solid #dfd4bf;
  border-radius: 20px;
  background: #fffaf0;
}

.owner-start .owner-start__title {
  margin: 0 0 23px;
  color: var(--gourmet-brown);
  font-family: var(--gourmet-round);
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 700;
  line-height: 1.75;
}

.owner-start .owner-start__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.owner-start .owner-start__steps > li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 22px 20px 17px;
  border: 1px solid #e8dfcf;
  border-radius: 14px;
  background: #fffefb;
}

.owner-start .owner-start__steps > li > span {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 4px 11px;
  border-radius: 9px;
  color: #576c3f;
  background: #edf3e3;
  font-family: var(--gourmet-round);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.owner-start .owner-start__steps :is(h3, h4) {
  margin: 0 0 11px;
  font-size: 20px;
  line-height: 1.7;
}

.owner-start .owner-start__steps p {
  margin: 0 0 14px;
  color: var(--gourmet-muted);
  font-size: 13px;
  line-height: 1.95;
}

.owner-start .owner-start__steps > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  margin-top: auto;
  padding-block: 8px;
  color: var(--green, #568741);
  font-family: var(--gourmet-round);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  white-space: normal;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.owner-start .owner-start__actions { margin-top: 22px; }

.owner-start .owner-start__actions > a {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
}

/* LINE ボタンの色、形、影は既存の .line-button のまま。 */
.owner-start .owner-start__actions > button {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
  :where(.gourmet-hero__links, .gourmet-construction__links, .gourmet-map__links) > a:hover,
  .gourmet-promo .gourmet-promo__button:hover {
    border-color: #bba06a;
    background: #fff0ce;
  }

  .gourmet-discover .gourmet-external:hover,
  .gourmet-living .gourmet-living__links > a:hover {
    border-color: #bfa775;
    box-shadow: 0 6px 18px #69452f0c;
  }

  .gourmet-shops .gourmet-pending-link:hover,
  .owner-start .owner-start__steps > li > a:hover {
    text-decoration-thickness: 2px;
  }
}

@media (max-width: 1100px) {
  .gourmet-shops .gourmet-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .gourmet-hero .gourmet-hero__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .gourmet-hero .gourmet-guide {
    justify-self: center;
    max-width: 430px;
  }

  .owner-start .owner-start__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

/* 640 / 360 / 280px は全て一列。本文の高さとしっぽに上限を置かない。 */
@media (max-width: 680px) {
  :where(.gourmet-discover, .gourmet-shops, .gourmet-map, .gourmet-living) {
    padding-block: 45px;
  }

  .gourmet-discover .gourmet-external-grid,
  .gourmet-shops .gourmet-theme-grid,
  .gourmet-living .gourmet-living__links,
  .gourmet-promo .gourmet-promo__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .gourmet-hero .gourmet-hero__layout { padding-block: 34px 40px; }
  .gourmet-hero #page-title { font-size: clamp(29px, 6.8vw, 42px); }
  .gourmet-hero .gourmet-lead { font-size: 14px; }
  .gourmet-hero .gourmet-guide > figure { width: min(156px, 100%); }
  .gourmet-hero .gourmet-guide > figure > img { max-height: 208px; }

  :where(.gourmet-hero__links, .gourmet-construction__links, .gourmet-map__links,
    .owner-start__actions) {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .gourmet-discover .gourmet-external,
  .gourmet-living .gourmet-living__links > a { padding: 24px 22px; }

  .gourmet-shops .gourmet-theme { padding: 24px 22px 18px; }
  .gourmet-shops .gourmet-theme__number { margin-bottom: 15px; }
  .gourmet-shops .gourmet-construction { margin-top: 25px; }

  .gourmet-promo { padding-block: 30px; }
  .gourmet-promo .gourmet-promo__art { width: min(132px, 100%); }
  .gourmet-promo .gourmet-promo__art > img { max-height: 176px; }
  .gourmet-promo .gourmet-promo__button { width: 100%; }
  .owner-start { margin-top: 28px; }
}

@media (max-width: 380px) {
  .gourmet-hero #page-title { letter-spacing: 0; }
  .gourmet-hero .gourmet-guide { padding-inline: 5px; }
  .gourmet-hero .gourmet-guide__speech { padding: 20px 16px; }

  .gourmet-discover .gourmet-external,
  .gourmet-living .gourmet-living__links > a,
  .gourmet-shops .gourmet-theme { padding-inline: 18px; }

  .gourmet-shops .gourmet-construction,
  .gourmet-map .gourmet-map__placeholder,
  .owner-start { padding-inline: 17px; }

  .owner-start .owner-start__steps > li { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  :where(.gourmet-hero, .gourmet-discover, .gourmet-shops, .gourmet-map,
    .gourmet-living, .gourmet-promo, .owner-start) :where(a, button) {
    transition: none;
    animation: none;
  }
}


/* 掲載店舗募集。既存のページ要素には影響させず、このセクション内だけを整える。 */
.gourmet-merchants {
  --gourmet-merchants-paper: var(--gourmet-paper, #fffcf5);
  --gourmet-merchants-honey: var(--gourmet-honey, #fff0cd);
  --gourmet-merchants-edge: var(--gourmet-edge, #e5d5b9);
  --gourmet-merchants-brown: var(--gourmet-brown, var(--brown, #69452f));
  --gourmet-merchants-ink: var(--gourmet-ink, var(--ink, #473d34));
  --gourmet-merchants-muted: var(--gourmet-muted, var(--muted, #71695f));
  --gourmet-merchants-round: var(--gourmet-round, var(--round, "Zen Maru Gothic", "BIZ UDPGothic", sans-serif));
  min-width: 0;
  padding-block: clamp(36px, 5vw, 56px);
  color: var(--gourmet-merchants-ink);
  font-family: var(--body, "BIZ UDPGothic", sans-serif);
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.gourmet-merchants .page-width,
.gourmet-merchants__card,
.gourmet-merchants__intro,
.gourmet-merchants__details,
.gourmet-merchants__terms,
.gourmet-merchants__terms > div {
  min-width: 0;
}

.gourmet-merchants__card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: clamp(24px, 5vw, 68px);
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid var(--gourmet-merchants-edge);
  border-radius: 24px 24px 18px 24px;
  background:
    radial-gradient(ellipse at 100% 0%, #fff0c9b8 0%, #fff0c900 58%),
    radial-gradient(ellipse at 0% 100%, #eef5e3b8 0%, #eef5e300 62%),
    var(--gourmet-merchants-paper);
  box-shadow: 0 7px 22px #69452f08;
}

.gourmet-merchants__intro {
  align-self: center;
  max-width: 36em;
}

.gourmet-merchants .eyebrow {
  margin: 0 0 10px;
  color: #80603b;
  font-family: var(--gourmet-merchants-round);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.8;
}

.gourmet-merchants h2 {
  margin: 0 0 17px;
  color: var(--gourmet-merchants-brown);
  font-family: var(--gourmet-merchants-round);
  font-size: clamp(27px, 3.5vw, 42px);
  line-height: 1.55;
  letter-spacing: .02em;
  text-wrap: pretty;
}

.gourmet-merchants .sunny-underline {
  text-decoration: underline;
  text-decoration-color: #e8bc68;
  text-decoration-thickness: .22em;
  text-underline-offset: .1em;
}

.gourmet-merchants__intro > p:last-child {
  max-width: 38em;
  margin: 0;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 2;
}

.gourmet-merchants__details {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #e2d3b7;
  border-radius: 17px 20px 15px 20px;
  background: #fffdf8cc;
}

.gourmet-merchants__terms {
  display: grid;
  gap: 14px;
  margin: 0;
}

.gourmet-merchants__terms > div {
  display: grid;
  grid-template-columns: minmax(5em, .34fr) minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid #eadfca;
}

.gourmet-merchants__terms > div:last-child {
  padding-bottom: 4px;
  border-bottom: 0;
}

.gourmet-merchants__terms dt {
  color: #80603b;
  font-family: var(--gourmet-merchants-round);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.gourmet-merchants__terms dd {
  display: grid;
  gap: 3px;
  margin: 0;
  min-width: 0;
  font-size: 14px;
  line-height: 1.85;
}

.gourmet-merchants__terms dd strong {
  color: var(--gourmet-merchants-brown);
  font-family: var(--gourmet-merchants-round);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.65;
}

.gourmet-merchants__terms dd span,
.gourmet-merchants__note,
.gourmet-merchants__mail-note {
  color: var(--gourmet-merchants-muted);
  font-size: 14px;
  line-height: 1.9;
}

.gourmet-merchants__note {
  margin: 18px 0 17px;
}

.gourmet-merchants__apply {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #d1b67e;
  border-radius: 14px;
  color: var(--gourmet-merchants-brown);
  background: var(--gourmet-merchants-honey);
  font-family: var(--gourmet-merchants-round);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.gourmet-merchants__apply span {
  flex: 0 0 auto;
  font-size: 19px;
  line-height: 1;
}

.gourmet-merchants__mail-note {
  margin: 9px 0 0;
  font-size: 12px;
}

.gourmet-merchants__address {
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

.gourmet-merchants__address a {
  color: var(--gourmet-merchants-brown);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gourmet-merchants :where(a):focus-visible {
  outline: 3px solid #3d7b90;
  outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .gourmet-merchants__apply:hover {
    border-color: #bba06a;
    background: #ffe8b8;
  }
}

@media (max-width: 680px) {
  .gourmet-merchants__card {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 26px 22px;
  }

  .gourmet-merchants__details {
    padding: 22px 18px;
  }

  .gourmet-merchants h2 {
    font-size: clamp(26px, 8vw, 36px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gourmet-merchants :where(a, button) {
    transition: none;
    animation: none;
  }
}
