/* =============================================================
   SECTION 3 — INTERACTIVE BODY SCANNER & POPULAR TESTS
   Theme: Fancy Light Mint & Sage Gradient (Matching Hero / Patient Trust)
   All rules strictly scoped under .popular-tests
   ============================================================= */

.popular-tests {
  --pt-navy-950: #091F18;
  --pt-navy-900: #0C2D22;
  --pt-navy-800: #134E3B;
  --pt-teal-500: #00875A;
  --pt-teal-600: #00734D;
  --pt-teal-300: #10B981;
  --pt-teal-050: rgba(16, 185, 129, 0.10);
  --pt-cyan-500: #0077CC;
  --pt-ink: #0C2D22;
  --pt-ink-soft: #264E40;
  --pt-ink-faint: #4C7265;
  --pt-border: rgba(16, 185, 129, 0.18);
  --pt-white: #FFFFFF;
  --pt-font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --pt-font-body: "Inter", sans-serif;

  position: relative;
  background: linear-gradient(140deg, #EDFAF4 0%, #DCF4E8 40%, #D1EFE2 70%, #E8F8F0 100%);
  padding-top: 6rem;
  padding-bottom: 6.5rem;
  font-family: var(--pt-font-body);
  overflow: hidden;
  isolation: isolate;
}

/* ---------- Ambient Background Aura ---------- */
.popular-tests-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(130px);
  z-index: 0;
}
.popular-tests-glow-1 {
  width: 38rem;
  height: 38rem;
  top: -6rem;
  left: -8rem;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.14) 0%,
    transparent 70%
  );
}
.popular-tests-glow-2 {
  width: 36rem;
  height: 36rem;
  bottom: -6rem;
  right: -8rem;
  background: radial-gradient(
    circle,
    rgba(0, 119, 204, 0.08) 0%,
    transparent 70%
  );
}

.popular-tests-container {
  position: relative;
  z-index: 1;
}

/* ---------- Section Header ---------- */
.popular-tests-header {
  max-width: 52rem;
  margin: 0 auto 3rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}
.popular-tests-header.is-visible {
  animation: pt-slide-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes pt-slide-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popular-tests-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00875A;
  background: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.4rem 1.05rem;
  border-radius: 9999px;
  box-shadow: 0 2px 10px -2px rgba(16, 185, 129, 0.12);
  margin-bottom: 0.85rem;
}
.popular-tests-eyebrow i {
  font-size: 0.85rem;
  color: #10B981;
}

.popular-tests-title {
  font-family: var(--pt-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--pt-ink);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.popular-tests-description {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--pt-ink-soft);
  max-width: 44rem;
  margin: 0 auto;
}

/* =============================================================
   MAIN MODE SWITCHER (Health Packages vs Single Tests)
   ============================================================= */
.pt-mode-switch-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.pt-mode-switch {
  display: inline-flex;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: 0 4px 16px rgba(12, 45, 34, 0.08);
  gap: 0.35rem;
  max-width: 100%;
}

.pt-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.6rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  font-family: var(--pt-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pt-navy-800);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.pt-mode-btn:hover {
  color: #00875A;
}

.pt-mode-btn.is-active {
  background: #FFFFFF;
  color: #00734D;
  box-shadow: 0 4px 14px rgba(12, 45, 34, 0.12);
}

.pt-mode-btn i {
  font-size: 1.1rem;
  color: #10B981;
}

.pt-mode-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  color: #00734D;
}

.pt-mode-btn.is-active .pt-mode-badge {
  background: #DCFCE7;
  color: #15803D;
}

.pt-mode-label-mob {
  display: none;
}

@media (max-width: 768px) {
  .popular-tests {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }
  .popular-tests-header {
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  .popular-tests-title {
    font-size: 1.85rem;
  }
  .popular-tests-description {
    font-size: 0.92rem;
  }
}

@media (max-width: 640px) {
  .pt-mode-label-desk {
    display: none !important;
  }
  .pt-mode-label-mob {
    display: inline !important;
  }
  .pt-mode-switch-wrapper {
    margin-bottom: 1.75rem;
    padding: 0 0.75rem;
    width: 100%;
  }
  .pt-mode-switch {
    width: 100%;
    max-width: 400px;
    display: flex;
    padding: 0.3rem;
    gap: 0.35rem;
    box-sizing: border-box;
  }
  .pt-mode-btn {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 0.5rem;
    font-size: 0.85rem;
    gap: 0.35rem;
    justify-content: center;
    white-space: nowrap;
  }
  .pt-mode-btn i {
    font-size: 0.95rem;
  }
  .pt-mode-badge {
    display: inline-flex !important;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.12rem 0.45rem;
  }
}

/* Panel Visibility */
.pt-view-panel {
  display: none;
}

.pt-view-panel.is-active {
  display: block;
  animation: pt-view-fade 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pt-view-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================================
   HEALTH PACKAGES — SPLIT LAYOUT (38 PACKAGES)
   Left: Medical Illustration poster with NABL badge & stats.
   Right: Flex column with directory list, chips & pagination.
   ============================================================= */

.pkg-split-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.25rem;
  align-items: stretch;
  height: 690px;
}

/* ── LEFT: Health Packages Poster ── */
.pkg-split-image-panel {
  height: 100%;
}

.pkg-split-image-wrap {
  height: 100%;
  border-radius: 1.75rem;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #E8F8F1 0%, #D1F5E6 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 20px 50px -14px rgba(0, 115, 77, 0.22);
}

.pkg-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pkg-split-image-wrap:hover .pkg-split-img {
  transform: scale(1.03);
}

.pkg-split-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(12, 45, 34, 0.9) 0%,
    rgba(12, 45, 34, 0.42) 55%,
    transparent 100%
  );
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pkg-split-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
}

.pkg-split-badge i {
  font-size: 1.35rem;
  color: #10B981;
  flex-shrink: 0;
}

.pkg-split-badge div {
  display: flex;
  flex-direction: column;
}

.pkg-split-badge strong {
  color: #FFFFFF;
  font-family: var(--pt-font-display);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
}

.pkg-split-badge span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.66rem;
  font-weight: 500;
}

.pkg-split-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.pkg-split-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.pkg-split-stat strong {
  color: #FFFFFF;
  font-family: var(--pt-font-display);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
}

.pkg-split-stat span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.62rem;
  font-weight: 500;
  margin-top: 0.1rem;
}

.pkg-split-stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

/* ── RIGHT: Content Container ── */
.pkg-split-content {
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #F8FAFC;
  border: 1.5px solid rgba(16, 185, 129, 0.16);
  border-radius: 1.75rem;
  box-shadow: 0 16px 40px -12px rgba(12, 45, 34, 0.08);
  overflow: hidden;
}

.pkg-split-content .pkg-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pkg-split-content .pkg-control-panel {
  flex-shrink: 0;
  background: #FFFFFF;
  padding: 1.3rem 1.75rem 1.1rem;
  margin: 0;
  text-align: left;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.12);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  z-index: 2;
}

/* Header bar */
.pkg-control-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pkg-control-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--pt-font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.pkg-control-title i {
  color: #10B981;
  font-size: 1.15rem;
}

.pkg-control-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pkg-control-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #00734D;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.pkg-control-badge-tag i {
  color: #10B981;
}

.pkg-control-count-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Search input */
.pkg-split-content .pkg-search-wrap {
  max-width: 100%;
  margin: 0;
  position: relative;
}

.pkg-split-content .pkg-search-input {
  width: 100%;
  height: 48px;
  padding: 0.75rem 2.85rem 0.75rem 3rem;
  border-radius: 9999px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  font-size: 0.92rem;
  color: #0F172A;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  outline: none;
  transition: all 0.2s ease;
}

