/* CaseKing PDP — Complete your setup configurator. Loaded after commerce CSS. */
#ck-pdp-bundle.ck-setup {
  position: relative;
  overflow: hidden;
  margin-top: clamp(36px, 5vw, 72px);
  padding: clamp(24px, 4vw, 52px) !important;
  background: linear-gradient(145deg, #faf8f3, #f1eee6) !important;
  border: 1px solid rgba(200, 168, 110, .48);
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(16, 45, 50, .06);
  color: #0B2B30;
}
#ck-pdp-bundle.ck-setup::before {
  content: none;
  position: absolute;
  width: 310px;
  height: 310px;
  right: -170px;
  bottom: -205px;
  border: 1px solid rgba(200, 168, 110, .22);
  border-radius: 50%;
  pointer-events: none;
}
.ck-setup-head { position: relative; max-width: 800px; margin-bottom: clamp(24px, 3vw, 38px); }
.ck-setup-kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 11px; color: #876127; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ck-setup-kicker::before { content: ""; width: 34px; height: 1px; background: #d4af5c; }
.ck-setup-head h2 { margin: 0; color: #0B2B30 !important; font-size: clamp(23px, 2.2vw, 31px); line-height: 1.2; letter-spacing: -.03em; }
.ck-setup-head > p:last-child { max-width: 64ch; margin: 10px 0 0; color: #50665f; font-size: 14px; line-height: 1.6; }
.ck-setup-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .72fr); gap: clamp(18px, 2.5vw, 30px); align-items: start; }
.ck-setup-builder { display: flex; flex-direction: column; gap: 11px; }
.ck-setup-primary,
.ck-setup-option { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 106px; padding: 13px; background: rgba(255, 255, 255, .965); border: 1px solid rgba(200, 168, 110, .20); border-radius: 15px; color: #0B2B30; box-shadow: 0 9px 24px rgba(2, 18, 21, .12); }
.ck-setup-primary { border-color: rgba(200, 168, 110, .66); }
.ck-setup-option { position: relative; cursor: pointer; transition: transform .24s cubic-bezier(.2,.8,.2,1), border-color .2s ease, background .2s ease, box-shadow .24s ease; }
.ck-setup-option:hover { transform: translateY(-2px); border-color: rgba(200, 168, 110, .72); box-shadow: 0 14px 30px rgba(2, 18, 21, .18); }
.ck-setup-option:has(input:focus-visible) { outline: 3px solid #DCC596; outline-offset: 3px; }
.ck-setup-option.is-selected { background: #fffaf0; border-color: #B8955A; box-shadow: 0 0 0 1px #B8955A, 0 14px 30px rgba(2, 18, 21, .18); }
.ck-setup-option input { position: absolute; opacity: 0; pointer-events: none; }
.ck-setup-image { width: 82px; height: 82px; object-fit: contain; background: #fff; border-radius: 10px; }
.ck-setup-copy { min-width: 0; }
.ck-setup-type { display: block; margin-bottom: 5px; color: #6E5424; font-size: 10.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.ck-setup-name { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #0B2B30; font-size: 14px; font-weight: 750; line-height: 1.4; }
.ck-setup-proof { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: #527064; font-size: 11.5px; font-weight: 650; }
.ck-setup-proof i { color: #bd8d3c; }
.ck-setup-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; min-width: 105px; }
.ck-setup-price { color: #0B2B30; font-size: 16px; font-weight: 850; white-space: nowrap; }
.ck-setup-check { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 98px; min-height: 38px; padding: 8px 11px; border: 1px solid #b9ccc4; border-radius: 999px; color: #365a55; font-size: 12px; font-weight: 800; }
.ck-setup-check::before { content: "+"; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #e7eee9; font-size: 14px; }
.ck-setup-option.is-selected .ck-setup-check { background: #0B2B30; border-color: #0B2B30; color: #fff; }
.ck-setup-option.is-selected .ck-setup-check::before { content: "✓"; background: #d9b96d; color: #0B2B30; }
.ck-setup-plus { display: grid; place-items: center; align-self: center; width: 30px; height: 30px; margin: -3px 0 -3px 39px; border: 1px solid rgba(200, 168, 110, .52); border-radius: 50%; color: #e7c978; font-size: 19px; line-height: 1; }
.ck-setup-summary { position: sticky; top: var(--pdp-sticky-top); padding: 25px; background: #fbf7ed; border: 1px solid rgba(200, 168, 110, .60); border-radius: 17px; color: #0B2B30; box-shadow: 0 18px 40px rgba(0, 15, 18, .22); }
.ck-setup-summary small { color: #4A5250; font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.ck-setup-summary h3 { margin: 8px 0 3px; color: #0B2B30; font-size: 21px; letter-spacing: -.025em; }
.ck-setup-count { margin: 0 0 22px; color: #4A5250; font-size: 13px; }
.ck-setup-total { display: flex; align-items: end; justify-content: space-between; gap: 14px; padding: 18px 0; border-top: 1px solid #D5E0DC; border-bottom: 1px solid #D5E0DC; }
.ck-setup-total span { color: #5c736b; font-size: 13px; }
.ck-setup-total strong { color: #0B2B30; font-size: 29px; letter-spacing: -.04em; white-space: nowrap; }
.ck-setup-honesty { display: flex; gap: 9px; margin: 16px 0; color: #5c736b; font-size: 12px; line-height: 1.5; }
.ck-setup-honesty i { margin-top: 3px; color: #b58639; }
.ck-setup-cta { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #ad833c; border-radius: 10px; background: linear-gradient(120deg, #ecd38f, #B8955A); color: #201707; font-size: 13px; font-weight: 850; letter-spacing: .035em; cursor: pointer; box-shadow: 0 9px 20px rgba(11, 43, 48, .15); transition: transform .2s ease, box-shadow .2s ease; }
.ck-setup-cta:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 13px 25px rgba(11, 43, 48, .23); }
.ck-setup-cta:focus-visible { outline: 3px solid #0B2B30; outline-offset: 3px; }
.ck-setup-cta:disabled { cursor: not-allowed; opacity: .58; box-shadow: none; }
.ck-setup-status { min-height: 20px; margin: 12px 0 0; color: #4f6e61; font-size: 12px; font-weight: 700; text-align: center; }
.ck-setup-loading { min-height: 64px; display: grid; place-items: center; color: #0B2B30; }
.ck-setup-loading::before { content: ""; width: 28px; height: 28px; border: 2px solid rgba(200, 168, 110, .25); border-top-color: #e4c77f; border-radius: 50%; animation: ck-setup-spin .8s linear infinite; }
@keyframes ck-setup-spin { to { transform: rotate(360deg); } }
@keyframes ck-setup-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
#ck-pdp-bundle.ck-setup.is-ready .ck-setup-head { animation: ck-setup-enter .58s cubic-bezier(.2,.8,.2,1) both; }
#ck-pdp-bundle.ck-setup.is-ready .ck-setup-builder { animation: ck-setup-enter .58s .08s cubic-bezier(.2,.8,.2,1) both; }
#ck-pdp-bundle.ck-setup.is-ready .ck-setup-summary { animation: ck-setup-enter .58s .16s cubic-bezier(.2,.8,.2,1) both; }

@media (max-width: 920px) {
  .ck-setup-layout { grid-template-columns: 1fr; }
  .ck-setup-summary { position: static; }
}
@media (max-width: 620px) {
  #ck-pdp-bundle.ck-setup { margin-inline: -2px; padding: 23px 15px 18px !important; border-radius: 18px; }
  .ck-setup-head h2 { font-size: 31px; }
  .ck-setup-primary, .ck-setup-option { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; min-height: 94px; padding: 12px; }
  .ck-setup-image { width: 68px; height: 68px; }
  .ck-setup-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; min-width: 0; padding-top: 10px; border-top: 1px solid #e2e6df; }
  .ck-setup-plus { margin-left: 25px; }
  .ck-setup-summary { padding: 21px 18px; }
}
/* reduce-motion opt-out (html.ck-calm) */
  html.ck-calm #ck-pdp-bundle.ck-setup *, html.ck-calm #ck-pdp-bundle.ck-setup *::before { animation: none !important; transition: none !important; scroll-behavior: auto !important; }


/* Product-led configuration: a dominant current item, optional additions and
   a quiet total. No carousel, reserved empty slots or marketing banner. */
#ck-pdp-bundle.ck-setup { padding: clamp(18px, 2.3vw, 30px) !important; margin-top: 30px; }
.ck-setup-head { margin-bottom: 22px; }
.ck-setup-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; }
.ck-setup-builder { display: grid; grid-template-columns: 1.2fr repeat(var(--setup-cols), minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.ck-setup-primary, .ck-setup-option { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; box-shadow: none; min-width: 0; }
.ck-setup-primary { background: #e9efeb; border-color: #8aa198; }
.ck-setup-image { width: 100%; height: 142px; object-fit: contain; }
.ck-setup-primary .ck-setup-image { height: 174px; }
.ck-setup-copy { flex: 1; }
.ck-setup-name { display: block; overflow: visible; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.ck-setup-type { font-size: 11px; letter-spacing: .05em; }
.ck-setup-proof { font-size: 12px; line-height: 1.45; }
.ck-setup-side { min-width: 0; align-items: stretch; gap: 10px; margin-top: auto; }
.ck-setup-check { min-width: 0; min-height: 44px; }
.ck-setup-primary .ck-setup-check { border: 0; }
.ck-setup-primary .ck-setup-check::before { content: '✓'; }
.ck-setup-option::before { content: '+'; position: absolute; left: -14px; top: 86px; width: 24px; height: 24px; display: grid; place-items: center; color: #886329; background: #f5f2ea; border: 1px solid #d6c69f; border-radius: 50%; z-index: 1; }
.ck-setup-plus { display: none; }
.ck-setup-summary { position: static; padding: 20px; background: #fffefa; border-color: #d8c79e; box-shadow: none; }
.ck-setup-total { flex-wrap: wrap; }
.ck-setup-cta { letter-spacing: 0; }
@media(max-width:1100px) {
 .ck-setup-layout { grid-template-columns: minmax(0,1fr); }
 .ck-setup-summary { max-width: none; }
}
@media(max-width:620px) {
 .ck-setup-builder { display: flex; }
 .ck-setup-primary, .ck-setup-option { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 12px; }
 .ck-setup-image { width: 88px; height: 96px; }
 .ck-setup-primary .ck-setup-image { height: 114px; }
 .ck-setup-option::before { display: none; }
 .ck-setup-side { display: flex; flex-direction: row; grid-column: 1/-1; }
 .ck-setup-head h2 { font-size: 24px; }
 .ck-setup-name { font-size: 14px; }
}
