/* INVIA POD Options v5.8.77 — Mobile Heading Repair & Color Grid UX Cleanup.
   Frontend-only visual hierarchy and paint budget layer. No cart, pricing,
   mockup data, template, database, checkout, or order contract changes. */

body.single-product .mtpo-box.mtpo-purchase-studio{
  --mtpo-neutral-selected:#111827;
  --mtpo-neutral-selected-fg:#fff;
  --mtpo-brand-selected:#3156f5;
  --mtpo-chip-border:#d5dbe5;
  --mtpo-soft-shadow:0 6px 16px rgba(15,23,42,.055);
}

/* Price hierarchy regression repair.
   Reset the legacy inner price wrappers completely, then set explicit sizes for
   WooCommerce amount markup and plain-text fallbacks. This prevents inherited
   min-height/padding and relative em rules from shrinking the live price. */
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band{
  min-height:72px!important;
  margin:18px 28px 10px!important;
  padding:14px 20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fbfdff!important;
  border:1px solid #dbe3ef!important;
  border-radius:22px!important;
  box-shadow:0 7px 18px rgba(15,23,42,.055)!important;
  color:#111827!important;
  overflow:hidden!important;
}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band:before,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band:after{display:none!important;content:none!important}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .price,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band p.price,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .product-page-price,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .price-wrapper,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .mtpo-from-price,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .mtpo-price-sale,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .mtpo-price-regular{
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:baseline!important;
  justify-content:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:#111827!important;
  text-align:center!important;
  line-height:1!important;
}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band ins,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band ins .woocommerce-Price-amount,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band ins .amount,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band ins bdi,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .mtpo-price-regular,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .mtpo-price-regular .woocommerce-Price-amount,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .mtpo-price-regular .amount,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .mtpo-price-regular bdi,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band > .price > .woocommerce-Price-amount,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band > .price > .amount,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band > .price > bdi{
  margin:0!important;
  color:#111827!important;
  font-size:clamp(30px,2.5vw,42px)!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:-.04em!important;
  text-decoration:none!important;
}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band del,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band del .woocommerce-Price-amount,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band del .amount,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band del bdi{
  margin:0!important;
  color:#94a3b8!important;
  opacity:1!important;
  font-size:clamp(18px,1.55vw,26px)!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:-.025em!important;
  text-decoration-thickness:2px!important;
}
/* Clear semantic states: product and size are neutral; only Color uses product color. */
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-style.is-active,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-size-grid .mtpo-chip.is-active{
  background:#0f1115!important;color:#fff!important;border-color:#0f1115!important;
  box-shadow:0 0 0 5px rgba(203,213,225,.72),0 10px 20px rgba(15,23,42,.10)!important;
  transform:none!important;
}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-style.is-active *,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-size-grid .mtpo-chip.is-active *{color:inherit!important}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-style.is-active:before,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-style.is-active:after,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-size-grid .mtpo-chip.is-active:before,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-size-grid .mtpo-chip.is-active:after{display:none!important;content:none!important}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-grid .mtpo-chip.is-active[data-mtpo-smart-color="1"]{
  background:var(--mtpo-chip-bg)!important;
  color:var(--mtpo-chip-fg)!important;
  border-color:var(--mtpo-chip-border)!important;
  box-shadow:0 0 0 5px var(--mtpo-selected-ring,rgba(49,86,245,.16))!important;
  transform:none!important;
}

/* Consistent controls with cheaper paint. */
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-style,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-chip{
  min-height:48px!important;
  height:auto!important;
  border:1px solid var(--mtpo-chip-border)!important;
  box-shadow:0 3px 9px rgba(15,23,42,.035)!important;
  transition:background-color .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease,transform .12s ease!important;
  will-change:auto!important;
}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-style:hover,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-chip:hover{transform:translateY(-1px)!important;box-shadow:var(--mtpo-soft-shadow)!important}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-style span,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-chip{line-height:1.08!important}

