/* Countertop Care */

.cc-hero {
  display: flex;
  align-items: center;
  min-height: 620px;
  background:
    linear-gradient(90deg, rgba(18, 17, 16, 0.88) 0%, rgba(18, 17, 16, 0.72) 38%, rgba(18, 17, 16, 0.38) 68%, rgba(18, 17, 16, 0.18) 100%),
    url("/assets/generated/kitchen-finale.png") center 58% / cover no-repeat;
  color: var(--paper);
}
.cc-hero-copy {
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
  padding: 64px 0 56px;
}
.cc-hero-inner { width: min(640px, 100%); }
.cc-hero .mark { color: #d9d3c8; margin-bottom: 12px; }
.cc-hero h1 {
  font-size: clamp(2.7rem, 5.2vw, 4.5rem);
  line-height: 0.92;
  max-width: 11em;
  margin-bottom: 16px;
  color: #fff;
}
.cc-hero-lead {
  max-width: 40em;
  color: #e4ddd2;
  margin-bottom: 0;
}
.cc-start {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(243, 240, 232, 0.35);
  color: #d9d3c8;
}
.cc-start strong { color: #fff; font-weight: 500; }
.cc-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 16px;
}
.cc-hero-links a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 2px;
}
.cc-hero-links a:hover { opacity: 0.65; }

.cc-block { padding: 64px 0; }
.cc-block h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 0.95;
  margin-bottom: 0;
}
#included, #request, #warranty, #faq, #ccContact { scroll-margin-top: calc(var(--nav) + 12px); }

.cc-head,
.cc-faq-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 18px 48px;
  align-items: end;
  margin-bottom: 28px;
}
.cc-head > p,
.cc-faq-aside { color: var(--muted); margin: 0; }
.cc-faq-aside strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 6px;
}
.cc-faq-aside p + p { margin-top: 8px; }

.cc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cc-card {
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
}
.cc-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}
.cc-card-body { padding: 14px 16px 18px; }
.cc-card-no {
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.cc-card h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  margin-bottom: 6px;
}
.cc-card p:last-child { color: var(--muted); font-size: 0.95rem; }

.cc-enroll { padding-top: 8px; }
.cc-build {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}
.cc-main {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 28px 12px;
}
.cc-main h2 { margin-bottom: 8px; }
.cc-lead { color: var(--muted); margin-bottom: 8px; }
.cc-room {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.cc-room img {
  width: 72px;
  height: 56px;
  object-fit: cover;
}
.cc-copy strong { display: block; font-weight: 500; }
.cc-meta { display: block; color: var(--muted); font-size: 0.9rem; }
.cc-room-price { font-weight: 500; white-space: nowrap; }
.cc-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.cc-toggle input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--ink);
}
.cc-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
}
.cc-qty button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}
.cc-qty button:hover { background: var(--paper); }
.cc-qty input {
  width: 40px;
  height: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: center;
  font-size: 1rem;
  padding: 0;
  -moz-appearance: textfield;
}
.cc-qty input::-webkit-outer-spin-button,
.cc-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cc-summary {
  background: var(--black);
  color: var(--paper);
  padding: 28px 24px 24px;
}
.cc-summary h3 {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 0.95;
  margin-bottom: 8px;
  color: #fff;
}
.cc-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.cc-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(243, 240, 232, 0.18);
  font-size: 0.95rem;
}
.cc-lines li span:last-child { color: #d9d3c8; }
.cc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0 10px;
  padding-top: 8px;
}
.cc-total span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9d3c8;
}
.cc-total strong {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 0.9;
  color: #fff;
}
.cc-note { color: #b7b0a4; font-size: 0.9rem; margin-bottom: 16px; }
.cc-summary .btn {
  width: 100%;
  justify-content: space-between;
  padding-right: 8px;
}
.cc-go {
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cc-summary .btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cc-contact .btn { width: 100%; }
.cc-contact .btn:disabled { opacity: 0.55; cursor: wait; }
.cc-pay { margin-top: 4px; }
.cc-pay-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cc-pay .help { margin: 0 0 8px; }
#ccCard {
  min-height: 48px;
  background: transparent;
}
#ccCard iframe {
  display: block;
  width: 100%;
}
.cc-pay-error {
  color: #8a3b2f;
  font-size: 0.92rem;
  margin: 8px 0 0;
}
.cc-continue,
.cc-back { display: none; }
.cc-page.is-enhanced .cc-continue { display: inline-flex; }
.cc-page.is-enhanced .cc-contact { display: none; }
.cc-page.is-enhanced.is-contact .cc-contact { display: block; }
.cc-page.is-enhanced.is-contact .cc-picks { display: none; }
.cc-page.is-enhanced.is-contact .cc-continue { display: none; }
.cc-page.is-enhanced.is-contact .cc-back { display: inline-flex; width: auto; margin-bottom: 14px; }

