/*
Theme Name: Med4Life
Theme URI: https://med4life.gr
Author: EdensFlows Consulting
Description: Θέμα για το eshop της Med4Life (κατεύθυνση A: κλινικό & τεχνικό). WooCommerce, πώληση σε κιβώτια σε επαγγελματίες και ιδιώτες.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: med4life
WC requires at least: 8.0
*/

/* ---------- Tokens ---------- */
:root{
  --m4l-ink:#0E1E2C;
  --m4l-body:#3A4D5E;
  --m4l-muted:#5A6B7A;
  --m4l-brand:#0B3D6B;
  --m4l-brand-dark:#082E52;
  --m4l-blue:#155EA8;
  --m4l-green:#1E9E63;
  --m4l-green-ink:#14663F;
  --m4l-tint:#EAF4EE;
  --m4l-tint-2:#F4F7FA;
  --m4l-bg:#FFFFFF;
  --m4l-line:#D9E1E8;
  --m4l-line-2:#B9C6D2;
  --m4l-dark:#0B3D6B;
  --m4l-dark-2:#14497D;
  --m4l-on-dark:#C7D6E4;
  --m4l-accent-on-dark:#3CCB86;
  --m4l-ok:#14663F;
  --m4l-err:#B03A2E;
  --m4l-radius:8px;
  --m4l-radius-sm:6px;
  --m4l-wrap:1240px;
  --m4l-font:'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --m4l-display:'Geologica', 'IBM Plex Sans', system-ui, sans-serif;
  --m4l-mono:'IBM Plex Mono', ui-monospace, monospace;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--m4l-bg);color:var(--m4l-ink);font-family:var(--m4l-font);font-size:16px;line-height:1.5}
img{max-width:100%;height:auto}
a{color:var(--m4l-brand)}
a:hover{color:var(--m4l-brand-dark)}
h1,h2,h3,h4{font-family:var(--m4l-display);letter-spacing:-0.02em;line-height:1.12;margin:0 0 .5em}
h1,h2{color:var(--m4l-brand)}
p{margin:0 0 1em}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--m4l-brand);outline-offset:2px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;left:12px;top:12px;z-index:1000;width:auto;height:auto;clip:auto;background:#fff;padding:10px 14px;border-radius:8px}
.m4l-wrap{max-width:var(--m4l-wrap);margin:0 auto;padding-left:24px;padding-right:24px}
.m4l-mono{font-family:var(--m4l-mono)}

