/*
Theme Name: Pet Food Guide
Theme URI: https://advance-pay.click/
Author: Self
Description: Cute, clean pet food comparison and ranking theme.
Version: 1.0.0
Text Domain: petfood-guide
*/

:root {
  --pf-ink: #24322d;
  --pf-muted: #68776f;
  --pf-line: #dce9df;
  --pf-soft: #f5fbf6;
  --pf-panel: #ffffff;
  --pf-mint: #54b889;
  --pf-mint-dark: #27845f;
  --pf-peach: #ff936d;
  --pf-honey: #f6c65b;
  --pf-cream: #fff8ed;
  --pf-max: 960px;
}

/* uniam-inspired color-block homepage */
:root {
  --pf-max: 960px;
}

.pf-uniam {
  background: #efe4d6;
  color: #1f211e;
}

.pf-uniam .pf-primary {
  min-height: 38px;
  border-radius: 999px;
  background: #ff6b2b;
  color: #fff;
  box-shadow: none;
  font-size: 13px;
}

.pf-uniam .pf-secondary {
  min-height: 38px;
  border: 1px solid #1f211e;
  border-radius: 999px;
  background: transparent;
  color: #1f211e;
  font-size: 13px;
}

.pf-uniam-hero {
  background: linear-gradient(90deg, #f1e9dd 0%, #f1e9dd 50%, #efb3c1 50%, #efb3c1 100%);
}

.pf-uniam-hero-inner {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(360px, 1.1fr);
  align-items: stretch;
  width: min(980px, 100%);
  margin: 0 auto;
  min-height: 430px;
}

.pf-uniam-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 28px;
}

.pf-uniam-kicker,
.pf-uniam-head p {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pf-uniam-brand h1 {
  margin: 0;
  font-size: clamp(54px, 10vw, 104px);
  font-weight: 950;
  line-height: .9;
  letter-spacing: -.04em;
}

.pf-uniam-brand > p:not(.pf-uniam-kicker) {
  max-width: 390px;
  margin: 24px 0 0;
  font-weight: 700;
  line-height: 1.9;
}

.pf-uniam-visual {
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
}

.pf-uniam-visual img {
  width: 100%;
  height: 100%;
  max-height: 390px;
  object-fit: cover;
}

.pf-logo-strip {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 5vw, 58px);
  padding: 18px;
  background: #efe4d6;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

.pf-color-lavender { background: #cdb1e1; }
.pf-color-neon { background: #e9f500; }

.pf-lineup,
.pf-best,
.pf-topic-band,
.pf-news,
.pf-finder-uniam {
  padding: 58px 18px;
}

.pf-uniam-head {
  width: min(920px, 100%);
  margin: 0 auto 26px;
  text-align: center;
}

.pf-uniam-head h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 950;
  line-height: 1.25;
}

.pf-product-row,
.pf-ranking-grid,
.pf-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.pf-product-tile,
.pf-uniam-product,
.pf-news-grid article {
  position: relative;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: #f7efe6;
}

.pf-product-image,
.pf-uniam-product-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.05;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}

.pf-product-image img,
.pf-uniam-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pf-product-tile p,
.pf-uniam-product p,
.pf-news-grid p {
  margin: 0 0 5px;
  font-size: 11px;
  font-weight: 900;
}

.pf-product-tile h3,
.pf-uniam-product h3,
.pf-news-grid h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.pf-product-tile a,
.pf-uniam-product h3 a,
.pf-news-grid a {
  color: #1f211e;
  text-decoration: none;
}

.pf-finder-uniam { background: #efe4d6; }

.pf-pill-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(860px, 100%);
  margin: 0 auto;
}

.pf-pill-filters label {
  display: grid;
  gap: 5px;
  min-width: 150px;
  color: #1f211e;
  font-size: 11px;
  font-weight: 900;
}

.pf-pill-filters input,
.pf-pill-filters select {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 999px;
  background: #fff;
}

.pf-finder-uniam .pf-filter-result {
  text-align: center;
}

.pf-product-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e9f500;
  color: #1f211e;
  font-size: 12px;
  font-weight: 950;
}

.pf-uniam-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.pf-uniam-specs span {
  padding: 3px 6px;
  border-radius: 999px;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}

.pf-uniam-actions {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.pf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.pf-food-section .pf-split-copy { background: #81ddc4; }

.pf-split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 7vw, 86px);
}

.pf-split-copy p {
  margin: 0 0 14px;
  font-size: clamp(42px, 8vw, 82px);
  font-weight: 950;
  line-height: .9;
}

.pf-split-copy h2 {
  margin: 0 0 16px;
  writing-mode: vertical-rl;
  font-size: 14px;
  letter-spacing: .08em;
}

.pf-split-copy span {
  max-width: 360px;
  line-height: 1.9;
  font-weight: 700;
}

.pf-split-photo { background: #efb3c1; }

.pf-split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.pf-topic-grid article {
  min-height: 160px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,.12);
  background: #efe4d6;
}

.pf-topic-grid h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.pf-topic-grid p {
  margin: 0;
  line-height: 1.8;
}

.pf-news { background: #cdb1e1; }
.pf-news-grid article { background: #efe4d6; }

.pf-news-grid img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  margin-bottom: 10px;
}

.pf-filter-empty {
  width: min(920px, 100%);
  margin: 16px auto 0;
  text-align: center;
}

@media (max-width: 900px) {
  .pf-uniam-hero-inner,
  .pf-split {
    grid-template-columns: 1fr;
  }
  .pf-uniam-brand h1 {
    font-size: clamp(48px, 16vw, 86px);
  }
  .pf-product-row,
  .pf-ranking-grid,
  .pf-news-grid,
  .pf-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pf-product-row,
  .pf-ranking-grid,
  .pf-news-grid,
  .pf-topic-grid {
    grid-template-columns: 1fr;
  }
  .pf-logo-strip {
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
  }
  .pf-lineup,
  .pf-best,
  .pf-topic-band,
  .pf-news,
  .pf-finder-uniam {
    padding: 42px 14px;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--pf-ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 147, 109, .16), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(84, 184, 137, .18), transparent 26%),
    #f7fbf7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  line-height: 1.75;
}
a { color: var(--pf-mint-dark); }
img { max-width: 100%; height: auto; }

.pf-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(36, 50, 45, .08);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}
.pf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--pf-max);
  margin: 0 auto;
  padding: 14px 18px;
}
.pf-site-title {
  color: var(--pf-ink);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}
.pf-site-desc {
  margin: 0;
  color: var(--pf-muted);
  font-size: 12px;
  font-weight: 700;
}
.pf-nav { display: flex; align-items: center; gap: 6px; }
.pf-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--pf-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.pf-nav a:hover { background: var(--pf-soft); }
.pf-nav .pf-header-cta {
  background: var(--pf-peach);
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 147, 109, .26);
}