.cc-contact { padding-top: 8px; }
.cc-contact h3 { font-size: 1.7rem; margin-bottom: 14px; }
.cc-fields { display: grid; gap: 14px; }
.cc-contact label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cc-city { grid-template-columns: 1.4fr 0.7fr 0.8fr; }
.cc-contact input,
.cc-contact select,
.cc-contact textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  padding: 12px 14px;
  border-radius: 0;
  letter-spacing: 0;
  text-transform: none;
  font-size: 1rem;
  font-weight: 300;
}
.cc-contact textarea { min-height: 90px; resize: vertical; }
.cc-hero-links a:focus-visible,
.cc-contact input:focus,
.cc-contact select:focus,
.cc-contact textarea:focus,
.cc-qty input:focus,
.cc-back:focus-visible,
.cc-toggle input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.cc-hero-links a:focus-visible { outline-color: #fff; }
.cc-contact .help,
.cc-disclaimer {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
}
.cc-disclaimer { margin: 10px 0 16px; }
.cc-back {
  border: 0;
  background: transparent;
  padding: 0 0 2px;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-size: 0.92rem;
}
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.notice {
  border: 1px solid var(--ink);
  padding: 14px 16px;
  margin-top: 16px;
}
.notice a {
  color: inherit;
  font-weight: 500;
  text-underline-offset: 3px;
}
.cc-cancel {
  max-width: 640px;
}
.cc-cancel h1 { margin: 8px 0 16px; }
.cc-cancel p { max-width: 42rem; }
.cc-cancel .btn { margin-top: 18px; }
.notice-err { border-color: #8a3b2f; }

.cc-warranty {
  background:
    linear-gradient(180deg, rgba(18, 17, 16, 0.82), rgba(18, 17, 16, 0.9)),
    url("/assets/generated/exotic-texture.webp") center / cover no-repeat;
  color: var(--paper);
}
.cc-warranty .mark { color: #d9d3c8; }
.cc-warranty h2 { color: #fff; }
.cc-warranty .cc-head > p { color: #e4ddd2; }
.cc-coverage {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 4px 0 16px;
}
.cc-col-item { width: 50%; }
.cc-col-plan { width: 25%; }
.cc-coverage th,
.cc-coverage td {
  border-bottom: 1px solid rgba(243, 240, 232, 0.18);
  padding: 11px 10px;
  vertical-align: middle;
  font-weight: 400;
}
.cc-coverage thead th {
  text-align: center;
  padding: 8px 10px 12px;
  border-bottom-color: rgba(243, 240, 232, 0.35);
}
.cc-plan,
.cc-plan-sub { display: block; }
.cc-plan {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
}
.cc-plan-sub {
  margin-top: 3px;
  font-size: 0.78rem;
  font-weight: 300;
  color: #b7b0a4;
}
.cc-coverage tbody th[scope="row"] {
  text-align: left;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: #f3f0e8;
}
.cc-coverage td { text-align: center; }
.cc-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
}
.cc-mark svg { width: 16px; height: 16px; }
.cc-mark.is-yes { color: #fff; }
.cc-mark.is-no { color: #8a847a; }
.cc-coverage-note {
  max-width: 62em;
  color: #cfc8bc;
  margin-bottom: 14px;
}
.cc-warranty-link { color: #fff; }
.cc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cc-faq-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  align-items: start;
}
.cc-faq summary { cursor: pointer; list-style: none; }
.cc-faq summary::-webkit-details-marker { display: none; }
.cc-faq details { border-top: 1px solid var(--line); }
.cc-faq details:last-child { border-bottom: 1px solid var(--line); }
.cc-faq summary {
  padding: 14px 1.6rem 14px 0;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--sans);
  position: relative;
}
.cc-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  color: var(--muted);
}
.cc-faq details[open] summary::after { content: "–"; }
.cc-faq details p {
  color: var(--muted);
  padding-bottom: 14px;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .cc-hero-copy { width: min(var(--max), calc(100% - 40px)); }
  .cc-head,
  .cc-faq-top,
  .cc-build,
  .cc-faq-board,
  .cc-cards { grid-template-columns: 1fr 1fr; }
  .cc-head,
  .cc-faq-top,
  .cc-build,
  .cc-faq-board { grid-template-columns: 1fr; }
  .cc-page.is-enhanced.is-contact .cc-summary { order: -1; }
}

@media (max-width: 680px) {
  .cc-block { padding: 40px 0; }
  .cc-hero {
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(18, 17, 16, 0.72), rgba(18, 17, 16, 0.86)),
      url("/assets/generated/kitchen-finale.png") center 42% / cover no-repeat;
  }
  .cc-hero-copy { padding: 40px 0 36px; }
  .cc-hero h1 { font-size: clamp(2.2rem, 11vw, 2.9rem); }
  .cc-cards { grid-template-columns: 1fr; }
  .cc-card img { height: 180px; }
  .cc-main { padding: 22px 16px 8px; }
  .cc-room {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas:
      "img copy price"
      "img copy ctrl";
    align-items: start;
  }
  .cc-room img { grid-area: img; width: 64px; height: 100%; min-height: 64px; }
  .cc-copy { grid-area: copy; }
  .cc-room-price { grid-area: price; }
  .cc-qty,
  .cc-toggle { grid-area: ctrl; justify-self: end; }
  .cc-pair,
  .cc-city { grid-template-columns: 1fr; }
  .cc-col-item { width: 46%; }
  .cc-col-plan { width: 27%; }
  .cc-plan { font-size: 0.72rem; }
  .cc-plan-sub { display: none; }
  .cc-coverage th,
  .cc-coverage td { padding: 10px 6px; }
  .cc-coverage tbody th[scope="row"] { font-size: 0.84rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-hero { background-attachment: scroll; }
}
