
/* ===================== LAYOUT ===================== */
.co-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 20px 80px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}
@media(max-width: 768px) {
  .co-wrap { grid-template-columns: 1fr; }
  .co-summary { order: -1; }
}

/* ===================== SECTION LABEL ===================== */
.co-label {
  font-family: var(--font-head);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--red-bright);
  border: 1px solid var(--red-line);
  padding: 4px 12px;
  border-radius: 2px;
  background: rgba(204,17,17,.07);
  display: inline-block;
  margin-bottom: 16px;
}

/* ===================== FORM CARD ===================== */
.co-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
  margin-bottom: 20px;
}
.co-card h3 {
  font-size: 12px;
  font-family: var(--font-head);
  letter-spacing: .12em;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.co-card h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.field-row.solo { grid-template-columns: 1fr; }
.field-row.thirds { grid-template-columns: 1fr 1fr 1fr; }
@media(max-width:480px) {
  .field-row, .field-row.thirds { grid-template-columns: 1fr; }
}
.field label {
  display: block;
  font-size: 10px;
  font-family: var(--font-head);
  letter-spacing: .1em;
  color: var(--gray-lt);
  margin-bottom: 7px;
}
.field label .req { color: var(--red-bright); margin-left: 2px; }
.field input,
.field select {
  width: 100%;
  background: var(--bg-card2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  transition: border-color .18s;
  -webkit-appearance: none;
}
.field input::placeholder { color: var(--gray); }
.field input:focus,
.field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,17,17,.12);
}
.field select option { background: #1c1c1c; color: var(--white); }

/* ===================== PAYMENT ===================== */
.pay-list { display: flex; flex-direction: column; gap: 10px; }
.pay-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-card2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  cursor: pointer;
  transition: border-color .18s;
  position: relative;
}
.pay-item.active {
  border-color: var(--red);
  background: rgba(204,17,17,.06);
}
.pay-item.disabled {
  opacity: .38;
  cursor: not-allowed;
}
.pay-radio {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid var(--gray);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pay-item.active .pay-radio {
  border-color: var(--red-bright);
}
.pay-radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  display: none;
}
.pay-item.active .pay-radio-dot { display: block; }
.pay-icon {
  width: 40px;
  height: 26px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.pay-name {
  font-size: 13px;
  font-weight: 500;
  flex: 1;
}
.pay-sub {
  font-size: 11px;
  color: var(--gray);
  margin-top: 1px;
}
.pay-badge-coming {
  font-size: 9px;
  font-family: var(--font-head);
  letter-spacing: .1em;
  color: var(--gray);
  border: 1px solid rgba(255,255,255,.12);
  padding: 2px 8px;
  border-radius: 20px;
}

/* ===================== ORDER SUMMARY ===================== */
.co-summary {
  position: sticky;
  top: 78px;
}

@media(max-width: 768px) {
  .co-wrap { grid-template-columns: 1fr; }
  .co-summary { order: -1; position: static; top: auto; }
}
.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
}
.summary-card h3 {
  font-size: 11px;
  font-family: var(--font-head);
  letter-spacing: .14em;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.summary-pkg {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.summary-pkg-img {
  width: 64px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  background: #6d0606;
  flex-shrink: 0;
}
.summary-pkg-info {}
.summary-pkg-name {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: .08em;
}
.summary-pkg-sub {
  font-size: 12px;
  color: var(--gray);
  margin-top: 3px;
}
.summary-pkg-badge {
  display: inline-block;
  font-size: 8px;
  font-family: var(--font-head);
  letter-spacing: .1em;
  background: var(--red);
  color: #fff;
  padding: 2px 7px;
  border-radius: 2px;
  margin-top: 5px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-lt);
  margin-bottom: 10px;
}
.summary-line.total {
  font-weight: 600;
  color: var(--white);
  font-size: 15px;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}
.summary-line.total span:last-child { color: var(--red-bright); }
.summary-strike {
  text-decoration: line-through;
  color: var(--gray);
  font-size: 12px;
  margin-left: 6px;
}
.summary-save {
  font-size: 11px;
  color: var(--green);
  text-align: right;
  margin-bottom: 14px;
}
.summary-trust {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.summary-trust span {
  font-size: 12px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===================== SUBMIT ===================== */
.btn-place {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: .14em;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 17px 28px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background .2s, box-shadow .2s, transform .15s;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}
.btn-place:hover {
  background: var(--red-bright);
  box-shadow: 0 0 26px var(--red-glow);
  transform: translateY(-1px);
}
.btn-place::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.07) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.4s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* ===================== ALERTS ===================== */
.co-error {
  background: rgba(204,17,17,.12);
  border: 1px solid var(--red-muted);
  color: #f88;
  padding: 13px 18px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 20px;
}

/* ===================== SUCCESS ===================== */
.co-success {
  max-width: 520px;
  margin: 80px auto;
  text-align: center;
  padding: 0 24px;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(37,211,102,.12);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
}
.success-order {
  font-size: 11px;
  font-family: var(--font-head);
  letter-spacing: .15em;
  color: var(--gray);
  margin-top: 8px;
}
.success-order strong { color: var(--white); }
.success-note {
  font-size: 13px;
  color: var(--gray-lt);
  margin-top: 14px;
  line-height: 1.8;
}

  /* Summary Interactive Selection Styling */
  .pkg-select-card {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
  }
  .pkg-select-card:hover {
    border-color: #555;
    background: #1c1c1c;
  }
  .pkg-select-card.active {
    border-color: #ff3333; /* Matches custom red accent branding color theme */
    background: #1f1414;
  }
  .pkg-radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid #555;
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .pkg-select-card.active .pkg-radio-circle {
    border-color: #ff3333;
  }
  .pkg-radio-circle::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #ff3333;
    border-radius: 50%;
    display: none;
  }
  .pkg-select-card.active .pkg-radio-circle::after {
    display: block;
  }
  .btn-place:disabled {
    background: #333 !important;
    color: #777 !important;
    cursor: not-allowed;
    border-color: #333 !important;
  }
  .summary-save-box {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 14px;
    font-weight: 500;
  }