.pf-container {
  max-width: var(--pf-max);
  margin: 0 auto;
  padding: 0 18px 54px;
}
.pf-home { overflow: hidden; }
.pf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 44%);
  gap: 28px;
  align-items: center;
  max-width: var(--pf-max);
  margin: 26px auto 0;
  padding: 34px 18px 22px;
}
.pf-hero-copy { min-width: 0; }
.pf-kicker,
.pf-section-kicker {
  margin: 0 0 8px;
  color: var(--pf-mint-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}
.pf-hero h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.18;
}
.pf-hero-lead {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--pf-muted);
  font-size: 17px;
  font-weight: 650;
}
.pf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.pf-primary,
.pf-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}
.pf-primary {
  background: var(--pf-peach);
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 147, 109, .28);
}
.pf-secondary {
  border: 1px solid var(--pf-line);
  background: #fff;
  color: var(--pf-ink);
}
.pf-hero-media {
  position: relative;
  min-height: 350px;
  border-radius: 22px;
  background: var(--pf-cream);
  overflow: hidden;
  box-shadow: 0 24px 58px rgba(37, 73, 56, .16);
}
.pf-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}
.pf-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--pf-ink);
  font-size: 13px;
  font-weight: 900;
}

.pf-section {
  max-width: var(--pf-max);
  margin: 28px auto 0;
  padding: 0 18px;
}
.pf-section-box {
  padding: 24px;
  border: 1px solid var(--pf-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 36px rgba(37, 73, 56, .08);
}
.pf-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}
.pf-section-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
}
.pf-section-lead {
  max-width: 560px;
  margin: 0;
  color: var(--pf-muted);
  font-weight: 650;
}

.pf-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.pf-guide-card {
  padding: 18px;
  border: 1px solid var(--pf-line);
  border-radius: 12px;
  background: #fff;
}
.pf-guide-card span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--pf-soft);
  font-size: 22px;
}
.pf-guide-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.pf-guide-card p {
  margin: 0;
  color: var(--pf-muted);
  font-size: 14px;
}

.pf-finder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.pf-finder-grid label {
  display: grid;
  gap: 5px;
  color: var(--pf-muted);
  font-size: 12px;
  font-weight: 900;
}
.pf-finder-grid select,
.pf-finder-grid input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--pf-line);
  border-radius: 10px;
  background: #fff;
  color: var(--pf-ink);
  font-size: 15px;
}
.pf-filter-result {
  margin: 12px 0 0;
  color: var(--pf-muted);
  font-weight: 800;
}

.pf-ranking-list {
  display: grid;
  gap: 14px;
}
.pf-ranking-card {
  display: grid;
  grid-template-columns: 54px 150px minmax(0, 1fr) 170px;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--pf-line);
  border-radius: 14px;
  background: #fff;
}
.pf-rank {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pf-honey), var(--pf-peach));
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.pf-ranking-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: var(--pf-soft);
  overflow: hidden;
}
.pf-ranking-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pf-ranking-type {
  margin: 0 0 4px;
  color: var(--pf-mint-dark);
  font-size: 12px;
  font-weight: 900;
}
.pf-ranking-body h3 {
  margin: 0;
  font-size: 21px;
}
.pf-ranking-body h3 a {
  color: var(--pf-ink);
  text-decoration: none;
}
.pf-ranking-body p {
  margin: 8px 0 0;
  color: var(--pf-muted);
  font-size: 14px;
}
.pf-mini-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.pf-mini-specs span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--pf-soft);
  color: var(--pf-ink);
  font-size: 12px;
  font-weight: 800;
}
.pf-ranking-action {
  display: grid;
  gap: 8px;
}
.pf-ranking-action .pf-primary,
.pf-ranking-action .pf-secondary {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  font-size: 14px;
}
.pf-filter-empty {
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 10px;
  background: var(--pf-cream);
  color: var(--pf-muted);
  font-weight: 800;
}

.pf-page-shell {
  margin-top: 26px;
  padding: 26px;
  border: 1px solid var(--pf-line);
  border-radius: 14px;
  background: #fff;
}
.pf-single-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: center;
}
.pf-single-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
}
.pf-single-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: var(--pf-soft);
  overflow: hidden;
}
.pf-single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pf-content h2 {
  margin-top: 34px;
  padding-left: 12px;
  border-left: 5px solid var(--pf-mint);
  font-size: 25px;
}
.pf-content h3 { margin-top: 24px; font-size: 20px; }
.pf-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid var(--pf-line);
  border-radius: 10px;
}
.pf-content th,
.pf-content td {
  padding: 12px;
  border-bottom: 1px solid var(--pf-line);
  vertical-align: top;
}
.pf-content th {
  width: 180px;
  background: var(--pf-soft);
  text-align: left;
}
.pf-sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
}

