/* ---------- Curb plate and concrete ---------- */
.cpk-plate { display: inline-flex; align-items: center; justify-content: center; padding: .14em .36em; background: #fff; color: var(--ink); border-radius: var(--radius-sm); font-style: normal; }
.cpk-plate--yellow { background: #f2c200; color: var(--ink); }
.cpk-cover { background-color: #a6a49e; background-image: radial-gradient(rgba(23,24,26,.16) 1px, transparent 1.4px), radial-gradient(rgba(255,255,255,.28) 1px, transparent 1.4px); background-size: 11px 11px, 17px 17px; background-position: 0 0, 5px 7px; }

/* ---------- Number preview ---------- */

.cpk-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.cpk-swatches legend { margin-bottom: 8px; padding: 0; font-weight: 600; font-size: 15px; }
.cpk-swatches label { position: relative; cursor: pointer; }
.cpk-swatches input { position: absolute; opacity: 0; }
.cpk-swatches span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); font-size: 14px; transition: border-color .15s, background-color .15s; }
.cpk-swatches i { width: 22px; height: 22px; padding: 0; border: 1px solid var(--line-strong); font: 800 13px/1 var(--font-display); }
.cpk-swatches input:checked + span { background: var(--cobalt-100); border-color: var(--cobalt-600); color: var(--cobalt-700); font-weight: 600; }
.cpk-swatches input:focus-visible + span { outline: 2px solid var(--cobalt-600); outline-offset: 2px; }

/* ---------- Task finder ---------- */

.cpk .cpk-crumbs a { display: inline-flex; align-items: center; min-height: 32px; }

/* ---------- Measurement divider ---------- */

.cpk .h2::before { content: ""; display: block; width: 14px; height: 14px; margin-bottom: 10px; border-top: 3px solid var(--cobalt-600); border-left: 3px solid var(--cobalt-600); }
.cpk .cpk-icard .h2::before, .cpk .cpk-related .h2::before { display: none; }

/* ---------- Blog covers and cards ---------- */
.cpk-cover { position: relative; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); }
.cpk-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.cpk-cover .cpk-plate { font-size: 44px; }

.cpk-cards--blog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cpk .cpk-post-card { padding: 0; overflow: hidden; }
.cpk-post-card .cpk-cover { border-radius: 0; }
.cpk-post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 20px; }
.cpk-article { display: flex; flex-direction: column; gap: 16px; }
.cpk-toc { padding: 14px 20px; margin-bottom: 8px; background: var(--paper-raised); border-radius: var(--radius-lg); }
.cpk-toc summary { font-weight: 700; min-height: 32px; }
.cpk-toc ol { margin: 8px 0 0; padding-left: 20px; }
.cpk-toc li { padding: 4px 0; }
.content h2[id] { scroll-margin-top: 90px; }

/* ---------- Header search ---------- */
.cpk-header__search { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer; }
.cpk-header__search[aria-expanded="true"] { background: var(--cobalt-100); border-radius: var(--radius-md); color: var(--cobalt-700); }
.cpk-searchpanel { position: absolute; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-float); }
.cpk-searchpanel__inner { max-width: 900px; margin: 0 auto; padding: 16px 24px 20px; }
.cpk-searchpanel__quick { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; margin-top: 12px; font-size: 14px; }
.cpk-searchpanel__quick a { display: inline-flex; align-items: center; min-height: 36px; }
@media (min-width: 721px) { .cpk-header__nav { margin-left: auto; } .cpk-header { gap: 20px; } }

/* ---------- Added to cart message and quantity buttons ---------- */
.cpk-toast { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; display: flex; gap: 12px; align-items: center; justify-content: space-between; max-width: 460px; margin: 0 auto; padding: 12px 12px 12px 18px; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }
.cpk .cpk-toast a { color: #fff; }
.cpk-toast button { width: 40px; height: 40px; background: none; border: 0; color: var(--paper); font-size: 22px; cursor: pointer; }
.cpk-step-qty { display: inline-flex; align-items: stretch; }
.cpk-step-qty > button { width: 44px; min-height: 48px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font-size: 18px; cursor: pointer; }
.cpk-step-qty > button:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); border-right: 0; }
.cpk-step-qty > button:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; border-left: 0; }
.woocommerce .cpk-step-qty .quantity .qty { width: 3.5em; border-radius: 0; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.cpk-step-qty .qty::-webkit-inner-spin-button, .cpk-step-qty .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce ul.products li.product a.added_to_cart { display: none; }

/* ---------- Movement ---------- */
.cpk-btn, .woocommerce a.button, .woocommerce button.button, .cpk-tab { transition: background-color .15s, color .15s, border-color .15s, transform .1s; }
.cpk-btn:active, .woocommerce a.button:active, .woocommerce button.button:active { transform: translateY(1px); }
.woocommerce ul.products li.product, .cpk-guide-card { transition: transform .18s, box-shadow .18s, border-color .18s; }
@media (hover: hover) { .woocommerce ul.products li.product:hover, .cpk-guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); } }
.cpk-top .cpk-header { transition: box-shadow .2s; }
.cpk-top.is-scrolled .cpk-header { box-shadow: 0 4px 14px rgba(23,24,26,.08); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
  html::view-transition-old(root), html::view-transition-new(root) { animation-duration: .18s; }
  .cpk-drawer:not([hidden]), .cpk-searchpanel:not([hidden]) { animation: cpk-drop .18s ease-out; }
  details[open] > *:not(summary) { animation: cpk-fade .22s ease-out; }
  .cpk-toast, .cpk-buybar:not([hidden]) { animation: cpk-rise .22s ease-out; }
}
@media (prefers-reduced-motion: reduce) { .cpk *, .cpk *::before, .cpk *::after { transition: none !important; animation: none !important; } }
@keyframes cpk-drop { from { opacity: 0; transform: translateY(-6px); } }
@keyframes cpk-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes cpk-fade { from { opacity: 0; transform: translateY(-3px); } }