.pkg-split-content .pkg-search-input:focus {
  background: #FFFFFF;
  border-color: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.pkg-split-content .pkg-search-input::placeholder {
  color: #94A3B8;
  font-size: 0.88rem;
}

.pkg-split-content .pkg-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: #10B981;
  font-size: 1.1rem;
  pointer-events: none;
}

.pkg-split-content .pkg-search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--pt-ink-faint);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.2rem;
  display: none;
}

.pkg-split-content .pkg-search-clear:hover {
  color: var(--pt-ink);
}

/* Filter pills — Single horizontal row, NO WRAPPING */
.pkg-split-content .pkg-filter-tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  gap: 0.5rem;
  padding: 0.2rem 0.1rem 0.45rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.25) transparent;
}

.pkg-split-content .pkg-filter-tabs::-webkit-scrollbar {
  height: 4px;
}

.pkg-split-content .pkg-filter-tabs::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
}

.pkg-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.48rem 1.05rem;
  border-radius: 9999px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  color: #475569;
  cursor: pointer;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.pkg-filter-btn:hover {
  background: #F0FDF4;
  color: #00875A;
  border-color: rgba(16, 185, 129, 0.4);
}

.pkg-filter-btn.is-active {
  background: #00734D !important;
  color: #FFFFFF !important;
  border-color: #00734D !important;
  box-shadow: 0 4px 14px rgba(0, 115, 77, 0.25);
}

.pkg-filter-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  background: rgba(0, 115, 77, 0.08);
  color: #00734D;
}

.pkg-filter-btn.is-active .pkg-filter-count {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}

/* Package List Area */
.pkg-split-content #pkgGrid {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.3) transparent;
}

.pkg-split-content #pkgGrid::-webkit-scrollbar {
  width: 5px;
}

.pkg-split-content #pkgGrid::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
}

/* Package Card inside Directory List */
.pkg-split-content .pkg-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid rgba(16, 185, 129, 0.14);
  border-radius: 1.25rem;
  padding: 1.25rem 1.6rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 4px 14px -3px rgba(15, 23, 42, 0.04);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0 !important;
  min-height: min-content;
}

.pkg-split-content .pkg-card.is-hidden {
  display: none !important;
}

.pkg-split-content .pkg-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: transparent;
  transition: all 0.22s ease;
}

.pkg-split-content .pkg-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 10px 24px -5px rgba(0, 115, 77, 0.12);
  background: #FFFFFF;
}

.pkg-split-content .pkg-card:hover::before {
  background: #10B981;
}

/* Left part of package card */
.pkg-dir-left {
  display: flex;
  align-items: flex-start;
  gap: 1.05rem;
  min-width: 0;
  flex: 1;
}

.pkg-dir-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.2s ease;
}

.pkg-split-content .pkg-card:hover .pkg-dir-icon {
  transform: scale(1.06);
}

.pkg-theme-emerald .pkg-dir-icon { background: #DCFCE7; color: #059669; }
.pkg-theme-rose .pkg-dir-icon { background: #FFE4E6; color: #E11D48; }
.pkg-theme-amber .pkg-dir-icon { background: #FEF3C7; color: #D97706; }
.pkg-theme-purple .pkg-dir-icon { background: #F3E8FF; color: #7C3AED; }
.pkg-theme-cyan .pkg-dir-icon { background: #E0F2FE; color: #0284C7; }

.pkg-dir-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
}

.pkg-dir-title-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1px;
}

.pkg-dir-name {
  font-family: var(--pt-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.pkg-cat-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.16rem 0.6rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  color: #00734D;
  white-space: nowrap;
}

.pkg-badge-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.16rem 0.6rem;
  border-radius: 9999px;
  background: #FEF3C7;
  color: #92400E;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.pkg-badge-pill.badge-purple {
  background: #F3E8FF;
  color: #6B21A8;
}

.pkg-badge-pill.badge-blue {
  background: #E0F2FE;
  color: #0369A1;
}

.pkg-badge-pill.badge-rose {
  background: #FFE4E6;
  color: #BE123C;
}

.pkg-dir-meta {
  font-size: 0.8rem;
  color: #059669;
  font-weight: 600;
  margin: 0.1rem 0 0.15rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pkg-dir-meta i {
  color: #10B981;
  font-size: 0.88rem;
}

/* Key test chips preview */
.pkg-tests-chips {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}

.pkg-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  color: #475569;
  background: #F1F5F9;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
}

.pkg-chip i {
  color: #10B981;
  font-size: 0.78rem;
}

.pkg-chip-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #00734D;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pkg-chip-more:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #005a3c;
}

.pkg-tests-expanded {
  display: none;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(16, 185, 129, 0.2);
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.4rem;
}

.pkg-tests-expanded.is-open {
  display: grid;
}

/* Right Section: Pricing and Actions */
.pkg-dir-right {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-shrink: 0;
  align-self: center;
}

.pkg-dir-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.pkg-price-mrp-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2px;
}

.pkg-price-mrp {
  font-size: 0.8rem;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 500;
}

.pkg-discount-tag {
  font-size: 0.68rem;
  font-weight: 800;
  background: #DCFCE7;
  color: #15803D;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
}

.pkg-dir-price {
  font-family: var(--pt-font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: #00734D;
  line-height: 1.1;
}

.pkg-price-note {
  font-size: 0.64rem;
  color: #64748B;
  font-weight: 500;
  margin-top: 0.15rem;
}

.pkg-dir-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pkg-btn-book {
  background: linear-gradient(135deg, #10B981, #00875A);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.52rem 1.2rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.pkg-btn-book:hover {
  background: linear-gradient(135deg, #059669, #00734D);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.pkg-btn-wa {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: #25D366;
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.pkg-btn-wa:hover {
  background: #1EBE5D;
  transform: scale(1.08);
}

/* Pagination Footer inside Split Content */
.pkg-split-content .pt-pagination-wrap {
  flex-shrink: 0;
  padding: 0.85rem 1.75rem 1.05rem;
  margin: 0;
  border-top: 1px solid rgba(16, 185, 129, 0.12);
  background: #FFFFFF;
  border-radius: 0 0 1.75rem 1.75rem;
  box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.02);
  z-index: 2;
}

/* Responsive */
@media (max-width: 1024px) {
  .pkg-split-layout {
    grid-template-columns: 1fr;
    height: auto;
    gap: 1.5rem;
  }
  .pkg-split-image-panel {
    height: auto;
  }
  .pkg-split-image-wrap {
    height: 240px;
    border-radius: 1.35rem;
  }
  .pkg-split-img {
    height: 240px;
    object-position: 50% 20%;
  }
  .pkg-split-content {
    height: auto;
    border-radius: 1.35rem;
    overflow: visible;
  }
  .pkg-split-content .pkg-panel {
    overflow: visible;
  }
  .pkg-split-content #pkgGrid {
    overflow-y: visible;
    max-height: none;
  }
  .pkg-split-content .pt-pagination-wrap {
    border-radius: 0 0 1.35rem 1.35rem;
  }
}

@media (max-width: 768px) {
  /* Control Panel Header: Stack title and badges vertically to eliminate narrow squished column */
  .pkg-control-panel {
    padding: 1.1rem 1rem 0.9rem !important;
    gap: 0.75rem !important;
  }

  .pkg-control-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.55rem !important;
  }

  .pkg-control-title {
    width: 100% !important;
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .pkg-control-title i {
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
  }

  .pkg-control-badges {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    flex-wrap: wrap !important;
  }

  .pkg-control-badge-tag,
  .pkg-control-count-tag {
    font-size: 0.7rem !important;
    padding: 0.22rem 0.6rem !important;
  }

  /* Compact Mobile Search Input */
  .pkg-split-content .pkg-search-input {
    height: 44px !important;
    font-size: 0.86rem !important;
    padding: 0.55rem 2.2rem 0.55rem 2.45rem !important;
  }

  .pkg-split-content .pkg-search-icon {
    left: 0.95rem !important;
    font-size: 0.95rem !important;
  }

  .pkg-split-content .pkg-filter-tabs {
    padding: 0.15rem 0.1rem 0.4rem !important;
    gap: 0.4rem !important;
  }

  .pkg-filter-btn {
    font-size: 0.78rem !important;
    padding: 0.42rem 0.85rem !important;
  }

  /* Grid area padding */
  .pkg-split-content #pkgGrid {
    padding: 0.9rem 0.85rem !important;
    gap: 0.75rem !important;
  }

  /* Card Layout: Stacked vertically with clean divider */
  .pkg-split-content .pkg-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
    padding: 1rem !important;
    border-radius: 1rem !important;
  }

  .pkg-dir-left {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
  }

  .pkg-dir-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.15rem !important;
    border-radius: 11px !important;
    margin-top: 1px !important;
    flex-shrink: 0 !important;
  }

  .pkg-dir-name {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
  }

  .pkg-dir-title-line {
    gap: 0.45rem !important;
    flex-wrap: wrap !important;
  }

  .pkg-cat-tag,
  .pkg-badge-pill {
    font-size: 0.65rem !important;
    padding: 0.14rem 0.5rem !important;
  }

  .pkg-dir-meta {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
    margin: 0.12rem 0 0.35rem 0 !important;
  }

  .pkg-tests-chips {
    gap: 0.35rem !important;
  }

  .pkg-chip {
    font-size: 0.72rem !important;
    padding: 0.22rem 0.55rem !important;
  }

  .pkg-chip-more {
    font-size: 0.72rem !important;
    padding: 0.22rem 0.55rem !important;
  }

  /* Bottom Row: Pricing stacked above full-width action buttons */
  .pkg-dir-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding-top: 0.75rem !important;
    border-top: 1px dashed rgba(16, 185, 129, 0.18) !important;
    width: 100% !important;
  }

  .pkg-dir-pricing {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 0.35rem 0.75rem !important;
    width: 100% !important;
  }

  .pkg-price-mrp-row {
    margin-bottom: 0 !important;
  }

  .pkg-dir-price {
    font-size: 1.42rem !important;
    line-height: 1 !important;
  }

  .pkg-price-note {
    font-size: 0.7rem !important;
    color: #64748B !important;
    width: 100% !important;
    margin-top: -0.15rem !important;
  }

  .pkg-dir-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.35rem !important;
    width: 100% !important;
  }

  .pkg-dir-actions .pt-item-select-btn {
    flex: 1 1 auto !important;
    min-height: 40px !important;
    padding: 0.5rem 0.45rem !important;
    font-size: 0.8rem !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  .pkg-dir-actions .pkg-btn-book {
    flex: 1.25 1 auto !important;
    min-height: 40px !important;
    padding: 0.5rem 0.6rem !important;
    font-size: 0.82rem !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  .pkg-dir-actions .pkg-btn-wa {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    flex: 0 0 40px !important;
    font-size: 1.15rem !important;
  }

  .pkg-split-content .pt-pagination-wrap {
    padding: 0.75rem 0.85rem !important;
    border-radius: 0 0 1.25rem 1.25rem !important;
  }
}

/* Empty Search State */
.pkg-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: #FFFFFF;
  border: 1px dashed var(--pt-border);
  border-radius: 1.25rem;
  display: none;
}

