/* ======================================================
   QUOTES & WIZARD — FINAL PRODUCTION VERSION
   Replaces: /home/test.gocover.in/assets/css/quotes.css
   ====================================================== */


/* ======================================================
   GET QUOTES SECTION (REVENUE HIGHLIGHT)
   ====================================================== */

.wizard-section {
  width: 100%;
  margin: 56px 0;
  position: relative;
}

/* Match rest of website width */
.wizard-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================================================
   OUTER GLOW + PULSE (CORRECT LAYER)
   ====================================================== */

.wizard-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 52px;
  background: linear-gradient(
    135deg,
    rgba(37,99,235,0.55),
    rgba(34,197,94,0.55)
  );
  filter: blur(42px);
  opacity: 0.55;
  animation: revenueGlow 5s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

/* Pulse animation */
@keyframes revenueGlow {
  0% {
    opacity: 0.35;
    filter: blur(32px);
  }
  50% {
    opacity: 0.95;
    filter: blur(48px);
  }
  100% {
    opacity: 0.35;
    filter: blur(32px);
  }
}


/* ======================================================
   GRADIENT + GLASS CARD (SAFE)
   ====================================================== */

.wizard-inner {
  position: relative;
  background: linear-gradient(
    135deg,
    #2563eb 0%,
    #0891b2 50%,
    #22c55e 100%
  );
  border-radius: 36px;
  padding: 48px 40px;
  z-index: 1;
  overflow: hidden;
}

/* Glass layer */
.wizard-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 0;
}

/* Keep content above effects */
.wizard-inner > * {
  position: relative;
  z-index: 1;
}


/* ======================================================
   GRID
   ====================================================== */

.wizard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}


/* ======================================================
   PRODUCT CARDS
   ====================================================== */

.quote-product-card {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
    cursor: pointer;
  border: 1px solid rgba(37,99,235,0.15);
  box-shadow: 0 16px 40px rgba(15,23,42,0.15);
  transition: transform .2s ease, box-shadow .2s ease;
}

.quote-product-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 48px rgba(37,99,235,0.35),
    0 0 0 2px rgba(34,197,94,0.25);
}

.quote-product-card .icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.quote-product-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.quote-product-card p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.quote-product-card .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #22c55e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
}


/* ======================================================
   OVERLAY (COMMON)
   ====================================================== */

.gc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gc-overlay.show {
  display: flex;
}


/* ======================================================
   WIZARD / QUOTES MODAL
   ====================================================== */

.gc-wizard-box,
.gc-quotes-box {
  background: #ffffff;
  width: 720px;
  max-width: calc(100% - 32px);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.35);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* Close button */
.gc-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}


/* ======================================================
   FORM / STEPS
   ====================================================== */

.gc-step { display: none; }
.gc-step.active { display: block; }

.gc-step h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #0f172a;
}

.gc-step label {
  display: block;
  margin: 10px 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.gc-wizard-box input,
.gc-wizard-box select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 14px;
  margin-bottom: 14px;
}

.gc-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}


/* ======================================================
   PILLS
   ====================================================== */

.gc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gc-pills button {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  background: #f8fafc;
  cursor: pointer;
  font-size: 13px;
}

.gc-pills button.active {
  background: linear-gradient(135deg,#2563eb,#22c55e);
  color: #ffffff;
  border: none;
}


/* ======================================================
   QUOTES LIST (ORIGINAL — kept for health/travel/life)
   ====================================================== */

.quote-card {
  display: grid;
  grid-template-columns: 1.6fr 1fr 140px;
  gap: 14px;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
}

.quote-premium {
  font-size: 20px;
  font-weight: 800;
  color: #2563eb;
}


/* ======================================================
   MOTOR QUOTE CARDS (ENHANCED)
   ====================================================== */

.mq-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15,23,42,0.06);
  transition: all .2s ease;
}

.mq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(15,23,42,0.12);
  border-color: rgba(37,99,235,0.2);
}

/* Header */
.mq-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f1f5f9;
  gap: 12px;
  flex-wrap: wrap;
}

.mq-insurer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mq-insurer-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #ecfdf5);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.mq-insurer-name {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.mq-policy-name {
  font-size: 13px;
  color: #64748b;
  margin-top: 1px;
}

