/* MATU PRINT v111.39.9.89 — one compact mobile purchase bar for all calculators.
   Desktop panels, checkout totals and all price formulas stay unchanged. */
.m89-mobile-errors,.m89-error-link{display:none}
.m59-shop .hero-examples{grid-template-columns:repeat(3,minmax(0,1fr))}
.m59-shop .hero-examples .example{min-width:0}
.m59-shop .hero-examples img{max-width:100%;min-width:0}
/* Make the concrete entry total readable, not a tiny secondary label. */
.m59-shop .catalog-card .card-meta:not(.inquiry){font-size:17px;font-weight:800;line-height:1.35;color:#076b9c;min-height:24px;gap:6px;margin:8px 0 4px}
.m59-shop .catalog-card .card-meta.inquiry{font-size:12px;font-weight:650;line-height:1.45}
.m59-shop .catalog-card .card-meta .ui-icon{width:14px;height:14px;flex-shrink:0}
.m59-shop .m89-catalog-note{margin:18px 0 4px;color:#586a7f;font-size:12px;line-height:1.6}
@media (max-width:780px), (max-width:960px) and (max-height:520px){
  .m59-shop .catalog-card .card-meta:not(.inquiry){font-size:15px}
  .m59-shop #product-calculator[data-product]:not([data-product="textile-print"]){grid-template-columns:minmax(0,1fr)}
  .m59-shop #product-calculator[data-product] .calculator-form{padding-bottom:calc(var(--m89-price-height,100px) + 24px)!important}
  .m59-shop .m59-dialog-panel{scroll-padding-top:85px;scroll-padding-bottom:calc(var(--m89-price-height,100px) + 16px)}
  .m59-shop #product-calculator[data-product] .price-panel{
    position:fixed!important;left:var(--m89-price-left,0px)!important;right:var(--m89-price-right,0px)!important;
    bottom:0!important;top:auto!important;z-index:15;display:block!important;width:auto!important;
    min-height:0!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;
    border:0;border-top:1px solid #dce5ee;border-radius:0;background:#fff;box-shadow:0 -3px 16px #18334d10;
  }
  .m59-shop #product-calculator[data-product] .price-panel-sticky{
    position:static!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(128px,46%);
    grid-auto-flow:row;align-items:center;justify-content:normal!important;flex-direction:row!important;
    column-gap:12px;row-gap:4px;min-height:0!important;height:auto!important;max-height:none!important;
    padding:9px 16px calc(9px + env(safe-area-inset-bottom,0px))!important;background:#fff;
  }
  .m59-shop #product-calculator[data-product] .price-panel-sticky>div:first-child{grid-column:1;grid-row:1;min-width:0;margin:0;align-self:center}
  .m59-shop #product-calculator[data-product] .price-panel .price-label{font-size:10px!important;line-height:1.3!important;margin:0 0 2px!important}
  .m59-shop #product-calculator[data-product] .price-panel .price{font-size:24px!important;line-height:1.18!important;letter-spacing:-.035em;margin:0!important;overflow-wrap:anywhere}
  .m59-shop #product-calculator[data-product] .price-panel .final-price-note{font-size:9px!important;line-height:1.35!important;margin:3px 0 0!important}
  .m59-shop #product-calculator[data-product] .price-panel-sticky .add-button{
    grid-column:2!important;grid-row:1;align-self:center;justify-self:stretch;width:100%!important;min-width:0;
    min-height:46px!important;height:auto;max-height:none;margin:0!important;padding:10px 8px!important;
    font-size:13px!important;line-height:1.35;letter-spacing:normal;white-space:normal;border-radius:12px;
  }
  .m59-shop #product-calculator[data-product] .price-panel .price-includes,
  .m59-shop #product-calculator[data-product] .price-panel .price-note{display:none!important}
  .m59-shop #product-calculator[data-product] .price-panel .field-error{display:none!important}
  .m59-shop #product-calculator .m89-mobile-errors{display:block;margin:0 0 16px}
  .m59-shop #product-calculator .m89-mobile-errors .field-error{font-size:12px;line-height:1.5;margin:6px 0;padding:9px 11px}
  .m59-shop #product-calculator[data-product] .price-panel .m89-error-link{display:block;grid-column:1/-1;padding:3px 0 0;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:#a52036;text-align:left;font-size:11px;line-height:1.35;text-decoration:underline;cursor:pointer}
  html.m89-keyboard-open .m59-shop #product-calculator[data-product] .price-panel{visibility:hidden;pointer-events:none}
  /* Textil's quantity table is part of the form, not a floating purchase bar.
     Keep all size inputs; compact only its price summary. */
  #order-flow #configuration .order-total{padding:10px 12px;margin-top:10px}
  #order-flow #configuration .price-main{font-size:24px;line-height:1.2}
  #order-flow #configuration .total-label{font-size:12px;margin-bottom:2px}
  #order-flow #configuration .price-tax{font-size:10px;line-height:1.5;margin:7px 0 0;padding-top:7px}
  #order-flow #configuration .price-caption{font-size:10px;margin-top:4px}
}
@media (max-width:359px){
  .m59-shop #product-calculator[data-product] .price-panel-sticky{padding-left:10px!important;padding-right:10px!important;column-gap:8px;grid-template-columns:minmax(0,1fr) minmax(120px,45%)}
  .m59-shop #product-calculator[data-product] .price-panel .price{font-size:22px!important}
  .m59-shop #product-calculator[data-product] .price-panel-sticky .add-button{font-size:12px!important}
}
@media print{.m59-shop #product-calculator[data-product] .price-panel{position:static!important;box-shadow:none}}