/* ---------- Buttons ---------- */
.m4l-btn,
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:var(--m4l-radius-sm);
  background:var(--m4l-brand);color:#fff;border:1.5px solid var(--m4l-brand);font-weight:600;font-size:16px;text-decoration:none;cursor:pointer;line-height:1.2;
  transition:background .15s,border-color .15s
}
.m4l-btn:hover,
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--m4l-brand-dark);border-color:var(--m4l-brand-dark);color:#fff}
.m4l-btn--ghost{background:transparent;color:var(--m4l-brand)}
.m4l-btn--ghost:hover{background:var(--m4l-tint);color:var(--m4l-brand-dark)}
.m4l-btn--light{background:#fff;color:var(--m4l-dark);border-color:#fff}
.m4l-btn--light:hover{background:var(--m4l-tint);border-color:var(--m4l-tint);color:var(--m4l-dark)}
.m4l-btn--lg{min-height:52px;padding:0 26px;font-size:17px}
.woocommerce button.button:disabled,.woocommerce button.button.disabled,.woocommerce a.button.disabled{opacity:.5;cursor:not-allowed}

/* ---------- Top bar & header ---------- */
.m4l-topbar{background:var(--m4l-brand);color:#fff;font-size:13px}
.m4l-topbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 24px;padding-top:8px;padding-bottom:8px}
.m4l-header{background:#fff;border-bottom:1px solid var(--m4l-line);position:sticky;top:0;z-index:50}
.admin-bar .m4l-header{top:32px}
.m4l-header__inner{display:flex;flex-wrap:wrap;align-items:center;gap:14px 32px;padding-top:16px;padding-bottom:16px}
.m4l-logo{display:flex;align-items:center;gap:10px;color:var(--m4l-ink);text-decoration:none}
.m4l-logo__name{font-family:var(--m4l-display);font-size:23px;font-weight:700;letter-spacing:-0.02em;color:var(--m4l-brand)}
.m4l-logo img{max-height:44px;width:auto}
.m4l-nav{flex:0 1 auto}
.m4l-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 22px}
.m4l-nav a{color:var(--m4l-ink);text-decoration:none;font-weight:500;font-size:15px}
.m4l-nav a:hover,.m4l-nav .current-menu-item>a{color:var(--m4l-brand)}
.m4l-actions{display:flex;align-items:center;gap:8px}
.m4l-search{flex:1 1 320px;display:flex;align-items:center;gap:10px;border:1.5px solid var(--m4l-brand);border-radius:var(--m4l-radius-sm);padding:0 14px;height:46px;background:#fff;color:var(--m4l-brand)}
.m4l-search input{border:0;background:transparent;flex:1;min-width:0;outline:none;font-size:15px;color:var(--m4l-ink)}
.m4l-icon-btn{position:relative;width:44px;height:44px;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius-sm);background:#fff;display:inline-flex;align-items:center;justify-content:center;color:var(--m4l-ink);text-decoration:none}
.m4l-icon-btn--brand{background:var(--m4l-brand);border-color:var(--m4l-brand);color:#fff}
.m4l-icon-btn--brand:hover{background:var(--m4l-brand-dark);color:#fff}
.m4l-cart-count{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--m4l-accent-on-dark);color:var(--m4l-ink);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.m4l-lang{display:flex;gap:2px;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius-sm);height:44px;align-items:center;padding:0 4px}
.m4l-lang a{padding:6px 8px;border-radius:6px;font-weight:600;font-size:14px;color:var(--m4l-muted);text-decoration:none}
.m4l-lang a.is-current{color:var(--m4l-ink);background:var(--m4l-tint-2)}
.m4l-menu-toggle{display:none}
@media (max-width:900px){
  .m4l-search{order:4;flex-basis:100%}
  .m4l-menu-toggle{display:inline-flex}
  .m4l-nav{order:3;flex-basis:100%;display:none}
  .m4l-nav.is-open{display:block}
  .m4l-nav ul{flex-direction:column;gap:0}
  .m4l-nav a{display:block;padding:12px 0;border-top:1px solid var(--m4l-line)}
  .m4l-header__inner{justify-content:space-between}
}
@media (max-width:782px){.admin-bar .m4l-header{top:46px}}
@media (max-width:600px){.admin-bar .m4l-header{top:0}.m4l-topbar .hide-sm{display:none}}

/* ---------- Generic sections ---------- */
.m4l-main{min-height:50vh}
.m4l-section{padding-top:64px;padding-bottom:64px}
.m4l-section--white{background:#fff;border-top:1px solid var(--m4l-line);border-bottom:1px solid var(--m4l-line)}
.m4l-section__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:28px}
.m4l-section__head h2{font-size:36px;margin:0}
.m4l-h2{font-size:28px}
.m4l-pill{display:inline-flex;align-items:center;gap:8px;background:var(--m4l-tint);color:var(--m4l-brand);font-weight:600;font-size:14px;padding:6px 12px;border-radius:4px}
.m4l-chip{display:inline-block;font-size:13px;font-weight:500;background:var(--m4l-tint-2);color:var(--m4l-brand);border-radius:6px;padding:4px 9px}

/* ---------- Hero ---------- */
.m4l-hero{display:flex;flex-wrap:wrap;gap:48px;align-items:center;padding-top:72px;padding-bottom:56px}
.m4l-hero__text{flex:1 1 480px;min-width:0}
.m4l-hero h1{font-size:54px;line-height:1.08;margin:20px 0}
.m4l-hero p{font-size:19px;line-height:1.55;color:var(--m4l-body);max-width:560px;margin-bottom:32px}
.m4l-hero__ctas{display:flex;flex-wrap:wrap;gap:12px}
.m4l-hero__media{flex:1 1 420px;min-width:0;aspect-ratio:5/4;background:var(--m4l-tint);border-radius:var(--m4l-radius);display:flex;align-items:center;justify-content:center;overflow:hidden}
.m4l-hero__media img{width:100%;height:100%;object-fit:cover}
.m4l-hero__media svg{width:78%;height:auto}
@media (max-width:760px){.m4l-hero h1{font-size:36px}.m4l-section__head h2{font-size:28px}.m4l-hero{padding-top:40px}}

/* ---------- Trust strip ---------- */
.m4l-trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;padding-top:28px;padding-bottom:28px}
.m4l-trust__item{display:flex;gap:14px;align-items:flex-start}
.m4l-trust__icon{flex:0 0 40px;height:40px;border-radius:var(--m4l-radius-sm);background:var(--m4l-tint);display:flex;align-items:center;justify-content:center;color:var(--m4l-brand)}
.m4l-trust__title{font-weight:600}
.m4l-trust__text{font-size:14px;color:var(--m4l-muted);margin-top:2px}

/* ---------- Product cards (home) ---------- */
.m4l-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}
.m4l-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);overflow:hidden;text-decoration:none;color:var(--m4l-ink);transition:border-color .15s,transform .15s}
.m4l-card:hover{border-color:var(--m4l-brand);color:var(--m4l-ink)}
.m4l-card__media{aspect-ratio:1/1;background:var(--m4l-tint-2);display:flex;align-items:center;justify-content:center;position:relative}
.m4l-card__media img{width:100%;height:100%;object-fit:cover}
.m4l-card__media svg{width:62%;height:auto}
.m4l-card__badge{position:absolute;left:10px;top:10px;font-size:12px;font-weight:600;color:var(--m4l-brand);background:#fff;padding:3px 8px;border-radius:6px}
.m4l-card__body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:6px;flex:1}
.m4l-card__title{font-weight:600;font-size:17px;line-height:1.3}
.m4l-card__text{font-size:14px;color:var(--m4l-muted);line-height:1.45;flex:1}
.m4l-card__price{font-size:15px;margin-top:8px}
.m4l-card__price .amount{font-weight:700}
.m4l-card__price small{color:var(--m4l-muted)}

