/* Retail, dining, and beauty previews. Each rule is scoped to the sample business. */
[data-industry="cafe"] .preview-site {
  --paper: #faf5eb;
  --ink: #302117;
  --muted: #695447;
  --line: #dfd0bf;
  --soft: #efe4d5;
  --accent: #6c3b24;
  --on-accent: #fff9ef;
  --radius: 4px;
  --heading-font: "Noto Serif KR", "Batang", serif;
}
[data-industry="cafe"] .hero-copy { padding-block: clamp(4px, 1cqw, 16px); }
[data-industry="cafe"] .hero-photo > img { aspect-ratio: 1.32; }
[data-industry="cafe"] .hero-facts { border-block: 1px solid var(--line); padding-block: 10px; }
[data-industry="cafe"] .offer img { aspect-ratio: 1.18; }
[data-industry="cafe"] .offer-body { border-bottom: 1px solid var(--line); }

[data-industry="restaurant"] .preview-site {
  --paper: #fffaf2;
  --ink: #332019;
  --muted: #70594e;
  --line: #dfcbbf;
  --soft: #f4e5d7;
  --accent: #843d2c;
  --on-accent: #fff9ef;
  --radius: 4px;
  --heading-font: "Noto Serif KR", "Batang", serif;
}
[data-industry="restaurant"] .business-hero {
  position: relative;
  isolation: isolate;
  max-width: none;
  background: #332019;
  color: #fff8ed;
}
[data-industry="restaurant"] :is(.hero-intro, .hero-announcement, .hero-kicker, .hero-photo figcaption, .hero-facts dt) {
  color: #f4dfce;
}
[data-industry="restaurant"] .hero-actions .button-primary { background: #fff1df; color: #48281d; }
[data-industry="restaurant"] .hero-actions .button-primary:hover { background: #f1d7bc; }
[data-industry="restaurant"] .hero-photo > img { aspect-ratio: 2.1; }
[data-industry="restaurant"] .business-highlights { background: var(--soft); }
[data-industry="restaurant"] .offer-detail { color: var(--accent); }

[data-industry="hairshop"] .preview-site {
  --paper: #fbfaf8;
  --ink: #211c21;
  --muted: #59525b;
  --line: #dbd2da;
  --soft: #f0eaef;
  --accent: #513a54;
  --on-accent: #fff;
  --radius: 0px;
  --heading-font: "Pretendard Variable", Pretendard, "Malgun Gothic", sans-serif;
}
[data-industry="hairshop"] .business-brand { letter-spacing: .13em; }
[data-industry="hairshop"] .hero-copy h1 { max-width: 15ch; }
[data-industry="hairshop"] .hero-photo > img { aspect-ratio: 5 / 4; }
[data-industry="hairshop"] .offer img { aspect-ratio: 4 / 5; }
[data-industry="hairshop"] .offer-detail { padding-top: 10px; border-top: 1px solid var(--line); }

[data-industry="fashion"] .preview-site {
  --paper: #f9f8f6;
  --ink: #1d1e1b;
  --muted: #50534b;
  --line: #d2d5ca;
  --soft: #e6e9df;
  --accent: #333c29;
  --on-accent: #fff;
  --radius: 0px;
  --heading-font: "Pretendard Variable", Pretendard, "Malgun Gothic", sans-serif;
}
[data-industry="fashion"] .business-brand { letter-spacing: .14em; }
[data-industry="fashion"] .business-hero { max-width: none; gap: 0; padding: 0; }
[data-industry="fashion"] .hero-copy { padding: clamp(28px, 5cqw, 70px); }
[data-industry="fashion"] .hero-copy h1 { max-width: 12ch; }
[data-industry="fashion"] .hero-photo > img { aspect-ratio: 5 / 4; border-radius: 0; }
[data-industry="fashion"] .hero-photo figcaption { padding: 0 14px 12px; }
[data-industry="fashion"] .business-highlights { background: var(--soft); }
[data-industry="fashion"] .offer img { aspect-ratio: 4 / 5; border-radius: 0; }

[data-industry="convenience"] .preview-site {
  --paper: #fffcf1;
  --ink: #172d28;
  --muted: #455d55;
  --line: #ced8c8;
  --soft: #edf3e3;
  --accent: #175448;
  --on-accent: #fff;
  --radius: 10px;
  --heading-font: "Pretendard Variable", Pretendard, "Malgun Gothic", sans-serif;
}
[data-industry="convenience"] .business-header { border-bottom: 4px solid var(--accent); }
[data-industry="convenience"] .business-hero { max-width: none; background: #f3e6ab; }
[data-industry="convenience"] .hero-copy h1 { max-width: 17ch; }
[data-industry="convenience"] .hero-photo > img { aspect-ratio: 1.9; }
[data-industry="convenience"] .business-highlights { background: var(--accent); color: var(--on-accent); }
[data-industry="convenience"] .business-highlights p + p { border-color: #7ca19a; }
[data-industry="convenience"] .offer-grid .offer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
[data-industry="convenience"] .offer figure { padding: 10px 10px 0; }
[data-industry="convenience"] .offer img { aspect-ratio: 1.55; }
[data-industry="convenience"] .offer-body { padding: 12px; }
[data-industry="convenience"] .offer-category { color: var(--accent); }
[data-industry="convenience"] .offer-detail { font-weight: 800; }

[data-industry="skincare"] .preview-site {
  --paper: #fdf9f5;
  --ink: #302b25;
  --muted: #65574a;
  --line: #decebf;
  --soft: #f1e5d9;
  --accent: #654c3d;
  --on-accent: #fff;
  --radius: 2px;
  --heading-font: "Noto Serif KR", "Batang", serif;
}
[data-industry="skincare"] .business-hero { max-width: none; background: var(--soft); }
[data-industry="skincare"] .hero-copy h1 { max-width: 16ch; }
[data-industry="skincare"] .hero-photo > img { aspect-ratio: 1.85; }
[data-industry="skincare"] .offer-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
[data-industry="skincare"] .offer-grid .offer {
  display: grid;
  grid-template-columns: minmax(64px, 23%) minmax(0, 1fr);
  align-items: start;
  gap: 10px 14px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
[data-industry="skincare"] .offer-grid .offer:last-child { border-bottom: 1px solid var(--line); }
[data-industry="skincare"] .offer img { aspect-ratio: 1; }
[data-industry="skincare"] .offer-body { padding-block: 0; }
[data-industry="skincare"] .offer-detail { color: var(--accent); font-variant-numeric: tabular-nums; }

[data-industry="lifestyle"] .preview-site {
  --paper: #f9f8f2;
  --ink: #2b3028;
  --muted: #545d51;
  --line: #d8dbcf;
  --soft: #eaeee2;
  --accent: #3a543d;
  --on-accent: #fff;
  --radius: 4px;
  --heading-font: "Pretendard Variable", Pretendard, "Malgun Gothic", sans-serif;
}
[data-industry="lifestyle"] .business-hero { row-gap: 18px; }
[data-industry="lifestyle"] .hero-photo > img { aspect-ratio: 2.15; }
[data-industry="lifestyle"] .offer img { aspect-ratio: 1.1; }
[data-industry="lifestyle"] .offer-body { padding-inline: 14px; background: var(--soft); }

[data-industry="florist"] .preview-site {
  --paper: #fff9f6;
  --ink: #382522;
  --muted: #6c5451;
  --line: #e8d4cf;
  --soft: #f4e5df;
  --accent: #7b414e;
  --on-accent: #fff;
  --radius: 14px;
  --heading-font: "Noto Serif KR", "Batang", serif;
}
[data-industry="florist"] .business-hero { background: var(--soft); }
[data-industry="florist"] .hero-photo > img { aspect-ratio: 1.42; border-radius: 44% 44% 10px 10px / 26% 26% 10px 10px; }
[data-industry="florist"] .hero-facts { padding: 12px 14px; border-radius: var(--radius); background: var(--paper); }
[data-industry="florist"] .offer img { aspect-ratio: 1; }
[data-industry="florist"] .offer-detail { color: var(--accent); }

[data-industry="liquor"] .preview-site {
  --paper: #211c20;
  --ink: #fff3e7;
  --muted: #d2c1b8;
  --line: #65554e;
  --soft: #32282b;
  --accent: #efc197;
  --on-accent: #2d201e;
  --radius: 3px;
  --heading-font: "Noto Serif KR", "Batang", serif;
}
[data-industry="liquor"] .hero-photo > img { aspect-ratio: 1.6; }
[data-industry="liquor"] .business-header .business-menu-toggle { background: var(--soft); }
[data-industry="liquor"] .business-highlights { background: var(--soft); }
[data-industry="liquor"] .offer-grid .offer { padding: 12px; border: 1px solid var(--line); background: var(--soft); }
[data-industry="liquor"] .offer img { aspect-ratio: 1.35; }
[data-industry="liquor"] :is(.offer-category, .offer-detail, .offer-action) { color: var(--accent); }
[data-industry="liquor"] .inquiry-fields :is(input, select) { color: var(--on-accent); }

@container sample (max-width: 767px) {
  [data-industry="fashion"] .hero-photo { grid-row: 1; }
  [data-industry="fashion"] .hero-photo > img { aspect-ratio: 2; }
  [data-industry="fashion"] .hero-photo figcaption { padding-bottom: 0; }
}

@container sample (min-width: 768px) {
  [data-industry="cafe"] .business-hero { grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); gap: clamp(26px, 5cqw, 68px); }
  [data-industry="cafe"] .hero-photo { grid-area: 1 / 1; }
  [data-industry="cafe"] .hero-copy { grid-area: 1 / 2; }
  [data-industry="cafe"] .hero-photo > img { aspect-ratio: 1.42; }

  [data-industry="restaurant"] .business-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: clamp(440px, 42cqw, 620px);
    padding-inline: max(6cqw, calc((100cqw - 1300px) / 2));
  }
  [data-industry="restaurant"] .hero-copy { max-width: min(580px, 62%); }
  [data-industry="restaurant"] .hero-photo {
    position: absolute;
    z-index: -1;
    inset: 0;
  }
  [data-industry="restaurant"] .hero-photo::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(41 22 16 / 96%) 2%, rgb(41 22 16 / 82%) 42%, rgb(41 22 16 / 24%) 100%);
    content: "";
  }
  [data-industry="restaurant"] .hero-photo > img { width: 100%; height: 100%; border-radius: 0; }
  [data-industry="restaurant"] .hero-photo figcaption { display: none; }
  [data-industry="restaurant"] .offer img { aspect-ratio: 16 / 10; }

  [data-industry="hairshop"] .business-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  [data-industry="hairshop"] .hero-copy { border-left: 2px solid var(--accent); padding-left: clamp(20px, 4cqw, 56px); }
  [data-industry="hairshop"] .hero-photo > img { aspect-ratio: 1.1; }
  [data-industry="hairshop"] .offer-grid { grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, 1fr)); align-items: start; }
  [data-industry="hairshop"] .offer:first-child img { aspect-ratio: 4 / 5.4; }

  [data-industry="fashion"] .business-hero { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: stretch; }
  [data-industry="fashion"] .hero-copy { align-self: center; padding-left: max(5cqw, calc((100cqw - 1300px) / 2)); }
  [data-industry="fashion"] .hero-photo { position: relative; min-height: clamp(440px, 47cqw, 640px); }
  [data-industry="fashion"] .hero-photo > img { position: absolute; width: 100%; height: 100%; }
  [data-industry="fashion"] .hero-photo figcaption { display: none; }
  [data-industry="fashion"] .offer-grid { align-items: start; }
  [data-industry="fashion"] .offer:nth-child(2) { margin-top: clamp(20px, 4cqw, 52px); }

  [data-industry="convenience"] .business-hero {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    padding: clamp(32px, 4cqw, 52px) max(5cqw, calc((100cqw - 1300px) / 2));
  }
  [data-industry="convenience"] .business-highlights p + p { padding-left: 18px; border-left: 1px solid #7ca19a; }
  [data-industry="convenience"] .offer-body { padding: 14px 16px; }

  [data-industry="skincare"] .business-hero {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    padding-inline: max(5cqw, calc((100cqw - 1300px) / 2));
  }
  [data-industry="skincare"] .hero-photo { grid-area: 1 / 1; }
  [data-industry="skincare"] .hero-copy { grid-area: 1 / 2; }
  [data-industry="skincare"] .offer-grid .offer {
    grid-template-columns: minmax(110px, 15%) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
  }
  [data-industry="skincare"] .offer-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 23%);
    align-items: center;
    column-gap: 24px;
  }
  [data-industry="skincare"] .offer-body > :is(.offer-category, h3, .offer-description) { grid-column: 1; }
  [data-industry="skincare"] .offer-detail { grid-area: 2 / 2; margin-top: 0; }
  [data-industry="skincare"] .offer-action { grid-area: 3 / 2; }

  [data-industry="lifestyle"] .business-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: clamp(36px, 4cqw, 56px); }
  [data-industry="lifestyle"] .hero-photo { grid-row: 1; }
  [data-industry="lifestyle"] .hero-photo > img { aspect-ratio: 3.5; max-height: 320px; }
  [data-industry="lifestyle"] .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
    gap: 0 28px;
  }
  [data-industry="lifestyle"] .hero-copy > :is(.hero-kicker, h1) { grid-column: 1; }
  [data-industry="lifestyle"] .hero-copy > :is(.hero-intro, .hero-actions, .hero-announcement, .hero-links, .hero-facts) { grid-column: 2; }
  [data-industry="lifestyle"] .hero-copy h1 { grid-row: 2 / span 3; }
  [data-industry="lifestyle"] .hero-intro { grid-row: 2; margin-top: 0; }
  [data-industry="lifestyle"] .hero-copy > :is(.hero-actions, .hero-links) { grid-row: 3; margin-top: 14px; }
  [data-industry="lifestyle"] .hero-announcement { grid-row: 4; }
  [data-industry="lifestyle"] .offer-grid { grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr)); }
  [data-industry="lifestyle"] .offer:first-child img { aspect-ratio: 1.55; }

  [data-industry="florist"] .business-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
  [data-industry="florist"] .hero-photo > img { aspect-ratio: 1.23; }
  [data-industry="florist"] .offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-industry="florist"] .offer-grid .offer:first-child { display: block; grid-column: auto; }
  [data-industry="florist"] .offer:nth-child(2) img { border-radius: 36% 36% var(--radius) var(--radius) / 20% 20% var(--radius) var(--radius); }

  [data-industry="liquor"] .business-hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  [data-industry="liquor"] .hero-photo > img { aspect-ratio: 1.24; }
  [data-industry="liquor"] .offer-grid .offer { padding: 14px; }
}
