/* Mosley Scientific v1.2: Scoped WooCommerce Classic + Blocks cart and checkout polish.
   Uses the plugin's editable navy/teal palette without replacing gateway templates. */
body.mscc-cart-page,body.mscc-checkout-page{
  --mscc-order-navy:#061f35;
  --mscc-order-teal:#08aaa9;
  --mscc-order-ink:#102b3d;
  --mscc-order-muted:#677a87;
  --mscc-order-line:#dae5eb;
  --mscc-order-soft:#f5f9fa;
  --mscc-order-radius:16px;
  --mscc-order-shadow:0 12px 36px rgba(6,31,53,.07);
  color:var(--mscc-order-ink);
}
body.mscc-cart-page .woocommerce,body.mscc-checkout-page .woocommerce,
body.mscc-cart-page .wp-block-woocommerce-cart,body.mscc-checkout-page .wp-block-woocommerce-checkout{
  font-family:inherit;
  color:var(--mscc-order-ink);
}
body.mscc-cart-page .woocommerce *,body.mscc-checkout-page .woocommerce *,
body.mscc-cart-page .wp-block-woocommerce-cart *,body.mscc-checkout-page .wp-block-woocommerce-checkout *{box-sizing:border-box}

/* Branded introduction and shopping flow */
body .mscc-order-hero{width:100%;margin:12px 0 20px;padding:32px 38px 0;border-radius:18px;
  overflow:hidden;background:linear-gradient(116deg,var(--mscc-order-navy) 0%,#103f55 73%,#145c64 100%);color:#fff;
  box-shadow:0 18px 42px rgba(6,31,53,.12);position:relative;isolation:isolate}
body .mscc-order-hero:before{content:"";position:absolute;top:-150px;right:-95px;width:400px;height:400px;
  border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 65px rgba(255,255,255,.024),0 0 0 130px rgba(255,255,255,.02);z-index:-1}
body .mscc-order-hero-main{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:28px}
body .mscc-order-heading{min-width:0}
body .mscc-order-eyebrow{display:inline-flex;align-items:center;gap:9px;color:#b3eced;letter-spacing:.14em;font-size:11px;font-weight:800}
body .mscc-order-eyebrow-dot{display:block;width:7px;height:7px;border-radius:50%;background:#25d4c7;box-shadow:0 0 0 4px rgba(37,212,199,.15)}
body .mscc-order-hero h1{color:#fff!important;font-size:clamp(29px,3vw,43px)!important;font-weight:800!important;line-height:1.13!important;letter-spacing:-.02em;margin:12px 0 9px!important;padding:0!important}
body .mscc-order-heading p{color:#d3e2e9;margin:0!important;max-width:570px;font-size:14px;line-height:1.6}
body .mscc-order-catalog-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:0 0 auto;
  padding:11px 17px;color:#fff!important;font-size:12px;font-weight:700;text-decoration:none!important;border:1px solid rgba(255,255,255,.4);border-radius:8px;
  transition:background .2s,border-color .2s,transform .2s}
body .mscc-order-catalog-link:hover,body .mscc-order-catalog-link:focus-visible{background:rgba(255,255,255,.14);border-color:#fff;transform:translateY(-1px)}
body .mscc-order-steps{list-style:none!important;display:flex!important;align-items:center;justify-content:space-between;gap:10px;
  margin:0!important;padding:16px 0!important;border-top:1px solid rgba(255,255,255,.17)}
body .mscc-order-steps li{list-style:none!important;display:flex;align-items:center;gap:10px;margin:0!important;padding:0;color:#c5d5dc;font-size:12px;font-weight:650}
body .mscc-order-step-number{display:flex;align-items:center;justify-content:center;width:25px;height:25px;flex:0 0 25px;border-radius:50%;
  background:rgba(255,255,255,.12);color:#e9f5f9;border:1px solid rgba(255,255,255,.32);font-weight:800;font-size:11px}
body .mscc-order-steps .is-current{color:#fff}
body .mscc-order-steps .is-current .mscc-order-step-number{background:var(--mscc-order-teal);border-color:var(--mscc-order-teal);color:#061f35}
body .mscc-order-steps .is-complete .mscc-order-step-number{background:#defcf6;border-color:#defcf6;color:#106155}
body .mscc-order-benefits{display:flex;justify-content:space-between;flex-wrap:wrap;gap:9px 18px;
  margin:0 0 26px;padding:15px 20px;border:1px solid #e1eaed;border-radius:12px;background:#f7fbfb}
body .mscc-order-benefits span{display:inline-flex;align-items:center;gap:7px;color:#4b6571;font-size:12px;font-weight:600;line-height:1.35}
body .mscc-order-benefits span span{color:#008b8a;font-size:15px;font-weight:900}
body .mscc-order-cold-notice{display:flex;align-items:flex-start;gap:13px;margin:0 0 24px;padding:17px 20px;
  border:1px solid #f0dfae;border-left:4px solid #e5b543;background:#fffaf0;border-radius:10px;color:#66502b}
body .mscc-order-cold-icon{width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;border-radius:50%;color:#6e4a09;background:#ffe7aa;font-weight:900}
body .mscc-order-cold-notice strong{display:block;font-size:14px;margin-bottom:4px}
body .mscc-order-cold-notice p{margin:0!important;font-size:13px;line-height:1.65;color:#75603a}

/* Shared inputs, buttons and messages */
body.mscc-cart-page .woocommerce input.input-text,body.mscc-checkout-page .woocommerce input.input-text,
body.mscc-checkout-page .woocommerce textarea,body.mscc-checkout-page .woocommerce select,
body.mscc-cart-page .woocommerce input.qty,body.mscc-checkout-page .woocommerce input.qty,
body.mscc-cart-page .wc-block-components-text-input input,body.mscc-checkout-page .wc-block-components-text-input input,
body.mscc-checkout-page .wc-block-components-combobox input,body.mscc-checkout-page .wc-block-components-textarea,
body.mscc-cart-page .wc-block-components-quantity-selector input{
  max-width:100%;border:1px solid #cfdde3;border-radius:9px;background:#fff;color:var(--mscc-order-ink);box-shadow:none;outline:0;
  transition:border-color .2s,box-shadow .2s}
body.mscc-cart-page .woocommerce input.input-text:focus,body.mscc-checkout-page .woocommerce input.input-text:focus,
body.mscc-checkout-page .woocommerce textarea:focus,body.mscc-checkout-page .woocommerce select:focus,
body.mscc-cart-page .wc-block-components-text-input input:focus,body.mscc-checkout-page .wc-block-components-text-input input:focus{
  border-color:var(--mscc-order-teal);box-shadow:0 0 0 3px rgba(8,170,169,.12)}
body.mscc-checkout-page .woocommerce input.input-text,body.mscc-checkout-page .woocommerce select{
  height:46px;padding:10px 13px}
body.mscc-checkout-page .woocommerce textarea{min-height:100px;padding:12px 14px}
body.mscc-cart-page .woocommerce a.button,body.mscc-cart-page .woocommerce button.button,
body.mscc-cart-page .woocommerce input.button,body.mscc-checkout-page .woocommerce a.button,
body.mscc-checkout-page .woocommerce button.button,body.mscc-checkout-page .woocommerce input.button,
body.mscc-cart-page .wc-block-components-button,body.mscc-checkout-page .wc-block-components-button{
  font-family:inherit;font-size:13px;line-height:1.4;letter-spacing:.01em;font-weight:800;
  padding:13px 19px;min-height:46px;border:0;border-radius:9px;background:var(--mscc-order-navy);color:#fff;
  transition:background .2s,box-shadow .2s,transform .2s}
body.mscc-cart-page .woocommerce a.button:hover,body.mscc-cart-page .woocommerce button.button:hover,
body.mscc-checkout-page .woocommerce button.button:hover,body.mscc-cart-page .wc-block-components-button:hover,
body.mscc-checkout-page .wc-block-components-button:hover{color:#fff;background:#12405d;box-shadow:0 8px 20px rgba(6,31,53,.12);transform:translateY(-1px)}
body.mscc-cart-page .woocommerce .checkout-button,body.mscc-checkout-page .woocommerce #place_order,
body.mscc-cart-page .wc-block-cart__submit-button,body.mscc-checkout-page .wc-block-components-checkout-place-order-button{
  width:100%;background:var(--mscc-order-teal)!important;color:#062332!important;font-weight:800;border-radius:10px;min-height:52px;
  box-shadow:0 8px 20px rgba(8,170,169,.2)}
body.mscc-cart-page .woocommerce .checkout-button:hover,body.mscc-checkout-page .woocommerce #place_order:hover,
body.mscc-cart-page .wc-block-cart__submit-button:hover,body.mscc-checkout-page .wc-block-components-checkout-place-order-button:hover{
  background:#18c2bc!important;color:#062332!important}
body.mscc-cart-page .woocommerce .woocommerce-message,body.mscc-checkout-page .woocommerce .woocommerce-message,
body.mscc-cart-page .woocommerce .woocommerce-info,body.mscc-checkout-page .woocommerce .woocommerce-info{
  border-top:3px solid var(--mscc-order-teal);border-radius:8px;background:#f0faf9;color:#143e48;box-shadow:none}
body.mscc-cart-page .woocommerce .woocommerce-error,body.mscc-checkout-page .woocommerce .woocommerce-error{border-top-color:#bf5260;border-radius:8px}

/* Classic WooCommerce cart */
body.mscc-cart-page .woocommerce-cart-form{margin:0 0 22px}
body.mscc-cart-page .woocommerce table.shop_table{border:1px solid var(--mscc-order-line);border-radius:14px;background:#fff;
  box-shadow:var(--mscc-order-shadow);border-collapse:separate;border-spacing:0;overflow:hidden}
body.mscc-cart-page .woocommerce table.shop_table thead th{background:#f2f7f8;color:#415666;font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  font-weight:800;padding:18px 15px;border:0;border-bottom:1px solid var(--mscc-order-line)}
body.mscc-cart-page .woocommerce table.shop_table td{border:0;border-bottom:1px solid #e8eff2;padding:20px 15px;vertical-align:middle;color:var(--mscc-order-ink)}
body.mscc-cart-page .woocommerce table.shop_table tbody tr:last-child td{border-bottom:0}
body.mscc-cart-page .woocommerce td.product-thumbnail{width:100px}
body.mscc-cart-page .woocommerce td.product-thumbnail img{width:75px;max-width:75px;aspect-ratio:1;object-fit:contain;
  padding:7px;border:1px solid #e4edf0;border-radius:10px;background:#fff}
body.mscc-cart-page .woocommerce td.product-name a{color:var(--mscc-order-navy);font-size:14px;font-weight:800;text-decoration:none}
body.mscc-cart-page .woocommerce td.product-name a:hover{color:#008e8d}
body.mscc-cart-page .woocommerce td.product-name .variation,
body.mscc-cart-page .woocommerce td.product-name dl.variation{font-size:12px;margin:8px 0 0;color:var(--mscc-order-muted)}
body.mscc-cart-page .woocommerce .product-remove a{color:#ad5660!important;font-size:22px;font-weight:600}
body.mscc-cart-page .woocommerce .quantity .qty{width:76px;min-height:44px;text-align:center;padding:7px;background:#f9fcfc}
body.mscc-cart-page .woocommerce td.product-price,body.mscc-cart-page .woocommerce td.product-subtotal{white-space:nowrap;font-weight:800}
body.mscc-cart-page .woocommerce td.actions{padding:18px!important;background:#f9fbfc}
body.mscc-cart-page .woocommerce td.actions .coupon{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.mscc-cart-page .woocommerce td.actions .coupon .input-text{min-width:155px;width:180px;padding:10px 12px;min-height:44px;margin:0}
body.mscc-cart-page .woocommerce td.actions .coupon button{min-height:44px}
body.mscc-cart-page .woocommerce td.actions button[name="update_cart"]{background:#e7eff2;color:#29465a;min-height:44px}
body.mscc-cart-page .woocommerce .cart-collaterals .cart_totals{float:right;max-width:100%;width:min(100%,430px);
  padding:23px 26px;border:1px solid var(--mscc-order-line);border-radius:14px;background:#fff;box-shadow:var(--mscc-order-shadow)}
body.mscc-cart-page .woocommerce .cart_totals h2{color:var(--mscc-order-navy);margin:0 0 15px;font-size:23px;font-weight:800}
body.mscc-cart-page .woocommerce .cart_totals table.shop_table{box-shadow:none;border:0;border-radius:0}
body.mscc-cart-page .woocommerce .cart_totals table.shop_table th,
body.mscc-cart-page .woocommerce .cart_totals table.shop_table td{padding:13px 6px;border-bottom:1px solid #ecf1f3}
body.mscc-cart-page .woocommerce .cart_totals .order-total th,body.mscc-cart-page .woocommerce .cart_totals .order-total td{color:var(--mscc-order-navy);font-size:17px}
body.mscc-cart-page .woocommerce .cart_totals .wc-proceed-to-checkout{padding-bottom:0}
body.mscc-cart-page .woocommerce .cart_totals .wc-proceed-to-checkout a{margin:0}
body.mscc-cart-page .woocommerce .woocommerce-shipping-calculator a{color:#047d80;font-weight:700}
body.mscc-cart-page .woocommerce .cart-empty{background:#f7fbfb;border:1px solid var(--mscc-order-line);border-radius:14px;padding:36px;text-align:center}
body.mscc-cart-page .woocommerce .return-to-shop{text-align:center}

/* Classic WooCommerce checkout: labels, sections and review summary */
body.mscc-checkout-page .woocommerce .woocommerce-checkout{display:block}
body.mscc-checkout-page .woocommerce form.checkout .col2-set{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0 0 22px}
body.mscc-checkout-page .woocommerce form.checkout .col2-set::before,body.mscc-checkout-page .woocommerce form.checkout .col2-set::after{display:none}
body.mscc-checkout-page .woocommerce form.checkout .col2-set .col-1,body.mscc-checkout-page .woocommerce form.checkout .col2-set .col-2{
  float:none;width:100%;min-width:0;padding:22px 23px;margin:0;border:1px solid var(--mscc-order-line);border-radius:14px;
  background:#fff;box-shadow:var(--mscc-order-shadow)}
body.mscc-checkout-page .woocommerce .woocommerce-billing-fields > h3,
body.mscc-checkout-page .woocommerce .woocommerce-shipping-fields > h3,
body.mscc-checkout-page .woocommerce #order_review_heading{font-weight:800;color:var(--mscc-order-navy);font-size:21px;margin:0 0 22px;padding:0 0 15px;border-bottom:1px solid #e3edf0}
body.mscc-checkout-page .woocommerce #order_review_heading{margin:26px 0 0;padding:0 0 12px}
body.mscc-checkout-page .woocommerce form .form-row{margin:0 0 16px}
body.mscc-checkout-page .woocommerce form .form-row label{color:#39556a;font-size:12px;font-weight:750;margin:0 0 7px}
body.mscc-checkout-page .woocommerce form .form-row .required{color:#bd4252}
body.mscc-checkout-page .woocommerce .select2-container--default .select2-selection--single{height:46px;display:flex;align-items:center;
  border:1px solid #cfdde3;border-radius:9px;padding:0 8px;background:#fff}
body.mscc-checkout-page .woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{top:9px}
body.mscc-checkout-page .woocommerce #order_review{padding:22px 23px;border:1px solid var(--mscc-order-line);border-radius:14px;
  background:#fff;box-shadow:var(--mscc-order-shadow)}
body.mscc-checkout-page .woocommerce #order_review table.shop_table{border:0;border-radius:0;margin:0 0 15px;border-collapse:separate}
body.mscc-checkout-page .woocommerce #order_review table.shop_table td,
body.mscc-checkout-page .woocommerce #order_review table.shop_table th{padding:15px 9px;border-left:0;border-right:0;border-bottom:1px solid #e7eef1}
body.mscc-checkout-page .woocommerce #order_review table.shop_table thead th{font-size:11px;color:#63727d;text-transform:uppercase;letter-spacing:.05em}
body.mscc-checkout-page .woocommerce #order_review .order-total th,body.mscc-checkout-page .woocommerce #order_review .order-total td{
  color:var(--mscc-order-navy);font-size:17px;font-weight:850}
body.mscc-checkout-page .woocommerce #payment{background:#f4f8fa;border:1px solid #e3eaed;border-radius:12px;overflow:hidden}
body.mscc-checkout-page .woocommerce #payment ul.payment_methods{padding:17px 19px;border-bottom:1px solid #dce5e9}
body.mscc-checkout-page .woocommerce #payment div.payment_box{background:#e4f3f3;border-radius:9px;color:#254b59}
body.mscc-checkout-page .woocommerce #payment div.payment_box::before{border-bottom-color:#e4f3f3}
body.mscc-checkout-page .woocommerce #payment div.form-row{padding:17px;margin:0}
body.mscc-checkout-page .woocommerce #payment .woocommerce-privacy-policy-text{color:#607482;font-size:12px;line-height:1.7}
body.mscc-checkout-page .woocommerce form.checkout_coupon,body.mscc-checkout-page .woocommerce form.login{
  border:1px solid var(--mscc-order-line);border-radius:12px;padding:20px;background:#fff}
body.mscc-checkout-page .woocommerce .mscc-certification{border:1px solid #cde5e5;border-radius:14px;
  background:linear-gradient(180deg,#f3fbfa,#fff);padding:28px;margin:26px 0;box-shadow:0 6px 25px rgba(6,31,53,.04)}
body.mscc-checkout-page .woocommerce .mscc-certification h3{font-size:23px!important;color:var(--mscc-order-navy)!important;margin:0 0 14px!important}
body.mscc-checkout-page .woocommerce .mscc-certification > p{font-size:13px;color:#486170;line-height:1.7}
body.mscc-checkout-page .woocommerce .mscc-certification .mscc-cert-choice{margin:9px 0;padding:14px 16px;
  border:1px solid #e0eaec;border-radius:9px;background:#fff}
body.mscc-checkout-page .woocommerce .mscc-certification .mscc-cert-choice label{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;font-weight:400;color:#3d5765}
body.mscc-checkout-page .woocommerce .mscc-cert-choice input[type="checkbox"]{flex:0 0 16px;margin:4px 0 0;width:16px;height:16px;accent-color:var(--mscc-order-teal)}
body.mscc-checkout-page .woocommerce .mscc-cert-choice strong{color:var(--mscc-order-navy)}
body.mscc-checkout-page .woocommerce .mscc-cold-pack-terms{margin:20px 0;padding:17px 20px;border:1px solid #ebd79b;
  border-left:4px solid #d6a12e;border-radius:10px;background:#fffaf0}
body.mscc-checkout-page .woocommerce .mscc-cold-pack-terms p{line-height:1.7;color:#6a552e;font-size:13px}
body.mscc-checkout-page .woocommerce .mscc-cold-pack-terms label{display:block;margin-top:12px;font-size:13px;font-weight:700;cursor:pointer}
body.mscc-checkout-page .woocommerce .mscc-cold-pack-terms input{accent-color:#b88724;margin-right:8px}
body.mscc-checkout-page .woocommerce .mscc-cold-pending{margin:20px 0;padding:14px 18px;border-radius:9px}

/* WooCommerce Cart / Checkout Blocks */
body.mscc-cart-page .wc-block-cart,body.mscc-checkout-page .wc-block-checkout{--wp--preset--color--contrast:var(--mscc-order-navy)}
body.mscc-cart-page .wc-block-cart__main,body.mscc-checkout-page .wc-block-checkout__main{min-width:0}
body.mscc-cart-page .wc-block-cart-items,body.mscc-cart-page .wc-block-components-sidebar-layout .wc-block-components-sidebar,
body.mscc-checkout-page .wc-block-components-sidebar-layout .wc-block-components-sidebar{
  border:1px solid var(--mscc-order-line);border-radius:14px;background:#fff;box-shadow:var(--mscc-order-shadow)}
body.mscc-cart-page .wc-block-cart-items{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden}
body.mscc-cart-page .wc-block-cart-items thead{background:#f3f8f9}
body.mscc-cart-page .wc-block-cart-items th{color:#475e6e;text-transform:uppercase;letter-spacing:.055em;font-size:11px;padding:17px!important}
body.mscc-cart-page .wc-block-cart-items td{padding:18px 16px!important}
body.mscc-cart-page .wc-block-cart-item__image img{border:1px solid #e3eaee;border-radius:10px;padding:5px;object-fit:contain}
body.mscc-cart-page .wc-block-components-product-name,body.mscc-checkout-page .wc-block-components-product-name{font-weight:800;color:var(--mscc-order-navy);text-decoration:none}
body.mscc-cart-page .wc-block-components-product-details,body.mscc-checkout-page .wc-block-components-product-details{color:#60727b;font-size:12px}
body.mscc-cart-page .wc-block-components-sidebar-layout .wc-block-components-sidebar,
body.mscc-checkout-page .wc-block-components-sidebar-layout .wc-block-components-sidebar{padding:20px;align-self:start}
body.mscc-cart-page .wc-block-components-totals-wrapper,body.mscc-checkout-page .wc-block-components-totals-wrapper{border-top-color:#e4edf0}
body.mscc-cart-page .wc-block-components-totals-item__label,body.mscc-checkout-page .wc-block-components-totals-item__label{color:#496577}
body.mscc-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.mscc-checkout-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{color:var(--mscc-order-navy);font-weight:850}
body.mscc-cart-page .wc-block-cart__submit-container,body.mscc-checkout-page .wc-block-components-checkout-place-order-button{border-radius:10px}
body.mscc-checkout-page .wc-block-checkout__form .wc-block-components-checkout-step{padding:20px 23px;
  border:1px solid var(--mscc-order-line);border-radius:14px;background:#fff;margin-bottom:17px;box-shadow:0 5px 22px rgba(6,31,53,.035)}
body.mscc-checkout-page .wc-block-components-checkout-step__heading{margin-bottom:17px}
body.mscc-checkout-page .wc-block-components-checkout-step__title{font-size:19px;color:var(--mscc-order-navy);font-weight:800}
body.mscc-checkout-page .wc-block-components-checkout-step__description{color:var(--mscc-order-muted);font-size:12px}
body.mscc-checkout-page .wc-block-components-checkbox__input,body.mscc-cart-page .wc-block-components-checkbox__input{accent-color:var(--mscc-order-teal)}
body.mscc-checkout-page .wc-block-components-radio-control__option{border-color:#dfeaed}
body.mscc-checkout-page .wc-block-components-address-form__address_1{margin-top:0}
body.mscc-checkout-page .wc-block-components-order-summary-item__image img{border-radius:8px}
body.mscc-checkout-page .wc-block-checkout__actions{padding-top:16px}

@media (max-width: 980px){
  body .mscc-order-hero{padding:28px 25px 0}
  body.mscc-checkout-page .woocommerce form.checkout .col2-set{gap:14px}
  body.mscc-checkout-page .woocommerce form.checkout .col2-set .col-1,
  body.mscc-checkout-page .woocommerce form.checkout .col2-set .col-2{padding:19px}
}
@media (max-width: 780px){
  body.mscc-checkout-page .woocommerce form.checkout .col2-set{grid-template-columns:minmax(0,1fr)}
  body.mscc-cart-page .woocommerce .cart-collaterals .cart_totals{width:100%;float:none}
  body.mscc-cart-page .woocommerce table.shop_table td{padding:12px}
  body .mscc-order-benefits{justify-content:flex-start;gap:10px 22px}
}
@media (max-width: 600px){
  body .mscc-order-hero{margin-top:8px;padding:23px 18px 0;border-radius:13px}
  body .mscc-order-hero-main{flex-direction:column;align-items:flex-start;gap:16px;padding-bottom:22px}
  body .mscc-order-hero h1{font-size:30px!important}
  body .mscc-order-catalog-link{min-height:38px;padding:9px 12px}
  body .mscc-order-steps{gap:6px;justify-content:space-between}
  body .mscc-order-steps li{flex:1;flex-direction:column;gap:6px;text-align:center;font-size:10px;line-height:1.25}
  body .mscc-order-benefits{padding:13px 15px;margin-bottom:18px;flex-direction:column;gap:8px}
  body .mscc-order-cold-notice{padding:14px}
  body.mscc-cart-page .woocommerce table.shop_table_responsive tr td::before{font-weight:700;color:var(--mscc-order-muted)}
  body.mscc-cart-page .woocommerce table.shop_table td.product-thumbnail{display:block;text-align:left!important;width:auto}
  body.mscc-cart-page .woocommerce table.shop_table td.product-name{text-align:left!important}
  body.mscc-cart-page .woocommerce table.shop_table td.actions .coupon{display:flex;width:100%;float:none;margin:0 0 12px}
  body.mscc-cart-page .woocommerce table.shop_table td.actions .coupon .input-text{width:100%;min-width:0;flex:1}
  body.mscc-cart-page .woocommerce td.actions button[name="update_cart"]{width:100%}
  body.mscc-cart-page .woocommerce .cart-collaterals .cart_totals{padding:17px}
  body.mscc-checkout-page .woocommerce form.checkout .col2-set .col-1,
  body.mscc-checkout-page .woocommerce form.checkout .col2-set .col-2,
  body.mscc-checkout-page .woocommerce #order_review{padding:17px}
  body.mscc-checkout-page .woocommerce .mscc-certification{padding:17px 14px}
  body.mscc-checkout-page .woocommerce .mscc-certification .mscc-cert-choice{padding:11px}
  body.mscc-cart-page .wc-block-components-sidebar-layout .wc-block-components-sidebar,
  body.mscc-checkout-page .wc-block-components-sidebar-layout .wc-block-components-sidebar{padding:15px}
  body.mscc-checkout-page .wc-block-checkout__form .wc-block-components-checkout-step{padding:16px}
}
@media (prefers-reduced-motion:reduce){
  body .mscc-order-catalog-link,body.mscc-cart-page .woocommerce a.button,body.mscc-checkout-page .woocommerce button.button,
  body.mscc-cart-page .wc-block-components-button,body.mscc-checkout-page .wc-block-components-button{transition:none!important;transform:none!important}
}

/* Mosley quote, bulk-sourcing, COA and SDS inquiry page. Isolated from theme forms. */
.mscc-inquiry{
  --mscc-inquiry-navy:#061f35;--mscc-inquiry-teal:#08aaa9;
  --mscc-inquiry-border:#dae5eb;--mscc-inquiry-ink:#18344a;
  --mscc-inquiry-muted:#657b89;font-family:inherit;box-sizing:border-box;
  color:var(--mscc-inquiry-ink);width:100%;max-width:1210px;margin:0 auto 55px;
}
.mscc-inquiry *{box-sizing:border-box}
.mscc-inquiry .mscc-inquiry-hero{
  position:relative;overflow:hidden;isolation:isolate;
  padding:38px 42px;margin-bottom:28px;border-radius:17px;
  background:linear-gradient(117deg,#061f35 4%,#104159 70%,#186267 100%);
  box-shadow:0 15px 36px rgba(6,31,53,.11);
}
.mscc-inquiry .mscc-inquiry-hero:after{content:"";position:absolute;right:-100px;top:-110px;
  height:320px;width:320px;border:1px solid rgba(255,255,255,.18);border-radius:50%;
  box-shadow:0 0 0 60px rgba(255,255,255,.025),0 0 0 120px rgba(255,255,255,.015);z-index:-1}
.mscc-inquiry .mscc-inquiry-eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;color:#82e4dd}
.mscc-inquiry .mscc-inquiry-hero h1{font-size:clamp(28px,3vw,42px)!important;font-weight:800!important;
  margin:11px 0 11px!important;line-height:1.18!important;color:#fff!important}
.mscc-inquiry .mscc-inquiry-hero p{margin:0;line-height:1.65;font-size:14px;max-width:730px;color:#cce3e8}
.mscc-inquiry-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:23px;align-items:start}
.mscc-inquiry-panel{background:#fff;border:1px solid var(--mscc-inquiry-border);border-radius:16px;
  box-shadow:0 12px 34px rgba(6,31,53,.055);padding:29px 31px}
.mscc-inquiry-section-title{display:flex;gap:13px;align-items:flex-start;margin:5px 0 19px}
.mscc-inquiry-section-title:not(:first-of-type){padding-top:27px;margin-top:25px;border-top:1px solid #e5edef}
.mscc-inquiry-section-title>span{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;
  background:#dcf6f4;color:#0d777b;border-radius:9px;font-weight:800;font-size:12px}
.mscc-inquiry-section-title h2{color:var(--mscc-inquiry-navy)!important;font-size:20px!important;
  font-weight:800!important;margin:0 0 5px!important;line-height:1.3!important}
.mscc-inquiry-section-title p{font-size:12px;color:var(--mscc-inquiry-muted);margin:0;line-height:1.55}
.mscc-inquiry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 17px}
.mscc-inquiry-field{min-width:0}
.mscc-inquiry-field.is-wide{grid-column:1/-1}
.mscc-inquiry-field label{display:block;color:#30495b;font-size:12px;font-weight:800;margin:0 0 7px}
.mscc-inquiry-field label span{color:#ad404c}
.mscc-inquiry .mscc-inquiry-field input,.mscc-inquiry .mscc-inquiry-field textarea{
  width:100%;max-width:100%;display:block;border:1px solid #cedde3!important;border-radius:9px!important;
  background:#fff!important;box-shadow:none!important;color:var(--mscc-inquiry-ink)!important;
  font-size:13px!important;padding:12px 13px!important;line-height:1.45!important;outline:0;
  transition:border-color .2s,box-shadow .2s;min-height:46px}
.mscc-inquiry .mscc-inquiry-field textarea{resize:vertical;min-height:108px}
.mscc-inquiry .mscc-inquiry-field input:focus,.mscc-inquiry .mscc-inquiry-field textarea:focus{
  border-color:var(--mscc-inquiry-teal)!important;box-shadow:0 0 0 3px rgba(8,170,169,.13)!important}
.mscc-inquiry .mscc-inquiry-field input::placeholder,.mscc-inquiry .mscc-inquiry-field textarea::placeholder{color:#9aacb6}
.mscc-inquiry .mscc-inquiry-privacy{font-size:11px;line-height:1.6;color:#68818c;margin:19px 0 13px}
.mscc-inquiry .mscc-inquiry-submit{display:flex;align-items:center;justify-content:center;gap:16px;
  width:100%;min-height:51px;text-align:center;background:var(--mscc-inquiry-teal)!important;
  color:#06283a!important;border:0!important;box-shadow:0 8px 21px rgba(8,170,169,.2);
  border-radius:9px!important;font-size:13px!important;font-weight:850!important;padding:13px 20px!important;cursor:pointer;
  transition:background .2s,transform .2s}
.mscc-inquiry .mscc-inquiry-submit:hover,.mscc-inquiry .mscc-inquiry-submit:focus-visible{background:#2ed1c9!important;transform:translateY(-1px)}
.mscc-inquiry-sidebar{display:grid;gap:18px}
.mscc-inquiry-side-card{padding:26px 24px;border-radius:14px;background:var(--mscc-inquiry-navy);color:#fff}
.mscc-inquiry-side-icon{width:40px;height:40px;display:grid;place-items:center;font-size:28px;
  border-radius:9px;color:#5ce3d7;background:rgba(255,255,255,.09);margin-bottom:18px}
.mscc-inquiry-side-card h3{color:#fff!important;font-size:18px!important;line-height:1.4!important;margin:0 0 12px!important;font-weight:800}
.mscc-inquiry-side-card p{color:#c1d5de;font-size:12px;line-height:1.75;margin:0}
.mscc-inquiry-side-card.is-light{background:#f4f9fa;border:1px solid #dcebef}
.mscc-inquiry-side-card.is-light h3{color:var(--mscc-inquiry-navy)!important}
.mscc-inquiry-side-card.is-light p{color:#526e7c;margin-bottom:15px}
.mscc-inquiry-side-card a{font-size:12px;font-weight:750;color:#087b7d!important;text-decoration:none}
.mscc-inquiry-side-card a:hover{text-decoration:underline}
.mscc-inquiry-alert{padding:16px 19px;border:1px solid;border-radius:10px;margin:0 0 20px;font-size:13px;line-height:1.6}
.mscc-inquiry-alert.is-success{color:#145e44;background:#ebfbf3;border-color:#b9e4c9}
.mscc-inquiry-alert.is-error{color:#923d3d;background:#fff0f0;border-color:#edc7c7}
.mscc-inquiry-trap{position:absolute!important;left:-99999px!important;height:0!important;overflow:hidden!important}
@media (max-width:950px){.mscc-inquiry-layout{grid-template-columns:minmax(0,1fr)}
  .mscc-inquiry-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.mscc-inquiry .mscc-inquiry-hero{padding:25px 21px;border-radius:12px}
  .mscc-inquiry-panel{padding:20px 17px}.mscc-inquiry-grid{grid-template-columns:minmax(0,1fr);gap:13px}
  .mscc-inquiry-field.is-wide{grid-column:auto}.mscc-inquiry-sidebar{grid-template-columns:minmax(0,1fr)}
  .mscc-inquiry-section-title h2{font-size:18px!important}}
@media (prefers-reduced-motion:reduce){.mscc-inquiry .mscc-inquiry-submit{transition:none;transform:none!important}}

/* Dedicated quote page wrapper; handles full-width and narrow themes. */
.mscc-quote-page-template{display:block!important;width:100%;max-width:none!important;margin:0!important;padding:0 20px;background:#f7fafc;min-height:60vh}
.mscc-quote-page-template .mscc-quote-container{width:100%;max-width:1240px;margin:0 auto;padding:38px 0 56px}
.mscc-quote-page-template .mscc-inquiry{margin-bottom:0}
@media(max-width:640px){.mscc-quote-page-template{padding:0 14px}.mscc-quote-page-template .mscc-quote-container{padding:22px 0 34px}}

/* ===========================================================================
   v1.2.2 — Classic Checkout layout repair.
   Several WordPress themes float #customer_details and #order_review at 48%.
   The previous CSS also split empty .col2-set shipping content into a second
   card, squeezing the declaration into a tiny third column. Keep Woo hooks,
   gateways, notices and normal order-review fragments intact.
   =========================================================================== */
body.mscc-checkout-page .woocommerce {
  container-name: msccCheckout;
  container-type: inline-size;
}
body.mscc-checkout-page .woocommerce form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.48fr) minmax(320px, 0.92fr) !important;
  align-items: start !important;
  column-gap: clamp(18px, 2.5vw, 30px) !important;
  row-gap: 20px !important;
  width: 100% !important;
  max-width: none !important;
  clear: both !important;
}
body.mscc-checkout-page .woocommerce form.checkout::before,
body.mscc-checkout-page .woocommerce form.checkout::after {
  display: none !important;
}
body.mscc-checkout-page .woocommerce form.checkout > #customer_details {
  grid-column: 1;
  grid-row: 1;
  display: block !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.mscc-checkout-page .woocommerce form.checkout #customer_details.col2-set {
  display: block !important;
  width: 100% !important;
  grid-template-columns: none !important;
}
body.mscc-checkout-page .woocommerce form.checkout #customer_details.col2-set::before,
body.mscc-checkout-page .woocommerce form.checkout #customer_details.col2-set::after {
  display: none !important;
}
body.mscc-checkout-page .woocommerce form.checkout #customer_details .col-1,
body.mscc-checkout-page .woocommerce form.checkout #customer_details .col-2 {
  display: block;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: clamp(20px, 2.4vw, 30px) !important;
  background: #fff;
  border: 1px solid var(--mscc-order-line);
  border-radius: 15px;
  box-shadow: var(--mscc-order-shadow);
}
body.mscc-checkout-page .woocommerce form.checkout #customer_details .col-2 {
  margin-top: 20px !important;
}
/* Empty Woo shipping wrappers should never render as a white phantom card.
   Preserve the panel if the store has actual shipping, notes or other inputs. */
body.mscc-checkout-page .woocommerce form.checkout #customer_details .col-2:empty,
body.mscc-checkout-page .woocommerce form.checkout #customer_details .col-2:not(:has(input:not([type="hidden"]), textarea, select, button, label, a[href])) {
  display: none !important;
}
body.mscc-checkout-page .woocommerce form.checkout > .mscc-checkout-summary {
  grid-column: 2;
  grid-row: 1;
  display: block !important;
  float: none !important;
  clear: none !important;
  min-width: 0;
  width: 100% !important;
  margin: 0 !important;
  padding: 21px;
  background: #fff;
  border: 1px solid var(--mscc-order-line);
  border-radius: 15px;
  box-shadow: var(--mscc-order-shadow);
  position: sticky;
  top: 24px;
}
body.admin-bar.mscc-checkout-page .woocommerce form.checkout > .mscc-checkout-summary {top: 56px;}
body.mscc-checkout-page .woocommerce form.checkout .mscc-checkout-summary #order_review_heading {
  display: block !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 0 17px !important;
  font-size: 21px !important;
  line-height: 1.3;
}
body.mscc-checkout-page .woocommerce form.checkout .mscc-checkout-summary #order_review {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.mscc-checkout-page .woocommerce form.checkout .mscc-checkout-summary table.shop_table {
  width: 100% !important;
  table-layout: auto;
}
body.mscc-checkout-page .woocommerce form.checkout .mscc-checkout-summary .product-name {
  overflow-wrap: anywhere;
}
/* Fallback for checkout templates that omit the normal order-review hooks. */
body.mscc-checkout-page .woocommerce form.checkout > #order_review_heading,
body.mscc-checkout-page .woocommerce form.checkout > #order_review {
  grid-column: 2;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  min-width: 0;
}
body.mscc-checkout-page .woocommerce form.checkout > #order_review_heading {grid-row: 1;}
body.mscc-checkout-page .woocommerce form.checkout > #order_review {grid-row: 2;}

/* The entire end-user declaration belongs beneath billing fields (not to the
   right of them). Two flex children = checkbox + one wrapping copy block. */
body.mscc-checkout-page .woocommerce #customer_details .mscc-certification {
  display: block;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 27px 0 0 !important;
  padding: clamp(17px, 2.2vw, 25px) !important;
  border: 1px solid #cde6e6;
  border-radius: 12px;
  background: #f4fbfa;
}
body.mscc-checkout-page .woocommerce #customer_details .mscc-certification h3 {
  font-size: clamp(20px, 2vw, 24px) !important;
  line-height: 1.3 !important;
  overflow-wrap: anywhere;
}
body.mscc-checkout-page .woocommerce #customer_details .mscc-cert-choice {margin: 11px 0 !important;padding: 13px !important;}
body.mscc-checkout-page .woocommerce #customer_details .mscc-cert-choice label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 11px !important;
  width: 100%;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}
body.mscc-checkout-page .woocommerce #customer_details .mscc-cert-choice input[type="checkbox"] {
  display: block !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
}
body.mscc-checkout-page .woocommerce #customer_details .mscc-cert-choice-text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 400;
  white-space: normal;
}
body.mscc-checkout-page .woocommerce #customer_details .mscc-cert-choice-text strong {display: inline;color: var(--mscc-order-navy);font-size: inherit;}
body.mscc-checkout-page .woocommerce #customer_details .mscc-certification .form-row-wide {
  float: none !important;
  clear: both !important;
  width: 100% !important;
}
body.mscc-checkout-page .woocommerce #customer_details .mscc-certification input[type="text"],
body.mscc-checkout-page .woocommerce #customer_details .mscc-certification input[type="date"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #ccdae0;
  border-radius: 8px;
  color: var(--mscc-order-ink);
  background: #fff;
}
/* Let sections stack before the available Elementor content width gets cramped. */
@media (max-width: 1040px) {
  body.mscc-checkout-page .woocommerce form.checkout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }
  body.mscc-checkout-page .woocommerce form.checkout > #customer_details,
  body.mscc-checkout-page .woocommerce form.checkout > .mscc-checkout-summary,
  body.mscc-checkout-page .woocommerce form.checkout > #order_review_heading,
  body.mscc-checkout-page .woocommerce form.checkout > #order_review {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  body.mscc-checkout-page .woocommerce form.checkout > .mscc-checkout-summary {position: static;}
}
@container msccCheckout (max-width: 850px) {
  body.mscc-checkout-page .woocommerce form.checkout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }
  body.mscc-checkout-page .woocommerce form.checkout > #customer_details,
  body.mscc-checkout-page .woocommerce form.checkout > .mscc-checkout-summary,
  body.mscc-checkout-page .woocommerce form.checkout > #order_review_heading,
  body.mscc-checkout-page .woocommerce form.checkout > #order_review {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  body.mscc-checkout-page .woocommerce form.checkout > .mscc-checkout-summary {position: static;}
}
@media (max-width: 600px) {
  body.mscc-checkout-page .woocommerce form.checkout #customer_details .col-1,
  body.mscc-checkout-page .woocommerce form.checkout #customer_details .col-2,
  body.mscc-checkout-page .woocommerce form.checkout > .mscc-checkout-summary {padding: 15px !important;}
  body.mscc-checkout-page .woocommerce form.checkout #customer_details .form-row-first,
  body.mscc-checkout-page .woocommerce form.checkout #customer_details .form-row-last {
    float: none !important;
    width: 100% !important;
  }
  body.mscc-checkout-page .woocommerce #customer_details .mscc-certification {padding: 14px !important;}
  body.mscc-checkout-page .woocommerce #customer_details .mscc-cert-choice label {font-size: 12px !important;}
}
