
:root{--mw-carbon:#0B0C0E;--mw-carbon-2:#13161B;--mw-line:#272D36;--mw-ink:#14161A;--mw-lime:#6ABF23;--mw-lime-hi:#8FE23C;--mw-red:#E01F26}
.mw-wc-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem}.mw-wc-category-card{position:relative;display:block;overflow:hidden;background:var(--mw-carbon-2);border:1px solid var(--mw-line);min-height:260px;text-decoration:none!important;clip-path:polygon(0 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%);transition:.22s}.mw-wc-category-card:hover{transform:translateY(-6px);border-color:var(--mw-lime);box-shadow:0 20px 46px -24px rgba(0,0,0,.75)}.mw-wc-category-media{display:block;position:absolute;inset:0}.mw-wc-category-media::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(5,7,8,.94) 0%,rgba(5,7,8,.22) 56%,rgba(5,7,8,.04) 100%)}.mw-wc-category-card img{width:100%;height:100%;object-fit:cover;transform:scale(1.01);transition:.45s}.mw-wc-category-card:hover img{transform:scale(1.06);filter:saturate(1.08) contrast(1.04)}.mw-wc-category-label{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:1.1rem}.mw-wc-category-label b{color:#fff;font-family:"Big Shoulders Display",Impact,sans-serif;text-transform:uppercase;font-size:1.45rem}.mw-wc-category-label i{color:var(--mw-lime);font-style:normal;font-size:1.4rem}.mw-cat-admin-note{padding:1rem;border-left:4px solid var(--mw-lime);background:#fff;color:var(--mw-ink)}
@media(max-width:980px){.mw-wc-category-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.mw-wc-category-grid{grid-template-columns:1fr}.mw-wc-category-card{min-height:230px}}
.woocommerce .button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce-page .button{border:0!important;border-radius:0!important;background:var(--mw-lime)!important;color:var(--mw-carbon)!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.08em!important;padding:.85rem 1.2rem!important;min-height:46px!important;clip-path:polygon(7px 0,100% 0,calc(100% - 7px) 100%,0 100%);box-shadow:none!important}.woocommerce .button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce a.button:hover{background:var(--mw-lime-hi)!important;color:var(--mw-carbon)!important}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.woocommerce .select2-container .select2-selection{border:1px solid #cfd4d8!important;border-radius:0!important;background:#fff!important;min-height:48px;padding:.75rem .85rem!important;box-shadow:none!important}.woocommerce input.input-text:focus,.woocommerce textarea:focus,.woocommerce select:focus{border-color:var(--mw-lime)!important;outline:none!important}.woocommerce .woocommerce-error,.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{border-top:0!important;border-left:4px solid var(--mw-lime)!important;background:#fff!important;color:var(--mw-ink)!important}.woocommerce .woocommerce-error{border-left-color:var(--mw-red)!important}
.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce,.woocommerce-account .woocommerce{max-width:1180px;margin-inline:auto;padding:3rem 22px}.woocommerce-cart table.shop_table{border:1px solid #dfe2dc!important;border-radius:0!important;background:#fff}.woocommerce-cart table.shop_table th{background:var(--mw-carbon)!important;color:#fff!important;text-transform:uppercase;letter-spacing:.1em}.woocommerce-cart .cart_totals,.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review,.woocommerce-account .woocommerce-MyAccount-content{background:#fff;border:1px solid #dfe2dc;padding:1.5rem}.woocommerce-checkout #payment{background:var(--mw-carbon)!important;color:#fff!important;border-radius:0!important}.woocommerce-checkout #payment div.payment_box{background:var(--mw-carbon-2)!important;color:#dfe4da!important;border-radius:0!important}.woocommerce-account .woocommerce-MyAccount-navigation{background:var(--mw-carbon);padding:.75rem}.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;color:#fff!important;padding:.82rem .9rem;border-bottom:1px solid var(--mw-line);text-decoration:none!important;font-weight:700}.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:var(--mw-lime);color:var(--mw-carbon)!important}.woocommerce ul.products li.product{background:#fff;border:1px solid #e0e3dc;padding:0 0 1rem!important;transition:.2s}.woocommerce ul.products li.product:hover{transform:translateY(-4px);border-color:var(--mw-lime)}.woocommerce span.onsale{border-radius:0!important;background:var(--mw-red)!important;min-height:auto!important;line-height:1!important;padding:.5rem .7rem!important}
@media(max-width:768px){.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce,.woocommerce-account .woocommerce{padding:2rem 16px}.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%;margin:0 0 1rem}}

/* === MOTOR WORLD SHOP: FULL-BLEED REALE ===
   Elementor/tema possono imporre max-width ai wrapper della pagina Shop.
   Il layout premium viene intenzionalmente portato fuori dal wrapper e usa quasi tutto il viewport.
*/
body.woocommerce-shop .mi-shop-wrap,
body.post-type-archive-product .mi-shop-wrap,
body.woocommerce-shop .mi-shop-vetrina,
body.post-type-archive-product .mi-shop-vetrina{
  width:calc(100vw - 32px)!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw + 16px)!important;
  margin-right:calc(50% - 50vw + 16px)!important;
  box-sizing:border-box!important;
}

/* Lo shortcode puo essere usato anche dentro la pagina Shop costruita con Elementor. */
body.woocommerce-shop .elementor-widget-shortcode,
body.woocommerce-shop .elementor-shortcode,
body.post-type-archive-product .elementor-widget-shortcode,
body.post-type-archive-product .elementor-shortcode{
  max-width:none!important;
}

/* Evita tagli orizzontali causati da wrapper del tema, ma non tocca il resto del sito. */
body.woocommerce-shop,
body.post-type-archive-product{
  overflow-x:clip;
}

@supports not (overflow:clip){
  body.woocommerce-shop,
  body.post-type-archive-product{overflow-x:hidden}
}

/* Su schermi molto larghi manteniamo il layout leggibile ma ampio. */
@media(min-width:1800px){
  body.woocommerce-shop .mi-shop-wrap,
  body.post-type-archive-product .mi-shop-wrap,
  body.woocommerce-shop .mi-shop-vetrina,
  body.post-type-archive-product .mi-shop-vetrina{
    width:min(1760px,calc(100vw - 40px))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

@media(max-width:767px){
  body.woocommerce-shop .mi-shop-wrap,
  body.post-type-archive-product .mi-shop-wrap,
  body.woocommerce-shop .mi-shop-vetrina,
  body.post-type-archive-product .mi-shop-vetrina{
    width:calc(100vw - 16px)!important;
    margin-left:calc(50% - 50vw + 8px)!important;
    margin-right:calc(50% - 50vw + 8px)!important;
  }
}


/* ============================================================
   MOTOR WORLD 2.0.4 — SHOP / CART / CHECKOUT POLISH
   ============================================================ */
:root{
  --mw-page:#EEF0EA;
  --mw-panel:#17202A;
  --mw-panel-2:#202A35;
  --mw-border:#D5DBD3;
  --mw-text:#15181C;
  --mw-muted:#66707A;
}

/* L'host Elementor dello shop non deve lasciare il vecchio rettangolo nero. */
body.woocommerce-shop .mw-shop-host,
body.post-type-archive-product .mw-shop-host{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border:0!important;
  min-height:0!important;
}
body.woocommerce-shop .mw-shop-host.e-con,
body.post-type-archive-product .mw-shop-host.e-con{
  --background-transition:0s!important;
}

/* Il fondo dello shop resta dentro lo stesso respiro laterale dell'header. */
body.woocommerce-shop .mi-shop-wrap,
body.post-type-archive-product .mi-shop-wrap{
  width:calc(100vw - 16px)!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw + 8px)!important;
  margin-right:calc(50% - 50vw + 8px)!important;
  margin-top:8px!important;
  padding:30px 20px 58px!important;
  background:var(--mw-page)!important;
  box-shadow:none!important;
  clip-path:none!important;
}
@media(min-width:1800px){
  body.woocommerce-shop .mi-shop-wrap,
  body.post-type-archive-product .mi-shop-wrap{
    width:min(1760px,calc(100vw - 16px))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}
@media(max-width:767px){
  body.woocommerce-shop .mi-shop-wrap,
  body.post-type-archive-product .mi-shop-wrap{
    width:calc(100vw - 12px)!important;
    margin-left:calc(50% - 50vw + 6px)!important;
    margin-right:calc(50% - 50vw + 6px)!important;
    padding:18px 12px 38px!important;
  }
}

/* Toolbar: pulita e leggibile. */
.mi-shop-wrap .mi-shop-toolbar{
  border:1px solid var(--mw-border)!important;
  background:#fff!important;
  border-radius:0!important;
  padding:12px!important;
  box-shadow:0 10px 24px rgba(15,22,28,.05)!important;
}
.mi-shop-wrap .mi-shop-search input,
.mi-shop-wrap .mi-shop-filters select{
  height:50px!important;
  border:1px solid #CBD2CA!important;
  border-radius:0!important;
  background:#fff!important;
  color:#161A1E!important;
  opacity:1!important;
  -webkit-text-fill-color:#161A1E!important;
}
.mi-shop-wrap .mi-shop-filters select option{color:#161A1E!important;background:#fff!important}
.mi-shop-wrap .mi-shop-search input::placeholder{color:#707985!important;opacity:1!important}

/* Cerca e CTA: verde Motor World, testo scuro, taglio racing. */
.mi-shop-wrap .mi-shop-btn,
.mi-shop-wrap button.mi-shop-btn,
.mi-shop-wrap a.mi-shop-btn{
  border-radius:0!important;
  min-height:46px!important;
  line-height:1!important;
  transform:none!important;
}
.mi-shop-wrap .mi-shop-btn--solid,
.mi-shop-wrap button.mi-shop-btn--solid,
.mi-shop-wrap a.mi-shop-btn--solid{
  background:#6ABF23!important;
  border-color:#6ABF23!important;
  color:#0B0C0E!important;
}
.mi-shop-wrap .mi-shop-btn--solid:hover,
.mi-shop-wrap button.mi-shop-btn--solid:hover,
.mi-shop-wrap a.mi-shop-btn--solid:hover{
  background:#8FE23C!important;
  border-color:#8FE23C!important;
  color:#0B0C0E!important;
}

/* Quick cart: i controlli quantità sono centrati e verdi, non ereditano colori del tema. */
.mi-shop-wrap .mi-quickcart-card{
  background:#1A232D!important;
  border:1px solid #35424E!important;
  border-radius:0!important;
  box-shadow:0 14px 30px rgba(11,14,18,.10)!important;
}
.mi-shop-wrap .mi-quickcart-qtyrow{
  display:inline-grid!important;
  grid-template-columns:28px 26px 28px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  min-height:28px!important;
}
.mi-shop-wrap .mi-quickcart-qtybtn,
.mi-shop-wrap button.mi-quickcart-qtybtn{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  min-width:28px!important;
  height:28px!important;
  min-height:28px!important;
  margin:0!important;
  padding:0 0 2px!important;
  border:1px solid #6ABF23!important;
  border-radius:0!important;
  background:#6ABF23!important;
  color:#0B0C0E!important;
  font-family:Arial,sans-serif!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1!important;
  text-align:center!important;
  box-shadow:none!important;
  clip-path:polygon(5px 0,100% 0,calc(100% - 5px) 100%,0 100%)!important;
  transform:none!important;
}
.mi-shop-wrap .mi-quickcart-qtybtn:hover{background:#8FE23C!important;border-color:#8FE23C!important;color:#0B0C0E!important}
.mi-shop-wrap .mi-quickcart-qty{
  display:grid!important;
  place-items:center!important;
  min-width:26px!important;
  height:28px!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  line-height:1!important;
}
.mi-shop-wrap .mi-quickcart-remove,
.mi-shop-wrap button.mi-quickcart-remove{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  min-width:28px!important;
  height:28px!important;
  min-height:28px!important;
  margin:0!important;
  padding:0 0 2px!important;
  border:1px solid #6ABF23!important;
  border-radius:0!important;
  background:#6ABF23!important;
  color:#0B0C0E!important;
  font-family:Arial,sans-serif!important;
  font-size:17px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:none!important;
  clip-path:polygon(5px 0,100% 0,calc(100% - 5px) 100%,0 100%)!important;
  transform:none!important;
}
.mi-shop-wrap .mi-quickcart-remove:hover{background:#8FE23C!important;border-color:#8FE23C!important;color:#0B0C0E!important}

/* CART — più professionale, più gerarchia visiva. */
body.woocommerce-cart{background:#fff}
body.woocommerce-cart .woocommerce{
  max-width:1180px!important;
  margin:0 auto!important;
  padding:56px 22px 64px!important;
}
body.woocommerce-cart .woocommerce-cart-form{
  background:#fff;
  border:1px solid var(--mw-border);
  box-shadow:0 16px 38px rgba(17,24,39,.06);
}
body.woocommerce-cart table.shop_table{
  border:0!important;
  margin:0!important;
  border-collapse:collapse!important;
}
body.woocommerce-cart table.shop_table thead th{
  padding:15px 12px!important;
  background:#11171D!important;
  color:#fff!important;
  border:0!important;
  letter-spacing:.10em!important;
  font-size:.78rem!important;
}
body.woocommerce-cart table.shop_table td{
  padding:14px 12px!important;
  background:#F7F8F5!important;
  border-top:1px solid #D9DDD5!important;
  vertical-align:middle!important;
}
body.woocommerce-cart table.shop_table td.product-name a{color:#D92C52!important;font-weight:700!important}
body.woocommerce-cart table.shop_table td.product-remove a.remove{
  display:grid!important;place-items:center!important;
  width:28px!important;height:28px!important;
  margin:auto!important;border-radius:0!important;
  background:#6ABF23!important;color:#0B0C0E!important;
  font-size:20px!important;line-height:1!important;
  clip-path:polygon(5px 0,100% 0,calc(100% - 5px) 100%,0 100%);
}
body.woocommerce-cart .quantity .qty{
  width:62px!important;height:46px!important;border:1px solid #CCD2CB!important;
  border-radius:0!important;background:#fff!important;color:#14161A!important;text-align:center!important;
}
body.woocommerce-cart .coupon{display:flex!important;gap:8px!important;align-items:center!important}
body.woocommerce-cart .coupon .input-text{min-width:160px!important;margin:0!important}
body.woocommerce-cart .actions{padding:12px!important;background:#F0F2ED!important}
body.woocommerce-cart .cart-collaterals{display:flex!important;justify-content:flex-end!important;margin-top:26px!important}
body.woocommerce-cart .cart_totals{
  float:none!important;width:min(100%,510px)!important;
  border:1px solid var(--mw-border)!important;background:#fff!important;
  padding:22px!important;box-shadow:0 16px 38px rgba(17,24,39,.06)!important;
}
body.woocommerce-cart .cart_totals h2{
  font-family:"Big Shoulders Display",Impact,sans-serif!important;
  font-size:2rem!important;text-transform:uppercase!important;margin:0 0 14px!important;
}
body.woocommerce-cart .cart_totals table{border:1px solid #D5DBD3!important}
body.woocommerce-cart .cart_totals th{background:#11171D!important;color:#fff!important;text-transform:uppercase!important;letter-spacing:.08em!important}
body.woocommerce-cart .wc-proceed-to-checkout{padding-bottom:0!important}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  font-size:1.05rem!important;letter-spacing:.10em!important;min-height:52px!important;
}

/* CHECKOUT CLASSICO + BLOCCHI WOO: stile Motor World completo. */
body.woocommerce-checkout{background:#fff}
body.woocommerce-checkout .woocommerce{
  max-width:1180px!important;margin:0 auto!important;padding:54px 22px 68px!important;
}
body.woocommerce-checkout form.checkout{display:block!important}
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout #order_review_heading{
  border-radius:0!important;
}
body.woocommerce-checkout #customer_details{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;
  border:0!important;background:transparent!important;padding:0!important;
}
body.woocommerce-checkout #customer_details>div{
  float:none!important;width:auto!important;
  border:1px solid var(--mw-border)!important;background:#fff!important;
  padding:22px!important;box-shadow:0 14px 34px rgba(17,24,39,.05)!important;
}
body.woocommerce-checkout h3{
  font-family:"Big Shoulders Display",Impact,sans-serif!important;
  font-size:1.7rem!important;text-transform:uppercase!important;letter-spacing:.02em!important;
  color:#14161A!important;margin:0 0 16px!important;
}
body.woocommerce-checkout #order_review_heading{margin-top:28px!important}
body.woocommerce-checkout #order_review{
  border:1px solid var(--mw-border)!important;background:#fff!important;
  padding:22px!important;box-shadow:0 14px 34px rgba(17,24,39,.05)!important;
}
body.woocommerce-checkout table.shop_table{border-radius:0!important;border:1px solid #D5DBD3!important}
body.woocommerce-checkout table.shop_table th{background:#11171D!important;color:#fff!important;text-transform:uppercase!important;letter-spacing:.08em!important}
body.woocommerce-checkout #payment{background:#19222C!important;border-radius:0!important;color:#fff!important}
body.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid #34414D!important}
body.woocommerce-checkout #payment div.payment_box{background:#222D38!important;color:#E6EAE5!important;border-radius:0!important}
body.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:#222D38!important}
body.woocommerce-checkout #payment label{color:#fff!important;font-weight:700!important}
body.woocommerce-checkout #place_order{width:100%!important;min-height:54px!important;font-size:1rem!important}

/* WooCommerce Blocks checkout/cart */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wc-block-checkout{
  max-width:1180px!important;margin:0 auto!important;padding:50px 22px 68px!important;
}
.wc-block-components-button:not(.is-link){
  border-radius:0!important;background:#6ABF23!important;color:#0B0C0E!important;
  font-weight:800!important;text-transform:uppercase!important;letter-spacing:.06em!important;
  clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)!important;
}
.wc-block-components-button:not(.is-link):hover{background:#8FE23C!important;color:#0B0C0E!important}
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select{
  border-radius:0!important;border-color:#CBD2CA!important;background:#fff!important;color:#14161A!important;
}
.wc-block-components-order-summary,
.wc-block-checkout__order-notes,
.wc-block-checkout__payment-method,
.wc-block-components-checkout-step{
  border-radius:0!important;
}

@media(max-width:800px){
  body.woocommerce-checkout #customer_details{grid-template-columns:1fr!important}
  body.woocommerce-cart .cart-collaterals{display:block!important}
  body.woocommerce-cart .cart_totals{width:100%!important}
}


/* ============================================================
   MOTOR WORLD 2.0.5 — STABILITY + SPACING
   ============================================================ */
body.woocommerce-shop .mw-shop-host,
body.post-type-archive-product .mw-shop-host{
  background:transparent!important;background-image:none!important;
  min-height:0!important;height:auto!important;box-shadow:none!important;
  padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important;
}
body.woocommerce-shop .mi-shop-wrap,
body.post-type-archive-product .mi-shop-wrap{
  width:min(1480px,calc(100vw - 44px))!important;
  margin:12px auto 0!important;
  padding:24px 18px 50px!important;
  background:#EEF0EA!important;
  box-shadow:none!important;
}
body.woocommerce-shop .mi-shop-hero-copy,
body.post-type-archive-product .mi-shop-hero-copy{margin:0!important}
body.woocommerce-shop .mi-shop-toolbar,
body.post-type-archive-product .mi-shop-toolbar{margin-top:12px!important}
.mi-shop-wrap .mi-quickcart-qtybtn,
.mi-shop-wrap button.mi-quickcart-qtybtn,
.mi-shop-wrap .mi-quickcart-remove,
.mi-shop-wrap button.mi-quickcart-remove{
  color:#0B0C0E!important;background:#6ABF23!important;border-color:#6ABF23!important;
  transform:none!important;vertical-align:middle!important;padding:0!important;
  line-height:28px!important;text-align:center!important;
}
.mi-shop-wrap .mi-quickcart-qtybtn:hover,
.mi-shop-wrap .mi-quickcart-remove:hover{background:#8FE23C!important;border-color:#8FE23C!important}

/* CART refinements */
body.woocommerce-cart .woocommerce{max-width:1240px!important}
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals{border-color:#D7DDD5!important;box-shadow:0 14px 36px rgba(20,26,31,.07)!important}
body.woocommerce-cart table.shop_table td.product-name a{color:#14161A!important;font-weight:800!important}
body.woocommerce-cart table.shop_table td.product-name a:hover{color:#478E12!important}
body.woocommerce-cart .cart_totals h2{font-family:"Big Shoulders Display",Impact,sans-serif!important;text-transform:uppercase!important;font-size:2rem!important}

/* CHECKOUT classic + blocks */
body.woocommerce-checkout{background:#F4F5F1!important}
body.woocommerce-checkout .woocommerce{max-width:1240px!important;margin:0 auto!important;padding:48px 22px 64px!important}
body.woocommerce-checkout form.checkout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(390px,.8fr)!important;gap:24px!important;align-items:start!important}
body.woocommerce-checkout #customer_details{grid-column:1!important;background:#fff!important;border:1px solid #D7DDD5!important;padding:22px!important;box-shadow:0 14px 36px rgba(20,26,31,.06)!important}
body.woocommerce-checkout #order_review_heading{grid-column:2!important;margin:0!important;background:#17202A!important;color:#fff!important;padding:18px 20px!important;text-transform:uppercase!important}
body.woocommerce-checkout #order_review{grid-column:2!important;background:#fff!important;border:1px solid #D7DDD5!important;padding:20px!important;box-shadow:0 14px 36px rgba(20,26,31,.06)!important}
body.woocommerce-checkout #payment{background:#17202A!important;border-radius:0!important}
body.woocommerce-checkout #place_order{width:100%!important;background:#6ABF23!important;color:#0B0C0E!important;font-weight:900!important}
.wc-block-checkout,.wc-block-cart{max-width:1240px!important;margin:0 auto!important;padding:48px 22px 64px!important}
.wc-block-components-sidebar-layout{gap:24px!important}
.wc-block-components-sidebar{background:#fff!important;border:1px solid #D7DDD5!important;padding:20px!important}
.wc-block-components-button{border-radius:0!important}
@media(max-width:900px){body.woocommerce-checkout form.checkout{display:block!important}body.woocommerce-checkout #order_review_heading{margin-top:20px!important}}


/* ============================================================
   MOTOR WORLD 2.0.6 — SHOP FINAL LAYOUT
   Non forza piu il full-bleed e non modifica gli ancestor Elementor.
   Lo shop si allinea al wrap dell'header e resta stabile.
   ============================================================ */
body.woocommerce-shop,
body.post-type-archive-product{background:#fff!important;overflow-x:hidden!important}

/* Neutralizza SOLO il widget che contiene effettivamente lo shortcode shop,
   senza risalire a cascata nei container Elementor. */
body.woocommerce-shop .elementor-widget-shortcode:has(.mi-shop-wrap),
body.post-type-archive-product .elementor-widget-shortcode:has(.mi-shop-wrap),
body.woocommerce-shop .elementor-widget-html:has(.mi-shop-wrap),
body.post-type-archive-product .elementor-widget-html:has(.mi-shop-wrap){
  margin:0!important;padding:0!important;background:transparent!important;
}
body.woocommerce-shop .elementor-widget-shortcode:has(.mi-shop-wrap)>.elementor-widget-container,
body.post-type-archive-product .elementor-widget-shortcode:has(.mi-shop-wrap)>.elementor-widget-container,
body.woocommerce-shop .elementor-widget-html:has(.mi-shop-wrap)>.elementor-widget-container,
body.post-type-archive-product .elementor-widget-html:has(.mi-shop-wrap)>.elementor-widget-container{
  margin:0!important;padding:0!important;background:transparent!important;
}

body.woocommerce-shop .mi-shop-wrap,
body.post-type-archive-product .mi-shop-wrap{
  /* 2.0.7: breakout reale dal wrapper Elementor, senza toccare gli ancestor. */
  width:calc(100vw - 28px)!important;
  max-width:none!important;
  margin-top:10px!important;
  margin-bottom:34px!important;
  margin-left:calc(50% - 50vw + 14px)!important;
  margin-right:calc(50% - 50vw + 14px)!important;
  padding:18px 18px 42px!important;
  background:#EEF0EA!important;
  box-shadow:none!important;
  clip-path:none!important;
  color:#14161A!important;
}
body.woocommerce-shop .mi-shop-hero,
body.post-type-archive-product .mi-shop-hero{margin:0 0 12px!important}
body.woocommerce-shop .mi-shop-hero-copy,
body.post-type-archive-product .mi-shop-hero-copy{
  margin:0!important;padding:22px 24px 24px!important;
  background:linear-gradient(135deg,#18212B,#11171D)!important;
  border:1px solid #2D3742!important;box-shadow:none!important;
}
body.woocommerce-shop .mi-shop-toolbar,
body.post-type-archive-product .mi-shop-toolbar{
  margin:0 0 18px!important;padding:10px!important;
  background:#fff!important;border:1px solid #D5DBD3!important;box-shadow:none!important;
  grid-template-columns:minmax(260px,1.55fr) minmax(0,2.45fr)!important;
}
body.woocommerce-shop .mi-shop-search input,
body.woocommerce-shop .mi-shop-filters select,
body.post-type-archive-product .mi-shop-search input,
body.post-type-archive-product .mi-shop-filters select{
  height:48px!important;border:1px solid #C8D0C7!important;background:#fff!important;
  color:#14161A!important;border-radius:0!important;box-shadow:none!important;
}
body.woocommerce-shop .mi-shop-filters,
body.post-type-archive-product .mi-shop-filters{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;
}
body.woocommerce-shop .mi-shop-layout,
body.post-type-archive-product .mi-shop-layout{
  display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;
  gap:22px!important;align-items:start!important;
}
body.woocommerce-shop .mi-shop-grid,
body.post-type-archive-product .mi-shop-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;align-items:stretch!important;
}
body.woocommerce-shop .mi-shop-card,
body.post-type-archive-product .mi-shop-card{
  min-width:0!important;border:1px solid #27303A!important;background:#13191F!important;
  box-shadow:0 10px 24px rgba(13,18,23,.08)!important;
}
body.woocommerce-shop .mi-shop-card-image,
body.post-type-archive-product .mi-shop-card-image{height:230px!important;background:#0D1217!important}
body.woocommerce-shop .mi-shop-quickcart,
body.post-type-archive-product .mi-shop-quickcart{position:sticky!important;top:96px!important;min-width:0!important}
body.woocommerce-shop .mi-quickcart-card,
body.post-type-archive-product .mi-quickcart-card{
  width:100%!important;overflow:hidden!important;background:#18212A!important;
  border:1px solid #33404D!important;padding:16px!important;box-shadow:0 12px 28px rgba(15,21,27,.10)!important;
}
body.woocommerce-shop .mi-quickcart-item,
body.post-type-archive-product .mi-quickcart-item{
  grid-template-columns:44px minmax(0,1fr) 28px!important;gap:8px!important;
}
body.woocommerce-shop .mi-quickcart-row-bottom,
body.post-type-archive-product .mi-quickcart-row-bottom{flex-wrap:nowrap!important;gap:7px!important}
body.woocommerce-shop .mi-quickcart-qtyrow,
body.post-type-archive-product .mi-quickcart-qtyrow{display:grid!important;grid-template-columns:28px 26px 28px!important;gap:4px!important;align-items:center!important}
body.woocommerce-shop .mi-quickcart-qtybtn,
body.post-type-archive-product .mi-quickcart-qtybtn,
body.woocommerce-shop .mi-quickcart-remove,
body.post-type-archive-product .mi-quickcart-remove{
  width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;
  margin:0!important;padding:0!important;display:grid!important;place-items:center!important;
  line-height:1!important;font-size:15px!important;font-family:Arial,sans-serif!important;font-weight:900!important;
  color:#0B0C0E!important;background:#6ABF23!important;border:1px solid #6ABF23!important;
  border-radius:0!important;transform:none!important;clip-path:polygon(5px 0,100% 0,calc(100% - 5px) 100%,0 100%)!important;
  text-indent:0!important;appearance:none!important;-webkit-appearance:none!important;
}
body.woocommerce-shop .mi-quickcart-qtybtn:hover,
body.post-type-archive-product .mi-quickcart-qtybtn:hover,
body.woocommerce-shop .mi-quickcart-remove:hover,
body.post-type-archive-product .mi-quickcart-remove:hover{background:#8FE23C!important;border-color:#8FE23C!important;color:#0B0C0E!important}
body.woocommerce-shop .mi-quickcart-item-meta em,
body.post-type-archive-product .mi-quickcart-item-meta em{font-size:11px!important;white-space:nowrap!important}

/* Elimina eventuale spazio vuoto del contenitore Elementor che ospita lo shop. */
body.woocommerce-shop main:has(.mi-shop-wrap),
body.post-type-archive-product main:has(.mi-shop-wrap){padding-top:0!important}

@media(max-width:1100px){
  body.woocommerce-shop .mi-shop-layout,body.post-type-archive-product .mi-shop-layout{grid-template-columns:1fr!important}
  body.woocommerce-shop .mi-shop-quickcart,body.post-type-archive-product .mi-shop-quickcart{position:relative!important;top:auto!important}
  body.woocommerce-shop .mi-shop-grid,body.post-type-archive-product .mi-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:820px){
  body.woocommerce-shop .mi-shop-toolbar,body.post-type-archive-product .mi-shop-toolbar{grid-template-columns:1fr!important}
  body.woocommerce-shop .mi-shop-filters,body.post-type-archive-product .mi-shop-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.woocommerce-shop .mi-shop-grid,body.post-type-archive-product .mi-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  body.woocommerce-shop .mi-shop-wrap,body.post-type-archive-product .mi-shop-wrap{width:calc(100vw - 16px)!important;margin-left:calc(50% - 50vw + 8px)!important;margin-right:calc(50% - 50vw + 8px)!important;padding:12px!important}
  body.woocommerce-shop .mi-shop-filters,body.post-type-archive-product .mi-shop-filters{grid-template-columns:1fr!important}
  body.woocommerce-shop .mi-shop-grid,body.post-type-archive-product .mi-shop-grid{grid-template-columns:1fr!important}
}


/* ============================================================
   MOTOR WORLD 2.0.8 — SHOP POLISH
   Rimuove gli spazi/residui Elementor e compatta la griglia desktop.
   ============================================================ */
body.woocommerce-shop main .e-con:has(.mi-shop-wrap),
body.post-type-archive-product main .e-con:has(.mi-shop-wrap),
body.woocommerce-shop main .elementor-section:has(.mi-shop-wrap),
body.post-type-archive-product main .elementor-section:has(.mi-shop-wrap),
body.woocommerce-shop main .elementor-container:has(.mi-shop-wrap),
body.post-type-archive-product main .elementor-container:has(.mi-shop-wrap),
body.woocommerce-shop main .elementor-column:has(.mi-shop-wrap),
body.post-type-archive-product main .elementor-column:has(.mi-shop-wrap),
body.woocommerce-shop main .elementor-widget-wrap:has(.mi-shop-wrap),
body.post-type-archive-product main .elementor-widget-wrap:has(.mi-shop-wrap){
  background:transparent!important;
  background-image:none!important;
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
  min-height:0!important;
  height:auto!important;
}

body.woocommerce-shop main .e-con:has(.mi-shop-wrap),
body.post-type-archive-product main .e-con:has(.mi-shop-wrap){
  --min-height:0px!important;
  --padding-top:0px!important;
  --padding-bottom:0px!important;
  --margin-top:0px!important;
  --margin-bottom:0px!important;
  --gap:0px!important;
}

body.woocommerce-shop main:has(.mi-shop-wrap),
body.post-type-archive-product main:has(.mi-shop-wrap){
  margin:0!important;
  padding:0!important;
  min-height:0!important;
  background:#fff!important;
}

body.woocommerce-shop .mi-shop-wrap,
body.post-type-archive-product .mi-shop-wrap{
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:16px!important;
  padding-bottom:28px!important;
}

/* Desktop: quattro prodotti nella colonna catalogo + quick cart laterale. */
body.woocommerce-shop .mi-shop-grid,
body.post-type-archive-product .mi-shop-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
body.woocommerce-shop .mi-shop-card-image,
body.post-type-archive-product .mi-shop-card-image{
  height:205px!important;
}
body.woocommerce-shop .mi-shop-card h3,
body.post-type-archive-product .mi-shop-card h3{
  font-size:14px!important;
  line-height:1.38!important;
  min-height:58px!important;
}
body.woocommerce-shop .mi-shop-price,
body.post-type-archive-product .mi-shop-price{
  font-size:22px!important;
}

@media(max-width:1280px){
  body.woocommerce-shop .mi-shop-grid,
  body.post-type-archive-product .mi-shop-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:1100px){
  body.woocommerce-shop .mi-shop-layout,
  body.post-type-archive-product .mi-shop-layout{grid-template-columns:1fr!important}
  body.woocommerce-shop .mi-shop-quickcart,
  body.post-type-archive-product .mi-shop-quickcart{position:relative!important;top:auto!important}
  body.woocommerce-shop .mi-shop-grid,
  body.post-type-archive-product .mi-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:820px){
  body.woocommerce-shop .mi-shop-grid,
  body.post-type-archive-product .mi-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  body.woocommerce-shop .mi-shop-grid,
  body.post-type-archive-product .mi-shop-grid{grid-template-columns:1fr!important}
}


/* ============================================================
   MOTOR WORLD 2.0.9 — SHOP CENTER FIX
   Mantiene i fix verticali 2.0.8 ma impedisce agli ancestor
   Elementor di tagliare il breakout orizzontale dello Shop.
   ============================================================ */
body.woocommerce-shop main .e-con:has(.mi-shop-wrap),
body.post-type-archive-product main .e-con:has(.mi-shop-wrap),
body.woocommerce-shop main .elementor-section:has(.mi-shop-wrap),
body.post-type-archive-product main .elementor-section:has(.mi-shop-wrap),
body.woocommerce-shop main .elementor-container:has(.mi-shop-wrap),
body.post-type-archive-product main .elementor-container:has(.mi-shop-wrap),
body.woocommerce-shop main .elementor-column:has(.mi-shop-wrap),
body.post-type-archive-product main .elementor-column:has(.mi-shop-wrap),
body.woocommerce-shop main .elementor-widget-wrap:has(.mi-shop-wrap),
body.post-type-archive-product main .elementor-widget-wrap:has(.mi-shop-wrap),
body.woocommerce-shop main .elementor-widget:has(.mi-shop-wrap),
body.post-type-archive-product main .elementor-widget:has(.mi-shop-wrap),
body.woocommerce-shop main .elementor-widget-container:has(.mi-shop-wrap),
body.post-type-archive-product main .elementor-widget-container:has(.mi-shop-wrap){
  overflow:visible!important;
  max-width:none!important;
}

body.woocommerce-shop .mi-shop-wrap,
body.post-type-archive-product .mi-shop-wrap{
  width:calc(100vw - 28px)!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw + 14px)!important;
  margin-right:calc(50% - 50vw + 14px)!important;
  transform:none!important;
  position:relative!important;
}

/* Il wrapper Elementor non deve introdurre un offset laterale aggiuntivo. */
body.woocommerce-shop .elementor-widget-shortcode:has(.mi-shop-wrap),
body.post-type-archive-product .elementor-widget-shortcode:has(.mi-shop-wrap),
body.woocommerce-shop .elementor-widget-shortcode:has(.mi-shop-wrap)>.elementor-widget-container,
body.post-type-archive-product .elementor-widget-shortcode:has(.mi-shop-wrap)>.elementor-widget-container{
  width:100%!important;
  max-width:none!important;
  overflow:visible!important;
}

@media(max-width:560px){
  body.woocommerce-shop .mi-shop-wrap,
  body.post-type-archive-product .mi-shop-wrap{
    width:calc(100vw - 16px)!important;
    margin-left:calc(50% - 50vw + 8px)!important;
    margin-right:calc(50% - 50vw + 8px)!important;
  }
}


/* ============================================================
   MOTOR WORLD 2.0.10 — SHOP VIEWPORT ALIGN
   Il posizionamento orizzontale finale viene calcolato dal JS
   rispetto al viewport, non rispetto ai wrapper Elementor.
   ============================================================ */
body.woocommerce-shop .mi-shop-wrap,
body.post-type-archive-product .mi-shop-wrap{
  width:calc(100vw - 16px)!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  left:auto!important;
  right:auto!important;
  transform:none;
  box-sizing:border-box!important;
}
body.woocommerce-shop main,
body.post-type-archive-product main,
body.woocommerce-shop #content,
body.post-type-archive-product #content,
body.woocommerce-shop .site-main,
body.post-type-archive-product .site-main,
body.woocommerce-shop .elementor,
body.post-type-archive-product .elementor{
  overflow:visible!important;
}

/* ============================================================
   MOTOR WORLD 2.0.11 — CHECKOUT PROFESSIONAL
   Shop 2.0.10 congelato: questa sezione interviene solo sul checkout.
   ============================================================ */
body.woocommerce-checkout{
  background:#F4F5F1!important;
}

body.woocommerce-checkout .woocommerce{
  width:min(1240px,calc(100% - 32px))!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:42px 0 70px!important;
}

/* Avvisi/login/coupon allineati alla stessa larghezza del checkout */
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce-form-login,
body.woocommerce-checkout .checkout_coupon,
body.woocommerce-checkout .woocommerce-notices-wrapper{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

body.woocommerce-checkout .woocommerce-info{
  margin:0 0 18px!important;
  padding:16px 18px 16px 50px!important;
  min-height:54px!important;
  display:flex!important;
  align-items:center!important;
  background:#fff!important;
  border:1px solid #D8DDD5!important;
  border-left:4px solid #6ABF23!important;
  box-shadow:none!important;
  color:#20262D!important;
}
body.woocommerce-checkout .woocommerce-info::before{
  top:50%!important;
  transform:translateY(-50%)!important;
  color:#6ABF23!important;
}
body.woocommerce-checkout .woocommerce-info a{
  color:#478E12!important;
  font-weight:800!important;
}

/* Layout principale: dati cliente a sinistra, ordine a destra */
body.woocommerce-checkout form.checkout.woocommerce-checkout{
  display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr)!important;
  grid-template-areas:
    "customer order-title"
    "customer order-review"!important;
  column-gap:28px!important;
  row-gap:0!important;
  align-items:start!important;
  width:100%!important;
}

body.woocommerce-checkout #customer_details{
  grid-area:customer!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:18px!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

/* Annulla le vecchie colonne WooCommerce che stringevano il form */
body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2,
body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2{
  float:none!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

body.woocommerce-checkout #customer_details .woocommerce-billing-fields,
body.woocommerce-checkout #customer_details .woocommerce-shipping-fields,
body.woocommerce-checkout #customer_details .woocommerce-additional-fields{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:24px!important;
  background:#fff!important;
  border:1px solid #D7DDD5!important;
  box-shadow:0 12px 30px rgba(18,24,28,.055)!important;
  box-sizing:border-box!important;
}

body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading{
  font-family:"Big Shoulders Display",Impact,"Arial Narrow",sans-serif!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.025em!important;
}

body.woocommerce-checkout #customer_details h3{
  margin:0 0 20px!important;
  padding:0 0 12px!important;
  border-bottom:3px solid #6ABF23!important;
  font-size:clamp(1.65rem,2vw,2rem)!important;
  color:#15191E!important;
}

/* Campi: pieni e leggibili */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{
  display:block!important;
  width:100%!important;
}
body.woocommerce-checkout form .form-row{
  box-sizing:border-box!important;
  margin:0 0 15px!important;
  padding:0!important;
}
body.woocommerce-checkout form .form-row-first,
body.woocommerce-checkout form .form-row-last{
  width:calc(50% - 8px)!important;
}
body.woocommerce-checkout form .form-row-first{float:left!important;clear:both!important}
body.woocommerce-checkout form .form-row-last{float:right!important;clear:none!important}
body.woocommerce-checkout form .form-row-wide{clear:both!important;width:100%!important}
body.woocommerce-checkout form .form-row label{
  display:block!important;
  margin:0 0 6px!important;
  color:#303740!important;
  font-weight:700!important;
  line-height:1.35!important;
}
body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row textarea,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout .select2-container,
body.woocommerce-checkout .select2-container .select2-selection--single{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout .select2-container .select2-selection--single{
  min-height:50px!important;
  height:50px!important;
  padding:0 14px!important;
  border:1px solid #C9D0C8!important;
  border-radius:0!important;
  background:#fff!important;
  color:#171B20!important;
}
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{
  line-height:48px!important;
  padding-left:0!important;
  color:#171B20!important;
}
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow{
  height:48px!important;
}
body.woocommerce-checkout form .form-row textarea{
  min-height:120px!important;
  padding:12px 14px!important;
  border:1px solid #C9D0C8!important;
  border-radius:0!important;
  resize:vertical!important;
}
body.woocommerce-checkout form .form-row input:focus,
body.woocommerce-checkout form .form-row textarea:focus,
body.woocommerce-checkout form .form-row select:focus,
body.woocommerce-checkout .select2-container--open .select2-selection--single{
  outline:none!important;
  border-color:#6ABF23!important;
  box-shadow:0 0 0 3px rgba(106,191,35,.12)!important;
}

/* Colonna ordine */
body.woocommerce-checkout #order_review_heading{
  grid-area:order-title!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:18px 20px!important;
  background:#17202A!important;
  border:1px solid #17202A!important;
  border-bottom:3px solid #6ABF23!important;
  color:#fff!important;
  font-size:1.7rem!important;
  line-height:1!important;
}
body.woocommerce-checkout #order_review{
  grid-area:order-review!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:18px!important;
  background:#fff!important;
  border:1px solid #D7DDD5!important;
  border-top:0!important;
  box-shadow:0 12px 30px rgba(18,24,28,.055)!important;
}
body.woocommerce-checkout #order_review table.shop_table{
  width:100%!important;
  margin:0 0 18px!important;
  border-collapse:collapse!important;
  border:1px solid #D6DCD4!important;
  background:#fff!important;
}
body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td{
  padding:12px 13px!important;
  vertical-align:middle!important;
  border-color:#D6DCD4!important;
}
body.woocommerce-checkout #order_review table.shop_table thead th,
body.woocommerce-checkout #order_review table.shop_table tfoot th{
  background:#17202A!important;
  color:#fff!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.07em!important;
}
body.woocommerce-checkout #order_review .order-total th,
body.woocommerce-checkout #order_review .order-total td{
  font-size:1.05rem!important;
  font-weight:900!important;
}

/* Pagamenti */
body.woocommerce-checkout #payment{
  margin-top:0!important;
  background:#17202A!important;
  border:0!important;
  border-radius:0!important;
  color:#fff!important;
}
body.woocommerce-checkout #payment ul.payment_methods{
  margin:0!important;
  padding:18px!important;
  border-bottom:1px solid #35414D!important;
}
body.woocommerce-checkout #payment ul.payment_methods li{
  margin:0 0 10px!important;
}
body.woocommerce-checkout #payment ul.payment_methods li:last-child{margin-bottom:0!important}
body.woocommerce-checkout #payment ul.payment_methods label{
  color:#fff!important;
  font-weight:800!important;
}
body.woocommerce-checkout #payment div.payment_box{
  margin:10px 0 0!important;
  padding:14px!important;
  background:#222D38!important;
  color:#E9EEE8!important;
  border-radius:0!important;
  line-height:1.55!important;
}
body.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#222D38!important}
body.woocommerce-checkout #payment .place-order{
  margin:0!important;
  padding:18px!important;
  background:#17202A!important;
  color:#DCE2DB!important;
}
body.woocommerce-checkout #payment .place-order a{color:#8FE23C!important}
body.woocommerce-checkout #place_order{
  width:100%!important;
  min-height:54px!important;
  margin-top:14px!important;
  border:0!important;
  border-radius:0!important;
  clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%)!important;
  background:#6ABF23!important;
  color:#0B0C0E!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
}
body.woocommerce-checkout #place_order:hover{background:#8FE23C!important}

/* PayPal Pay Later / messaggi esterni senza rompere l'impaginazione */
body.woocommerce-checkout #order_review iframe,
body.woocommerce-checkout #order_review .ppc-button-wrapper,
body.woocommerce-checkout #order_review .paypal-buttons,
body.woocommerce-checkout #order_review [class*="paypal"]{
  max-width:100%!important;
}

@media(max-width:980px){
  body.woocommerce-checkout .woocommerce{width:min(100% - 24px,900px)!important;padding-top:30px!important}
  body.woocommerce-checkout form.checkout.woocommerce-checkout{
    grid-template-columns:1fr!important;
    grid-template-areas:"customer" "order-title" "order-review"!important;
    gap:18px!important;
  }
}

@media(max-width:640px){
  body.woocommerce-checkout .woocommerce{width:calc(100% - 16px)!important;padding:22px 0 46px!important}
  body.woocommerce-checkout #customer_details .woocommerce-billing-fields,
  body.woocommerce-checkout #customer_details .woocommerce-shipping-fields,
  body.woocommerce-checkout #customer_details .woocommerce-additional-fields,
  body.woocommerce-checkout #order_review{padding:16px!important}
  body.woocommerce-checkout form .form-row-first,
  body.woocommerce-checkout form .form-row-last{
    width:100%!important;float:none!important;clear:both!important;
  }
}


/* ============================================================
   MOTOR WORLD 2.0.12 — CHECKOUT ORDER ALIGN
   Congela Shop. Corregge SOLO la colonna "Il tuo ordine".
   Heading e riepilogo condividono la stessa cella della griglia,
   quindi il riepilogo parte subito sotto al titolo invece di
   essere spinto in basso dall'altezza dei dati di fatturazione.
   ============================================================ */
body.woocommerce-checkout form.checkout.woocommerce-checkout{
  grid-template-areas:"customer order"!important;
  grid-template-rows:auto!important;
}

body.woocommerce-checkout #customer_details{
  grid-area:customer!important;
  grid-column:1!important;
  grid-row:1!important;
}

body.woocommerce-checkout #order_review_heading{
  grid-area:order!important;
  grid-column:2!important;
  grid-row:1!important;
  align-self:start!important;
  position:relative!important;
  z-index:3!important;
  margin:0!important;
}

body.woocommerce-checkout #order_review{
  grid-area:order!important;
  grid-column:2!important;
  grid-row:1!important;
  align-self:start!important;
  position:relative!important;
  z-index:2!important;
  margin:0!important;
  /* spazio interno esatto per il titolo sovrapposto */
  padding:84px 18px 18px!important;
  border-top:1px solid #D7DDD5!important;
}

/* Il primo elemento del riepilogo non deve aggiungere altro spazio. */
body.woocommerce-checkout #order_review > :first-child{
  margin-top:0!important;
}

