/* Health Booking - public styles */
:root{
	--hb-navy:#0f2a4a;
	--hb-navy-dark:#0a1e38;
	--hb-blue:#1c4a82;
	--hb-bg:#f5f7fa;
	--hb-border:#e2e6ec;
	--hb-text:#1f2937;
	--hb-muted:#6b7280;
	--hb-radius:10px;
}

.hb-packages-wrap{max-width:1180px;margin:0 auto;}

/* search bar */
.hb-search-bar{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--hb-border);border-radius:var(--hb-radius);padding:10px 14px;margin-bottom:16px;}
.hb-search-bar input[type=text]{flex:1;border:none;outline:none;font-size:15px;}
.hb-search-icon{color:var(--hb-muted);}

/* category tabs */
.hb-cat-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;}
.hb-tab{padding:8px 16px;border-radius:999px;background:#fff;border:1px solid var(--hb-border);color:var(--hb-text);text-decoration:none;font-size:14px;}
.hb-tab.is-active,.hb-tab:hover{background:var(--hb-navy);color:#fff;border-color:var(--hb-navy);}

/* grid + card */
.hb-package-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.hb-columns-1{grid-template-columns:1fr;}
.hb-columns-2{grid-template-columns:repeat(2,1fr);}
@media (max-width:900px){.hb-package-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.hb-package-grid{grid-template-columns:1fr;}}

.hb-card{background:#fff;border:1px solid var(--hb-border);border-radius:var(--hb-radius);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .15s ease,transform .15s ease;}
.hb-card:hover{box-shadow:0 8px 24px rgba(15,42,74,.1);transform:translateY(-2px);}
.hb-card-image{aspect-ratio:1/1;background-color:#dbe3ec;background-size:cover;background-position:center;position:relative;}
.hb-badge{position:absolute;top:12px;right:12px;background:var(--hb-navy);color:#fff;font-size:12px;padding:4px 10px;border-radius:999px;}
.hb-card-body{padding:18px;display:flex;flex-direction:column;gap:8px;flex:1;}
.hb-card-title{margin:0;font-size:17px;}
.hb-card-title a{color:var(--hb-text);text-decoration:none;}
.hb-card-desc{color:var(--hb-muted);font-size:14px;margin:0;flex:1;}
.hb-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;flex-wrap:wrap;}
.hb-price{font-weight:700;font-size:18px;color:var(--hb-navy);}
.hb-card-actions{display:flex;gap:8px;}

/* buttons */
.hb-btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 16px;border-radius:8px;font-size:14px;cursor:pointer;text-decoration:none;border:1px solid transparent;font-weight:600;}
.hb-btn-primary{background:var(--hb-navy);color:#fff;}
.hb-btn-primary:hover{background:var(--hb-navy-dark);}
.hb-btn-outline{background:#fff;border-color:var(--hb-border);color:var(--hb-text);}
.hb-btn-outline:hover{border-color:var(--hb-navy);color:var(--hb-navy);}
.hb-btn-block{width:100%;}
.hb-btn:disabled{opacity:.5;cursor:not-allowed;}
.hb-empty{color:var(--hb-muted);padding:40px 0;text-align:center;grid-column:1/-1;}

/* pagination (real archive / taxonomy pages) */
.hb-pagination{margin-top:32px;display:flex;justify-content:center;}
.hb-pagination ul.page-numbers{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0;}
.hb-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border-radius:8px;border:1px solid var(--hb-border);background:#fff;color:var(--hb-text);text-decoration:none;font-size:14px;}
.hb-pagination a.page-numbers:hover{border-color:var(--hb-navy);color:var(--hb-navy);}
.hb-pagination .page-numbers.current{background:var(--hb-navy);border-color:var(--hb-navy);color:#fff;}
.hb-pagination .page-numbers.dots{border-color:transparent;background:transparent;}

/* modal */
.hb-modal-overlay{position:fixed;inset:0;background:rgba(10,20,35,.55);display:flex;align-items:center;justify-content:center;z-index:99999;padding:20px;}
.hb-modal-overlay[hidden]{display:none;}
.hb-modal{background:#fff;border-radius:14px;max-width:480px;width:100%;max-height:90vh;overflow-y:auto;padding:28px;position:relative;}
.hb-modal-close{position:absolute;top:14px;right:16px;background:none;border:none;font-size:24px;line-height:1;cursor:pointer;color:var(--hb-muted);}
.hb-modal h2{margin:0 0 4px;color:var(--hb-navy);}
.hb-modal-sub{color:var(--hb-muted);font-size:14px;margin:0 0 18px;}
.hb-form-group{margin-bottom:14px;}
.hb-form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.hb-form-group label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:var(--hb-text);}
.hb-form-group input[type=text],
.hb-form-group input[type=tel],
.hb-form-group input[type=email],
.hb-form-group input[type=date],
.hb-form-group textarea{width:100%;padding:10px 12px;border:1px solid var(--hb-border);border-radius:8px;font-size:14px;box-sizing:border-box;}
.hb-selected-package{padding:10px 12px;background:var(--hb-bg);border-radius:8px;font-weight:600;color:var(--hb-navy);}
.hb-slots{display:flex;flex-wrap:wrap;gap:8px;}
.hb-slots-hint{color:var(--hb-muted);font-size:13px;margin:0;}
.hb-slot-btn{padding:8px 12px;border-radius:8px;border:1px solid var(--hb-border);background:#fff;font-size:13px;cursor:pointer;}
.hb-slot-btn.is-selected{background:var(--hb-navy);border-color:var(--hb-navy);color:#fff;}
.hb-slot-btn:disabled{opacity:.4;text-decoration:line-through;cursor:not-allowed;}
.hb-form-error{color:#b42318;font-size:13px;background:#fef3f2;border:1px solid #fecdca;padding:8px 12px;border-radius:8px;}
.hb-success-icon{width:56px;height:56px;border-radius:50%;background:#12b76a;color:#fff;font-size:28px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;}
.hb-modal-step[data-step=success]{text-align:center;}
.hb-ref-code{background:var(--hb-bg);padding:10px;border-radius:8px;}
#hb-download-pdf-btn{margin-bottom:10px;}

/* breadcrumb */
.hb-breadcrumb{margin:0 0 18px;}
.hb-breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:6px;list-style:none;margin:0;padding:0;font-size:13px;color:var(--hb-muted);}
.hb-breadcrumb a{color:var(--hb-muted);text-decoration:none;}
.hb-breadcrumb a:hover{color:var(--hb-navy);text-decoration:underline;}
.hb-breadcrumb span[aria-current]{color:var(--hb-navy);font-weight:600;}
.hb-breadcrumb .hb-breadcrumb-sep{color:#c6cdd6;}

/* PDF receipt (offscreen, captured with html2canvas) */
.hb-receipt{position:fixed;left:-99999px;top:0;width:700px;background:#fff;}
.hb-receipt-inner{padding:40px;font-family:inherit;color:#111827;}
.hb-receipt-header{border-bottom:3px solid var(--hb-navy);padding-bottom:16px;margin-bottom:24px;}
.hb-receipt-clinic{font-size:14px;color:var(--hb-muted);margin-bottom:4px;}
.hb-receipt-title{font-size:24px;font-weight:700;color:var(--hb-navy);}
.hb-receipt-table{width:100%;border-collapse:collapse;font-size:15px;}
.hb-receipt-table th{text-align:left;color:var(--hb-muted);font-weight:600;padding:10px 12px 10px 0;width:35%;vertical-align:top;}
.hb-receipt-table td{padding:10px 0;border-bottom:1px solid var(--hb-border);}
.hb-receipt-footer{margin-top:24px;font-size:13px;color:var(--hb-muted);}

/* single package page */
.hb-single-wrap{max-width:960px;margin:0 auto;padding:24px 16px 60px;}
.hb-single-hero{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;margin-bottom:32px;}
@media (max-width:760px){.hb-single-hero{grid-template-columns:1fr;}}
.hb-single-image img{width:100%;border-radius:14px;object-fit:cover;}
.hb-single-heading h1{color:var(--hb-navy);margin:10px 0;}
.hb-single-price{font-size:24px;font-weight:700;color:var(--hb-navy);margin-bottom:16px;}
.hb-single-actions{display:flex;gap:10px;flex-wrap:wrap;}
.hb-single-body h2{color:var(--hb-navy);margin-top:32px;border-bottom:1px solid var(--hb-border);padding-bottom:8px;}
.hb-list{padding-left:20px;}
.hb-list li{margin-bottom:6px;}