/* ---------- Product pictures ---------- */
.cpk img.cpk-mock { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.woocommerce-product-gallery__image--placeholder img.cpk-mock { border-radius: var(--radius-lg); }
.woocommerce table.cart td.product-thumbnail img.cpk-mock { width: 72px; border-radius: var(--radius-sm); }

.cpk figure.cpk-photo { width: 100%; margin: 0; }
.cpk .cpk-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.cpk-photo figcaption { margin-top: 6px; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.cpk .cpk-photo figcaption a { display: inline-block; padding: 2px 0; color: inherit; }
@media (min-width: 861px) { .cpk .cpk-photo--wide img { aspect-ratio: 21 / 9; object-position: 50% 62%; } }
@media print { .cpk-photo { display: none; } }

.cpk-custom-note { align-self: stretch; margin: 0; padding: 10px 14px; background: var(--card); border-left: 4px solid var(--cobalt-600); font-size: 14px; line-height: 20px; }
.cpk .cpk-seller { margin: 0 0 12px; font-size: 14px; line-height: 20px; color: var(--ink); }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row { margin-bottom: 12px; }

@media (min-width: 601px) and (max-width: 900px) {
  .cpk-footer .cpk-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cpk-footer__brand { grid-column: 1 / -1; }
}

/* Readable breadcrumb text on the paper background. */
.cpk.woocommerce .woocommerce-breadcrumb, .cpk .woocommerce-breadcrumb, .cpk .woocommerce-breadcrumb a { color: var(--ink-muted); }

/* ---------- Sample kit and city links ---------- */
.cpk-closed { display: grid; gap: 8px; align-self: stretch; padding: 16px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--cobalt-600); border-radius: var(--radius-lg); }
.cpk-closed strong { font: 700 18px/24px var(--font-display); }
.cpk-closed p { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.cpk .cpk-points__title { margin: 0; font: 600 13px/16px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.cpk-cities ul { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; padding: 0; list-style: none; }
.cpk .cpk-cities li a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); font-weight: 600; color: var(--ink); text-decoration: none; }
.cpk .cpk-cities li a:hover { border-color: var(--cobalt-600); background: var(--cobalt-100); }

/* ---------- More products coming soon ---------- */
.cpk .woocommerce ul.products li.product.cpk-soon, .woocommerce.cpk ul.products li.product.cpk-soon { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 0 28px; overflow: hidden; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: none; }
.cpk .woocommerce ul.products li.product.cpk-soon img.cpk-curb, .woocommerce.cpk ul.products li.product.cpk-soon img.cpk-curb { aspect-ratio: 4 / 3; margin: 0 0 12px; border-radius: 0; }
.cpk .cpk-soon > :not(img) { padding: 0 20px; }
.cpk .cpk-soon__title { margin: 0; font: 800 24px/30px var(--font-display); }
.cpk .cpk-soon p { margin: 0; color: var(--ink-muted); }
.cpk .cpk-soon-line { margin: 0; font-size: 15px; line-height: 22px; }

/* ---------- Curb photos ---------- */
.cpk .cpk-cover.cpk-cover--photo { display: block; padding: 0; background: var(--paper-raised); aspect-ratio: 16 / 9; height: auto; min-height: 0; overflow: hidden; }
.cpk .cpk-cover--photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cpk .cpk-cover--photo::before, .cpk .cpk-cover--photo::after { content: none; }
.cpk img.cpk-curb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }

.cpk-gallery-note { margin-top: 8px; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.cpk ul.cpk-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; margin: 0; padding: 0; list-style: none; }
.cpk .cpk-gallery li { margin: 0; }
.cpk .cpk-gallery li::marker { content: none; }
.cpk-examples { clear: both; width: 100%; grid-column: 1 / -1; padding-top: 32px; }
.cpk .cpk-examples .h2, .cpk .cpk-curbs .h2 { margin-bottom: 20px; }
.cpk .cpk-cover--photo img.cpk-curb { border-radius: 0; }
@media (max-width: 700px) { .cpk ul.cpk-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 420px) { .cpk ul.cpk-gallery { grid-template-columns: minmax(0, 1fr); } }
@media print { .cpk-gallery, .cpk-gallery-note { display: none; } }