.pkg-empty-state i {
  font-size: 2.5rem;
  color: var(--pt-ink-faint);
  margin-bottom: 0.75rem;
}

.pkg-empty-state h4 {
  font-family: var(--pt-font-display);
  font-weight: 700;
  color: var(--pt-navy-900);
  margin-bottom: 0.5rem;
}

.pkg-empty-state p {
  font-size: 0.88rem;
  color: var(--pt-ink-soft);
  margin-bottom: 1.25rem;
}

.pkg-empty-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #00875A;
  color: #fff;
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

/* =============================================================
/* =========================================================
   SINGLE TESTS — SPLIT LAYOUT
   Fixed height container. Left: image fills height.
   Right: flex column with scrollable test rows inside.
   ========================================================= */

.st-split-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.25rem;
  align-items: stretch;   /* both columns match height */
  height: 690px;          /* spacious, comfortable section height */
}

/* ── LEFT: image that fills the fixed height ── */
.st-split-image-panel {
  height: 100%;
}

.st-split-image-wrap {
  height: 100%;
  border-radius: 1.75rem;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #E8F8F1 0%, #D1F5E6 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 20px 50px -14px rgba(0, 115, 77, 0.22);
}

.st-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-split-image-wrap:hover .st-split-img {
  transform: scale(1.03);
}

/* Gradient overlay at the bottom of the image */
.st-split-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(12, 45, 34, 0.88) 0%,
    rgba(12, 45, 34, 0.38) 55%,
    transparent 100%
  );
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* NABL Badge */
.st-split-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
}

.st-split-badge i {
  font-size: 1.35rem;
  color: #10B981;
  flex-shrink: 0;
}

.st-split-badge div {
  display: flex;
  flex-direction: column;
}

.st-split-badge strong {
  color: #FFFFFF;
  font-family: var(--pt-font-display);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
}

.st-split-badge span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.66rem;
  font-weight: 500;
}

/* Stats row */
.st-split-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.st-split-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.st-split-stat strong {
  color: #FFFFFF;
  font-family: var(--pt-font-display);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
}

.st-split-stat span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.62rem;
  font-weight: 500;
  margin-top: 0.1rem;
}

.st-split-stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

/* ── RIGHT: fixed-height card with internal scroll & premium depth ── */
.st-split-content {
  height: 100%;             /* fills grid row = 690px */
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #F8FAFC;      /* Subtle slate-50 tint gives instant depth & separation */
  border: 1.5px solid rgba(16, 185, 129, 0.16);
  border-radius: 1.75rem;
  box-shadow: 0 16px 40px -12px rgba(12, 45, 34, 0.08);
  overflow: hidden;         /* clip rounded corners */
}

/* The .st-panel inside must also flex and allow shrinking */
.st-split-content .st-panel {
  flex: 1;
  min-height: 0;            /* critical — allows flex child to shrink */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Search + pills — fixed at top, never scrolls */
.st-split-content .st-control-panel {
  flex-shrink: 0;
  background: #FFFFFF;
  padding: 1.3rem 1.75rem 1.1rem;
  margin: 0;
  text-align: left;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.12);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  z-index: 2;
}

/* Directory Header Bar */
.st-control-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.st-control-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--pt-font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.st-control-title i {
  color: #10B981;
  font-size: 1.15rem;
}

.st-control-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.st-control-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #00734D;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.st-control-badge-tag i {
  color: #10B981;
}

.st-control-count-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Search wrap */
.st-split-content .st-search-wrap {
  max-width: 100%;
  margin: 0;
  position: relative;
}

.st-split-content .st-search-input {
  width: 100%;
  height: 48px;
  padding: 0.75rem 2.85rem 0.75rem 3rem;
  border-radius: 9999px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  font-size: 0.92rem;
  color: #0F172A;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  outline: none;
  transition: all 0.2s ease;
}

.st-split-content .st-search-input:focus {
  background: #FFFFFF;
  border-color: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.st-split-content .st-search-input::placeholder {
  color: #94A3B8;
  font-size: 0.88rem;
}

.st-split-content .st-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: #10B981;
  font-size: 1.1rem;
  pointer-events: none;
}