/* ---------- Audiences, B2B, steps, about ---------- */
.m4l-tags{display:flex;flex-wrap:wrap;gap:10px}
.m4l-tags span{background:#fff;border:1px solid var(--m4l-line);border-radius:4px;padding:10px 18px;font-weight:500}
.m4l-b2b{background:var(--m4l-dark);color:#fff;border-radius:var(--m4l-radius);padding:48px;display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.m4l-b2b__text{flex:1 1 380px;min-width:0}
.m4l-b2b__eyebrow{color:var(--m4l-accent-on-dark);font-weight:600;font-size:14px;letter-spacing:.02em}
.m4l-b2b h2{font-size:34px;margin:12px 0 14px;color:#fff}
.m4l-b2b p{font-size:17px;color:var(--m4l-on-dark)}
.m4l-b2b__grid{flex:1 1 380px;min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}
.m4l-b2b__cell{background:var(--m4l-dark-2);border-radius:var(--m4l-radius);padding:18px}
.m4l-b2b__cell strong{display:block;margin-bottom:4px}
.m4l-b2b__cell span{font-size:14px;color:var(--m4l-on-dark);line-height:1.45}
@media (max-width:600px){.m4l-b2b{padding:28px}}
.m4l-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.m4l-step{background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);padding:24px}
.m4l-step__n{font-family:var(--m4l-mono);color:var(--m4l-brand)}
.m4l-step h3{font-size:19px;margin:10px 0 6px;letter-spacing:-0.01em}
.m4l-step p{font-size:15px;color:var(--m4l-muted);margin:0}
.m4l-about{display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.m4l-about__text{flex:1 1 420px;min-width:0}
.m4l-about__text p{font-size:17px;line-height:1.6;color:var(--m4l-body)}
.m4l-stats{flex:1 1 360px;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.m4l-stat{background:var(--m4l-tint);border-radius:var(--m4l-radius);padding:22px 18px}
.m4l-stat strong{display:block;font-size:30px;color:var(--m4l-brand);line-height:1.2}
.m4l-stat span{font-size:14px;color:var(--m4l-body)}

/* ---------- Footer ---------- */
.m4l-footer{background:var(--m4l-dark);color:var(--m4l-on-dark);margin-top:0}
.m4l-footer__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:32px;padding-top:56px;padding-bottom:32px;font-size:15px;line-height:1.7}
.m4l-footer h3{color:#fff;font-family:var(--m4l-font);font-size:15px;font-weight:600;margin:0 0 6px;letter-spacing:0}
.m4l-footer__bottom ul{display:flex;flex-wrap:wrap;gap:4px 18px}
.m4l-footer a{color:var(--m4l-on-dark)}
.m4l-footer a:hover{color:#fff}
.m4l-footer ul{list-style:none;margin:0;padding:0}
.m4l-footer__brand{color:#fff;font-weight:700;font-size:20px;margin-bottom:8px}
.m4l-footer__bottom{border-top:1px solid rgba(255,255,255,.15);display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;padding-top:18px;padding-bottom:28px;font-size:13px}

/* ---------- Page / breadcrumbs ---------- */
.m4l-page{padding-top:28px;padding-bottom:72px}
.m4l-page__title{font-size:40px;margin:12px 0 6px}
.m4l-page__lead{font-size:17px;color:var(--m4l-body)}
.woocommerce-breadcrumb,.m4l-breadcrumb{font-size:14px;color:var(--m4l-muted);margin:0 0 4px}
.woocommerce-breadcrumb a{color:var(--m4l-muted)}
.m4l-content{background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);padding:32px}
.m4l-content > *:last-child{margin-bottom:0}
.m4l-content h2{font-size:26px;margin-top:1.4em}
.m4l-content li{margin-bottom:.4em}

/* ---------- WooCommerce: notices ---------- */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notices-wrapper .wc-block-components-notice-banner{
  list-style:none;background:#fff;border:1px solid var(--m4l-line);border-left-width:1px;border-radius:var(--m4l-radius-sm);padding:14px 18px;margin:0 0 20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px
}
.woocommerce-message{border-color:#B9DCCB;background:#F0F8F4}
.woocommerce-error{border-color:#E8C1BC;background:#FBF1F0;color:var(--m4l-err)}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-message .button,.woocommerce-info .button{order:2;min-height:40px;padding:0 16px;font-size:15px}

/* ---------- WooCommerce: shop / archive ---------- */
.m4l-shop{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.m4l-shop__aside{flex:1 1 240px;max-width:100%;background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);padding:22px}
.m4l-shop__aside h2{font-size:15px;letter-spacing:0;margin:0 0 10px}
.m4l-shop__aside ul{list-style:none;margin:0 0 22px;padding:0}
.m4l-shop__aside li a{display:flex;justify-content:space-between;min-height:36px;align-items:center;color:var(--m4l-ink);text-decoration:none}
.m4l-shop__aside li a:hover,.m4l-shop__aside li.is-current a{color:var(--m4l-brand);font-weight:600}
.m4l-shop__aside .count{color:var(--m4l-muted);font-size:14px}
.m4l-shop__main{flex:999 1 560px;min-width:0}
.m4l-shop__bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.woocommerce .woocommerce-result-count{margin:0;color:var(--m4l-muted);font-size:15px;float:none}
.woocommerce .woocommerce-ordering{margin:0;float:none}
.woocommerce .woocommerce-ordering select,.m4l-select{height:44px;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius-sm);padding:0 12px;background:#fff}

/* list-style product rows */
.woocommerce ul.products{display:flex;flex-direction:column;gap:18px;margin:0;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{float:none;width:auto!important;margin:0!important;padding:0;list-style:none}
.m4l-row{display:flex;flex-wrap:wrap;gap:24px;background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);padding:18px;text-decoration:none;color:var(--m4l-ink);transition:border-color .15s}
.m4l-row:hover{border-color:var(--m4l-brand);color:var(--m4l-ink)}
.m4l-row__media{flex:0 0 180px;height:150px;background:var(--m4l-tint-2);border-radius:var(--m4l-radius-sm);display:flex;align-items:center;justify-content:center;overflow:hidden}
.m4l-row__media img{width:100%;height:100%;object-fit:cover;margin:0!important}
.m4l-row__media svg{width:70%;height:auto}
.m4l-row__body{flex:1 1 280px;min-width:0;display:flex;flex-direction:column;gap:8px}
.m4l-row__title{font-weight:600;font-size:20px;margin:0}
.m4l-row__text{font-size:15px;color:var(--m4l-body);line-height:1.5}
.m4l-row__chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.m4l-row__side{flex:0 1 190px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:12px}
.m4l-row__from{font-size:13px;color:var(--m4l-muted)}
.m4l-row__price{font-size:24px;font-weight:700}
.m4l-row__price del{font-size:15px;color:var(--m4l-muted);font-weight:400}
.m4l-row__unit{font-size:13px;color:var(--m4l-muted)}
.m4l-row__cta{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:var(--m4l-radius-sm);background:var(--m4l-brand);color:#fff;font-weight:600;font-size:15px}
@media (max-width:560px){.m4l-row__media{flex-basis:100%;height:180px}}
.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:6px}
.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;border-radius:var(--m4l-radius-sm);background:#fff;border:1px solid var(--m4l-line)}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--m4l-brand);color:#fff;border-color:var(--m4l-brand)}

/* ---------- WooCommerce: single product ---------- */
.woocommerce div.product{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:auto;margin:0}
.woocommerce div.product div.images{flex:1 1 440px;min-width:0}
.woocommerce div.product div.summary{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:18px}
.woocommerce div.product div.summary > *{margin:0}
.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related,.woocommerce div.product .upsells{flex:1 1 100%}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{border-radius:var(--m4l-radius);overflow:hidden;background:var(--m4l-tint)}
.woocommerce div.product div.images img{border-radius:var(--m4l-radius)}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto;float:none}
.woocommerce div.product div.images .flex-control-thumbs img{border-radius:var(--m4l-radius-sm)}
.m4l-placeholder{aspect-ratio:1/1;background:var(--m4l-tint);border-radius:var(--m4l-radius);display:flex;align-items:center;justify-content:center}
.m4l-placeholder svg{width:72%;height:auto}
.woocommerce div.product .product_title{font-size:38px;line-height:1.12}
.m4l-badges{display:flex;flex-wrap:wrap;gap:8px}
.m4l-badges span{font-size:13px;font-weight:600;background:var(--m4l-tint);color:var(--m4l-brand);border-radius:6px;padding:4px 9px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--m4l-ink);font-size:30px;font-weight:700}
.woocommerce div.product p.price small,.m4l-price-suffix{font-size:15px;color:var(--m4l-muted);font-weight:400}
.woocommerce div.product .woocommerce-product-details__short-description{font-size:17px;line-height:1.6;color:var(--m4l-body)}
.woocommerce div.product .product_meta{font-size:14px;color:var(--m4l-muted);display:flex;flex-direction:column;gap:4px}
.woocommerce div.product .product_meta .sku{font-family:var(--m4l-mono)}
.woocommerce div.product form.cart{margin:0;background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);padding:22px;display:flex;flex-direction:column;gap:18px}
.woocommerce div.product form.cart::before,.woocommerce div.product form.cart::after{display:none}
.woocommerce div.product form.cart .variations{margin:0;border:0;width:100%}
.woocommerce div.product form.cart .variations tr{display:block;margin-bottom:16px}
.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{display:block;padding:0;text-align:left;line-height:1.4}
.woocommerce div.product form.cart .variations th label{font-weight:600;font-size:15px;margin-bottom:10px;display:block}
.woocommerce div.product form.cart .variations select{min-width:220px;height:44px;border:1px solid var(--m4l-line-2);border-radius:var(--m4l-radius-sm);padding:0 12px;background:#fff}
.woocommerce div.product form.cart .reset_variations{font-size:14px;margin-top:8px;display:inline-block}
.m4l-swatches{display:flex;flex-wrap:wrap;gap:8px}
.m4l-swatch{min-height:44px;padding:0 18px;border-radius:var(--m4l-radius-sm);font-weight:600;font-size:16px;background:#fff;color:var(--m4l-ink);border:1.5px solid var(--m4l-line-2);cursor:pointer}
.m4l-swatch:hover{border-color:var(--m4l-brand)}
.m4l-swatch[aria-pressed="true"]{background:var(--m4l-brand);color:#fff;border-color:var(--m4l-brand)}
.m4l-swatch:disabled{background:var(--m4l-bg);color:#9AAAAD;border-style:dashed;cursor:not-allowed}
.m4l-has-swatches select{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);opacity:0}
.woocommerce div.product form.cart .single_variation_wrap{display:flex;flex-direction:column;gap:14px}
.woocommerce div.product form.cart .woocommerce-variation-price .price{font-size:30px}
.woocommerce div.product form.cart .woocommerce-variation-availability p{margin:0;font-size:14px;font-weight:600;color:var(--m4l-ok)}
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart,.woocommerce div.product form.cart:not(.variations_form){display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.woocommerce div.product form.cart .button{flex:1 1 200px;min-height:52px;font-size:17px}
.woocommerce .quantity{display:inline-flex;align-items:center;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius-sm);height:52px;background:#fff}
.woocommerce .quantity .qty{width:64px;height:50px;border:0;text-align:center;font-weight:600;font-size:17px;background:transparent;-moz-appearance:textfield}
.woocommerce .quantity .qty::-webkit-outer-spin-button,.woocommerce .quantity .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.m4l-qty-btn{width:46px;height:50px;border:0;background:transparent;font-size:22px;cursor:pointer;color:var(--m4l-ink)}
.m4l-qty-btn:hover{color:var(--m4l-brand)}
.woocommerce div.product .woocommerce-tabs{background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);padding:12px 32px 32px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 20px;display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--m4l-line)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:none;border:0;margin:0;padding:0;border-radius:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:block;padding:14px 16px;font-weight:600;color:var(--m4l-muted)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--m4l-brand);box-shadow:inset 0 -3px 0 var(--m4l-brand)}
.woocommerce div.product .woocommerce-tabs .panel{font-size:16px;line-height:1.7;color:var(--m4l-body)}
.woocommerce div.product .woocommerce-tabs .panel h2:first-child{display:none}
.woocommerce table.shop_attributes{border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);overflow:hidden;border-collapse:separate}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{padding:13px 16px;border-top:1px solid #E8EEEC;background:#fff!important;font-style:normal}
.woocommerce table.shop_attributes tr:first-child th,.woocommerce table.shop_attributes tr:first-child td{border-top:0}
.woocommerce table.shop_attributes th{color:var(--m4l-muted);font-weight:400;width:40%}
.woocommerce table.shop_attributes td p{margin:0;padding:0}
.woocommerce .related h2,.woocommerce .upsells h2{font-size:28px}
.woocommerce .related ul.products,.woocommerce .upsells ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}

/* tier table (from med4life-core) */
.m4l-tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;font-size:14px}
.m4l-tiers__cell{background:var(--m4l-bg);border-radius:var(--m4l-radius-sm);padding:10px 12px}
.m4l-tiers__cell span{display:block;color:var(--m4l-muted)}
.m4l-tiers__cell strong{font-size:15px}
.m4l-tiers__cell.is-active{background:var(--m4l-tint);box-shadow:inset 0 0 0 1.5px var(--m4l-brand)}
.m4l-line-total{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;font-size:15px;color:var(--m4l-body);border-top:1px solid #E8EEEC;padding-top:14px;width:100%}
.m4l-line-total strong{color:var(--m4l-ink)}
.m4l-ship-note{font-size:14px;color:var(--m4l-muted)}

/* ---------- WooCommerce: cart & checkout (classic) ---------- */
.woocommerce-cart .m4l-page .woocommerce,.woocommerce-checkout .m4l-page .woocommerce{display:block}
.woocommerce table.shop_table{background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);border-collapse:separate;overflow:hidden;margin:0 0 24px}
.woocommerce table.shop_table th{font-weight:600;padding:14px 16px;background:var(--m4l-bg)}
.woocommerce table.shop_table td{padding:14px 16px;border-top:1px solid #E8EEEC}
.woocommerce table.shop_table td.product-name a{color:var(--m4l-ink);font-weight:600;text-decoration:none}
.woocommerce table.shop_table td.product-name dl.variation{font-size:13px;color:var(--m4l-muted);margin:4px 0 0}
.woocommerce table.shop_table td.product-name dl.variation dt,.woocommerce table.shop_table td.product-name dl.variation dd{display:inline;margin:0;font-weight:400}
.woocommerce table.shop_table td.product-name dl.variation dd p{display:inline;margin:0}
.woocommerce table.shop_table img{width:64px;border-radius:var(--m4l-radius-sm)}
.woocommerce table.shop_table .product-thumbnail .m4l-thumb{width:64px;height:64px;border-radius:var(--m4l-radius-sm);background:var(--m4l-tint-2);display:flex;align-items:center;justify-content:center}
.woocommerce table.shop_table .product-thumbnail .m4l-thumb svg{width:80%}
.woocommerce a.remove{color:var(--m4l-muted)!important;font-weight:400}
.woocommerce a.remove:hover{background:var(--m4l-err);color:#fff!important}
.woocommerce table.cart td.actions .coupon .input-text{height:48px;border:1px solid var(--m4l-line-2);border-radius:var(--m4l-radius-sm);padding:0 12px;width:180px;margin-right:8px}
.woocommerce .cart-collaterals .cart_totals{float:none;width:100%;max-width:460px;margin-left:auto}
.woocommerce .cart-collaterals .cart_totals h2{font-size:22px}
.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button{width:100%;min-height:54px;font-size:17px;margin:0}
.m4l-strike{color:var(--m4l-muted);font-size:13px}
.m4l-disc-note{display:block;color:var(--m4l-ok);font-size:13px;font-weight:600}

.woocommerce form .form-row{padding:0;margin:0 0 14px}
.woocommerce form .form-row label{font-weight:500;font-size:14px;margin-bottom:6px;display:block;line-height:1.4}
.woocommerce form .form-row .input-text,.woocommerce form .form-row select,.woocommerce form .form-row textarea,
.woocommerce .select2-container--default .select2-selection--single{min-height:46px;border:1px solid var(--m4l-line-2);border-radius:var(--m4l-radius-sm);padding:10px 14px;background:#fff;font-size:16px;width:100%}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:24px;padding:0}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{height:44px}
.woocommerce form .form-row.woocommerce-invalid .input-text{border-color:var(--m4l-err)}
.woocommerce form .form-row .required{color:var(--m4l-err);text-decoration:none}
.woocommerce-checkout form.checkout{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup{flex:1 1 100%}
.woocommerce-checkout #customer_details{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:20px}
.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{float:none;width:auto;background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);padding:24px}
.woocommerce-checkout #customer_details::before,.woocommerce-checkout #customer_details::after{display:none}
.woocommerce-checkout #customer_details h3{font-size:20px;letter-spacing:0}
.woocommerce-checkout .m4l-order-col{flex:1 1 340px;min-width:0;background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);padding:24px;position:sticky;top:100px}
.woocommerce-checkout #order_review_heading{font-size:20px;letter-spacing:0}
.woocommerce-checkout #order_review table.shop_table{border:0;border-radius:0}
.woocommerce-checkout #order_review table.shop_table th,.woocommerce-checkout #order_review table.shop_table td{padding:10px 0;background:none}
.woocommerce-checkout #order_review .order-total th,.woocommerce-checkout #order_review .order-total td{font-size:20px;font-weight:700}
.woocommerce-checkout #payment{background:none;border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{padding:0;border:0;display:flex;flex-direction:column;gap:10px}
.woocommerce-checkout #payment ul.payment_methods li{list-style:none;border:1.5px solid var(--m4l-line-2);border-radius:var(--m4l-radius-sm);padding:14px 16px;background:#fff}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked){border:2px solid var(--m4l-brand);background:var(--m4l-tint)}
.woocommerce-checkout #payment ul.payment_methods li label{font-weight:600;cursor:pointer}
.woocommerce-checkout #payment div.payment_box{background:var(--m4l-bg);border-radius:var(--m4l-radius-sm);font-size:14px;margin-top:10px}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment div.form-row{padding:16px 0 0}
.woocommerce-checkout #payment #place_order{width:100%;min-height:54px;font-size:17px;float:none}
.woocommerce-checkout #shipping_method{list-style:none;padding:0;margin:0}
.woocommerce-checkout #shipping_method li{margin-bottom:6px}

/* invoice fields (med4life-core) */
.m4l-doc-type{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}
.m4l-doc-type label{display:inline-flex!important;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:var(--m4l-radius-sm);border:1.5px solid var(--m4l-line-2);font-weight:600!important;font-size:16px!important;cursor:pointer;margin:0!important}
.m4l-doc-type label:has(input:checked){background:var(--m4l-brand);border-color:var(--m4l-brand);color:#fff}
.m4l-doc-type input{accent-color:var(--m4l-brand)}
.m4l-invoice-fields.is-hidden{display:none}

/* thank you */
.woocommerce-order .woocommerce-thankyou-order-received{font-size:28px;font-weight:700;letter-spacing:-0.02em;text-align:center;margin:12px 0 24px}
.woocommerce ul.order_details{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;padding:0;margin:0 0 24px}
.woocommerce ul.order_details::before,.woocommerce ul.order_details::after{display:none}
.woocommerce ul.order_details li{float:none;margin:0;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius-sm);padding:14px 16px;background:#fff;font-size:13px;color:var(--m4l-muted);text-transform:none}
.woocommerce ul.order_details li strong{display:block;font-size:16px;color:var(--m4l-ink);margin-top:2px}

/* my account */
.woocommerce-account .woocommerce{display:flex;flex-wrap:wrap;gap:32px}
.woocommerce-account .woocommerce-MyAccount-navigation{flex:1 1 220px;float:none;width:auto}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius)}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:10px 12px;border-radius:8px;color:var(--m4l-ink);text-decoration:none}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:var(--m4l-tint);color:var(--m4l-brand);font-weight:600}
.woocommerce-account .woocommerce-MyAccount-content{flex:999 1 520px;float:none;width:auto;min-width:0;background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);padding:28px}
.woocommerce-account:not(.logged-in) .woocommerce{display:block}
.woocommerce form.login,.woocommerce form.register{background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);padding:28px}
.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:100%}
@media (min-width:900px){.woocommerce-account:not(.logged-in) .u-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.woocommerce-account:not(.logged-in) .u-columns::before,.woocommerce-account:not(.logged-in) .u-columns::after{display:none}}