.cpk .cpk-mock-note { margin: 12px 0 0; font-size: 13px; line-height: 20px; color: var(--ink-muted); }

/* ---------- Helping people buy ---------- */
.cpk-assure { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; }
.cpk-assure li { display: flex; gap: 10px; align-items: baseline; }
.cpk-assure li::before { content: ""; flex: none; width: 8px; height: 8px; border-top: 2px solid var(--cobalt-600); border-left: 2px solid var(--cobalt-600); }
.cpk .cpk-assure a { display: inline-block; padding: 2px 0; color: var(--ink); }
.cpk-assure-band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cpk-assure--row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; max-width: 1200px; margin: 0 auto; padding: 14px 24px; }
.cpk .cpk-spotlight { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cpk-spotlight__media { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.cpk-spotlight__media img { display: block; width: 100%; height: auto; transition: transform .35s; }
.cpk-spotlight__media:hover img { transform: scale(1.02); }
.cpk-spotlight__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cpk-spotlight__body .cpk-price__amount .amount { font: 800 32px/36px var(--font-display); }
.cpk-points { margin: 0; }
.cpk-faq { align-self: stretch; }
.cpk-faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.cpk-faq details:last-child { border-bottom: 1px solid var(--line); }
.cpk-faq summary { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; list-style: none; }
.cpk-faq summary::-webkit-details-marker { display: none; }
.cpk-faq summary::after { content: "+"; font: 500 20px/1 var(--font-mono); color: var(--cobalt-600); }
.cpk-faq details[open] summary::after { content: "\2212"; }
.cpk-faq p { margin: 6px 0 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.cpk-addons { align-self: stretch; width: 100%; }
.cpk .cpk-addons__title { margin: 0 0 8px; font: 700 18px/24px var(--font-display); }
.cpk-addons ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cpk-addons li { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.cpk .cpk-addons li img, .woocommerce .cpk-addons li img { flex: none; width: 64px; height: 48px; margin: 0; object-fit: cover; border-radius: var(--radius-sm); }

.cpk-addons li > span { display: flex; flex: 1; flex-direction: column; min-width: 0; font-size: 14px; line-height: 20px; }
.cpk .cpk-addons li > span a { font-weight: 700; color: var(--ink); text-decoration: none; }
.cpk .cpk-addons .cpk-btn { flex: none; min-height: 40px; padding: 8px 16px; }
.woocommerce-cart .cpk-addons { clear: both; max-width: 640px; padding-top: 32px; }
.woocommerce-cart .woocommerce-message .button { display: none; }
.woocommerce div.product .woocommerce-Tabs-panel { max-width: 760px; }
.cpk div.product .woocommerce-Tabs-panel h2 { margin: 28px 0 8px; font-size: 22px; line-height: 28px; }
.cpk div.product .woocommerce-Tabs-panel h2:first-child { margin-top: 0; }
.cpk div.product .woocommerce-Tabs-panel p { margin: 0 0 12px; }
.cpk div.product .woocommerce-Tabs-panel :is(ul, ol) { margin: 0 0 12px; }

/* Checkout: details on the left, order and payment on the right. */
@media (min-width: 960px) {
  .woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 48px; align-items: start; }
  .woocommerce-checkout form.checkout::before, .woocommerce-checkout form.checkout::after { content: none; }
  .woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; grid-row: 1; }
  .woocommerce-checkout #customer_details { grid-column: 1; grid-row: 2 / span 2; }
  .woocommerce-checkout #customer_details :is(.col-1, .col-2) { float: none; width: 100%; max-width: none; }
  .woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 2; margin-top: 0; }
  .woocommerce-checkout #order_review { grid-column: 2; grid-row: 3; }
}
.woocommerce-checkout #payment #place_order { float: none; width: 100%; min-height: 52px; }
.cpk-help-line { margin-top: 12px; clear: both; text-align: center; }

.cpk .cities summary h2.cpk-city-name { display: inline; margin: 0; padding: 0; font: inherit; letter-spacing: normal; }
.cpk .cities summary h2.cpk-city-name::before { content: none; }
.cpk .cities details { scroll-margin-top: 96px; }

/* ---------- Smaller screens ---------- */
@media (max-width: 860px) { .cpk .cpk-spotlight { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 600px) { .cpk-assure--row { justify-content: flex-start; flex-direction: column; padding: 14px 16px; } }

@media (max-width: 720px) {
  .cpk-header { gap: 6px; padding: 0 12px; }
  .cpk-header__search { margin-left: auto; width: 40px; }
  .cpk .cpk-header button.cpk-header__menu { margin-left: 0; }
  .cpk-searchpanel__inner { padding: 12px 16px 16px; }
}
@media (max-width: 600px) {
  .cpk-cards--blog { grid-template-columns: minmax(0, 1fr); }
  
  
  
}
@media (max-width: 359px) {
  .cpk-header { gap: 2px; padding: 0 8px; }
  .cpk-header__search { width: 34px; }
  .cpk .cpk-header button.cpk-header__menu { min-width: 38px; font-size: 14px; }
}