/* Category Filter Pills — Single horizontal row, NO WRAPPING */
.st-split-content .st-category-pills {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  gap: 0.5rem;
  padding: 0.2rem 0.1rem 0.45rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.25) transparent;
}

.st-split-content .st-category-pills::-webkit-scrollbar {
  height: 4px;
}

.st-split-content .st-category-pills::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
}

/* Test rows — Spacious, Roomy & Scrollable middle container */
.st-split-content #stTestsGrid {
  flex: 1;
  min-height: 0;            /* critical — allows this to shrink & scroll */
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.3) transparent;
}

.st-split-content #stTestsGrid::-webkit-scrollbar {
  width: 5px;
}

.st-split-content #stTestsGrid::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
}

/* Individual Directory Row Cards inside Split Layout */
.st-split-content .st-directory-row {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid rgba(16, 185, 129, 0.14);
  border-radius: 1.25rem;
  padding: 1.05rem 1.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 4px 14px -3px rgba(15, 23, 42, 0.04);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.st-split-content .st-directory-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: transparent;
  transition: all 0.22s ease;
}

.st-split-content .st-directory-row:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 10px 24px -5px rgba(0, 115, 77, 0.12);
  background: #FFFFFF;
}

.st-split-content .st-directory-row:hover::before {
  background: #10B981;
}

/* Left Section: Icon + Test Details */
.st-split-content .st-dir-left {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-width: 0;
  flex: 1;
}

.st-split-content .st-dir-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.st-split-content .st-directory-row:hover .st-dir-icon {
  transform: scale(1.06);
}

.st-split-content .st-dir-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  justify-content: center;
}

.st-split-content .st-dir-title-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  line-height: 1.25;
}

.st-split-content .st-dir-name {
  font-family: var(--pt-font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.st-split-content .st-dir-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 0.55rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: #00734D;
  white-space: nowrap;
  line-height: 1;
  margin-top: 1px;
}

.st-split-content .st-dir-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.35;
  margin: 0;
  flex-wrap: wrap;
}

.st-split-content .st-dir-desc {
  color: #64748B;
  font-weight: 500;
}

.st-split-content .st-dir-divider {
  color: #CBD5E1;
  font-size: 0.72rem;
  line-height: 1;
  user-select: none;
}

.st-split-content .st-dir-tat {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: #059669 !important;
  font-weight: 600;
  font-size: 0.76rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.12rem 0.52rem;
  border-radius: 9999px;
  line-height: 1;
  white-space: nowrap;
}

.st-split-content .st-dir-tat i {
  color: #10B981;
  font-size: 0.78rem;
}

.st-split-content .st-dir-tat.st-tat-next {
  color: #0284C7 !important;
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
}

.st-split-content .st-dir-tat.st-tat-next i {
  color: #0284C7;
}

/* Right Section: Price & Action Buttons */
.st-split-content .st-dir-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.st-split-content .st-dir-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.st-split-content .st-dir-mrp {
  font-size: 0.72rem;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 2px;
}

.st-split-content .st-dir-price-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #94A3B8;
  line-height: 1;
  margin-bottom: 2px;
}

.st-split-content .st-dir-price {
  font-family: var(--pt-font-display);
  font-size: 1.28rem;
  font-weight: 900;
  color: #00734D;
  line-height: 1.1;
}

.st-split-content .st-dir-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.st-split-content .st-btn-book {
  background: linear-gradient(135deg, #10B981, #00875A);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.st-split-content .st-btn-book:hover {
  background: linear-gradient(135deg, #059669, #00734D);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.st-split-content .st-btn-wa {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: #25D366;
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.st-split-content .st-btn-wa:hover {
  background: #1EBE5D;
  transform: scale(1.08);
}

/* Pagination — fixed at bottom, never scrolls */
.st-split-content .pt-pagination-wrap {
  flex-shrink: 0;
  padding: 0.85rem 1.75rem 1.05rem;
  margin: 0;
  border-top: 1px solid rgba(16, 185, 129, 0.12);
  background: #FFFFFF;
  border-radius: 0 0 1.75rem 1.75rem;
  box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.02);
  z-index: 2;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .st-split-layout {
    grid-template-columns: 1fr;
    height: auto;
    gap: 1.5rem;
  }

  .st-split-image-panel {
    height: auto;
  }

  .st-split-image-wrap {
    height: 240px;
    border-radius: 1.35rem;
  }

  .st-split-img {
    height: 240px;
    object-position: 50% 20%;
  }

  .st-split-content {
    height: auto;
    border-radius: 1.35rem;
    overflow: visible;
  }

  .st-split-content .st-panel {
    overflow: visible;
  }

  .st-split-content #stTestsGrid {
    overflow-y: visible;
    max-height: none;
  }

  .st-split-content .pt-pagination-wrap {
    border-radius: 0 0 1.35rem 1.35rem;
  }
}

@media (max-width: 768px) {
  /* Control Panel Header: Stack title and badges vertically */
  .st-control-panel {
    padding: 1.1rem 1rem 0.9rem !important;
    gap: 0.75rem !important;
  }

  .st-control-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.55rem !important;
  }

  .st-control-title {
    width: 100% !important;
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .st-control-title i {
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
  }

  .st-control-badges {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    flex-wrap: wrap !important;
  }

  .st-control-badge-tag,
  .st-control-count-tag {
    font-size: 0.7rem !important;
    padding: 0.22rem 0.6rem !important;
  }

  /* Compact Mobile Search Input */
  .st-split-content .st-search-input {
    height: 44px !important;
    font-size: 0.86rem !important;
    padding: 0.55rem 2.2rem 0.55rem 2.45rem !important;
  }

  .st-split-content .st-search-icon {
    left: 0.95rem !important;
    font-size: 0.95rem !important;
  }

  .st-split-content .st-category-pills {
    padding: 0.15rem 0.1rem 0.4rem !important;
    gap: 0.4rem !important;
  }

  .st-cat-btn {
    font-size: 0.78rem !important;
    padding: 0.42rem 0.85rem !important;
  }

  /* Grid area padding */
  .st-split-content #stTestsGrid {
    padding: 0.9rem 0.85rem !important;
    gap: 0.75rem !important;
  }

  /* Card Layout: Stacked vertically with clean divider */
  .st-split-content .st-directory-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
    padding: 1rem !important;
    border-radius: 1rem !important;
  }

  .st-split-content .st-dir-left {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
  }

  .st-split-content .st-dir-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.1rem !important;
    border-radius: 11px !important;
    margin-top: 1px !important;
    flex-shrink: 0 !important;
  }

  .st-split-content .st-dir-name {
    font-size: 0.96rem !important;
    line-height: 1.3 !important;
  }

  .st-split-content .st-dir-title-line {
    gap: 0.45rem !important;
    flex-wrap: wrap !important;
  }

  .st-split-content .st-dir-meta {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
    gap: 0.4rem !important;
    flex-wrap: wrap !important;
  }

  /* Bottom Row: Pricing stacked above full-width action buttons */
  .st-split-content .st-dir-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    padding-top: 0.65rem !important;
    border-top: 1px dashed rgba(16, 185, 129, 0.16) !important;
    width: 100% !important;
  }

  .st-split-content .st-dir-pricing {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .st-split-content .st-dir-price {
    font-size: 1.35rem !important;
    line-height: 1 !important;
  }

  .st-split-content .st-dir-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.35rem !important;
    width: 100% !important;
  }

  .st-split-content .st-dir-actions .pt-item-select-btn {
    flex: 1 1 auto !important;
    min-height: 40px !important;
    padding: 0.5rem 0.45rem !important;
    font-size: 0.8rem !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  .st-split-content .st-btn-book {
    flex: 1.25 1 auto !important;
    min-height: 40px !important;
    padding: 0.5rem 0.6rem !important;
    font-size: 0.82rem !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  .st-split-content .st-btn-wa {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    flex: 0 0 40px !important;
    font-size: 1.15rem !important;
  }

  .st-split-content .pt-pagination-wrap {
    padding: 0.75rem 0.85rem !important;
    border-radius: 0 0 1.25rem 1.25rem !important;
  }
}

/* =============================================================
   SINGLE TESTS DIRECTORY (Direction 1: Sleek Medical List)
   ============================================================= */
.st-panel {
  display: flex;
  flex-direction: column;
}

.st-control-panel {
  max-width: 52rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.st-search-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.st-search-input {
  width: 100%;
  padding: 0.75rem 2.8rem 0.75rem 2.8rem;
  border-radius: 9999px;
  border: 1.5px solid var(--pt-border);
  background: var(--pt-white);
  font-size: 0.95rem;
  color: var(--pt-ink);
  box-shadow: 0 4px 16px -2px rgba(12, 45, 34, 0.08);
  outline: none;
  transition: all 0.2s ease;
}

.st-search-input:focus {
  border-color: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
}

.st-search-input::placeholder {
  color: var(--pt-ink-faint);
  font-size: 0.88rem;
}

.st-search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pt-ink-faint);
  font-size: 1.1rem;
  pointer-events: none;
}

