/* DEMO Airline, layout tipo aerolinea real con chat como widget flotante. */

:root {
  --bg:           #F7F3EC;
  --surface:      #FFFFFF;
  --ink:          #16202E;
  --ink-soft:     #4B5A6E;
  --ink-mute:     #7A8694;
  --navy:         #0F2A3E;
  --navy-deep:    #0A1C2C;
  --navy-soft:    #1B3A56;
  --coral:        #E85A4F;
  --coral-deep:   #D54B40;
  --coral-soft:   #FCE4DF;
  --line:         #E2DCD0;
  --line-soft:    #EFEBE2;
  --green:        #2EBB6F;
  --shadow-sm:    0 2px 8px rgba(15, 42, 62, 0.06);
  --shadow:       0 8px 30px rgba(15, 42, 62, 0.10);
  --shadow-lg:    0 20px 50px rgba(15, 42, 62, 0.20);
  --radius:       14px;
  --radius-sm:    10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; letter-spacing: -0.3px; }
p { margin: 0; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-deep);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
}

.brand-name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2px;
}

.demo-badge {
  background: var(--coral);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 3px 7px;
  border-radius: 4px;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--navy-deep); }

.nav-pill {
  background: var(--navy);
  color: white !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-pill:hover { background: var(--navy-soft); }

@media (max-width: 760px) {
  .nav-links a:not(.nav-pill) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 64px 32px 80px;
  overflow: hidden;
  background: var(--navy-deep);
  color: white;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -200px, rgba(232, 90, 79, 0.22), transparent 60%),
    radial-gradient(900px 500px at -100px 110%, rgba(46, 187, 111, 0.10), transparent 60%),
    linear-gradient(180deg, #0A1C2C 0%, #102B40 60%, #143654 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(2px 2px at 12% 28%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 78% 18%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 45% 45%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 90% 65%, rgba(255,255,255,0.35), transparent);
}

.hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 540px);
  gap: 64px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.04;
  margin-bottom: 20px;
}

.hero-copy p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
}

/* ---------- Search card ---------- */

.search-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.search-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.trip-type {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

.trip-type input { accent-color: var(--coral); margin-right: 4px; }

.search-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.search-row:has(.field-small) {
  grid-template-columns: 1fr 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 5px;
}

.field input,
.field select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--navy);
}

.search-btn {
  width: 100%;
  margin-top: 10px;
  background: var(--coral);
  color: white;
  border: 0;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

.search-btn:hover  { background: var(--coral-deep); }
.search-btn:active { transform: translateY(1px); }

.search-hint {
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 600px) {
  .search-row,
  .search-row:has(.field-small) { grid-template-columns: 1fr; }
}

/* ---------- Featured destinations ---------- */

.featured {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 32px 24px;
}

.featured-head {
  margin-bottom: 28px;
}

.featured-head h2 {
  font-size: 30px;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.featured-head p {
  color: var(--ink-soft);
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 960px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .dest-grid { grid-template-columns: 1fr; }
}

.dest-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  color: white;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 42, 62, 0.20);
}

.dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 28, 44, 0.85) 100%);
}