/* Desktop: colonna ordine sempre allineata in alto ai dati cliente. */
@media(min-width:901px){
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    top:0!important;
    transform:none!important;
  }
}

/* Tablet/mobile: torna alla sequenza verticale normale. */
@media(max-width:900px){
  body.woocommerce-checkout form.checkout.woocommerce-checkout{
    grid-template-areas:
      "customer"
      "order-title"
      "order-review"!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto!important;
  }

  body.woocommerce-checkout #customer_details{
    grid-area:customer!important;
    grid-column:1!important;
    grid-row:auto!important;
  }

  body.woocommerce-checkout #order_review_heading{
    grid-area:order-title!important;
    grid-column:1!important;
    grid-row:auto!important;
    position:relative!important;
  }

  body.woocommerce-checkout #order_review{
    grid-area:order-review!important;
    grid-column:1!important;
    grid-row:auto!important;
    padding:18px!important;
    border-top:0!important;
  }
}

/* ============================================================
   MOTOR WORLD 2.0.13 — SINGLE PRODUCT WIDE / LIGHT
   Congela Shop, Checkout, Header e Footer. Interviene SOLO sulla
   scheda prodotto premium Motor World.
   ============================================================ */
body.single-product{
  background:#ECEEE7!important;
}

body.single-product main:has(.mi-psp-wrap),
body.single-product main .e-con:has(.mi-psp-wrap),
body.single-product main .elementor-section:has(.mi-psp-wrap),
body.single-product main .elementor-container:has(.mi-psp-wrap),
body.single-product main .elementor-column:has(.mi-psp-wrap),
body.single-product main .elementor-widget-wrap:has(.mi-psp-wrap),
body.single-product main .elementor-widget:has(.mi-psp-wrap),
body.single-product main .elementor-widget-container:has(.mi-psp-wrap){
  max-width:none!important;
  overflow:visible!important;
  background:transparent!important;
}

