/* LEOGO Health & Medicine customer marketplace V1 */
.health-medicine-marketplace{padding:30px 20px;background:#f3f8f8}
.health-market-shell{max-width:1180px;margin:0 auto;border:1px solid #d9e6e5;border-radius:22px;background:#fff;padding:22px;box-shadow:0 12px 30px rgba(8,57,64,.06)}
.health-market-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:16px}
.health-market-head>div:first-child>span,.health-products-heading span{font-size:9px;font-weight:950;letter-spacing:.1em;color:#11806e}
.health-market-head h2{margin:5px 0 7px;color:#092a3b;font-size:28px}
.health-market-head p{margin:0;max-width:760px;color:#5e7180;font-size:11px;line-height:1.55}
.health-market-safety{min-width:245px;max-width:310px;border:1px solid #f2c88e;border-radius:13px;background:#fff8ed;padding:12px;display:grid;gap:4px}
.health-market-safety strong{font-size:10px;color:#7b4d12}
.health-market-safety small{font-size:8px;line-height:1.45;color:#85653e}
.health-market-filters{display:grid;grid-template-columns:240px minmax(0,1fr);gap:10px;margin-bottom:12px}
.health-market-filters label{display:grid;gap:5px;font-size:8px;font-weight:900;color:#415866}
.health-market-filters select,.health-market-filters input{border:1px solid #ccd9dc;border-radius:10px;padding:10px 11px;background:#fff;color:#0a2b3b;font:inherit;font-size:10px;outline:none}
.health-market-filters select:focus,.health-market-filters input:focus{border-color:#37a18f;box-shadow:0 0 0 2px rgba(17,128,110,.08)}
.health-market-status{padding:8px 0;color:#667b86;font-size:9px}
.health-partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 22px}
.health-partner-card{border:1px solid #dce8e7;border-radius:15px;background:#fff;padding:12px;display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px}
.health-partner-photo{width:58px;height:58px;border-radius:12px;background:#edf6f4;display:grid;place-items:center;overflow:hidden;font-size:25px}
.health-partner-photo img{width:100%;height:100%;object-fit:cover}
.health-partner-copy{min-width:0;display:grid;gap:3px}
.health-partner-copy>span{font-size:7px;font-weight:950;color:#11806e;text-transform:uppercase;letter-spacing:.06em}
.health-partner-copy strong{font-size:11px;color:#092a3b}
.health-partner-copy small{font-size:8px;color:#6b7f8a}
.health-partner-copy em{font-size:7.5px;color:#657983;font-style:normal}
.health-products-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;border-top:1px solid #e6eeee;padding-top:17px}
.health-products-heading h3{margin:4px 0 0;color:#092a3b}
.health-products-heading>small{font-size:8px;color:#73838c}
.health-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.health-public-product{border:1px solid #dce8e7;border-radius:14px;overflow:hidden;background:#fff;display:grid}
.health-public-product-photo{height:150px;background:#eef5f4;display:grid;place-items:center;font-size:35px;overflow:hidden}
.health-public-product-photo img{width:100%;height:100%;object-fit:cover}
.health-public-product-body{padding:11px;display:grid;gap:5px}
.health-public-product-body>span{font-size:7px;font-weight:950;color:#11806e;text-transform:uppercase}
.health-public-product-body h4{margin:0;color:#092a3b;font-size:11px}
.health-public-product-body b{font-size:10px;color:#0b2033}
.health-public-product-body small{font-size:7.5px;color:#687b86}
.health-public-product-body p{margin:0;color:#5e7180;font-size:8px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.health-public-badges{display:flex;gap:5px;flex-wrap:wrap}
.health-public-badges em{font-style:normal;border-radius:999px;padding:4px 6px;background:#edf7f5;color:#146b5d;font-size:6.7px;font-weight:900}
.health-public-badges em.prescription{background:#fff1e4;color:#a3500b}
.health-public-badges em.pharmacy-only{background:#eef1ff;color:#4758a8}
.health-public-enquiry{margin-top:4px;border:0;border-radius:8px;padding:8px;background:#0b3044;color:#fff;font-size:8px;font-weight:900}
.health-market-empty{grid-column:1/-1;padding:22px;border:1px dashed #cfdede;border-radius:13px;text-align:center;color:#6f8088;font-size:9px;background:#f9fbfb}
.health-medicine-category-card small{font-size:7px;color:#6b7785;text-align:center}

@media(max-width:900px){
  .health-partner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .health-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
  .health-medicine-marketplace{padding:18px 10px}
  .health-market-shell{padding:14px;border-radius:17px}
  .health-market-head{display:grid}
  .health-market-head h2{font-size:22px}
  .health-market-safety{min-width:0;max-width:none}
  .health-market-filters{grid-template-columns:1fr}
  .health-partner-grid{grid-template-columns:1fr}
  .health-products-heading{display:grid;align-items:start}
  .health-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .health-public-product-photo{height:118px}
  .health-public-product-body{padding:9px}
}

.health-public-cart{background:#0f7a67}


/* Health Specialist / Doctor services + booking V1 */
.health-specialist-public-section{margin-top:22px;padding-top:18px;border-top:1px solid #dfe9e5}
.health-specialist-public-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}
.health-specialist-public-head>div:first-child{display:grid;gap:4px}
.health-specialist-public-head>div:first-child>span{font-size:8px;font-weight:950;letter-spacing:.08em;color:#0f8a73}
.health-specialist-public-head h3{margin:0;color:#0a2941;font-size:19px}
.health-specialist-public-head p{margin:0;color:#647683;font-size:9px;line-height:1.5;max-width:720px}
.health-specialist-booking-fee-chip{flex:0 0 auto;border:1px solid #cfe5df;background:#f1fbf8;border-radius:12px;padding:9px 12px;display:grid;gap:2px;text-align:right}
.health-specialist-booking-fee-chip small{font-size:7px;color:#60767a;font-weight:850;text-transform:uppercase}
.health-specialist-booking-fee-chip strong{font-size:13px;color:#0a6b59}
.health-specialist-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.health-specialist-public-card{background:#fff;border:1px solid #dbe7e3;border-radius:14px;overflow:hidden;box-shadow:0 7px 20px rgba(9,50,60,.05);display:flex;flex-direction:column;min-width:0}
.health-specialist-public-photo{aspect-ratio:4/3;background:#f2f7f6;display:grid;place-items:center;overflow:hidden;font-size:42px}
.health-specialist-public-photo img{width:100%;height:100%;object-fit:contain;background:#fff}
.health-specialist-public-copy{padding:10px;display:grid;gap:4px;flex:1}
.health-specialist-public-copy>span{font-size:7.5px;color:#0f8a73;font-weight:950;text-transform:uppercase;letter-spacing:.05em}
.health-specialist-public-copy h4{margin:0;font-size:13px;line-height:1.25;color:#0a2941}
.health-specialist-public-copy>strong{font-size:9px;color:#173e4d}
.health-specialist-public-copy>small,.health-specialist-public-copy>p{margin:0;font-size:8px;color:#6b7b83;line-height:1.4}
.health-specialist-public-copy>p.availability{padding:6px 7px;border-radius:8px;background:#f7faf9}
.health-specialist-public-facts{display:flex;gap:5px;flex-wrap:wrap}
.health-specialist-public-facts em{font-style:normal;font-size:7px;font-weight:850;background:#eef6f4;color:#315f57;border-radius:999px;padding:4px 6px}
.health-specialist-public-prices{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:2px}
.health-specialist-public-prices span{border:1px solid #e1e8e6;border-radius:9px;padding:7px;display:grid;gap:2px}
.health-specialist-public-prices small{font-size:6.8px;color:#778787}
.health-specialist-public-prices b{font-size:9px;color:#0a2941}
.health-specialist-public-copy>button{margin-top:auto;border:0;border-radius:9px;background:#0f8a73;color:#fff;padding:9px 10px;font-size:8.5px;font-weight:950;cursor:pointer}

.customer-health-specialist-bookings{margin-top:18px;border:1px solid #dfe8e5;border-radius:14px;padding:12px;background:#fbfdfc}
.health-specialist-public-head.compact{align-items:center;margin-bottom:9px}
.health-specialist-public-head.compact h3{font-size:14px}
.health-specialist-public-head.compact button{border:0;border-radius:8px;background:#0a2941;color:#fff;padding:7px 9px;font-size:8px;font-weight:900;cursor:pointer}
.customer-health-specialist-booking-list{display:grid;gap:8px}
.customer-health-booking-card{border:1px solid #dfe8e5;border-radius:10px;background:#fff;padding:10px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;gap:10px;align-items:center}
.customer-health-booking-card>div{display:grid;gap:2px;min-width:0}
.customer-health-booking-card span{font-size:7px;color:#0f8a73;font-weight:900}
.customer-health-booking-card strong,.customer-health-booking-card b{font-size:9px;color:#173746}
.customer-health-booking-card small{font-size:7.5px;color:#728088}

body.health-specialist-booking-open{overflow:hidden}
.health-specialist-booking-modal{position:fixed;inset:0;z-index:260;display:grid;place-items:center;padding:14px}
.health-specialist-booking-modal[hidden]{display:none!important}
.health-specialist-booking-backdrop{position:absolute;inset:0;border:0;background:rgba(3,15,29,.66)}
.health-specialist-booking-card{position:relative;z-index:1;width:min(720px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:17px;box-shadow:0 24px 70px rgba(0,0,0,.28)}
.health-specialist-booking-card>header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:14px 16px;background:#0a2941;color:#fff}
.health-specialist-booking-card>header>div{display:grid;gap:2px}
.health-specialist-booking-card>header span{font-size:7px;font-weight:950;color:#8fe0d5;letter-spacing:.08em}
.health-specialist-booking-card>header h3{margin:0;font-size:17px}
.health-specialist-booking-card>header p{margin:0;font-size:8px;color:#d3e5eb}
.health-specialist-booking-card>header>button{border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:8px;width:32px;height:32px;font-size:20px;cursor:pointer}
.health-specialist-booking-body{padding:14px 16px;display:grid;gap:12px}
.health-specialist-booking-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.health-specialist-booking-summary span{display:grid;gap:2px;background:#f2f8f6;border-radius:10px;padding:9px}
.health-specialist-booking-summary small{font-size:7px;color:#6b7e7c}
.health-specialist-booking-summary strong{font-size:10px;color:#0a2941}
.health-specialist-booking-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.health-specialist-booking-form-grid label,.health-specialist-payment-box>label{display:grid;gap:5px;font-size:8px;font-weight:900;color:#294958}
.health-specialist-booking-form-grid .wide{grid-column:1/-1}
.health-specialist-booking-form-grid input,.health-specialist-booking-form-grid select,.health-specialist-booking-form-grid textarea,.health-specialist-payment-box textarea{width:100%;box-sizing:border-box;border:1px solid #ccd9d7;border-radius:9px;background:#fff;padding:9px 10px;font:inherit;font-size:10px;color:#173746}
.health-specialist-payment-box{display:grid;gap:9px;padding:12px;border:1px solid #d8e5e1;border-radius:12px;background:#f7fbfa}
.health-specialist-payment-box>div:first-child{display:grid;gap:2px}
.health-specialist-payment-box>div:first-child span{font-size:7px;color:#0f8a73;font-weight:950;letter-spacing:.06em}
.health-specialist-payment-box>div:first-child strong{font-size:18px;color:#0a2941}
.health-specialist-payment-box>div:first-child small{font-size:8px;color:#6a7c7a}
#healthSpecialistPaymentAccount{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:9px;border-radius:9px;background:#fff}
#healthSpecialistPaymentAccount strong,#healthSpecialistPaymentAccount b{font-size:9px;color:#0a2941}
#healthSpecialistPaymentAccount span,#healthSpecialistPaymentAccount small{font-size:8px;color:#647672}
.health-specialist-payment-confirm{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:7px!important;font-weight:700!important}
.health-specialist-payment-confirm input{width:auto!important;margin-top:2px}
.health-specialist-booking-safety{padding:9px 10px;border-radius:9px;background:#fff6e8;color:#7e510d;font-size:8px;line-height:1.45;font-weight:800}
.health-specialist-booking-card>footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;padding:11px 16px;border-top:1px solid #e0e8e5;background:#fff}
.health-specialist-booking-card>footer button{border:0;border-radius:9px;background:#0f8a73;color:#fff;padding:9px 14px;font-size:9px;font-weight:900;cursor:pointer}
.health-specialist-booking-card>footer button.secondary{background:#edf3f2;color:#173746}
.health-specialist-payment-missing{color:#9d2f2f!important;background:#fff0f0!important;padding:8px!important;border-radius:8px!important}

@media(max-width:850px){.health-specialist-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){
  .health-specialist-public-head{display:grid}
  .health-specialist-booking-fee-chip{text-align:left;width:max-content}
  .health-specialist-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .health-specialist-public-copy{padding:8px}
  .health-specialist-public-photo{aspect-ratio:4/3}
  .health-specialist-public-prices{grid-template-columns:1fr}
  .customer-health-booking-card{grid-template-columns:1fr}
  .health-specialist-booking-summary{grid-template-columns:1fr}
  .health-specialist-booking-form-grid{grid-template-columns:1fr}
  .health-specialist-booking-form-grid .wide{grid-column:auto}
}