.pf-site-footer {
  margin-top: 48px;
  padding: 28px 18px;
  border-top: 1px solid var(--pf-line);
  background: #fff;
  color: var(--pf-muted);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 900px) {
  .pf-hero,
  .pf-single-hero {
    grid-template-columns: 1fr;
  }
  .pf-guide-grid,
  .pf-finder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pf-ranking-card {
    grid-template-columns: 44px 112px minmax(0, 1fr);
  }
  .pf-ranking-action {
    grid-column: 2 / -1;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .pf-header-inner { align-items: flex-start; }
  .pf-nav { display: none; }
  .pf-hero { padding-top: 20px; }
  .pf-hero-media,
  .pf-hero-media img { min-height: 260px; }
  .pf-section-head { display: block; }
  .pf-guide-grid,
  .pf-finder-grid,
  .pf-ranking-card {
    grid-template-columns: 1fr;
  }
  .pf-ranking-action {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .pf-ranking-thumb { max-width: 180px; }
  .pf-content th,
  .pf-content td {
    display: block;
    width: 100%;
  }
  .pf-sticky-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .pf-sticky-cta .pf-primary { width: 100%; }
}

/* v2: premium pet brand inspired homepage */
.pf-home-v2 {
  background:
    linear-gradient(180deg, #fffdf8 0%, #f4fbf6 54%, #ffffff 100%);
}

.pf-home-v2 .pf-kicker,
.pf-home-v2 .pf-section-kicker {
  color: #2f8f6a;
  font-size: 12px;
  letter-spacing: .08em;
}

.pf-hero-v2 {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, .94fr);
  gap: 28px;
  align-items: center;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 46px 0 28px;
}

.pf-hero-v2-copy {
  position: relative;
  z-index: 2;
  padding: 38px 0 38px 12px;
}

.pf-hero-v2-copy h1 {
  max-width: 560px;
  margin: 0;
  color: #21362e;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", serif;
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 700;
  line-height: 1.08;
}

.pf-hero-v2 .pf-hero-lead {
  max-width: 500px;
  margin-top: 22px;
  color: #51655d;
  font-size: 17px;
  line-height: 2;
}

.pf-hero-v2-photo {
  position: relative;
  margin: 0;
  min-height: 500px;
  border-radius: 28px 28px 28px 76px;
  overflow: hidden;
  background: #f2f7ee;
  box-shadow: 0 28px 64px rgba(35, 76, 55, .14);
}

.pf-hero-v2-photo::after {
  content: "";
  position: absolute;
  inset: auto 26px 26px auto;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 50%;
  background: rgba(255,255,255,.54);
}

.pf-hero-v2-photo img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.pf-soft-search {
  width: min(920px, calc(100% - 36px));
  margin: 6px auto 0;
  padding: 26px;
  border: 1px solid rgba(58, 104, 78, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 34px rgba(45, 86, 61, .08);
}

.pf-soft-search-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.pf-soft-search-head h2,
.pf-choice-copy h2,
.pf-ranking-heading h2 {
  margin: 0;
  color: #21362e;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", serif;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.22;
}

.pf-finder-grid-v2 {
  grid-template-columns: 1.25fr repeat(3, 1fr);
}

.pf-intent-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(920px, calc(100% - 36px));
  margin: 26px auto 0;
}

.pf-intent-band a {
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid #e0ece3;
  border-radius: 18px;
  background: #fff;
  color: #21362e;
  text-decoration: none;
}

.pf-intent-band a:hover {
  border-color: #acd6bd;
  background: #fbfffc;
}

.pf-intent-band strong {
  font-size: 16px;
}

.pf-intent-band span {
  color: #697b72;
  font-size: 13px;
}

.pf-finder-grid-v2 label {
  color: #465a52;
}

.pf-finder-grid-v2 select,
.pf-finder-grid-v2 input {
  border-color: #d9e8dd;
  border-radius: 14px;
  background: #fbfffc;
}

.pf-choice-band {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 36px;
  align-items: center;
  width: min(920px, calc(100% - 36px));
  margin: 58px auto 0;
  padding: 36px;
  border-radius: 28px;
  background: #274338;
  color: #fff;
}

.pf-choice-copy p:not(.pf-section-kicker) {
  margin: 18px 0 0;
  color: rgba(255,255,255,.78);
}

.pf-choice-band .pf-section-kicker {
  color: #b7ebcb;
}

.pf-choice-copy h2 {
  color: #fff;
}

.pf-choice-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pf-choice-cards article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}

.pf-choice-cards span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 28px;
  border-radius: 12px;
  background: #ffdf88;
  color: #274338;
  font-size: 12px;
  font-weight: 900;
}

.pf-choice-cards h3 {
  margin: 14px 0 6px;
  font-size: 20px;
}

.pf-choice-cards p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.pf-ranking-section {
  width: min(920px, calc(100% - 36px));
  margin: 58px auto 0;
  padding-bottom: 64px;
}

.pf-ranking-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, .56fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.pf-ranking-heading p:last-child {
  margin: 0;
  color: #5f7169;
  line-height: 1.9;
}

.pf-ranking-list-v2 {
  gap: 18px;
}

.pf-ranking-card-v2 {
  grid-template-columns: 52px 210px minmax(0, 1fr);
  padding: 20px;
  border-color: rgba(58, 104, 78, .12);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(45, 86, 61, .075);
}

.pf-ranking-card-v2 .pf-rank {
  width: 42px;
  height: 42px;
  background: #274338;
  color: #fff;
}

.pf-ranking-card-v2 .pf-ranking-thumb {
  min-height: 196px;
  border-radius: 18px;
  background: #f8fbf8;
}

.pf-ranking-card-v2 .pf-ranking-body h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", serif;
  font-size: 26px;
}

.pf-ranking-card-v2 .pf-ranking-action {
  grid-column: 3;
  grid-template-columns: 1fr 1fr;
  display: grid;
  gap: 8px;
}

.pf-ranking-card-v2 .pf-primary {
  background: #ff7d5f;
}

.pf-ranking-card-v2 .pf-secondary {
  background: #f7fbf8;
}

.pf-ranking-card-v2 .pf-mini-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.pf-ranking-card-v2 .pf-mini-specs span {
  display: block;
  padding: 7px 10px;
  border: 1px solid #e0ece3;
  border-radius: 12px;
  background: #fbfdfb;
  color: #334a40;
  font-size: 12px;
}

@media (max-width: 960px) {
  .pf-hero-v2,
  .pf-choice-band,
  .pf-ranking-heading {
    grid-template-columns: 1fr;
  }
  .pf-hero-v2-photo,
  .pf-hero-v2-photo img {
    min-height: 390px;
  }
  .pf-finder-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pf-intent-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pf-ranking-card-v2 {
    grid-template-columns: 48px 180px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .pf-hero-v2 {
    width: min(100% - 24px, 560px);
    padding-top: 28px;
  }
  .pf-hero-v2-copy {
    padding: 12px 0;
  }
  .pf-hero-v2-photo {
    border-radius: 24px 24px 24px 60px;
  }
  .pf-hero-v2-photo,
  .pf-hero-v2-photo img {
    min-height: 310px;
  }
  .pf-soft-search,
  .pf-intent-band,
  .pf-choice-band,
  .pf-ranking-section {
    width: calc(100% - 24px);
  }
  .pf-soft-search,
  .pf-choice-band {
    padding: 20px;
    border-radius: 24px;
  }
  .pf-soft-search-head {
    display: block;
  }
  .pf-finder-grid-v2,
  .pf-intent-band,
  .pf-choice-cards,
  .pf-ranking-card-v2 {
    grid-template-columns: 1fr;
  }
  .pf-ranking-card-v2 .pf-ranking-thumb {
    max-width: 220px;
  }
  .pf-ranking-card-v2 .pf-ranking-action {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .pf-ranking-card-v2 .pf-mini-specs {
    grid-template-columns: 1fr;
  }
}

/* Premium small-dog food LP overrides */
.pf-premium {
  background: #fff7e8;
  color: #33230f;
}

.pf-premium * {
  box-sizing: border-box;
}

.pf-site-header {
  background: rgba(255, 248, 232, .96);
  border-bottom: 1px solid rgba(185, 138, 45, .24);
  backdrop-filter: blur(14px);
}

.pf-site-header a,
.pf-site-title {
  color: #33230f;
}

.pf-premium-hero {
  padding: 18px 18px 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, .9), transparent 28%),
    linear-gradient(180deg, #fff5dc 0%, #fff7e8 100%);
}

.pf-premium-hero-link {
  display: block;
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(185, 138, 45, .26);
  border-radius: 18px;
  box-shadow: 0 24px 56px rgba(92, 57, 12, .16);
}

.pf-premium-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.pf-logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: min(980px, calc(100% - 32px));
  margin: 22px auto 0;
  padding: 12px;
  border: 1px solid rgba(185, 138, 45, .24);
  border-radius: 999px;
  background: #fffdf6;
  box-shadow: 0 10px 28px rgba(92, 57, 12, .07);
}

