/* ============================================================
   cart.css — Shopping Cart page (Shochiku / e-tix style)
   Matches the reference: white card, uppercase table headers,
   blue timer strip, blue "CANCEL / CANCEL ALL / BUY ADDITIONAL"
   links, green Continue button.
   ============================================================ */

*{box-sizing:border-box}
html,body{margin:0;padding:0}

.ck-body{
  background:#ededed;
  font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  color:#333;
  font-size:14px;
  line-height:1.5;
  min-height:100vh;
}

.ck-cobrand{
  background:#fff;
  border-bottom:1px solid #e5e5e5;
  padding:14px 0;
  text-align:center;
  max-width:960px;
  margin:0 auto;
}
.ck-cobrand img{max-height:52px;width:auto;display:inline-block}

.ck-container{
  max-width:960px;
  margin:16px auto 0;
  background:#fff;
  padding:32px 40px 40px;
}

/* Top bar */
.ck-topbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  margin-bottom:18px;
}
.ck-h1{
  font-size:22px;
  font-weight:700;
  color:#222;
  margin:0;
  letter-spacing:-.01em;
}
.ck-add-link{
  color:#137dd9;
  text-decoration:none;
  font-size:12px;
  font-weight:600;
  letter-spacing:.04em;
  white-space:nowrap;
  padding-top:6px;
}
.ck-add-link:hover{text-decoration:underline}

/* Timer strip */
.ck-timer{
  border:1px solid #cfd8e4;
  background:#f5f8fb;
  padding:10px 14px;
  font-size:13px;
  color:#333;
  margin-bottom:20px;
}
.ck-timer strong{
  color:#c94a3d;
  font-weight:700;
  margin-right:6px;
  font-variant-numeric:tabular-nums;
}

/* Table */
.ck-table{
  width:100%;
  border-collapse:collapse;
  margin-bottom:14px;
}
.ck-table thead th{
  background:#f2f2f2;
  border-top:1px solid #d4d4d4;
  border-bottom:1px solid #d4d4d4;
  color:#333;
  font-size:12px;
  font-weight:700;
  letter-spacing:.03em;
  padding:10px 14px;
  text-align:left;
}
.ck-col-price{text-align:right !important}
.ck-table tbody td{
  padding:14px 14px;
  border-bottom:1px solid #e5e5e5;
  vertical-align:top;
  font-size:13px;
  color:#333;
}
.ck-col-rep{width:32%}
.ck-col-room{width:22%}
.ck-col-seat{width:28%}
.ck-col-price{width:18%;text-align:right}

