/* /pet-cost-calculator/ page. Builds on the tokens in site.css (--navy is the teal primary). */
.pcc { --r: 24px; --shadow: 0 1px 2px rgba(38,34,28,.06), 0 8px 24px rgba(38,34,28,.06); --c1: #04676F; --c2: #F2A93B; --c3: #C9391C; padding-bottom: 56px; }
.pcc h2, .pcc h3 { margin: 0; color: var(--ink); }
.pcc .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Hero */
.pcc-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.pcc-hero::before { content: ""; position: absolute; width: 480px; height: 480px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,201,60,.32), rgba(255,201,60,0) 70%); pointer-events: none; }
.pcc-hero-in { position: relative; padding-bottom: 96px; }
.pcc-hero .crumbs, .pcc-hero .crumbs a { color: rgba(255,255,255,.85); }
.pcc-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 12px; font-weight: 800; font-size: 15px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--yellow); }
.pcc-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); margin: 0 0 14px; max-width: 820px; }
.pcc-dek { font-size: 20px; max-width: 720px; margin: 0; color: rgba(255,255,255,.92); }

/* Tool layout */
.pcc-tool { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; margin-top: -64px; position: relative; }
.pcc-form, .pcc-result { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.pcc-form { padding: 28px; display: grid; gap: 24px; }
.pcc-result { padding: 26px; position: sticky; top: 16px; border-top: 6px solid var(--yellow); }
@media (max-width: 960px) { .pcc-tool { grid-template-columns: 1fr; } .pcc-result { position: static; } }

.pcc-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.pcc-field legend, .pcc-label { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 21px; margin: 0 0 12px; padding: 0; color: var(--ink); }
.pcc-step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; font-family: var(--font-body); font-weight: 800; flex: 0 0 auto; }
.pcc-help { font-size: 15px; color: var(--ink-soft); margin: 8px 0 0; }
.pcc-help:empty { display: none; }
.pcc-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
@media (max-width: 640px) { .pcc-row { grid-template-columns: 1fr; } .pcc-form { padding: 20px; } }