.st-search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--pt-ink-faint);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.2rem;
  display: none;
}

.st-search-clear:hover {
  color: var(--pt-ink);
}

.st-category-pills {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.st-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.48rem 1.05rem;
  border-radius: 9999px;
  border: 1.5px solid #E2E8F0;
  background: var(--pt-white);
  color: var(--pt-ink-soft);
  cursor: pointer;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px -1px rgba(12, 45, 34, 0.05);
}

.st-cat-btn:hover {
  background: rgba(16, 185, 129, 0.08);
  color: #00875A;
  border-color: var(--pt-teal-300);
}

.st-cat-btn.is-active {
  background: #00734D;
  color: #FFFFFF;
  border-color: #00734D;
  box-shadow: 0 4px 12px rgba(0, 115, 77, 0.25);
}

.st-cat-count {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.06);
}

.st-cat-btn.is-active .st-cat-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Single Tests Directory rows container */
.st-tests-grid {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-bottom: 1rem;
}

.st-test-card.is-hidden {
  display: none !important;
}

.st-directory-row {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-radius: 1.15rem;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 4px 16px -3px rgba(12, 45, 34, 0.05);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Left Accent Indicator on hover */
.st-directory-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: transparent;
  transition: all 0.22s ease;
}

.st-directory-row:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 10px 26px -5px rgba(0, 115, 77, 0.12);
  background: #FCFDFD;
}

.st-directory-row:hover::before {
  background: #10B981;
}

/* Left Section: Icon + Test Details */
.st-dir-left {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
  flex: 1;
}

.st-dir-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.st-directory-row:hover .st-dir-icon {
  transform: scale(1.06);
}

/* Category Themes for Directory Icons */
.st-theme-rose .st-dir-icon {
  background: #FFE4E6;
  color: #E11D48;
}
.st-theme-amber .st-dir-icon {
  background: #FEF3C7;
  color: #D97706;
}
.st-theme-cyan .st-dir-icon {
  background: #E0F2FE;
  color: #0284C7;
}
.st-theme-emerald .st-dir-icon {
  background: #DCFCE7;
  color: #059669;
}
.st-theme-purple .st-dir-icon {
  background: #F3E8FF;
  color: #7C3AED;
}
.st-theme-pink .st-dir-icon {
  background: #FCE7F3;
  color: #DB2777;
}
.st-theme-teal .st-dir-icon {
  background: #CCFBF1;
  color: #0D9488;
}

/* Test Title & Meta Information */
.st-dir-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  justify-content: center;
}

.st-dir-title-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  line-height: 1.25;
}

.st-dir-name {
  font-family: var(--pt-font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.st-dir-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 0.55rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: #00734D;
  white-space: nowrap;
  line-height: 1;
  margin-top: 1px;
}

.st-dir-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  color: #64748B;
  line-height: 1.35;
  margin: 0;
  flex-wrap: wrap;
}

.st-dir-desc {
  color: #64748B;
  font-weight: 500;
}

.st-dir-divider {
  color: #CBD5E1;
  font-size: 0.72rem;
  line-height: 1;
  user-select: none;
}

.st-dir-tat {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: #059669 !important;
  font-weight: 600;
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.12rem 0.52rem;
  border-radius: 9999px;
  line-height: 1;
  white-space: nowrap;
}

.st-dir-tat i {
  color: #10B981;
  font-size: 0.78rem;
}

.st-dir-tat.st-tat-next {
  color: #0284C7 !important;
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
}

.st-dir-tat.st-tat-next i {
  color: #0284C7;
}

/* Right Section: Price & Action Buttons */
.st-dir-right {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-shrink: 0;
}

.st-dir-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.st-dir-mrp {
  font-size: 0.72rem;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 2px;
}

.st-dir-price-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #94A3B8;
  line-height: 1;
}

.st-dir-price {
  font-family: var(--pt-font-display);
  font-size: 1.22rem;
  font-weight: 900;
  color: #00734D;
  line-height: 1.1;
}

.st-dir-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.st-btn-book {
  background: linear-gradient(135deg, #10B981, #00875A);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.44rem 0.9rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
}

.st-btn-book:hover {
  background: linear-gradient(135deg, #059669, #00734D);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.st-btn-wa {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: #25D366;
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.25);
}

.st-btn-wa:hover {
  background: #1EBE5D;
  transform: scale(1.08);
}

@media (max-width: 600px) {
  .st-directory-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding: 0.95rem 0.85rem !important;
  }
  .st-dir-left {
    align-items: flex-start !important;
  }
  .st-dir-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    padding-top: 0.65rem !important;
    border-top: 1px dashed rgba(16, 185, 129, 0.16) !important;
    width: 100% !important;
  }
  .st-dir-pricing {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    width: 100% !important;
  }
  .st-dir-price {
    font-size: 1.35rem !important;
  }
  .st-dir-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.35rem !important;
    width: 100% !important;
  }
  .st-dir-actions .pt-item-select-btn {
    flex: 1 1 auto !important;
    min-height: 40px !important;
    padding: 0.5rem 0.45rem !important;
    font-size: 0.8rem !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }
  .st-dir-actions .st-btn-book {
    flex: 1.25 1 auto !important;
    min-height: 40px !important;
    padding: 0.5rem 0.6rem !important;
    font-size: 0.82rem !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }
  .st-dir-actions .st-btn-wa {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    flex: 0 0 40px !important;
  }
}

.st-btn-wa:hover {
  background: #20BD5A;
  transform: translateY(-1px);
}

/* Empty State for Single Tests */
.st-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--pt-white);
  border: 1px dashed var(--pt-border);
  border-radius: 1.25rem;
  display: none;
}

.st-empty-state i {
  font-size: 2.5rem;
  color: var(--pt-ink-faint);
  margin-bottom: 0.75rem;
}

.st-empty-state h4 {
  font-family: var(--pt-font-display);
  font-weight: 700;
  color: var(--pt-navy-900);
  margin-bottom: 0.5rem;
}

.st-empty-state p {
  font-size: 0.88rem;
  color: var(--pt-ink-soft);
  margin-bottom: 1.25rem;
}

.st-empty-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #00875A;
  color: #fff;
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