.pf-logo-strip span {
  padding: 7px 16px;
  border-radius: 999px;
  background: #f7ecd3;
  color: #6b4714;
  font-size: 13px;
  font-weight: 800;
}

.pf-lineup,
.pf-best,
.pf-finder-uniam,
.pf-topic-band,
.pf-news,
.pf-premium-guide {
  width: min(1040px, calc(100% - 36px));
  margin: 52px auto 0;
}

.pf-color-lavender,
.pf-color-neon,
.pf-lineup,
.pf-best,
.pf-topic-band,
.pf-news {
  background: transparent;
}

.pf-uniam-head {
  margin-bottom: 20px;
  text-align: center;
}

.pf-uniam-head p,
.pf-guide-kicker {
  margin: 0 0 8px;
  color: #a67821;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.pf-uniam-head h2,
.pf-premium-guide h2 {
  margin: 0;
  color: #33230f;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", serif;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.25;
}

.pf-product-row,
.pf-ranking-grid,
.pf-topic-grid,
.pf-news-grid {
  display: grid;
  gap: 18px;
}

.pf-product-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pf-ranking-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pf-topic-grid,
.pf-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pf-product-tile,
.pf-uniam-product,
.pf-topic-grid article,
.pf-news-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(185, 138, 45, .24);
  border-radius: 16px;
  background: #fffdf6;
  box-shadow: 0 14px 34px rgba(92, 57, 12, .09);
}

.pf-product-tile,
.pf-uniam-product {
  padding: 16px;
}

.pf-product-image,
.pf-uniam-product-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffaf0, #f6ead3);
}

.pf-product-image img,
.pf-uniam-product-image img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.pf-product-tile p,
.pf-uniam-product > p {
  margin: 0 0 6px;
  color: #8d6a27;
  font-size: 12px;
  font-weight: 800;
}

.pf-product-tile h3,
.pf-uniam-product h3 {
  margin: 0 0 12px;
  color: #33230f;
  font-size: 18px;
  line-height: 1.45;
}

.pf-product-tile a,
.pf-uniam-product h3 a,
.pf-news-grid a {
  color: inherit;
  text-decoration: none;
}

.pf-product-tile > a:last-child,
.pf-primary,
.pf-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.pf-product-tile > a:last-child,
.pf-primary {
  border: 1px solid rgba(216, 184, 106, .95);
  background: linear-gradient(180deg, #668b3e, #3f6b28);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 18px rgba(63, 107, 40, .22);
}

.pf-secondary {
  border: 1px solid rgba(185, 138, 45, .4);
  background: #fff8e7;
  color: #61410f;
}

.pf-product-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #c3922f;
  border-radius: 999px;
  background: linear-gradient(145deg, #fff4ba, #c89124);
  color: #4d320e;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 900;
}

.pf-uniam-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 14px;
}

.pf-uniam-specs span {
  padding: 6px 9px;
  border: 1px solid rgba(185, 138, 45, .22);
  border-radius: 999px;
  background: #fff8e7;
  color: #6b4714;
  font-size: 12px;
  font-weight: 700;
}

.pf-uniam-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pf-finder-uniam {
  padding: 32px;
  border: 1px solid rgba(185, 138, 45, .24);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(216, 184, 106, .28), transparent 32%),
    #f8ecd4;
  box-shadow: 0 18px 42px rgba(92, 57, 12, .08);
}

.pf-pill-filters {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 12px;
}

.pf-pill-filters label span {
  display: block;
  margin: 0 0 6px;
  color: #6b4714;
  font-size: 12px;
  font-weight: 900;
}

.pf-pill-filters input,
.pf-pill-filters select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(185, 138, 45, .32);
  border-radius: 999px;
  background: #fffdf6;
  color: #33230f;
}

.pf-filter-result,
.pf-filter-empty {
  margin: 16px 0 0;
  color: #6b4714;
  text-align: center;
  font-weight: 800;
}

.pf-premium-guide {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, #456f2c, #2f5726);
  color: #fff8e7;
}

.pf-premium-guide h2 {
  color: #fff8e7;
}

.pf-premium-guide p {
  line-height: 1.9;
}

.pf-guide-kicker {
  color: #f1d27a;
}

.pf-guide-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pf-guide-points article {
  min-height: 168px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.1);
}

.pf-guide-points span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 32px;
  border-radius: 999px;
  background: #f1d27a;
  color: #3b2a10;
  font-weight: 900;
}

.pf-guide-points h3 {
  margin: 14px 0 6px;
}

.pf-guide-points p,
.pf-premium-guide > div > p:not(.pf-guide-kicker) {
  color: rgba(255,248,231,.86);
}

.pf-topic-grid article,
.pf-news-grid article {
  padding: 22px;
}

.pf-news-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 960px) {
  .pf-product-row,
  .pf-ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-pill-filters,
  .pf-premium-guide,
  .pf-topic-grid,
  .pf-news-grid {
    grid-template-columns: 1fr;
  }

  .pf-guide-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pf-premium-hero {
    padding: 10px 10px 0;
  }

  .pf-premium-hero-link {
    border-radius: 12px;
  }

  .pf-logo-strip,
  .pf-lineup,
  .pf-best,
  .pf-finder-uniam,
  .pf-topic-band,
  .pf-news,
  .pf-premium-guide {
    width: calc(100% - 20px);
    margin-top: 34px;
  }

  .pf-product-row,
  .pf-ranking-grid,
  .pf-guide-points {
    grid-template-columns: 1fr;
  }

  .pf-finder-uniam,
  .pf-premium-guide {
    padding: 22px;
    border-radius: 18px;
  }

  .pf-uniam-head h2,
  .pf-premium-guide h2 {
    font-size: 28px;
  }
}

/* Database-style homepage */
.pf-db {
  background: #fff8ea;
  color: #2d2112;
}

.pf-db a {
  color: inherit;
}

.pf-db-hero,
.pf-db-search,
.pf-db-rank,
.pf-db-panels,
.pf-news {
  width: min(1120px, calc(100% - 36px));
  margin-right: auto;
  margin-left: auto;
}

.pf-db-hero {
  display: grid;
  grid-template-columns: minmax(340px, .82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: stretch;
  padding-top: 22px;
}

.pf-db-hero-copy,
.pf-db-search,
.pf-db-rank,
.pf-db-panel {
  border: 1px solid rgba(168, 121, 38, .24);
  background: #fffdf7;
  box-shadow: 0 14px 34px rgba(86, 54, 14, .08);
}

.pf-db-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border-radius: 18px;
}