.ck-event-name{
  font-weight:700;
  color:#222;
  margin:0 0 2px;
}
.ck-event-date{color:#333;margin:0}
.ck-event-type{color:#333;margin:0}
.ck-cancel{
  display:inline-block;
  margin-top:8px;
  font-size:12px;
  color:#137dd9;
  text-decoration:none;
  letter-spacing:.04em;
  font-weight:600;
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
}
.ck-cancel:hover{text-decoration:underline}

.ck-seat-line{margin:0;padding:0}

/* Below table row */
.ck-below-table{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  padding:6px 0 24px;
}
.ck-cancel-all{
  color:#137dd9;
  text-decoration:none;
  font-size:12px;
  font-weight:600;
  letter-spacing:.04em;
}
.ck-cancel-all:hover{text-decoration:underline}
.ck-totals{
  min-width:260px;
  text-align:right;
}
.ck-total-line{
  display:flex;
  justify-content:flex-end;
  gap:16px;
  font-size:13px;
  padding:2px 0;
}
.ck-total-label{color:#666}
.ck-total-line strong{
  color:#222;
  font-weight:700;
  min-width:110px;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.ck-total-line:last-child strong{font-size:15px}

/* Delivery method */
.ck-h2{
  font-size:18px;
  font-weight:700;
  color:#222;
  margin:30px 0 14px;
}
.ck-delivery{margin-bottom:22px}
.ck-radio{
  display:flex;
  align-items:flex-start;
  gap:10px;
  cursor:pointer;
}
.ck-radio input{
  margin:4px 0 0;
  accent-color:#137dd9;
}
.ck-radio-title{
  font-size:13px;
  font-weight:700;
  color:#222;
  letter-spacing:.03em;
}
.ck-radio-desc{
  font-size:12px;
  color:#666;
  margin-top:4px;
  max-width:700px;
}

/* Continue button */
.ck-actions{margin:24px 0 8px}
.ck-continue{
  background:#2f8f3f;
  color:#fff;
  border:none;
  padding:8px 22px;
  font-size:13px;
  font-weight:600;
  border-radius:3px;
  cursor:pointer;
  letter-spacing:.02em;
}
.ck-continue:hover{background:#26762f}

/* Checkout survey page */
.ck-survey-topbar{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:24px;
  margin:0 0 16px;
}
.ck-survey-links{
  font-size:12px;
  font-weight:600;
  letter-spacing:.04em;
  white-space:nowrap;
}
.ck-survey-links a{
  color:#137dd9;
  text-decoration:none;
}
.ck-survey-links a:hover{text-decoration:underline}
.ck-survey-links .ck-separator{color:#bbb;margin:0 8px}
.ck-survey-title{
  font-size:20px;
  font-weight:700;
  line-height:1.25;
  margin:0;
  color:#222;
}
.ck-survey-section-title{
  font-size:16px;
  font-weight:700;
  margin:22px 0 8px;
  color:#222;
}
.ck-survey-table{margin-bottom:8px}
.ck-survey-table .ck-col-rep{width:42%}
.ck-survey-table .ck-col-room{width:28%}
.ck-survey-table .ck-col-seat{width:30%;text-align:right}
.ck-survey-table tbody td.ck-col-room{color:#137dd9}
.ck-survey-table tbody td.ck-col-seat{text-align:right}
.ck-survey-alert{
  border:1px solid #e3c4c4;
  background:#f6e6e6;
  color:#a24141;
  font-weight:700;
  font-style:italic;
  padding:10px 14px;
  margin:0 0 14px;
  font-size:13px;
  line-height:1.4;
}
.ck-order-info{margin-top:4px}
.ck-confirm-row{
  display:grid;
  grid-template-columns:220px 360px;
  gap:24px;
  align-items:start;
  margin:0 0 6px;
}
.ck-order-note{
  color:#ff0000;
  font-size:14px;
  line-height:1.5;
  font-style:italic;
  font-weight:700;
  margin:0 0 10px;
}
.ck-confirm-label{
  color:#ff0000;
  font-size:14px;
  font-weight:700;
  font-style:italic;
  text-align:right;
  padding-top:2px;
}
.ck-confirm-label span{color:#ff0000}
.ck-confirm-check{
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:#ff0000;
  font-size:14px;
  font-weight:700;
  font-style:italic;
}
.ck-confirm-check input{margin-top:3px}
.ck-change-note{
  margin:6px 0 8px;
  font-size:13px;
  font-style:italic;
  font-weight:700;
  color:#333;
}
.ck-survey-actions{margin:8px 0 12px}
.ck-submit{
  background:#4c9c53;
  color:#fff;
  border:1px solid #3d8a44;
  padding:7px 16px;
  font-size:13px;
  font-weight:600;
  border-radius:3px;
  cursor:pointer;
}
.ck-submit:hover{background:#3f8a45}

/* Footer */
.ck-footer{
  max-width:960px;
  margin:0 auto;
  background:#fff;
  padding:6px 8px 0 0;
  border-top:1px solid #d0d0d0;
  border-bottom:2px solid #999;
  text-align:right;
  color:#666;
  font-size:11px;
  line-height:1.6;
}
.ck-footer a{color:#137dd9;text-decoration:none}
.ck-footer a:hover{text-decoration:underline}

@media (max-width:720px){
  .ck-container{padding:22px 18px 26px}
  .ck-topbar{flex-direction:column;gap:8px}
  .ck-below-table{flex-direction:column;align-items:stretch}
  .ck-totals{text-align:left}
  .ck-total-line{justify-content:space-between}
  .ck-col-rep,.ck-col-room,.ck-col-seat,.ck-col-price{width:auto}
  .ck-table thead{display:none}
  .ck-table tbody td{display:block;border-bottom:none;padding:2px 0}
  .ck-table tbody tr{
    display:block;
    border-bottom:1px solid #e5e5e5;
    padding:10px 0;
  }
  .ck-col-price{text-align:left;font-weight:700}
  .ck-survey-topbar{flex-direction:column;gap:6px}
  .ck-confirm-row{grid-template-columns:1fr;gap:6px}
  .ck-confirm-label{text-align:left}
}
.ck-top-links{display:inline-flex;align-items:center;gap:8px}
.ck-top-sep{color:#999;font-size:12px}

/* Buyer details: local-only, no submission or storage. */
.buyer-section{margin:26px 0 18px;padding:22px;border:1px solid #ddd;background:#fafafa}
.buyer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.buyer-field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#333;font-weight:600}
.buyer-field input{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #bcbcbc;border-radius:3px;background:white;font:inherit;font-weight:400;color:#222}
.buyer-field input:focus{outline:2px solid #427bb3;outline-offset:1px}
.buyer-field em{font-style:normal;color:#a32626}
.buyer-hint{font-size:12px;line-height:1.5;color:#666;margin:16px 0 0}
#pay:disabled{opacity:.48;cursor:not-allowed;pointer-events:none}
@media(max-width:600px){.buyer-section{padding:16px}.buyer-grid{grid-template-columns:1fr}}
