:root {
    --brand-pink: #e52b7b;
    --brand-pink-hover: #c81d64;
    --medical-dark: #0f172a;
    --bg-light: #f8fafc;
    --pure-white: #ffffff;
    --text-body: #475569;
    --border-color: #e2e8f0;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); background-color: var(--bg-light); color: var(--medical-dark); line-height: 1.6; overflow-x: hidden; }
.container { width: 92%; max-width: 1300px; margin: 0 auto; position: relative; }

.top-bar { background-color: var(--medical-dark); color: var(--pure-white); font-size: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-bar-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-info { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.top-bar-info i { color: var(--brand-pink); margin-right: 5px; }
.compliance-badge { background: rgba(229,43,123,0.15); border: 1px solid var(--brand-pink); color: var(--brand-pink); padding: 2px 8px; font-weight: 700; border-radius: 4px; text-transform: uppercase; font-size: 0.65rem; letter-spacing: 0.5px; }

header { background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 999; box-shadow: 0 4px 30px rgba(15,23,42,0.03); border-bottom: 1px solid var(--border-color); }
.nav-flex { display: flex; align-items: center; padding: 0.6rem 0; gap: clamp(0.75rem, 2vw, 2rem); }
.brand-logo { text-decoration: none; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo img { max-height: clamp(34px, 3.4vw, 44px); width: auto; display: block; }
.footer-brand img { max-height: 40px; width: auto; }

/* Compact 150px hero banner - Posts, Pages, single Products, Product
   Category archives. Image priority: per-item Featured Image, then the
   site-wide default under Appearance > Customize > Archive & Page Hero. */
.page-hero-banner { height: 150px; display: flex; align-items: center; background-size: cover; background-position: center; }
.page-hero-banner .container { position: relative; }
.page-hero-banner h1 { color: var(--pure-white); font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; margin: 0; }

.navigation-wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; min-width: 0; }
.menu { display: flex; list-style: none; align-items: center; gap: clamp(0.35rem, 1vw, 1.25rem); margin-right: auto; flex-wrap: nowrap; }
.menu li { position: relative; }
.menu > li > a { text-decoration: none; color: var(--medical-dark); font-weight: 600; font-size: clamp(0.72rem, 0.65vw + 0.55rem, 0.85rem); padding: 1.5rem clamp(0.15rem, 0.5vw, 0.4rem); display: flex; align-items: center; gap: 5px; transition: var(--transition-smooth); white-space: nowrap; }
.menu-arrow { font-size: 0.6rem; color: var(--text-body); transition: transform 0.25s ease; }
.menu-item-has-mega:hover > a .menu-arrow,
.menu-item-has-children:hover > a .menu-arrow { transform: rotate(180deg); color: var(--brand-pink); }
.menu > li:hover > a { color: var(--brand-pink); }
.menu .sub-menu { position: absolute; top: 100%; left: 0; background: var(--pure-white); box-shadow: 0 15px 40px rgba(15,23,42,0.12); border: 1px solid var(--border-color); border-radius: 12px; list-style: none; opacity: 0; visibility: hidden; transition: var(--transition-smooth); z-index: 100; padding: 10px; min-width: 220px; }
@media(min-width:1180px) { .menu li:hover > .sub-menu { opacity: 1; visibility: visible; } }
.menu .sub-menu a { padding: 8px 10px; display: block; font-size: 0.82rem; color: var(--text-body); border-radius: 6px; }
.menu .sub-menu a:hover { background: var(--bg-light); color: var(--brand-pink); }

/* Mega menu: any top-level item whose children themselves have children
   (e.g. Products > Diagnostic & Imaging Systems > individual products)
   gets a wide, multi-column panel instead of the simple single-column
   dropdown above. */
.menu-item-has-mega { position: static; }
.mega-menu-panel {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0 auto;
    width: max-content; max-width: min(680px, 92vw); min-width: 320px;
    background: var(--pure-white); border: 1px solid var(--border-color); border-radius: 14px;
    box-shadow: 0 25px 60px rgba(15,23,42,0.14);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: var(--transition-smooth);
    z-index: 100; padding: 1.25rem 1.5rem;
}
@media(min-width:1180px) { .menu-item-has-mega:hover > .mega-menu-panel { opacity: 1; visibility: visible; transform: translateY(0); } }
.mega-menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 200px)); gap: 0 2.5rem; justify-content: start; }
.mega-column-heading { display: block; font-weight: 800; font-size: 0.8rem; color: var(--medical-dark); text-decoration: none; padding-bottom: 0.5rem; margin-bottom: 0.4rem; border-bottom: 2px solid var(--brand-pink); }
.mega-column-heading:hover { color: var(--brand-pink); }
.mega-column ul { list-style: none; column-count: 2; column-gap: 1.25rem; }
.mega-column ul li a { display: block; padding: 4px 4px; font-size: 0.78rem; color: var(--text-body); text-decoration: none; border-radius: 6px; transition: var(--transition-smooth); break-inside: avoid; }
.mega-column ul li a:hover { color: var(--brand-pink); background: var(--bg-light); padding-left: 8px; }