/* demo banner */
.m4l-demo{background:#FFF6E3;color:#6B4A0E;font-size:13px;text-align:center;padding:6px 16px}


/* =====================================================================
   Direction A: clinical & technical
   ===================================================================== */
.m4l-acct{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 14px;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius-sm);text-decoration:none;color:var(--m4l-ink);font-size:14px;font-weight:500}
.m4l-acct:hover{border-color:var(--m4l-brand);color:var(--m4l-brand)}
.m4l-tag{display:inline-block;font-family:var(--m4l-mono);font-size:12px;font-weight:500;color:var(--m4l-brand);border:1px solid var(--m4l-brand);border-radius:4px;padding:4px 8px}
.m4l-hero-a{background:var(--m4l-tint-2);border-bottom:1px solid var(--m4l-line)}
.m4l-hero-a__inner{display:flex;flex-wrap:wrap;gap:40px;align-items:center;padding-top:56px;padding-bottom:56px}
.m4l-hero-a__text{flex:1 1 500px;min-width:0}
.m4l-hero-a__tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.m4l-hero-a h1{font-size:50px;line-height:1.06;letter-spacing:-0.03em;margin:0 0 18px}
.m4l-hero-a p{font-size:18px;line-height:1.6;color:var(--m4l-body);margin:0 0 28px;max-width:560px}
.m4l-spec{flex:1 1 420px;min-width:0;background:#fff;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);overflow:hidden;text-decoration:none;color:var(--m4l-ink);display:block}
.m4l-spec:hover{border-color:var(--m4l-brand);color:var(--m4l-ink)}
.m4l-spec__top{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid var(--m4l-line);font-family:var(--m4l-mono);font-size:12px;color:var(--m4l-muted)}
.m4l-spec__body{display:flex;gap:18px;padding:20px 18px;align-items:center}
.m4l-spec__img{flex:0 0 150px;height:120px;background:var(--m4l-tint);border-radius:var(--m4l-radius-sm);display:flex;align-items:center;justify-content:center;overflow:hidden}
.m4l-spec__img svg{width:78%}.m4l-spec__img img{width:100%;height:100%;object-fit:cover}
.m4l-spec__name{font-family:var(--m4l-display);font-weight:600;font-size:18px;color:var(--m4l-brand)}
.m4l-spec__meta{font-size:14px;color:var(--m4l-muted);margin-top:4px}
.m4l-spec__tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));border-top:1px solid var(--m4l-line);font-size:13px}
.m4l-spec__tiers div{padding:12px 18px;border-right:1px solid var(--m4l-line)}
.m4l-spec__tiers div:last-child{border-right:0}
.m4l-spec__tiers div.is-hl{background:var(--m4l-tint)}
.m4l-spec__tiers span{display:block;color:var(--m4l-muted)}
.m4l-spec__tiers div.is-hl span{color:var(--m4l-green-ink)}
.m4l-spec__tiers strong{font-size:16px}
.m4l-spec__foot{padding:10px 18px;border-top:1px solid var(--m4l-line);font-size:12px;color:var(--m4l-muted)}
@media (max-width:760px){.m4l-hero-a h1{font-size:34px}.m4l-hero-a__inner{padding-top:36px}.m4l-spec__img{flex-basis:110px;height:96px}}