/* Divider before scanner */
.pt-scanner-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 3.5rem 0 2.75rem;
  text-align: center;
}

.pt-scanner-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.28), transparent);
}

.pt-scanner-divider-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--pt-navy-900);
  box-shadow: 0 4px 14px rgba(12, 45, 34, 0.06);
}

.pt-scanner-divider-badge i {
  color: #10B981;
  font-size: 0.95rem;
}

/* =============================================================
   BODY SCANNER
   ============================================================= */
.pt-scanner {
  display: flex;
  gap: 1.75rem;
  margin-bottom: 0;
  align-items: stretch;
}

.pt-scanner-figure {
  flex: 0 0 320px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--pt-navy-900), var(--pt-navy-800));
  border-radius: 1.75rem;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 60px -25px rgba(12, 45, 34, 0.4);
}
.pt-scanner-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(52, 211, 153, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 211, 153, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.pt-scanner-figure::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.22),
    transparent 70%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pt-body-svg {
  position: relative;
  z-index: 1;
  width: 70%;
  max-width: 210px;
  height: auto;
}
.pt-body-part {
  fill: rgba(16, 185, 129, 0.12);
  stroke: rgba(52, 211, 153, 0.65);
  stroke-width: 1.5;
}

.pt-scanner-scanline {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  z-index: 2;
  top: 10%;
  background: linear-gradient(
    90deg,
    transparent,
    #34D399,
    transparent
  );
  box-shadow: 0 0 14px #34D399;
  animation: pt-body-scan 4s ease-in-out infinite;
}
@keyframes pt-body-scan {
  0%,
  100% {
    top: 10%;
    opacity: 0.2;
  }
  50% {
    top: 85%;
    opacity: 1;
  }
}

.pt-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.pt-hotspot.pt-hotspot-flip {
  flex-direction: row-reverse;
}

.pt-hotspot-dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}
.pt-hotspot-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.5);
  animation: pt-hotspot-ping 2.2s ease-out infinite;
}
@keyframes pt-hotspot-ping {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.pt-hotspot-label {
  font-size: 0.66rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}
.pt-hotspot:hover .pt-hotspot-label,
.pt-hotspot.active .pt-hotspot-label {
  background: #10B981;
  color: #FFFFFF;
  border-color: transparent;
}
.pt-hotspot.active .pt-hotspot-dot {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.5);
}

.pt-scanner-panel {
  flex: 1;
  min-width: 0;
  background: var(--pt-white);
  border: 1px solid var(--pt-border);
  border-radius: 1.75rem;
  padding: 1.75rem 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -30px rgba(12, 45, 34, 0.08);
}
.pt-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--pt-border);
}
.pt-panel-eyebrow {
  font-family: var(--pt-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pt-navy-900);
  display: block;
  margin-bottom: 0.3rem;
}
.pt-panel-hint {
  font-size: 0.8rem;
  color: var(--pt-ink-soft);
  margin: 0;
  max-width: 26rem;
}
.pt-panel-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  cursor: pointer;
  background: var(--pt-teal-050);
  color: #00875A;
  border: 1px solid rgba(0, 135, 90, 0.3);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}
.pt-panel-reset:hover {
  background: #00875A;
  color: #fff;
}

.pt-test-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.35rem;
}
.pt-test-list::-webkit-scrollbar {
  width: 6px;
}
.pt-test-list::-webkit-scrollbar-thumb {
  background: rgba(12, 45, 34, 0.15);
  border-radius: 9999px;
}

.pt-test-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--pt-border);
  border-radius: 1rem;
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(1);
}
.pt-test-list.is-filtered .pt-test-row {
  opacity: 0.32;
  filter: grayscale(0.5);
  transform: scale(0.97);
}
.pt-test-list.is-filtered .pt-test-row.is-match {
  opacity: 1;
  filter: none;
  transform: scale(1);
  border-color: rgba(16, 185, 129, 0.45);
  background: var(--pt-teal-050);
  box-shadow: 0 8px 20px -10px rgba(16, 185, 129, 0.35);
}

.pt-test-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.icon-blue {
  background: #E8F8F0;
  color: #00875A;
}
.icon-rose {
  background: #EFFBF6;
  color: #10B981;
}
.icon-purple {
  background: #E3F6EE;
  color: #059669;
}
.icon-teal {
  background: #D1EFE2;
  color: #00875A;
}
.icon-cyan {
  background: #DCF4E8;
  color: #0077CC;
}
.icon-yellow {
  background: #FAF0E4;
  color: #9E6B28;
}

.pt-test-info {
  flex: 1;
  min-width: 0;
}
.pt-test-info h4 {
  font-family: var(--pt-font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--pt-navy-900);
  margin: 0 0 0.1rem;
  line-height: 1.3;
}
.pt-test-info p {
  font-size: 0.7rem;
  color: var(--pt-ink-soft);
  margin: 0;
}

.pt-test-right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.pt-test-price {
  font-family: var(--pt-font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--pt-navy-900);
}
.pt-test-book {
  padding: 0.35rem 0.85rem;
  background: var(--pt-navy-900);
  color: #fff;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.pt-test-book:hover {
  background: #00875A;
  color: #fff;
}

/* =============================================================
   BOTTOM ASSISTANCE BANNER
   ============================================================= */
.popular-tests-bottom-banner {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(237, 250, 244, 0.9) 100%
  );
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 1.4rem;
  padding: 1.85rem 2.25rem;
  box-shadow: 0 18px 40px -15px rgba(12, 45, 34, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.bottom-banner-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 44rem;
}
.bottom-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #10B981, #00875A);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 8px 18px -4px rgba(16, 185, 129, 0.35);
}
.bottom-banner-content h4 {
  font-family: var(--pt-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--pt-navy-900);
  margin-bottom: 0.25rem;
}
.bottom-banner-content p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--pt-ink-soft);
  margin-bottom: 0;
}
.bottom-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}
.bottom-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #00875A;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.72rem 1.4rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 6px 18px -4px rgba(16, 185, 129, 0.35);
  transition: all 0.28s ease;
}
.bottom-btn-whatsapp:hover {
  background: #00734D;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -4px rgba(16, 185, 129, 0.45);
}
.bottom-btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--pt-navy-900);
  border: 1px solid var(--pt-border);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.72rem 1.35rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.28s ease;
}
.bottom-btn-call:hover {
  border-color: #00875A;
  background: var(--pt-teal-050);
  color: #00875A;
  transform: translateY(-2px);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
  .pt-scanner {
    flex-direction: column;
  }
  .pt-scanner-figure {
    flex: none;
    width: 100%;
    padding: 2rem 1rem;
  }
  .pt-body-svg {
    max-width: 190px;
  }
}

@media (max-width: 767.98px) {
  .pt-ticket-row {
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
  }

  .pt-ticket {
    flex: none !important;
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
  }

  .pt-ticket-main {
    padding: 0.85rem 0.95rem;
    gap: 0.65rem;
  }

  .pt-ticket-num {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .pt-ticket-text strong {
    font-size: 0.84rem;
  }

  .pt-ticket-text span {
    font-size: 0.68rem;
  }

  .pt-ticket-stub {
    width: 105px;
    padding: 0.65rem 0.5rem;
  }

  .pt-ticket-price {
    font-size: 1.05rem;
  }

  .pt-ticket-old {
    font-size: 0.62rem;
  }

  .pt-ticket-cta {
    font-size: 0.65rem;
  }

  .pt-ticket-flag {
    right: 110px;
    top: -9px;
    font-size: 0.6rem;
    padding: 0.2rem 0.55rem;
  }
}

@media (max-width: 575.98px) {
  .popular-tests {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }
  .pt-scanner-panel {
    padding: 1.5rem 1.25rem 1rem;
  }
  .pt-test-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
  }
}