.btn-rfq-trigger { background-color: var(--brand-pink); color: var(--pure-white) !important; padding: clamp(0.5rem, 0.9vw, 0.6rem) clamp(0.7rem, 1.4vw, 1.1rem); border-radius: 50px; box-shadow: 0 4px 14px rgba(229,43,123,0.3); display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: clamp(0.72rem, 0.6vw + 0.55rem, 0.85rem); text-decoration: none; flex-shrink: 0; white-space: nowrap; }
.btn-rfq-trigger:hover { background-color: var(--brand-pink-hover); transform: translateY(-2px); }
.cart-count { background-color: var(--pure-white); color: var(--brand-pink); font-size: 0.75rem; font-weight: 800; border-radius: 50%; width: 20px; height: 20px; display: inline-flex; justify-content: center; align-items: center; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; font-size: 1.5rem; color: var(--medical-dark); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

.hero-slider-container { height: 520px; position: relative; overflow: hidden; background: var(--medical-dark); }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; z-index: 1; transition: opacity 1s ease-in-out; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 2; }
/* The actual photo, as a real <img> filling the hero edge-to-edge -
   full width, no side bars, no letterboxing. object-fit: cover crops
   only the minimum needed to fill the fixed-height box below,
   object-position: center keeps that crop centered. */
