/* MedCare Mobility — staging homepage v3, 2026-10-16 (Tab); v3e 2026-10-18: served unminified (see inc/medcare-rocket.php), heart/carousel hardened. Loaded by page-templates/medcare-home-v3.php and medcare-landing-2026.php. */
body.mcm-home-v3{background:#eaeef3}
/* the closed off-canvas menu (header snippet) sits at left:-359px but its 26px/60px shadow bleeds onto the page edge; hide it while closed */
body.mcm-home-v3 .mcm-mobile-panel[aria-hidden="true"]{box-shadow:none!important}
body.mcm-home-v3 #main,body.mcm-home-v3 #main.main-boxed{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;box-shadow:none!important;background:transparent!important}
body.mcm-home-v3 #main>.container-fluid,body.mcm-home-v3 #main .main-content-wrap,body.mcm-home-v3 #main .main-content{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;flex:0 0 100%}
body.mcm-home-v3 #main .main-content-wrap{display:block}
.h3{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--b:#013365;--b2:#0a4a8a;--bs:#e8f0f9;--ink:#13263a;--mut:#5a6b7e;--line:#dde4ec;--gold:#f4b400;--ok:#137a3f;color:var(--ink);font-size:15px;line-height:1.45;padding:0 0 28px;overflow-x:clip}
.h3 *,.h3 *::before,.h3 *::after{box-sizing:border-box}
.h3 h1,.h3 h2,.h3 h3,.h3 p,.h3 a,.h3 button{font-family:inherit;letter-spacing:-.01em;margin:0}
.h3 ul{list-style:none;margin:0;padding:0}
.h3 ul.h3-wrap{padding-left:12px;padding-right:12px;margin-left:auto;margin-right:auto} /* 2026-10-19 trust-strip fix: the .h3 ul reset (margin:0) outranked .h3-wrap margin:0 auto, so the 1360px strip sat flush left on screens wider than ~1400px */
.h3 a{text-decoration:none}
.h3-wrap{max-width:1360px;margin:0 auto;padding:0 12px}
.h3-panel{background:#fff;border-radius:12px;padding:16px 14px}
.h3-section{margin-top:12px}
.h3-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}
.h3-head h2{font-size:19px;font-weight:800;color:var(--ink);line-height:1.2}
.h3-head__sub{margin:3px 0 0;color:var(--mut);font-size:13px}
.h3-more{color:var(--b2)!important;font-weight:700;font-size:14px;white-space:nowrap}
.h3-more:hover{text-decoration:underline}
.h3-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 20px;border-radius:8px;font-weight:700;font-size:15px;line-height:1.1;border:2px solid transparent;transition:background .15s,color .15s;white-space:nowrap}
.h3-btn--light{background:#fff;color:var(--b)!important}
.h3-btn--light:hover{background:var(--bs)}
.h3-btn--ghost{border-color:rgba(255,255,255,.7);color:#fff!important}
.h3-btn--ghost:hover{background:rgba(255,255,255,.1)}

/* ---------- HERO (full width, flush under the sticky header — v3f removed the 14/20px gap) ---------- */
.h3-hero{background:#013365;background:linear-gradient(180deg,#013365 0%,#02407c 100%);color:#fff;padding:18px 0 16px}
.h3-hero__eyebrow{display:inline-block;margin:0 0 8px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:12px;font-weight:700;letter-spacing:.02em;color:#dce9f7}
.h3-hero h1{color:#fff;font-size:24px;line-height:1.18;font-weight:800;margin:0 0 8px}
.h3-hero__sub{color:#d5e3f2;font-size:14px;margin:0 0 14px}
.h3-hero__cta{display:flex;gap:10px;flex-wrap:wrap}
.h3-hero__cta .h3-btn{flex:1 1 100%;min-width:0;padding:10px 12px;font-size:14px}
.h3-hero__cta .h3-btn--ghost{border-color:rgba(255,255,255,.85)}
.h3-hero__carousel{position:relative;margin-top:16px}
.h3-hero__track{position:relative;display:flex;gap:10px;margin:0!important;padding:0 0 2px!important;list-style:none;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain;outline:none}
.h3-hero__track::-webkit-scrollbar{display:none}
.h3-hero__track:focus-visible{box-shadow:0 0 0 3px rgba(255,255,255,.6);border-radius:12px}
.h3-hero__tiles{flex:0 0 calc(100% - 34px);scroll-snap-align:start;scroll-snap-stop:always;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0!important;padding:0!important;list-style:none}
.h3-hero__nav{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;min-height:20px}
.h3-hero__dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.4);cursor:pointer;transition:background .15s,transform .15s}
.h3-hero__dot.is-on{background:#fff;transform:scale(1.25)}
.h3-hero__dot:focus-visible{outline:2px solid #fff;outline-offset:3px}
.h3-hero__hint{font-size:12px;color:#d5e3f2;margin-left:6px}
.h3-hero__arrow{display:none;position:absolute;top:50%;z-index:2;width:40px;height:40px;margin-top:-20px;border:0;border-radius:50%;background:#fff;color:var(--b);font-size:26px;line-height:1;font-weight:700;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.25);align-items:center;justify-content:center;padding:0 0 3px}
.h3-hero__arrow:hover{background:var(--bs)}
.h3-hero__arrow:disabled{opacity:.35;cursor:default}
.h3-hero__arrow--prev{left:-16px}
.h3-hero__arrow--next{right:-16px}
/* touch devices (phones, tablets): swipe only — no arrow buttons, the "Swipe for more" hint instead */
@media (hover:none) and (pointer:coarse){.h3-hero__arrow{display:none!important}.h3-hero__hint{display:inline!important}}
.h3-tile{background:#fff;border-radius:10px;padding:8px 10px 10px;display:flex;flex-direction:column;min-width:0}
.h3-tile__cat{font-weight:800;font-size:13.5px;color:var(--ink)!important;line-height:1.2}
.h3-tile__img{display:block;aspect-ratio:1/1;margin:6px 0;border-radius:6px;overflow:hidden;background:#fff}
.h3-tile__img img{width:100%;height:100%;object-fit:contain;display:block}
.h3-tile__name{color:var(--mut)!important;font-size:12px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.h3-tile__price{font-weight:800;font-size:15px;color:var(--ink);margin-top:2px}
.h3-tile__price del{color:var(--mut);font-weight:500;font-size:12px}
.h3-tile__price ins{text-decoration:none}

/* ---------- TRUST BAR ---------- */
.h3-trust{background:#fff;border-bottom:1px solid var(--line)}
.h3-trust__list{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding-top:8px!important;padding-bottom:8px!important}
.h3-trust__item{min-width:0}
.h3-trust__item>a,.h3-trust__item>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:6px;padding:10px 6px;color:var(--ink)!important;height:100%;box-sizing:border-box;border-radius:10px}
.h3-trust__item:last-child{grid-column:1/-1}
.h3-trust__item:last-child>a,.h3-trust__item:last-child>div{flex-direction:row;justify-content:center;gap:10px;text-align:left;padding:10px 12px;background:var(--bs);border-radius:999px}
.h3-trust__item:last-child .h3-trust__txt{align-items:flex-start}
.h3-trust__ico{flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:var(--bs);color:var(--b);display:flex;align-items:center;justify-content:center}
.h3-trust__ico svg{width:22px;height:22px}
.h3-trust__txt{display:flex;flex-direction:column;align-items:center;min-width:0;gap:2px}
.h3-trust__txt strong{font-size:13.5px;line-height:1.2;font-weight:800;display:block}
.h3-trust__txt span{font-size:12px;line-height:1.3;color:var(--mut)}
.h3-trust__item a:hover strong{color:var(--b2)}

/* ---------- CATEGORIES ---------- */
.h3-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.h3-cat{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:8px 4px 10px;border-radius:10px;border:1px solid var(--line);background:#fff;height:100%;color:var(--ink)!important}
.h3-cat:hover{border-color:var(--b2);box-shadow:0 4px 14px rgba(1,51,101,.1)}
.h3-cat__img{display:block;width:100%;aspect-ratio:1/1;max-width:120px}
.h3-cat__img img{width:100%;height:100%;object-fit:contain;display:block}
.h3-cat__name{font-weight:700;font-size:12.5px;line-height:1.2}
.h3-cat__count{font-size:11.5px;color:var(--mut)}

/* ---------- PRODUCT ROWS ---------- */
.h3-scroller{position:relative}
.h3-track{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:2px 2px 8px!important;-webkit-overflow-scrolling:touch}
.h3-card{flex:0 0 46%;max-width:46%;scroll-snap-align:start;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.h3-card__media{position:relative;aspect-ratio:1/1;background:#fff;padding:8px}
.h3-card__media>a:not(.h3-card__heart){display:block;width:100%;height:100%}
.h3-card__media img{width:100%;height:100%;object-fit:contain;display:block}
.h3-card__badge{position:absolute!important;top:10px!important;left:8px!important;right:auto!important;z-index:2;background:#c62828;color:#fff;font-size:11px;font-weight:800;padding:2px 7px;border-radius:4px;line-height:1.4}
.h3-card__body{display:flex;flex-direction:column;gap:4px;padding:8px 10px 10px;flex:1 1 auto;border-top:1px solid #eef2f6}
.h3-card__title{font-size:13.5px!important;line-height:1.3!important;font-weight:600!important;min-height:3.9em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0!important}
.h3-card__title a{color:var(--ink)!important}
.h3-card__title a:hover{color:var(--b2)!important;text-decoration:underline}
.h3-card .mcm-rating{font-size:12px;gap:4px;min-height:18px}
.h3-card .mcm-rating .star-rating{font-size:12px}
.h3-card__price{font-size:17px;font-weight:800;color:var(--ink);line-height:1.2}
.h3-card__price del{font-size:12.5px;color:var(--mut);font-weight:500;margin-right:4px}
.h3-card__price ins{text-decoration:none;color:#b3261e}
.h3-card .mcm-affirm{font-size:11.5px!important;line-height:1.3;display:block!important;min-height:15px}
.h3-card__cta{margin-top:auto;padding-top:6px}
.h3 .h3-btn--cart,.h3 .h3-btn--view{display:flex!important;width:100%;min-height:40px!important;padding:8px 10px!important;margin:0!important;border-radius:999px!important;font-size:13.5px!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;line-height:1.1!important;box-shadow:none!important}
.h3 .h3-btn--cart{background:var(--b)!important;color:#fff!important;border:0!important;transition:background .15s}
.h3 .h3-btn--cart:hover{background:var(--b2)!important;color:#fff!important}
.h3 .h3-btn--cart:focus-visible{outline:3px solid #9cc3ec!important;outline-offset:2px}
.h3 .h3-btn--cart:active{background:#012a52!important}
.h3 .h3-btn--cart.loading{opacity:.6}
.h3 .h3-btn--cart.added::after{content:" \2713";margin-left:4px}
.h3 .h3-btn--view{background:#fff!important;color:var(--b)!important;border:1.5px solid var(--b)!important}
.h3 .h3-btn--view:hover{background:var(--bs)!important}
.h3 .added_to_cart{display:block;text-align:center;font-size:12.5px;font-weight:700;color:var(--b2)!important;margin-top:4px;padding:0!important;background:none!important;border:0!important}
.h3-arrow{display:none}
/* wishlist heart — small white circle, top-right of the photo (same look as the category cards) */
.h3-card__heart,.h3 .h3-card__heart{position:absolute!important;top:8px!important;right:8px!important;left:auto!important;bottom:auto!important;z-index:3;display:flex!important;align-items:center;justify-content:center;width:36px;height:36px;margin:0!important;padding:0!important;border-radius:50%;background:#fff!important;border:1px solid var(--line);box-shadow:0 1px 4px rgba(0,0,0,.1);color:var(--b)!important;line-height:0}
.h3-card__heart svg,.h3 .h3-card__heart svg{width:18px!important;height:18px!important}
.h3 .h3-card__heart:hover{color:#c62828!important;border-color:#f0c4c4}
/* below-the-fold sections: skip rendering work until they are near the screen */
.h3-row,.h3-section+.h3-section+.h3-section{content-visibility:auto;contain-intrinsic-size:auto 460px}

/* ---------- PROMOS ---------- */
.h3-promo{display:flex;align-items:center;gap:12px;background:#fff;border-radius:12px;padding:14px;border:2px solid var(--b);color:var(--ink)!important}
.h3-promo__text{display:flex;flex-direction:column;gap:4px;flex:1 1 auto;min-width:0}
.h3-promo__kicker{font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--b2)}
.h3-promo strong{font-size:16px;line-height:1.25;font-weight:800}
.h3-promo__go{font-weight:800;color:var(--b2);font-size:14px}
.h3-promo__imgs{display:flex;gap:4px;flex:0 0 auto}
.h3-promo__imgs img{width:64px;height:64px;object-fit:contain}
.h3-promo__imgs img:nth-child(n+2){display:none}
.h3-duo{display:grid;grid-template-columns:1fr;gap:10px}
.h3-duo__card{display:flex;align-items:center;gap:12px;background:#fff;border-radius:12px;padding:14px;color:var(--ink)!important;border:1px solid var(--line)}
.h3-duo__card--gold{background:#fff8e1;border-color:#f3dc8f}
.h3-duo__card strong{display:block;font-size:15.5px;font-weight:800}
.h3-duo__card span span{display:block;font-size:13px;color:var(--mut)}
.h3-duo__ico{flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--b);display:flex;align-items:center;justify-content:center;border:1px solid var(--line)}

/* ---------- BRANDS ---------- */
.h3-brands{display:flex;flex-wrap:wrap;gap:8px}
.h3-brands a{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border:1px solid var(--line);border-radius:8px;font-weight:700;font-size:14px;color:var(--ink)!important;background:#f8fafc}
.h3-brands a:hover{border-color:var(--b2);color:var(--b2)!important}

.h3-logos{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.h3-logos li{flex:0 0 calc((100% - 16px)/3);min-width:0}
.h3-logos a,.h3-logos .h3-logo-static{display:flex;align-items:center;justify-content:center;height:64px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff}
.h3-logos a:hover{border-color:var(--b2);box-shadow:0 3px 10px rgba(1,51,101,.08)}
.h3-logos img{max-width:100%;max-height:34px;width:auto;height:auto;object-fit:contain;display:block}
@media (min-width:768px){.h3-logos li{flex-basis:calc((100% - 32px)/5)}}
@media (min-width:1200px){.h3-logos{gap:12px}.h3-logos li{flex-basis:calc((100% - 60px)/6)}.h3-logos a,.h3-logos .h3-logo-static{height:72px}.h3-logos img{max-height:38px}}

/* ---------- REVIEWS ---------- */
.h3-reviews{display:flex;gap:10px;margin:0!important;padding:2px 2px 8px!important;list-style:none;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:thin;overscroll-behavior-x:contain}
.h3-review{flex:0 0 82%;max-width:82%;background:#fff;scroll-snap-align:start;border:1px solid var(--line);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:6px}
.h3-review__stars{color:var(--gold);display:flex;gap:1px}
.h3-review__text{margin:0;font-size:14px;line-height:1.45}
.h3-review__meta{margin:0;font-size:12.5px;color:var(--mut)}
.h3-review__product{margin-top:auto;font-size:12.5px;font-weight:700;color:var(--b2)!important;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}

/* ---------- HELP + SEO ---------- */
.h3-help{display:grid;grid-template-columns:1fr;gap:12px}
.h3-help h2{font-size:18px;font-weight:800;margin:0 0 6px}
.h3-help p{margin:0 0 10px;color:#3a4b5e;font-size:14px}
.h3-help__seo h2+p{margin-bottom:14px}
.h3-needs{display:grid;grid-template-columns:1fr;gap:6px}
.h3-needs a{display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;font-weight:700;font-size:14px;color:var(--b)!important;background:#f8fafc}

/* ---------- TABLET / DESKTOP ---------- */
@media (min-width:768px){
	.h3{padding-top:0;font-size:15.5px}
	.h3-wrap,.h3 ul.h3-wrap{padding-left:20px;padding-right:20px}
	.h3-section{margin-top:16px}
	.h3-panel{padding:20px}
	.h3-head h2{font-size:22px}
	.h3-hero{padding:28px 0}
	.h3-hero__grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:28px;align-items:center}
	.h3-hero h1{font-size:34px}
	.h3-hero__sub{font-size:16px;max-width:520px}
	.h3-hero__cta .h3-btn{flex:0 0 auto;padding:10px 22px;font-size:15px}
	.h3-hero__carousel{margin-top:0}
	.h3-hero__track{gap:16px}
	.h3-hero__tiles{flex-basis:100%;grid-template-columns:repeat(4,1fr);gap:12px}
	.h3-hero__arrow{display:flex}
	.h3-hero__hint{display:none}
	.h3-hero__dot{width:10px;height:10px}
	.h3-tile{padding:12px}
	.h3-tile__cat{font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
	.h3-trust__list{grid-template-columns:repeat(8,1fr);gap:8px}
	.h3-trust__item{grid-column:span 2}
	.h3-trust__item:nth-child(5){grid-column:2/span 2}
	.h3-trust__item:nth-child(6){grid-column:4/span 2}
	.h3-trust__item:last-child{grid-column:6/span 2}
	.h3-trust__item:last-child>a,.h3-trust__item:last-child>div{flex-direction:column;justify-content:flex-start;text-align:center;gap:6px;padding:10px 6px;background:transparent;border-radius:10px}
	.h3-trust__item:last-child .h3-trust__txt{align-items:center}
	.h3-cats{grid-template-columns:repeat(5,1fr);gap:12px} /* v7 2026-10-21: 15 tiles = 3 rows of 5 (was 6 per row) */
	.h3-cat__name{font-size:14px}
	.h3-card{flex:0 0 calc((100% - 30px)/4);max-width:calc((100% - 30px)/4)}
	.h3-promo{padding:18px 24px}
	.h3-promo strong{font-size:20px}
	.h3-promo__imgs img{width:110px;height:110px}
	.h3-promo__imgs img:nth-child(n+2){display:block}
	.h3-duo{grid-template-columns:1fr 1fr}
	.h3-review{flex-basis:calc((100% - 20px)/3);max-width:calc((100% - 20px)/3)}
	.h3-help{grid-template-columns:5fr 7fr}
	.h3-needs{grid-template-columns:1fr 1fr}
}
@media (min-width:1200px){
	.h3-hero{padding:34px 0}
	.h3-hero h1{font-size:40px}
	.h3-trust__list{grid-template-columns:repeat(7,1fr)}
	.h3-trust__item,.h3-trust__item:nth-child(5),.h3-trust__item:nth-child(6),.h3-trust__item:last-child{grid-column:auto}
	.h3-trust__item>a,.h3-trust__item>div{padding:12px 6px}
	.h3-card{flex:0 0 calc((100% - 50px)/6);max-width:calc((100% - 50px)/6)}
	.h3-arrow{display:flex;align-items:center;justify-content:center;position:absolute;top:32%;z-index:3;width:40px;height:56px;border:1px solid var(--line);background:#fff;border-radius:8px;font-size:28px;line-height:1;color:var(--ink);box-shadow:0 2px 10px rgba(0,0,0,.12);cursor:pointer}
	.h3-arrow[hidden]{display:none}
	.h3-arrow--prev{left:-6px}.h3-arrow--next{right:-6px}
	.h3-scroller--reviews .h3-arrow{top:50%;transform:translateY(-50%)}
	.h3-scroller--reviews .h3-arrow--prev{left:-16px}.h3-scroller--reviews .h3-arrow--next{right:-16px}
}
