.site-header.ck-header {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: .75rem;
  padding: .55rem 1.5rem;
}
.ck-header > .brand { grid-column: 2; justify-self: center; }
.ck-header > .back-link {
  grid-column: 1; justify-self: start;
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px;
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: .9375rem; line-height: 1.2;
  color: var(--muted); text-decoration: none; letter-spacing: .01em;
  overflow-wrap: anywhere;
}
.ck-header > .back-link:hover { color: var(--raspberry); }
.ck-header > .back-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ck-back-arrow { flex: none; transition: transform .2s ease; }
.ck-header > .back-link:hover .ck-back-arrow { transform: translateX(-2px); }
.ck-header > .header-actions { grid-column: 3; justify-self: end; margin-left: 0; }
.ck-lock {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--raspberry); background: rgba(179, 51, 82, .08);
  border: 1px solid rgba(179, 51, 82, .2);
}
.ck-lock svg { display: block; }
@media (max-width: 640px) {
  .site-header.ck-header { padding: .4rem .75rem; gap: .5rem; }
  .ck-header > .back-link { font-size: .8125rem; gap: .25rem; }
  .ck-lock { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .ck-back-arrow { transition: none; } }
.ck-h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1rem;
}
.ck-trust {
  grid-column: 1 / -1;
  display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.1rem;
  margin: 0 0 .2rem;
}
.ck-trust .cards-taken { margin: 0; }
.ck-trust-note {
  margin: 0; flex: 1 1 18rem; min-width: 0;
  font-size: .82rem; line-height: 1.5; color: var(--muted);
}
.ck-alert {
  grid-column: 1 / -1;
  margin: 0 0 .2rem;
  padding: .7rem .9rem .7rem 1rem;
  border-radius: 10px;
  border-left: 4px solid var(--raspberry);
  background: #fbe6ea;
  color: #7d1f34;
  font-family: 'Poppins', sans-serif;
  font-size: .92rem; font-weight: 600; line-height: 1.5;
}
.ck-alert:empty { display: none; }
.ck-alert.info {
  border-left-color: var(--rose); background: #fdf1f1; color: #6b4147; font-weight: 500;
}
.checkout-page .cf-field { margin: 0 0 .8rem; }
.checkout-page .cf-field input,
.checkout-page .cf-field select,
.checkout-page .cf-field textarea { margin: 0; }
.checkout-page .cf-field select {
  width: 100%;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 1rem; color: var(--ink);
  background: #fdfbfa;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: .8rem .95rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.checkout-page .cf-field select:focus {
  outline: none;
  background: var(--panel);
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(216, 142, 142, .18);
}
.checkout-page .cf-field select.cf-bad {
  border-color: var(--raspberry);
  box-shadow: 0 0 0 4px rgba(179, 51, 82, .13);
}
.checkout-page .cf-grow { flex: 1; margin-bottom: 0; }
#loyalty-section .row,
#gift-wrap .row,
#promo-wrap .row { align-items: flex-end; margin-bottom: .6rem; }
.ck-hint {
  display: block; margin: .3rem 0 0;
  font-size: .78rem; line-height: 1.45; color: var(--muted);
}
.ck-err {
  display: block; margin: .3rem 0 0;
  font-size: .78rem; font-weight: 600; line-height: 1.45;
  color: var(--raspberry-dark);
}
.ck-state-block {
  margin: .1rem 0 .6rem;
  padding: .6rem .8rem;
  border-radius: 10px;
  border-left: 4px solid #a35a12;
  background: #fdf0e0;
  color: #6f3a06;
  font-size: .86rem; font-weight: 600; line-height: 1.5;
}
.ck-state-block:empty { display: none; }
.ck-adult-sig {
  margin: .5rem 0 .75rem;
  font-size: .86rem; font-weight: 600; line-height: 1.5;
  color: var(--ink);
}
.ck-adult-sig:empty { display: none; }
.checkout-page .check {
  display: flex; flex-wrap: wrap; align-items: center;
  column-gap: .7rem; row-gap: 0;
  min-height: 44px;
  margin: .6rem 0;
  cursor: pointer;
}
.checkout-page .check input[type="checkbox"] {
  width: 22px; height: 22px; flex: 0 0 auto; margin: 0;
  accent-color: var(--raspberry);
  cursor: pointer;
}
.checkout-page .check .check-text { flex: 1; }
.checkout-page .check .ck-err { flex-basis: 100%; }
.check-age {
  border: 2px solid var(--rose);
  border-radius: 12px;
  background: #fdf7f5;
  padding: .7rem .9rem;
  margin: 1.1rem 0 .6rem !important;
  font-family: 'Poppins', sans-serif;
  font-size: .92rem; font-weight: 600; line-height: 1.45;
  color: var(--ink);
}
.check-age a { color: var(--raspberry); text-decoration: underline; }
.check-optional {
  font-size: .82rem; color: var(--muted);
}
#promo-status.ok, #gift-status.ok, #loyalty-status.ok {
  color: #1c7a4b !important; font-weight: 600;
}
#promo-status.err, #gift-status.err, #loyalty-status.err {
  color: var(--raspberry-dark) !important; font-weight: 600;
}
#promo-status:empty, #gift-status:empty { display: none; }
.quote-failed { margin: 0 0 .5rem; color: var(--raspberry-dark); font-weight: 600; font-size: .9rem; }
#quote-retry { margin: 0; }
.checkout-page .extras-row {
  gap: .75rem !important;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin: .6rem 0 .2rem;
}
.checkout-page .extras-row .linklike { margin: 0; }
.ck-step { scroll-margin-top: calc(var(--ck-header-h, 56px) + 16px); }
.summary-bar { display: none; }
@media (max-width: 860px) {
  #checkout-wrap.checkout-columns { display: block; }
  #checkout-wrap > * { margin-bottom: 1.1rem; }
  #checkout-wrap > *:last-child { margin-bottom: 0; }
  .ck-step { scroll-margin-top: calc(var(--vv-top, 0px) + var(--ck-header-h, 53px) + 64px); }
  #ck-summary {
    position: sticky;
    top: calc(var(--vv-top, 0px) + var(--ck-header-h, 53px));
    z-index: 6;
    padding: 0; overflow: hidden;
    box-shadow: 0 2px 10px rgba(43, 34, 38, .08);
  }
  #ck-summary > h2 { display: none; }
  .summary-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
    width: 100%; min-height: 48px;
    padding: .7rem 1rem;
    background: var(--panel); border: none; border-radius: 0;
    font-family: 'Poppins', sans-serif; font-size: .95rem; font-weight: 600;
    color: var(--raspberry);
    text-align: left; cursor: pointer;
  }
  .summary-bar-total { color: var(--ink); font-variant-numeric: tabular-nums; }
  .summary-bar-caret { margin-left: auto; color: var(--ink); font-size: .8rem; }
  .summary-bar-caret::before { content: '\25BE'; display: inline-block; transition: transform .2s ease; }
  #ck-summary.open .summary-bar-caret::before { transform: rotate(180deg); }
  #summary-body {
    display: none;
    padding: 0 1rem 1rem;
    max-height: 52vh; overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  #ck-summary.open #summary-body { display: block; }
  .ck-trust { gap: .5rem; }
  .ck-trust-note { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .summary-bar-caret::before { transition: none; }
}
@media (max-width: 640px) {
  .ck-h1 { font-size: 1.12rem; letter-spacing: .04em; margin: 0 0 .55rem; }
  .ck-trust { gap: .35rem .7rem; margin-bottom: .1rem; }
  .ck-trust-note { font-size: .74rem; line-height: 1.45; }
}