.pf-db-kicker {
  margin: 0 0 8px;
  color: #996f23;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.pf-db-hero h1,
.pf-db-search h2,
.pf-db-section-head h2,
.pf-db-panel h2 {
  margin: 0;
  color: #2f2416;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", serif;
  line-height: 1.25;
}

.pf-db-hero h1 {
  font-size: clamp(34px, 4vw, 54px);
}

.pf-db-hero-copy > p:not(.pf-db-kicker) {
  margin: 18px 0 0;
  color: #6a5942;
  line-height: 1.9;
}

.pf-db-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.pf-db-stats span {
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(168, 121, 38, .24);
  border-radius: 14px;
  background: #fff6dc;
  color: #6a4715;
  font-size: 12px;
  font-weight: 800;
}

.pf-db-stats strong {
  display: block;
  color: #3f6328;
  font-size: 26px;
  line-height: 1.2;
}

.pf-db-hero-image {
  display: block;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(168, 121, 38, .24);
  border-radius: 18px;
  background: #fff1cf;
  box-shadow: 0 14px 34px rgba(86, 54, 14, .08);
}

.pf-db-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pf-db-search {
  position: sticky;
  top: 72px;
  z-index: 8;
  margin-top: 22px;
  padding: 22px;
  border-radius: 18px;
}

.pf-db-search-head,
.pf-db-section-head {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pf-db-search h2,
.pf-db-section-head h2,
.pf-db-panel h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.pf-db .pf-pill-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 10px;
}

.pf-db .pf-pill-filters input,
.pf-db .pf-pill-filters select {
  min-height: 46px;
  border-radius: 12px;
}

.pf-db .pf-filter-result {
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef5e8;
  color: #3f6328;
  white-space: nowrap;
}

.pf-db-rank {
  margin-top: 28px;
  padding: 24px;
  border-radius: 20px;
}

.pf-db-section-head > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid rgba(168, 121, 38, .3);
  border-radius: 999px;
  background: #fff6dc;
  color: #6a4715;
  font-weight: 900;
  text-decoration: none;
}

.pf-db-table {
  display: grid;
  gap: 10px;
}

.pf-db-table-head,
.pf-db-row {
  display: grid;
  grid-template-columns: 64px minmax(210px, .9fr) minmax(190px, .82fr) minmax(260px, 1fr) 148px;
  gap: 14px;
  align-items: center;
}

.pf-db-table-head {
  padding: 0 14px 8px;
  color: #8a6a35;
  font-size: 12px;
  font-weight: 900;
}

.pf-db-row {
  padding: 14px;
  border: 1px solid rgba(168, 121, 38, .22);
  border-radius: 16px;
  background: #fffaf0;
}

.pf-db-row[hidden] {
  display: none;
}

.pf-db-rank-num span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #bd8b2c;
  border-radius: 999px;
  background: linear-gradient(145deg, #fff2b3, #c9942f);
  color: #432d10;
  font-size: 18px;
  font-weight: 900;
}

.pf-db-product {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.pf-db-thumb {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #fff;
}

.pf-db-thumb img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.pf-db-product strong {
  font-size: 18px;
  line-height: 1.4;
}

.pf-db-specs,
.pf-db-actions {
  display: grid;
  gap: 7px;
}

.pf-db-specs span {
  display: block;
  padding: 7px 9px;
  border: 1px solid rgba(168, 121, 38, .18);
  border-radius: 10px;
  background: #fffdf7;
  color: #5c4b35;
  font-size: 12px;
}

.pf-db-summary p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #4d412f;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pf-db-summary small {
  display: block;
  margin-top: 6px;
  color: #996f23;
  font-weight: 800;
}

.pf-db-actions .pf-primary,
.pf-db-actions .pf-secondary {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.pf-db-panels {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  margin-top: 28px;
}

.pf-db-panel {
  padding: 24px;
  border-radius: 20px;
}

.pf-db-mini-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.pf-db-mini-list a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(168, 121, 38, .18);
  border-radius: 14px;
  background: #fffaf0;
  text-decoration: none;
}

.pf-db-mini-list span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: #fff;
  grid-row: span 2;
}

.pf-db-mini-list img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.pf-db-mini-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pf-db-mini-list em {
  color: #6a5942;
  font-size: 12px;
  font-style: normal;
}

.pf-db-choice {
  background: linear-gradient(135deg, #42692d, #2e5425);
  color: #fff8e6;
}

.pf-db-choice .pf-db-kicker,
.pf-db-choice h2 {
  color: #fff1af;
}

.pf-db-choice ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.pf-db-choice li {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.1);
}

.pf-db-choice strong,
.pf-db-choice span {
  display: block;
}

.pf-db-choice span {
  margin-top: 4px;
  color: rgba(255,248,230,.78);
  font-size: 13px;
}

.pf-db .pf-news {
  margin-top: 34px;
}

@media (max-width: 1040px) {
  .pf-db-hero,
  .pf-db-panels {
    grid-template-columns: 1fr;
  }

  .pf-db-hero-image {
    min-height: 320px;
  }

  .pf-db-search {
    position: static;
  }

  .pf-db .pf-pill-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-db-table-head {
    display: none;
  }

  .pf-db-row {
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
  }

  .pf-db-specs,
  .pf-db-summary,
  .pf-db-actions {
    grid-column: 2;
  }

  .pf-db-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pf-db-hero,
  .pf-db-search,
  .pf-db-rank,
  .pf-db-panels,
  .pf-news {
    width: calc(100% - 20px);
  }

  .pf-db-hero-copy,
  .pf-db-search,
  .pf-db-rank,
  .pf-db-panel {
    padding: 18px;
    border-radius: 16px;
  }

  .pf-db-hero h1 {
    font-size: 32px;
  }

  .pf-db-stats,
  .pf-db .pf-pill-filters,
  .pf-db-mini-list {
    grid-template-columns: 1fr;
  }

  .pf-db-search-head,
  .pf-db-section-head {
    display: block;
  }

  .pf-db .pf-filter-result {
    margin-top: 12px;
    white-space: normal;
  }

  .pf-db-product {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .pf-db-thumb {
    width: 62px;
    height: 62px;
  }
}

/* Sidebar database navigation */
.pf-db-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
  width: min(1120px, calc(100% - 36px));
  margin: 28px auto 0;
}

