/* =============================================
   STRAPZY'S — Club Order Page
   ============================================= */

/* ── HERO ── */
.co-hero {
  padding: 140px 40px 72px;
  max-width: 1100px;
  margin: 0 auto;
}
.co-hero-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.co-hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.92;
  color: var(--white);
  margin: 0 0 24px;
  letter-spacing: -1px;
}
.co-hero-sub {
  font-size: 16px;
  color: var(--grey-400);
  max-width: 480px;
  line-height: 1.7;
  margin: 0;
}

/* ── LAYOUT ── */
.co-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 40px 160px;
}

/* ── SECTION LABELS ── */
.co-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

/* ── CLUB DETAILS ── */
.co-club-details {
  background: #0f0f0f;
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 48px;
}
.co-club-details-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 1px;
  margin: 0 0 28px;
}

/* ── FORM FIELDS ── */
.co-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.co-field-grid .co-field--full {
  grid-column: 1 / -1;
}
.co-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.co-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey-400);
}
.co-label span {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #444;
  font-size: 11px;
}
.co-input,
.co-select {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.co-input::placeholder { color: #3a3a3a; }
.co-input:focus,
.co-select:focus { border-color: var(--accent); }
.co-input.error,
.co-select.error { border-color: #ff4444; }
.co-select { cursor: pointer; }
.co-select option { background: #111; }
.co-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

/* ── BADGE UPLOAD ── */
.co-badge-zone {
  background: #111;
  border: 1px dashed #2a2a2a;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
}
.co-badge-zone:hover,
.co-badge-zone.dragover {
  border-color: var(--accent);
  background: #0f0f0f;
}
.co-badge-zone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 20px;
  text-align: center;
}
.co-badge-zone-icon {
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}
.co-badge-zone-text {
  margin: 0;
  font-size: 13px;
  color: var(--grey-400);
}
.co-badge-zone-link {
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}
.co-badge-zone-sub {
  margin: 0;
  font-size: 11px;
  color: #3a3a3a;
}
.co-badge-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 12px;
}
.co-badge-filename {
  font-size: 13px;
  color: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.co-badge-filename::before {
  content: '✓ ';
  color: var(--accent);
  font-weight: 700;
}
.co-badge-remove {
  background: none;
  border: none;
  color: #444;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
  transition: color 0.2s;
  flex-shrink: 0;
}
.co-badge-remove:hover { color: #ff4444; }
.co-badge-note {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--accent);
  min-height: 16px;
}

/* ── SQUAD HEADER ── */
.co-squad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.co-squad-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 1px;
  margin: 0;
}
.co-squad-count {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--grey-400);
  letter-spacing: 0;
  margin-left: 10px;
}

/* ── PLAYER CARDS ── */
.co-player-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.co-player-card {
  background: #0f0f0f;
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.co-player-card:focus-within {
  border-color: #2a2a2a;
}
.co-player-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #1a1a1a;
  cursor: pointer;
  user-select: none;
}
.co-player-card-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.co-player-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  min-width: 64px;
}
.co-player-name-preview {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}
.co-player-card-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.co-player-toggle {
  font-size: 18px;
  color: var(--grey-400);
  transition: transform 0.2s;
  line-height: 1;
}
.co-player-card.collapsed .co-player-toggle {
  transform: rotate(-90deg);
}
.co-player-remove {
  background: none;
  border: none;
  color: #3a3a3a;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}
.co-player-remove:hover { color: #ff4444; }

.co-player-fields {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.co-player-card.collapsed .co-player-fields {
  display: none;
}
.co-player-fields .co-field--full {
  grid-column: 1 / -1;
}

/* ── EMPTY STATE ── */
.co-empty-state {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed #2a2a2a;
  border-radius: 12px;
  color: var(--grey-400);
  font-size: 14px;
  margin-bottom: 40px;
}
.co-empty-state p { margin: 0 0 8px; }
.co-empty-state span { font-size: 12px; color: #444; }

/* ── ADD PLAYER BUTTON ── */
.co-add-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #111;
  border: 1px dashed #333;
  border-radius: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  justify-content: center;
  margin-bottom: 48px;
}
.co-add-btn:hover {
  border-color: var(--accent);
  background: #0f0f0f;
}

/* ── PRICING SUMMARY ── */
.co-pricing-summary {
  background: #0f0f0f;
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 24px;
}
.co-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--grey-400);
  margin-bottom: 10px;
}
.co-pricing-row:last-child { margin-bottom: 0; }
.co-pricing-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  border-top: 1px solid #1e1e1e;
  padding-top: 16px;
  margin-top: 8px;
}
.co-pricing-total-row span:last-child {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
}
.co-tier-badge {
  display: inline-block;
  background: #c8ff0022;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #c8ff0040;
}
.co-no-players-note {
  font-size: 13px;
  color: #444;
  text-align: center;
  padding: 8px 0;
}

/* ── CHECKOUT BUTTON ── */
.co-checkout-btn {
  width: 100%;
  padding: 18px;
  font-size: 15px;
  letter-spacing: 1px;
}

/* ── STICKY PRICING BAR (mobile) ── */
.co-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  border-top: 1px solid #1e1e1e;
  padding: 14px 20px;
  z-index: 100;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.co-sticky-bar-info {
  font-size: 13px;
  color: var(--grey-400);
  line-height: 1.4;
}
.co-sticky-bar-total {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 1px;
  white-space: nowrap;
}
.co-sticky-bar-btn {
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .co-hero { padding: 120px 24px 48px; }
  .co-container { padding: 0 20px 180px; }
  .co-field-grid { grid-template-columns: 1fr; }
  .co-field-grid .co-field--full { grid-column: 1; }
  .co-player-fields { grid-template-columns: 1fr; }
  .co-player-fields .co-field--full { grid-column: 1; }
  .co-club-details { padding: 24px 20px; }
  .co-pricing-summary { padding: 20px; }
  .co-sticky-bar { display: flex; }
}