.slide-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 1; }
.slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,0.45) 0%, rgba(15,23,42,0.15) 100%); z-index: 2; }
.hero-text { position: relative; z-index: 3; color: var(--pure-white); max-width: 720px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero-text h1, .hero-text .hero-tagline { text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.hero-text p { text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.hero-tagline { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--brand-pink); margin-bottom: 0.8rem; display: block; }
.hero-text h1 { font-size: clamp(1.85rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; letter-spacing: -1px; }
.hero-text p { font-size: clamp(0.85rem, 2vw, 1rem); color: #cbd5e1; margin-bottom: 1.8rem; max-width: 580px; }
.btn-primary { background-color: var(--brand-pink); color: var(--pure-white); text-decoration: none; padding: 0.8rem 1.6rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 10px; transition: var(--transition-smooth); border: 1px solid var(--brand-pink); }
.btn-primary:hover { background-color: transparent; color: var(--brand-pink); }
.slider-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition-smooth); }
.dot.active { background: var(--brand-pink); width: 28px; border-radius: 10px; }

.catalog-section { padding: clamp(3rem, 8vw, 5rem) 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header span { color: var(--brand-pink); font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }
.section-header h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; margin-top: 0.5rem; color: var(--medical-dark); }
.section-header-with-filter { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; text-align: left; }
.category-filter-dropdown { padding: 0.6rem 2rem 0.6rem 1rem; border: 1px solid var(--border-color); border-radius: 8px; background: var(--pure-white); font-family: var(--font-main); font-size: 0.82rem; font-weight: 600; color: var(--medical-dark); cursor: pointer; }
.category-filter-dropdown:focus { outline: none; border-color: var(--brand-pink); }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 2rem; }
.catalog-card { background: var(--pure-white); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: var(--transition-smooth); display: flex; flex-direction: column; position: relative; }
.catalog-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(15,23,42,0.06); border-color: var(--brand-pink); }
.card-img-box { position: relative; height: 210px; background-color: #f1f5f9; overflow: hidden; }
.card-img-box img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.catalog-card:hover .card-img-box img { transform: scale(1.04); }
.card-img-link { display: block; height: 100%; }
.card-title-link { color: #ee4e95; text-decoration: none; transition: color 0.2s ease; }
.card-title-link:hover, .card-title-link:focus { color: #d3468e; text-decoration: underline; }
.card-img-link:focus-visible, .card-title-link:focus-visible { outline: 2px solid var(--brand-pink); outline-offset: 2px; }
.card-badge { position: absolute; top: 1rem; left: 1rem; background: var(--medical-dark); color: var(--pure-white); font-size: 0.65rem; padding: 4px 8px; font-weight: 700; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.card-body p { font-size: 0.85rem; color: var(--text-body); margin-bottom: 1.25rem; flex-grow: 1; }
.card-action { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-color); padding-top: 1rem; gap: 10px; }
.availability { font-size: 0.75rem; color: var(--brand-pink); font-weight: 700; display: flex; align-items: center; gap: 4px; }
.btn-add-quote { background-color: #71cbcf; color: var(--pure-white); border: none; padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700; font-size: 0.75rem; cursor: pointer; transition: var(--transition-smooth); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.btn-add-quote:hover { background-color: #d3468e; }

/* Single product page: main image is a fixed, consistent height across
   every product regardless of the source photo's own dimensions -
   object-fit: cover crops to fill rather than stretching or leaving
   the box a different height per product. */
.product-main-image { width: 100%; height: 420px; object-fit: cover; display: block; border-radius: 16px; border: 1px solid var(--border-color); background: #f1f5f9; }
@media(max-width:768px) { .product-main-image { height: 300px; } }

/* Single product page: 5-across gallery row beneath the main image.
   Clicking a thumb swaps the #productMainImage src (see main.js). */
.product-gallery-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; margin-top: 0.75rem; }
.product-gallery-thumb { padding: 0; border: 2px solid var(--border-color); border-radius: 10px; overflow: hidden; background: #f1f5f9; cursor: pointer; aspect-ratio: 1 / 1; transition: var(--transition-smooth); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery-thumb:hover { border-color: var(--brand-pink); transform: translateY(-2px); }
.product-gallery-thumb.active { border-color: var(--brand-pink); box-shadow: 0 0 0 2px rgba(229,43,123,0.2); }
@media(max-width:768px) { .product-gallery-row { grid-template-columns: repeat(5, 1fr); gap: 0.5rem; } }

.slider-section-bg { background-color: #f1f5f9; padding: clamp(3rem, 8vw, 5rem) 0; overflow: hidden; }
.carousel-outer { position: relative; width: 100%; }
.carousel-viewport { overflow: hidden; width: 100%; }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.25,1,0.5,1); gap: 2rem; }
.carousel-slide-card { flex: 0 0 calc(25% - 1.5rem); min-width: 280px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--pure-white); border: 1px solid var(--border-color); width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.05); z-index: 10; transition: var(--transition-smooth); }
.carousel-btn:hover { background: var(--brand-pink); color: var(--pure-white); border-color: var(--brand-pink); }
.carousel-btn-prev { left: -20px; }
.carousel-btn-next { right: -20px; }

.reviews-section { padding: clamp(3rem, 8vw, 5rem) 0; background-color: var(--pure-white); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.review-card { background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.5rem; transition: var(--transition-smooth); }
.review-card:hover { border-color: var(--brand-pink); transform: translateY(-4px); }
.review-author { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.author-details h4 { font-size: 0.9rem; font-weight: 700; }
.author-details span { font-size: 0.75rem; color: var(--text-body); }
.review-stars { color: #f59e0b; font-size: 0.8rem; margin-bottom: 0.8rem; }
.review-text { font-size: 0.85rem; color: var(--text-body); font-style: italic; }
.google-badge-anchor { display: flex; align-items: center; gap: 8px; margin-top: 1.5rem; justify-content: center; font-size: 0.85rem; font-weight: 600; color: var(--text-body); text-decoration: none; }
.google-badge-anchor i { color: #4285F4; }

.partners-section { padding: 4rem 0; background-color: #f8fafc; border-top: 1px solid var(--border-color); }
.partners-viewport { overflow: hidden; width: 100%; }
.partners-track { display: flex; align-items: center; gap: 3rem; width: max-content; }
.partner-card { flex: 0 0 180px; height: 80px; background: var(--pure-white); border: 1px solid var(--border-color); border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 1rem; font-weight: 800; color: #94a3b8; letter-spacing: 1px; font-size: 0.95rem; transition: var(--transition-smooth); text-transform: uppercase; text-decoration: none; }
.partner-card:hover { color: var(--brand-pink); border-color: var(--brand-pink); }

.rfq-drawer { position: fixed; top: 0; right: -100%; width: 440px; max-width: 100%; height: 100vh; background: var(--pure-white); box-shadow: -10px 0 50px rgba(15,23,42,0.1); z-index: 1000; transition: var(--transition-smooth); padding: 2rem; display: flex; flex-direction: column; }
.rfq-drawer.open { right: 0; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,0.5); backdrop-filter: blur(4px); z-index: 999; display: none; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.drawer-header h3 { font-size: 1.25rem; font-weight: 800; }
.btn-close-drawer { background: none; border: none; font-size: 1.8rem; color: var(--medical-dark); cursor: pointer; }
.quote-items-list { flex-grow: 1; overflow-y: auto; margin-bottom: 1.5rem; }
.empty-cart-msg { text-align: center; color: var(--text-body); font-size: 0.85rem; margin-top: 2rem; }
.quote-item { display: flex; justify-content: space-between; align-items: center; background: var(--bg-light); padding: 0.85rem; border-radius: 8px; margin-bottom: 0.75rem; border: 1px solid var(--border-color); }
.quote-item-details h5 { font-weight: 700; font-size: 0.85rem; margin-bottom: 2px; }
.quote-item-details p { font-size: 0.7rem; color: var(--text-body); }
.btn-remove-item { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 0.85rem; padding: 5px; }
.rfq-form label { display: block; font-size: 0.7rem; text-transform: uppercase; font-weight: 800; letter-spacing: 1px; margin-bottom: 0.4rem; }
.form-input { width: 100%; padding: 0.7rem; border: 1px solid var(--border-color); border-radius: 8px; font-family: var(--font-main); margin-bottom: 1rem; font-size: 0.85rem; }
.form-input:focus { outline: none; border-color: var(--brand-pink); }
.btn-submit-rfq { width: 100%; background-color: var(--brand-pink); color: var(--pure-white); border: none; padding: 0.85rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: var(--transition-smooth); }
.btn-submit-rfq:hover { background-color: var(--brand-pink-hover); }
.hidden { display: none !important; }

footer { background: var(--medical-dark); color: var(--pure-white); padding: 5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 3rem; margin-bottom: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand p { color: #94a3b8; font-size: 0.85rem; max-width: 320px; }
.footer-social-icons { display: flex; gap: 0.75rem; margin-top: 0.25rem; }
.footer-social-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #cbd5e1; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; text-decoration: none; transition: var(--transition-smooth); }
.footer-social-icon:hover { background: var(--brand-pink); border-color: var(--brand-pink); color: var(--pure-white); transform: translateY(-3px); }
.footer-col h4 { font-size: 0.9rem; font-weight: 800; margin-bottom: 1.2rem; color: var(--brand-pink); text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; font-size: 0.8rem; transition: var(--transition-smooth); }
.footer-col ul li a:hover { color: var(--brand-pink); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: #64748b; flex-wrap: wrap; gap: 12px; }

@media(max-width:1179px) {
    .mobile-toggle { display: block; }
    .nav-flex { justify-content: space-between; gap: 0; }
    .navigation-wrap { position: fixed; top: 74px; left: -100%; width: 100%; height: calc(100vh - 74px); background: var(--pure-white); flex-direction: column; align-items: stretch; padding: 2rem 5%; transition: left 0.4s cubic-bezier(0.16,1,0.3,1); overflow-y: auto; gap: 2rem; border-top: 1px solid var(--border-color); }
    .navigation-wrap.active { left: 0; }
    .menu { flex-direction: column; align-items: stretch; gap: 0; margin-right: 0; }
    .menu > li > a { padding: 0.85rem 0; justify-content: space-between; border-bottom: 1px solid var(--border-color); font-size: 0.95rem; }
    .menu .sub-menu { position: static; opacity: 1; visibility: visible; display: none; box-shadow: none; border: none; border-radius: 0; background: var(--bg-light); }
    .menu li.menu-open .sub-menu { display: block; }

    /* Mega panel on mobile: collapse from a floating grid panel into a
       plain stacked block, same accordion open/close behavior as the
       simple dropdowns above. */
    .mega-menu-panel { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: none; border-radius: 0; padding: 0.5rem 0 0.5rem 1rem; width: 100%; }
    .menu li.menu-open .mega-menu-panel { display: block; }
    .menu li.menu-open > a .menu-arrow { transform: rotate(180deg); color: var(--brand-pink); }
    .mega-menu-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .mega-column-heading { font-size: 0.85rem; }
    .mega-column ul { column-count: 1; }

    /* The RFQ button now lives in .nav-actions, permanently visible
       in the top bar alongside the hamburger - it must NOT collapse
       into the slide-out menu like it used to, so no special-casing
       is needed here anymore beyond making it compact enough to fit
       next to the hamburger at narrow widths (handled below). */
    .carousel-slide-card { flex: 0 0 calc(50% - 1rem); }
}

@media(max-width:600px) {
    /* At phone widths, logo + full "RFQ Quote List" text + hamburger
       won't all fit on one line - keep the button itself (icon + cart
       count bubble) always visible since it's a key action, just hide
       its text label to stay compact. */
    .rfq-label { display: none; }
    .btn-rfq-trigger { padding: 0.55rem 0.7rem; gap: 6px; }
}
@media(max-width:768px) {
    .top-bar-flex { flex-direction: column; text-align: center; }
    .top-bar-info { justify-content: center; gap: 0.8rem; }
    .hero-slider-container { height: 420px; }
    .section-header-with-filter { flex-direction: column; align-items: stretch; text-align: center; }
    .section-header-with-filter > div { text-align: center; }
    .category-filter-dropdown { width: 100%; }
    .carousel-slide-card { flex: 0 0 100%; }
    .catalog-grid { grid-template-columns: 1fr; }
    .catalog-card { max-width: 440px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
}

/* Floating WhatsApp chat widget - site-wide (footer.php), number and
   all copy editable under Appearance > Customize > WhatsApp Chat Widget. */
#wa-widget { position: fixed; bottom: 24px; right: 24px; z-index: 999; }
.wa-widget-toggle { width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 20px rgba(37,211,102,0.4); font-size: 1.6rem; animation: waPulse 3s ease-in-out infinite; transition: var(--transition-smooth); }
.wa-widget-toggle:hover { transform: scale(1.08); }
@keyframes waPulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.12); } }

.wa-widget-popup { position: absolute; bottom: 76px; right: 0; width: 320px; max-width: calc(100vw - 48px); background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.2); overflow: hidden; animation: waPopIn 0.25s ease; }
.wa-widget-popup.hidden { display: none; }
@keyframes waPopIn { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

.wa-widget-popup-header { background: var(--medical-dark); padding: 16px; display: flex; align-items: center; gap: 12px; position: relative; }
.wa-widget-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(229,43,123,0.25); color: var(--brand-pink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.wa-widget-title { color: #fff; font-weight: 700; font-size: 0.9rem; }
.wa-widget-subtitle { color: rgba(255,255,255,0.75); font-size: 0.7rem; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.wa-widget-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; display: inline-block; }
#wa-widget-close { position: absolute; top: 12px; right: 12px; background: none; border: none; color: rgba(255,255,255,0.8); cursor: pointer; padding: 4px; font-size: 1.2rem; line-height: 1; }
#wa-widget-close:hover { color: #fff; }

.wa-widget-body { background: #ECE5DD; padding: 16px; }
.wa-widget-bubble { background: #fff; border-radius: 10px; border-top-left-radius: 2px; padding: 12px 14px; font-size: 0.82rem; line-height: 1.6; color: #111; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }

.wa-widget-start-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #fff; padding: 14px; font-size: 0.82rem; font-weight: 700; text-decoration: none; transition: var(--transition-smooth); }
.wa-widget-start-btn:hover { background: #1fb855; }

@media(max-width:480px) {
    #wa-widget { bottom: 16px; right: 16px; }
    .wa-widget-toggle { width: 54px; height: 54px; font-size: 1.4rem; }
    .wa-widget-popup { bottom: 68px; right: -8px; }
    .hero-slider-container { height: 360px; }
}