.pf-db-layout .pf-db-rank,
.pf-db-layout .pf-db-panels,
.pf-db-layout .pf-news {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.pf-db-layout .pf-db-rank {
  margin-top: 0;
}

.pf-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.pf-side-card {
  padding: 18px;
  border: 1px solid rgba(168, 121, 38, .24);
  border-radius: 18px;
  background: #fffdf7;
  box-shadow: 0 14px 34px rgba(86, 54, 14, .08);
}

.pf-side-card h2 {
  margin: 0 0 14px;
  color: #2f2416;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", serif;
  font-size: 22px;
  line-height: 1.3;
}

.pf-side-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.pf-side-stats span {
  padding: 10px;
  border: 1px solid rgba(168, 121, 38, .2);
  border-radius: 12px;
  background: #fff6dc;
  color: #6a4715;
  font-size: 12px;
  font-weight: 800;
}

.pf-side-stats strong {
  display: block;
  color: #3f6328;
  font-size: 24px;
  line-height: 1.15;
}

.pf-side-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(216, 184, 106, .95);
  border-radius: 999px;
  background: linear-gradient(180deg, #668b3e, #3f6b28);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.pf-side-ranking {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: side-rank;
}

.pf-side-ranking li {
  counter-increment: side-rank;
}

.pf-side-ranking a {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 8px;
  border: 1px solid rgba(168, 121, 38, .18);
  border-radius: 14px;
  background: #fffaf0;
  text-decoration: none;
}

.pf-side-ranking a::before {
  content: counter(side-rank);
  position: absolute;
  top: 5px;
  left: 5px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #c9942f;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.pf-side-ranking span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #fff;
}

.pf-side-ranking img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.pf-side-ranking strong {
  overflow: hidden;
  color: #2f2416;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pf-side-empty {
  color: #6a5942;
  font-size: 13px;
}

.pf-side-guide {
  background: linear-gradient(135deg, #42692d, #2e5425);
  color: #fff8e6;
}

.pf-side-guide .pf-db-kicker,
.pf-side-guide h2 {
  color: #fff1af;
}

.pf-side-guide ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-side-guide li {
  padding: 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.1);
}

.pf-side-guide strong,
.pf-side-guide span {
  display: block;
}

.pf-side-guide span {
  margin-top: 2px;
  color: rgba(255,248,230,.78);
  font-size: 12px;
}

.pf-db-detail-layout,
.pf-db-archive-layout {
  padding-top: 22px;
}

.pf-detail-shell {
  border: 1px solid rgba(168, 121, 38, .24);
  border-radius: 20px;
  background: #fffdf7;
  box-shadow: 0 14px 34px rgba(86, 54, 14, .08);
}

.pf-db-archive-layout .pf-db-section-head h1 {
  margin: 0;
  color: #2f2416;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
}

@media (max-width: 1040px) {
  .pf-db-layout {
    grid-template-columns: 1fr;
  }

  .pf-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .pf-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pf-db-layout {
    width: calc(100% - 20px);
    gap: 16px;
  }
}

/* Refined top page: softer database entrance */
.pf-home {
  background:
    linear-gradient(180deg, #fff4df 0, #fff9ef 520px, #fff8ea 100%);
}

.pf-home-hero,
.pf-home-search,
.pf-home-picks {
  width: min(1120px, calc(100% - 36px));
  margin-right: auto;
  margin-left: auto;
}

.pf-home-hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  gap: 20px;
  align-items: stretch;
  padding-top: 22px;
}

.pf-home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: 34px;
  border: 1px solid rgba(168, 121, 38, .22);
  border-radius: 22px;
  background: #fffdf7;
  box-shadow: 0 14px 34px rgba(86, 54, 14, .08);
}

.pf-home-hero-copy h1 {
  margin: 0;
  color: #2f2416;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", serif;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.18;
}

.pf-home-hero-copy > p:not(.pf-db-kicker) {
  margin: 18px 0 0;
  color: #6a5942;
  line-height: 1.9;
}

.pf-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pf-home-actions .pf-primary,
.pf-home-actions .pf-secondary {
  min-width: 156px;
}

.pf-home-hero-media {
  display: block;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(168, 121, 38, .22);
  border-radius: 22px;
  background: #fff0ce;
  box-shadow: 0 14px 34px rgba(86, 54, 14, .08);
}

.pf-home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.pf-home-search {
  position: relative;
  z-index: 6;
  margin-top: -22px;
  padding: 22px;
  border: 1px solid rgba(168, 121, 38, .24);
  border-radius: 20px;
  background: rgba(255, 253, 247, .98);
  box-shadow: 0 18px 44px rgba(86, 54, 14, .12);
}

.pf-home-search-title {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pf-home-search-title h2,
.pf-home-picks .pf-db-section-head h2 {
  margin: 0;
  color: #2f2416;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", serif;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
}

.pf-home-search .pf-pill-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(132px, 1fr));
  gap: 10px;
}

.pf-home-search .pf-pill-filters input,
.pf-home-search .pf-pill-filters select {
  border-radius: 14px;
}

.pf-home-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pf-home-search-chips a {
  padding: 7px 13px;
  border: 1px solid rgba(168, 121, 38, .22);
  border-radius: 999px;
  background: #fff6dc;
  color: #6a4715;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.pf-home-picks {
  margin-top: 34px;
}

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

.pf-pick-card {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  min-height: 220px;
  padding: 18px;
  border: 1px solid rgba(168, 121, 38, .24);
  border-radius: 20px;
  background: #fffdf7;
  box-shadow: 0 14px 34px rgba(86, 54, 14, .08);
}

.pf-pick-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(145deg, #fff2b3, #c9942f);
  color: #432d10;
  font-size: 12px;
  font-weight: 900;
}

.pf-pick-image {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf0, #f5ead5);
}

.pf-pick-image img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.pf-pick-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pf-pick-body h3 {
  margin: 0;
  color: #2f2416;
  font-size: 20px;
  line-height: 1.4;
}

.pf-pick-body h3 a {
  color: inherit;
  text-decoration: none;
}

.pf-pick-body p {
  display: -webkit-box;
  margin: 10px 0;
  overflow: hidden;
  color: #5c4b35;
  font-size: 13px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.pf-pick-body > span {
  margin-top: auto;
  color: #8a6322;
  font-size: 12px;
  font-weight: 900;
}

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

.pf-pick-actions .pf-primary,
.pf-pick-actions .pf-secondary {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 13px;
}

.pf-home .pf-db-layout {
  margin-top: 32px;
}

@media (max-width: 1080px) {
  .pf-home-hero,
  .pf-pick-grid {
    grid-template-columns: 1fr;
  }

  .pf-home-hero-media {
    min-height: 300px;
  }

  .pf-pick-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .pf-home-search-title {
    display: block;
  }

  .pf-home-search-title .pf-filter-result {
    margin-top: 12px;
  }

  .pf-home-search .pf-pill-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pf-home-hero,
  .pf-home-search,
  .pf-home-picks {
    width: calc(100% - 20px);
  }

  .pf-home-hero {
    gap: 12px;
    padding-top: 10px;
  }

  .pf-home-hero-copy,
  .pf-home-search,
  .pf-pick-card {
    padding: 18px;
    border-radius: 16px;
  }

  .pf-home-hero-copy {
    min-height: auto;
  }

  .pf-home-hero-media {
    min-height: 220px;
  }

  .pf-home-search {
    margin-top: 12px;
  }

  .pf-pick-card {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 190px;
  }
}

/* Zukan-style top page inspired by foods.html */
.pf-zukan {
  background: #f7f0e1;
  color: #3c352a;
}

.pf-zukan a {
  text-decoration: none;
}

.pf-zukan-hero,
.pf-zukan-cats,
.pf-zukan-picks,
.pf-zukan-layout {
  width: min(1320px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.pf-zukan-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px) 0;
}

.pf-zukan-copy h1 {
  margin: 0;
  color: #3c352a;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.18;
  letter-spacing: .02em;
}

.pf-zukan-copy > p:not(.pf-db-kicker) {
  max-width: 560px;
  margin: 18px 0 0;
  color: #6c6353;
  line-height: 1.9;
}

.pf-zukan-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 26px;
}