.mq-header-right {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.mq-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.mq-badge-ncb {
  background: #dbeafe;
  color: #1d4ed8;
}

.mq-badge-warn {
  background: #fef3c7;
  color: #92400e;
}

/* Body */
.mq-card-body {
  padding: 18px 20px;
}

.mq-premium-main {
  text-align: center;
  padding: 16px 0;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(34,197,94,0.04));
  border-radius: 14px;
}

.mq-premium-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
}

.mq-premium-value {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(90deg, #2563eb, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 4px 0;
  line-height: 1.2;
}

.mq-premium-sub {
  font-size: 12px;
  color: #94a3b8;
}

/* Details Grid */
.mq-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.mq-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
}

.mq-detail-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mq-detail-value {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

/* IDV Range */
.mq-idv-range {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  padding: 8px;
  background: #f0fdf4;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Policy Period */
.mq-period {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  padding: 6px;
}

/* Footer */
.mq-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
  gap: 12px;
}

.mq-addon-count {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
}

.mq-no-addon {
  font-size: 13px;
  color: #94a3b8;
}

.mq-select-btn {
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #2563eb, #22c55e);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}

.mq-select-btn:hover {
  box-shadow: 0 8px 24px rgba(37,99,235,0.3);
  transform: translateY(-1px);
}

.mq-select-btn:active {
  transform: scale(0.97);
}


/* ======================================================
   MOTOR PROPOSAL FORM STYLES (inside proposal.php)
   ====================================================== */

.mp-section-divider {
  height: 3px;
  width: 44px;
  border-radius: 4px;
  background: linear-gradient(90deg, #2563eb, #22c55e);
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.mp-form-section {
  margin-bottom: 24px;
  padding: 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}

.mp-form-section h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0f172a;
  margin: 0 0 16px;
}

.mp-addon-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 8px;
  transition: all .15s;
}

.mp-addon-toggle.active {
  border-color: #2563eb;
  background: rgba(37,99,235,0.03);
}

.mp-addon-toggle label {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  cursor: pointer;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mp-addon-toggle .addon-price {
  font-size: 14px;
  font-weight: 700;
  color: #2563eb;
  white-space: nowrap;
}

/* Toggle switch */
.mp-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.mp-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.mp-switch-track {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s;
}

.mp-switch-track::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.mp-switch input:checked + .mp-switch-track {
  background: linear-gradient(90deg, #2563eb, #22c55e);
}

.mp-switch input:checked + .mp-switch-track::before {
  transform: translateX(20px);
}


/* ======================================================
   MOBILE
   ====================================================== */

@media (max-width: 768px) {
  .wizard-inner {
    padding: 32px 20px;
  }

  .quote-card {
    grid-template-columns: 1fr;
  }

  .mq-premium-value {
    font-size: 24px;
  }

  .mq-details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mq-card-header {
    padding: 14px 16px 12px;
  }

  .mq-card-body {
    padding: 14px 16px;
  }

  .mq-card-footer {
    padding: 12px 16px;
    flex-direction: column;
    gap: 10px;
  }

  .mq-select-btn {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
  }

  .gc-quotes-box {
    max-height: 85vh;
    padding: 20px 16px;
  }
}

@media (max-width: 400px) {
  .mq-details-grid {
    grid-template-columns: 1fr;
  }
}


/* ======================================================
   POLICYBAZAAR V2 — FULL SIDEBAR + RICH CARDS
   ====================================================== */

/* ---- Fullscreen Overlay ---- */
.gc-quotes-box.qc-fullscreen {
  width: 96vw;
  max-width: 1400px;
  max-height: 94vh;
  padding: 0;
  border-radius: 16px;
  overflow-y: auto;
  overflow-x: hidden;
}

.gc-quotes-box.qc-fullscreen .gc-close {
  top: 12px;
  right: 12px;
  z-index: 20;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ---- Plan Type Tabs ---- */
.qc-plan-tabs {
  display: flex;
  gap: 0;
  padding: 16px 24px 0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 2px solid #e5e7eb;
}

.qc-plan-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid #e5e7eb;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: #f8fafc;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
  margin-bottom: -2px;
  color: #64748b;
}

.qc-plan-tab:hover {
  background: #f1f5f9;
}

.qc-plan-tab.active {
  background: #fff;
  border-color: #07b5a8;
  border-bottom-color: #fff;
  color: #0f172a;
}

.qc-tab-icon {
  font-size: 22px;
}

.qc-tab-text {
  text-align: left;
  line-height: 1.3;
}

.qc-tab-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.qc-tab-text small {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

/* ---- Two-Column Layout ---- */
.qc-layout {
  display: flex;
  gap: 0;
}

/* ---- SIDEBAR ---- */
.qc-sidebar {
  width: 270px;
  flex-shrink: 0;
  border-right: 1px solid #e5e7eb;
  background: #fafbfc;
  padding: 0;
  position: sticky;
  top: 72px;
  align-self: flex-start;
  max-height: calc(94vh - 72px);
  overflow-y: auto;
}

.qc-sb-block {
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
}

.qc-sb-block:last-child {
  border-bottom: none;
}

.qc-sb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qc-sb-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.qc-sb-link {
  font-size: 12px;
  font-weight: 600;
  color: #07b5a8;
  text-decoration: none;
  cursor: pointer;
}

.qc-sb-link:hover {
  text-decoration: underline;
}

.qc-sb-idv {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 6px;
}

.qc-sb-title-block {
  background: #f1f5f9;
}

.qc-sb-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.qc-sb-group-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Checkbox labels */
.qc-sb-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 13px;
  color: #334155;
  font-weight: 500;
  line-height: 1.3;
}

.qc-sb-check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #07b5a8;
  cursor: pointer;
  flex-shrink: 0;
}

.qc-cb-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qc-cb-text small {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 400;
}

.qc-must-buy {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}

.qc-see-all {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #07b5a8;
  margin-top: 8px;
  cursor: pointer;
  text-decoration: none;
}

.qc-see-all:hover { text-decoration: underline; }

/* Expandable sidebar sections */
.qc-sb-expandable .qc-sb-expand-body {
  display: none;
  padding-top: 8px;
}

.qc-sb-expandable.open .qc-sb-expand-body {
  display: block;
}

.qc-sb-toggle-title {
  cursor: pointer;
  user-select: none;
  margin-bottom: 0 !important;
}

.qc-sb-plus {
  font-size: 16px;
  font-weight: 700;
  color: #64748b;
  width: 20px;
  text-align: center;
}

.qc-sb-note {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}

/* ---- CONTENT AREA ---- */
.qc-content {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
}

.qc-content-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.qc-results-count {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.qc-sort-select {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
}

/* ---- Section Headers ---- */
.qc-section-hdr {
  padding: 12px 0 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
}

.qc-section-hdr h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.qc-section-hdr p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.qc-tp-hdr {
  margin-top: 28px;
}

.qc-tp-price {
  color: #16a34a;
  font-weight: 800;
}

.qc-tp-same {
  color: #16a34a !important;
  font-weight: 600 !important;
  font-size: 12px !important;
}

/* ---- QUOTE CARD ---- */
.qc-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all .2s ease;
}

.qc-card:hover {
  box-shadow: 0 6px 24px rgba(15,23,42,0.08);
  border-color: rgba(7,181,168,0.3);
}

/* Cashless guarantee banner */
.qc-card-banner {
  background: linear-gradient(90deg, #07b5a8, #22c55e);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 18px;
  cursor: pointer;
  letter-spacing: 0.2px;
}

.qc-card-banner:hover {
  background: linear-gradient(90deg, #059691, #16a34a);
}

/* Card main row */
.qc-card-main {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  gap: 16px;
}

/* Logo */
.qc-card-logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.qc-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

/* Insurer name next to logo */
.qc-card-insurer-info {
  min-width: 0;
  flex-shrink: 1;
}
.qc-card-insurer-name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 180px;
}

.qc-logo-fb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

/* Fallback colors */
.qc-logo-fb[data-code="UIIC"] { background: linear-gradient(135deg, #d32f2f, #e53935); }
.qc-logo-fb[data-code="ICICI"] { background: linear-gradient(135deg, #e65100, #f57c00); }
.qc-logo-fb[data-code="BAJAJ"] { background: linear-gradient(135deg, #1565c0, #1e88e5); }
.qc-logo-fb[data-code="DIGIT"] { background: linear-gradient(135deg, #7b1fa2, #9c27b0); }
.qc-logo-fb[data-code="SHRIRAM"] { background: linear-gradient(135deg, #2e7d32, #43a047); }
.qc-logo-fb[data-code="HDFC"] { background: linear-gradient(135deg, #c62828, #ef5350); }
.qc-logo-fb[data-code="TATA"] { background: linear-gradient(135deg, #0277bd, #039be5); }
.qc-logo-fb[data-code="ORIENTAL"] { background: linear-gradient(135deg, #4527a0, #7e57c2); }
.qc-logo-fb[data-code="NEWINDIA"] { background: linear-gradient(135deg, #00695c, #00897b); }
.qc-logo-fb[data-code="DEFAULT"] { background: linear-gradient(135deg, #455a64, #78909c); }
/* Health insurer fallback colors */
.qc-logo-fb[data-code="STAR"] { background: linear-gradient(135deg, #b71c1c, #ef5350); }
.qc-logo-fb[data-code="CARE"] { background: linear-gradient(135deg, #1b5e20, #43a047); }
.qc-logo-fb[data-code="NIVA_BUPA"] { background: linear-gradient(135deg, #004d40, #00897b); }
.qc-logo-fb[data-code="MANIPAL"] { background: linear-gradient(135deg, #0d47a1, #1976d2); }
.qc-logo-fb[data-code="MAXBUPA"] { background: linear-gradient(135deg, #4a148c, #7b1fa2); }
.qc-logo-fb[data-code="ADITYA"] { background: linear-gradient(135deg, #e65100, #f57c00); }
.qc-logo-fb[data-code="KOTAK"] { background: linear-gradient(135deg, #880e4f, #c2185b); }

/* IDV section */
.qc-card-idv {
  flex: 1;
  text-align: left;
}

.qc-card-idv-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.qc-card-idv-value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

/* Premium button */
.qc-card-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, #07b5a8, #22c55e);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  transition: all .15s ease;
  font-family: inherit;
  white-space: nowrap;
}

.qc-card-premium:hover {
  background: linear-gradient(90deg, #059691, #16a34a);
  box-shadow: 0 6px 20px rgba(7,181,168,0.35);
  transform: translateY(-1px);
}

.qc-card-premium:active {
  transform: scale(0.97);
}

.qc-arr {
  font-size: 14px;
  transition: transform .15s;
}

.qc-card-premium:hover .qc-arr {
  transform: translateX(3px);
}

/* ---- Feature Badges ---- */
.qc-card-features {
  padding: 0 18px 14px;
}

.qc-feat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 4px;
}

.qc-feat-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.qc-feat-text {
  font-size: 13px;
  font-weight: 500;
  color: #334155;
}

.qc-feat-pill {
  background: #dcfce7;
  color: #16a34a;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: auto;
}

.qc-feat-detail {
  flex: 1;
}

.qc-feat-detail strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.qc-feat-detail small {
  font-size: 11px;
  color: #94a3b8;
}

.qc-feat-more {
  font-size: 12px;
  font-weight: 600;
  color: #07b5a8;
  text-decoration: none;
  white-space: nowrap;
  margin-left: auto;
}

.qc-feat-more:hover {
  text-decoration: underline;
}

/* ---- Card Footer ---- */
.qc-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
  flex-wrap: wrap;
  gap: 10px;
}

/* Compare checkbox with custom circle */
.qc-cmp-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
  font-weight: 500;
}

.qc-cmp-label input[type="checkbox"] {
  display: none;
}

.qc-cmp-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  flex-shrink: 0;
}

.qc-cmp-label input:checked + .qc-cmp-circle {
  background: #07b5a8;
  border-color: #07b5a8;
}

.qc-cmp-label input:checked + .qc-cmp-circle::after {
  content: "\2713";
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.qc-garages {
  font-size: 12px;
  color: #334155;
  font-weight: 500;
}

.qc-view-cov {
  font-size: 12px;
  font-weight: 600;
  color: #07b5a8;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  padding: 4px 0;
}

.qc-view-cov:hover {
  color: #059691;
  text-decoration: underline;
}

/* ---- Coverage Detail (expandable) ---- */
.qc-cov-detail {
  display: none;
  padding: 14px 18px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

.qc-cov-detail.show {
  display: block;
}

.qc-cov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.qc-cov-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 12px;
}

.qc-cov-item span:first-child {
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 11px;
}

.qc-cov-item span:last-child {
  font-weight: 700;
  color: #0f172a;
  font-size: 14px;
}

.qc-cov-total {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(7,181,168,0.08), rgba(34,197,94,0.08)) !important;
  border-color: rgba(7,181,168,0.2) !important;
}

.qc-cov-total span:last-child {
  font-size: 18px !important;
  color: #07b5a8 !important;
}

.qc-cov-green span:last-child {
  color: #16a34a !important;
}

/* ---- Promo Banner ---- */
.qc-promo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  margin: 12px 0;
  background: linear-gradient(90deg, #fef3c7, #fde68a);
  border-radius: 10px;
  border: 1px solid #f59e0b;
}

.qc-promo-badge {
  background: #f59e0b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.qc-promo-text {
  flex: 1;
  font-size: 14px;
  color: #78350f;
  font-weight: 500;
}

.qc-promo-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: #07b5a8;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.qc-promo-btn:hover {
  background: #059691;
}

/* ---- No Results ---- */
.qc-no-results {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
}

.qc-no-results p {
  font-size: 15px;
  font-weight: 500;
}

/* ---- Compare Bar (fixed bottom) ---- */
.qc-compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  color: #fff;
  padding: 14px 28px;
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: 10001;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}

.qc-compare-bar.show {
  display: flex;
}

.qc-cbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
}

.qc-cbar-pills {
  display: flex;
  gap: 8px;
}

.qc-cbar-pill {
  padding: 4px 12px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.qc-cbar-pill span {
  cursor: pointer;
  opacity: 0.6;
  font-size: 14px;
}

.qc-cbar-pill span:hover {
  opacity: 1;
}

.qc-cbar-btn {
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #07b5a8, #22c55e);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.qc-cbar-btn:hover {
  box-shadow: 0 4px 16px rgba(7,181,168,0.4);
}

/* ======================================================
   PB V2 — MOBILE RESPONSIVE
   ====================================================== */

@media (max-width: 992px) {
  .qc-sidebar {
    width: 240px;
  }
}

@media (max-width: 768px) {
  .gc-quotes-box.qc-fullscreen {
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .qc-plan-tabs {
    padding: 10px 14px 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .qc-plan-tab {
    padding: 10px 16px;
    flex-shrink: 0;
  }

  .qc-tab-text strong {
    font-size: 12px;
  }

  .qc-sidebar {
    display: none;
  }

  .qc-layout {
    flex-direction: column;
  }

  .qc-content {
    padding: 12px 14px;
  }

  .qc-card-main {
    flex-wrap: wrap;
    padding: 14px;
    gap: 12px;
  }

  .qc-card-logo {
    width: 50px;
    height: 50px;
  }

  .qc-logo-fb {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .qc-card-idv-value {
    font-size: 16px;
  }

  .qc-card-premium {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 18px;
  }

  .qc-card-features {
    padding: 0 14px 10px;
  }

  .qc-card-foot {
    padding: 10px 14px;
  }

  .qc-cov-grid {
    grid-template-columns: 1fr 1fr;
  }

  .qc-compare-bar {
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
  }

  .qc-cbar-btn {
    width: 100%;
  }

  .qc-promo {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .qc-cov-grid {
    grid-template-columns: 1fr;
  }

  .qc-card-main {
    padding: 12px;
  }
}


/* ======================================================
   SKELETON / SHIMMER LOADING STATE
   ====================================================== */

.qc-loading-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 24px 10px;
  background: #fff;
}

.qc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all .3s ease;
}

.qc-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.qc-status-fetching {
  background: #eff6ff;
  color: #2563eb;
}

.qc-status-fetching .qc-status-dot {
  background: #2563eb;
  animation: statusPulse 1.2s ease-in-out infinite;
}

.qc-status-done {
  background: #f0fdf4;
  color: #16a34a;
}

.qc-status-done .qc-status-dot {
  background: #16a34a;
}

.qc-status-error {
  background: #fef2f2;
  color: #dc2626;
}

.qc-status-error .qc-status-dot {
  background: #dc2626;
}

.qc-status-unavailable {
  background: #f8fafc;
  color: #94a3b8;
}

.qc-status-unavailable .qc-status-dot {
  background: #94a3b8;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* Skeleton Card */
.qc-skeleton-wrap {
  padding: 20px 24px;
}

.qc-skeleton-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}

.qc-skel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.qc-skel-logo {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  flex-shrink: 0;
}

.qc-skel-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qc-skel-line {
  height: 14px;
  border-radius: 6px;
}

.qc-skel-line-w60 { width: 60%; }
.qc-skel-line-w40 { width: 40%; }
.qc-skel-line-w30 { width: 30%; }
.qc-skel-line-w20 { width: 20%; }

.qc-skel-premium {
  width: 140px;
  height: 48px;
  border-radius: 8px;
  flex-shrink: 0;
}

.qc-skel-body {
  padding: 0 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qc-skel-feat {
  height: 36px;
  border-radius: 8px;
  width: 80%;
}

.qc-skel-feat-short {
  width: 55%;
}

.qc-skel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid #f1f5f9;
}

/* Shimmer animation */
.qc-shimmer {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

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


/* ======================================================
   INDICATIVE BADGE (sample quotes)
   ====================================================== */

.qc-indicative-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #fef3c7;
  color: #92400e;
}

.qc-card-sample {
  border-color: #fde68a;
}

.qc-card-sample:hover {
  border-color: #f59e0b;
}


/* ======================================================
   EMPTY / ERROR STATE
   ====================================================== */

.qc-empty-state {
  text-align: center;
  padding: 60px 24px;
}

.qc-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.qc-empty-state h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
}

.qc-empty-state p {
  font-size: 14px;
  color: #64748b;
  max-width: 440px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.qc-retry-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #07b5a8, #22c55e);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s ease;
}

.qc-retry-btn:hover {
  box-shadow: 0 6px 20px rgba(7,181,168,0.35);
  transform: translateY(-1px);
}

.qc-retry-btn:active {
  transform: scale(0.97);
}


/* ======================================================
   MOBILE FILTER PILLS (replaces sidebar on small screens)
   ====================================================== */

.qc-mobile-filters {
  display: none;
  gap: 8px;
  padding: 12px 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  flex-wrap: nowrap;
}

.qc-mf-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  min-height: 44px;
  transition: all .15s;
  flex-shrink: 0;
}

.qc-mf-pill:hover {
  border-color: #07b5a8;
  color: #07b5a8;
}

.qc-mf-pill-active {
  background: #07b5a8;
  color: #fff;
  border-color: #07b5a8;
}

.qc-mf-pill-active:hover {
  background: #059691;
  color: #fff;
}

.qc-mf-sort {
  margin-left: auto;
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.qc-mf-sort:hover {
  background: #1e293b;
  color: #fff;
  border-color: #1e293b;
}

/* Show mobile filters, hide sidebar on small screens */
@media (max-width: 768px) {
  .qc-mobile-filters {
    display: flex;
  }

  /* Ensure 44px min touch targets for all interactive elements */
  .qc-card-premium {
    min-height: 44px;
  }

  .qc-view-cov {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .qc-cmp-label {
    min-height: 44px;
  }

  .qc-plan-tab {
    min-height: 44px;
  }

  .qc-cbar-btn {
    min-height: 44px;
  }

  /* Skeleton responsive */
  .qc-skel-header {
    flex-wrap: wrap;
  }

  .qc-skel-premium {
    width: 100%;
    height: 44px;
  }

  .qc-loading-status {
    padding: 14px 14px 8px;
  }

  .qc-status-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* ===== ADDON SEE ALL EXPAND ===== */
.qc-sb-more-addons {
  overflow: hidden;
  transition: all 0.3s ease;
}
.qc-see-all {
  cursor: pointer;
  transition: color 0.2s;
}

/* ===== IDV SELECTOR SLIDER ===== */
.qc-idv-panel {
  display: none;
  padding: 12px 0 4px;
  border-top: 1px solid #e8ecf0;
  margin-top: 10px;
}
.qc-idv-panel.show {
  display: block;
}
.qc-idv-current {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 10px;
}
.qc-idv-range {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #e0e7ef;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
.qc-idv-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1a73e8;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  cursor: pointer;
}
.qc-idv-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1a73e8;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  cursor: pointer;
}
.qc-idv-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #7a8a9e;
  margin-top: 4px;
}
.qc-idv-note {
  font-size: 11px;
  color: #9aa8b8;
  text-align: center;
  margin: 8px 0 0;
}

/* ===== COMPARE PLANS MODAL ===== */
.qc-compare-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qc-compare-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.qc-compare-dialog {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: 800px;
  width: 94%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: qcModalIn 0.25s ease;
}
@keyframes qcModalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.qc-compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #e8ecf0;
}
.qc-compare-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a2b3c;
}
.qc-compare-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #7a8a9e;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.qc-compare-close:hover {
  background: #f0f3f6;
}
.qc-compare-body {
  overflow-x: auto;
  overflow-y: auto;
  flex: 1;
  padding: 0;
}
.qc-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.qc-compare-table th,
.qc-compare-table td {
  padding: 10px 16px;
  text-align: center;
  border-bottom: 1px solid #f0f3f6;
}
.qc-compare-table th.qc-ct-label,
.qc-compare-table td.qc-ct-label {
  text-align: left;
  font-weight: 600;
  color: #4a5568;
  background: #fafbfc;
  min-width: 160px;
  position: sticky;
  left: 0;
  z-index: 1;
}
.qc-compare-table th.qc-ct-plan {
  background: #f7f9fb;
  font-weight: 600;
  color: #1a2b3c;
  min-width: 150px;
}
.qc-ct-logo {
  display: block;
  max-height: 30px;
  max-width: 80px;
  margin: 0 auto 6px;
}
.qc-ct-val {
  font-weight: 500;
  color: #2d3748;
}
.qc-ct-yes {
  font-size: 16px;
}
.qc-ct-no {
  font-size: 16px;
  opacity: 0.5;
}
.qc-compare-footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid #e8ecf0;
  justify-content: center;
}
.qc-compare-buy {
  background: linear-gradient(135deg, #f7971e, #ffd200);
  color: #1a2b3c;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  flex: 1;
  max-width: 220px;
}
.qc-compare-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(247,151,30,0.35);
}

/* Compare modal responsive */
@media (max-width: 768px) {
  .qc-compare-dialog {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .qc-compare-table th,
  .qc-compare-table td {
    padding: 8px 10px;
    font-size: 12px;
  }
  .qc-compare-footer {
    flex-direction: column;
    gap: 8px;
  }
  .qc-compare-buy {
    max-width: 100%;
  }
}

/* ======================================================
   HEALTH QUOTE CARDS
   ====================================================== */

.qc-health-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin-bottom: 8px;
}
.qc-health-count {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

.qc-health-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Single health card */
.qc-hcard {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.qc-hcard:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 20px rgba(37,99,235,0.1);
}
.qc-hcard-sample {
  border-left: 3px solid #f59e0b;
}

/* Top row: logo | info | premium */
.qc-hcard-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

.qc-hcard-logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.qc-hcard-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
}

.qc-hcard-info {
  flex: 1;
  min-width: 0;
}
.qc-hcard-insurer {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}
.qc-hcard-plan {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 4px;
}
.qc-hcard-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.qc-hcard-si, .qc-hcard-type {
  font-size: 12px;
  color: #475569;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
}

.qc-hcard-premium {
  text-align: right;
  flex-shrink: 0;
}
.qc-hcard-price {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}
.qc-hcard-price small {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}
.qc-hcard-buy {
  display: inline-block;
  padding: 10px 28px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.qc-hcard-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}

/* Features row */
.qc-hcard-features {
  display: flex;
  gap: 12px;
  padding: 0 24px 16px;
  flex-wrap: wrap;
}
.qc-hfeat {
  font-size: 12px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Price breakdown (collapsible) */
.qc-hcard-detail {
  display: none;
  border-top: 1px solid #f1f5f9;
  padding: 16px 24px;
  background: #f8fafc;
}
.qc-hcard-detail.show {
  display: block;
}
.qc-hbd-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: #475569;
}
.qc-hbd-total {
  font-weight: 700;
  color: #1e293b;
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
  margin-top: 6px;
}

/* Footer */
.qc-hcard-foot {
  padding: 10px 24px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}
.qc-hcard-toggle {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.qc-hcard-toggle:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 640px) {
  .qc-hcard-top {
    flex-wrap: wrap;
    padding: 16px;
    gap: 12px;
  }
  .qc-hcard-logo {
    width: 44px;
    height: 44px;
  }
  .qc-hcard-logo img {
    width: 44px;
    height: 44px;
  }
  .qc-hcard-premium {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  .qc-hcard-price {
    font-size: 20px;
    margin-bottom: 0;
  }
  .qc-hcard-features {
    padding: 0 16px 12px;
    gap: 6px;
  }
  .qc-hfeat {
    font-size: 11px;
    padding: 3px 8px;
  }
  .qc-health-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
