#cart-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 22px;
  background: #f8f9fa;
  border: 2px solid #ddd;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 9999;
}
#cart-count {
  font-weight: bold;
  color: #007bff;
}
#cart-popup {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 250px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  display: none;
  z-index: 9999;
}
.card {
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.remove-btn {
  color: red;
  cursor: pointer;
  font-size: 0.9rem;
}

#checkout-btn {
  border-radius: 10px;
  padding: 10px 20px;
}


/*
    .test-card {
      border: none;
      border-radius: 20px;
      background: #fff;
      box-shadow: 0 8px 24px rgba(0,0,0,.08);
      transition: transform .25s ease, box-shadow .25s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .test-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 32px rgba(0,0,0,.12);
    }
    .test-card-body { padding: 18px 18px 0; flex: 1; display:flex; flex-direction:column; }
    .test-title { font-size: 1.05rem; font-weight: 600; color:#222; margin-bottom: 6px; min-height: 48px; }
    .test-price { margin: 8px 0 0; }
    .test-price del { color:#9aa0a6; margin-right:8px; }
    .test-price .discount { color:#16a34a; font-weight:700; }
    .test-card-footer {
      padding: 14px 16px 16px;
      display:flex; gap:8px; align-items:center; justify-content:flex-start;
      margin-top:auto; /* sticks footer at bottom */
    /*}
    .btn-modern { border-radius: 28px; font-weight:600; font-size:.9rem; padding:8px 14px; border:none; }
    .btn-view { background:#06b6d4; color:#fff; }
    .btn-view:hover { filter: brightness(0.95); }
    .btn-book { background:#22c55e; color:#fff; }
    .btn-book:hover { filter: brightness(0.95); }
    .btn-cart { background:#3b82f6; color:#fff; white-space:nowrap; }
    .btn-cart:hover { filter: brightness(0.95); }

    /* Floating cart */
   /* #floatingCartBtn {
      border-radius: 50%;
      width: 60px; height: 60px;
      display:flex; align-items:center; justify-content:center;
      box-shadow: 0 10px 25px rgba(0,0,0,.2);
    }
    #floatingCart {
      width: 300px; max-height: 70vh; overflow-y: auto;
      border-radius: 14px;
      box-shadow: 0 14px 40px rgba(0,0,0,.18);
    }
    .mini-item { font-size: .9rem; }
    .mini-item .rm {
      border:none; padding:2px 8px; border-radius:6px; background:#ef4444; color:#fff;
    }

    /* Subtle page header */
    /*.page-head {
      display:flex; align-items:center; justify-content:space-between;
      margin-bottom: 18px;
    }
*/
/*cat all test */

   .assurx_all_test .test-card {
  background: #fff; border-radius: 12px; box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  margin-bottom: 20px; overflow: hidden; transition: transform 0.2s ease;
}
.assurx_all_test .test-card:hover { transform: translateY(-3px); }
.assurx_all_test .test-card-body { padding: 16px; }
.assurx_all_test .test-title { font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
.assurx_all_test .test-price { font-size: 0.9rem; }
.assurx_all_test .test-price .discount { color: #16a34a; font-weight: 600; margin-left: 6px; }
.assurx_all_test .test-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 3px solid #d7d9d9; }
.assurx_all_test .btn-modern { border: none; border-radius: 6px; padding: 6px 12px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: 0.3s; }
.assurx_all_test .btn-view { background: #2563eb; color: #fff; }
.assurx_all_test .btn-book { background: #9333ea; color: #fff; }
.assurx_all_test .btn-cart { background: #f59e0b; color: #fff; }
.assurx_all_test .btn-modern:hover { opacity: 0.85; }

/* Floating Cart */
.floating-cart-btn {
  position: fixed; bottom: 20px; right: 20px; background: #2563eb; color: #fff;
  border: none; border-radius: 15%; width: 60px; height: 60px; font-size: 20px;
  display: flex; align-items: center; justify-content: center; z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.floating-cart-btn span {
  background: red; color: #fff; font-size: 12px; padding: 2px 6px;
  border-radius: 50%; position: absolute; top: 8px; right: 8px;
}
.floating-cart {
  position: fixed; bottom: 90px; right: 20px; background: #fff; width: 300px;
  border-radius: 12px; display: none; z-index: 9999; overflow: hidden;
}
.floating-cart-header, .floating-cart-footer { padding: 12px; background: #f3f4f6; }
.rm { border: none; background: #ef4444; color: #fff; border-radius: 4px; padding: 0 6px; }

/* Toast */
#toastContainer { position: fixed; top: 6rem; right: 1rem; z-index: 11000; display: flex; flex-direction: column; gap: 0.5rem; }
.custom-toast { min-width: 220px; max-width: 320px; color: #fff; padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.9rem; transition: all 0.4s ease; }

/* Mobile responsive */
@media (max-width: 576px) {
  .floating-cart { width: 95%; right: 2.5%; }
  #toastContainer { top: auto; bottom: 1rem; right: 0.5rem; left: 0.5rem; align-items: flex-end; }
  .custom-toast { width: 100%; max-width: 100%; font-size: 0.85rem; }
}

/*cat all test */



/* Test Detail Card */
.test-detail-card {
  border-radius: 20px;
  box-shadow:0 6px 20px rgba(0,0,0,0.08);
  padding:20px;
  margin-bottom:30px;
  background:#fff;
}
.test-title { font-size:1.5rem; font-weight:600; color:#333; }
.test-price { margin-top:8px; font-size:1.1rem; }
.test-section { margin-top:20px; }
.test-section h5 { font-weight:600; margin-bottom:10px; }

/* Fixed Bottom Bar */
.fixed-bottom-bar {
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  background:#fff;
  box-shadow:0 -2px 15px rgba(0,0,0,0.1);
  padding:10px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:999;
}

/* Buttons */
.btn-modern { border-radius:30px; padding:8px 18px; font-size:0.9rem; font-weight:500; transition:all 0.3s ease; }
.btn-modern:hover { transform:translateY(-2px); }

/* Popup */
.cart-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background:#fff;
  padding: 18px 28px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  font-weight:600;
  color:#333;
  text-align:center;
  z-index:9999;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity:0;
}
.cart-popup.show {
  transform: translate(-50%, -50%) scale(1);
  opacity:1;
}

/* Popular Tests */
.popular-tests { margin-top:40px; }
.popular-tests h4 { margin-bottom:20px; }


/* Mobile full screen modal */
@media (max-width: 768px) {
  #searchModal .modal-dialog {
    margin: 0;
    max-width: 100%;
    height: 100%;
  }
  #searchModal .modal-content {
    border-radius: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  #searchModal .modal-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    border-bottom: 1px solid #eee;
  }
  #searchModal .modal-body {
    flex: 1;
    overflow-y: auto;
    padding-top: 1rem;
  }
  #fsp-global-search-input {
    border-radius: 30px;
    padding: 12px 18px;
    font-size: 16px;
  }
  .fsp-search-suggestions {
    margin-top: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
  .fsp-search-suggestions .suggestion-item {
    padding: 12px;
    font-size: 15px;
  }
}
.list-group-item.active {
  color: #000481 !important;
}