.pf-zukan-stats span {
  min-width: 110px;
  color: #9c937f;
  font-size: 12px;
  font-weight: 800;
}

.pf-zukan-stats strong {
  display: block;
  color: #3c352a;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 32px;
  line-height: 1.1;
}

.pf-zukan-visual {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.45 / 1;
  border: 1px solid #e7ddc9;
  border-radius: 22px;
  background: #efe5d0;
  box-shadow: 0 30px 60px -42px rgba(120, 90, 30, .62);
}

.pf-zukan-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pf-zukan-cats {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  padding: 13px 0;
  border-top: 1px solid #e7ddc9;
  border-bottom: 1px solid #e7ddc9;
}

.pf-zukan-cats span {
  flex: none;
  color: #6c6353;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 13px;
  font-weight: 900;
}

.pf-zukan-cats a {
  flex: none;
  padding: 8px 15px;
  border: 1px solid #e7ddc9;
  border-radius: 999px;
  background: #fffdf7;
  color: #6c6353;
  font-size: 13px;
  font-weight: 800;
}

.pf-zukan-picks {
  margin-top: 34px;
}

.pf-zukan-section-head {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pf-zukan-section-head h2 {
  margin: 0;
  color: #3c352a;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 3vw, 42px);
}

.pf-zukan-section-head > a {
  padding: 9px 16px;
  border: 1px solid #e7ddc9;
  border-radius: 999px;
  background: #fffdf7;
  color: #6c6353;
  font-size: 13px;
  font-weight: 900;
}

.pf-zukan-layout {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 36px);
  align-items: start;
  padding: 34px 0 86px;
}

.pf-zukan-filter {
  position: sticky;
  top: 86px;
  overflow: hidden;
  border: 1px solid #e7ddc9;
  border-radius: 16px;
  background: #fffdf7;
  box-shadow: 0 18px 40px -26px rgba(120, 90, 30, .45);
}

.pf-zukan-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #e7ddc9;
  background: #fbf7ee;
}

.pf-zukan-filter-head strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 15px;
}

.pf-zukan-filter-head a {
  color: #4d6731;
  font-size: 12px;
  font-weight: 900;
}

.pf-zukan-filter label {
  display: block;
  padding: 15px 18px;
  border-bottom: 1px solid #efe7d6;
}

.pf-zukan-filter label span {
  display: block;
  margin-bottom: 8px;
  color: #9a7522;
  font-size: 12px;
  font-weight: 900;
}

.pf-zukan-filter input,
.pf-zukan-filter select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #e7ddc9;
  border-radius: 10px;
  background: #fffdf7;
  color: #3c352a;
}

.pf-zukan-guide {
  padding: 16px 18px;
}

.pf-zukan-guide ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-zukan-guide li {
  padding: 8px 10px;
  border-radius: 9px;
  background: #eaf0e0;
  color: #4d6731;
  font-size: 13px;
  font-weight: 800;
}

.pf-zukan-toolbar {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pf-zukan-toolbar h2 {
  margin: 0;
  color: #3c352a;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 3vw, 42px);
}

.pf-zukan-toolbar .pf-filter-result {
  margin: 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: #eaf0e0;
  color: #4d6731;
  font-size: 13px;
  font-weight: 900;
}

.pf-zukan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pf-food-card {
  overflow: hidden;
  border: 1px solid #e7ddc9;
  border-radius: 16px;
  background: #fffdf7;
  box-shadow: 0 18px 40px -32px rgba(120, 90, 30, .45);
}

.pf-food-card[hidden] {
  display: none;
}

.pf-food-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.48 / 1;
  border-bottom: 1px solid #efe7d6;
  background: linear-gradient(160deg, #fbf6ea, #f1e7d2);
}

.pf-food-thumb img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.pf-food-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: radial-gradient(120% 120% at 30% 25%, #d8b765, #a47c28);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.pf-food-body {
  padding: 16px 17px 18px;
}

.pf-food-body > p:first-child {
  margin: 0;
  color: #9c937f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.pf-food-body h3 {
  margin: 5px 0 0;
  color: #3c352a;
  font-size: 18px;
  line-height: 1.4;
}

.pf-food-body h3 a {
  color: inherit;
}

.pf-food-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 12px 0;
}

.pf-food-specs span {
  padding: 7px 9px;
  border: 1px solid #efe7d6;
  border-radius: 9px;
  background: #fbf7ee;
  color: #6c6353;
  font-size: 12px;
}

.pf-food-summary {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #6c6353;
  font-size: 13px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.pf-food-body small {
  display: block;
  margin-top: 8px;
  color: #9a7522;
  font-size: 12px;
  font-weight: 800;
}

.pf-food-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.pf-food-actions .pf-primary,
.pf-food-actions .pf-secondary {
  min-height: 39px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .pf-zukan-hero,
  .pf-zukan-layout {
    grid-template-columns: 1fr;
  }

  .pf-zukan-filter {
    position: static;
  }

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

@media (max-width: 760px) {
  .pf-zukan-section-head,
  .pf-zukan-toolbar {
    display: block;
  }

  .pf-zukan-section-head > a,
  .pf-zukan-toolbar .pf-filter-result {
    display: inline-flex;
    margin-top: 12px;
  }

  .pf-zukan-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pf-zukan-hero,
  .pf-zukan-cats,
  .pf-zukan-picks,
  .pf-zukan-layout {
    width: calc(100% - 20px);
  }

  .pf-zukan-hero {
    padding: 18px 0;
  }

  .pf-zukan-copy h1 {
    font-size: 38px;
  }

  .pf-zukan-visual {
    aspect-ratio: 1.2 / 1;
  }
}

/* foods.html compatible typography, filters, SEO blocks */
:root {
  --pf-disp: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --pf-jp: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

body,
.pf-zukan {
  font-family: var(--pf-jp);
}

.pf-zukan h1,
.pf-zukan h2,
.pf-zukan h3,
.pf-zukan h4,
.pf-zukan-copy h1,
.pf-zukan-section-head h2,
.pf-zukan-toolbar h2,
.pf-archive-lead h1 {
  font-family: var(--pf-disp);
  letter-spacing: .02em;
}

.pf-zukan-filter .fgroup {
  padding: 16px 18px;
  border-bottom: 1px solid #efe7d6;
}

.pf-zukan-filter .fgroup h4 {
  margin: 0 0 11px;
  color: #9a7522;
  font-family: var(--pf-disp);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
}

.pf-filter-search {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #e7ddc9;
  border-radius: 10px;
  background: #fffdf7;
  color: #3c352a;
  font-family: var(--pf-jp);
}

.pf-zukan-filter .opt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 29px;
  padding: 5px 0;
  color: #6c6353;
  font-size: 13.5px;
  cursor: pointer;
  user-select: none;
}

.pf-zukan-filter .opt input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.pf-zukan-filter .opt .box {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  border: 1.5px solid #e7ddc9;
  border-radius: 5px;
  background: #fffdf7;
}

.pf-zukan-filter .opt .box::after {
  content: "";
  width: 9px;
  height: 5px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  opacity: 0;
  transform: rotate(-45deg) translateY(-1px);
}

.pf-zukan-filter .opt input:checked + .box {
  border-color: #5f7c40;
  background: #5f7c40;
}

.pf-zukan-filter .opt input:checked + .box::after {
  opacity: 1;
}

.pf-zukan-filter .opt:hover {
  color: #3c352a;
}

.pf-seo-lead,
.pf-seo-faq,
.pf-archive-lead {
  width: min(1120px, calc(100% - 40px));
  margin: 34px auto 0;
  border: 1px solid #e7ddc9;
  border-radius: 20px;
  background: #fffdf7;
  box-shadow: 0 18px 40px -30px rgba(120, 90, 30, .42);
}

.pf-seo-lead {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.pf-seo-lead h2,
.pf-seo-faq h2,
.pf-archive-lead h1 {
  margin: 0;
  color: #3c352a;
  font-family: var(--pf-disp);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.32;
}

.pf-seo-lead p,
.pf-archive-lead p {
  margin: 14px 0 0;
  color: #6c6353;
  line-height: 1.95;
}

.pf-seo-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pf-seo-points article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid #efe7d6;
  border-radius: 14px;
  background: #fbf7ee;
}

.pf-seo-points span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #e8d29a;
  color: #4d3a12;
  font-weight: 900;
}

.pf-seo-points h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.pf-seo-points p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}

