/* copy-site kit file */
/* cl-pages.css: the client's copied pages (templates/site/*) and the store policies (policy.html).
   The template holds only the policy column; the build agents add the copied pages' rules.
   Every rule sits in @layer site (cl-site.css: the layer order). */
@layer base, kit, site;

@layer site {

.cl-policy__body { max-width: 732px; margin: 0 auto; padding: 0 20px 80px; font: 400 16px/1.7 var(--site-font-body); color: var(--site-fg); }
.cl-policy__h { margin: 40px 0 12px; font: 700 22px/1.3 var(--site-font-heading); }
.cl-policy__p { margin: 0 0 16px; }
.cl-policy__list { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.cl-policy__list li + li { margin-top: 6px; }
.cl-policy__action { margin: 8px 0 24px; }

}

/* phone type (Greg 2026-10-29, the phone clean-up): the H1 a little bigger and every other text a step smaller than
   before, so the first screen holds the H1 and the parts; inputs and selects stay 16px, nothing under 13px */
@layer site {
@media (max-width: 600px) {
  .cl-policy__body { font-size: 15px; }
  .cl-policy__h { font-size: 20px; }
}

/* the vehicle pages' hubs (brakes.html): /brakes, a make's models, a model's years; square tiles, 2 across on a phone */
.cl-brakes { max-width: var(--site-max); margin: 0 auto; padding: 28px 40px 88px; color: var(--site-fg); font-family: var(--site-font-body); }
.cl-brakes__crumbs ol { display: flex; flex-wrap: wrap; margin: 0 0 12px; padding: 0; list-style: none; font: 400 14px/20px var(--site-font-body); letter-spacing: 0.3px; }
.cl-brakes__crumbs li + li::before { content: "/"; margin: 0 8px; }
.cl-brakes__crumbs a { display: inline-flex; align-items: center; min-height: 40px; color: var(--site-fg); }
.cl-brakes__crumbs li { display: inline-flex; align-items: center; }
.cl-brakes__crumbs [aria-current="page"] { font-weight: 700; }
.cl-brakes__h { margin: 0; font: 700 40px/1 var(--site-font-heading); letter-spacing: 0.5px; text-transform: uppercase; }
.cl-brakes__group { margin-top: 36px; }
.cl-brakes__h + .cl-brakes__grid { margin-top: 28px; }
.cl-brakes__sub { margin: 0 0 14px; font: 700 24px/1.1 var(--site-font-heading); letter-spacing: 0.4px; text-transform: uppercase; }
.cl-brakes__sub--decade { text-transform: none; }
.cl-brakes__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.cl-brakes__grid--wide { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cl-brakes__tile { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 56px; height: 100%; box-sizing: border-box; padding: 8px 14px; border: 2px solid var(--site-line); background: var(--site-bg); color: var(--site-fg); text-decoration: none; }
.cl-brakes__tile b { font: 700 18px/1.15 var(--site-font-body); overflow-wrap: anywhere; }
.cl-brakes__tile span { font: 400 15px/1.2 var(--site-font-body); }
.cl-brakes__tile:hover, .cl-brakes__tile:focus-visible { border-color: var(--site-fg); }
/* the search field of a long list of makes or models (cl-find.js), the finder's VIN field's look; shown where scripts run */
.cl-brakes__find { display: none; margin: 20px 0 0; }
.cl-js .cl-brakes__find { display: block; }
.cl-brakes__find input { display: block; width: 100%; max-width: 416px; height: 48px; box-sizing: border-box; margin: 0; padding: 0 12px; background: var(--site-field-bg); color: var(--site-fg); border: 2px solid var(--site-fg); border-radius: 0; font: 400 16px/44px var(--site-font-body); -webkit-appearance: none; appearance: none; }
.cl-brakes__find input::placeholder { color: var(--site-fg); opacity: 1; }
.cl-brakes__find input:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 2px; }
.cl-brakes__find input::-webkit-search-cancel-button { -webkit-appearance: none; width: 40px; height: 44px; margin: 0 -12px 0 0; background: var(--site-fg); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 1l12 12M13 1L1 13' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / 14px 14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 1l12 12M13 1L1 13' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / 14px 14px no-repeat; cursor: pointer; }
.cl-brakes__find ~ .cl-brakes__grid, .cl-brakes.is-finding .cl-brakes__group { margin-top: 20px; }
.cl-brakes.is-finding :is(.cl-brakes__sub, [data-cl-find-skip]) { display: none; }  /* typed: one list of matches */
.cl-brakes__none { margin: 20px 0 0; font: 400 18px/1.4 var(--site-font-body); }
.cl-brakes__none:empty { display: none; }
.cl-brakes__tile.is-pick { border-color: var(--site-fg); }  /* the tile Enter opens */
.cl-brakes__more { margin: 28px 0 0; font: 700 16px/1.4 var(--site-font-body); }
.cl-brakes__more a, .cl-years__all a { display: inline-flex; align-items: center; min-height: 40px; color: var(--site-fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cl-brakes__more a:hover, .cl-years__all a:hover { text-decoration-color: var(--site-accent); text-decoration-thickness: 3px; }
/* under a vehicle page's parts (partials/brakes_years.html): the model's neighbouring years */
.cl-years { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--site-line); color: var(--site-fg); font-family: var(--site-font-body); }
.cl-years__h { margin: 0 0 14px; font: 700 24px/1.1 var(--site-font-heading); letter-spacing: 0.4px; text-transform: uppercase; }
.cl-years__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cl-years__y { display: flex; align-items: center; justify-content: center; min-width: 72px; height: 44px; box-sizing: border-box; padding: 0 12px; border: 2px solid var(--site-line); color: var(--site-fg); font: 700 17px/1 var(--site-font-body); text-decoration: none; }
a.cl-years__y:hover { border-color: var(--site-fg); }
.cl-years__y[aria-current="page"] { border-color: var(--site-fg); background: var(--site-fg); color: var(--site-bg); }
.cl-years__all { margin: 8px 0 0; font: 700 16px/1.4 var(--site-font-body); }
@media (max-width: 760px) {
  .cl-brakes { padding: 16px 16px 56px; }
  .cl-brakes__crumbs ol { margin-bottom: 4px; }
  .cl-brakes__h { font-size: 32px; }
  .cl-brakes__grid, .cl-brakes__grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-brakes__tile b { font-size: 17px; }
  .cl-brakes__find input { max-width: none; }
  .cl-years { margin-top: 36px; }
  .cl-years__y { min-width: 0; flex: 1 0 64px; }
}
}
