/* =========================================================
   PlayGloba – detail pages: coach, venue, player, event, game
   Loads after styles.css + pages.css
   ========================================================= */

/* ---------- Detail header ---------- */
.detail-hero { background: linear-gradient(180deg, #f7fbf9 0%, #f3f8f5 100%); padding: 24px 0 28px; position: relative; overflow: hidden; }
.detail-hero .hero-mark { position: absolute; right: -40px; top: -40px; width: 200px; opacity: .06; pointer-events: none; }
.profile-head { display: flex; gap: 22px; align-items: flex-start; }
.avatar-xl { width: 104px; height: 104px; font-size: 34px; box-shadow: 0 0 0 5px #fff; }
.profile-head h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-head h1 .verified .ic { width: 22px; height: 22px; }
.profile-head .r-sub { font-size: 15px; margin: 6px 0 10px; }
.profile-head .meta { font-size: 13px; }
.head-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.icon-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 13px; font-weight: 600; color: var(--ink); }
.icon-pill:hover { border-color: var(--green); color: var(--green); }
.icon-pill.is-on { color: var(--green); border-color: var(--green); background: var(--green-soft); }
.icon-pill.is-on .ic { fill: currentColor; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.badge .ic { width: 13px; height: 13px; color: var(--green); }

/* In-page section nav */
.d-nav { position: sticky; top: 72px; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.d-nav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.d-nav .container::-webkit-scrollbar { display: none; }
.d-nav a { padding: 13px 14px; font-size: 13.5px; font-weight: 500; color: var(--ink); border-bottom: 2px solid transparent; white-space: nowrap; }
.d-nav a:hover { color: var(--green); }
.d-nav a.is-active { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }

/* ---------- Two-column body ---------- */
.detail-wrap { padding: 28px 0 56px; }
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.d-section { padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.d-section:first-child { padding-top: 0; }
.d-section:last-child { border-bottom: 0; }
.d-section > h2 { font-size: 19px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.d-section > p, .prose p { font-size: 14.5px; margin-bottom: 10px; max-width: 70ch; }
.d-sub { font-size: 13px; color: var(--muted); margin: -8px 0 16px; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.info-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.info-item .ic { color: var(--green); margin-top: 2px; }
.info-item span { display: block; font-size: 12px; color: var(--muted); }
.info-item strong { font-size: 14px; color: var(--ink); font-weight: 600; }

/* ---------- Plans (coach) ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.plan-card:hover { border-color: #bfe0cd; }
.plan-card.is-selected { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-card h3 { font-size: 15px; }
.plan-price { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.plan-price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.plan-card .checks li { font-size: 12.5px; color: var(--text); }
.plan-tag { position: absolute; top: -10px; right: 14px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan-card.is-free .plan-price { color: var(--green); }

/* Weekly availability */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.week-day { border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px; text-align: center; min-height: 120px; }
.week-day h4 { font-size: 12.5px; margin-bottom: 8px; }
.week-day span { display: block; font-size: 11.5px; padding: 4px 0; margin-bottom: 4px; border-radius: 6px; background: var(--green-soft); color: var(--green-dark); font-weight: 600; }
.week-day em { font-size: 11.5px; color: var(--muted); font-style: normal; }

/* ---------- Gallery (venue) ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 150px 150px; gap: 8px; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 22px; }
.gallery div { position: relative; }
.gallery div:first-child { grid-row: span 2; }
.g-court { background: linear-gradient(90deg, transparent 48%, rgba(255,255,255,.55) 48% 52%, transparent 52%), linear-gradient(180deg, #7a5a3a 0 30%, #c98c4f 30% 100%); }
.g-turf { background: linear-gradient(180deg, transparent 55%, rgba(255,255,255,.4) 55% 57%, transparent 57%), linear-gradient(180deg, #7fb58e 0 35%, #2f8a5c 35% 100%); }
.g-pool { background: repeating-linear-gradient(90deg, #5fb3e0 0 38px, #fff 38px 40px, #5fb3e0 40px 78px), #5fb3e0; }
.g-hall { background: linear-gradient(180deg, #dfe7e3 0 40%, #b9c9c1 40% 100%); }
.g-count { position: absolute; right: 10px; bottom: 10px; background: rgba(16,42,30,.75); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px; }

.price-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.price-table th, .price-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.price-table th { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg-soft); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td strong { color: var(--ink); }

.amenity-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.amenity-list li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.amenity-list li .ic { color: var(--green); width: 16px; height: 16px; stroke-width: 2.4; }
.amenity-list li.off { color: var(--muted); text-decoration: line-through; }
.amenity-list li.off .ic { color: var(--muted); }

.map-box { height: 200px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; overflow: hidden;
  background: linear-gradient(0deg, transparent 49%, #e3ebe7 49% 51%, transparent 51%) 0 0 / 60px 60px,
              linear-gradient(90deg, transparent 49%, #e3ebe7 49% 51%, transparent 51%) 0 0 / 60px 60px, #f3f7f5; }
.map-box .ic { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 40px; height: 40px; color: var(--pink); fill: #fdecef; }
.map-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-size: 13px; flex-wrap: wrap; }

/* ---------- Date strip + slots (venue + coach booking) ---------- */
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.date-btn { flex: 0 0 auto; width: 58px; padding: 8px 0; border: 1px solid var(--line); border-radius: 12px; text-align: center; line-height: 1.2; background: #fff; }
.date-btn small { display: block; font-size: 11px; color: var(--muted); }
.date-btn b { font-size: 17px; color: var(--ink); }
.date-btn:hover { border-color: #bfe0cd; }
.date-btn.is-selected { background: var(--green); border-color: var(--green); }
.date-btn.is-selected small, .date-btn.is-selected b { color: #fff; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { padding: 9px 6px; border: 1px solid var(--line); border-radius: 10px; text-align: center; font-size: 12.5px; background: #fff; line-height: 1.3; }
.slot small { display: block; font-size: 11px; color: var(--muted); }
.slot:hover:not(:disabled) { border-color: var(--green); }
.slot.is-peak small { color: var(--orange); }
.slot.is-selected { background: var(--green-soft); border-color: var(--green); color: var(--green-dark); font-weight: 600; }
.slot:disabled { background: var(--bg-soft); color: #aab5b0; text-decoration: line-through; cursor: not-allowed; }
.slot-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.slot-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; border: 1px solid var(--line); margin-right: 6px; vertical-align: -1px; }
.slot-legend .l-sel { background: var(--green-soft); border-color: var(--green); }
.slot-legend .l-off { background: var(--bg-soft); }

.picker-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.picker-row .f-select { width: auto; min-width: 180px; }

/* ---------- Sticky booking card ---------- */
.detail-aside { position: sticky; top: 132px; display: grid; gap: 14px; }
.book-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; background: #fff; box-shadow: 0 10px 30px rgba(16,42,30,.07); display: grid; gap: 14px; }
.book-card h3 { font-size: 16px; }
.book-card .from { font-size: 13px; color: var(--muted); }
.book-card .from strong { font-size: 22px; color: var(--ink); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.sum-row span:first-child { color: var(--text); }
.sum-row strong { color: var(--ink); }
.sum-total { padding-top: 12px; border-top: 1px dashed var(--line); font-size: 15px; }
.sum-total strong { font-size: 18px; }
.book-note { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; }
.book-note .ic { width: 14px; height: 14px; margin-top: 2px; color: var(--green); }
.book-empty { font-size: 13px; color: var(--muted); padding: 12px; background: var(--bg-soft); border-radius: 10px; text-align: center; }

/* Spots bar */
.spots { display: grid; gap: 6px; }
.spots-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.spots-bar b { display: block; height: 100%; background: var(--green); border-radius: 6px; }
.spots-bar.hot b { background: var(--orange); }
.spots span { font-size: 12px; color: var(--muted); }

/* ---------- Event ---------- */
.event-hero { padding: 0; background: #fff; }
.event-banner { border-radius: var(--radius-lg); padding: 30px; color: #fff; position: relative; overflow: hidden; margin-top: 20px; }
.event-banner.tone-green { background: linear-gradient(120deg, #0b6e3f, #22b573); }
.event-banner.tone-blue { background: linear-gradient(120deg, #1f3a6b, #2f6fd6); }
.event-banner.tone-orange { background: linear-gradient(120deg, #c94a16, #f0862b); }
.event-banner.tone-purple { background: linear-gradient(120deg, #5a2ea0, #8a4fd8); }
.event-banner.tone-pink { background: linear-gradient(120deg, #a81f36, #e0334d); }
.event-banner h1 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.02em; max-width: 720px; }
.event-banner .crumbs, .event-banner .crumbs a { color: rgba(255,255,255,.8); }
.event-banner .e-type { display: inline-flex; gap: 6px; align-items: center; background: rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.event-banner .e-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; }
.event-banner .e-meta span { display: inline-flex; gap: 8px; align-items: center; }
.event-banner .banner-ic { position: absolute; right: 30px; bottom: -30px; width: 200px; height: 200px; opacity: .14; stroke-width: 1.2; }
.event-banner .ic { stroke: currentColor; }

.cat-list { display: grid; gap: 10px; }
.cat-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.cat-opt input { accent-color: var(--green); width: 16px; height: 16px; }
.cat-opt:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.cat-opt:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.cat-opt strong { font-size: 14px; color: var(--ink); display: block; }
.cat-opt .price { margin: 0; }

.timeline { position: relative; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 16px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: -21px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--green); }
.timeline b { display: inline-block; min-width: 82px; color: var(--ink); }

.organizer { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.organizer div { flex: 1; }
.organizer strong { display: block; color: var(--ink); }
.organizer span { font-size: 12.5px; color: var(--muted); }

/* ---------- Reviews ---------- */
.stars { display: inline-flex; gap: 1px; }
.star-off { fill: #e6ebe8; stroke: #e6ebe8; }
.review-summary { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--bg-soft); margin-bottom: 16px; }
.review-score { text-align: center; display: grid; gap: 4px; justify-items: center; }
.review-score strong { font-size: 40px; color: var(--ink); line-height: 1; }
.review-score > span { font-size: 12px; color: var(--muted); }
.review-bars div { display: grid; grid-template-columns: 14px 1fr 36px; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.review-bars i { height: 6px; border-radius: 6px; background: #e3ebe7; overflow: hidden; }
.review-bars b { display: block; height: 100%; background: #f5a623; }
.review-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.review-list li:last-child { border-bottom: 0; }
.review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.review-head .avatar { width: 36px; height: 36px; font-size: 14px; }
.review-head strong { display: block; font-size: 13.5px; color: var(--ink); }
.review-head .meta { margin: 0; }
.review-list p { font-size: 14px; }

/* Player profile */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-strip div { padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.stat-strip strong { display: block; font-size: 20px; color: var(--ink); }
.stat-strip span { font-size: 12px; color: var(--muted); }
.sport-level { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.sport-level > div { flex: 1; }
.sport-level strong { color: var(--ink); display: block; }
.sport-level .bars { display: flex; gap: 3px; align-items: flex-end; height: 20px; }
.sport-level .bars i { width: 6px; border-radius: 2px; background: var(--line); }
.sport-level .bars i:nth-child(1) { height: 7px; } .sport-level .bars i:nth-child(2) { height: 13px; } .sport-level .bars i:nth-child(3) { height: 20px; }
.sport-level .bars i.on { background: var(--green); }

/* ---------- Modal + toast ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(16,42,30,.45); }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius-lg); padding: 24px; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; display: grid; gap: 16px; }
.modal-box h2 { font-size: 18px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 120; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 13.5px; font-weight: 500; transition: all .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Mobile bottom bar with the main action */
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .week { grid-template-columns: repeat(4, 1fr); }
  .mobile-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 18px;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,42,30,.06);
  }
  .mobile-cta .price { margin: 0; }
  body.has-mobile-cta { padding-bottom: 72px; }
}
@media (max-width: 600px) {
  .profile-head { flex-direction: column; gap: 14px; }
  .avatar-xl { width: 84px; height: 84px; font-size: 28px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 90px; }
  .gallery div:first-child { grid-column: span 2; grid-row: auto; }
  .gallery div:nth-child(n+4) { display: none; }
  .review-summary { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .week { grid-template-columns: repeat(2, 1fr); }
  .event-banner { padding: 22px; }
}

/* Grid children must be allowed to shrink so scrolling rows (date strip) don't widen the page */
.detail-layout > *, .detail-aside, .book-card, .checkout-grid > *, .order-grid > * { min-width: 0; }

/* ---------- Open game roster ---------- */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.seat a, .seat.seat-open { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 12px; text-align: center; font-size: 13px; color: var(--ink); height: 100%; }
.seat a:hover { border-color: var(--green); }
.seat .avatar { width: 44px; height: 44px; font-size: 15px; }
.seat em { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--green); }
.seat small { font-size: 11px; color: var(--muted); }
.seat.seat-open { border-style: dashed; color: var(--muted); background: var(--bg-soft); justify-content: center; }
.seat.seat-open .ic { width: 22px; height: 22px; padding: 10px; box-sizing: content-box; border-radius: 50%; border: 1.5px dashed #c7d3cd; }

/* =========================================================
   Side cards: invite a player, ask a question, coach day/time picker, checkout summary
   ========================================================= */

/* Card heading with a small icon or avatar on the left */
.card-head { display: flex; gap: 12px; align-items: flex-start; }
.card-head h3 { font-size: 16px; line-height: 1.3; }
.card-head .hint { margin-top: 2px; }
.card-head .avatar { width: 44px; height: 44px; font-size: 15px; }

/* Quick-pick chips (fill a field with one tap) */
.quick-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.qp {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 12.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, background .15s, color .15s;
}
.qp:hover { border-color: var(--green); color: var(--green); }
.qp.is-on { background: var(--green-soft); border-color: var(--green); color: var(--green-dark); font-weight: 600; }
.qp:disabled { opacity: .45; cursor: not-allowed; }
.field .quick-picks + .input, .field .quick-picks + textarea { margin-top: 2px; }
.counter { display: block; margin-top: -2px; }
.counter.is-near { color: var(--orange); font-weight: 600; }

/* Invite a player */
.invite-card { gap: 16px; }
.invite-form { gap: 16px; }
.invite-form .field > label { font-size: 12.5px; }

/* Ask a question (coach + venue) */
.ask-card { display: grid; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ask-card .form-grid { gap: 12px; }
.ask-card textarea { min-height: 104px; }
.ask-ic {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; background: var(--green-soft); color: var(--green);
}
.ask-ic .ic { width: 20px; height: 20px; }
.ask-login { font-size: 13.5px; color: var(--text); }

/* Coach booking: numbered steps */
.bk-step { display: grid; gap: 10px; }
.bk-step-label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.bk-num {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
}
.bk-loading { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--muted); }

/* Day strip: three lines (Mon / 6 / Oct), days without slots are greyed out */
.date-btn { line-height: 1.25; }
.date-btn small:last-child { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.date-btn:disabled { opacity: .4; cursor: not-allowed; background: var(--bg-soft); }
.date-btn:disabled:hover { border-color: var(--line); }

/* Times grouped by part of the day */
.bk-times { display: grid; gap: 14px; }
.bk-group { display: grid; gap: 8px; }
.bk-group-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.bk-group-h small { font-size: 11.5px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--green); }
.bk-times .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bk-times .slot { min-height: 40px; font-weight: 500; }
.bk-times .slot.is-selected { background: var(--green); border-color: var(--green); color: #fff; }
.bk-step .slot-legend { margin-top: 0; }
.slot-legend span { display: inline-flex; align-items: center; }
.slot-legend .l-sel { background: var(--green); border-color: var(--green); }

/* "Your pick" box */
.bk-pick {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 12px; background: var(--green-soft); color: var(--green-dark);
}
.bk-pick-text { flex: 1; min-width: 0; display: grid; }
.bk-pick-text strong { font-size: 14px; color: var(--ink); }
.bk-pick-text span { font-size: 12px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-pick-price { font-size: 15px; color: var(--ink); white-space: nowrap; }
#bkGo:disabled { opacity: 1; background: var(--bg-soft); color: var(--muted); }

/* Checkout summary */
.summary-card { gap: 16px; }
.summary-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.summary-card .co-item .sport-ic { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; }
.summary-card .co-item .sport-ic .ic { width: 22px; height: 22px; }
.summary-facts { padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); }
.summary-facts li { align-items: flex-start; color: var(--ink); }
.summary-facts .ic { margin-top: 3px; }
.summary-card .price-box { gap: 10px; padding-top: 4px; }
.sum-row.is-sub { font-size: 12.5px; color: var(--muted); }
.sum-row.is-sub span:first-child { color: var(--muted); }
.sum-row.is-discount strong { color: var(--green); }
.summary-card .sum-total { align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.summary-card .sum-total span { font-weight: 600; color: var(--ink); }
.summary-card .sum-total strong { font-size: 24px; }
.save-note { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); font-size: 12.5px; font-weight: 600; }

.coupon-box { display: grid; gap: 6px; padding-top: 14px; border-top: 1px dashed var(--line); }
.coupon-label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.coupon-box .coupon { display: flex; gap: 8px; margin: 0; }
.coupon-box .coupon .input-wrap { flex: 1; min-width: 0; }
.coupon-box .coupon .input { padding-top: 10px; padding-bottom: 10px; font-size: 13.5px; text-transform: uppercase; }
.coupon-box .coupon .input::placeholder { text-transform: none; }
.coupon-box .coupon .input[aria-invalid="true"] { border-color: var(--pink); }
.coupon-box .btn { flex-shrink: 0; }
.coupon-msg { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; }
.coupon-msg.is-err { color: var(--pink); }
.coupon-msg.is-ok { color: var(--green); }

.summary-card .btn-lg .ic { margin-left: 2px; }
.trust-list { display: grid; gap: 7px; font-size: 12px; color: var(--muted); }
.trust-list li { display: flex; gap: 8px; align-items: flex-start; }
.trust-list .ic { color: var(--green); margin-top: 2px; }

@media (max-width: 760px) {
  .ask-card { border-color: transparent; border-radius: 18px; }
  .qp { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .summary-facts { background: var(--bg); }
}
