.cf-page { max-width: 1200px; padding-bottom: 48px; }
.cf-hero, .cf-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 4vw, 52px); }
.cf-hero { align-items: start; }
.cf-main { display: grid; place-items: center; aspect-ratio: 1.2; background: #f5f1e7; border-radius: 22px; overflow: hidden; }
.cf-main img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.cf-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.cf-thumbs button { width: 64px; height: 64px; padding: 3px; border: 2px solid var(--edge); border-radius: 12px; background: white; cursor: pointer; }
.cf-thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cf-info { padding: clamp(18px, 3vw, 36px); border: 1px solid var(--edge); border-radius: 22px; background: white; }
.cf-info h1 { margin: 6px 0 10px; color: var(--pine); font-size: clamp(27px, 3.8vw, 49px); line-height: 1.1; }
.cf-info p { margin: 0; line-height: 1.55; }
.cf-brand { color: var(--green); font-size: 14px; font-weight: 750; }
.cf-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 18px 0 12px; }
.cf-price strong, .cf-sticky strong { color: #a63e10; }
.cf-price strong { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; }
.cf-price span, .cf-delivery, .cf-caution { font-size: 14px; color: #4a5a4f; }
.cf-variants, .cf-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cf-variant { display: grid; gap: 4px; text-align: left; font: inherit; color: var(--pine); background: white; border: 2px solid var(--edge); border-radius: 12px; padding: 10px; cursor: pointer; }
.cf-variant span { font-size: 14px; }
.cf-variant[aria-pressed=true], .cf-thumbs button[aria-pressed=true] { border-color: #0f6b3a; background-color: #edf6e9; }
.cf-actions { margin: 12px 0; }
.cf-actions .btn, .cf-sticky .btn { min-height: 46px; justify-content: center; padding: 8px; margin: 0; font-size: 14px; text-align: center; }
.cf-delivery a { color: var(--green); text-decoration: underline; }
.cf-details { margin-top: clamp(20px, 4vw, 45px); gap: 16px; }
.cf-panel { padding: clamp(16px, 3vw, 28px); border: 1px solid var(--edge); border-radius: 18px; background: white; }
.cf-panel h2 { margin: 0 0 12px; color: var(--pine); font-size: clamp(20px, 2.5vw, 27px); line-height: 1.2; }
.cf-steps { margin: 0; padding-left: 22px; }
.cf-steps li + li { margin-top: 8px; }
.cf-highlight { margin: 16px 0 0; padding: 12px; border-radius: 10px; background: #edf6e9; color: var(--pine); }
.cf-specs { margin: 0; }
.cf-specs div { display: grid; grid-template-columns: minmax(92px, 1fr) minmax(0, 2fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--edge); }
.cf-specs dt { font-weight: 700; }
.cf-specs dd { margin: 0; }
.cf-caution { margin: 12px 0 0; }
.cf-sticky { display: none; }
@media (max-width: 700px) {
  .cf-hero, .cf-details { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cf-main { max-height: 340px; }
  body:has(.cf-page) { padding-bottom: calc(75px + env(safe-area-inset-bottom)); }
  .cf-page { padding-bottom: 24px; }
  .cf-sticky { display: flex; position: fixed; inset: auto 0 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: white; border-top: 1px solid var(--edge); }
  .cf-sticky small, .cf-sticky strong { display: block; }
  .cf-sticky .btn { min-width: 125px; }
}

.cf-section { margin-top: clamp(24px, 5vw, 50px); }
.cf-section h2, .cf-end h2 { margin: 0 0 8px; color: var(--pine); font-size: clamp(22px, 3vw, 30px); line-height: 1.2; }
.cf-section-intro { margin: 0 0 16px; max-width: 65ch; }
.cf-reason-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.cf-reason-grid .cf-panel { padding: 16px; }
.cf-reason-grid h3 { color: var(--pine); font-size: 16px; margin: 0 0 7px; }
.cf-reason-grid p, .cf-end p { margin: 0; }
.cf-recipes { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 12px 0 0; }
.cf-recipes li { background: #f5f1e7; padding: 5px 10px; border-radius: 8px; font-size: 14px; }
.cf-answer { border-bottom: 1px solid var(--edge); padding: 8px 0; }
.cf-answer summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.cf-answer p { margin: 0; padding: 4px 0 6px; }
.cf-fit-list { padding-left: 20px; margin: 0; }
.cf-fit-list li + li { margin-top: 8px; }
.cf-end { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; background: #edf6e9; padding: clamp(16px, 3vw, 28px); border-radius: 18px; }
.cf-end .btn { min-height: 46px; }


/* Product detail pages using the same spacing and controls as the coffee page. */
.ps-page .cf-info h1 { font-size: clamp(26px, 3.2vw, 42px); overflow-wrap: anywhere; }
.ps-page .cf-main [hidden] { display: none; }
.ps-missing { color: var(--pine); font-weight: 700; text-align: center; padding: 16px; }
.ps-pending .cf-main { aspect-ratio: 2; }
.ps-pending .cf-highlight { margin: 14px 0; }
.ps-contact { min-height: 46px; }
.ps-pack { font-weight: 700; color: var(--pine); }
.ps-points { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.ps-points h3, .ps-page .cf-details h3 { margin: 0 0 8px; color: var(--pine); font-size: 16px; }
.ps-points p { margin: 0; }
.ps-page :is(.cf-panel p,.cf-fit-list,.cf-specs) { line-height: 1.65; }
.ps-questions summary { min-height: 44px; padding: 10px 0; }
.ps-page .cf-end h2 { font-size: 21px; }
@media (max-width: 700px) {
  .ps-points { grid-template-columns: minmax(0,1fr); }
  .ps-page .cf-main { max-height: 280px; }
  .ps-page .cf-panel { font-size: 16px; }
}
