/* ==========================================================================
   Ottica Molica: base, token, componenti comuni
   ========================================================================== */
:root{
  --m-ink:#0F2740;
  --m-blue:#1E5FA8;
  --m-blue-d:#174C87;
  --m-blue-soft:#EAF1FA;
  --m-surface:#F5F7FA;
  --m-line:#E3E8EF;
  --m-line-2:#CBD5E1;
  --m-muted:#55677C;
  --m-text-2:#33485E;
  --m-amber:#F5B83D;
  --m-orange:#B4540A;
  --m-green:#1B7F5C;
  --m-red:#B3261E;
  --m-radius:18px;
  --m-radius-s:12px;
  --m-font-d:'Red Hat Display','Manrope',system-ui,sans-serif;
  --m-font-b:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  --m-wrap:1200px;
  --m-shadow:0 10px 30px rgba(15,39,64,.12);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body.m-body{margin:0;font-family:var(--m-font-b);font-size:16px;line-height:1.55;color:var(--m-ink);background:#fff;-webkit-font-smoothing:antialiased}
.m-body h1,.m-body h2,.m-body h3,.m-body h4{font-family:var(--m-font-d);font-weight:700;letter-spacing:-.01em;line-height:1.12;color:var(--m-ink);margin:0}
.m-body p{margin:0 0 1em}
.m-body :where(a){color:inherit;text-decoration:none}
.m-body img{max-width:100%;height:auto}
.m-body :focus-visible{outline:3px solid var(--m-amber);outline-offset:2px}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
.m-skip{position:absolute;left:-9999px;top:0;background:var(--m-ink);color:#fff;padding:12px 18px;z-index:10000;border-radius:0 0 12px 0}
.m-skip:focus{left:0}
.m-wrap{width:100%;max-width:var(--m-wrap);margin:0 auto;padding:0 32px}
.m-i{flex:none}

/* Bottoni */
.m-btn,
.m-body .button,.m-body button.button,.m-body a.button,.m-body input.button,
.m-body a.button,.m-body button.button,.m-body input.button,
.m-body #respond input#submit{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 26px;border-radius:999px;
  font:700 15px/1 var(--m-font-b);border:2px solid transparent;cursor:pointer;text-decoration:none;
  background:var(--m-blue);color:#fff;transition:background .15s,color .15s,border-color .15s;
}
.m-btn:hover,.m-body .button:hover,.m-body a.button:hover,.m-body button.button:hover,.m-body input.button:hover{background:var(--m-blue-d);color:#fff}
.m-btn--outline,.m-body a.button.m-btn--outline{background:#fff;color:var(--m-blue);border-color:var(--m-blue)}
.m-btn--outline:hover{background:var(--m-blue);color:#fff}
.m-btn--ink{background:#fff;color:var(--m-ink);border-color:var(--m-ink)}
.m-btn--ink:hover{background:var(--m-ink);color:#fff}
.m-btn--amber{background:var(--m-amber);color:var(--m-ink)}
.m-btn--amber:hover{background:#e7a728;color:var(--m-ink)}
.m-btn--sm{min-height:38px;padding:0 16px;font-size:14px;border-width:1.5px}
.m-btn--block{display:flex;width:100%}
.m-body a.button.alt,.m-body button.button.alt,.m-body input.button.alt{background:var(--m-blue);color:#fff}
.m-body a.button.alt:hover,.m-body button.button.alt:hover{background:var(--m-blue-d)}
.m-body button.button:disabled,.m-body button.button.disabled{opacity:.5;cursor:not-allowed}

.m-iconbtn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:transparent;color:var(--m-ink);cursor:pointer;border-radius:50%;padding:0}
.m-iconbtn:hover{background:var(--m-surface)}
.m-eyebrow{display:block;font:800 13px/1 var(--m-font-b);letter-spacing:.08em;text-transform:uppercase;color:var(--m-blue);margin-bottom:14px}
.m-dot{margin:0 4px}
.m-badge{display:inline-block;background:var(--m-amber);color:var(--m-ink);font:800 12px/1 var(--m-font-b);padding:6px 10px;border-radius:999px}
.m-chip{display:inline-flex;align-items:center;min-height:40px;padding:0 18px;border-radius:999px;border:1px solid var(--m-line-2);font-weight:600;font-size:14px;background:#fff;color:var(--m-ink);cursor:pointer}
.m-chip:hover{border-color:var(--m-blue);color:var(--m-blue)}
.m-card{background:#fff;border:1px solid var(--m-line);border-radius:var(--m-radius)}

/* Moduli */
.m-body input[type=text],.m-body input[type=email],.m-body input[type=tel],.m-body input[type=password],.m-body input[type=number],.m-body input[type=search],.m-body input[type=date],
.m-body select,.m-body textarea,.m-body .select2-container--default .select2-selection--single{
  font:500 15px/1.4 var(--m-font-b);color:var(--m-ink);background:#fff;border:1px solid var(--m-line-2);border-radius:12px;min-height:48px;padding:10px 14px;width:100%;box-shadow:none;
}
.m-body textarea{min-height:110px}
.m-body input:focus,.m-body select:focus,.m-body textarea:focus{border-color:var(--m-blue);outline:2px solid rgba(30,95,168,.25);outline-offset:0}
.m-body input[type=checkbox],.m-body input[type=radio]{accent-color:var(--m-blue);width:18px;height:18px;min-height:0;padding:0}
.m-body label{font-weight:600}

/* Avvisi WooCommerce */
.m-body .woocommerce-message,.m-body .woocommerce-info,.m-body .woocommerce-error{
  border:0;border-radius:var(--m-radius-s);background:var(--m-blue-soft);color:var(--m-ink);padding:16px 20px 16px 52px;margin:0 0 24px;font-weight:600;position:relative;list-style:none;
}
.m-body .woocommerce-message::before,.m-body .woocommerce-info::before{color:var(--m-blue);top:16px;left:20px}
.m-body .woocommerce-error{background:#FDECEA}
.m-body .woocommerce-error::before{color:var(--m-red)}
.m-body .woocommerce-message .button,.m-body .woocommerce-info .button{float:right;min-height:38px;padding:0 18px;font-size:14px;margin-left:12px}

/* Contenuto generico (pagine, articoli) */
.m-main{min-height:50vh}
.m-main--page{padding:48px 0 24px}
.m-main .entry-title,.m-main--page h1.entry-title{font-size:44px;margin-bottom:28px}
.m-main--shop{padding-bottom:24px}
.m-prose{max-width:820px}
.m-prose h2{font-size:30px;margin:1.6em 0 .6em}
.m-prose h3{font-size:22px;margin:1.4em 0 .5em}
.m-prose a{color:var(--m-blue);text-decoration:underline}
.m-prose ul,.m-prose ol{padding-left:1.3em}
/* ==========================================================================
   Barra alta, header, navigazione
   ========================================================================== */
.m-topbar{background:var(--m-ink);color:#fff;font-size:13px}
.m-topbar__in{display:flex;justify-content:space-between;align-items:center;min-height:38px;gap:16px}
.m-topbar a{color:#fff}
.m-topbar__link{display:inline-flex;align-items:center;gap:6px;font-weight:700}
.m-topbar a:hover{text-decoration:underline}

.m-header{background:#fff;border-bottom:1px solid var(--m-line);position:relative;z-index:50}
.m-header__main{display:flex;align-items:center;gap:32px;min-height:84px}
.m-logo{display:block;flex:none;line-height:0}
.m-logo img{height:46px;width:auto;display:block}
.m-burger{display:none}
.m-search{flex:1 1 auto;display:flex;align-items:center;gap:10px;height:50px;border:1px solid var(--m-line-2);border-radius:999px;padding:0 20px;background:var(--m-surface);color:var(--m-muted);min-width:0}
.m-search:focus-within{border-color:var(--m-blue);background:#fff}
.m-search input[type=search]{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important;padding:0!important;font:500 15px var(--m-font-b);color:var(--m-ink);outline:0!important;border-radius:0!important}
.m-actions{display:flex;align-items:center;gap:26px;flex:none}
.m-action{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:15px;color:var(--m-ink);position:relative;white-space:nowrap}
.m-action:hover{color:var(--m-blue)}
.m-cart-count{display:inline-flex;align-items:center;justify-content:center;background:var(--m-amber);color:var(--m-ink);border-radius:999px;font:800 12px/1 var(--m-font-b);min-width:22px;height:22px;padding:0 6px}
.m-cart-count[data-zero="1"]{background:var(--m-line);color:var(--m-muted)}

.m-header__navrow{border-top:1px solid transparent}
.m-header__navin{display:flex;align-items:center;justify-content:space-between;min-height:52px;gap:24px}
.m-nav{flex:1;min-width:0}
.m-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 28px;align-items:center}
.m-menu li{margin:0}
.m-menu--primary a{display:block;padding:15px 0;font-weight:600;font-size:15px;color:var(--m-ink);white-space:nowrap;box-shadow:inset 0 -3px 0 transparent}
.m-menu--primary a:hover,.m-menu--primary .current-menu-item>a,.m-menu--primary .current-menu-ancestor>a{color:var(--m-blue);box-shadow:inset 0 -3px 0 var(--m-blue)}

/* Cassetti laterali */
.m-overlay{position:fixed;inset:0;background:rgba(15,39,64,.55);z-index:9998;opacity:0;transition:opacity .2s}
.m-overlay:not([hidden]){opacity:1}
.m-drawer{position:fixed;top:0;bottom:0;width:min(420px,92vw);background:#fff;z-index:9999;display:flex;flex-direction:column;transition:transform .25s ease;visibility:hidden}
.m-drawer--right{right:0;transform:translateX(100%)}
.m-drawer--left{left:0;transform:translateX(-100%)}
.m-drawer.is-open{transform:none;visibility:visible;box-shadow:var(--m-shadow)}
.m-drawer__head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--m-line)}
.m-drawer__body{overflow:auto;padding:12px 18px 28px;flex:1}
.m-menu--mobile{flex-direction:column;align-items:stretch;gap:0}
.m-menu--mobile a{display:block;padding:15px 4px;font:700 18px var(--m-font-d);border-bottom:1px solid var(--m-line)}
.m-drawer__links{display:flex;flex-direction:column;margin-top:18px}
.m-drawer__links a{display:flex;align-items:center;gap:12px;padding:14px 4px;font-weight:700;font-size:15px;border-bottom:1px solid var(--m-line)}
.m-drawer__links svg{color:var(--m-blue)}
body.m-lock{overflow:hidden}

/* Footer */
.m-footer{background:var(--m-ink);color:#fff;margin-top:96px}
.m-footer a{color:#C9D6E6}
.m-footer a:hover{color:#fff}
.m-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:48px;padding-top:56px;padding-bottom:44px}
.m-footer__logo{display:inline-block;background:#fff;border-radius:12px;padding:10px 14px;line-height:0;margin-bottom:16px}
.m-footer__logo img{height:38px;width:auto;display:block}
.m-footer__brand p{font-size:14px;line-height:1.75;color:#C9D6E6}
.m-footer__title{font:800 16px var(--m-font-d)!important;margin:0 0 10px!important;color:#fff}
.m-footer__menu{list-style:none;margin:0;padding:0}
.m-footer__menu li{margin:0}
.m-footer__menu a{display:block;font-size:14px;line-height:2.1}
.m-footer__bar{border-top:1px solid #29425E}
.m-footer__barin{display:flex;justify-content:space-between;align-items:center;min-height:60px;font-size:13px;color:#C9D6E6;gap:16px}
.m-pay{list-style:none;display:flex;gap:10px;margin:0;padding:0;flex-wrap:wrap}
.m-pay li{border:1px solid #3B5775;border-radius:6px;padding:3px 9px}

@media (max-width:1100px){
  .m-header__main{gap:20px}
  .m-action span:not(.m-cart-count):not(.m-action__label){display:none}
  .m-menu{gap:4px 20px}
}
@media (max-width:860px){
  .m-wrap{padding:0 16px}
  .m-topbar__link{display:none}
  .m-topbar__in{justify-content:center;text-align:center}
  .m-header__main{display:grid;grid-template-columns:44px 1fr auto;grid-template-areas:"burger logo actions" "search search search";gap:10px 8px;min-height:0;padding-top:10px;padding-bottom:12px}
  .m-burger{display:inline-flex;grid-area:burger}
  .m-logo{grid-area:logo;justify-self:center}
  .m-logo img{height:36px}
  .m-actions{grid-area:actions;gap:2px}
  .m-action--reorder{display:none}
  .m-action{padding:0;width:44px;height:44px;justify-content:center}
  .m-action--cart{width:auto;padding:0 6px;gap:4px}
  .m-action__label{display:none}
  .m-search{grid-area:search;height:46px;padding:0 16px}
  .m-header__navrow{display:none}
  .m-footer{margin-top:56px}
  .m-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px;padding-top:36px}
  .m-footer__brand{grid-column:1/-1}
  .m-footer__barin{flex-direction:column;align-items:flex-start;padding:16px 0}
}

/* Banner cookie (plugin WP Cookie Allow): scheda compatta in basso a sinistra */
#wpca-bar.wpca-lay-out{top:auto!important;bottom:16px!important;left:16px!important;right:auto!important;width:min(440px,calc(100vw - 32px))!important;max-width:440px;height:auto!important;background:#fff!important;color:var(--m-ink)!important;border:1px solid var(--m-line);border-radius:18px;box-shadow:var(--m-shadow);padding:20px!important;flex-direction:column;gap:14px;z-index:9990!important;font-family:var(--m-font-b)}
#wpca-bar.wpca-show{display:flex!important}
#wpca-bar.wpca-hide,#wpca-trans-layer.wpca-hide{display:none!important}
#wpca-bar .wpca-lay-out-content,#wpca-bar .wpca-lay-out-meta{width:auto!important;float:none!important;padding:0!important;margin:0!important;text-align:left!important}
#wpca-bar p{font-size:13px!important;line-height:1.55!important;margin:0!important;color:var(--m-text-2)!important}
#wpca-bar a{color:var(--m-blue)!important;text-decoration:underline!important}
#wpca-bar .wpca-btn-accept{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:46px;background:var(--m-blue)!important;color:#fff!important;border:0!important;border-radius:999px!important;font:700 14px var(--m-font-b)!important;padding:0 24px!important;margin:0!important;cursor:pointer;box-shadow:none!important;text-transform:none!important}
#wpca-bar .wpca-btn-accept:hover{background:var(--m-blue-d)!important}
@media (max-width:860px){#wpca-bar.wpca-lay-out{left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;max-width:none;padding:16px!important}}
.m-menu--primary .m-menu-sale>a{color:var(--m-orange)}
.m-menu--primary .m-menu-sale>a:hover{color:var(--m-orange);box-shadow:inset 0 -3px 0 var(--m-orange)}
/* ==========================================================================
   Home e blocchi riutilizzabili
   ========================================================================== */
.m-home h1{font-size:56px;line-height:1.06}
.m-home h2,.m-h2{font-size:38px;line-height:1.12}
.m-section{padding-top:72px}
.m-section--tight{padding-top:32px}
.m-section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.m-link-arrow{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--m-blue)}
.m-link-arrow:hover{text-decoration:underline}

/* Hero */
.m-hero{padding-top:40px}
.m-hero__panel{background:var(--m-blue-soft);border-radius:28px;padding:56px 56px 56px 64px;display:flex;align-items:center;gap:48px}
.m-hero__text{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:22px}
.m-hero__text .m-eyebrow{margin:0}
.m-hero__text p{font-size:18px;line-height:1.55;color:var(--m-text-2);max-width:480px;margin:0}
.m-hero__cta{display:flex;gap:14px;flex-wrap:wrap}
.m-hero__art{flex:1 1 0;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.m-tile{background:#fff;border-radius:20px;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;padding:18px;border:1px solid var(--m-line)}
.m-tile img{max-width:100%;max-height:100%;object-fit:contain}
.m-tile:nth-child(2){margin-top:32px}.m-tile:nth-child(3){margin-top:-16px}.m-tile:nth-child(4){margin-top:16px}

/* Fiducia */
.m-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding-top:32px}
.m-trust__item{display:flex;gap:14px;align-items:flex-start}
.m-trust__item .m-i{color:var(--m-blue);width:28px;height:28px}
.m-trust__item strong{display:block;font-size:15px;font-weight:800}
.m-trust__item span{display:block;font-size:14px;color:var(--m-muted);line-height:1.45}

/* Già cliente */
.m-reorder{background:var(--m-ink);color:#fff;border-radius:24px;padding:40px 48px;display:flex;align-items:center;gap:40px}
.m-reorder__text{flex:1 1 0;min-width:0}
.m-reorder__text .m-eyebrow{color:var(--m-amber);margin-bottom:12px}
.m-reorder__text h2{color:#fff;font-size:34px}
.m-reorder__text p{color:#C9D6E6;margin:12px 0 0;line-height:1.55}
.m-reorder__box{flex:1 1 0;min-width:0}
.m-lastorder{background:#fff;color:var(--m-ink);border-radius:18px;padding:20px 22px;display:flex;align-items:center;gap:18px}
.m-lastorder__img{width:84px;height:84px;flex:none;background:var(--m-surface);border-radius:12px;display:flex;align-items:center;justify-content:center;padding:6px}
.m-lastorder__img img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply}
.m-lastorder__txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.m-lastorder__txt small{font-size:12px;font-weight:700;color:var(--m-muted);text-transform:uppercase;letter-spacing:.06em}
.m-lastorder__txt strong{font-size:16px;line-height:1.3}
.m-lastorder__txt em{font-style:normal;font-size:14px;color:var(--m-muted)}
.m-lastorder .m-btn{min-height:46px;padding:0 22px}

/* Tipi di lente */
.m-types{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.m-type{display:flex;flex-direction:column;gap:10px;min-height:170px;padding:24px;background:#fff;border:1px solid var(--m-line);border-radius:var(--m-radius);transition:border-color .15s}
.m-type:hover{border-color:var(--m-blue)}
.m-type strong{font:700 22px/1.15 var(--m-font-d)}
.m-type span{font-size:14px;color:var(--m-muted);line-height:1.45}
.m-brands{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:28px}
.m-brands__label{font-weight:700;font-size:14px;color:var(--m-muted);margin-right:6px}

/* Campione */
.m-sample{border:1px solid var(--m-line);border-radius:28px;padding:48px 56px;display:flex;align-items:center;gap:56px}
.m-sample__img{width:260px;flex:none;background:var(--m-surface);border-radius:20px;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;position:relative}
.m-sample__img img{max-width:80%;max-height:80%;object-fit:contain;mix-blend-mode:multiply}
.m-sample__img .m-badge{position:absolute;left:14px;bottom:14px;font-size:13px;padding:7px 12px}
.m-sample__text{flex:1;min-width:0}
.m-sample__text h2{font-size:38px;line-height:1.12;margin-bottom:16px}
.m-sample__text p{font-size:17px;line-height:1.55;color:var(--m-text-2);max-width:560px}
.m-sample__cta{display:flex;align-items:center;gap:20px;flex-wrap:wrap}

/* Occhiali */
.m-eyewear{background:var(--m-surface);border-radius:24px;padding:32px 40px;display:flex;align-items:center;gap:32px}
.m-eyewear__imgs{display:flex;gap:14px}
.m-eyewear__imgs span{width:130px;height:96px;border-radius:14px;overflow:hidden;background:#fff;border:1px solid var(--m-line)}
.m-eyewear__imgs img{width:100%;height:100%;object-fit:cover;display:block}
.m-eyewear__text{flex:1;min-width:0}
.m-eyewear__text h3{font-size:26px}
.m-eyewear__text p{font-size:15px;color:var(--m-muted);margin:6px 0 0;line-height:1.5}

/* Appuntamento */
.m-visit{display:flex;gap:56px;align-items:flex-start}
.m-visit__text{flex:1 1 0;min-width:0;padding-top:12px}
.m-visit__text h2{font-size:38px;line-height:1.12;margin-bottom:18px}
.m-visit__text p{font-size:17px;line-height:1.55;color:var(--m-text-2)}
.m-visit__box{flex:1 1 0;min-width:0}
.m-booking__card{background:#fff;border:1px solid var(--m-line);border-radius:var(--m-radius);padding:32px;display:flex;flex-direction:column;gap:14px}
.m-booking__card .m-i{color:var(--m-blue)}
.m-booking__card p{margin:0}
.m-booking__title{font:800 20px var(--m-font-d)}
.m-booking__embed{background:#fff;border:1px solid var(--m-line);border-radius:var(--m-radius);padding:16px;overflow:hidden}
.m-booking__embed iframe{width:100%;border:0}

@media (max-width:1100px){
  .m-types{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:860px){
  .m-home h1{font-size:36px;line-height:1.08}
  .m-home h2,.m-h2{font-size:28px}
  .m-section{padding-top:44px}
  .m-hero{padding-top:20px}
  .m-hero__panel{flex-direction:column;align-items:stretch;padding:28px 22px;gap:24px;border-radius:24px}
  .m-hero__text p{font-size:16px}
  .m-hero__cta .m-btn{width:100%}
  .m-hero__art{gap:12px}
  .m-tile{padding:12px;border-radius:16px}
  .m-tile:nth-child(n){margin-top:0}
  .m-trust{grid-template-columns:1fr;gap:16px;padding-top:24px}
  .m-reorder{flex-direction:column;align-items:stretch;padding:26px 22px;gap:22px;border-radius:22px}
  .m-reorder__text h2{font-size:27px}
  .m-lastorder{padding:14px;flex-wrap:wrap}
  .m-lastorder .m-btn{width:100%}
  .m-lastorder__img{width:64px;height:64px}
  .m-types{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .m-type{min-height:112px;padding:18px}
  .m-type strong{font-size:19px}
  .m-brands{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}
  .m-brands .m-chip{white-space:nowrap}
  .m-sample{flex-direction:column;padding:22px;gap:20px;border-radius:22px;align-items:stretch}
  .m-sample__img{width:100%;aspect-ratio:auto;height:190px}
  .m-sample__text h2{font-size:27px}
  .m-sample__cta .m-btn{width:100%}
  .m-eyewear{flex-direction:column;align-items:stretch;padding:20px;gap:14px}
  .m-eyewear__imgs span{flex:1;width:auto}
  .m-visit{flex-direction:column;gap:20px}
  .m-visit__text{padding-top:0}
  .m-visit__text h2{font-size:27px}
  .m-section__head{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:18px}
}

/* Pagine costruite con Elementor: nessuno spazio extra tra i widget */
.m-main--builder .elementor-widget:not(:last-child){margin-bottom:0}
.m-main--builder .elementor-section .elementor-container{max-width:none}
.m-main--builder .elementor-column-gap-no>.elementor-column>.elementor-element-populated{padding:0}
.m-brandswrap{padding-top:0}
.m-section .m-products{margin:0}
.m-booking__fallback{margin:12px 4px 0;font-size:14px;color:var(--m-muted)}
.m-booking__fallback a{color:var(--m-blue);text-decoration:underline;font-weight:700}
/* Se il banner cookie blocca il calendario, il segnaposto non deve occupare 720 px */
.m-booking__embed .wpca-replacement-elem{height:auto!important;min-height:0!important;padding:24px;border-radius:12px;background:var(--m-surface)!important}
.m-booking__embed .wpca-replacement-elem .wpca-btn,.m-booking__embed .wpca-replacement-elem button{margin-top:12px}
/* ==========================================================================
   Catalogo: breadcrumb, intestazione, filtri, griglia, schede
   ========================================================================== */
.m-breadcrumb{font-size:14px;color:var(--m-muted);padding:20px 0 6px}
.m-breadcrumb a{text-decoration:underline}
.m-breadcrumb a:hover{color:var(--m-blue)}
.m-bc-sep{margin:0 8px}
.m-archive-head{padding:10px 0 24px}
.m-archive-head__title,.m-body .woocommerce-products-header__title{font-size:46px;line-height:1.1}
.m-archive-head .term-description,.m-archive-head .page-description{font-size:17px;line-height:1.55;color:var(--m-text-2);max-width:700px;margin-top:12px}
.m-archive-head .term-description p{margin:0}

.m-archive{display:flex;gap:40px;align-items:flex-start}
.m-archive__main{flex:1 1 0;min-width:0}
.m-filters{width:250px;flex:none;padding-bottom:24px}
.m-filters__head,.m-filters__foot{display:none}
.m-fgroup{padding:22px 0;border-top:1px solid var(--m-line)}
.m-fgroup:first-child{border-top:0;padding-top:0}
.m-fgroup__title{font:800 15px var(--m-font-b);margin:0 0 8px}
.m-fgroup__list{list-style:none;margin:0;padding:0}
.m-fopt{display:flex;align-items:center;gap:10px;min-height:36px;font-size:15px;font-weight:500;cursor:pointer;color:var(--m-ink)}
.m-fopt__box{width:18px;height:18px;flex:none;border:1.5px solid var(--m-line-2);border-radius:5px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#fff}
.m-fopt.is-on .m-fopt__box{background:var(--m-blue);border-color:var(--m-blue)}
.m-fopt:hover .m-fopt__box{border-color:var(--m-blue)}
.m-fopt__label{flex:1;min-width:0}
.m-fopt__n{font-size:13px;color:var(--m-muted)}
.m-fprice__row{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.m-fprice__row input{min-height:42px!important;padding:0 12px!important;font-size:14px!important}
.m-filters__reset{display:inline-block;margin-top:6px;font-weight:700;font-size:14px;color:var(--m-blue);text-decoration:underline}

.m-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-bottom:18px;border-bottom:1px solid var(--m-line);margin-bottom:22px}
.m-toolbar__filters{display:none}
.m-fchips{display:flex;gap:8px;flex-wrap:wrap;flex:1}
.m-fchip{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 14px;border-radius:999px;background:var(--m-blue-soft);color:var(--m-blue);font-weight:700;font-size:13px}
.m-fchip:hover{background:var(--m-blue);color:#fff}
.m-resultcount{margin:0 0 0 auto!important;font-size:14px;color:var(--m-muted)}
.m-body .woocommerce-ordering{margin:0}
.m-body .woocommerce-ordering select{min-height:42px;padding:0 36px 0 14px;width:auto;font-size:14px}
.m-toolbar .m-fchips + .m-resultcount{margin-left:0!important}

/* Griglia prodotti (elenchi, correlati, shortcode) */
.m-body ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;margin:0;padding:0}
.m-body ul.products::before,.m-body ul.products::after{display:none!important}
.m-body ul.products li.product,.m-body ul.products[class*="columns-"] li.product{width:auto!important;float:none!important;margin:0!important;padding:0}
.m-products--4 ul.products,.m-body .related ul.products,.m-body .upsells ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}
.m-products--3 ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}

.m-pcard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--m-line);border-radius:var(--m-radius);overflow:hidden;transition:border-color .15s,box-shadow .15s}
.m-pcard:hover{border-color:var(--m-blue);box-shadow:0 6px 20px rgba(15,39,64,.08)}
.m-pcard__link{display:flex;flex-direction:column;flex:1}
.m-pcard__media{position:relative;background:var(--m-surface);aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;overflow:hidden}
.m-body .m-pcard .m-pcard__media img{width:82%!important;height:82%!important;max-width:none;object-fit:contain;mix-blend-mode:multiply;margin:0;transition:transform .25s}
.m-pcard:hover .m-pcard__media img{transform:scale(1.04)}
.m-pcard__badge{position:absolute;top:12px;left:12px;z-index:2}
.m-pcard__badge--sale{left:auto;right:12px;background:var(--m-blue);color:#fff}
.m-pcard__body{display:flex;flex-direction:column;gap:6px;padding:18px 20px 6px}
.m-pcard__brand{font:700 12px/1 var(--m-font-b);letter-spacing:.06em;text-transform:uppercase;color:var(--m-muted)}
.m-pcard__title{font:800 16px/1.3 var(--m-font-b);color:var(--m-ink)}
.m-pcard__meta{font-size:13px;color:var(--m-muted)}
.m-pcard__price{font:800 22px/1.2 var(--m-font-b);margin-top:6px;color:var(--m-ink)}
.m-pcard__price del{font-size:15px;font-weight:600;color:var(--m-muted);margin-right:6px}
.m-pcard__price ins{text-decoration:none}
.m-pcard__cta{padding:6px 20px 20px}
.m-body .m-pcard .m-pcard__cta .button,.m-body .m-pcard .m-pcard__cta a.button{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;padding:0 14px;font-size:14px;line-height:1;background:#fff;color:var(--m-blue);border:1.5px solid var(--m-blue);margin:0;text-align:center}
.m-body .m-pcard .m-pcard__cta .button:hover,.m-body .m-pcard .m-pcard__cta a.button:hover{background:var(--m-blue);color:#fff}
.m-pcard__cta .added_to_cart{display:none}
.m-pcard__cta .button.loading::after{display:none}

/* Paginazione */
.m-body .woocommerce-pagination{margin-top:36px}
.m-body .woocommerce-pagination ul{display:flex;justify-content:center;gap:8px;border:0;margin:0;padding:0;flex-wrap:wrap}
.m-body .woocommerce-pagination ul li{border:0;float:none;margin:0;overflow:visible}
.m-body .woocommerce-pagination ul li a,.m-body .woocommerce-pagination ul li span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;border-radius:999px;border:1px solid var(--m-line-2);font-weight:700;padding:0 14px;background:#fff;color:var(--m-ink)}
.m-body .woocommerce-pagination ul li a:hover{border-color:var(--m-blue);color:var(--m-blue);background:#fff}
.m-body .woocommerce-pagination ul li span.current{background:var(--m-blue);border-color:var(--m-blue);color:#fff}
.m-body .woocommerce-no-products-found{margin:30px 0}

@media (max-width:1100px){
  .m-body ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .m-products--4 ul.products,.m-body .related ul.products,.m-body .upsells ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  .m-archive-head{padding-bottom:14px}
  .m-archive-head__title,.m-body .woocommerce-products-header__title{font-size:32px}
  .m-archive{display:block}
  .m-toolbar__filters{display:inline-flex}
  .m-toolbar{gap:10px}
  .m-resultcount{order:5;width:100%;margin:0!important}
  .m-fchips{order:4;flex-basis:100%}
  .m-filters{position:fixed;top:0;bottom:0;left:0;width:min(380px,92vw);background:#fff;z-index:9999;display:flex;flex-direction:column;transform:translateX(-100%);transition:transform .25s ease;visibility:hidden;padding:0}
  .m-filters.is-open{transform:none;visibility:visible;box-shadow:var(--m-shadow)}
  .m-filters__head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--m-line)}
  .m-filters__body{flex:1;overflow:auto;padding:18px}
  .m-filters__foot{display:block;padding:14px 18px;border-top:1px solid var(--m-line)}
  .m-body ul.products{gap:12px}
  .m-pcard__body{padding:12px 12px 4px}
  .m-pcard__title{font-size:14px}
  .m-pcard__price{font-size:18px}
  .m-pcard__cta{padding:4px 12px 14px}
  .m-body .m-pcard .m-pcard__cta .button,.m-body .m-pcard .m-pcard__cta a.button{font-size:12.5px;padding:0 6px;min-height:40px;white-space:nowrap}
  .m-pcard__badge{top:8px;left:8px;font-size:11px;padding:4px 8px}
}
/* ==========================================================================
   Scheda prodotto e mini carrello
   ========================================================================== */
.m-body.single-product div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 56px;align-items:start}
.m-body.single-product div.product>*{grid-column:1/-1}
.m-body.single-product div.product .woocommerce-product-gallery,.m-body.single-product div.product div.images{grid-column:1;float:none!important;width:100%!important;margin:0!important;position:relative}
.m-body.single-product div.product .summary{grid-column:2;float:none!important;width:100%!important;margin:0!important;display:flex;flex-direction:column;gap:20px}
.m-body.single-product div.product .woocommerce-notices-wrapper{grid-column:1/-1}

.m-body .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{margin:0}
.m-body .woocommerce-product-gallery__image{background:var(--m-surface);border-radius:24px;overflow:hidden}
.m-body .woocommerce-product-gallery__image img{mix-blend-mode:multiply;padding:6%;display:block;margin:0 auto}
.m-body .woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:12px;margin:16px 0 0;padding:0;list-style:none}
.m-body .woocommerce-product-gallery .flex-control-thumbs li{width:72px;float:none;margin:0}
.m-body .woocommerce-product-gallery .flex-control-thumbs img{border:1px solid var(--m-line);border-radius:12px;background:var(--m-surface);opacity:.7;cursor:pointer;mix-blend-mode:multiply}
.m-body .woocommerce-product-gallery .flex-control-thumbs img.flex-active,.m-body .woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1;border-color:var(--m-blue)}
.m-body .woocommerce-product-gallery__trigger{position:absolute;top:14px;right:14px;z-index:5;background:#fff;border-radius:50%;width:40px;height:40px;text-indent:-9999px}
.m-body .woocommerce-product-gallery__trigger::before{top:11px;left:11px}

.m-sp-head .m-eyebrow{margin-bottom:10px}
.m-sp-head .m-eyebrow a:hover{text-decoration:underline}
.m-sp-title{font-size:40px;line-height:1.1}
.m-sp-price{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.m-sp-price__main{font:800 36px/1.1 var(--m-font-b)}
.m-sp-price__main del{font-size:20px;font-weight:600;color:var(--m-muted);margin-right:8px}
.m-sp-price__main ins{text-decoration:none}
.m-sp-price__per{font-size:15px;color:var(--m-muted)}

.m-packs{display:flex;gap:12px}
.m-pack{flex:1 1 0;position:relative;border:2px solid var(--m-line-2);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:2px;background:#fff}
.m-pack:hover{border-color:var(--m-blue)}
.m-pack strong{font-size:15px;font-weight:800}
.m-pack span{font-size:13px;color:var(--m-muted)}
.m-pack.is-current{border-color:var(--m-blue);background:var(--m-blue-soft)}
.m-pack.is-current strong{color:var(--m-blue)}
.m-pack__tag{position:absolute;top:-11px;right:12px;background:var(--m-amber);color:var(--m-ink);font:800 11px/1 var(--m-font-b);padding:4px 9px;border-radius:999px;font-style:normal}

/* Modulo di acquisto e opzioni gradazione (Extra Product Options) */
.m-body .summary form.cart{display:flex;flex-wrap:wrap;gap:14px 12px;align-items:center;margin:0}
.m-body .summary form.cart .tc-extra-product-options,.m-body .summary form.cart .tm-extra-product-options{order:-2;flex:0 0 100%;width:100%;margin:0}
.m-body .tc-extra-product-options{border:1px solid var(--m-line);border-radius:16px;padding:20px 20px 8px;background:#fff}
.m-body .tc-extra-product-options::before{content:"La tua prescrizione";display:block;font:800 15px var(--m-font-b);margin-bottom:12px}
.m-body .tc-extra-product-options ul{list-style:none;margin:0;padding:0}
.m-body .tc-extra-product-options .tc-epo-label,.m-body .tm-epo-element-label{display:block;font:800 14px var(--m-font-b);margin:0 0 8px;color:var(--m-ink)}
.m-body .tc-extra-product-options select{width:100%;min-height:48px;border:1px solid var(--m-line-2);border-radius:12px;padding:0 14px;font:500 15px var(--m-font-b);background:#fff}
.m-body .tc-extra-product-options .tm-epo-field-label,.m-body .tc-extra-product-options .tc-row{margin-bottom:14px}
.m-body .tc-extra-product-options .tmcp-field-wrap,.m-body .tc-extra-product-options .tm-epo-field-label,.m-body .tc-extra-product-options .tc-element-container,.m-body .tc-extra-product-options .tmcp-ul-wrap{display:block;width:100%;float:none}
.m-body .tc-extra-product-options .tm-epo-required{color:var(--m-red);margin-left:3px}
.m-body .tc-epo-totals,.m-body .tc-price-wrap{font-size:14px;color:var(--m-muted)}
.m-body .tc-totals-form,.m-body .tm-final-totals{margin:0 0 12px}
.m-body .summary .quantity{display:inline-flex;align-items:center;border:1px solid var(--m-line-2);border-radius:999px;height:54px;overflow:hidden;background:#fff}
.m-body .summary .quantity input.qty{width:56px;min-height:0;height:52px;border:0;text-align:center;font:800 16px var(--m-font-b);padding:0;background:transparent;-moz-appearance:textfield}
.m-body .summary .quantity input.qty::-webkit-outer-spin-button,.m-body .summary .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.m-body .summary .single_add_to_cart_button{flex:1 1 220px;min-height:54px;font-size:16px}
.m-body .summary .stock{margin:0;font-weight:700;color:var(--m-green);order:-1}
.m-body .summary .stock.out-of-stock{color:var(--m-red)}

.m-trustlist{list-style:none;margin:0;padding:18px 0 0;border-top:1px solid var(--m-line);display:flex;flex-direction:column;gap:12px}
.m-trustlist li{display:flex;gap:12px;align-items:center;font-size:14px;line-height:1.45}
.m-trustlist .m-i{color:var(--m-green)}
.m-trustlist a{color:var(--m-blue);text-decoration:underline;font-weight:700}

.m-sp-details{display:flex;gap:56px;align-items:flex-start;margin-top:64px}
.m-sp-details__desc{flex:1.4 1 0;min-width:0}
.m-sp-details__specs{flex:1 1 0;min-width:0}
.m-sp-details h2{font-size:30px;margin-bottom:16px}
.m-specs{margin:0}
.m-specs>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--m-line);font-size:15px}
.m-specs dt{color:var(--m-muted)}
.m-specs dd{margin:0;font-weight:700;text-align:right}
.m-body .related.products,.m-body .upsells.products{margin-top:72px}
.m-body .related.products>h2,.m-body .upsells.products>h2{font-size:30px;margin-bottom:24px}
.m-body .onsale{display:none}

/* Mini carrello */
.m-drawer--cart{width:min(420px,100vw)}
.m-drawer--cart .widget_shopping_cart_content{display:flex;flex-direction:column;height:100%;min-height:0}
.m-minicart{display:flex;flex-direction:column;height:100%;min-height:0}
.m-minicart__head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px 12px 22px;border-bottom:1px solid var(--m-line)}
.m-minicart__head h2{font-size:24px}
.m-minicart__head h2 span{font:600 15px var(--m-font-b);color:var(--m-muted)}
.m-ship{background:var(--m-blue-soft);padding:14px 22px}
.m-ship__text{margin:0 0 10px;font-size:14px;line-height:1.4}
.m-ship__bar{height:8px;border-radius:999px;background:#fff;overflow:hidden}
.m-ship__bar span{display:block;height:100%;background:var(--m-blue);border-radius:999px;transition:width .3s}
.m-minicart__list{list-style:none;margin:0;padding:0 22px;overflow:auto;flex:1}
.m-mc-item{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid var(--m-line);margin:0}
.m-mc-item__img{width:84px;height:84px;flex:none;background:var(--m-surface);border-radius:12px;display:flex;align-items:center;justify-content:center}
.m-mc-item__img img{max-width:86%;max-height:86%;object-fit:contain;mix-blend-mode:multiply;margin:0;width:auto;height:auto}
.m-mc-item__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.m-mc-item__top{display:flex;justify-content:space-between;gap:10px}
.m-mc-item__name{margin:0;font-weight:800;font-size:15px;line-height:1.3}
.m-mc-item__remove{flex:none;width:32px;height:32px;margin:-6px -6px 0 0;display:inline-flex;align-items:center;justify-content:center;color:var(--m-muted);border-radius:50%}
.m-mc-item__remove:hover{background:var(--m-surface);color:var(--m-red)}
.m-mc-item dl.variation{margin:0;font-size:13px;color:var(--m-muted);line-height:1.5}
.m-mc-item dl.variation dt,.m-mc-item dl.variation dd{display:inline;margin:0;float:none}
.m-mc-item dl.variation dd p{display:inline;margin:0}
.m-mc-item dl.variation dt{font-weight:600}
.m-mc-item__bottom{display:flex;align-items:center;justify-content:space-between;margin-top:4px}
.m-qty{display:inline-flex;align-items:center;border:1px solid var(--m-line-2);border-radius:999px;height:38px}
.m-qty__btn{width:36px;height:38px;border:0;background:transparent;font-size:18px;cursor:pointer;color:var(--m-ink);border-radius:50%}
.m-qty__btn:hover{background:var(--m-surface)}
.m-qty__val{min-width:22px;text-align:center;font-weight:800;font-size:14px}
.m-mc-item__price{font-weight:800;font-size:17px}
.m-minicart.is-busy .m-minicart__list{opacity:.5;pointer-events:none}
.m-minicart__foot{border-top:1px solid var(--m-line);padding:16px 22px 22px;display:flex;flex-direction:column;gap:10px}
.m-minicart__sub{display:flex;justify-content:space-between;align-items:baseline}
.m-minicart__sub span{font-weight:700}
.m-minicart__sub strong{font-size:24px}
.m-minicart__note{margin:0;font-size:12px;color:var(--m-muted)}
.m-minicart__link{text-align:center;font-weight:700;font-size:14px;color:var(--m-blue);text-decoration:underline;padding:6px}
.m-minicart__link--btn{background:none;border:0;cursor:pointer;font-family:inherit}
.m-minicart__empty{padding:28px 22px;display:flex;flex-direction:column;gap:12px}
.m-minicart__empty p{margin:0}

@media (max-width:860px){
  .m-body.single-product div.product{display:block}
  .m-body.single-product div.product .summary{margin-top:22px!important;gap:16px}
  .m-sp-title{font-size:30px}
  .m-sp-price__main{font-size:32px}
  .m-sp-details{flex-direction:column;gap:28px;margin-top:40px}
  .m-sp-details h2{font-size:24px}
  .m-body .related.products,.m-body .upsells.products{margin-top:44px}
  .m-body .related.products>h2{font-size:24px}
  .m-body .summary form.cart .single_add_to_cart_button{flex-basis:100%}
}

/* Promemoria di riordino nella scheda prodotto */
.m-remind{flex:0 0 100%;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;background:var(--m-surface);border-radius:14px;padding:14px 16px;order:5}
.m-remind>.m-i{color:var(--m-blue)}
.m-remind__label{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;cursor:pointer;margin:0}
.m-remind select{width:auto!important;min-height:36px!important;padding:0 10px!important;font-size:14px!important;border-radius:8px!important}
.m-remind__note{flex:0 0 100%;font-size:12px;color:var(--m-muted)}
/* ==========================================================================
   Carrello, cassa, account, pagine di testo
   ========================================================================== */
.m-wrap--narrow{max-width:860px}
.m-meta{color:var(--m-muted);font-size:14px;margin:-12px 0 20px}
.m-hero-img{border-radius:var(--m-radius);margin-bottom:28px;display:block}
.m-postlist{list-style:none;margin:28px 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.m-postlist__item a{display:flex;flex-direction:column;gap:8px;padding:24px}
.m-postlist__item span{color:var(--m-muted);font-size:15px}
.m-404{padding-bottom:40px}
.m-404 .m-search{background:#fff;margin:22px 0}
.m-body .woocommerce{width:100%}
.m-main--page>.m-wrap>.woocommerce,.m-prose--page .woocommerce{max-width:none}
.m-prose--page{max-width:none}
.m-prose--page>p,.m-prose--page>ul,.m-prose--page>ol,.m-prose--page>h2,.m-prose--page>h3{max-width:820px}

/* Tabelle WooCommerce */
.m-body table.shop_table{border:0;border-collapse:collapse;width:100%;margin:0}
.m-body table.shop_table th{font:700 13px var(--m-font-b);text-transform:uppercase;letter-spacing:.05em;color:var(--m-muted);border:0;border-bottom:1px solid var(--m-line);padding:12px 10px;text-align:left;background:transparent}
.m-body table.shop_table td{border:0;border-bottom:1px solid var(--m-line);padding:18px 10px;vertical-align:middle;background:transparent}
.m-body table.shop_table td.product-name a{font-weight:800;color:var(--m-ink)}
.m-body table.shop_table td.product-name a:hover{color:var(--m-blue)}
.m-body table.shop_table dl.variation{margin:6px 0 0;font-size:13px;color:var(--m-muted)}
.m-body table.shop_table dl.variation dt,.m-body table.shop_table dl.variation dd{display:inline;margin:0}
.m-body table.shop_table dl.variation p{display:inline;margin:0}
.m-body table.shop_table .product-thumbnail img{width:84px;height:84px;object-fit:contain;background:var(--m-surface);border-radius:12px;padding:6px;mix-blend-mode:multiply}
.m-body table.shop_table a.remove{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;color:var(--m-muted)!important;background:transparent;font-size:22px;line-height:1;font-weight:400}
.m-body table.shop_table a.remove:hover{background:#FDECEA;color:var(--m-red)!important}
.m-body .quantity .qty{width:72px;text-align:center;font-weight:800;min-height:46px}
.m-body .tm-epo-cart-edit-options,.m-body a.tm-cart-edit-options{font-size:12px;font-weight:700;color:var(--m-blue)!important;text-decoration:underline}

/* Carrello */
.m-body.woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:0 36px;align-items:start}
.m-body.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper,.m-body.woocommerce-cart .woocommerce>.woocommerce-info,.m-body.woocommerce-cart .woocommerce>.cart-empty,.m-body.woocommerce-cart .woocommerce>.return-to-shop{grid-column:1/-1}
.m-body.woocommerce-cart .woocommerce-cart-form{grid-column:1}
.m-body.woocommerce-cart .cart-collaterals{grid-column:2;width:auto;float:none;display:block}
.m-body.woocommerce-cart .cart_totals{float:none!important;width:100%!important;background:var(--m-surface);border-radius:var(--m-radius);padding:24px;margin:0}
.m-body .cart_totals h2{font-size:24px;margin-bottom:12px}
.m-body .cart_totals table.shop_table th,.m-body .cart_totals table.shop_table td{padding:12px 0;font-size:15px;text-transform:none;letter-spacing:0;color:var(--m-ink)}
.m-body .cart_totals .order-total td,.m-body .cart_totals .order-total th{font-size:19px;font-weight:800}
.m-body .wc-proceed-to-checkout{padding:16px 0 0}
.m-body .wc-proceed-to-checkout a.checkout-button{display:flex;width:100%;min-height:54px;font-size:16px;margin:0}
.m-body table.cart td.actions{padding:18px 0 0;border:0}
.m-body table.cart td.actions .coupon{display:flex;gap:10px;float:left;align-items:center}
.m-body table.cart td.actions .coupon input{width:200px;min-height:46px}
.m-body table.cart td.actions .coupon .button,.m-body table.cart td.actions>.button{min-height:46px}
.m-body table.cart td.actions>.button{float:right;background:#fff;color:var(--m-blue);border:1.5px solid var(--m-blue)}
.m-body table.cart td.actions>.button:hover{background:var(--m-blue);color:#fff}
.m-body .cart-empty{font-size:20px;font-weight:700;background:var(--m-surface);padding:32px;border-radius:var(--m-radius);text-align:center;margin:10px 0 20px}
.m-body .return-to-shop{text-align:center}

/* Cassa */
.m-body form.checkout{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:0 44px;align-items:start}
.m-body form.checkout #customer_details{grid-column:1;grid-row:1/span 3;float:none;width:100%}
.m-body form.checkout #customer_details .col-1,.m-body form.checkout #customer_details .col-2{float:none;width:100%;max-width:none}
.m-body form.checkout #order_review_heading{grid-column:2;grid-row:1;margin:0 0 14px;font-size:24px}
.m-body form.checkout #order_review{grid-column:2;grid-row:2;background:#fff;border:1px solid var(--m-line);border-radius:var(--m-radius);padding:22px;float:none;width:100%}
.m-body .woocommerce-billing-fields h3,.m-body .woocommerce-shipping-fields h3,.m-body .woocommerce-additional-fields h3{font-size:24px;margin:0 0 18px}
.m-body .woocommerce-billing-fields__field-wrapper,.m-body .woocommerce-shipping-fields__field-wrapper,.m-body .woocommerce-additional-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.m-body .form-row{margin:0 0 16px;padding:0;float:none;width:auto}
.m-body .form-row-wide,.m-body .form-row-first.form-row-wide{grid-column:1/-1}
.m-body .form-row label{display:block;margin-bottom:6px;font-weight:700;font-size:14px}
.m-body .form-row .required{color:var(--m-red);text-decoration:none}
.m-body .woocommerce-checkout-review-order-table th,.m-body .woocommerce-checkout-review-order-table td{padding:12px 0;font-size:14px;text-transform:none;letter-spacing:0;color:var(--m-ink)}
.m-body .woocommerce-checkout-review-order-table .product-name{font-weight:600;width:65%}
.m-body .woocommerce-checkout-review-order-table .order-total th,.m-body .woocommerce-checkout-review-order-table .order-total td{font-size:19px;font-weight:800}
.m-body #payment{background:transparent;border-radius:0;margin-top:14px}
.m-body #payment ul.payment_methods{list-style:none;margin:0;padding:0;border:0;display:flex;flex-direction:column;gap:10px}
.m-body #payment ul.payment_methods li{border:1.5px solid var(--m-line-2);border-radius:14px;padding:14px 16px;margin:0;background:#fff}
.m-body #payment ul.payment_methods li:has(input:checked){border-color:var(--m-blue);background:var(--m-blue-soft)}
.m-body #payment ul.payment_methods li label{display:inline;font-weight:800;font-size:15px;cursor:pointer;margin-left:8px}
.m-body #payment div.payment_box{background:transparent;color:var(--m-text-2);padding:10px 0 0 26px;margin:0;font-size:14px;line-height:1.5}
.m-body #payment div.payment_box::before{display:none}
.m-body #payment .place-order{padding:18px 0 0}
.m-body #payment #place_order{display:flex;width:100%;min-height:56px;font-size:17px;float:none}
.m-body .woocommerce-privacy-policy-text{font-size:12px;color:var(--m-muted);line-height:1.5}
.m-body .woocommerce-form-login-toggle .woocommerce-info,.m-body .woocommerce-form-coupon-toggle .woocommerce-info{margin-bottom:14px}
.m-body form.woocommerce-form-login,.m-body form.checkout_coupon{border:1px solid var(--m-line);border-radius:var(--m-radius);padding:22px;margin:0 0 24px}
.m-body.woocommerce-checkout .woocommerce>.woocommerce-notices-wrapper,.m-body.woocommerce-checkout .woocommerce-form-login-toggle,.m-body.woocommerce-checkout .woocommerce-form-coupon-toggle,.m-body.woocommerce-checkout form.woocommerce-form-login,.m-body.woocommerce-checkout form.checkout_coupon{max-width:none}

/* Account */
.m-body.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px minmax(0,1fr);gap:0 48px;align-items:start}
.m-body.woocommerce-account .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}
.m-body.woocommerce-account .woocommerce-MyAccount-navigation{float:none;width:auto}
.m-body.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.m-body.woocommerce-account .woocommerce-MyAccount-navigation li a{display:flex;align-items:center;gap:12px;height:48px;padding:0 16px;border-radius:12px;font-weight:600;font-size:15px}
.m-body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:var(--m-surface)}
.m-body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--m-blue-soft);color:var(--m-blue);font-weight:800}
.m-body.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto;min-width:0}
.m-body.woocommerce-account:not(.logged-in) .woocommerce{display:block}
.m-body .u-columns.col2-set,.m-body #customer_login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.m-body #customer_login .u-column1,.m-body #customer_login .u-column2{float:none;width:auto;border:1px solid var(--m-line);border-radius:var(--m-radius);padding:28px}
.m-body #customer_login h2{font-size:26px;margin-bottom:18px}
.m-body .woocommerce-form-login .button,.m-body .woocommerce-form-register .button{min-width:160px}
.m-body .woocommerce-MyAccount-content h2,.m-body .woocommerce-MyAccount-content h3{font-size:26px;margin-bottom:16px}
.m-body table.my_account_orders .button{min-height:38px;padding:0 16px;font-size:13px}

/* Pagina "Riordina" nell'account */
.m-reorder-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.m-reorder-head h2{font-size:40px!important;margin:0!important}
.m-reorder-head p{color:var(--m-muted);margin:8px 0 0}
.m-rlist{display:flex;flex-direction:column;gap:16px}
.m-rcard{display:flex;align-items:center;gap:20px;padding:20px 24px}
.m-rcard__img{width:104px;height:104px;flex:none;background:var(--m-surface);border-radius:14px;display:flex;align-items:center;justify-content:center}
.m-rcard__img img{max-width:86%;max-height:86%;object-fit:contain;mix-blend-mode:multiply}
.m-rcard__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.m-rcard__main strong{font:800 18px/1.3 var(--m-font-b)}
.m-rcard__main small{font-size:14px;color:var(--m-muted)}
.m-rcard__reminder{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--m-green)}
.m-rcard__reminder a{color:var(--m-blue);text-decoration:underline}
.m-rcard__side{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.m-rcard__price{font:800 22px var(--m-font-b)}
.m-rnote{background:var(--m-surface);border-radius:var(--m-radius);padding:20px 24px;margin-top:24px;display:flex;gap:16px;align-items:center}
.m-rnote .m-i{color:var(--m-blue)}

@media (max-width:1000px){
  .m-body.woocommerce-cart .woocommerce,.m-body form.checkout{display:block}
  .m-body.woocommerce-cart .cart-collaterals{margin-top:24px}
  .m-body form.checkout #order_review_heading{margin-top:28px}
}
@media (max-width:860px){
  .m-main--page{padding-top:24px}
  .m-main .entry-title{font-size:32px}
  .m-postlist{grid-template-columns:1fr}
  .m-body.woocommerce-account .woocommerce{display:block}
  .m-body.woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:24px}
  .m-body.woocommerce-account .woocommerce-MyAccount-navigation ul{flex-direction:row;flex-wrap:wrap}
  .m-body .u-columns.col2-set,.m-body #customer_login{grid-template-columns:1fr}
  .m-body .woocommerce-billing-fields__field-wrapper,.m-body .woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr}
  .m-body table.cart td.actions .coupon{float:none;flex-wrap:wrap}
  .m-body table.cart td.actions>.button{float:none;width:100%;margin-top:12px}
  .m-body table.shop_table_responsive tr td::before{font-weight:700;color:var(--m-muted)}
  .m-reorder-head{flex-direction:column;align-items:flex-start}
  .m-reorder-head h2{font-size:30px!important}
  .m-rcard{flex-wrap:wrap;padding:16px}
  .m-rcard__img{width:76px;height:76px}
  .m-rcard__side{flex-direction:row;align-items:center;justify-content:space-between;width:100%}
}

/* Correzioni di dettaglio */
.m-body .woocommerce-input-wrapper{display:block;width:100%}
.m-body table.cart td.actions .coupon input.input-text{width:210px!important;min-width:150px}
.m-body .woocommerce-checkout-review-order-table .product-total,.m-body .woocommerce-checkout-review-order-table td:last-child,.m-body .woocommerce-checkout-review-order-table tfoot td{text-align:right}
.m-body .woocommerce-checkout-review-order-table dl.variation{font-size:12px;color:var(--m-muted);margin:4px 0 0}
.m-body .woocommerce-checkout-review-order-table dl.variation dt,.m-body .woocommerce-checkout-review-order-table dl.variation dd{display:inline;margin:0}
.m-body .woocommerce-checkout-review-order-table dl.variation p{display:inline;margin:0}
.m-mc-item__remove.remove{color:var(--m-muted)!important;background:transparent;font-size:inherit;width:32px;height:32px}
.m-mc-item__remove.remove:hover{background:#FDECEA;color:var(--m-red)!important}

/* Riepilogo account */
.m-dash{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.m-dash__item{display:flex;flex-direction:column;gap:6px;padding:22px 24px}
.m-dash__item .m-i{color:var(--m-blue);margin-bottom:6px}
.m-dash__item strong{font:800 18px var(--m-font-b)}
.m-dash__item span{font-size:14px;color:var(--m-muted)}
.m-dash__item:hover{border-color:var(--m-blue)}
@media (max-width:860px){.m-dash{grid-template-columns:1fr}}

/* Accesso e registrazione: il clearfix di WooCommerce non deve occupare una cella */
.m-body .col2-set::before,.m-body .col2-set::after,.m-body #customer_login::before,.m-body #customer_login::after{display:none!important;content:none!important}
.m-body #customer_login .u-column1{grid-column:1;grid-row:1}
.m-body #customer_login .u-column2{grid-column:2;grid-row:1}
@media (max-width:860px){.m-body #customer_login .u-column2{grid-column:1;grid-row:2}}

/* L'avviso "ti mancano X € per la spedizione gratuita" resta nel carrello, non in cassa */
.m-body.woocommerce-checkout .woocommerce-cart-notice{display:none}
