/* Casa Floresta Storefront · v0.4.0
   Single source for WooCommerce native product, cart, checkout, account pages.
   The theme header is hidden BEFORE paint through body_class + wp_head CSS.
   Do not restyle or intercept WooCommerce payment/order handlers. */
body.mpcfp-commerce #masthead,body.mpcfp-commerce #colophon,
body.mpcfp-commerce .ast-breadcrumbs-wrapper,body.mpcfp-commerce .entry-header{display:none!important}
body.mpcfp-commerce{background:#fff;margin:0}
body.mpcfp-commerce .site-content,body.mpcfp-commerce #content{padding:0!important;margin:0!important;max-width:none!important;width:100%!important}
body.mpcfp-commerce .site-content>.ast-container,body.mpcfp-commerce #content>.ast-container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important}
body.mpcfp-commerce .mpcfp-commerce-shell{font-family:Arial,Helvetica,sans-serif;color:#173c2a;min-height:100vh}
body.mpcfp-commerce .mpcfp-commerce-main{min-height:48vh;background:#fff;padding:0 0 clamp(70px,6vw,110px)}
body.mpcfp-commerce .mpcfp-commerce-container{width:min(1240px,calc(100% - 64px));margin:0 auto;min-width:0}
.mpcfp-commerce-intro{padding:clamp(30px,4vw,65px) 0 32px;border-bottom:1px solid #e5eae3;margin-bottom:36px}
.mpcfp-commerce-eyebrow{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.18em;color:#2b8a39;margin-bottom:13px}
.mpcfp-commerce-intro h1{font-family:Arial,Helvetica,sans-serif!important;color:#15402a!important;font-size:clamp(34px,3.5vw,52px)!important;line-height:1.1!important;font-weight:800!important;margin:0 0 12px!important}
.mpcfp-commerce-intro p{font-size:15px;line-height:1.6;color:#647368;margin:0;max-width:650px}
.mpcfp-commerce-crumb{display:flex;align-items:center;gap:12px;padding:32px 0;color:#7c8c80;font-size:12px}
.mpcfp-commerce-crumb a{color:#2a753b;text-decoration:none}
.mpcfp-commerce-crumb a:hover{text-decoration:underline}
.mpcfp-commerce-content{color:#274633;line-height:1.6}
.mpcfp-commerce-content h1,.mpcfp-commerce-content h2,.mpcfp-commerce-content h3,.mpcfp-commerce-content h4{font-family:Arial,Helvetica,sans-serif!important;color:#17402a!important;letter-spacing:-.02em;line-height:1.23;font-weight:750}
.mpcfp-commerce-content h2{font-size:clamp(22px,2vw,30px)}
.mpcfp-commerce-content h3{font-size:18px}
.mpcfp-commerce-content :is(button,.button,input[type=submit],.wp-element-button,.wc-block-components-button){border-radius:6px;transition:background .18s,color .18s,border-color .18s,transform .18s;cursor:pointer;font-family:Arial,Helvetica,sans-serif;font-weight:700}
.mpcfp-commerce-content :is(.button,input[type=submit],.wp-element-button,.wc-block-components-button):not(.alt){background:#2b912e;color:white;border:1px solid #2b912e}
.mpcfp-commerce-content :is(button,.button,input[type=submit],.wp-element-button,.wc-block-components-button):hover{filter:brightness(.92)}
.mpcfp-commerce-content :is(button,.button,input[type=submit],.wp-element-button,.wc-block-components-button):focus-visible,
.mpcfp-commerce-content :is(input,select,textarea,a):focus-visible{outline:2px solid #2b912e;outline-offset:3px}
.mpcfp-commerce-content :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),textarea,select){background:#fff;border:1px solid #d9e1d9;border-radius:5px;color:#234633;min-height:45px;padding:10px 12px;box-shadow:none;max-width:100%}
.mpcfp-commerce-content :is(input,select,textarea):focus{border-color:#2b912e;box-shadow:0 0 0 2px rgba(43,145,46,.12);outline:0}
.mpcfp-commerce-content a{color:#237a33}
.mpcfp-commerce-content .woocommerce-message,.mpcfp-commerce-content .woocommerce-info{background:#f1f7ef;border-top:3px solid #2c9635;color:#254932;padding:18px 24px}
.mpcfp-commerce-content .woocommerce-error{background:#fff7f2;border-top:3px solid #bd653c;color:#69391f;padding:18px 24px}
.mpcfp-commerce-content .woocommerce-message:before,.mpcfp-commerce-content .woocommerce-info:before{color:#2c9635}
/* Single product: keep native WooCommerce gallery/variations/tabs and stock behaviour. */
.mpcfp-commerce-product .woocommerce div.product{display:block;min-width:0}
.mpcfp-commerce-product div.product .woocommerce-product-gallery{margin:0 0 36px;width:47%!important;float:left!important}
.mpcfp-commerce-product div.product .summary{width:48%!important;float:right!important;padding:15px 0}
.mpcfp-commerce-product div.product .summary h1.product_title{font-size:clamp(32px,3.3vw,48px)!important;color:#17402a;font-weight:800!important;line-height:1.12;margin:0 0 17px!important}
.mpcfp-commerce-product div.product .summary .price{color:#23843a;font-size:clamp(22px,2vw,27px);font-weight:750;display:block;margin-bottom:22px}
.mpcfp-commerce-product div.product .summary .woocommerce-product-details__short-description{color:#65736a;font-size:15px;line-height:1.75}
.mpcfp-commerce-product .woocommerce-product-gallery__wrapper{background:#f7f8f4;border:1px solid #eff0e9;border-radius:8px;overflow:hidden}
.mpcfp-commerce-product .woocommerce-product-gallery .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px!important}
.mpcfp-commerce-product .woocommerce-product-gallery .flex-control-thumbs li{max-width:83px;min-width:0;border-radius:6px;overflow:hidden;border:1px solid #e5e9df}
.mpcfp-commerce-product div.product .summary .stock{color:#2b7a3a;font-weight:700}
.mpcfp-commerce-product div.product form.cart{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:25px 0!important}
.mpcfp-commerce-product div.product form.cart .quantity{float:none!important;margin:0!important}
.mpcfp-commerce-product div.product form.cart .single_add_to_cart_button{min-height:46px;padding:12px 21px;background:#2b912e;color:white}
.mpcfp-commerce-product .product_meta{padding-top:21px;border-top:1px solid #e4e9e1;font-size:12px;color:#76877a}
.mpcfp-commerce-product .woocommerce-tabs{clear:both;padding-top:45px}
.mpcfp-commerce-product .woocommerce-tabs ul.tabs{padding:0!important;border-bottom:1px solid #e4e9e1;margin:0 0 25px!important}
.mpcfp-commerce-product .woocommerce-tabs ul.tabs:before{border:0!important}
.mpcfp-commerce-product .woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;margin:0 16px 0 0!important;padding:0!important}
.mpcfp-commerce-product .woocommerce-tabs ul.tabs li:before,.mpcfp-commerce-product .woocommerce-tabs ul.tabs li:after{display:none!important}
.mpcfp-commerce-product .woocommerce-tabs ul.tabs li a{padding:12px 3px!important;color:#4e6555!important}
.mpcfp-commerce-product .woocommerce-tabs ul.tabs li.active a{color:#217535!important;border-bottom:2px solid #319130}
.mpcfp-commerce-product .related.products{clear:both;margin-top:46px}
.mpcfp-commerce-product .related.products ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:20px 0}
.mpcfp-commerce-product .related.products ul.products li.product{width:auto!important;margin:0!important;border:1px solid #e5eae1;border-radius:6px;overflow:hidden;padding:12px;float:none!important}
.mpcfp-commerce-product .related.products ul.products li.product img{border-radius:4px}
.mpcfp-commerce-product .mpcf-product-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:17px 0}
.mpcfp-commerce-product .mpcf-product-actions a{padding:11px 17px;border-radius:5px;text-decoration:none;font-weight:700;background:#edf4ed;color:#236732}
/* Cart and checkout: native classic components and official cart/checkout blocks. */
.mpcfp-commerce-cart .woocommerce,.mpcfp-commerce-checkout .woocommerce{min-width:0}
.mpcfp-commerce-content .woocommerce table.shop_table{border:1px solid #e4ebe2;border-radius:7px;border-collapse:separate;background:#fff;font-size:14px;overflow:hidden}
.mpcfp-commerce-content .woocommerce table.shop_table th{background:#f5f7f2;color:#1d4c30;font-weight:800;padding:17px}
.mpcfp-commerce-content .woocommerce table.shop_table td{padding:17px;border-top:1px solid #e5eae1}
.mpcfp-commerce-content .woocommerce table.shop_table img{width:70px;border-radius:4px}
.mpcfp-commerce-content .woocommerce .cart-collaterals .cart_totals,
.mpcfp-commerce-content .woocommerce-checkout #order_review{background:#f8f9f5;border:1px solid #e5eae1;border-radius:7px;padding:22px}
.mpcfp-commerce-content .woocommerce-checkout #customer_details{margin-bottom:22px}
.mpcfp-commerce-content .woocommerce form .form-row{padding:0;margin-bottom:16px}
.mpcfp-commerce-content .woocommerce form .form-row label{color:#2c4734;font-weight:700;font-size:13px;margin-bottom:5px}
.mpcfp-commerce-content .woocommerce #payment{background:#f6f8f3;border-radius:7px;border:1px solid #e2e9df}
.mpcfp-commerce-content .woocommerce #payment ul.payment_methods{border-bottom:1px solid #e1e6de}
.mpcfp-commerce-content .wc-block-cart,.mpcfp-commerce-content .wc-block-checkout{--wc-blocks-style-accent-color:#318e35;--wc-blocks-style-accent-color-darker-10:#277c2b;--wp--preset--color--primary:#318e35;color:#274633}
.mpcfp-commerce-content .wc-block-components-sidebar-layout{max-width:100%;gap:3.5%}
.mpcfp-commerce-content .wc-block-components-totals-wrapper,.mpcfp-commerce-content .wc-block-components-order-summary{border-color:#dfe7dd}
.mpcfp-commerce-content .wc-block-components-main{min-width:0}
/* My Account login, customer details and WC endpoints. */
.mpcfp-commerce-account .woocommerce-MyAccount-navigation{float:left;width:25%;padding:0 25px 0 0}
.mpcfp-commerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:7px;margin:0;border:1px solid #e5ebe3;border-radius:7px;overflow:hidden;background:#fafbf8}
.mpcfp-commerce-account .woocommerce-MyAccount-navigation li{margin:0;border-bottom:1px solid #e8ece6}
.mpcfp-commerce-account .woocommerce-MyAccount-navigation li:last-child{border:0}
.mpcfp-commerce-account .woocommerce-MyAccount-navigation a{display:block;padding:15px 18px;text-decoration:none;color:#405647;font-weight:700;font-size:13px;transition:background .18s,color .18s}
.mpcfp-commerce-account .woocommerce-MyAccount-navigation li.is-active>a,.mpcfp-commerce-account .woocommerce-MyAccount-navigation a:hover{background:#eaf4e9;color:#1c7433}
.mpcfp-commerce-account .woocommerce-MyAccount-content{float:right;width:75%;margin:0;padding:5px 0 25px}
.mpcfp-commerce-account .woocommerce-MyAccount-content .woocommerce-Address{padding:18px 20px;border:1px solid #e5ebe3;border-radius:6px;margin-bottom:14px}
.mpcfp-commerce-account .woocommerce form.login,.mpcfp-commerce-account .woocommerce form.register,.mpcfp-commerce-account .woocommerce form.lost_reset_password{border:1px solid #e4ebe2;border-radius:7px;background:#fcfdfb;padding:28px}
.mpcfp-commerce-account #customer_login{display:grid;grid-template-columns:1fr 1fr;gap:25px}
.mpcfp-commerce-account #customer_login .u-column1,.mpcfp-commerce-account #customer_login .u-column2{width:100%;float:none}
.mpcfp-commerce-account .woocommerce-MyAccount-content table.my_account_orders{width:100%}
/* Existing header design (single source retained from the existing module). */
.mpcfp-commerce-shell .mpcf-site-header{width:100%}
@media(max-width:900px){
  body.mpcfp-commerce .mpcfp-commerce-container{width:min(100% - 36px,1240px)}
  .mpcfp-commerce-product div.product .woocommerce-product-gallery{width:48%!important}
  .mpcfp-commerce-product div.product .summary{width:48%!important}
  .mpcfp-commerce-product .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mpcfp-commerce-account .woocommerce-MyAccount-navigation{width:31%}
  .mpcfp-commerce-account .woocommerce-MyAccount-content{width:69%}
}
@media(max-width:650px){
  body.mpcfp-commerce .mpcfp-commerce-container{width:calc(100% - 30px)}
  .mpcfp-commerce-intro{padding:28px 0 22px;margin-bottom:25px}
  .mpcfp-commerce-product div.product .woocommerce-product-gallery,
  .mpcfp-commerce-product div.product .summary{width:100%!important;float:none!important}
  .mpcfp-commerce-product div.product .summary{padding-top:7px}
  .mpcfp-commerce-product .woocommerce-tabs{padding-top:25px}
  .mpcfp-commerce-account .woocommerce-MyAccount-navigation,.mpcfp-commerce-account .woocommerce-MyAccount-content{width:100%;float:none;padding:0}
  .mpcfp-commerce-account .woocommerce-MyAccount-navigation{margin-bottom:25px}
  .mpcfp-commerce-account #customer_login{display:block}
  .mpcfp-commerce-account .woocommerce form.login,.mpcfp-commerce-account .woocommerce form.register{padding:17px}
  .mpcfp-commerce-content .woocommerce table.shop_table_responsive td{padding:11px}
  .mpcfp-commerce-content .woocommerce .cart-collaterals .cart_totals{width:100%!important;padding:15px}
  .mpcfp-commerce-content .wc-block-components-sidebar-layout{display:block}
}
@media(prefers-reduced-motion:reduce){.mpcfp-commerce-content *{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Casa Floresta | ficha editorial da peça - v0.4.1 */
.mpcfp-commerce-product .mpcf-product-actions{margin-top:24px;gap:12px}
.mpcfp-commerce-product .mpcf-product-actions .mpcf-button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:12px 20px;border-radius:5px;line-height:1.3;text-decoration:none;font-weight:700;transition:background .2s ease, transform .2s ease,border-color .2s ease}
.mpcfp-commerce-product .mpcf-product-actions .mpcf-button--whatsapp{background:#2d9136!important;color:#fff!important;border:1px solid #2d9136!important}
.mpcfp-commerce-product .mpcf-product-actions .mpcf-button--whatsapp:hover{background:#19652c!important;transform:translateY(-1px)}
.mpcfp-commerce-product .mpcf-product-actions .mpcf-button--outline{background:transparent!important;color:#19502e!important;border:1px solid #90ae94!important}
.mpcfp-commerce-product .mpcf-product-actions .mpcf-button--outline:hover{border-color:#2d9136!important;background:#f1f7ee!important}
.mpcfp-commerce-product .mpcfp-piece-facts{border:1px solid #e4ebe1;border-radius:7px;background:#f7f9f5;padding:19px 22px;margin:26px 0 0;clear:both}
.mpcfp-commerce-product .mpcfp-piece-facts h2{font-size:17px!important;line-height:1.4;margin:0 0 13px!important;color:#204c30;font-weight:800}
.mpcfp-commerce-product .mpcfp-piece-facts dl{margin:0;display:grid;gap:9px}
.mpcfp-commerce-product .mpcfp-piece-facts dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:baseline;gap:10px;padding-bottom:9px;border-bottom:1px solid #e4eae1}
.mpcfp-commerce-product .mpcfp-piece-facts dt{font-weight:700;color:#43634b;font-size:12px}
.mpcfp-commerce-product .mpcfp-piece-facts dd{margin:0;color:#233b2c;font-size:13px;overflow-wrap:anywhere}
.mpcfp-commerce-product .mpcfp-piece-detail{padding-top:15px}
.mpcfp-commerce-product .mpcfp-piece-detail strong{color:#204c30;font-size:13px}
.mpcfp-commerce-product .mpcfp-piece-detail p{color:#526b58;line-height:1.6;font-size:13px;margin:6px 0 0}
.mpcfp-commerce-product .related.products h2{font-size:clamp(22px,2.4vw,30px)!important;font-weight:800;color:#19412a;margin-bottom:23px}
.mpcfp-commerce-checkout .mpcfp-review-ready{padding:22px 24px;background:#f2f8ee;border:1px solid #d7e9d5;border-radius:8px;margin-top:24px}
.mpcfp-commerce-checkout .mpcfp-review-ready h3{margin:0 0 8px;font-size:19px;color:#174a2a}
.mpcfp-review-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:13px}
.mpcfp-review-link{display:inline-flex;padding:10px 14px;background:#2b912e;color:white!important;border-radius:5px;font-weight:700;text-decoration:none}
.mpcfp-review-link:hover{background:#175d29}
.mpcfp-account-review-hint{font-size:13px;color:#5a7361}
@media(max-width:650px){.mpcfp-commerce-product .mpcf-product-actions{display:grid;grid-template-columns:1fr}.mpcfp-commerce-product .mpcf-product-actions .mpcf-button{width:100%}.mpcfp-commerce-product .mpcfp-piece-facts{padding:16px}.mpcfp-commerce-product .mpcfp-piece-facts dl>div{grid-template-columns:92px minmax(0,1fr)}}

/* Invoked only after a confirmed Completed order. Never during checkout entry. */
.mpcfp-review-dialog{border:1px solid #d5e6d1;border-radius:12px;padding:27px;max-width:min(480px,calc(100vw - 28px));width:100%;box-shadow:0 25px 80px rgba(5,31,18,.22);color:#20402b;background:#fff}
.mpcfp-review-dialog::backdrop{background:rgba(5,30,16,.55);backdrop-filter:blur(3px)}
.mpcfp-review-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.mpcfp-review-dialog h2{font-size:23px!important;line-height:1.23!important;margin:0 0 12px!important;color:#16422a!important}
.mpcfp-review-dialog p{font-size:14px;line-height:1.65;color:#587060}
.mpcfp-review-dialog-head button{border:0;background:#eef4ec;color:#1b5b2c;border-radius:50%;width:32px;height:32px;cursor:pointer;font-size:21px;line-height:1}
.mpcfp-review-later{border:0;background:transparent;color:#275c37;font-weight:700;cursor:pointer;margin-top:17px;padding:8px 0}


/* v0.7.5 | Single-product refinement: product pages only, WooCommerce native UI intact. */
body.mpcfp-commerce-product .mpcfp-commerce-crumb{gap:10px;padding:20px 0 25px;flex-wrap:wrap}
.mpcfp-commerce-product .woocommerce div.product .woocommerce-product-gallery__wrapper{
  background:#f8f9f6;border-color:#e6ece5;border-radius:7px;
}
/* Contain different portrait and landscape photographs; do not crop originals. */
.mpcfp-commerce-product .woocommerce-product-gallery__image>a{display:flex!important;align-items:center;justify-content:center;background:#f8f9f6}
.mpcfp-commerce-product .woocommerce-product-gallery__image>a>img{
  display:block!important;width:100%!important;height:clamp(340px,39vw,525px)!important;
  max-height:525px;object-fit:contain!important;background:#f8f9f6;
}
/* Limit thumbnail strip to one tidy, scrollable row without disabling native click/zoom. */
.mpcfp-commerce-product .woocommerce-product-gallery .flex-control-thumbs{
  display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;overflow-y:hidden;
  gap:9px;margin:12px 0 0!important;padding:0 1px 9px!important;
  scrollbar-width:thin;scrollbar-color:#b4c6b7 transparent;
}
.mpcfp-commerce-product .woocommerce-product-gallery .flex-control-thumbs li{
  float:none!important;flex:0 0 74px!important;width:74px!important;max-width:74px!important;
  margin:0!important;border:1px solid #dae5d9;border-radius:5px;overflow:hidden;
}
.mpcfp-commerce-product .woocommerce-product-gallery .flex-control-thumbs img{
  width:100%!important;height:74px!important;object-fit:cover;display:block;opacity:.75;
}
.mpcfp-commerce-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.mpcfp-commerce-product .woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1}
.mpcfp-commerce-product .woocommerce-product-gallery .flex-control-thumbs li:has(.flex-active){border-color:#287c39}
.mpcfp-commerce-product .woocommerce-product-gallery__trigger{background:#fff!important;color:#215833!important;box-shadow:0 2px 12px rgba(20,51,28,.12)}
.mpcfp-commerce-product div.product .summary{padding-top:3px!important}
.mpcfp-commerce-product div.product .summary h1.product_title{font-size:clamp(29px,2.9vw,42px)!important;line-height:1.18!important;margin:0 0 13px!important}
.mpcfp-commerce-product div.product .summary .woocommerce-product-details__short-description{color:#40584a;font-size:14px;line-height:1.65}
.mpcfp-commerce-product div.product .summary .price{font-size:clamp(20px,2.1vw,25px);margin-bottom:16px}
.mpcfp-commerce-product .mpcf-product-actions{gap:10px;margin:19px 0 21px}
.mpcfp-commerce-product .mpcf-product-actions .mpcf-button{min-height:45px;font-size:13px;padding:10px 16px;box-shadow:none}
.mpcfp-commerce-product .mpcf-product-actions :is(a,button):focus-visible,
.mpcfp-commerce-product .woocommerce-product-gallery .flex-control-thumbs img:focus-visible{outline:2px solid #267d38;outline-offset:3px}
.mpcfp-commerce-product .mpcfp-piece-facts{background:#fafbf9;border-color:#e5ebe5;margin-top:20px}
.mpcfp-commerce-product .related.products{margin-top:40px}
.mpcfp-commerce-product .related.products ul.products li.product{padding:10px;border-color:#e5ebe5}
.mpcfp-commerce-product .related.products ul.products li.product img{aspect-ratio:4/3;object-fit:contain;background:#f8f9f6}
@media(max-width:900px){
 .mpcfp-commerce-product .woocommerce-product-gallery__image>a>img{height:clamp(290px,42vw,435px)!important}
 .mpcfp-commerce-product .woocommerce-product-gallery .flex-control-thumbs li{flex-basis:66px!important;width:66px!important;max-width:66px!important}
 .mpcfp-commerce-product .woocommerce-product-gallery .flex-control-thumbs img{height:66px!important}
}
@media(max-width:650px){
 body.mpcfp-commerce-product .mpcfp-commerce-crumb{padding:15px 0 18px}
 .mpcfp-commerce-product .woocommerce-product-gallery__image>a>img{height:clamp(315px,95vw,420px)!important}
 .mpcfp-commerce-product div.product .woocommerce-product-gallery{margin-bottom:18px}
 .mpcfp-commerce-product div.product .summary{padding-top:0!important}
 .mpcfp-commerce-product div.product .summary h1.product_title{font-size:clamp(27px,7vw,34px)!important}
 .mpcfp-commerce-product .mpcf-product-actions{margin:17px 0 19px}
 .mpcfp-commerce-product .mpcf-product-actions .mpcf-button{min-height:45px;width:100%;font-size:13px}
 .mpcfp-commerce-product .related.products{margin-top:27px}
 .mpcfp-commerce-product .related.products ul.products{gap:12px}
}
/* Last-mile width and card-title safeguards. */
.mpcfp-commerce-product .mpcf-product-actions .mpcf-button{box-sizing:border-box!important;max-width:100%;min-width:0}
.mpcfp-commerce-product .related.products ul.products li.product .woocommerce-loop-product__title{
  font-size:14px!important;line-height:1.43!important;letter-spacing:0!important;font-weight:700!important;
  overflow-wrap:anywhere;margin:9px 0 6px!important;
}
@media(max-width:650px){
 .mpcfp-commerce-product .mpcf-product-actions>*{min-width:0;max-width:100%;box-sizing:border-box}
 .mpcfp-commerce-product .mpcf-product-actions .cf-single-basket-action{justify-content:center;flex-wrap:wrap}
 .mpcfp-commerce-product .related.products ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;line-height:1.4!important}
}

/* v0.7.9 — Single product only. Calm native gallery and genuinely related products. */
body.mpcfp-commerce-product .woocommerce-product-gallery{
  opacity:1!important;visibility:visible!important;transition:none!important;
}
body.mpcfp-commerce-product .woocommerce-product-gallery__image>a>img{
  opacity:1!important;visibility:visible!important;transition:none!important;
}
/* Keep the product photo visible while WooCommerce initialises the gallery.
   Do not disturb native FlexSlider slide positioning, zoom or lightbox. */
body.mpcfp-commerce-product .woocommerce-product-gallery__image>a{min-width:0;width:100%}
body.mpcfp-commerce-product .woocommerce-product-gallery__image>a>img{object-position:center center}
/* A clear, editorial follow-on rather than an unrelated room-styling promise. */
body.mpcfp-commerce-product .related.products{
  clear:both;margin-top:42px;padding-top:26px;border-top:1px solid #e4ebe5;
}
body.mpcfp-commerce-product .related.products>h2{
  margin:0 0 19px!important;font-size:clamp(22px,2.2vw,28px)!important;
  font-weight:750!important;line-height:1.3!important;letter-spacing:-.02em!important;
}
body.mpcfp-commerce-product .related.products ul.products{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px!important;margin:0!important;list-style:none;
}
body.mpcfp-commerce-product .related.products ul.products:before,
body.mpcfp-commerce-product .related.products ul.products:after{display:none!important}
body.mpcfp-commerce-product .related.products ul.products li.product{
  box-sizing:border-box;min-width:0;width:auto!important;float:none!important;
  margin:0!important;padding:9px 9px 13px!important;
  border:1px solid #e6ebe5!important;border-radius:6px!important;
  background:#fff;box-shadow:none!important;transform:none!important;
}
body.mpcfp-commerce-product .related.products ul.products li.product:hover{border-color:#bfd1c1!important}
body.mpcfp-commerce-product .related.products ul.products li.product>a.woocommerce-LoopProduct-link{
  display:block!important;color:#204a30!important;text-decoration:none!important;
}
body.mpcfp-commerce-product .related.products ul.products li.product img{
  box-sizing:border-box;display:block!important;width:100%!important;
  height:clamp(155px,16vw,218px)!important;max-height:218px;
  object-fit:contain!important;object-position:center!important;
  aspect-ratio:auto!important;border-radius:4px!important;
  background:#f7f8f5!important;margin:0 0 10px!important;
  transition:none!important;transform:none!important;
}
body.mpcfp-commerce-product .related.products ul.products li.product .woocommerce-loop-product__title{
  font-size:13px!important;line-height:1.45!important;font-weight:700!important;
  margin:6px 0!important;min-height:2.9em;color:#17402a!important;
}
body.mpcfp-commerce-product .related.products ul.products li.product .price{
  display:block;margin:5px 0 2px!important;font-size:12px!important;
  font-weight:700!important;color:#2f854f!important;
}
body.mpcfp-commerce-product .related.products ul.products li.product .button{
  min-height:35px;padding:8px 10px;margin-top:10px;
  font-size:12px;text-align:center;box-shadow:none!important;
}
@media(max-width:900px){
 body.mpcfp-commerce-product .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px!important}
 body.mpcfp-commerce-product .related.products ul.products li.product img{height:clamp(170px,28vw,225px)!important}
}
@media(max-width:650px){
 body.mpcfp-commerce-product .related.products{margin-top:28px;padding-top:19px}
 body.mpcfp-commerce-product .related.products ul.products{gap:10px!important}
 body.mpcfp-commerce-product .related.products ul.products li.product{padding:7px 7px 11px!important}
 body.mpcfp-commerce-product .related.products ul.products li.product img{height:clamp(145px,41vw,190px)!important}
 body.mpcfp-commerce-product .related.products ul.products li.product .woocommerce-loop-product__title{
   font-size:12.5px!important;min-height:3em;line-height:1.42!important;
 }
}