.m4l-trust-a{border-bottom:1px solid var(--m4l-line)}
.m4l-trust-a__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.m4l-trust-a__item{padding:22px 18px 22px 0;display:flex;gap:12px;align-items:flex-start;color:var(--m4l-green)}
.m4l-trust-a__item strong{display:block;font-size:15px;color:var(--m4l-ink)}
.m4l-trust-a__item span{display:block;font-size:13px;color:var(--m4l-muted)}

/* catalogue table (home + shop) */
.m4l-cat{border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);overflow-x:auto;background:#fff}
.m4l-cat__inner{min-width:760px}
.m4l-cat__head,.m4l-cat__row{display:grid;grid-template-columns:76px 2.2fr 2fr 1.2fr 1fr;gap:16px;align-items:center;padding:12px 18px}
.m4l-cat__head{background:var(--m4l-tint-2);border-bottom:1px solid var(--m4l-line);font-size:12px;font-weight:600;color:var(--m4l-muted)}
.m4l-cat__row{border-bottom:1px solid #E6ECF1;text-decoration:none;color:var(--m4l-ink);padding-top:14px;padding-bottom:14px}
.m4l-cat__row:hover{background:var(--m4l-tint-2);color:var(--m4l-ink)}
.m4l-cat li:last-child .m4l-cat__row,.m4l-cat__inner > .m4l-cat__row:last-child{border-bottom:0}
.m4l-cat__img{width:64px;height:52px;background:var(--m4l-tint);border-radius:4px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.m4l-cat__img svg,.m4l-cat__img .m4l-thumb svg{width:48px}.m4l-cat__img img{width:100%;height:100%;object-fit:cover;margin:0!important}
.m4l-cat__name{display:block;font-weight:600;font-size:16px;color:var(--m4l-brand)}
.m4l-cat__note{display:block;font-size:13px;color:var(--m4l-muted)}
.m4l-cat__sizes{font-family:var(--m4l-mono);font-size:13px}
.m4l-cat__unit{font-size:14px}
.m4l-cat__price{text-align:right}
.m4l-cat__gross{display:block;font-weight:700;font-size:17px}
.m4l-cat__net{display:block;font-size:12px;color:var(--m4l-muted)}
.m4l-cat__head span:last-child{text-align:right}
.woocommerce .m4l-cat ul.products{gap:0;display:block}
.woocommerce .m4l-cat ul.products li.product{border:0}
@media (max-width:760px){
  .m4l-cat{overflow:visible;border:0;background:transparent}
  .m4l-cat__inner{min-width:0;display:flex;flex-direction:column;gap:10px}
  .m4l-cat__head{display:none}
  .m4l-cat__row{grid-template-columns:64px 1fr;grid-template-areas:"img name" "img price" "sizes sizes";border:1px solid var(--m4l-line)!important;border-radius:var(--m4l-radius);background:#fff;gap:6px 14px}
  .m4l-cat__row > :nth-child(1){grid-area:img}.m4l-cat__row > :nth-child(2){grid-area:name}.m4l-cat__row > :nth-child(3){grid-area:sizes}.m4l-cat__row > :nth-child(4){display:none}.m4l-cat__row > :nth-child(5){grid-area:price;text-align:left}
  .woocommerce .m4l-cat ul.products{display:flex;flex-direction:column;gap:10px}
}

/* B2B + quote */
.m4l-duo{display:flex;flex-wrap:wrap;gap:24px;padding-top:40px;padding-bottom:64px}
.m4l-panel{flex:1 1 420px;min-width:0;border:1px solid var(--m4l-line);border-radius:var(--m4l-radius);padding:28px;background:#fff}
.m4l-panel--tint{background:var(--m4l-tint-2)}
.m4l-panel h2{font-size:24px;margin:0 0 8px}
.m4l-panel p{font-size:15px;color:var(--m4l-body);line-height:1.6}
.m4l-dash{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-direction:column;gap:8px;font-size:15px}
.m4l-dash li::before{content:"— ";color:var(--m4l-green)}

/* quote form (med4life-core shortcode) */
.m4l-quote{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.m4l-quote h2,.m4l-quote .m4l-quote__full{grid-column:1/-1}
.m4l-quote label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:500}
.m4l-quote input,.m4l-quote textarea{height:44px;border:1px solid var(--m4l-line-2);border-radius:var(--m4l-radius-sm);padding:0 12px;font-size:15px;background:#fff}
.m4l-quote textarea{height:auto;padding:10px 12px;resize:vertical}
.m4l-quote button{grid-column:1/-1;height:46px;border:0;border-radius:var(--m4l-radius-sm);background:var(--m4l-green-ink);color:#fff;font-weight:600;font-size:16px;cursor:pointer}
.m4l-quote button:hover{background:#0F5232}
.m4l-quote__hp{position:absolute!important;left:-9999px}
.m4l-quote__ok{grid-column:1/-1;background:#F0F8F4;border:1px solid #B9DCCB;border-radius:var(--m4l-radius-sm);padding:12px 14px;color:var(--m4l-green-ink);font-weight:500}
.m4l-quote__err{grid-column:1/-1;background:#FBF1F0;border:1px solid #E8C1BC;border-radius:var(--m4l-radius-sm);padding:12px 14px;color:var(--m4l-err)}
@media (max-width:560px){.m4l-quote{grid-template-columns:1fr}}

/* prices with / without VAT */
.m4l-net{display:block;font-size:14px;font-weight:400;color:var(--m4l-muted);margin-top:2px}
.woocommerce div.product p.price .m4l-net,.woocommerce div.product .woocommerce-variation-price .m4l-net{font-size:14px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--m4l-brand)}
.woocommerce div.product .product_title{color:var(--m4l-brand)}