/* =============================================================
   PAGINATION (PACKAGES & SINGLE TESTS)
   Clean, modern rounded pagination matching emerald theme
   ============================================================= */
.pt-pagination-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
}

.pt-pagination-info {
  font-family: var(--pt-font-body);
  font-size: 0.84rem;
  font-weight: 500;
  color: #52796F;
}

.pt-pagination {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFFFFF;
  padding: 0.35rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  box-shadow: 0 4px 16px rgba(12, 45, 34, 0.06);
}

.pt-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.65rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #1A362B;
  font-family: var(--pt-font-display);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.pt-page-btn:hover:not(:disabled):not(.is-active) {
  background: #F0FDF4;
  color: #00734D;
}

.pt-page-btn.is-active {
  background: #00734D;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 115, 77, 0.35);
}

.pt-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pt-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 38px;
  color: #84A98C;
  font-weight: 700;
  font-size: 0.9rem;
}

.pt-page-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #00734D;
}

.pt-page-nav i {
  font-size: 0.85rem;
}

@media (max-width: 575.98px) {
  .pt-pagination {
    gap: 0.2rem;
    padding: 0.3rem 0.4rem;
  }
  .pt-page-btn {
    min-width: 32px;
    height: 32px;
    font-size: 0.8rem;
    padding: 0 0.45rem;
  }
  .pt-page-nav span {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pt-scanner-scanline,
  .pt-hotspot-dot::after {
    animation: none !important;
  }
  .pt-ticket,
  .pt-test-row,
  .pt-test-book {
    transition: none !important;
  }
}


/* ── Multi-Select Cart & Booking Modal Styles ── */
/* =============================================================
   WELLNESS DIAGNOSTICS — MULTI-SELECT CART & BOOKING MODAL
   Features:
   - Multi-Select Toggle on Cards (+ Select / ✓ Selected)
   - Selected Card Glow & Emerald Highlight
   - Sleek Floating Bottom Cart Bar with Real-Time Total
   - Pop-up Modal: Itemized Test Breakdown + Price Calculation
   - Patient Info Form (Name, Phone, Email, Collection Type)
   - One-Click WhatsApp Booking Redirect with Formatted Message
   ============================================================= */

/* ---------- Card Select Button & Selected State ---------- */
.pt-item-select-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  border: 1.5px solid #00875A;
  background: rgba(0, 135, 90, 0.06);
  color: #00875A;
  font-family: var(--pt-font-body, "Inter", sans-serif);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  outline: none;
}

.pt-item-select-btn:hover {
  background: rgba(0, 135, 90, 0.14);
  color: #00734D;
  border-color: #00734D;
  transform: translateY(-1px);
}

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

/* Active / Selected state of the button */
.pt-item-select-btn.is-selected {
  background: linear-gradient(135deg, #00875A 0%, #00734D 100%);
  color: #FFFFFF !important;
  border-color: #00734D;
  box-shadow: 0 4px 14px rgba(0, 135, 90, 0.32);
}

.pt-item-select-btn.is-selected:hover {
  background: linear-gradient(135deg, #00734D 0%, #091F18 100%);
}

.pt-item-select-btn.is-selected i {
  color: #FFFFFF !important;
}

/* Selected Card Highlight (Package Cards & Single Test Cards) */
.pkg-card.is-selected,
.st-test-card.is-selected {
  border: 2px solid #00875A !important;
  background: linear-gradient(135deg, #F0FDF4 0%, #E8F8F0 100%) !important;
  box-shadow: 0 10px 28px -6px rgba(0, 135, 90, 0.22), 0 0 0 1px #00875A !important;
  transform: translateY(-2px);
}

.pkg-card.is-selected::before,
.st-test-card.is-selected::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #10B981, #00875A);
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
}

/* Selected visual indicator badge on card */
.pt-selected-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #00875A;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  margin-left: 0.5rem;
  animation: ptPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ptPopIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* =============================================================
   FLOATING MULTI-SELECT CART BAR (Fixed at Viewport Bottom)
   ============================================================= */
.pt-floating-cart {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, calc(100% + 2.5rem));
  width: calc(100% - 2rem);
  max-width: 52rem;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease,
              visibility 0.3s ease;
  pointer-events: none;
}

.pt-floating-cart.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pt-cart-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.4rem;
  background: rgba(9, 31, 24, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(16, 185, 129, 0.38);
  border-radius: 9999px;
  box-shadow: 0 16px 40px -8px rgba(9, 31, 24, 0.55),
              0 0 0 1px rgba(16, 185, 129, 0.2);
  color: #FFFFFF;
}

.pt-cart-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.pt-cart-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #00875A);
  color: #FFFFFF;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  flex-shrink: 0;
}

.pt-cart-badge span {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #E11D48;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #091F18;
  line-height: 1;
}

.pt-cart-text-wrap {
  min-width: 0;
}

.pt-cart-title {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pt-cart-sub {
  font-size: 0.78rem;
  color: rgba(220, 244, 232, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 22rem;
}

.pt-cart-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  padding: 0 0.5rem;
  flex-shrink: 0;
}

.pt-cart-total-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(220, 244, 232, 0.7);
  font-weight: 600;
}