.dest-mia { background: linear-gradient(160deg, #43BDC4 0%, #1B7A8C 55%, #0E4F66 100%); }
.dest-mex { background: linear-gradient(160deg, #F4A857 0%, #D26A3B 55%, #8C3D1E 100%); }
.dest-scl { background: linear-gradient(160deg, #7CA9D1 0%, #3D6A95 55%, #1E3A5C 100%); }
.dest-mad { background: linear-gradient(160deg, #E8B470 0%, #B9774A 55%, #6B3F22 100%); }

.dest-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  z-index: 2;
}

.dest-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}

.dest-info h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.dest-price {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.dest-price strong {
  color: white;
  font-weight: 700;
}

/* ---------- Benefits strip ---------- */

.benefits {
  max-width: 1240px;
  margin: 32px auto 64px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 760px) {
  .benefits { grid-template-columns: 1fr; }
}

.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.benefit p {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 48px;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 32px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 14px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.footer-col p:hover { color: white; }

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-meta .brand-name {
  color: white;
  font-size: 16px;
}

.footer-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Floating chat FAB + panel ---------- */

.chat-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(232, 90, 79, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: transform 0.15s ease, background 0.15s ease;
}

.chat-fab:hover  { background: var(--coral-deep); transform: scale(1.04); }
.chat-fab:active { transform: scale(0.98); }

.chat-fab-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: var(--green);
  border: 2px solid white;
  border-radius: 50%;
}

.chat-panel {
  position: fixed;
  right: 28px;
  bottom: 100px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 130px);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 99;
  transform-origin: bottom right;
  animation: chatPop 0.18s ease-out;
}

.chat-panel[hidden] { display: none; }

@keyframes chatPop {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.chat-panel-head {
  background: var(--navy);
  color: white;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-id {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-id strong {
  display: block;
  font-size: 14px;
}

.chat-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

.chat-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 187, 111, 0.25);
}

.chat-close {
  background: transparent;
  color: white;
  border: 0;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.chat-close:hover { opacity: 1; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}

.msg { display: flex; }
.msg-assistant { justify-content: flex-start; }
.msg-user      { justify-content: flex-end; }

.msg-bubble {
  max-width: 80%;
  padding: 10px 13px;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.msg-assistant .msg-bubble {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.msg-user .msg-bubble {
  background: var(--navy);
  color: white;
  border-bottom-right-radius: 4px;
}

.msg-assistant .msg-bubble p { margin: 0 0 8px 0; }
.msg-assistant .msg-bubble p:last-child { margin-bottom: 0; }
.msg-assistant .msg-bubble ul { margin: 6px 0 8px 0; padding-left: 20px; }
.msg-assistant .msg-bubble li { margin: 2px 0; }
.msg-assistant .msg-bubble strong { font-weight: 600; }
.msg-assistant .msg-bubble code {
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.msg-assistant .msg-bubble .md-table {
  border-collapse: collapse;
  margin: 8px 0;
  width: 100%;
  font-size: 0.95em;
}
.msg-assistant .msg-bubble .md-table th,
.msg-assistant .msg-bubble .md-table td {
  border: 1px solid var(--line);
  padding: 6px 10px;
  text-align: left;
}
.msg-assistant .msg-bubble .md-table th {
  background: rgba(0, 0, 0, 0.04);
  font-weight: 600;
}

.msg-typing .msg-bubble {
  background: var(--surface);
  border: 1px solid var(--line);
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-soft);
  opacity: 0.4;
  animation: blink 1.4s infinite both;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40%           { opacity: 1;    transform: translateY(-2px); }
}

.chat-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.chat-input input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease;
}

.chat-input input:focus { border-color: var(--navy); background: var(--surface); }

.chat-input button {
  background: var(--coral);
  color: white;
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.05s ease;
}

.chat-input button:hover    { background: var(--coral-deep); }
.chat-input button:active   { transform: translateY(1px); }
.chat-input button:disabled { background: #BFB7AA; cursor: not-allowed; }

/* ---- Chat head actions wrapper (expand + close) ---- */
.chat-head-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-expand {
  background: transparent;
  color: white;
  border: 0;
  padding: 4px 6px;
  line-height: 0;
  cursor: pointer;
  opacity: 0.7;
  border-radius: 6px;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.chat-expand:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }

/* ---- Fullscreen mode (panel takes the viewport) ---- */
.chat-panel.expanded {
  inset: 0;
  right: 0;
  bottom: 0;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  border-radius: 0;
  z-index: 9999;
  animation: none;
}

.chat-panel.expanded .chat-messages {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.chat-panel.expanded .chat-input {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

/* ---- Tool-call hint inside the chat log ---- */
.msg-tool .msg-bubble {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--ink-mute);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  padding: 6px 10px;
}
.msg-tool { justify-content: center; }

/* ---- Error message bubble ---- */
.msg-error .msg-bubble {
  background: #fdecea;
  color: #8a1c14;
  border: 1px solid #f3c4be;
}

/* ---- Bundle offer (recommend_offer cards) ---- */
.offer {
  width: 100%;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-head {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}

.offer-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.offer-cabin {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--line-soft);
  border-radius: 999px;
  padding: 2px 8px;
}

/* Cabin photo strip. The source files are 150x150, so the boxes never grow
   past that; on a narrow screen they shrink together and stay square. */
/* Fallback placement on the offer card. The rule marks it as illustration. */
.offer-cabin-photos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* Normal placement, between paragraphs. The text frames it, so no rule. */
.offer-cabin-photos.in-message {
  margin: 14px 0;
  padding-top: 0;
  border-top: none;
}

.cabin-photo {
  flex: 0 1 190px;
  min-width: 0;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  display: block;
}

.offer-itin {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-soft);
}

.offer-breakdown {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}

.offer-breakdown summary {
  cursor: pointer;
  list-style: none;
  color: var(--ink-soft);
}

.offer-breakdown summary::-webkit-details-marker { display: none; }

.offer-breakdown .see {
  color: var(--coral);
  font-weight: 600;
}

.offer-breakdown[open] .see::after { content: " (hide)"; }

.offer-breakdown .bd-body {
  margin-top: 6px;
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

.offer-included {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.fare-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.fare-see {
  font-size: 11.5px;
  color: var(--coral);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
}

.fare-see:disabled { opacity: .5; cursor: default; }

.fare-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

/* A class with `display` beats [hidden], so the toggle flipped the label
   without hiding anything. */
.fare-details[hidden] { display: none; }

.offer-amenities {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.offer-amenities[hidden] { display: none; }

/* Collapsed by default: the toggle stays, the rows fold away. */
.offer-amenities.is-collapsed .amenity-row { display: none; }

.amenities-toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.amenity-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: .82rem;
}

.am-name  { color: var(--ink-soft); text-transform: capitalize; }
.am-value { color: var(--ink); text-align: right; }

.offer-included-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.offer-included-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.offer-included-list[hidden] { display: none; }

.included-chip {
  font-size: 11px;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 3px 9px;
}

.included-chip .tick {
  color: var(--green);
  font-weight: 700;
  margin-right: 4px;
}

.offer-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-flight-only-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-soft);
}

.bcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.bcard.rec {
  border-color: var(--coral);
  box-shadow: var(--shadow);
}

.bcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bcard-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.rec-chip {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: white;
  background: var(--coral);
  border-radius: 999px;
  padding: 3px 9px;
}

.bcard-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.bcard-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.bcard-extras {
  font-size: 11px;
  font-weight: 600;
  color: var(--coral-deep);
  background: var(--coral-soft);
  border-radius: 999px;
  padding: 2px 8px;
}

.bcard-hook {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.bcard-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.bchip {
  font-size: 11px;
  color: var(--ink);
  background: var(--line-soft);
  border-radius: 999px;
  padding: 3px 9px;
}

.bcard-details {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bcard-details[hidden] { display: none; }

.details-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--ink-mute);
}

.item-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}

.it-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.it-why {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.loading-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-mute);
}

.spinner {
  flex: none;
  width: 14px;
  height: 14px;
  border: 2px solid var(--line);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.sk-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}

.sk {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--line-soft) 25%, var(--line) 50%, var(--line-soft) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease infinite;
}

.sk.name { width: 40%; }
.sk.line { width: 90%; }
.sk.line.short { width: 60%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
    border-top-color: var(--coral);
  }
  .sk {
    animation: none;
  }
}

.bcard-foot {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.bcard-choose,
.bcard-see {
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.bcard-choose {
  flex: 1;
  background: var(--coral);
  color: white;
  border: 0;
}

.bcard-choose:hover { background: var(--coral-deep); }
.bcard-choose:active { transform: translateY(1px); }

.bcard-see {
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--line);
}

.bcard-see:hover { border-color: var(--navy); }
.bcard-see:active { transform: translateY(1px); }

.bcard-choose:focus-visible,
.bcard-see:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
