/* Product detail pages added to the copied Cask site (tools/cask_pages.py). Cask's own look: Montserrat, navy rgb(28,30,105). */
.cp { --cp-navy: rgb(28, 30, 105); --cp-ink: rgb(29, 30, 32); --cp-soft: rgb(245, 248, 250); --cp-line: #dfe3ea;
  font-family: 'Montserrat', sans-serif; color: var(--cp-ink); font-size: 16px; line-height: 1.65; }
.cp *, .cp *::before, .cp *::after { box-sizing: border-box; }
.cp-wrap { max-width: 1224px; margin: 0 auto; padding: 0 24px; }
.cp-section { padding: 64px 24px; }
.cp h1, .cp h2, .cp h3 { font-family: 'Montserrat', sans-serif; color: var(--cp-navy); line-height: 1.25; margin: 0 0 16px; }
.cp h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 600; color: #fff; }
.cp h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; }
.cp h3 { font-size: 20px; font-weight: 600; }
.cp p { margin: 0 0 14px; max-width: 75ch; }
.cp a { color: var(--cp-navy); }

.cp-hero { background: var(--cp-navy); color: #fff; padding: 140px 0 64px; }
.cp-hero .cp-lead { font-size: 18px; color: rgba(255,255,255,.9); }
.cp-crumbs { font-size: 14px; margin-bottom: 18px; color: rgba(255,255,255,.75); }
.cp-crumbs a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }

.cp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cp-btn { display: inline-block; padding: 13px 24px; border-radius: 4px; font-weight: 600; font-size: 15px; text-decoration: none;
  background: #fff; color: var(--cp-navy) !important; border: 2px solid #fff; }
.cp-btn--ghost { background: transparent; color: #fff !important; }
.cp-btn--light { background: #fff; }
.cp-btn--ghost-light { background: transparent; color: #fff !important; }
.cp-btn:hover { opacity: .88; }

.cp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.cp-card { background: #fff; border: 1px solid var(--cp-line); border-radius: 6px; overflow: hidden; }
.cp-card img { width: 100%; height: 220px; object-fit: contain; background: #fff; display: block; padding: 12px; }
.cp-card h3, .cp-card p { padding: 0 20px; }
.cp-card p { padding-bottom: 8px; font-size: 15px; }

.cp-band { background: var(--cp-soft); }
.cp-table-wrap { overflow-x: auto; margin: 20px 0 12px; }
.cp-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; min-width: 640px; }
.cp-table th, .cp-table td { border: 1px solid var(--cp-line); padding: 12px 14px; text-align: left; vertical-align: top; }
.cp-table thead th { background: var(--cp-navy); color: #fff; font-weight: 600; }
.cp-table tbody th { background: #f0f2f6; color: var(--cp-navy); font-weight: 600; white-space: nowrap; }
.cp-note { font-size: 14px; color: #555; }

.cp-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.cp-split > img { width: 100%; height: auto; max-height: 440px; object-fit: contain; border-radius: 6px; background: #fff; }
.cp-list { margin: 0 0 16px; padding-left: 20px; }
.cp-list li { margin-bottom: 6px; }

.cp-tags { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cp-tags li { background: var(--cp-soft); border: 1px solid var(--cp-line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; }

.cp-faq { background: #fff; border: 1px solid var(--cp-line); border-radius: 6px; padding: 0 20px; margin-bottom: 12px; }
.cp-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--cp-navy); }
.cp-faq p { padding-bottom: 8px; }

.cp-cta { background: var(--cp-navy); color: #fff; padding: 64px 0; text-align: center; }
.cp-cta h2 { color: #fff; }
.cp-cta p { margin: 0 auto 8px; color: rgba(255,255,255,.9); }
.cp-cta .cp-actions { justify-content: center; }

.cp-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.cp-related a { display: block; padding: 18px 20px; border: 1px solid var(--cp-line); border-radius: 6px; text-decoration: none; font-weight: 600; background: #fff; }

@media (max-width: 900px) {
  .cp-cards { grid-template-columns: 1fr; }
  .cp-split { grid-template-columns: 1fr; gap: 24px; }
  .cp-split--rev > img { order: 2; }
  .cp-hero { padding: 110px 0 48px; }
  .cp-section { padding: 48px 16px; }
  .cp-wrap { padding: 0 16px; }
}