body.single-product .mi-psp-wrap{
  width:calc(100vw - 16px)!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding:22px 18px 46px!important;
  background:#ECEEE7!important;
  color:#14161A!important;
  position:relative!important;
  box-shadow:none!important;
}

body.single-product .mi-psp-breadcrumbs,
body.single-product .mi-psp-breadcrumbs a{
  color:#68717C!important;
}
body.single-product .mi-psp-breadcrumbs a:hover{color:#478E12!important}

body.single-product .mi-psp-card{
  grid-template-columns:minmax(440px,1.06fr) minmax(420px,.94fr)!important;
  gap:32px!important;
  padding:22px!important;
  background:#FFFFFF!important;
  border:1px solid #D7DDD5!important;
  border-radius:0!important;
  box-shadow:0 18px 46px -34px rgba(11,12,14,.35)!important;
}

body.single-product .mi-psp-gallery{
  min-width:0!important;
}
body.single-product .mi-psp-main-image{
  min-height:560px!important;
  background:#F5F7F2!important;
  border:1px solid #D7DDD5!important;
  border-radius:0!important;
  padding:28px!important;
}
body.single-product .mi-psp-main-image img{
  max-height:520px!important;
}
body.single-product .mi-psp-thumb{
  background:#FFFFFF!important;
  border:1px solid #C9D0C7!important;
  border-radius:0!important;
}
body.single-product .mi-psp-thumb.is-active,
body.single-product .mi-psp-thumb:hover{
  border-color:#6ABF23!important;
  box-shadow:0 0 0 2px rgba(106,191,35,.12)!important;
}

body.single-product .mi-psp-info{
  padding:8px 4px 4px!important;
}
body.single-product .mi-psp-title{
  color:#14161A!important;
  font-size:clamp(30px,2.55vw,46px)!important;
  line-height:1.02!important;
  font-weight:800!important;
}
body.single-product .mi-psp-price-row .price,
body.single-product .mi-psp-price-row .woocommerce-Price-amount{
  color:#14161A!important;
}
body.single-product .mi-psp-price-row del .woocommerce-Price-amount{color:#7A838C!important}
body.single-product .mi-psp-short,
body.single-product .mi-psp-short p{
  color:#4A5058!important;
  font-size:14.5px!important;
}

body.single-product .mi-psp-chip{
  background:#F5F7F2!important;
  border-color:#D7DDD5!important;
  color:#515963!important;
  border-radius:0!important;
}
body.single-product .mi-psp-chip--stock{
  background:#E7F4DC!important;
  border-color:#CFE7BA!important;
  color:#315F12!important;
}

body.single-product .mi-psp-highlight,
body.single-product .mi-psp-label-box,
body.single-product .mi-psp-info-item{
  background:#F7F8F5!important;
  border:1px solid #D7DDD5!important;
  border-radius:0!important;
  color:#515963!important;
}
body.single-product .mi-psp-highlight strong,
body.single-product .mi-psp-label-box .value,
body.single-product .mi-psp-info-item h3,
body.single-product .mi-psp-info-item p{
  color:#14161A!important;
}
body.single-product .mi-psp-label-box .label{color:#737D87!important}

body.single-product .mi-psp-qty select,
body.single-product .mi-psp-qty input,
body.single-product .mi-psp-var-field select{
  background:#FFFFFF!important;
  color:#14161A!important;
  border:1px solid #C9D0C7!important;
  border-radius:0!important;
}
body.single-product .mi-psp-var-field{color:#68717C!important}

body.single-product .mi-psp-solid-btn,
body.single-product .mi-psp-cart-form button.single_add_to_cart_button,
body.single-product .mi-psp-contact-btn{
  background:#6ABF23!important;
  border-color:#6ABF23!important;
  color:#0B0C0E!important;
  border-radius:0!important;
  clip-path:polygon(9px 0,100% 0,calc(100% - 9px) 100%,0 100%)!important;
  font-weight:800!important;
}
body.single-product .mi-psp-solid-btn:hover,
body.single-product .mi-psp-cart-form button.single_add_to_cart_button:hover,
body.single-product .mi-psp-contact-btn:hover{
  background:#8FE23C!important;
  border-color:#8FE23C!important;
}
body.single-product .mi-psp-outline-btn{
  background:#FFFFFF!important;
  color:#14161A!important;
  border:1px solid #C9D0C7!important;
  border-radius:0!important;
}
body.single-product .mi-psp-outline-btn:hover{
  border-color:#6ABF23!important;
  color:#315F12!important;
}

body.single-product .mi-psp-tabs,
body.single-product .mi-psp-related{
  background:#FFFFFF!important;
  border:1px solid #D7DDD5!important;
  border-radius:0!important;
  box-shadow:0 18px 46px -38px rgba(11,12,14,.32)!important;
}
body.single-product .mi-psp-tab-btn{
  background:#F5F7F2!important;
  color:#14161A!important;
  border:1px solid #D7DDD5!important;
  border-radius:0!important;
}
body.single-product .mi-psp-tab-btn.is-active{
  background:#6ABF23!important;
  border-color:#6ABF23!important;
  color:#0B0C0E!important;
}
body.single-product .mi-psp-tab-panel h2,
body.single-product .mi-psp-tab-panel h3,
body.single-product .mi-psp-tab-panel p,
body.single-product .mi-psp-tab-panel li,
body.single-product .mi-psp-tab-panel span,
body.single-product .mi-psp-tab-panel strong,
body.single-product .mi-psp-tab-panel b,
body.single-product .mi-psp-tab-panel div,
body.single-product .mi-psp-tab-panel td,
body.single-product .mi-psp-tab-panel th,
body.single-product .mi-psp-tab-panel a{
  color:#262B31!important;
}
body.single-product .mi-psp-spec-table th,
body.single-product .mi-psp-spec-table td{
  border-bottom-color:#DDE2DB!important;
}
body.single-product .mi-psp-doc-box{
  background:#F7F8F5!important;
  border-color:#D7DDD5!important;
  border-radius:0!important;
}
body.single-product .mi-psp-doc-link{
  background:#FFFFFF!important;
  border-color:#C9D0C7!important;
  color:#14161A!important;
  border-radius:0!important;
}

body.single-product .mi-psp-related-head h2{color:#14161A!important}
body.single-product .mi-psp-related-head p{color:#68717C!important}
body.single-product .mi-psp-related-shop-link{
  background:#FFFFFF!important;
  color:#14161A!important;
  border-color:#C9D0C7!important;
  border-radius:0!important;
}
body.single-product .mi-psp-related-card{
  background:#F7F8F5!important;
  border:1px solid #D7DDD5!important;
  border-radius:0!important;
}
body.single-product .mi-psp-related-image{
  background:#FFFFFF!important;
  border:1px solid #E0E4DE!important;
  border-radius:0!important;
}
body.single-product .mi-psp-related-card h3 a,
body.single-product .mi-psp-related-price{
  color:#14161A!important;
}
body.single-product .mi-psp-related .mi-psp-related-btn--ghost{
  background:#FFFFFF!important;
  color:#14161A!important;
  border-color:#C9D0C7!important;
  border-radius:0!important;
}
body.single-product .mi-psp-related .mi-psp-related-btn--solid,
body.single-product .mi-psp-related .mi-psp-related-cart-form button.mi-psp-related-btn--solid{
  background:#6ABF23!important;
  border-color:#6ABF23!important;
  color:#0B0C0E!important;
  border-radius:0!important;
  clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)!important;
}

@media(max-width:1180px){
  body.single-product .mi-psp-card{
    grid-template-columns:1fr!important;
  }
  body.single-product .mi-psp-main-image{min-height:440px!important}
}
@media(max-width:767px){
  body.single-product .mi-psp-wrap{
    width:calc(100vw - 12px)!important;
    padding:12px 8px 30px!important;
  }
  body.single-product .mi-psp-card{padding:12px!important;gap:18px!important}
  body.single-product .mi-psp-main-image{min-height:320px!important;padding:14px!important}
  body.single-product .mi-psp-title{font-size:30px!important}
}