.pt-cart-total-amount {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 1.32rem;
  font-weight: 800;
  color: #10B981;
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.pt-cart-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.pt-cart-btn-clear {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.pt-cart-btn-clear:hover {
  background: rgba(225, 29, 72, 0.18);
  border-color: rgba(225, 29, 72, 0.4);
  color: #FDA4AF;
}

.pt-cart-btn-book {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1.35rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #10B981 0%, #00875A 100%);
  border: none;
  color: #FFFFFF !important;
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.pt-cart-btn-book:hover {
  background: linear-gradient(135deg, #059669 0%, #00734D 100%);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.55);
}

.pt-cart-btn-book i {
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.pt-cart-btn-book:hover i {
  transform: translateX(3px);
}

/* =============================================================
   BOOKING SUMMARY & PATIENT DETAILS POP-UP MODAL
   ============================================================= */
.pt-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pt-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.pt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 31, 24, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.pt-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 44rem;
  max-height: calc(100vh - 2.5rem);
  background: #FFFFFF;
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px -12px rgba(9, 31, 24, 0.4),
              0 0 0 1px rgba(16, 185, 129, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92) translateY(18px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.pt-modal-overlay.is-open .pt-modal-dialog {
  transform: scale(1) translateY(0);
}

.pt-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Modal Header */
.pt-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.6rem;
  background: linear-gradient(135deg, #F0FDF4 0%, #E8F8F0 100%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.pt-modal-header-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #10B981, #00875A);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}

.pt-modal-header-text {
  flex: 1;
  min-width: 0;
}

.pt-modal-title {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 1.22rem;
  font-weight: 800;
  color: #091F18;
  margin: 0;
  line-height: 1.2;
}

.pt-modal-subtitle {
  font-size: 0.8rem;
  color: #4C7265;
  margin: 0.2rem 0 0;
  line-height: 1.3;
}

.pt-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: #FFFFFF;
  color: #4C7265;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  outline: none;
}

.pt-modal-close:hover {
  background: #E11D48;
  color: #FFFFFF;
  border-color: #E11D48;
  transform: rotate(90deg);
}

/* Modal Body (Scrollable) */
.pt-modal-body {
  padding: 1.4rem 1.6rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.pt-modal-body::-webkit-scrollbar {
  width: 6px;
}
.pt-modal-body::-webkit-scrollbar-track {
  background: #F1F5F9;
}
.pt-modal-body::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
.pt-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Modal Sections */
.pt-modal-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pt-modal-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pt-section-title {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 0.94rem;
  font-weight: 700;
  color: #0C2D22;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pt-section-title i {
  color: #00875A;
}

.pt-items-counter {
  font-size: 0.76rem;
  font-weight: 700;
  color: #00875A;
  background: #E8F8F0;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pt-required-note {
  font-size: 0.72rem;
  color: #64748B;
  font-style: italic;
}

/* Selected Items List inside Modal */
.pt-selected-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 13.5rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.pt-selected-items-list::-webkit-scrollbar {
  width: 4px;
}
.pt-selected-items-list::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}

.pt-modal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.95rem;
  border-radius: 0.75rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
}

.pt-modal-item:hover {
  background: #F0FDF4;
  border-color: rgba(16, 185, 129, 0.35);
}

.pt-m-item-details {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 1;
}

.pt-m-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pt-m-item-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.pt-m-item-badge.badge-pkg {
  background: #E8F8F0;
  color: #00875A;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pt-m-item-badge.badge-test {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid rgba(3, 105, 161, 0.2);
}

.pt-m-item-price-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.pt-m-item-price {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 0.98rem;
  font-weight: 800;
  color: #00734D;
}

.pt-m-item-remove {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pt-m-item-remove:hover {
  background: #FEE2E2;
  color: #EF4444;
  transform: scale(1.1);
}

/* Empty Selection Notice inside Modal */
.pt-modal-empty {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #64748B;
  background: #F8FAFC;
  border-radius: 0.75rem;
  border: 1.5px dashed #CBD5E1;
}

.pt-modal-empty i {
  font-size: 2rem;
  color: #94A3B8;
  margin-bottom: 0.4rem;
  display: block;
}

.pt-modal-empty p {
  margin: 0;
  font-size: 0.85rem;
}

/* Total Calculation Receipt Card */
.pt-modal-receipt-card {
  background: linear-gradient(135deg, #F0FDF4 0%, #E8F8F0 100%);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 0.85rem;
  padding: 0.95rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pt-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #4C7265;
}

.pt-receipt-row span:last-child {
  font-weight: 700;
  color: #0C2D22;
}

.pt-receipt-discount span:last-child {
  color: #059669 !important;
}

.pt-receipt-divider {
  height: 1px;
  background: rgba(16, 185, 129, 0.22);
  margin: 0.35rem 0;
}

.pt-receipt-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pt-total-label-wrap {
  display: flex;
  flex-direction: column;
}

.pt-grand-label {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: #091F18;
}

.pt-grand-hint {
  font-size: 0.7rem;
  color: #4C7265;
}

.pt-grand-amount {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 1.55rem;
  font-weight: 900;
  color: #00734D;
  text-shadow: 0 1px 2px rgba(0, 115, 77, 0.15);
}

/* Patient Form */
.pt-modal-form-section {
  border-top: 1px solid #E2E8F0;
  padding-top: 1.25rem;
}

.pt-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.pt-form-group-full {
  grid-column: 1 / -1;
}

.pt-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pt-form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0;
}

.pt-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pt-input-icon {
  position: absolute;
  left: 0.85rem;
  color: #94A3B8;
  font-size: 1rem;
  pointer-events: none;
}

.pt-input-prefix {
  position: absolute;
  left: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748B;
  pointer-events: none;
}

.pt-form-control {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 2.45rem;
  border-radius: 0.65rem;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  font-family: var(--pt-font-body, "Inter", sans-serif);
  font-size: 0.86rem;
  transition: all 0.2s ease;
  outline: none;
}

.pt-form-control.pt-has-prefix {
  padding-left: 2.85rem;
}

.pt-form-control:focus {
  border-color: #00875A;
  box-shadow: 0 0 0 3px rgba(0, 135, 90, 0.15);
}

.pt-form-control.is-invalid {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.pt-form-error {
  font-size: 0.72rem;
  color: #EF4444;
  min-height: 1rem;
  line-height: 1.2;
}

/* Radio Collection Options */
.pt-collection-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pt-radio-card {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.pt-radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pt-radio-card-content {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  transition: all 0.2s ease;
}

.pt-radio-card:hover .pt-radio-card-content {
  background: #F0FDF4;
  border-color: rgba(16, 185, 129, 0.4);
}

.pt-radio-card.is-active .pt-radio-card-content {
  background: #E8F8F0;
  border-color: #00875A;
  box-shadow: 0 0 0 1px #00875A;
}

.pt-radio-icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: #FFFFFF;
  color: #00875A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 1px solid rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}

.pt-radio-card.is-active .pt-radio-icon {
  background: #00875A;
  color: #FFFFFF;
}

.pt-radio-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pt-radio-text strong {
  font-size: 0.82rem;
  color: #0F172A;
}

.pt-radio-text span {
  font-size: 0.7rem;
  color: #64748B;
  line-height: 1.2;
}

/* Modal Footer & Submit Button */
.pt-modal-footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.pt-btn-whatsapp-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.6rem;
  border-radius: 0.85rem;
  border: none;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  cursor: pointer;
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.pt-btn-whatsapp-submit:hover {
  background: linear-gradient(135deg, #1EBE5D 0%, #0D6E62 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(37, 211, 102, 0.55);
}

.pt-btn-whatsapp-submit:active {
  transform: translateY(0);
}

.pt-btn-whatsapp-submit > i {
  font-size: 1.85rem;
  flex-shrink: 0;
}

.pt-btn-submit-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  text-align: left;
}

.pt-btn-title {
  font-family: var(--pt-font-display, "Bricolage Grotesque", sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.pt-btn-subtitle {
  font-size: 0.78rem;
  opacity: 0.92;
  font-weight: 500;
}

.pt-btn-arrow {
  font-size: 1.5rem;
  transition: transform 0.2s ease;
}

.pt-btn-whatsapp-submit:hover .pt-btn-arrow {
  transform: translateX(4px);
}

.pt-modal-secure-note {
  text-align: center;
  font-size: 0.72rem;
  color: #64748B;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.pt-modal-secure-note i {
  color: #00875A;
}

/* =============================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ============================================================= */
@media (max-width: 768px) {
  .pt-floating-cart {
    bottom: 1rem;
    width: calc(100% - 1.2rem);
  }

  .pt-cart-inner {
    padding: 0.75rem 1rem;
    gap: 0.65rem;
  }

  .pt-cart-badge {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.98rem;
  }

  .pt-cart-sub {
    display: none;
  }

  .pt-cart-total-amount {
    font-size: 1.15rem;
  }

  .pt-cart-btn-clear span {
    display: none;
  }

  .pt-cart-btn-book {
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
  }

  .pt-modal-dialog {
    max-height: calc(100vh - 1.5rem);
    border-radius: 1.2rem;
  }

  .pt-modal-header {
    padding: 1rem 1.2rem;
  }

  .pt-modal-body {
    padding: 1.2rem;
    gap: 1.1rem;
  }

  .pt-form-grid {
    grid-template-columns: 1fr;
  }

  .pt-collection-options {
    grid-template-columns: 1fr;
  }

  .pt-btn-whatsapp-submit {
    padding: 0.85rem 1.2rem;
  }

  .pt-btn-whatsapp-submit > i {
    font-size: 1.5rem;
  }

  .pt-btn-title {
    font-size: 0.96rem;
  }
}

@media (max-width: 480px) {
  .pkg-dir-actions,
  .st-dir-actions {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .pt-item-select-btn {
    padding: 0.42rem 0.75rem;
    font-size: 0.75rem;
  }

  .pt-cart-pricing {
    padding: 0;
  }

  .pt-cart-total-label {
    display: none;
  }

  .pt-cart-total-amount {
    font-size: 1.05rem;
  }
}