/* Color chips: text-only, no radio-like decorative node.
   Unselected colors remain neutral; only the active color receives the actual
   product-color fill from the deterministic Smart Color engine. */
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-grid .mtpo-chip{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-grid .mtpo-chip[data-mtpo-smart-color="1"]:not(.is-active){
  background:#fff!important;
  color:#111827!important;
  border-color:var(--mtpo-chip-border)!important;
  box-shadow:0 3px 9px rgba(15,23,42,.035)!important;
}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-chip-label{min-width:0}
/* Headings communicate the current state and explicit size requirement. */
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-field-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-field-heading label{margin:0!important}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-current-selection,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-size-prompt{color:#667085;font-size:12px;font-weight:800;text-align:right}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-size-prompt:not(.is-ready){color:#b45309}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio.mtpo-size-missing .mtpo-size-grid{border-radius:16px;outline:2px solid rgba(245,158,11,.18);outline-offset:5px}

/* Add-to-cart readiness and compact action area. */
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-actions{padding:14px!important;gap:12px!important;box-shadow:0 6px 18px rgba(15,23,42,.045)!important}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-cart-wrap{min-width:0}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .single_add_to_cart_button:disabled{cursor:not-allowed!important;opacity:.58!important;filter:saturate(.65)!important;box-shadow:none!important}

/* Adaptive density when a product exposes many formats/colors/sizes. */
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio.mtpo-density-compact{padding-bottom:14px!important}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio.mtpo-density-compact .mtpo-style-grid,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio.mtpo-density-compact .mtpo-color-grid,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio.mtpo-density-compact .mtpo-size-grid{gap:9px!important}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio.mtpo-density-compact .mtpo-style,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio.mtpo-density-compact .mtpo-chip{min-height:44px!important;padding:9px 12px!important;font-size:14px!important}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio.mtpo-density-compact .mtpo-field{margin-top:16px!important}

/* Size guide and delivery are informative but no longer dominate initial viewport. */
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-guide-card{box-shadow:none!important;border-color:#dbe3ef!important;background:#fbfdff!important}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-delivery-confidence-card{padding:14px!important;box-shadow:none!important;border-color:#dbe3ef!important;background:#fff!important}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-delivery-head{gap:12px!important;margin-bottom:8px!important}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-delivery-head strong{font-size:15px!important;line-height:1.25!important}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-delivery-details{border-top:1px solid #edf1f6;margin-top:8px;padding-top:8px}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-delivery-details summary{cursor:pointer;color:#344054;font-size:12px;font-weight:850;list-style:none;display:flex;justify-content:space-between;gap:10px}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-delivery-details summary::-webkit-details-marker{display:none}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-delivery-details summary:after{content:'+';font-size:16px;line-height:1}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-delivery-details[open] summary:after{content:'−'}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-delivery-details .mtpo-delivery-grid{margin-top:10px}
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-delivery-confidence-line{margin-top:10px!important}

/* Bounded mockup switch status, no spinner/overlay repaint. */
body.single-product .mtpo-box.mtpo-mockup-sync-pending .mtpo-head-note{opacity:.72}

/* Below-fold panels can skip paint until they approach the viewport. */
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-info,
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-after-options{content-visibility:auto;contain-intrinsic-size:1px 240px}

/* Color expansion control is mobile-only. */
body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-toggle{display:none}

/* v5.8.77 — single consolidated mobile purchase-flow layer.
   Replaces v5.8.76; mobile heading and color grid are authoritative here. */
@media(max-width:760px){
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band{
    min-height:56px!important;margin:10px 14px 6px!important;padding:9px 12px!important;
    border-radius:18px!important;box-shadow:0 5px 13px rgba(15,23,42,.045)!important;
  }
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band ins,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band ins .woocommerce-Price-amount,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band ins .amount,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band ins bdi,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .mtpo-price-regular,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .mtpo-price-regular .woocommerce-Price-amount,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .mtpo-price-regular .amount,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band .mtpo-price-regular bdi{font-size:clamp(27px,8vw,33px)!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band del,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band del .woocommerce-Price-amount,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band del .amount,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-price-band del bdi{font-size:clamp(16px,4.8vw,20px)!important}

  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-head{
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;
    grid-template-columns:none!important;padding:12px 14px 11px!important;gap:3px!important;overflow:visible!important;
  }
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-head strong{
    display:block!important;width:100%!important;min-width:0!important;margin:0!important;white-space:normal!important;overflow:visible!important;
    font-size:clamp(24px,7vw,29px)!important;line-height:1.04!important;letter-spacing:-.038em!important;
  }
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-head strong:before,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-head strong:after,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-head-note:before,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-head-note:after{content:none!important;display:none!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-head-note{
    display:block!important;width:100%!important;max-width:none!important;margin:0!important;justify-self:auto!important;text-align:left!important;
    font-size:12px!important;line-height:1.2!important;letter-spacing:-.01em!important;white-space:normal!important;overflow:visible!important;
  }
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-style-grid,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-size-grid{gap:8px!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-field{margin-top:14px!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-field-heading{margin-bottom:8px!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-current-selection,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-size-prompt{font-size:11px!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-style,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-chip{min-height:43px!important;padding:8px 9px!important;box-shadow:none!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-style.is-active,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-size-grid .mtpo-chip.is-active{
    background:#0f1115!important;color:#fff!important;border-color:#0f1115!important;
    box-shadow:0 0 0 4px rgba(203,213,225,.70)!important;
  }

  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-label:after{content:none!important;display:none!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-grid{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow:visible!important;
    gap:8px!important;margin:0!important;padding:0!important;scroll-behavior:auto!important;scroll-snap-type:none!important;
    -webkit-mask-image:none!important;mask-image:none!important;
  }
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-grid .mtpo-chip{
    width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;padding:8px 7px!important;
  }
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-grid .mtpo-chip[hidden]{display:none!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio.mtpo-color-collapsible:not(.mtpo-color-expanded) .mtpo-color-grid .mtpo-chip:nth-child(n+7){display:none!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-toggle{
    width:100%!important;min-height:40px!important;margin:9px 0 0!important;padding:8px 12px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
    border:1px solid #d9e1ec!important;border-radius:13px!important;background:#f8fafc!important;color:#26364d!important;box-shadow:none!important;
    font-size:12px!important;font-weight:850!important;line-height:1.15!important;cursor:pointer!important;
  }
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-toggle[hidden]{display:none!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-toggle small{font:inherit!important;color:#667085!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-toggle:after{content:'+';font-size:16px;line-height:1;font-weight:800}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio.mtpo-color-expanded .mtpo-color-toggle:after{content:'−'}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-grid .mtpo-chip[data-mtpo-smart-color="1"]:not(.is-active){
    background:#fff!important;color:#111827!important;border-color:#cfd8e6!important;box-shadow:none!important;transform:none!important;
  }
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-grid .mtpo-chip.is-active[data-mtpo-smart-color="1"]{
    background:var(--mtpo-chip-bg,#0f1115)!important;color:var(--mtpo-chip-fg,#fff)!important;border-color:var(--mtpo-chip-border,var(--mtpo-chip-bg,#0f1115))!important;
    box-shadow:0 0 0 4px rgba(148,163,184,.28)!important;transform:none!important;
  }
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-grid .mtpo-chip.is-active[data-mtpo-color-tone="light"]{color:#111827!important;text-shadow:none!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-style,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-chip{transition:background-color .11s ease,border-color .11s ease,color .11s ease,box-shadow .11s ease!important}

  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-guide-card{margin-top:10px!important;min-height:54px!important;padding:10px 12px!important;border-radius:16px!important}

  /* The selected summary and checkout controls are one compact action surface. */
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-actions{
    display:grid!important;grid-template-columns:minmax(94px,.72fr) minmax(0,1.55fr)!important;gap:9px 10px!important;
    margin-top:12px!important;padding:11px!important;border-radius:18px!important;box-shadow:0 5px 14px rgba(15,23,42,.045)!important;
  }
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-actions .mtpo-conv-summary{
    grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
    margin:0!important;padding:0 1px 9px!important;border:0!important;border-bottom:1px solid #e8edf4!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  }
  body.mtpo-size-open.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-actions .mtpo-conv-summary{display:none!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-conv-title{font-size:15px!important;line-height:1.15!important;letter-spacing:-.025em!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-conv-meta{margin-top:2px!important;font-size:12px!important;line-height:1.2!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-actions .mtpo-conv-price{display:none!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-qty-wrap{grid-column:1!important;min-width:0!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-cart-wrap{grid-column:2!important;min-width:0!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-action-label{font-size:10px!important;margin-bottom:3px!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-cart-wrap .mtpo-purchase-action-label-spacer{height:12px!important;margin-bottom:3px!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-purchase-cart-wrap .single_add_to_cart_button{transform:none!important;min-height:46px!important}

  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-delivery-confidence-card{padding:11px 12px!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-delivery-head{margin-bottom:5px!important}
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-delivery-confidence-line{display:none!important}

  .mtpo-mobile-sticky-cta{
    position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:9998;
    display:grid;grid-template-columns:minmax(0,1fr) auto minmax(112px,auto);align-items:center;gap:8px;
    padding:9px 10px;border:1px solid rgba(203,213,225,.92);border-radius:17px;background:rgba(255,255,255,.97);
    box-shadow:0 12px 30px rgba(15,23,42,.18);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
    transform:translateY(calc(120% + env(safe-area-inset-bottom)));opacity:0;pointer-events:none;
    transition:transform .16s ease,opacity .16s ease;
  }
  .mtpo-mobile-sticky-cta.is-visible{transform:translateY(0);opacity:1;pointer-events:auto}
  .mtpo-mobile-sticky-copy{min-width:0;display:flex;flex-direction:column;gap:1px}
  .mtpo-mobile-sticky-copy strong,.mtpo-mobile-sticky-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mtpo-mobile-sticky-copy strong{font-size:13px;line-height:1.1;color:#111827}
  .mtpo-mobile-sticky-copy small{font-size:10px;line-height:1.15;color:#667085}
  .mtpo-mobile-sticky-price{font-size:14px;font-weight:900;color:#111827;white-space:nowrap}
  .mtpo-mobile-sticky-price del{font-size:10px;color:#94a3b8;margin-right:3px}
  .mtpo-mobile-sticky-price ins{text-decoration:none}
  .mtpo-mobile-sticky-button{min-height:42px!important;margin:0!important;padding:9px 13px!important;border:0!important;border-radius:12px!important;background:#3156f5!important;color:#fff!important;font-size:13px!important;font-weight:900!important;line-height:1!important;box-shadow:none!important}
  .mtpo-mobile-sticky-button:disabled{opacity:.58!important;cursor:not-allowed!important}
  body.mtpo-size-open .mtpo-mobile-sticky-cta{display:none!important}
}
@media(max-width:380px){
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio.mtpo-color-all-visible .mtpo-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mtpo-mobile-sticky-cta{grid-template-columns:minmax(0,1fr) minmax(108px,auto)}
  .mtpo-mobile-sticky-price{display:none}
}
@media(min-width:761px){.mtpo-mobile-sticky-cta{display:none!important}}

@media(max-width:340px){
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio .mtpo-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(prefers-reduced-motion:reduce){
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio *,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio *:before,
  body.mtpo-purchase-studio-ready .mtpo-box.mtpo-purchase-studio *:after,
  .mtpo-mobile-sticky-cta{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* v6.1.7 — buyer-flow stability layer. No visual redesign; reserves compact
   feedback/price/action geometry so option changes do not shift the purchase UI. */
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-live-price,
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-purchase-price-band{
  min-height:28px;
  font-variant-numeric:tabular-nums;
  contain:layout style;
}
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-field-feedback,
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-action-feedback{
  display:block;
  min-height:16px;
  margin:5px 1px 0;
  color:#667085;
  font-size:11px;
  font-weight:650;
  line-height:1.35;
  opacity:0;
  visibility:hidden;
  transition:opacity .1s ease;
}
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-field-feedback.is-visible,
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-action-feedback.is-visible{
  opacity:1;
  visibility:visible;
}
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-field-feedback[data-state="review"]{color:#9a6700}
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-action-feedback[data-state="busy"]{color:#344054}
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-action-feedback[data-state="success"]{color:#067647}
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-action-feedback[data-state="error"]{color:#b42318}
body.single-product .mtpo-box.mtpo-buyer-flow-ready .single_add_to_cart_button,
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-mobile-sticky-button{
  min-height:46px;
  min-width:112px;
  white-space:nowrap;
  contain:layout style;
}
body.single-product .mtpo-box.mtpo-buyer-flow-ready.mtpo-option-transition .mtpo-live-price,
body.single-product .mtpo-box.mtpo-buyer-flow-ready.mtpo-option-transition .mtpo-purchase-price-band{
  opacity:.985;
}
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-color-grid,
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-size-grid,
body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-style-grid{
  overflow-anchor:none;
}
@media(max-width:760px){
  body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-field-feedback,
  body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-action-feedback{font-size:10.5px;min-height:15px}
  .mtpo-mobile-sticky-cta{bottom:calc(8px + env(safe-area-inset-bottom));min-height:60px}
  .mtpo-mobile-sticky-button{min-height:42px!important}
}
@media(prefers-reduced-motion:reduce){
  body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-field-feedback,
  body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-action-feedback{transition:none!important}
}

body.single-product .mtpo-box.mtpo-buyer-flow-ready .mtpo-purchase-actions .mtpo-action-feedback{grid-column:1/-1;margin:0;min-height:15px}