.pf-seo-faq {
  padding: 28px;
  margin-bottom: 72px;
}

.pf-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.pf-faq-list details {
  border: 1px solid #efe7d6;
  border-radius: 14px;
  background: #fbf7ee;
}

.pf-faq-list summary {
  padding: 16px 18px;
  color: #3c352a;
  font-weight: 900;
  cursor: pointer;
}

.pf-faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: #6c6353;
  line-height: 1.9;
}

.pf-archive-lead {
  padding: 30px;
}

.pf-archive-back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid #e7ddc9;
  border-radius: 999px;
  background: #fffdf7;
  color: #6c6353;
  font-weight: 900;
}

.pf-blog-links {
  width: min(1120px, calc(100% - 40px));
  margin: 34px auto 0;
  padding: 30px;
  border: 1px solid #e7ddc9;
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 18px 45px rgba(94, 74, 38, .08);
}

.pf-blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.pf-blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #e7ddc9;
  border-radius: 18px;
  background: #fff;
}

.pf-blog-card-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f4df88, #bfe9d8 56%, #e6d0f4);
  color: #5b471f;
  text-decoration: none;
}

.pf-blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-blog-card-thumb span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  font-family: var(--pf-disp);
  font-size: 28px;
  font-weight: 800;
}

.pf-blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.pf-blog-card-meta {
  margin: 0 0 8px;
  color: #2f8f6a;
  font-size: 12px;
  font-weight: 800;
}

.pf-blog-card h3 {
  margin: 0;
  color: #3c352a;
  font-size: 18px;
  line-height: 1.55;
}

.pf-blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.pf-blog-card-body > p:not(.pf-blog-card-meta) {
  margin: 10px 0 0;
  color: #6c6353;
  font-size: 14px;
  line-height: 1.8;
}

.pf-blog-card-link {
  margin-top: auto;
  padding-top: 14px;
  color: #d1603d;
  font-weight: 800;
  text-decoration: none;
}

.pf-blog-single-hero {
  align-items: stretch;
  background: linear-gradient(135deg, #fffaf0, #f6efe2 58%, #f0d8f1);
}

.pf-blog-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pf-blog-meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #e7ddc9;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #6c6353;
  font-size: 12px;
  font-weight: 800;
}

.pf-blog-single-thumb {
  background: linear-gradient(135deg, #f4df88, #bfe9d8 56%, #e6d0f4);
}

.pf-blog-single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-blog-single-thumb span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: #5b471f;
  font-family: var(--pf-disp);
  font-size: 42px;
  font-weight: 800;
}

.pf-blog-content h2 {
  margin-top: 42px;
  padding-bottom: 10px;
  border-bottom: 2px solid #efe3cb;
}

.pf-blog-content table {
  overflow: hidden;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e7ddc9;
  border-radius: 14px;
}

.pf-blog-content th {
  background: #fff4cf;
  color: #3c352a;
}

.pf-blog-content th,
.pf-blog-content td {
  padding: 12px;
  border-bottom: 1px solid #eee2ca;
  vertical-align: top;
}

.pf-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 12px;
}

.pf-footer-links a {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.pf-footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .pf-blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pf-blog-links {
    width: calc(100% - 20px);
    padding: 20px;
    border-radius: 18px;
  }

  .pf-blog-card-grid {
    grid-template-columns: 1fr;
  }
}

.pf-food-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pf-food-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.pf-food-actions {
  margin-top: auto;
  padding-top: 14px;
}

@media (max-width: 960px) {
  .pf-seo-lead,
  .pf-seo-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pf-seo-lead,
  .pf-seo-faq,
  .pf-archive-lead {
    width: calc(100% - 20px);
    padding: 20px;
  }
}

/* Custom logo and generated hero image */
.pf-brand {
  min-width: 0;
}

.pf-site-logo {
  display: inline-flex;
  align-items: center;
  width: min(390px, 36vw);
  max-width: 100%;
}

.pf-site-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.pf-site-desc {
  display: none;
}

.pf-zukan-hero {
  grid-template-columns: minmax(260px, .7fr) minmax(560px, 1.3fr);
}

.pf-zukan-visual {
  aspect-ratio: 3 / 2;
  background: #fff8ea;
}

.pf-zukan-visual img {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1120px) {
  .pf-zukan-hero {
    grid-template-columns: 1fr;
  }

  .pf-zukan-visual {
    order: -1;
  }
}

@media (max-width: 760px) {
  .pf-site-logo {
    width: min(270px, 64vw);
  }
}

/* Blog post layout: featured image first, then title */
.pf-blog-single-head {
  display: block;
}

.pf-blog-featured-image {
  overflow: hidden;
  width: 100%;
  margin-bottom: clamp(20px, 3vw, 30px);
  border: 1px solid #e7ddc9;
  border-radius: 14px;
  background: #fffaf0;
  box-shadow: 0 24px 54px -42px rgba(90, 62, 20, .5);
}

.pf-blog-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}

.pf-blog-title-block {
  max-width: 880px;
}

.pf-blog-title-block h1 {
  margin: 0;
  color: #3c352a;
  font-family: var(--pf-disp);
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.28;
}

.pf-blog-title-block .pf-actions {
  margin-top: 22px;
}
