/* Epione Option F — sales components */

/* Floating quote button + toast */
.quote-fab {
  position: fixed; left: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 999px; background: #0b1f35; color: #fff !important; font: 700 .9rem Lato, sans-serif;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transform: translateY(120px); transition: transform .35s;
}
.quote-fab.has-items { transform: none; }
.quote-fab svg { width: 18px; height: 18px; }
.quote-fab span, .q-count {
  min-width: 22px; height: 22px; border-radius: 11px; background: #2ba3d6; color: #fff; display: inline-grid; place-items: center;
  font-size: .75rem; padding: 0 6px;
}
.q-toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 90; transform: translate(-50%, 140px); transition: transform .35s;
  background: #0b1f35; color: #fff; padding: 14px 22px; border-radius: 12px; font: 400 .92rem Lato, sans-serif;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); max-width: calc(100% - 32px); text-align: center;
}
.q-toast.show { transform: translate(-50%, 0); }
.q-toast a { color: #7fd0f2; font-weight: 700; margin-left: 6px; }

/* Add-to-quote chips inside brand worlds (inherit each world's colours) */
.q-chip {
  margin-top: 14px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent;
  color: var(--w-accent, #00458e); font: 700 .82rem/1 var(--w-body, Lato), sans-serif; cursor: pointer; transition: background .2s, color .2s;
}
.q-chip:hover { background: var(--w-accent, #00458e); color: var(--w-accent-ink, #fff); border-color: var(--w-accent, #00458e); }
.q-added, .q-chip.q-added { background: #1f9d55 !important; color: #fff !important; border-color: #1f9d55 !important; }
.p-add { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; }
.p-add span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--w-muted, #5a6b80); margin-top: 14px; }
.ff-tricho .p-add, .w-split .p-add { justify-content: flex-start; }
.w-btn[data-quote] { cursor: pointer; font-family: inherit; }

/* Home: trust bar */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 30px 0; }
.trust div { display: flex; gap: 14px; align-items: center; font-size: .95rem; }
.trust svg { width: 30px; height: 30px; flex: none; color: var(--sky); }
.trust b { display: block; color: var(--navy-deep); }
.trust span { color: var(--muted); font-size: .85rem; }

/* Home: shop by clinic need */
.needs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.need {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s; color: var(--ink);
}
.need:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky); }
.need .ico { font-size: 1.8rem; margin-bottom: 14px; }
.need h3 { font-size: 1.5rem; margin-bottom: 8px; }
.need p { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }
.need .brands { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.need .brands i { font-style: normal; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--mist); color: var(--navy); }
.need .go { margin-top: 18px; font-weight: 700; color: var(--navy); font-size: .9rem; }

/* Home hero: third action */
.hero-actions .btn-wa svg { width: 18px; height: 18px; }

/* Quote page */
.quote-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.quote-box { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
#quote-list { list-style: none; padding: 0; margin: 0 0 10px; }
#quote-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.q-name { font-weight: 700; color: var(--navy-deep); }
.q-qty { display: flex; align-items: center; gap: 10px; }
.q-qty button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--mist); cursor: pointer; font-size: 1.1rem; color: var(--navy); }
.q-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .85rem; text-decoration: underline; }
.q-empty { text-align: center; padding: 30px 0; color: var(--muted); }
.q-empty a { font-weight: 700; }
.send-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.q-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: var(--muted); font-size: .92rem; }
.q-steps b { color: var(--navy-deep); }
[hidden] { display: none !important; }

@media (max-width: 1000px) {
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .needs { grid-template-columns: 1fr 1fr; }
  .quote-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .trust .wrap, .needs { grid-template-columns: 1fr; }
  #quote-list li { grid-template-columns: 1fr auto; }
  .q-remove { grid-column: 1 / -1; justify-self: start; }
  .quote-fab { left: 16px; bottom: 16px; }
}

/* Five-item menu: keep it on one line on smaller laptops and tablets */
.nav-links a { white-space: nowrap; }
@media (max-width: 1150px) and (min-width: 821px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: .76rem; letter-spacing: .08em; }
  .nav-cta .socials { display: none; }
  .nav-cta .btn { padding: 12px 18px; }
}
