/* The Tin Bin — static checkout page styles (Shopify-checkout inspired) */
* { box-sizing: border-box; }
body.ck-body {
  margin: 0; font-family: var(--font-body-family, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif);
  color: #252525; background: #fff; font-size: 14px; line-height: 1.5;
}
.ck-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px; border-bottom: 1px solid rgba(37,37,37,.12);
}
.ck-logo { font-size: 24px; font-weight: 400; letter-spacing: .06em; text-decoration: none; color: inherit; }
.ck-breadcrumb { display: flex; gap: 22px; font-size: 12px; color: #737373; }
.ck-breadcrumb .active { color: #252525; font-weight: 600; }
.ck-breadcrumb a { color: #737373; text-decoration: none; }
.ck-wrap { display: flex; flex-direction: row-reverse; max-width: 1100px; margin: 0 auto; }
.ck-summary {
  width: 42%; background: #f5f3f0; border-left: 1px solid rgba(37,37,37,.08);
  padding: 40px; min-height: calc(100vh - 74px);
}
.ck-main { width: 58%; padding: 40px 40px 80px; }
.ck-summary__count { font-size: 12px; color: #737373; margin-bottom: 8px; text-transform: lowercase; }
.ck-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(37,37,37,.08); }
.ck-item:last-child { border-bottom: 0; }
.ck-item__imgwrap { position: relative; width: 64px; height: 64px; flex: 0 0 auto; }
.ck-item__imgwrap img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(37,37,37,.1); background:#fff; }
.ck-item__qty {
  position: absolute; top: -8px; right: -8px; background: #545454; color: #fff;
  width: 20px; height: 20px; border-radius: 50%; font-size: 11px; display: flex; align-items: center; justify-content: center;
}
.ck-item__mid { flex: 1; min-width: 0; }
.ck-item__title { font-size: 14px; font-weight: 500; }
.ck-item__meta { font-size: 12px; color: #737373; }
.ck-item__price { font-size: 14px; }
.ck-totals { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(37,37,37,.12); }
.ck-totals__row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; color: #454545; }
.ck-totals__row.total { font-size: 16px; font-weight: 600; color: #1a1a1a; padding-top: 12px; }
.ck-discount { display: flex; gap: 8px; margin-top: 14px; }
.ck-discount input { flex: 1; padding: 10px 12px; border: 1px solid rgba(37,37,37,.25); border-radius: 6px; font: inherit; }
.ck-discount button { padding: 10px 16px; border: 1px solid rgba(37,37,37,.4); background: transparent; border-radius: 6px; cursor: pointer; font: inherit; }
.ck-note { font-size: 12px; color: #737373; margin-top: 10px; }
.ck-section { margin-bottom: 30px; }
.ck-section h2 { font-size: 17px; font-weight: 600; margin: 0 0 14px; display: flex; justify-content: space-between; align-items: baseline; }
.ck-section h2 .ck-step-note { font-size: 12px; color: #737373; font-weight: 400; }
.ck-field { margin-bottom: 12px; }
.ck-field label { display: block; font-size: 12px; margin-bottom: 5px; color: #454545; }
.ck-field input, .ck-field select {
  width: 100%; padding: 11px 12px; border: 1px solid rgba(37,37,37,.28); border-radius: 6px;
  font: inherit; background: #fff; color: inherit;
}
.ck-field input:focus, .ck-field select:focus { outline: 2px solid rgba(44,51,47,.35); outline-offset: 1px; }
.ck-invalid { border-color: #c53030 !important; background: #fff5f5 !important; }
.ck-row { display: flex; gap: 12px; }
.ck-row .ck-field { flex: 1; }
.ck-radio { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid rgba(37,37,37,.28); border-radius: 6px; margin-bottom: 10px; cursor: pointer; }
.ck-radio.ck-radio--active { border-color: #2c332f; box-shadow: inset 0 0 0 1px #2c332f; }
.ck-radio input { accent-color: #2c332f; }
.ck-radio .ck-radio__label { flex: 1; font-size: 13px; }
.ck-payment { border: 1px dashed rgba(37,37,37,.35); border-radius: 8px; padding: 18px; background: #faf9f7; font-size: 13px; color: #555; }
.ck-payment-note { margin: 0 0 6px; font-weight: 600; color: #2c332f; }
.ck-submit {
  width: 100%; margin-top: 22px; padding: 16px; font-size: 15px; font-weight: 600; letter-spacing: .03em;
  background: #2c332f; color: #fff; border: 0; border-radius: 7px; cursor: pointer;
}
.ck-submit:hover { background: #3f5147; }
.ck-success { max-width: 640px; margin: 80px auto; text-align: center; padding: 0 24px; }
.ck-success h1 { font-size: 26px; font-weight: 500; margin-bottom: 10px; }
.ck-success p { color: #555; }
.ck-success .ck-orderbox { margin: 26px auto 0; border: 1px solid rgba(37,37,37,.15); border-radius: 10px; padding: 20px; display: inline-block; text-align: left; }
.hidden { display: none !important; }
.ck-footer { border-top: 1px solid rgba(37,37,37,.12); padding: 18px 40px; font-size: 12px; color: #737373; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.ck-footer a { color: #555; text-decoration: none; }
.ck-footer__company { line-height: 1.7; }
.ck-footer__links { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .ck-wrap { flex-direction: column; }
  .ck-summary, .ck-main { width: 100%; min-height: 0; }
  .ck-summary { border-left: 0; border-bottom: 1px solid rgba(37,37,37,.08); order: -1; }
  .ck-header { padding: 14px 20px; }
  .ck-breadcrumb { display: none; }
  .ck-main { padding: 24px 20px 60px; }
}
