/* MedCare Mobility — "Shop by solution" landing pages (Shop Mobility / Shop Homecare), 2026-10-17 (Tab).
   Loaded only by page-templates/medcare-landing-2026.php, after mcm-redesign.css and mcm-home-v3.css (shared pieces). */

/* ---------- compact hero ---------- */
.lp-hero{padding:16px 0 18px}
.lp-hero__in{display:flex;flex-direction:column;gap:12px}
.lp-hero h1{font-size:23px;line-height:1.2;margin:0 0 8px}
.lp-hero .h3-hero__sub{margin:0;font-size:14px;max-width:none}
.lp-hero__cta{display:flex;gap:10px;flex-wrap:wrap}
.lp-hero__cta .h3-btn{flex:1 1 45%;min-width:0;padding:10px 12px;font-size:14px;gap:6px}
.lp-hero__cta .h3-btn--ghost{border-color:rgba(255,255,255,.85)}
.lp-hero__cta svg{flex:0 0 auto}

/* ---------- trust strip: one scrollable line of chips on phones, full strip from tablet up ---------- */
.lp-trust__list{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-top:8px!important;padding-bottom:8px!important}
.lp-trust__list::-webkit-scrollbar{display:none}
.lp-trust .h3-trust__item{flex:0 0 auto}
.lp-trust .h3-trust__item>a,.lp-trust .h3-trust__item>div{gap:6px;padding:6px 10px 6px 6px;border:1px solid var(--line);border-radius:999px;background:#f8fafc}
.lp-trust .h3-trust__ico{flex:0 0 26px;width:26px;height:26px}
.lp-trust .h3-trust__ico svg{width:15px;height:15px}
.lp-trust .h3-trust__txt strong{font-size:12.5px;white-space:nowrap}
.lp-trust .h3-trust__txt span{display:none}

/* ---------- category grid: the hero of the page ---------- */
#lp-cats{scroll-margin-top:170px}
.lp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.lp-tile{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:8px 6px 10px;border-radius:12px;border:1px solid var(--line);background:#fff;height:100%;color:var(--ink)!important;transition:box-shadow .15s,border-color .15s}
.lp-tile:hover,.lp-tile:focus-visible{border-color:var(--b2);box-shadow:0 6px 18px rgba(1,51,101,.12)}
.lp-tile__img{display:block;width:100%;aspect-ratio:1/1;max-width:140px;border-radius:8px;overflow:hidden;background:#fff}
.lp-tile__img img{width:100%;height:100%;object-fit:contain;display:block}
.lp-tile__txt{display:flex;flex-direction:column;gap:2px;min-width:0;width:100%}
.lp-tile__name{font-weight:800;font-size:12.5px;line-height:1.2;color:var(--ink)}
.lp-tile__count{font-size:11.5px;color:var(--mut)}
.lp-tile__blurb{display:none;font-size:12.5px;line-height:1.35;color:#3a4b5e}
.lp-tile__go{display:none;margin-top:4px;font-weight:700;font-size:13px;color:var(--b2)}

/* ---------- customer favorites row: brand-blue Add to cart (Pinny: cart buttons must match the brand) ---------- */
.lp .h3 .h3-btn--cart,.lp.h3 .h3-btn--cart{background:var(--b)!important;color:#fff!important}
.lp .h3 .h3-btn--cart:hover,.lp.h3 .h3-btn--cart:hover{background:var(--b2)!important}

/* price markup from WooCommerce inherits the card's size (Porto styles .price globally) */
.lp .h3-card__price .price,.lp .lp-card__price .price,.lp .h3-card__price .amount,.lp .lp-card__price .amount{font-size:inherit!important;font-weight:inherit!important;color:inherit!important;line-height:inherit}

/* ---------- newest products: the redesigned category-page card ---------- */
.lp-products{display:grid;grid-template-columns:1fr;gap:10px}
.lp-card{position:relative;display:grid;grid-template-columns:42% 1fr;grid-auto-rows:auto;column-gap:12px;row-gap:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;transition:box-shadow .15s}
.lp-card:hover{box-shadow:0 10px 30px rgba(1,51,101,.08)}
.lp-card__media{grid-column:1;grid-row:1/span 4;position:relative;border-radius:10px;overflow:hidden;background:#fff;border:1px solid var(--line);aspect-ratio:1/1;align-self:start}
.lp-card__media>a:not(.h3-card__heart){display:block;width:100%;height:100%}
.lp-card__media img{width:100%;height:100%;object-fit:contain;display:block}
.lp-card__badge{position:absolute;top:8px;left:8px;background:#c62828;color:#fff;font-size:11px;font-weight:800;padding:2px 7px;border-radius:4px;z-index:2}
.lp .lp-card__media .h3-card__heart{width:36px!important;height:36px!important;top:8px!important;right:8px!important;left:auto!important}
.lp-card__body{display:contents}
.lp-card__title{grid-column:2;grid-row:1;font-size:15px!important;line-height:1.35!important;font-weight:600!important;letter-spacing:0!important;margin:0 0 6px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;align-self:start}
.lp-card__title a{color:var(--ink)!important}
.lp-card__title a:hover{color:var(--b2)!important}
.lp-card .mcm-rating{grid-column:2;grid-row:2}.lp-card__price{grid-column:2;grid-row:3;align-self:start}.lp-card .mcm-affirm{grid-column:2;grid-row:4;align-self:start}
.lp-card .mcm-rating{margin:0 0 6px;font-size:13px}
.lp-card__price{font-size:20px;font-weight:700;color:var(--b);line-height:1.2;margin:0 0 2px}
.lp-card__price del{font-size:14px;font-weight:400;color:var(--mut);margin-right:6px}
.lp-card__price ins{text-decoration:none;color:var(--b)}
.lp-card .mcm-affirm{font-size:12px!important;line-height:1.3;display:block!important;min-height:15px;margin:0 0 4px}
.lp-card__bullets{grid-column:1/-1;grid-row:5;margin:10px 0 12px!important;padding-top:10px;border-top:1px solid var(--line)}
.lp-card__btn{grid-column:1/-1;grid-row:6;margin-top:auto}
.lp .lp-card__btn.mcm-btn--card{border-radius:999px;background:var(--b);border-color:var(--b)}
.lp .lp-card__btn.mcm-btn--card:hover{background:var(--b2)}
.lp-card:not(:has(.lp-card__bullets)) .lp-card__btn{margin-top:10px}

/* ---------- help / FAQ ---------- */
.lp-help .h3-help{gap:18px}
.lp-help__side .mcm-btn{width:100%;margin:0 0 10px}
.lp-help__h3{font-size:15px;font-weight:800;margin:14px 0 8px;color:var(--ink)}
.lp-faq{display:flex;flex-direction:column;gap:6px}
.lp-faq__item{border:1px solid var(--line);border-radius:10px;background:#f8fafc;padding:0 12px}
.lp-faq__item summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:46px;padding:10px 0;font-weight:700;font-size:14px;color:var(--b)}
.lp-faq__item summary::-webkit-details-marker{display:none}
.lp-faq__item summary::after{content:"+";flex:0 0 auto;font-size:20px;line-height:1;color:var(--b2)}
.lp-faq__item[open] summary::after{content:"\2212"}
.lp-faq__item p{margin:0 0 12px;font-size:14px;line-height:1.5;color:#3a4b5e}
.lp-faq__item p a{color:var(--b2)!important;font-weight:700}

/* below-the-fold sections: skip rendering work until near the screen */
.lp-newest,.lp-help{content-visibility:auto;contain-intrinsic-size:auto 900px}

/* ---------- tablet ---------- */
@media (min-width:768px){
	.lp-hero{padding:26px 0}
	.lp-hero__in{flex-direction:row;align-items:center;justify-content:space-between;gap:28px}
	.lp-hero__text{flex:1 1 auto;max-width:760px}
	.lp-hero h1{font-size:30px}
	.lp-hero .h3-hero__sub{font-size:15.5px;max-width:640px}
	.lp-hero__cta{flex:0 0 auto;flex-direction:column;min-width:230px}
	.lp-hero__cta .h3-btn{flex:0 0 auto;font-size:15px;padding:11px 20px}
	.lp-trust__list{display:grid;grid-template-columns:repeat(5,1fr);overflow:visible;padding-top:4px!important;padding-bottom:4px!important}
	.lp-trust .h3-trust__item>a,.lp-trust .h3-trust__item>div{gap:10px;padding:10px 4px;border:0;border-radius:0;background:transparent}
	.lp-trust .h3-trust__ico{flex:0 0 38px;width:38px;height:38px}
	.lp-trust .h3-trust__ico svg{width:22px;height:22px}
	.lp-trust .h3-trust__txt strong{font-size:13.5px;white-space:normal}
	.lp-trust .h3-trust__txt span{display:block}
	.lp-grid{grid-template-columns:repeat(3,1fr);gap:12px}
	.lp-tile{padding:14px 12px 16px;gap:8px}
	.lp-tile__img{max-width:150px}
	.lp-tile__name{font-size:15px}
	.lp-tile__count{font-size:12.5px}
	.lp-tile__blurb{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
	.lp-tile__go{display:block}
	.lp-products{grid-template-columns:repeat(3,1fr);gap:14px}
	.lp-card{display:flex;flex-direction:column;padding:12px}
	.lp-card__media,.lp-card__title,.lp-card .mcm-rating,.lp-card__price,.lp-card .mcm-affirm,.lp-card__bullets,.lp-card__btn{grid-column:auto;grid-row:auto}
	.lp-card__media{align-self:stretch;margin-bottom:12px}
	.lp-card__body{display:flex;flex-direction:column;flex:1 1 auto}
	.lp-card__bullets{margin:10px 0 12px!important}
	.lp-card__btn{margin-top:auto}
	.lp-help .h3-help{grid-template-columns:4fr 8fr;gap:28px}
	.lp-help__side .mcm-btn{width:auto;margin-right:8px}
	.lp-help__side .lp-needs{grid-template-columns:1fr}
}
/* ---------- desktop ---------- */
@media (min-width:1200px){
	.lp-hero h1{font-size:36px}
	.lp-trust .h3-trust__item>a,.lp-trust .h3-trust__item>div{flex-direction:row;text-align:left;gap:10px;padding:12px 8px}
	.lp-grid{grid-template-columns:repeat(6,1fr);gap:12px}
	.lp-tile{padding:14px 10px 14px;gap:6px}
	.lp-tile__img{max-width:128px}
	.lp-tile__txt{gap:3px}
	.lp-tile__name{font-size:14.5px}
	.lp-tile__blurb{font-size:12px}
	.lp-products{grid-template-columns:repeat(4,1fr);gap:16px}
}

/* ---------- 2026-10-29 (Tab): phones only. Trust strip as a 2-column grid of equal chips, icon left of text in every chip,
   nothing cut off or scrolling sideways (Pinny: icons were on top in some chips, left in others; 3rd chip ran off-screen).
   Rollback: delete this block. ---------- */
@media (max-width:767px){
.lp-hero{padding-bottom:16px}
.lp-trust__list{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;overflow:visible;padding-top:12px!important;padding-bottom:12px!important}
.lp-trust .h3-trust__item,.lp-trust .h3-trust__item:last-child{flex:none;min-width:0;grid-column:auto}
.lp-trust .h3-trust__item:nth-child(odd):last-child{grid-column:1/-1}
.lp-trust .h3-trust__item>a,.lp-trust .h3-trust__item>div,.lp-trust .h3-trust__item:last-child>a,.lp-trust .h3-trust__item:last-child>div{flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:8px;height:100%;min-height:46px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}
.lp-trust .h3-trust__item:nth-child(odd):last-child>a,.lp-trust .h3-trust__item:nth-child(odd):last-child>div{justify-content:center}
.lp-trust .h3-trust__txt,.lp-trust .h3-trust__item:last-child .h3-trust__txt{align-items:flex-start;text-align:left}
.lp-trust .h3-trust__ico{flex:0 0 28px;width:28px;height:28px}
.lp-trust .h3-trust__ico svg{width:16px;height:16px}
.lp-trust .h3-trust__txt strong{font-size:12.5px;line-height:1.25;white-space:normal}
.lp-trust .h3-trust__txt span{display:none}
.lp-cats .h3-head h2{margin-top:0}
.lp-cats .h3-panel{padding-top:14px}
}
.lp-brand__all{font-weight:700;white-space:nowrap;color:var(--b2)!important}