/* Pet picker */
.pcc-pets { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .pcc-pets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcc-pet { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px 12px; border-radius: 18px; border: 2px solid var(--line); background: #fff; cursor: pointer; text-align: center; transition: border-color .15s, transform .15s; }
.pcc-pet:hover { transform: translateY(-2px); border-color: #d9cdb4; }
.pcc-pet input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pcc-pet-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--tint); color: var(--navy-dark); display: grid; place-items: center; }
.pcc-pet-name { font-weight: 800; font-size: 15px; line-height: 1.2; }
.pcc-pet:has(input:checked) { border-color: var(--navy); background: #F2FAFA; box-shadow: inset 0 0 0 1px var(--navy); }
.pcc-pet:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
@media (max-width: 760px) { .pcc-pet { flex-direction: row; justify-content: flex-start; text-align: left; padding: 10px; } .pcc-pet-ic { width: 40px; height: 40px; border-radius: 12px; } .pcc-pet-ic svg { width: 24px; height: 24px; } }

/* Count stepper */
.pcc-stepper { display: inline-flex; align-items: stretch; border: 2px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.pcc-stepper input { width: 64px; border: 0; text-align: center; font: 800 22px var(--font-body); color: var(--ink); -moz-appearance: textfield; }
.pcc-stepper input::-webkit-outer-spin-button, .pcc-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pcc-step-btn { width: 52px; min-height: 52px; border: 0; background: var(--cream); font-size: 24px; font-weight: 800; color: var(--navy); cursor: pointer; }
.pcc-step-btn:hover { background: var(--yellow-soft); }

/* Segmented choices */
.pcc-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 640px) { .pcc-seg { grid-template-columns: 1fr; } }
.pcc-seg label { position: relative; cursor: pointer; }
.pcc-seg label[hidden] { display: none; }
.pcc-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pcc-seg span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 16px; background: #fff; }
.pcc-seg b { font-size: 16px; }
.pcc-seg small { font-size: 13.5px; color: var(--ink-soft); line-height: 1.35; }
.pcc-seg input:checked + span { border-color: var(--navy); background: #F2FAFA; box-shadow: inset 0 0 0 1px var(--navy); }
.pcc-seg input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.pcc-check { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; cursor: pointer; }
.pcc-check input { width: 20px; height: 20px; accent-color: var(--navy); }

/* Result card */
.pcc-result-h { font-size: 20px; }
.pcc-who { margin: 4px 0 14px; font-size: 15px; color: var(--ink-soft); font-weight: 700; }
.pcc-big { margin: 0 0 14px; display: flex; flex-direction: column; }
.pcc-big span { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--navy); }
.pcc-big b { font-family: var(--font-head); font-weight: 600; font-size: 52px; line-height: 1.05; color: var(--ink); }
.pcc-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--c3); margin-bottom: 16px; }
.pcc-bar i { display: block; height: 100%; }
.pcc-bar .b3 { flex: 1; }
.b1 { background: var(--c1); } .b2 { background: var(--c2); } .b3 { background: var(--c3); }
.pcc-stats { margin: 0 0 18px; display: grid; gap: 10px; }
.pcc-stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pcc-stats dt { font-size: 16px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.pcc-stats dd { margin: 0; font-weight: 800; font-size: 19px; text-align: right; }
.pcc-stats small { font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.pcc-stats .k { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.pcc-after { border-top: 2px dashed var(--line); padding-top: 12px; margin-top: 4px; }
.pcc-after dt { color: var(--ink); font-weight: 800; }
.pcc-btn { display: flex; justify-content: center; align-items: center; min-height: 52px; border-radius: 16px; background: var(--navy); color: #fff; font-weight: 800; text-decoration: none; }
.pcc-btn:hover { background: var(--navy-dark); color: #fff; }
.pcc-result-note { font-size: 13.5px; color: var(--ink-soft); margin: 14px 0 0; line-height: 1.45; }

.pcc .disclosure { margin-top: 28px; }

/* Sections */
.pcc-section { margin-top: 48px; }
.pcc-section-head { margin-bottom: 18px; max-width: 760px; }
.pcc-section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.pcc-section-head p { color: var(--ink-soft); margin: 8px 0 0; }
.pcc-eyebrow { margin: 0 0 8px; font-weight: 800; color: var(--navy); font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; }
.pcc-note { background: var(--yellow-soft); border-radius: 18px; padding: 14px 18px; margin: 0 0 20px; font-weight: 600; }

/* Tables */
.pcc-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.pcc-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.pcc-table th, .pcc-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.pcc-table thead th { font-size: 13.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); background: #FCFAF4; }
.pcc-table tbody tr:last-child > * { border-bottom: 0; }
.pcc-table tbody th { font-weight: 800; }
.pcc-table tbody th small { font-weight: 600; color: var(--ink-soft); }
.pcc-t-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--tint); color: var(--navy-dark); vertical-align: middle; margin-right: 8px; }
.pcc-try { font-weight: 800; white-space: nowrap; }

.pcc-bd-block { margin-bottom: 28px; }
.pcc-bd-block h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 24px; margin-bottom: 4px; }
.pcc-bd-block h3 span { font-family: var(--font-body); font-weight: 800; font-size: 20px; color: var(--navy); }
.pcc-bd-block .pcc-help { margin: 0 0 12px; }
.pcc-bd-table td b { display: block; font-size: 18px; }
.pcc-range, .pcc-hint { display: block; font-size: 14px; color: var(--ink-soft); font-weight: 600; margin-top: 2px; }
.pcc-links { width: 1%; white-space: nowrap; }
.pcc-shop, .pcc-guide-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; }
.pcc-shop { padding: 7px 12px; border-radius: 12px; background: var(--yellow); color: var(--ink); text-decoration: none; }
.pcc-shop:hover { background: #FFD666; color: var(--ink); }
.pcc-guide-link { margin-left: 12px; }
@media (max-width: 640px) {
  .pcc-bd-table thead { display: none; }
  .pcc-bd-table, .pcc-bd-table tbody, .pcc-bd-table tr, .pcc-bd-table th, .pcc-bd-table td { display: block; width: auto; }
  .pcc-bd-table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .pcc-bd-table th, .pcc-bd-table td { padding: 0; border: 0; }
  .pcc-bd-table td { margin-top: 6px; }
  .pcc-links { white-space: normal; }
  .pcc-table:not(.pcc-bd-table) th, .pcc-table:not(.pcc-bd-table) td { padding: 12px; font-size: 15.5px; }
}
.pcc-next { display: grid; gap: 14px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 22px 24px; }
.pcc-next h3 { font-size: 21px; margin-bottom: 10px; }
.pcc-guides { display: flex; flex-wrap: wrap; gap: 10px; }
.pcc-guides a { padding: 9px 14px; border-radius: 14px; background: #E6F3F3; font-weight: 800; font-size: 15.5px; text-decoration: none; }
.pcc-guides a:hover { background: #D2EAEA; }
.pcc-src { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* Method */
.pcc-method-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 32px; }
@media (max-width: 860px) { .pcc-method-in { grid-template-columns: 1fr; padding: 22px; } }
.pcc-method h2 { font-size: 30px; margin-bottom: 12px; }
.pcc-method h3 { font-size: 21px; margin-bottom: 10px; }
.pcc-method p { margin: 0 0 12px; }
.pcc-reviewed { font-weight: 800; color: var(--navy); }
.pcc-sources { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 15.5px; }
.pcc-sources a { font-weight: 700; }
.pcc-sources span { display: block; color: var(--ink-soft); font-size: 14px; }
